- update wmclock to 1.0.13

prompted by bruce cran (upstream maintainer)
This commit is contained in:
jasper 2010-12-06 16:21:05 +00:00
parent ab01800701
commit c5106d9694
4 changed files with 11 additions and 30 deletions

View File

@ -1,16 +1,15 @@
# $OpenBSD: Makefile,v 1.13 2010/11/22 08:37:05 espie Exp $
# $OpenBSD: Makefile,v 1.14 2010/12/06 16:21:05 jasper Exp $
COMMENT= Window Maker dock.app clock
VERSION= 1.0.12.2
VERSION= 1.0.13
DISTNAME= wmclock-${VERSION}
REVISION= 0
CATEGORIES= x11 x11/windowmaker
MASTER_SITES= ${HOMEPAGE}
HOMEPAGE= http://www.jmknoble.net/WindowMaker/wmclock/
HOMEPAGE= http://www.bluestop.org/wmclock/
# GPL
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -18,7 +17,6 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp Xext Xpm c
USE_GROFF = Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= simple

View File

@ -1,5 +1,5 @@
MD5 (wmclock-1.0.12.2.tar.gz) = l/boL1XyFrpySFnUZSWGtA==
RMD160 (wmclock-1.0.12.2.tar.gz) = Z5i8TYLgLx54l1RVLCcOneVVTFM=
SHA1 (wmclock-1.0.12.2.tar.gz) = RRdsxUwmGi/Xm/H7Ta1i9btd694=
SHA256 (wmclock-1.0.12.2.tar.gz) = CKnZubyh2dNm8YTWBwJZWdmSU6ta4nSuI2icfqZZPDA=
SIZE (wmclock-1.0.12.2.tar.gz) = 40395
MD5 (wmclock-1.0.13.tar.gz) = 4M4kwv5wA1Gx6RfdY9/38A==
RMD160 (wmclock-1.0.13.tar.gz) = UnyT4r9gz9nyGwhosZa2EJyDwmc=
SHA1 (wmclock-1.0.13.tar.gz) = +34eHs6zDyEQXB/7rcUK/L3PCTI=
SHA256 (wmclock-1.0.13.tar.gz) = U6AWbVZWYdkXdDv6P3fLCE4NbA6jafgeF/SmcJ6enkI=
SIZE (wmclock-1.0.13.tar.gz) = 45740

View File

@ -1,17 +0,0 @@
$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]);

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 19:26:32 espie Exp $
bin/wmclock
@comment $OpenBSD: PLIST,v 1.3 2010/12/06 16:21:05 jasper Exp $
@bin bin/wmclock
@man man/man1/wmclock.1