Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289856 - gnome-extra/libgsf/libgsf-1.14.16 gconf is automagic
Summary: gnome-extra/libgsf/libgsf-1.14.16 gconf is automagic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://www.gentoo.org/proj/en/qa/auto...
Whiteboard:
Keywords:
: 289891 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-20 11:49 UTC by Sylvain BERTRAND
Modified: 2010-01-13 22:58 UTC (History)
4 users (show)

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


Attachments
libgsf-1.14.16.ebuild.patch (libgsf-1.14.16.ebuild.patch,462 bytes, patch)
2009-10-20 11:50 UTC, Sylvain BERTRAND
Details | Diff
libgsf-1.14.16.ebuild.patch (libgsf-1.14.16.ebuild.patch,1.00 KB, patch)
2009-10-20 18:54 UTC, Sylvain BERTRAND
Details | Diff
configure.in.patch (configure.in.patch,1.49 KB, patch)
2009-10-20 18:55 UTC, Sylvain BERTRAND
Details | Diff
libgsf-1.14.16.ebuild.patch (libgsf-1.14.16.ebuild.patch,1.31 KB, patch)
2009-10-20 21:58 UTC, Ivan Anishchuk
Details | Diff
libgsf-1.14.16-automagic-gconf.patch (libgsf-1.14.16-automagic-gconf.patch,1.50 KB, patch)
2009-10-20 22:00 UTC, Ivan Anishchuk
Details | Diff
libgsf-1.14.16-automagic-gconf.patch (libgsf-1.14.16-automagic-gconf.patch,1.50 KB, patch)
2009-10-20 22:28 UTC, Ivan Anishchuk
Details | Diff
other-configure.patch (configure.patch,10.52 KB, patch)
2009-10-22 16:59 UTC, Sylvain BERTRAND
Details | Diff
other-configure.in.patch (configure.in.patch,1.86 KB, patch)
2009-10-22 17:00 UTC, Sylvain BERTRAND
Details | Diff
other-libgsf-1.14.16.ebuild.patch (libgsf-1.14.16.ebuild.patch,1.03 KB, patch)
2009-10-22 17:00 UTC, Sylvain BERTRAND
Details | Diff
libgsf-1.14.16-gconf-automagic.patch (libgsf-1.14.16-gconf-automagic.patch,3.78 KB, patch)
2009-12-27 11:18 UTC, Romain Perier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain BERTRAND 2009-10-20 11:49:48 UTC
gconf dependency should depend on gnome use flag
Comment 1 Sylvain BERTRAND 2009-10-20 11:50:12 UTC
Created attachment 207662 [details, diff]
libgsf-1.14.16.ebuild.patch
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-20 11:54:01 UTC
No it shouldn't, read ChangeLog
Comment 3 Sylvain BERTRAND 2009-10-20 13:30:24 UTC
read changelog, no explanation on why making libgsf hard dependend on gconf/orbit.
Have an overlay, removed gconf hard dependency, it compiled and worked.
Please put back gconf dep under gnome use flag or provide proper explanation or pointers on proper explanation.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-20 14:00:24 UTC
Sorry it was in ebuild:
> # FIXME: gconf is actually automagic and only needed for thumbnailer
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-20 14:00:32 UTC
Sorry it was in ebuild:
> # FIXME: gconf is actually automagic and only needed for thumbnailer
Comment 6 Sylvain BERTRAND 2009-10-20 14:06:21 UTC
proper explanation please
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-10-20 14:12:26 UTC
(In reply to comment #6)
> proper explanation please

Please tone down your attitude here. Bugzilla is a work tool, not a soap box to vent your frustrations.

So please, chill down or I will contact user-rel.

Thanks
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-20 14:31:07 UTC
Documentation about what is an automagic dependency:
http://www.gentoo.org/proj/en/qa/automagic.xml

Now gconf is only used for a libgsf powered thumbnailer (that you will have to look for yourself), it could be made optional by most likely little work, but unfortunately I don't have the time to do it right now, that's why there is a FIXME, in the meantime, correctness of dependencies prevails.
Comment 9 Sylvain BERTRAND 2009-10-20 15:14:31 UTC
(In reply to comment #8)
> Documentation about what is an automagic dependency:
> http://www.gentoo.org/proj/en/qa/automagic.xml
> ...
> FIXME, in the meantime, correctness of dependencies prevails.

thx.

Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-20 17:40:30 UTC
*** Bug 289891 has been marked as a duplicate of this bug. ***
Comment 11 Sylvain BERTRAND 2009-10-20 18:54:59 UTC
Created attachment 207707 [details, diff]
libgsf-1.14.16.ebuild.patch
Comment 12 Sylvain BERTRAND 2009-10-20 18:55:43 UTC
Created attachment 207708 [details, diff]
configure.in.patch

quick fix for gconf dep
Comment 13 Sylvain BERTRAND 2009-10-20 18:56:48 UTC
cleaner fix
Comment 14 Boney McCracker 2009-10-20 19:16:22 UTC
Thank you.

Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-10-20 20:53:34 UTC
Patch looks very good, might want to send it to Gnome's bugzilla. Thanks for cooking it up. Here are a few thoughts though (maybe upstream will have similar comments?)

1) use AC_HELP_STRING instead of AS_HELP_STRING (unless the latter is already used elsewhere). AS_ is a newer namespace and might require a newer autoconf.

2) make the default value "auto" instead of "check", that's what upstream Gnome projects usually have. Just for the consistency's sake.

(FTR, the whole configure.in could use a _major_ clean up, it's completely foobar)

Thanks again for the patch.
Comment 16 Romain Perier (RETIRED) gentoo-dev 2009-10-20 21:13:29 UTC
tiny spec: 
rename your patch specifically to the fixed bug, in this case for example libgsf-1.14.16-automagic-gconf.patch

that's more clear for maintainance and when we clean the tree :)
Comment 17 Ivan Anishchuk 2009-10-20 21:58:47 UTC
Created attachment 207752 [details, diff]
libgsf-1.14.16.ebuild.patch
Comment 18 Ivan Anishchuk 2009-10-20 22:00:37 UTC
Created attachment 207753 [details, diff]
libgsf-1.14.16-automagic-gconf.patch
Comment 19 Ivan Anishchuk 2009-10-20 22:28:36 UTC
Created attachment 207756 [details, diff]
libgsf-1.14.16-automagic-gconf.patch

check -> auto
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-21 19:42:03 UTC
actually the patch should fail if gconf support is requested but not found. Otherwise it looks good.
Comment 21 Sylvain BERTRAND 2009-10-22 16:59:50 UTC
Created attachment 207908 [details, diff]
other-configure.patch
Comment 22 Sylvain BERTRAND 2009-10-22 17:00:17 UTC
Created attachment 207910 [details, diff]
other-configure.in.patch
Comment 23 Sylvain BERTRAND 2009-10-22 17:00:54 UTC
Created attachment 207912 [details, diff]
other-libgsf-1.14.16.ebuild.patch
Comment 24 Sylvain BERTRAND 2009-10-22 17:14:04 UTC
To make autoreconf work on the cleaned configure.in, gconf.m4 must be installed. Is there any way to make autoconf bypass the missing bits from gconf.m4? If not, configure would be patched and autoreconf not run without gconf installed.
Comment 25 Ivan Anishchuk 2009-10-25 14:26:21 UTC
(In reply to comment #24)
> To make autoreconf work on the cleaned configure.in, gconf.m4 must be
> installed. Is there any way to make autoconf bypass the missing bits from
> gconf.m4? If not, configure would be patched and autoreconf not run without
> gconf installed.
> 

AFAIK, no. But maybe, gconf.m4 will be packed into tarballs. See https://bugzilla.gnome.org/show_bug.cgi?id=595495 .
Comment 26 Boney McCracker 2009-11-07 00:41:46 UTC
So what will the resolution on this be?

Comment 27 Boney McCracker 2009-12-07 21:58:39 UTC
So will this patch be applied in portage?

Has the patch been submitted upstream?
Comment 28 Hongjiu Zhang 2009-12-15 15:32:38 UTC
Tested on a new installation of laptop. I notice that FreeBSD did the similar trick. If the patch is not accepted by upstream, hope this new ebuild be applied to portage.

At least, you said FIXME:)
Comment 29 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-27 04:09:11 UTC
Patch added to tree without a bump. Thanks for reporting and the patch.
Comment 30 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-12-27 10:54:23 UTC
re-opening this bug since the patch was applied blindly and actually breaks on system without gconf installed. Please the autofoo part could be written in a sexier way probably.
Comment 31 Romain Perier (RETIRED) gentoo-dev 2009-12-27 11:05:58 UTC
(In reply to comment #30)
> re-opening this bug since the patch was applied blindly and actually breaks on
> system without gconf installed. Please the autofoo part could be written in a
> sexier way probably.
> 

Typically, we've just to make a copy of gconf-2.m4 in m4/ , and
include this file (gconf-2.m4) in the patch... the rest looks good for me (but I'm wrong probably)
Comment 32 Romain Perier (RETIRED) gentoo-dev 2009-12-27 11:18:32 UTC
Created attachment 214286 [details, diff]
libgsf-1.14.16-gconf-automagic.patch

something like that...
Comment 33 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-09 16:37:43 UTC
Could you please update the patch and/or apply it?
Comment 34 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-13 22:58:16 UTC
+  13 Jan 2010; Gilles Dartiguelongue <eva@gentoo.org>
+  -libgsf-1.14.11.ebuild, libgsf-1.14.16.ebuild,
+  +files/libgsf-1.14.16-automake-fixes.patch,
+  files/libgsf-1.14.16-gconf-automagic.patch, metadata.xml:
+  Restore gnome-vfs support, move thumbnail support to its own USE flag, fix
+  missing autoreconf dependencies, fix missing intltoolize call, rework
+  automagic patch, bug #289856 and fix bug #298813. Clean up old revision.
+
Thanks for reporting.