Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 03:04:00 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173849: [PATCH] deskutils/xwrits: update to 2.26, take maintainership, OptionsNG, Portdocs
Message-ID:  <20121123020404.91A3F30A@hub.freebsd.org>
Resent-Message-ID: <201211230210.qAN2A0sd029224@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173849
>Category:       ports
>Synopsis:       [PATCH] deskutils/xwrits: update to 2.26, take maintainership, OptionsNG, Portdocs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 02:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 2.26
- Take maintainership

Makefile changed:
+PORTDOCS=	GESTURES NEWS README TODO
+.include <bsd.port.options.mk>
+post-install:
+.if ${PORT_OPTIONS:MDOCS}

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

Can't give build log, because RedPorts not works at the time.

>Fix:

--- xwrits-2.26.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/deskutils/xwrits/Makefile ./Makefile
--- /usr/ports/deskutils/xwrits/Makefile	2012-11-16 09:04:48.000000000 +0100
+++ ./Makefile	2012-11-23 02:51:13.000000000 +0100
@@ -2,19 +2,29 @@
 # $FreeBSD: head/deskutils/xwrits/Makefile 304656 2012-09-22 03:40:46Z tabthorpe $
 
 PORTNAME=	xwrits
-PORTVERSION=	2.24
-PORTREVISION=	2
+PORTVERSION=	2.26
 CATEGORIES=	deskutils
-MASTER_SITES=	http://www.lcdf.org/xwrits/
+MASTER_SITES=	http://www.lcdf.org/${PORTNAME}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Reminds you to take wrist breaks
 
 GNU_CONFIGURE=	yes
 
 USE_XORG=	x11 xext
 
-MAN1=		xwrits.1
 PLIST_FILES=	bin/xwrits
 
+MAN1=		xwrits.1
+
+PORTDOCS=	GESTURES NEWS README TODO
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/deskutils/xwrits/distinfo ./distinfo
--- /usr/ports/deskutils/xwrits/distinfo	2012-11-16 09:04:48.000000000 +0100
+++ ./distinfo	2012-11-23 02:45:02.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (xwrits-2.24.tar.gz) = ead0762b812c7633ebc24fea9534d078196a135752c11c174cf7dc4cf2e1147e
-SIZE (xwrits-2.24.tar.gz) = 190168
+SHA256 (xwrits-2.26.tar.gz) = aaca4809b4cd62a627335ca14a231d4ab556fc872458bdb6fdbf6e76b103fed8
+SIZE (xwrits-2.26.tar.gz) = 196529
diff -ruN --exclude=CVS /usr/ports/deskutils/xwrits/pkg-descr ./pkg-descr
--- /usr/ports/deskutils/xwrits/pkg-descr	2012-11-16 09:04:48.000000000 +0100
+++ ./pkg-descr	2012-11-23 02:57:44.000000000 +0100
@@ -1,11 +1,12 @@
-Xwrits reminds you to take wrist breaks, which will hopefully help you
-prevent repetitive stress injury. It pops up an X window when you
-should rest; you click on that window, then take a break.
+Xwrits reminds you to take wrist breaks for prevention or management of
+repetitive stress injuries. When you should take a break, it pops up an
+X window, the warning window. You click on the warning  window, then
+take a break. The window changes appearance while you take the break.
+it changes again when your break is over. Then you just resume typing.
+Xwrits hides itself until you should take another break.
 
-Xwrits's graphics are brightly colored pictures of a wrist and the
-attached hand. The wrist clenches and stretches ``as if in pain'' when
-you should rest, slumps relaxed during the break, and points forward
-valiantly when the break is over. It is trapped behind bars while the
-keyboard is locked. Other gestures are included.
+The typetime option changes the amount of time between breaks, and the
+breaktime option changes the length of a break. The defaults are 55
+minutes and 5 minutes, respectively.
 
 WWW: http://www.lcdf.org/xwrits/
--- xwrits-2.26.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121123020404.91A3F30A>