head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.4 date 2000.12.17.23.41.08; author wiz; state dead; branches; next 1.3; 1.3 date 99.10.28.19.04.57; author jlam; state Exp; branches; next 1.2; 1.2 date 99.10.07.17.23.01; author jlam; state Exp; branches; next 1.1; 1.1 date 99.01.19.00.59.33; author hubertf; state Exp; branches; next ; desc @@ 1.4 log @Move lots of packages to new time category; fix links; add time subcategory to main Makefile. @ text @$NetBSD: patch-aa,v 1.3 1999/10/28 19:04:57 jlam 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) @ 1.3 log @Internationalize asclock (hi, Hubert!). Asclock now respects the environment setting LANG= or can be started with the option "-lang ", where is a two-letter country abbreviation as found in /usr/share/misc/language. Also, change MAINTAINER to jlam@@netbsd.org. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @* fetch aslock from the One True Source http://www.asclock.org/ * modify our local patches to add new -dock option to asclock. This used to be called "-withdrawn" before, but was changed to match the options of the other "official" asclock distributions. * install the month and day XPMs for other languages in the name of internationalization @ text @d3 3 a5 23 --- asclock.c.orig Sat Sep 26 17:05:03 1998 +++ asclock.c Thu Oct 7 02:57:23 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}; @@@@ -88,11 +89,12 @@@@ " -monthxpm month xpm", " -clockxpm clock xpm", " -weekdayxpm 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 }; d7 3 a9 25 @@@@ -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); d11 1 a11 4 + XSetCommand(dpy, win, argv, argc); XMapWindow(dpy,win); InsertTime(); @ 1.1 log @Add some patches to make asclock usable with Window Maker by adding some "-withdrawn" option. Submitted by Johnny C. Lam in PR 6510 @ text @d3 2 a4 2 --- asclock.c.orig Sat Apr 11 07:12:23 1998 +++ asclock.c Sat Dec 5 02:57:12 1998 d9 2 a10 1 +int WITHDRAWN=0; /* default is not withdrawn */ d13 6 a18 2 int twfour[5] = {4, 8, 17, 22, 31}; @@@@ -91,6 +92,7 @@@@ d22 2 a23 1 +" -withdrawn start up in withdrawn mode", d27 9 a35 2 @@@@ -150,10 +152,18 @@@@ readmonthxpm = 1; d37 1 a37 21 case 'w': - if(++i >=argc) usage(); - strcpy(&weekxpm[0], argv[i]); - readweekxpm = 1; - continue; + switch(arg[2]) { + case 'e': + if(++i >=argc) usage(); + strcpy(&weekxpm[0], argv[i]); + readweekxpm = 1; + continue; + case 'i': + WITHDRAWN=1; + continue; + default: + usage(); + } case 's': ONLYSHAPE=1; continue; @@@@ -251,13 +261,17 @@@@ d42 1 a42 1 + mywmhints.initial_state = WITHDRAWN ? WithdrawnState : @