Confused by .la file removal vs static linking support
Hendrik Sattler, le Wed 05 May 2010 10:47:24 +0200, a écrit :
> Zitat von Josselin Mouette <joss@debian.org>:
>
> >Le mardi 04 mai 2010 * 10:31 +0200, Emilio Pozuelo Monfort a écrit :
> >>Sorry I don't know what you're talking about. If you can explain it
> >> I'll try to
> >>look at the problem.
> >
> >It’s not a problem, it’s a disagreement over a design choice.
> >
> >When you do that:
> > #include <gtk/gtk.h>
> >
> >you’re able to use gtk_* functions, but also g_* and pango_* functions,
> >because the headers are designed so.
> >
> >Therefore, when you link to GTK+, you need to link explicitly to Pango
> >and GLib. This is why Pango and GLib are in the Requires field for
> >gtk+-2.0.pc, and not in Requires.private.
>
> Only when you use symbols from Pango or Glib directly. Having
> prototypes through gtk/gtk.h is not relevant.
A lot of gtk headers use GObjectClass types, macros and such, which are
from Glib. You thus need both glib headers and libraries.
Samuel
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100505095109.GF5006@const.bordeaux.inria.fr">htt p://lists.debian.org/20100505095109.GF5006@const.bordeaux.inria.fr
05-05-2010, 10:18 AM
Simon Richter
Confused by .la file removal vs static linking support
Hi,
On Wed, May 05, 2010 at 11:51:09AM +0200, Samuel Thibault wrote:
> A lot of gtk headers use GObjectClass types, macros and such, which are
> from Glib. You thus need both glib headers and libraries.
Gtk would also need to include the SONAME from glib into their own,
given that ABI breaks in glib also implicitly break their own ABI.
Simon
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100505101801.GA2292@richter">http://lists.debian.org/20100505101801.GA2292@richter
05-05-2010, 01:00 PM
Josselin Mouette
Confused by .la file removal vs static linking support
Le mercredi 05 mai 2010 * 12:18 +0200, Simon Richter a écrit :
> Gtk would also need to include the SONAME from glib into their own,
> given that ABI breaks in glib also implicitly break their own ABI.
The GTK+ ABI stability guarantees are the same as the GLib ones. The
SONAMEs can only be changed together.
Cheers,
--
.'`. Josselin Mouette
: :' :
`. `' “A handshake with whitnesses is the same
`- as a signed contact.” -- Jörg Schilling
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1273064445.7305.5.camel@meh">http://lists.debian.org/1273064445.7305.5.camel@meh