Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254442 - gnome-extra/libgsf - gnome use-flag is misleading
Summary: gnome-extra/libgsf - gnome use-flag is misleading
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 17:30 UTC by Andreas Proschofsky (RETIRED)
Modified: 2009-10-19 20:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-10 17:30:20 UTC
The gnome use-flag in libgsf is used in a quite misleading way. It actually only pulls in support for deprecated technologies like bonobo and gnome-vfs. The current gio support (which has replaced gnome-vfs in recent gnome releases) on the other hand is built even when -gnome is set.

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-10 17:59:57 UTC
can you tell if gio support actually does what you think it does and is a drop in replacement for gnome. Reading the changelog, it didn't seem like it. Having a gnome use flag for gnome technologies is not really misleading imho but any better name suggestion would be appreciated of course.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-10 18:32:38 UTC
(In reply to comment #1)
> can you tell if gio support actually does what you think it does and is a drop
> in replacement for gnome. Reading the changelog, it didn't seem like it. Having
> a gnome use flag for gnome technologies is not really misleading imho but any
> better name suggestion would be appreciated of course.
> 

Well I guess that's difficult to check as I need libgsf only as a dependency for libwpd (and OpenOffice in consequence). And I agree that the Changelog is not very helpful here...

About another name for the use-flag: Actually I don't think there is much use in adding another use-flag for deprecated technologies if there is a more recent drop-in. It should just be disabled by default imho (if there is no specific reason for keeping it, that I don't think of atm ;) )
Comment 3 Mart Raudsepp gentoo-dev 2009-01-11 08:57:25 UTC
Yeah, we'll need to investigate what the USE flag enables in practice and if anything using it needs it. Does it expose extra libgsf API or just gives it VFS support, which maybe it does with GIO as well, etc.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-09 23:07:13 UTC
hum reading the configure.ac while bumping, using --enable-gnome-vfs with --with-gio is supposed to build the same code but based on gio afai understand. However the final libs are still linked to gnome-vfs.

Still not sure about what would disabling these do to packages in tree that RDEPEND on it.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2009-04-30 18:02:33 UTC
See also the discussion at this upstream bug:

http://bugzilla.gnome.org/show_bug.cgi?id=580320
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-01 10:49:54 UTC
suggesting we drop gnome-vfs and libbonobo if possible ?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-19 20:03:21 UTC
A quick look at this again, USE="gnome" enables libgsf-gnome which is used by at least:

/usr/bin $ for x in $(ls); do readelf -d $x 2>/dev/null |egrep -q "libgsf-gnome"&& echo "$x needs it"; done
abiword

/usr/lib64 $ for x in $(ls *.so); do readelf -d $x 2>/dev/null |egrep -q "libgsf-gnome"&& echo "$x needs it"; done
abiword
goffice:0.6
goffice:0.4
gnumeric

of those, only abiword doesn't seem to care about the existence of libgsf-gnome through IUSE-dependency. Other than that, I think the flag is well named in fact (since it enables libgsf-gnome) so I'm closing this wontfix. Hope this sheds some light for you. Thanks for reporting.