pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/space_dapp This is a little dockapp that does abso...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fc6776ebce5
branches: trunk
changeset: 560975:2fc6776ebce5
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Tue Jul 07 12:36:31 2009 +0000
description:
This is a little dockapp that does absolutely nothing except for sitting in
the dockapp area. It consumes very little resources. It is useful in
conjunction with a window manager that allows maximised windows to be
prevented from covering the dockapp area; it allows access to the root
window or menu even when windows are maximised.
diffstat:
x11/space_dapp/DESCR | 5 +++++
x11/space_dapp/Makefile | 28 ++++++++++++++++++++++++++++
x11/space_dapp/PLIST | 2 ++
x11/space_dapp/distinfo | 6 ++++++
x11/space_dapp/patches/patch-space_dapp.c | 18 ++++++++++++++++++
5 files changed, 59 insertions(+), 0 deletions(-)
diffs (79 lines):
diff -r 06f8fdb68095 -r 2fc6776ebce5 x11/space_dapp/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/space_dapp/DESCR Tue Jul 07 12:36:31 2009 +0000
@@ -0,0 +1,5 @@
+This is a little dockapp that does absolutely nothing except for sitting in
+the dockapp area. It consumes very little resources. It is useful in
+conjunction with a window manager that allows maximised windows to be
+prevented from covering the dockapp area; it allows access to the root
+window or menu even when windows are maximised.
diff -r 06f8fdb68095 -r 2fc6776ebce5 x11/space_dapp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/space_dapp/Makefile Tue Jul 07 12:36:31 2009 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/07/07 12:36:31 sborrill Exp $
+
+PKGNAME= space_dapp-20060717
+CATEGORIES= x11
+MASTER_SITES= http://darkshed.net/files/c_cpp/bits/
+
+MAINTAINER= sborrill%NetBSD.org@localhost
+HOMEPAGE= http://darkshed.net/files/c_cpp/bits/
+COMMENT= Tiny dock app to create an empty space
+DISTNAME= space_dapp.c
+EXTRACT_SUFX=
+PKG_DESTDIR_SUPPORT= user-destdir
+
+NO_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+do-build:
+ cd ${WRKSRC} && ${CC} -c ${CFLAGS} space_dapp.c -DSHAPE && \
+ ${CC} -o space_dapp space_dapp.o -lc ${LIBS} ${X11_LDFLAGS} -lX11 -lXext
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/space_dapp ${DESTDIR}${PREFIX}/bin/
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 06f8fdb68095 -r 2fc6776ebce5 x11/space_dapp/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/space_dapp/PLIST Tue Jul 07 12:36:31 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/07 12:36:31 sborrill Exp $
+bin/space_dapp
diff -r 06f8fdb68095 -r 2fc6776ebce5 x11/space_dapp/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/space_dapp/distinfo Tue Jul 07 12:36:31 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/07/07 12:36:31 sborrill Exp $
+
+SHA1 (space_dapp.c) = 64c7c592459a0e29b06b00c68e3d35e4224ac93e
+RMD160 (space_dapp.c) = 65ba055800b04a69da3519b3230944d6f3d12017
+Size (space_dapp.c) = 4938 bytes
+SHA1 (patch-space_dapp.c) = 1220ee13501986e99a89001bb4a567f148c93443
diff -r 06f8fdb68095 -r 2fc6776ebce5 x11/space_dapp/patches/patch-space_dapp.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/space_dapp/patches/patch-space_dapp.c Tue Jul 07 12:36:31 2009 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-space_dapp.c,v 1.1.1.1 2009/07/07 12:36:31 sborrill Exp $
+
+Stop coredump if DISPLAY not set
+
+--- space_dapp.c.orig 2009-07-07 13:28:13.000000000 +0100
++++ space_dapp.c 2009-07-07 13:29:06.000000000 +0100
+@@ -92,7 +92,10 @@
+
+
+ dpy = XOpenDisplay(NULL);
+- assert(dpy != NULL);
++ if (dpy == NULL) {
++ fprintf(stderr, "DISPLAY not set\n");
++ exit(1);
++ }
+
+ screen = DefaultScreen(dpy);
+ root_win = RootWindow(dpy, screen);
Home |
Main Index |
Thread Index |
Old Index