Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 229563 Details for
Bug 317665
www-client/chromium several fixes: linguas support, optional gconf, other
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff
chromium-5.0.342.9.ebuild.diff (text/plain), 3.33 KB, created by
Nikoli
on 2010-04-28 19:54:36 UTC
(
hide
)
Description:
diff
Filename:
MIME Type:
Creator:
Nikoli
Created:
2010-04-28 19:54:36 UTC
Size:
3.33 KB
patch
obsolete
>--- /usr/portage/www-client/chromium/chromium-5.0.342.9.ebuild 2010-04-26 16:07:00.000000000 +0400 >+++ chromium-5.0.342.9.ebuild 2010-04-28 00:58:56.097367790 +0400 >@@ -12,14 +12,18 @@ > LICENSE="BSD" > SLOT="0" > KEYWORDS="~amd64 ~arm ~x86" >-IUSE="bindist +plugins-symlink" >+LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr nb nl or pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" >+IUSE="bindist gnome +inspector +plugins-symlink" >+for x in ${LANGS}; do >+ IUSE="${IUSE} linguas_${x}" >+done > > RDEPEND="app-arch/bzip2 > >=dev-libs/libevent-1.4.13 > dev-libs/libxml2 > dev-libs/libxslt > >=dev-libs/nss-3.12.3 >- >=gnome-base/gconf-2.24.0 >+ gnome? ( >=gnome-base/gconf-2.24.0 ) > >=media-libs/alsa-lib-1.0.19 > media-libs/jpeg:0 > media-libs/libpng >@@ -29,12 +33,14 @@ > x11-libs/libXScrnSaver" > # dev-db/sqlite:3 > DEPEND="${RDEPEND} >+ !gnome? ( >=gnome-base/gconf-2.24.0 ) > >=dev-util/gperf-3.0.3 > >=dev-util/pkgconfig-0.23 > sys-devel/flex" > RDEPEND+=" > || ( > x11-themes/gnome-icon-theme >+ x11-themes/oxygen-molecule > x11-themes/tango-icon-theme > x11-themes/xfce4-icon-theme > ) >@@ -76,6 +82,16 @@ > elog "or the internet." > elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag" > fi >+ >+ if ! use gnome; then >+ einfo >+ elog "You need to build gconf and orbit with" >+ elog "EXTRA_ECONF=\"--disable-shared --enable-static\"." >+ elog "Change your settings this way:" >+ elog "mkdir -p /etc/portage/env/gnome-base/ && \\" >+ elog "echo EXTRA_ECONF=\"--disable-shared --enable-static\" > /etc/portage/env/gnome-base/gconf && \\" >+ elog "cp /etc/portage/env/gnome-base/{gconf,orbit}" >+ fi > } > > src_prepare() { >@@ -105,6 +121,10 @@ > sed -e '/^#include "mozzconf.h"$/d' \ > -i third_party/zlib/zconf.h \ > || die "zlib sed failed" >+ >+ # gconf >+ ! use gnome && sed -i -e '/pkg-config/s/ gconf/ --static gconf/' \ >+ build/linux/system.gyp || die "sed gconf failed" > } > > src_configure() { >@@ -177,13 +197,24 @@ > > insinto ${CHROMIUM_HOME} > doins out/Release/chrome.pak >+ use inspector && doins -r out/Release/resources > >- doins -r out/Release/locales >- doins -r out/Release/resources >+ # linguas >+ mv out/Release/locales/es-419.pak out/Release/locales/es-LA.pak >+ insinto ${CHROMIUM_HOME}/locales >+ # fallback locale >+ doins "out/Release/locales/en-US.pak" >+ for lang in ${LANGS}; do >+ if use linguas_${lang}; then >+ doins "out/Release/locales/${lang/_/-}.pak" >+ fi >+ done >+ # else LANG=es_419.UTF-8 does not work >+ use linguas_es_LA && dosym es-LA.pak ${CHROMIUM_HOME}/locales/es-419.pak > > # chrome.1 is for chromium --help > newman out/Release/chrome.1 chrome.1 >- newman out/Release/chrome.1 chromium.1 >+ dosym chrome.1.bz2 /usr/share/man/man1/chromium.1.bz2 > > # Chromium looks for these in its folder > # See media_posix.cc and base_paths_linux.cc >@@ -203,7 +234,12 @@ > sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \ > || die "desktop file sed failed" > # Gnome default application entry >- dodir /usr/share/gnome-control-center/default-apps >- insinto /usr/share/gnome-control-center/default-apps >- doins "${FILESDIR}"/chromium.xml >+ if use gnome; then >+ dodir /usr/share/gnome-control-center/default-apps >+ insinto /usr/share/gnome-control-center/default-apps >+ doins "${FILESDIR}"/chromium.xml >+ fi >+ >+ # clean >+ find "${D}" -name *.d -type f -exec rm {} \; > }
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 317665
: 229563 |
229565