Initial import of wmclock-1.0.12.2
wmclock is an applet which displays the date and time in a dockable tile in the same style as the clock from the NEXTSTEP operating system. Submitted by Marc Matteo <marcm@lectroid.net>
This commit is contained in:
parent
876e11a037
commit
b8d08e83fd
29
x11/wmclock/Makefile
Normal file
29
x11/wmclock/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/11/06 13:57:08 wilfried Exp $
|
||||
|
||||
COMMENT= "Window Maker dock.app clock"
|
||||
|
||||
VERSION= 1.0.12.2
|
||||
DISTNAME= wmclock-${VERSION}
|
||||
CATEGORIES= x11 x11/windowmaker
|
||||
NEED_VERSION= 1.475
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
HOMEPAGE= http://www.ntrnet.net/~jmknoble/WindowMaker/wmclock/
|
||||
|
||||
MAINTAINER= Marc Matteo <marcm@lectroid.net>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
CONFIGURE_STYLE= simple
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/wmclock ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKBUILD}/wmclock.man ${PREFIX}/man/man1/wmclock.1
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/wmclock/files/md5
Normal file
3
x11/wmclock/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (wmclock-1.0.12.2.tar.gz) = 97f6e82f55f216ba724859d4652586b4
|
||||
RMD160 (wmclock-1.0.12.2.tar.gz) = 6798bc4d82e02f1e789754552c270e9de5554c53
|
||||
SHA1 (wmclock-1.0.12.2.tar.gz) = 45176cc54c261a2fd79bf1fb4dad62f5bb5debde
|
17
x11/wmclock/patches/patch-wmclock_c
Normal file
17
x11/wmclock/patches/patch-wmclock_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-wmclock_c,v 1.1.1.1 2001/11/06 13:57:08 wilfried Exp $
|
||||
--- wmclock.c.orig Wed Mar 8 08:31:33 2000
|
||||
+++ wmclock.c Tue Nov 6 14:40:26 2001
|
||||
@@ -470,11 +470,11 @@ void showYear()
|
||||
XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC,
|
||||
digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT,
|
||||
xPos[DIGIT_1_X_POS], yPos[DIGIT_Y_POS]);
|
||||
- digitXOffset = LED_NUM_WIDTH * (year % 1000);
|
||||
+ digitXOffset = LED_NUM_WIDTH * (year / 100 % 10);
|
||||
XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC,
|
||||
digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT,
|
||||
xPos[DIGIT_2_X_POS], yPos[DIGIT_Y_POS]);
|
||||
- digitXOffset = LED_NUM_WIDTH * (year % 100);
|
||||
+ digitXOffset = LED_NUM_WIDTH * (year / 10 % 10);
|
||||
XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC,
|
||||
digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT,
|
||||
xPos[DIGIT_3_X_POS], yPos[DIGIT_Y_POS]);
|
10
x11/wmclock/pkg/DESCR
Normal file
10
x11/wmclock/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
wmclock is an applet which displays the date and time in a dockable
|
||||
tile in the same style as the clock from the NEXTSTEP(tm) operating
|
||||
system. wmclock is specially designed for the Window Maker window
|
||||
manager, and features multiple language support, twenty-four-hour
|
||||
and twelve-hour (am/pm) time display, and, optionally, can run a
|
||||
user-specified program on a mouse click. wmclock is derived from
|
||||
ASClock (now called ASClock classic), a similar clock for the
|
||||
AfterStep window manager.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
x11/wmclock/pkg/PLIST
Normal file
3
x11/wmclock/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/11/06 13:57:08 wilfried Exp $
|
||||
bin/wmclock
|
||||
man/man1/wmclock.1
|
Loading…
Reference in New Issue
Block a user