ports/115127: [PATCH] x11-toolkits/scintilla: update to 1.74, take maintainership

Jeremy Messenger mezz7 at cox.net
Thu Aug 9 16:40:10 UTC 2007


The following reply was made to PR ports/115127; it has been noted by GNATS.

From: "Jeremy Messenger" <mezz7 at cox.net>
To: "Naram Qashat" <cyberbotx at cyberbotx.com>, bug-followup at freebsd.org
Cc:  
Subject: Re: ports/115127: [PATCH] x11-toolkits/scintilla: update to 1.74, take maintainership
Date: Thu, 09 Aug 2007 11:37:44 -0500

 On Thu, 09 Aug 2007 09:04:27 -0500, Naram Qashat <cyberbotx at cyberbotx.com>  
 wrote:
 
 > I looked into it, and there's only one port (x11-toolkits/gtkscintilla)  
 > that
 > uses scintilla other than SciTE, and it is a GTK1.x wrapper, so I am  
 > putting
 > the WITH_GTK2 knob back in.  I filed a bug report regarding SciTE being
 > unable to compile with GTK1, though, so I'm waiting to here back on that.
 >
 > As an aside, what would be the best way for the editors/scite port to  
 > check
 > if x11-toolkits/scintilla was built using GTK1 or GTK2?
 
 There are two different ways.
 
 - Add a touch of an empty file something like if it compiles with gtk1  
 then create ${PREFIX}/include/scintilla/.scintilla-gtk1 and if with gtk2  
 then create ${PREFIX}/include/scintilla/.scintilla-gtk2. The other ports  
 can check on if .scintilla-gtk(1|2) exists then mark it as IGNORE.
 
 - Create a slave port like x11-toolkits/scintilla-gtk2 and rename the name  
 of library to libfoo-gtk2.so that way both gtk1 and gtk2 versions can be  
 install together. There will be no block for any apps to be install.
 
    Also, you can do something like x11-toolkits/scintilla only install  
 header files if they don't change, then create two new scintilla-gtk1  
 (without change name of file) and scintilla-gtk2 ports. To do this, you  
 will have to hack in the every ports that depend on scintilla-gtk2 (for  
 change name of libraries). If you want to do this, don't forget to tweak  
 the dependencies.
 
    Or you can do something like x11-toolkits/scintilla (meta-port),  
 x11-toolkits/scintilla-header (install headers),  
 x11-toolkits/scintilla-gtk1 (unchange, has gtk1 libraries) and  
 x11-toolkits/scintilla-gtk2 (change name, has gtk2 libraries). Have both  
 scintilla-gtk* depend on scintilla-header. Have scintilla depend on  
 scintilla-gtk1 by default without have to tweak other ports that depend on  
 old x11-toolkits/scintilla. SciTE depends on scintilla-gtk2. You can check  
 on graphics/gimp, gimp-apps and etc for example.
 
    There are different ways, you can play with it and find which is better  
 for these ports.
 
 > Here's the updated patch.
 <snip>
 
 I will checking your patch in another email that you have resend and I can  
 commit it in this afternoon.
 
 Cheers,
 Mezz
 
 > Naram Qashat
 >
 > ----- Original Message -----
 > From: "Jeremy Messenger" <mezz7 at cox.net>
 > To: <bug-followup at freebsd.org>; <cyberbotx at cyberbotx.com>
 > Sent: Wednesday, August 08, 2007 9:47 PM
 > Subject: Re: ports/115127: [PATCH] x11-toolkits/scintilla: update to  
 > 1.74,
 > take maintainership
 >
 >
 >> There is a problem with if you switch the default of GTK. It might break
 >> other ports. Althought, some of them might be safe to be remove due to  
 >> out
 >> of date or too old, so this method is simpler. If you are willing to do
 >> the more tasks and we shall reward you the maintainership.
 >>
 >> Cheers,
 >> Mezz
 
 
 -- 
 mezz7 at cox.net  -  mezz at FreeBSD.org
 FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
 http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
 http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-gnome mailing list