diff options
author | sborrill <sborrill@pkgsrc.org> | 2010-01-16 14:36:56 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2010-01-16 14:36:56 +0000 |
commit | a112befb7b006f336d38f81c810b5925cc973f64 (patch) | |
tree | fe86c5cc69459e6baa13be73809fc9bd5bcf0b6f /time/wmzcalock | |
parent | acf6a5f9efe5961d04871a458bbba31116245c1a (diff) | |
download | pkgsrc-a112befb7b006f336d38f81c810b5925cc973f64.tar.gz |
A calendar/clock dock app with a variety of display modes for Window Maker
and other window managers that support dockapps.
Moved from x11 to time
Diffstat (limited to 'time/wmzcalock')
-rw-r--r-- | time/wmzcalock/DESCR | 2 | ||||
-rw-r--r-- | time/wmzcalock/Makefile | 34 | ||||
-rw-r--r-- | time/wmzcalock/PLIST | 18 | ||||
-rw-r--r-- | time/wmzcalock/distinfo | 6 | ||||
-rw-r--r-- | time/wmzcalock/patches/patch-wmzcalock.c | 22 |
5 files changed, 82 insertions, 0 deletions
diff --git a/time/wmzcalock/DESCR b/time/wmzcalock/DESCR new file mode 100644 index 00000000000..47b06b1775a --- /dev/null +++ b/time/wmzcalock/DESCR @@ -0,0 +1,2 @@ +A calendar/clock dock app with a variety of display modes for Window Maker +and other window managers that support dockapps. diff --git a/time/wmzcalock/Makefile b/time/wmzcalock/Makefile new file mode 100644 index 00000000000..d6eab7e39b5 --- /dev/null +++ b/time/wmzcalock/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/01/16 14:36:56 sborrill Exp $ +# + +DISTNAME= wmzcalock-0.1 +CATEGORIES= time x11 +MASTER_SITES= http://zapatopi.net/zapatoware/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://zapatopi.net/zapatoware/wmzcalock.html +COMMENT= Dockapp calendar clock +LICENSE= gnu-gpl-v2 + +EXTRACT_SUFX= .tgz + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= pax +INSTALLATION_DIRS= share/wmzcalock/theme + +.include "../../mk/bsd.prefs.mk" + +do-build: + cd ${WRKSRC} && ${CC} -c ${CFLAGS} wmzcalock.c && \ + ${CC} -o wmzcalock wmzcalock.o -lc ${LIBS} ${X11_LDFLAGS} \ + -lX11 -lXext -lm -lXpm + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC:Q}/wmzcalock ${DESTDIR}${PREFIX:Q}/bin + cd ${WRKSRC}/theme; ${PAX} -rw . \ + ${DESTDIR}${PREFIX}/share/wmzcalock/theme + +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/time/wmzcalock/PLIST b/time/wmzcalock/PLIST new file mode 100644 index 00000000000..fd88e6a6125 --- /dev/null +++ b/time/wmzcalock/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/01/16 14:36:56 sborrill Exp $ +bin/wmzcalock +share/wmzcalock/theme/mday.charterblack.xpm +share/wmzcalock/theme/mday.charterbold.xpm +share/wmzcalock/theme/mday.comic.xpm +share/wmzcalock/theme/mday.eras.xpm +share/wmzcalock/theme/mday.georgia.xpm +share/wmzcalock/theme/mday.iceage.xpm +share/wmzcalock/theme/mday.ocr.xpm +share/wmzcalock/theme/mday.papyrus.xpm +share/wmzcalock/theme/mday.utopia.xpm +share/wmzcalock/theme/mdaynums.xcf +share/wmzcalock/theme/wday.charter.xpm +share/wmzcalock/theme/wday.comic.xpm +share/wmzcalock/theme/wday.georgia.xpm +share/wmzcalock/theme/wday.lcd.xpm +share/wmzcalock/theme/wday.papyrus.xpm +share/wmzcalock/theme/wdaytxts.xcf diff --git a/time/wmzcalock/distinfo b/time/wmzcalock/distinfo new file mode 100644 index 00000000000..abd33e031ac --- /dev/null +++ b/time/wmzcalock/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/01/16 14:36:56 sborrill Exp $ + +SHA1 (wmzcalock-0.1.tgz) = e18a377464f688140c0388cf7dd29c96ecb27233 +RMD160 (wmzcalock-0.1.tgz) = 902383d9046fe38932ed0e700d678cd5e5e82ed2 +Size (wmzcalock-0.1.tgz) = 47451 bytes +SHA1 (patch-wmzcalock.c) = 55b316964a342248cfa70cf680e61129892303f7 diff --git a/time/wmzcalock/patches/patch-wmzcalock.c b/time/wmzcalock/patches/patch-wmzcalock.c new file mode 100644 index 00000000000..f110a98bbb2 --- /dev/null +++ b/time/wmzcalock/patches/patch-wmzcalock.c @@ -0,0 +1,22 @@ +$NetBSD: patch-wmzcalock.c,v 1.1.1.1 2010/01/16 14:36:56 sborrill Exp $ + +--- wmzcalock.c.orig 2000-07-11 18:11:00.000000000 +0100 ++++ wmzcalock.c 2010-01-14 16:24:40.000000000 +0000 +@@ -645,7 +645,7 @@ + { + gettimeofday(&timeV, NULL); + dday = ((float)hour/24)+((float)min/1440)+ +- ((float)sec/86400)+((float)timeV.tv_usec/86400000000); ++ ((float)sec/86400); + } + + switch (tmmode) +@@ -803,7 +803,7 @@ + { + fprintf(stderr, + "Warning: Couldn't open file '%s', using font instead\n",pixmap_file); +- (int *)the_pixmap = NULL; ++ the_pixmap = (Pixmap)NULL; + } + else + { |