From 0a33aefb2758450714237df94eadf054fe3d83a5 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 12 Jan 2005 13:39:46 +0000 Subject: [PATCH] Initial import of skippy-0.5.0. Skippy is what is best described as a full-screen task-switcher for X11. It tries to provide an alternative when taskbars or regular task-switchers aren't the most efficient way of switching tasks (like when you have a lot of applications open). When activated (currently only through a hotkey), it will arrange and scale snapshots of all windows on the current desktop and it'll let you pick a window using a mouse or a keyboard. It is pretty similar to a tool made by Apple, called Expose - http://www.apple.com/macosx/features/expose/ Skippy depends on a NetWM compliant window-manager. --- wm/skippy/DESCR | 11 +++++++++++ wm/skippy/Makefile | 26 ++++++++++++++++++++++++++ wm/skippy/PLIST | 4 ++++ wm/skippy/distinfo | 5 +++++ wm/skippy/patches/patch-aa | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 wm/skippy/DESCR create mode 100644 wm/skippy/Makefile create mode 100644 wm/skippy/PLIST create mode 100644 wm/skippy/distinfo create mode 100644 wm/skippy/patches/patch-aa diff --git a/wm/skippy/DESCR b/wm/skippy/DESCR new file mode 100644 index 000000000000..a30ac3bd6048 --- /dev/null +++ b/wm/skippy/DESCR @@ -0,0 +1,11 @@ +Skippy is what is best described as a full-screen task-switcher for X11. It +tries to provide an alternative when taskbars or regular task-switchers +aren't the most efficient way of switching tasks (like when you have a lot +of applications open). When activated (currently only through a hotkey), it +will arrange and scale snapshots of all windows on the current desktop and +it'll let you pick a window using a mouse or a keyboard. + +It is pretty similar to a tool made by Apple, called Expose - + http://www.apple.com/macosx/features/expose/ + +Skippy depends on a NetWM compliant window-manager. diff --git a/wm/skippy/Makefile b/wm/skippy/Makefile new file mode 100644 index 000000000000..e3dbbd7cc71a --- /dev/null +++ b/wm/skippy/Makefile @@ -0,0 +1,26 @@ +# $NetBSD$ +# + +DISTNAME= skippy-0.5.0 +CATEGORIES= wm +MASTER_SITES= http://thegraveyard.org/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://thegraveyard.org/skippy.php +COMMENT= Fullscreen task switcher for X11 + +USE_BUILDLINK3= yes +USE_X11= yes + +EGDIR= ${PREFIX}/share/examples/${PKGBASE} + +INSTALLATION_DIRS= share/examples/${PKGBASE} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/skippyrc-default ${EGDIR}/skippyrc + +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../fonts/Xft2/buildlink3.mk" +.include "../../graphics/imlib2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/skippy/PLIST b/wm/skippy/PLIST new file mode 100644 index 000000000000..5aa3111c6a99 --- /dev/null +++ b/wm/skippy/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD$ +bin/skippy +share/examples/skippy/skippyrc +@dirrm share/examples/skippy diff --git a/wm/skippy/distinfo b/wm/skippy/distinfo new file mode 100644 index 000000000000..8546edd58603 --- /dev/null +++ b/wm/skippy/distinfo @@ -0,0 +1,5 @@ +$NetBSD$ + +SHA1 (skippy-0.5.0.tar.bz2) = 30774b56fe2c355449843f4b16c1aa783f32daa7 +Size (skippy-0.5.0.tar.bz2) = 23722 bytes +SHA1 (patch-aa) = 8133c1fa2182af09a980e64066413c92216ef2b1 diff --git a/wm/skippy/patches/patch-aa b/wm/skippy/patches/patch-aa new file mode 100644 index 000000000000..443febf63f65 --- /dev/null +++ b/wm/skippy/patches/patch-aa @@ -0,0 +1,32 @@ +$NetBSD$ + +--- Makefile.orig 2004-05-19 23:23:50.000000000 +0200 ++++ Makefile 2005-01-12 09:43:05.000000000 +0100 +@@ -1,10 +1,7 @@ +-PREFIX = /usr/local + BINDIR = ${PREFIX}/bin + +-X11PREFIX = /usr/X11R6 +- +-CFLAGS += -I${X11PREFIX}/include `imlib2-config --cflags` `pkg-config xft --cflags` -g -pedantic -Wall +-LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs` ++CFLAGS += -I${X11BASE}/include `imlib2-config --cflags` `pkg-config xft --cflags` -pedantic -Wall ++LDFLAGS += -L${X11BASE}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs` + + # Comment these out to disable Xinerama support + CFLAGS += -DXINERAMA +@@ -21,11 +18,11 @@ + all: skippy${EXESUFFIX} + + skippy${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS} +- gcc ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS} ++ gcc ${CPPFLAGS} ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS} + + clean: + rm -f skippy${EXESUFFIX} + + install: +- install -d ${DESTDIR}${BINDIR} +- install -m 755 skippy$(EXESUFFIX) ${DESTDIR}${BINDIR}/skippy${EXESUFFIX} ++ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}${BINDIR} ++ $(BSD_INSTALL_PROGRAM) skippy$(EXESUFFIX) ${DESTDIR}${BINDIR}/skippy${EXESUFFIX} -- 2.41.0