diff options
author | wiz <wiz> | 2000-12-17 23:32:09 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-12-17 23:32:09 +0000 |
commit | fb54ca6e79512b331f6c65b3efaf08d4e7219b5b (patch) | |
tree | 73288b5bb97270ccddd92731e20bbfff8858d306 /time/asclock/patches | |
parent | 143076fe6de60fa3d2351ac4e46ccb0b17a83ce5 (diff) | |
download | pkgsrc-fb54ca6e79512b331f6c65b3efaf08d4e7219b5b.tar.gz |
New category: time. Move many packages here:
misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime,
misc/remind, sysutils/logtime, and 19 more from x11.
Diffstat (limited to 'time/asclock/patches')
-rw-r--r-- | time/asclock/patches/patch-aa | 11 | ||||
-rw-r--r-- | time/asclock/patches/patch-ab | 60 | ||||
-rw-r--r-- | time/asclock/patches/patch-ac | 95 |
3 files changed, 166 insertions, 0 deletions
diff --git a/time/asclock/patches/patch-aa b/time/asclock/patches/patch-aa new file mode 100644 index 00000000000..72a66c158af --- /dev/null +++ b/time/asclock/patches/patch-aa @@ -0,0 +1,11 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $ + +--- Imakefile.orig Wed Sep 16 11:56:00 1998 ++++ Imakefile Thu Oct 28 13:11:11 1999 +@@ -1,5 +1,5 @@ + +-XPMLIB = -L/usr/lib/X11 -lXpm ++XPMLIB = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm + DEPLIBS = $(DEPXLIB) + + LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) diff --git a/time/asclock/patches/patch-ab b/time/asclock/patches/patch-ab new file mode 100644 index 00000000000..ade79206969 --- /dev/null +++ b/time/asclock/patches/patch-ab @@ -0,0 +1,60 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $ + +--- asclock.c.orig Sat Sep 26 17:05:03 1998 ++++ asclock.c Thu Oct 28 13:12:29 1999 +@@ -19,6 +19,7 @@ + int ONLYSHAPE=0; /* default value is noshape */ + int ITBLINKS=1; /* default is blinking */ + int ICONIFIED=0; /* default is not iconified */ ++int ITDOCKS=0; /* default is not Docking mode */ + int YEAR=0; /* default is to show time, not year */ + /* led positions *************************************************************/ + int twelve[5] = {5, 14, 24, 28, 37}; +@@ -85,14 +86,15 @@ + " -24 24 hour format", + " -exe <program> program to start on click", + " -led <color> color of the led", +-" -monthxpm <xpm> month xpm", + " -clockxpm <xpm> clock xpm", ++" -monthxpm <xpm> month xpm", + " -weekdayxpm <xpm> weekday xpm", ++" -year show year instead of time", + " -position [+|-]x[+|-]y position of asclock", + " -shape without groundplate", + " -noblink don't blink", + " -iconic start up as icon", +-" -year show year instead of time", ++" -dock Window Maker docking", + NULL + }; + +@@ -173,6 +175,9 @@ + case 'n': + ITBLINKS = 0; + continue; ++ case 'd': ++ ITDOCKS = 1; ++ continue; + case 'y': + YEAR = 1; + continue; +@@ -256,13 +261,17 @@ + XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet); + } + +- mywmhints.initial_state = (ICONIFIED ? IconicState : NormalState); ++ mywmhints.initial_state = ITDOCKS ? WithdrawnState : ++ (ICONIFIED ? IconicState : NormalState); + mywmhints.icon_window = iconwin; + mywmhints.icon_x = mysizehints.x; + mywmhints.icon_y = mysizehints.y; +- mywmhints.flags = StateHint | IconWindowHint | IconPositionHint; ++ mywmhints.window_group = win; ++ mywmhints.flags = StateHint | IconWindowHint | IconPositionHint ++ | WindowGroupHint; + XSetWMHints(dpy, win, &mywmhints); + ++ XSetCommand(dpy, win, argv, argc); + XMapWindow(dpy,win); + + InsertTime(); diff --git a/time/asclock/patches/patch-ac b/time/asclock/patches/patch-ac new file mode 100644 index 00000000000..e91ee511507 --- /dev/null +++ b/time/asclock/patches/patch-ac @@ -0,0 +1,95 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $ + +--- asclock.man.orig Wed Sep 16 11:56:00 1998 ++++ asclock.man Thu Oct 28 13:14:36 1999 +@@ -1,14 +1,18 @@ +-.TH asclock 0.99 "23 July 1996" asclock ++.TH asclock 1.0 "11 April 1998" asclock + .UC + .SH NAME + \fBasclock\fP \- the AfterStep clock + .SH SYNOPSIS + .B asclock +-[ -help] [-12 | -24] [-shape] +- [-position \fI[+|-]x[+|-]y\fP] ++[ -help] [-12 | -24] [-shape] + [-exe \fIprogram\fP] + [-led \fIcolor\fP] +- [-noblink] [-iconic] ++ [-clockxpm \fIxpm\fP] ++ [-monthxpm \fIxpm\fP] ++ [-weekdayxpm \fIxpm\fP] ++ [-year] ++ [-position \fI[+|-]x[+|-]y\fP] ++ [-noblink] [-iconic] [-dock] + .SH DESCRIPTION + The \fBasclock\fP is a clock written to emulate the date/time application on + the NEXTSTEP(tm) operating system. \fBasclock\fP supports multiple languages, +@@ -23,12 +27,17 @@ + where options include: + -12 12 hour format + -24 24 hour format ++ -shape without groundplate + -exe <program> program to start on click + -led <color> color of the led ++ -clockxpm <xpm> clock xpm ++ -monthxpm <xpm> month xpm ++ -weekdayxpm <xpm> weekday xpm ++ -year show year instead of time + -position [+|-]x[+|-]y position of asclock +- -shape without groundplate + -noblink don't blink + -iconic start up as icon ++ -dock Window Maker docking + .fi + .RE + .IP "-12 or -24" +@@ -50,6 +59,22 @@ + .I showrgb + .P (part of X11). + .RE ++.IP "-monthxpm <xpm>" ++.RS ++specifies the XPM file for the month pages. ++.RE ++.IP "-clockxpm <xpm>" ++.RS ++specifies the XPM file for the clock and calendar display. ++.RE ++.IP "-weekdayxpm <xpm>" ++.RS ++specifies the XPM file for the weekday pages. ++.RE ++.IP "-year" ++.RS ++shows the current the year in the display instead of the current time. ++.RE + .IP "-position [+|-]x[+|-]y " + .RS + specifies the starting position of \fBasclock\fP. The [+|-] works like the standard X-Windows x/y geometry option. +@@ -66,6 +91,10 @@ + .RS + This gives weird output with AfterStep, so don't bother. It's for mwm and other wm's with no hint functionality. + .RE ++.IP "-dock" ++.RS ++starts \fBasclock\fP in docking mode. This option is necessary to dock \fBasclock\fP in the Window Maker dock. \fBasclock\fP ignores the -iconic option when started in docking mode. ++.RE + .SH INVOCATION + \fBasclock\fP can be called from one of many ways. The most common invocation + is the command line: +@@ -86,6 +115,14 @@ + will cause \fBasclock\fP to use the shape extensions so that it will be a + button on the \fBWharf (1)\fP button bar under the \fBafterstep (1)\fP + window manager. ++ ++If you run Window Maker then you should use the "-dock" option: ++.nf ++ ++ [user@host] ~% asclock -shape -12 -dock & ++ ++.fi ++and then drag the icon to the dock. + .SH BUGS + we don't have bugs :) + .SH COPYRIGHTS |