Re: Announce: gdl 0.7.8 released



>> -Requires: gtk+-2.0 libxml-2.0 libglade-2.0
>> +Requires: gtk+-2.0

> Can you point to some documentation which says it is not needed? My
> understanding is that .pc file should serve all needed libraries for
> your package through --libs option.

This is what the pkg-config online manual page says about the Requires field:
"This is a comma-separated list of packages that are required by your
package. Flags from dependent packages will be merged in to the flags
reported for your package."

Studying all the headers which are installed by gdl in /usr/include I
could only find #includes for some gtk+-2.0 headers. I could not find
any #includes to the libxml-2.0 or libglade-2.0 headers in the gdl
header files. Correct me if I missed anything.

If indeed the libxml-2.0 or libglade-2.0 headers are somehow needed by
the gtk+-2.0 headers then the gtk+-2.0.pc file should have them in its
Requires field, which will get merged in gdl's flags.

gnome-build suffers from the same problem, which was raised during its
Fedora package review:
https://bugzilla.redhat.com/show_bug.cgi?id=428566#c4

It so happens that the extra "libxml-2.0 libglade-2.0" in gdl-1.0.pc
serves to mask a missing entry in libgnomeui-2.0.pc:
https://bugzilla.redhat.com/show_bug.cgi?id=430559 However, I believe
that it should be fixed in libgnomeui itself, instead of other
packages carrying extra entries.

Happy hacking,
Debarshi
-- 
Free software for the Indian community:
* ftp://fedora.glug-nith.org/ (Fedora)
* http://gnu.glug-nith.org/ (GNU)
* http://mirror.wbut.ac.in/ (CRAN, Fedora, Mozilla, TLDP)


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