After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 512810 - libsoup 2.2.x and libsoup 2.3.x install gtk-doc files in the same location
libsoup 2.2.x and libsoup 2.3.x install gtk-doc files in the same location
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2008-01-29 14:58 UTC by Daniel Gryniewicz
Modified: 2008-02-25 19:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to libsoup 2.2.104 to adjust gtk-doc install dir (362 bytes, patch)
2008-02-01 15:51 UTC, Dan Winship
none Details | Review

Description Daniel Gryniewicz 2008-01-29 14:58:54 UTC
Both versions of libsoup install gtk-doc files in /usr/share/gtk-doc/html/libsoup.  This keeps gentoo from slotting them properly, and keeps the user from having boths sets of docs installed.
Comment 1 Dan Winship 2008-02-01 15:44:25 UTC
fixed in svn
Comment 2 Dan Winship 2008-02-01 15:51:32 UTC
Created attachment 104209 [details] [review]
patch to libsoup 2.2.104 to adjust gtk-doc install dir

For reference, here's the patch that can be applied to libsoup 2.2.104 to make it install docs into /usr/share/gtk-doc/html/libsoup-2.2/, for consistency.
Comment 3 Benjamin Otte (Company) 2008-02-25 10:35:04 UTC
If I analyzed this correctly, this breaks devhelp. Looking at the strace output, devhelp seems to do the equivalent of "for dirname in /usr/share/gtk-doc/html/ do; read-in-from $dirname/$dirname.devhelp2; done" which breaks if libsoup only overrides the dirname, but not the devhelp file.

Is there any reason for not doing the override in Makefile.am, but instead changing the DOC_MODULE variable to be libsoup-$(SOUP_API_VERSION) ?

Apart from that fact, devhelp would be very confused about identical symbols anyway, so I wonder about the usefulness of having to sets of documentation installed.

Comment 4 Benjamin Otte (Company) 2008-02-25 10:42:11 UTC
I just tried it and realized that changing DOC_MODULE breaks the whole setup as gtk-doc expects the sections file etc named like DOC_MODULE, so i retract my suggestion of changing DOC_MODULE.

But the change still breaks devhelp.
Comment 5 Dan Winship 2008-02-25 19:29:09 UTC
fixed. (see bug 518384)