|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Spurious Requires in gladeui-1.0.pc?gladeui-1.0.pc has:
Requires: gtk+-2.0 >= 2.10.0 libxml-2.0 >= 2.4.0 However none of the headers installed in /usr/include /libgladeui-1.0 have a dependency on libxml. Therefore an application using these headers might not need libxml at all. So can this dependency be removed from the pkgconfig file? Cheers, Debarshi -- One reason that life is complex is that it has a real part and an imaginary part. -- Andrew Koenig _______________________________________________ Glade-devel maillist - Glade-devel@... http://lists.ximian.com/mailman/listinfo/glade-devel |
|
|
Re: Spurious Requires in gladeui-1.0.pc?> gladeui-1.0.pc has:
> Requires: gtk+-2.0 >= 2.10.0 libxml-2.0 >= 2.4.0 The configure.ac demands gtk+-2.0 >= 2.14.0, so would it not be a good idea to update the pkgconfig file? Cheerio, Debarshi -- One reason that life is complex is that it has a real part and an imaginary part. -- Andrew Koenig _______________________________________________ Glade-devel maillist - Glade-devel@... http://lists.ximian.com/mailman/listinfo/glade-devel |
|
|
Re: Spurious Requires in gladeui-1.0.pc?Glade needs libxml to link and run
so that needs to stay, regarding GTK version; I don't know why that's not updated at build time so I'll look into that... Cheers, -Tristan On Saturday, April 11, 2009, Debarshi Ray <debarshi.ray@...> wrote: >> gladeui-1.0.pc has: >> Requires: gtk+-2.0 >= 2.10.0 libxml-2.0 >= 2.4.0 > > The configure.ac demands gtk+-2.0 >= 2.14.0, so would it not be a good > idea to update the pkgconfig file? > > Cheerio, > Debarshi > -- > One reason that life is complex is that it has a real part and an > imaginary part. > -- Andrew Koenig > _______________________________________________ > Glade-devel maillist - Glade-devel@... > http://lists.ximian.com/mailman/listinfo/glade-devel > Glade-devel maillist - Glade-devel@... http://lists.ximian.com/mailman/listinfo/glade-devel |
|
|
Re: Spurious Requires in gladeui-1.0.pc?> Glade needs libxml to link and run
> so that needs to stay The pkgconfig file is not checked when Glade is run. As glade and libgladeui links to libxml2.so.2, the glade3 and glade3-libgladeui packages would have a runtime dependency on libxml2. Now the *.pc files are a part of the -devel or -dev subpackages. If libxml2 is mentioned in gladeui-1.0.pc, then glade3-libgladeui-devel gets a runtime dependency on libxml2-devel, which does not seem necessary. Since the *.pc files are only consulted at build time, usually by the configure script, it can not do much to enforce any runtime requirements. It can only enforce compile time requirements. For example, after successfully building and installing glade someone can try to delete libxml2.so.2 and the only barrier would be a distribution's package management system and not the gladeui-1.0.pc. Cheers, Debarshi -- One reason that life is complex is that it has a real part and an imaginary part. -- Andrew Koenig _______________________________________________ Glade-devel maillist - Glade-devel@... http://lists.ximian.com/mailman/listinfo/glade-devel |
|
|
Re: Spurious Requires in gladeui-1.0.pc?On Sun, Apr 12, 2009 at 3:00 AM, Debarshi Ray <debarshi.ray@...> wrote:
>> Glade needs libxml to link and run >> so that needs to stay > > The pkgconfig file is not checked when Glade is run. As glade and > libgladeui links to libxml2.so.2, the glade3 and glade3-libgladeui > packages would have a runtime dependency on libxml2. > > Now the *.pc files are a part of the -devel or -dev subpackages. If > libxml2 is mentioned in gladeui-1.0.pc, then glade3-libgladeui-devel > gets a runtime dependency on libxml2-devel, which does not seem > necessary. > > Since the *.pc files are only consulted at build time, usually by the > configure script, it can not do much to enforce any runtime > requirements. It can only enforce compile time requirements. For > example, after successfully building and installing glade someone can > try to delete libxml2.so.2 and the only barrier would be a > distribution's package management system and not the gladeui-1.0.pc. Sure, we can only do what we can, if you're developing with the Glade headers you need a functional installation of the Glade core, which means you need libxml2, whether you need to specify -lxml2 to link against libgladeui I think is irrelevant here. Cheers, -Tristan _______________________________________________ Glade-devel maillist - Glade-devel@... http://lists.ximian.com/mailman/listinfo/glade-devel |
| Free embeddable forum powered by Nabble | Forum Help |