Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394501 - gnome2-utils.eclass shouldn't allow "--uninstall" in gnome2_schemas_update
Summary: gnome2-utils.eclass shouldn't allow "--uninstall" in gnome2_schemas_update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://git.gnome.org/browse/glib/comm...
Whiteboard:
Keywords:
Depends on: 394731 394733 394737 394739
Blocks: glib-2.32
  Show dependency tree
 
Reported: 2011-12-12 23:59 UTC by Marc-Antoine Perennou
Modified: 2012-03-08 05:23 UTC (History)
0 users

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 Marc-Antoine Perennou 2011-12-12 23:59:44 UTC
The "--uninstall" argument of glib-compile-schemas is basically a dummy argument, it never did anything at least since the tool was renamed, was always documented as this, and has been removed from development versions of glib.
See URL

Reproducible: Always
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-14 00:32:11 UTC
Confirming. The "--uninstall" argument was introduced in glib-2.25.6, and in >=glib-2.25.11 is deprecated and has no effect.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-14 20:01:07 UTC
The "gnome2_schemas_update --uninstall" documentation has been removed from gnome2-utils.eclass, and gnome2.eclass and gtk+-3.x ebuilds now call gnome2_schemas_update without "--uninstall".

However, a number of ebuilds in the tree still contain calls to "gnome2_schemas_update --uninstall", and they will need to be fixed.

>  14 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> gnome2-utils.eclass,
>  gnome2.eclass:
>  Do not use gnome2_schemas_update --uninstall; --uninstall has no effect since
>  glib-2.25.11, and has been removed in 2.31.x (bug #394501, thanks to
>  Marc-Antoine Perennou for reporting).

>  14 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> gtk+-3.0.12.ebuild,
>  gtk+-3.0.12-r1.ebuild, gtk+-3.2.1.ebuild, gtk+-3.2.2.ebuild,
>  gtk+-3.2.2-r1.ebuild:
>  Do not use gnome2_schemas_update --uninstall; --uninstall has no effect since
>  glib-2.25.11, and has been removed in 2.31.x (bug #394501, thanks to
>  Marc-Antoine Perennou for reporting).
Comment 3 Pacho Ramos gentoo-dev 2011-12-14 22:43:28 UTC
(In reply to comment #2)
> The "gnome2_schemas_update --uninstall" documentation has been removed from
> gnome2-utils.eclass, and gnome2.eclass and gtk+-3.x ebuilds now call
> gnome2_schemas_update without "--uninstall".
> 
> However, a number of ebuilds in the tree still contain calls to
> "gnome2_schemas_update --uninstall", and they will need to be fixed.
> 

I am unsure if we need to wait for respective maintainers to drop that option or we could fix them ourselves, the change looks completely safe :-/
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-08 05:23:48 UTC
All uses of "gnome2_schemas_update --uninstall" in the tree have been removed. Marking as fixed.