Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274515 - gnome-themes & gtk-engines: HighContrast themes fail because hcengine isn't built without USE=accessibility
Summary: gnome-themes & gtk-engines: HighContrast themes fail because hcengine isn't b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 15:00 UTC by splite
Modified: 2009-08-08 22:57 UTC (History)
0 users

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


Attachments
omit HighContrast themes if USE=-accessibility (gnome-themes-2.24.3.ebuild,1.10 KB, text/plain)
2009-06-17 15:01 UTC, splite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description splite 2009-06-17 15:00:47 UTC
gnome-themes always installs HighContrast, HighContrastLargePrint, etc. themes even with USE=-accessibility.  The problem is that these themes require a corresponding engine (hcengine) from gtk-engines that is omitted with USE=-accessibility.

Salient bits:

From gnome-themes-2.24.3.ebuild:
                $(use_enable accessibility all-themes)

From gnome-themes-2.24.3/configure:
  --enable-all-themes     Install all a11y theme sets, default is core a11y
                          themes only

From gtk-engines-2.16.1.ebuild:
        use accessibility || G2CONF="${G2CONF} --disable-hc"

I'd like to see it fixed as suggested in #100287: gnome-themes should just remove the HighContrast themes if USE=-accessibility.  (I've attached a patched ebuild to do that.)  Otherwise, if the sanctity of the GNOME defaults needs to remain intact, gtk-engines should always build hcengine.

Reproducible: Always

Steps to Reproduce:
1. env USE=-accessibility emerge gtk-engines gnome-themes.
2. Start GNOME, select High Contrast theme from Appearance Preferences.
3.

Actual Results:  
Get an error box complaining about hcengine not being installed.

Expected Results:  
Not display an error box.
Comment 1 splite 2009-06-17 15:01:41 UTC
Created attachment 194999 [details]
omit HighContrast themes if USE=-accessibility
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-17 20:11:50 UTC
thanks for the ebuild. Please note that unified diffs against latest ebuild in tree are preferred as they are easier to review.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-08 22:57:44 UTC
In 2.26.3.1 without a bump. I changed the src_install in order to gain some
time, reduces the install of the package from 1 minute 5 seconds to 43 seconds
here. Thanks for reporting and reminding me this bug I figured last year but
forgot to fix.