pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/wmzcalock A calendar/clock dock app with a variet...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c974efaf8d2
branches: trunk
changeset: 569472:6c974efaf8d2
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Sat Jan 16 14:36:56 2010 +0000
description:
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:
time/wmzcalock/DESCR | 2 +
time/wmzcalock/Makefile | 34 ++++++++++++++++++++++++++++++++
time/wmzcalock/PLIST | 18 ++++++++++++++++
time/wmzcalock/distinfo | 6 +++++
time/wmzcalock/patches/patch-wmzcalock.c | 22 ++++++++++++++++++++
5 files changed, 82 insertions(+), 0 deletions(-)
diffs (102 lines):
diff -r 29d1dc42fb7d -r 6c974efaf8d2 time/wmzcalock/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/wmzcalock/DESCR Sat Jan 16 14:36:56 2010 +0000
@@ -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 -r 29d1dc42fb7d -r 6c974efaf8d2 time/wmzcalock/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/wmzcalock/Makefile Sat Jan 16 14:36:56 2010 +0000
@@ -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@localhost
+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 -r 29d1dc42fb7d -r 6c974efaf8d2 time/wmzcalock/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/wmzcalock/PLIST Sat Jan 16 14:36:56 2010 +0000
@@ -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 -r 29d1dc42fb7d -r 6c974efaf8d2 time/wmzcalock/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/wmzcalock/distinfo Sat Jan 16 14:36:56 2010 +0000
@@ -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 -r 29d1dc42fb7d -r 6c974efaf8d2 time/wmzcalock/patches/patch-wmzcalock.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/wmzcalock/patches/patch-wmzcalock.c Sat Jan 16 14:36:56 2010 +0000
@@ -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
+ {
Home |
Main Index |
Thread Index |
Old Index