Re: Converting libraries and plugins to use gtk3

2010-07-05 Thread Maciej Piechotka
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 11/06/10 14:28, Alexander Larsson wrote: Any library that links to gtk+, gdk or gdk-pixbuf, that switches to gtk3 will need to have the new version be separate from and parallel installable with the old version. If this is not done then

Libtool versioning made easy (was Re: Converting libraries and plugins to use gtk3

2010-06-30 Thread Behdad Esfahbod
On 06/11/2010 08:28 AM, Alexander Larsson wrote: * Reset the so version to 0:0:0 Those of you who've had to deal with libtool know that libtool versionin is a PITA. Here's a snippet to make libtool versioning (and as a result .so versioning) automatic based on your regular major.minor.micro

Re: Libtool versioning made easy (was Re: Converting libraries and plugins to use gtk3

2010-06-30 Thread Behdad Esfahbod
On 06/30/2010 04:26 PM, Adam Jackson wrote: On Wed, 2010-06-30 at 15:43 -0400, Behdad Esfahbod wrote: In your src/Makefile.am add -version-info $(LT_VERSION_INFO) to your library's LDFLAGS. Or you could just do it directly: libX11_la_LDFLAGS = -version-number 6:3:0 -no-undefined

Converting libraries and plugins to use gtk3

2010-06-11 Thread Alexander Larsson
Any library that links to gtk+, gdk or gdk-pixbuf, that switches to gtk3 will need to have the new version be separate from and parallel installable with the old version. If this is not done then distributions can not ship applications still using gtk2 linking to the older version of the library,

Re: Converting libraries and plugins to use gtk3

2010-06-11 Thread Matthias Clasen
On Fri, Jun 11, 2010 at 8:28 AM, Alexander Larsson al...@redhat.com wrote: Any library that links to gtk+, gdk or gdk-pixbuf, that switches to gtk3 will need to have the new version be separate from and parallel installable with the old version. [ lots of good information elided ] Wow. Alex,