Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 394501

Summary: gnome2-utils.eclass shouldn't allow "--uninstall" in gnome2_schemas_update
Product: Gentoo Linux Reporter: Marc-Antoine Perennou <Marc-Antoine>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.gnome.org/browse/glib/commit/gio/glib-compile-schemas.c?id=b83e0a39fbab49430767484a3af1a35dd21404e0
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 394731, 394733, 394737, 394739    
Bug Blocks: 406437    

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.