ports/75017: [ patch ] sysutils/roottail: add extra patch

Roman Bogorodskiy bogorodskiy at inbox.ru
Mon Dec 13 12:10:25 UTC 2004


>Number:         75017
>Category:       ports
>Synopsis:       [ patch ] sysutils/roottail: add extra patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 13 12:10:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #3: Sat Dec 11 21:01:26 MSK 2004 root at lame.novel.ru:/usr/obj/usr/src/sys/MIRRORBOX i386


>Description:
	Add an optional patch for root-tail. This patch replaces the
	standart root-tail code for finding root window with the 
	better one, written by Johannes Jordan and Robin Hogan,
	which allows root-tail to work with some desktop environments, 
	xfce4 for example. 
>How-To-Repeat:
>Fix:

--- port.roottail.patch begins here ---
diff -ruN roottail.orig/Makefile roottail/Makefile
--- roottail.orig/Makefile	Mon Dec 13 10:43:46 2004
+++ roottail/Makefile	Mon Dec 13 14:39:37 2004
@@ -11,6 +11,12 @@
 MASTER_SITES=	http://www.goof.com/pcg/marc/data/
 DISTNAME=	root-tail-${PORTVERSION}
 
+.if defined(WITH_EXTRA_PATCH)
+PATCH_SITES=	http://bmp-plugins.berlios.de/misc/patches/
+PATCHFILES=	roottail-1.2+xfce.diff
+PATCH_DIST_STRIP=	-p1
+.endif
+
 MAINTAINER=	jedgar at FreeBSD.org
 COMMENT=	Print text directly to X11 root window
 
@@ -18,5 +24,14 @@
 PLIST_FILES=	bin/root-tail
 USE_IMAKE=	yes
 MAKE_ARGS=	CC="${CC}"
+
+pre-everything::
+.if defined(WITH_EXTRA_PATCH)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Note: this extra patch is not supported by roottail maintainer."
+	@${ECHO_MSG} "Before reporting any problems you should build roottail without"
+	@${ECHO_MSG} "this option."
+	@${ECHO_MSG}
+.endif
 
 .include <bsd.port.mk>
diff -ruN roottail.orig/distinfo roottail/distinfo
--- roottail.orig/distinfo	Mon Dec 13 10:43:46 2004
+++ roottail/distinfo	Mon Dec 13 11:02:29 2004
@@ -1,2 +1,4 @@
 MD5 (root-tail-1.2.tar.gz) = 5a4b3c4c7ab3bed1f4575e9688aac5de
 SIZE (root-tail-1.2.tar.gz) = 20805
+MD5 (roottail-1.2+xfce.diff) = a71d34939024c3e98c68636ad68c5763
+SIZE (roottail-1.2+xfce.diff) = 16326
--- port.roottail.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list