Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361608 Details for
Bug 489000
x11-libs/gtk+:2 - add multilib support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gtk+-2.24.22.ebuild.patch
gtk+-2.24.22.ebuild.patch (text/plain), 3.58 KB, created by
Andrew Church
on 2013-10-22 11:56:40 UTC
(
hide
)
Description:
gtk+-2.24.22.ebuild.patch
Filename:
MIME Type:
Creator:
Andrew Church
Created:
2013-10-22 11:56:40 UTC
Size:
3.58 KB
patch
obsolete
>--- gtk+-2.24.22.ebuild.orig 2013-10-15 04:31:37 +0900 >+++ gtk+-2.24.22.ebuild 2013-10-22 20:13:20 +0900 >@@ -3,7 +3,7 @@ > # $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.24.22.ebuild,v 1.2 2013/10/14 19:17:25 pacho Exp $ > > EAPI="5" >-inherit eutils flag-o-matic gnome2-utils gnome.org multilib virtualx autotools readme.gentoo >+inherit eutils flag-o-matic gnome2-utils gnome.org multilib virtualx autotools readme.gentoo multilib-minimal > > DESCRIPTION="Gimp ToolKit +" > HOMEPAGE="http://www.gtk.org/" >@@ -16,29 +16,29 @@ > # NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf) > COMMON_DEPEND=" > !aqua? ( >- x11-libs/libXrender >- x11-libs/libX11 >- x11-libs/libXi >- x11-libs/libXext >- >=x11-libs/libXrandr-1.3 >- x11-libs/libXcursor >- x11-libs/libXfixes >- x11-libs/libXcomposite >- x11-libs/libXdamage >- >=x11-libs/cairo-1.6:=[X,svg] >- x11-libs/gdk-pixbuf:2[X,introspection?] >+ x11-libs/libXrender[${MULTILIB_USEDEP}] >+ x11-libs/libX11[${MULTILIB_USEDEP}] >+ x11-libs/libXi[${MULTILIB_USEDEP}] >+ x11-libs/libXext[${MULTILIB_USEDEP}] >+ >=x11-libs/libXrandr-1.3[${MULTILIB_USEDEP}] >+ x11-libs/libXcursor[${MULTILIB_USEDEP}] >+ x11-libs/libXfixes[${MULTILIB_USEDEP}] >+ x11-libs/libXcomposite[${MULTILIB_USEDEP}] >+ x11-libs/libXdamage[${MULTILIB_USEDEP}] >+ >=x11-libs/cairo-1.6:=[X,svg,${MULTILIB_USEDEP}] >+ x11-libs/gdk-pixbuf:2[X,introspection?,${MULTILIB_USEDEP}] > ) > aqua? ( >- >=x11-libs/cairo-1.6:=[aqua,svg] >- x11-libs/gdk-pixbuf:2[introspection?] >+ >=x11-libs/cairo-1.6:=[aqua,svg,${MULTILIB_USEDEP}] >+ x11-libs/gdk-pixbuf:2[introspection?,${MULTILIB_USEDEP}] > ) >- xinerama? ( x11-libs/libXinerama ) >- >=dev-libs/glib-2.34:2 >- >=x11-libs/pango-1.20[introspection?] >- >=dev-libs/atk-1.29.2[introspection?] >- media-libs/fontconfig >+ xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) >+ >=dev-libs/glib-2.34:2[${MULTILIB_USEDEP}] >+ >=x11-libs/pango-1.20[introspection?,${MULTILIB_USEDEP}] >+ >=dev-libs/atk-1.29.2[introspection?,${MULTILIB_USEDEP}] >+ media-libs/fontconfig[${MULTILIB_USEDEP}] > x11-misc/shared-mime-info >- cups? ( net-print/cups:= ) >+ cups? ( net-print/cups:=[${MULTILIB_USEDEP}] ) > introspection? ( >=dev-libs/gobject-introspection-0.9.3 ) > !<gnome-base/gail-1000 > " >@@ -157,26 +157,35 @@ > #elibtoolize > } > >-src_configure() { >+multilib_src_configure() { > # Passing --disable-debug is not recommended for production use >+ ECONF_SOURCE="${S}" \ > econf \ > $(usex aqua --with-gdktarget=quartz --with-gdktarget=x11) \ > $(usex aqua "" --with-xinput) \ > $(usex debug --enable-debug=yes "") \ > $(use_enable cups cups auto) \ >- $(use_enable introspection) \ >+ $(multilib_is_native_abi \ >+ && use_enable introspection \ >+ || echo --disable-introspection) \ > $(use_enable xinerama) \ > --disable-papi > } > >-src_test() { >+multilib_src_test() { > unset DBUS_SESSION_BUS_ADDRESS > Xemake check > } > >-src_install() { >+multilib_src_install() { > default > >+ if ! multilib_is_native_abi && [[ ${ABI} == x86 ]]; then >+ mv "${D}"/usr/bin/gtk-query-immodules-2.0{,-32} || die >+ fi >+} >+ >+multilib_src_install_all() { > # see bug #133241 > echo 'gtk-fallback-icon-theme = "gnome"' > "${T}/gtkrc" > insinto /usr/share/gtk-2.0 >@@ -202,6 +211,10 @@ > > gtk-query-immodules-2.0 --update-cache || die "Update immodules cache failed" > >+ if has x86 $(multilib_get_enabled_abis) && has amd64 $(multilib_get_enabled_abis); then >+ gtk-query-immodules-2.0-32 --update-cache || die "Update x86 immodules cache failed" >+ fi >+ > if [ -e "${EROOT%/}/etc/gtk-2.0/gtk.immodules" ]; then > elog "File /etc/gtk-2.0/gtk.immodules has been moved to \$CHOST" > elog "aware location. Removing deprecated file."
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 489000
:
361608
|
369842