ports/66295: [PATCH] x11-toolkits/gtk20: [Re-enable menushadow patch]
michael johnson
ahze at ahze.net
Wed May 5 17:50:25 UTC 2004
>Number: 66295
>Category: ports
>Synopsis: [PATCH] x11-toolkits/gtk20: [Re-enable menushadow 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: Wed May 05 10:50:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #45: Mon May 3 05:09:04 EDT
>Description:
- Re-enable menushadow patch
Port maintainer (gnome at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- gtk-2.4.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/gtk20/Makefile,v
retrieving revision 1.124
diff -u -r1.124 Makefile
--- Makefile 30 Apr 2004 19:17:54 -0000 1.124
+++ Makefile 5 May 2004 17:36:21 -0000
@@ -19,6 +19,13 @@
DISTNAME= gtk+-${PORTVERSION}
DIST_SUBDIR= gnome2
+.if defined(WITH_DROPSHADOW)
+PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
+PATCH_SITE_SUBDIR= xfce
+PATCHFILES= gtk+-2.4.0-menushadow.patch
+PATCH_DIST_STRIP= -p1
+.endif
+
MAINTAINER= gnome at FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (current stable version)
@@ -43,6 +50,16 @@
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
PLIST_SUB= GTK_VERSION="2.4.0"
+pre-everything::
+.if !defined(WITH_DROPSHADOW)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want to compile with experimental menu dropshadow patch,
+ @${ECHO_MSG} "hit Ctrl-C right now and use make \"WITH_DROPSHADOW=yes\""
+ @${ECHO_MSG} "NOTE: This option is not supported by FreeBSD GNOME Team."
+ @${ECHO_MSG} "Please, don't bug us if it doesn't work or build broken."
+ @${ECHO_MSG}
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \
${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/gtk20/distinfo,v
retrieving revision 1.63
diff -u -r1.63 distinfo
--- distinfo 30 Apr 2004 19:17:54 -0000 1.63
+++ distinfo 5 May 2004 17:35:51 -0000
@@ -1,2 +1,4 @@
MD5 (gnome2/gtk+-2.4.1.tar.bz2) = b71fc8b24ffd9399f98fc2a41cfe0c0c
SIZE (gnome2/gtk+-2.4.1.tar.bz2) = 8853839
+MD5 (gnome2/gtk+-2.4.0-menushadow.patch) = 5dde5c5af8f25d282c365663a7256b5c
+SIZE (gnome2/gtk+-2.4.0-menushadow.patch) = 15603
--- gtk-2.4.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list