Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 17:18:03 -0500 (CDT)
From:      Jeremy Messenger <mezz7@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65473: Patch port: x11-toolkits/scintilla, change default GTK1 -> GTK2.
Message-ID:  <200404122218.i3CMI325025167@ns1.mezzweb.com>
Resent-Message-ID: <200404122250.i3CMoOWW030771@freefall.freebsd.org>

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

>Number:         65473
>Category:       ports
>Synopsis:       Patch port: x11-toolkits/scintilla, change default GTK1 -> GTK2.
>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 Apr 12 15:50:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mezz
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ns1.mezzweb.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Mar 30
01:17:23 CST 2004 mezz@mezz.mezzweb.com:/usr/src/sys/i386/compile/BSDROCKS i386

>Description:
Change the default build with GTK2 instead GTK1. Why? 1) Because, itself in the
source is already build with GTK2 by default, so need to respect the default.
Also, GTK1 is no longer support by the GTK team. 2) I have two new ports that
need the GTK2.

I think, we will need a new slave port called scintilla-gtk1, then change the
x11-toolkits/gtkscintilla's LIB_DEPENDS. I don't have any patch or shar of
those, so if you want me to create them then just let me know.
>How-To-Repeat:
n/a

>Fix:


--- scintilla.diff begins here ---
diff -ur scintilla.orig/Makefile scintilla/Makefile
--- scintilla.orig/Makefile	Mon Apr 12 14:12:10 2004
+++ scintilla/Makefile	Mon Apr 12 17:33:20 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	scintilla
 PORTVERSION=	1.59
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://www.scintilla.org/
@@ -24,12 +25,12 @@
 MAKEFILE=	makefile
 INSTALLS_SHLIB=	yes
 
-.if defined(WITH_GTK2)
-USE_GNOME=	gtk20
-PKGNAMESUFFIX=	-gtk2
-.else
+.if defined(WITH_GTK1)
 USE_GNOME=	gtk12
 MAKE_ARGS=	GTK1=yes
+PKGNAMESUFFIX=	-gtk1
+.else
+USE_GNOME=	gtk20
 .endif
 
 .include <bsd.port.pre.mk>
--- scintilla.diff ends here ---


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



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