Re: Question regarding the dependency of GDK on other libraries



Can anybody explain me the significance of Requires and Requires.private
field in the pkg-config .pc file ?
For the gdk-x11-2.0 package, one Ubuntu system has some of the X libs like
Xcomposite, Xdamage etc in Requires field whereas another one has all of
them in Requires.private field.

This affect the applications using gdk as the application fails to load
these X libraries during run time. I am not very clear about the pkg-config
fields. Should there be a unique .pc file for a package like gdk and if so
then what all should be its dependencies?

Thanks
Ruchi



On Wed, Aug 20, 2008 at 12:40 AM, Kumar Siddharth <
kumarsiddharth tataelxsi co in> wrote:


The first one can be considered as core dependencies for GTK/GDK. Second
list is more like add-ons like compositing manager etc for Alpha/blending.

Regards
Siddharth

-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org]On Behalf Of Ruchi Lohani
Sent: Wednesday, August 20, 2008 4:46 AM
To: gtk-app-devel-list gnome org
Subject: Question regarding the dependency of GDK on other libraries


Hi,

My application uses GTK and GDK (Layer isolating GTK from the details of
the
windowing system).

I am using Ubuntu 8.04. When I run "pkg-config --libs gdk-x11-2.0" on it I
get the following result :

-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

whereas when i run the same command on another ubuntu machine I get some
extra dependencies on libXcomposite, libXdamage etc.

Can somebody please explain me this discrepancy. Does my application need
to
link to these libraries?

Thanks
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments contained in it.

Contact your Administrator for further information.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]