From owner-freebsd-gnome@FreeBSD.ORG Wed Mar 31 21:42:18 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33C3F16A4CE for ; Wed, 31 Mar 2004 21:42:18 -0800 (PST) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id B153E43D2D for ; Wed, 31 Mar 2004 21:42:17 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao05.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040401054217.LAJS21704.lakemtao05.cox.net@mezz.mezzweb.com> for ; Thu, 1 Apr 2004 00:42:17 -0500 Date: Wed, 31 Mar 2004 23:42:48 -0600 To: freebsd-gnome@freebsd.org From: Jeremy Messenger Content-Type: multipart/mixed; boundary=----------Z5FjpgBAZDHbSsuXRXu1gl MIME-Version: 1.0 Message-ID: User-Agent: Opera7.23/Linux M2 build 518 Subject: Port patch: x11-toolkits/gtk20 (2.4.0), add a shadow option.. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 05:42:18 -0000 ------------Z5FjpgBAZDHbSsuXRXu1gl Content-Type: text/plain; format=flowed; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, This is took from the x11-toolkits/gtk20 (2.2.4) in the offical ports tree. Here's an attach of gtk20.diff and it works great. :-) One thing that portlint complains: ===================================== % portlint -a WARN: Makefile: extra item placed in the PATCH_SITES section, for example, "PATCH_SITES". 0 fatal errors and 1 warnings found. ===================================== I don't understand what it means. Cheers, Mezz -- bsdforums.org 's moderator, mezz. ------------Z5FjpgBAZDHbSsuXRXu1gl Content-Disposition: attachment; filename=gtk20.diff Content-Type: text/plain; name=gtk20.diff Content-Transfer-Encoding: 8bit diff -ur gtk20.orig/Makefile gtk20/Makefile --- gtk20.orig/Makefile Sun Mar 28 15:27:07 2004 +++ gtk20/Makefile Wed Mar 31 22:56:24 2004 @@ -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@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) @@ -42,6 +49,16 @@ -I${LOCALBASE}/include -I${X11BASE}/include" \ 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 | \ diff -ur gtk20.orig/distinfo gtk20/distinfo --- gtk20.orig/distinfo Tue Mar 16 19:58:52 2004 +++ gtk20/distinfo Wed Mar 31 22:53:27 2004 @@ -1,2 +1,4 @@ MD5 (gnome2/gtk+-2.4.0.tar.bz2) = fd16157de447c7f0a86495ad0dc67a1b SIZE (gnome2/gtk+-2.4.0.tar.bz2) = 8476610 +MD5 (gnome2/gtk+-2.4.0-menushadow.patch) = 5dde5c5af8f25d282c365663a7256b5c +SIZE (gnome2/gtk+-2.4.0-menushadow.patch) = 15603 ------------Z5FjpgBAZDHbSsuXRXu1gl--