From 79ef7cca9e9996bccd26b4a0a8951294f220c299 Mon Sep 17 00:00:00 2001 From: magick Date: Tue, 5 Jun 2001 18:11:38 +0000 Subject: Initial import of "xalarm" package. X11 interactive alarm clock This package was contributed by Stoned Elipot in PR pkg/13081. --- time/xalarm/patches/patch-aa | 50 ++++++++++++++++++++++++++++++++++++++++++++ time/xalarm/patches/patch-ab | 13 ++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 time/xalarm/patches/patch-aa create mode 100644 time/xalarm/patches/patch-ab (limited to 'time/xalarm/patches') diff --git a/time/xalarm/patches/patch-aa b/time/xalarm/patches/patch-aa new file mode 100644 index 00000000000..1b54eb00d77 --- /dev/null +++ b/time/xalarm/patches/patch-aa @@ -0,0 +1,50 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/05 18:11:38 magick Exp $ + +--- Imakefile.orig Fri Jun 1 16:44:51 2001 ++++ Imakefile +@@ -29,29 +29,14 @@ + OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o + SRCS = alarm.c when.c warnings.c times.c dates.c file.c fns.c xalarm.c + +-# How we find commands. Use WHICH, LOCATE or FIND. +-WHICH= WHICH +-MADE = test -f +- + LOCAL_LIBRARIES = XawClientLibs + +-AllTarget (.config) + ComplexProgramTarget (xalarm) + + InstallAppDefaults (XAlarm) + InstallAppDefaults (XAlarm-color) + InstallMultipleFlags (xmemo xfortune xyow,$(BINDIR),$(INSTBINFLAGS)) +-InstallManPage (xmemo,$(MANDIR)) +-InstallManPage (xfortune,$(MANDIR)) +-InstallManPage (xyow,$(MANDIR)) +- +-includes:: fns.h +- +-fns.h: +- @./config.1st -quick $(WHICH) fortune yow +- +-xmemo.man xyow.man xfortune.man: +- echo ".so man"`echo ManSuffix`"/xalarm."`echo ManSuffix` > $@ ++InstallManPageAliases(xalarm,$(MANDIR),xmemo xfortune xyow) + + xfortune:: + +@@ -59,14 +44,6 @@ + + clean:: + $(RM) xfortune xyow xmemo.man xyow.man xfortune.man fns.h .config +- +-config:: +- @./config.1st -quick $(WHICH) fortune yow +- @xrdb -merge XAlarm.ad +- @xrdb -merge XAlarm.ad+ +- +-.config:: +- @-$(MADE) .config || make config + + alarm.o: xalarm.h patchlevel.h + when.o: xalarm.h patchlevel.h dates.h diff --git a/time/xalarm/patches/patch-ab b/time/xalarm/patches/patch-ab new file mode 100644 index 00000000000..15417be2ded --- /dev/null +++ b/time/xalarm/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/06/05 18:11:38 magick Exp $ + +--- when.c.orig Fri Jun 1 14:01:32 2001 ++++ when.c +@@ -306,7 +306,7 @@ + { + static Boolean edited = True; + +- if (not (Boolean) clientdata) ++ if (clientdata == NULL) + XtSetSensitive (xalarm.savebutton, edited = False); + else if (not edited) + XtSetSensitive (xalarm.savebutton, edited = True); -- cgit v1.2.3