Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265775 Details for
Bug 358763
www-client/chromium should install different size icons [patch]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Install all icon sizes
chromium-icon-install.patch (text/plain), 1.70 KB, created by
Andreas Proschofsky (RETIRED)
on 2011-03-13 22:35:52 UTC
(
hide
)
Description:
Install all icon sizes
Filename:
MIME Type:
Creator:
Andreas Proschofsky (RETIRED)
Created:
2011-03-13 22:35:52 UTC
Size:
1.70 KB
patch
obsolete
>--- /usr/portage/www-client/chromium/chromium-10.0.648.133.ebuild >+++ /usr/portage/www-client/chromium/chromium-10.0.648.133.ebuild >@@ -6,8 +6,8 @@ > PYTHON_DEPEND="2:2.6" > V8_DEPEND="3.0.12.30" > >-inherit eutils flag-o-matic multilib pax-utils portability python \ >- toolchain-funcs versionator virtualx >+inherit eutils flag-o-matic gnome2-utils multilib pax-utils portability \ >+ python toolchain-funcs versionator virtualx > > DESCRIPTION="Open-source version of Google Chrome web browser" > HOMEPAGE="http://chromium.org/" >@@ -301,8 +301,12 @@ > dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die > dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die > >- # Install icon and desktop entry. >- newicon chrome/app/theme/chromium/product_logo_48.png ${PN}-browser.png || die >+ # Install icons and desktop entry. >+ for SIZE in 16 22 24 32 48 64 128 256 ; do >+ insinto /usr/share/icons/hicolor/${SIZE}x${SIZE}/apps >+ newins chrome/app/theme/chromium/product_logo_${SIZE}.png ${PN}-browser.png || die "Installing icons failed." >+ done >+ > dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium || die > make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser" \ > "MimeType=text/html;text/xml;application/xhtml+xml;" >@@ -316,7 +320,15 @@ > fi > } > >+pkg_preinst() { >+ gnome2_icon_savelist >+} >+ >+ > pkg_postinst() { >+ >+ gnome2_icon_cache_update >+ > # For more info see bugs #292201 and bug #352263. > elog "Depending on your desktop environment, you may need" > elog "to install additional packages to get icons on the Downloads page." >@@ -327,3 +339,8 @@ > elog " - x11-themes/gnome-icon-theme" > elog " - x11-themes/xfce4-icon-theme" > } >+ >+pkg_postrm() { >+ gnome2_icon_cache_update >+} >+ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 358763
: 265775