summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-07-05 10:15:36 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2015-07-05 10:15:36 +0000
commit5d8e48433e581af7c0333ec3ebee578bcf74c748 (patch)
tree7324b6192abd93b6f84588c37a435873be0ba271
parentx86 stable wrt bug #552618 (diff)
downloadhistorical-5d8e48433e581af7c0333ec3ebee578bcf74c748.tar.gz
historical-5d8e48433e581af7c0333ec3ebee578bcf74c748.tar.bz2
historical-5d8e48433e581af7c0333ec3ebee578bcf74c748.zip
Version bump.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xC6085806
-rw-r--r--x11-libs/gtk+/ChangeLog7
-rw-r--r--x11-libs/gtk+/Manifest20
-rw-r--r--x11-libs/gtk+/gtk+-3.16.4.ebuild249
3 files changed, 261 insertions, 15 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog
index 37823c8ccbd1..bf1f81b0ef93 100644
--- a/x11-libs/gtk+/ChangeLog
+++ b/x11-libs/gtk+/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/gtk+
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.786 2015/06/26 09:24:07 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.787 2015/07/05 10:15:33 eva Exp $
+
+*gtk+-3.16.4 (05 Jul 2015)
+
+ 05 Jul 2015; Gilles Dartiguelongue <eva@gentoo.org> +gtk+-3.16.4.ebuild:
+ Version bump.
26 Jun 2015; Agostino Sarubbo <ago@gentoo.org> gtk+-1.2.10-r13.ebuild,
gtk+-2.24.28-r1.ebuild, gtk+-3.14.13.ebuild:
diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest
index f08d6d8cf451..6517265a6d16 100644
--- a/x11-libs/gtk+/Manifest
+++ b/x11-libs/gtk+/Manifest
@@ -24,6 +24,7 @@ DIST gtk+-3.12.2.tar.xz 15015024 SHA256 61d74eea74231b1ea4b53084a9d6fc9917ab0e1d
DIST gtk+-3.14.13.tar.xz 15784112 SHA256 b1efcb1ef299f9b205e6f4512428315fd03484e5790f65bd3ac164e84ade90b0 SHA512 e4fcca57fe58821832ee0b542d86033a1028c19e2248929e25a8c16ef05603a93815556591bcc025995bfab1238ad4060fcdf4920ec2df22ab3175b404f3a207 WHIRLPOOL 36a77983701da6041f0762013638303d323a42487a6f6508e92dfa0571f8f13b8598a8187e9665e6eeb62e41b7c2533a1fe9d2b68f097e85599d373969d52da0
DIST gtk+-3.14.9.tar.xz 15716588 SHA256 3be9560e6e99388d7706a168e3353ecd63fc30ec4f7f8bea23889e71ab7b6c64 SHA512 3b64142d65ec4b4e0ed709c2fac629d80b95dac03481a3d6f8e3cc6c351ac779fe172a1edee552df7b3c40287f10c97fa0e99212e5f0e6b4751e3d8efd0896e5 WHIRLPOOL bc45b3722913ebb90bff944ec724909d01e3e976d49f8bd273500de2af9de7dcedc85e24fca36226816993a10cb87f4477f4498cc67946449855b37a0790a2fa
DIST gtk+-3.16.3.tar.xz 18228560 SHA256 2943fd4a6b02c2a9b2edd231c1d8f7a1d2f8d36996f14310d34f503dca9ebea4 SHA512 5ab6ff3f4e4c47dd8532027bfade1420524d48b53f7c7bcef4ee581095ecc53f33ac072076837ed34306d5d84103958b27a3099b10e5cf95c38fb34342fc8aa8 WHIRLPOOL 61d97a60fd581a895c66907770472a16548c783189d72d3a147ddd5df82fedbdf4c0a9d3e4ab34013693cd6bd2b9e222261904f55225edbacd00e59beaeb1ad3
+DIST gtk+-3.16.4.tar.xz 18235768 SHA256 1ee5dbd7a4cb81a91eaa1b7ae64ba5a3eab6a3c0a764155583ab96524590fc8e SHA512 02a021e9911054ad03adef943b0faae478903a9e1d10a584009ee84364ecdb541a27533ba11ed980bc2a6f39833490c180514efc2ca3669f7c5dc4a388f3f53d WHIRLPOOL 954c19f5478cac7b72aa3153a5fa7a876b0248d3f0cb0df02dfdc4c96d16975893e03c32988fbb2b46731a1661c4fa54fb1fc9e8a125621287eb739a3c47468b
EBUILD gtk+-1.2.10-r12.ebuild 2406 SHA256 03e22a0e23e19cc0ad87697527ac186aeb6904b7e007bb0c023196f80765b716 SHA512 fb4a7905b5d6390a9d12bd5b0dd8e1b19744a5620279da1ae8c6962c80db44b9707dc6cd4d3a80cb091b5f4cfeacfeee7f5ebe46d1ecd2a3f720d8ccb73d8be4 WHIRLPOOL f3414b479f126236bef1670a51b46a2c37553f1c37edc912ed121f807926fa2dc87bcc8af1fa079cd12eeb8bc3084a4348948565356621c6a1ec267f40da1235
EBUILD gtk+-1.2.10-r13.ebuild 2888 SHA256 002c140606bd79c03b99e70a6687c57285a725a43a5338cfcb1da3e9204dc7ec SHA512 47ac31d06b9d7b4d624528c5cb838a17a45ad0217b7798fcf3408402ec88652c35b3198d2849de79744dc9fea3d23c06c81ec5eb8a75b31a5f03ed4de7228947 WHIRLPOOL 185efbe49863a81012548fc7ced0f79f3caa5b763c1e1e2cbd61045455adeaa5785153ca2f0c30c883259819108c342bedbf02fb5545e0c90cb28fbea3c1fde6
EBUILD gtk+-2.24.25.ebuild 9303 SHA256 06de60abc98acf5ffbf2f5a738330bcfba09816b4c1d0bfb0de2bcd854301af0 SHA512 1568f20620ebac879bed686c16450f6e0fb62864a83705ae06e55bb5e3e1e50ef92d055c57054532dac3f7492c716ea5fc188cd2ab4ae98cffa5095b84ef1984 WHIRLPOOL 975530592ccc3b92bf04403097a2ad623be9f5ffee902a15c79b08847a71f43702b54ccbcf1b33b93cafbbb239449594beb2ed198a57a1d733e53dd2f2eff743
@@ -33,23 +34,14 @@ EBUILD gtk+-3.12.2.ebuild 6597 SHA256 be97832d070fab365a441ef5b124b803417f8ca1fa
EBUILD gtk+-3.14.13.ebuild 7363 SHA256 e5da80e6fa2cb079015036f577bac98695dd0cd52a4426a92ba32ccebe69f4b4 SHA512 39e798eae8b723259710fb630ea3f489f9a73bbb43955603445af286efc1ba618069963362b946da657d8b17f4b692af7222d795fc66f8faf4cbfd44c6a773f6 WHIRLPOOL 17d3221d0abee91f23afd272e53d1f7850c7b99b07ad57c3d7d43b9b484328c46e1a9673315930d0d154b05649b1fcc4004029b291235ad77a61e675d35fa4db
EBUILD gtk+-3.14.9.ebuild 7367 SHA256 06ebcd2dc913a064a77abc6015f1db9b1507bb5fe2e662b70ba1a13760994068 SHA512 0c39f54c71962e12f5a7ecc06404fd1cabf93304f9678aa387a94b548151bbd5a81d95d1b08eec55a075efd3dac06c0c6f580dbba9a80430b26e2ca4cd7aa33a WHIRLPOOL 96ec9aa3f8b319769c65fb3ecc7f53f471752f8a20a20009a84e490f2ea347c324c9d6092101cc3d51456835f0a0e0741ecb7504929a0551dcb3a60927aa1167
EBUILD gtk+-3.16.3.ebuild 7620 SHA256 3d738f537aae422e332b31658b4b2cb6146b890b010538ab355b388f4fa0a736 SHA512 858e52c0ce8b3df489614d1ff784bd8e19bf358d80a07ff03761c4620a33241cbe418976ffbd4cc509b733e16761b58e3cfe52df37457dce401a20892ee0e122 WHIRLPOOL 2ca20555b354730b97c351aa8c13dac3c792068540556a77769359adb2d606303cbcb82fc7336703ab7cdb147a8eadc88ad95e0338e1618a882833626d06b4df
-MISC ChangeLog 24287 SHA256 631372c28f3030e82aafbd87161565b08c2b11743e9b22986793ba1e4acc3b8f SHA512 45dae935d8b7668b0a477a91f14c3a561286d9ab297c089255aa8796277302e99d6526a5948ac61920053d6480f2f09d3160005a624d23fe2a9f9c7a6fb68913 WHIRLPOOL 5af0295d208c7620058b37582a180958ca4a95ce248021ec59c093d6b3fbb045f60e7fbb29736f0725ec53cfb08687dfd0f3ca54b42f9d7d9eb5347e6512ae38
+EBUILD gtk+-3.16.4.ebuild 7620 SHA256 5d00932d2bc988d87c527aa00485d425588991fcfd6a552b8961d7c139df514d SHA512 288aff65c78844c5bf3198acce958fc1a7145f72bc5f30226db230f0ae7082572f1f3ec178452d080f7e72682313373dd559a84e93fbefcd4e328216f76133bf WHIRLPOOL 7a0908f31b6ee73053b1fa7f32d6ddb9d5bda6da00be4144d1ba3875b52968ddf9b77b9a8445c4814bf8f1ea287012af7ec021b8d29b06a6c0cbbb62be66f931
+MISC ChangeLog 24407 SHA256 9fa93d071a6670768a70ba4b5d1881a95db5191d1963f24d152e30b5fb51b8be SHA512 b2bfc8a04b3194c050de954fb43e6447b8fc43a4c2adf6686a3e084485095d80936accc40eff3143c53414fe833b8c323de6b670753e67c3e71992fff9094b9a WHIRLPOOL 2d6dfb3ea761650afb58f33992c5110ea535b339c0b7448729c2a39e07918c6524d39108a4d08dd3746b58d7180396a03c32d2d21b9f6591476ca4a3dd500828
MISC ChangeLog-2012 98793 SHA256 cace01db369f8f0e2902b3893738711adaf7f92ce43ad566b1a38d73b2a90633 SHA512 98499bb7fc111d86c5bc87b5ca415d0d3e73c3a1b3655a14e164e28e45e5f4141a8f0e1c259177141abf9861aecf47e48bddd4b3dfd5b902e5ab01cd9ab24a34 WHIRLPOOL 618327a12a938e54f1e3f86299d51f1721d8be69b12c8ea33fc0061df3020d83dd20025feb658a3ca26a5e05338102e0a37a62ecf8224e3e492bb4e3b571ceec
MISC metadata.xml 763 SHA256 03a0b8d26ef0461bedaf694959d0025f192a70b368b2e19f8fe438f5941011ca SHA512 c3126323546eb09681b3a72cb67dd0d0fbbb792fd8df5eee821705f68ae5ffcc708d2e368bc26c97dd602d051d424af2dfd89f2e384d56c50219b3f6a47dd792 WHIRLPOOL 1ea3a03d5b2946841ce1b4945a3a3dd095ce1f6be91afc9f869d2e8d88534ae1ce197dc5904452f099f9054f0dc69d2bc9c37269438ebdbcaadf25eb04c4a365
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJVjRo5AAoJELp701BxlEWfchAP/iN79ej9w6f9ct+xqFSWYwhW
-+S6pSStFWwTDVDgXrlZC44zPYtfLZZPPbkHnr1RmrDA9NFplIEA+pvu8BcbUEhrr
-JT6JPTZQUvFTX1H19SquQTiWesTL351AOjBVsXxdaFJfGMQJcCcuuwcrnmmIjVB8
-KjkJK0VLXaGet5VCTroKQ1XHgsyQqmnj/r+6G36Oh4rbCNgptDrjxJxrLIh3DhyK
-EMJS/Tse5z0SUFmTKkJfDNKTYpFalXNZPLqCjAE8FGSelcxlvFWuVmmlPFxgIMPP
-tzs5UdBcsM6U7njpKKvI3zAraK4eV/ou10t+s4LaBvapoXZNiynt41Hw7cCm68Qs
-hIz/WHR0eT5jRl9hirEg5lTzs+3RMggcWiMkwd0XyfW75+kSMYxxEiSRDLFJgIyS
-I7zb9Hk7ArIPsuEtRWPBtiBs1b3RFVOd4NXRzHOaWOJpAuCVsBZ1iUL8kyr+hXVY
-uH6QE1lMMFX0IZgbScZOblavVllAyjz13XYzGufZUy8S0Gi7StdjP9BeIvnw64Op
-WALw3Pow9d5EHYIitUzJ9PiYzBWM9dqBLKTbITy4ssl1+e8p2u8JietbvCW3LWwM
-w6xERFyJQjAoqkjm9KqaDyzWTX0nxzwrfobwHy5l/3kfgvYvaa/FVN+u+rIDquO6
-2LlZSW7UuWAql5Xgo9th
-=T525
+iEYEAREIAAYFAlWZA8YACgkQ1fmVwcYIWAYVWgCfYz1XRRvP6rUuwyE9e+UceOEB
+5Q4An19mj19QWt3SPrLe+7HoNQBNfbcr
+=gBR0
-----END PGP SIGNATURE-----
diff --git a/x11-libs/gtk+/gtk+-3.16.4.ebuild b/x11-libs/gtk+/gtk+-3.16.4.ebuild
new file mode 100644
index 000000000000..06286a290ac3
--- /dev/null
+++ b/x11-libs/gtk+/gtk+-3.16.4.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.16.4.ebuild,v 1.1 2015/07/05 10:15:33 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools eutils flag-o-matic gnome2 multilib virtualx multilib-minimal
+
+DESCRIPTION="Gimp ToolKit +"
+HOMEPAGE="http://www.gtk.org/"
+
+LICENSE="LGPL-2+"
+SLOT="3"
+IUSE="aqua broadway cloudprint colord cups examples +introspection test vim-syntax wayland X xinerama"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ xinerama? ( X )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+# FIXME: introspection data is built against system installation of gtk+:3
+# NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf)
+COMMON_DEPEND="
+ >=dev-libs/atk-2.15[introspection?,${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.43.4:2[${MULTILIB_USEDEP}]
+ media-libs/fontconfig[${MULTILIB_USEDEP}]
+ >=media-libs/libepoxy-1.0[${MULTILIB_USEDEP}]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?,${MULTILIB_USEDEP}]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?,X?,${MULTILIB_USEDEP}]
+ >=x11-libs/pango-1.36.7[introspection?,${MULTILIB_USEDEP}]
+ x11-misc/shared-mime-info
+
+ cloudprint? (
+ >=net-libs/rest-0.7[${MULTILIB_USEDEP}]
+ >=dev-libs/json-glib-1.0[${MULTILIB_USEDEP}] )
+ colord? ( >=x11-misc/colord-0.1.9:0=[${MULTILIB_USEDEP}] )
+ cups? ( >=net-print/cups-1.2[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.39 )
+ wayland? (
+ >=dev-libs/wayland-1.5.91[${MULTILIB_USEDEP}]
+ media-libs/mesa[wayland,${MULTILIB_USEDEP}]
+ >=x11-libs/libxkbcommon-0.2[${MULTILIB_USEDEP}]
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3[${MULTILIB_USEDEP}]
+ x11-libs/libXrender[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ >=x11-libs/libXi-1.3[${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}]
+ xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xsl-stylesheets
+ app-text/docbook-xml-dtd:4.1.2
+ dev-libs/libxslt
+ dev-libs/gobject-introspection-common
+ >=dev-util/gdbus-codegen-2.38.2
+ >=dev-util/gtk-doc-am-1.20
+ >=sys-devel/gettext-0.18.3[${MULTILIB_USEDEP}]
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ X? (
+ x11-proto/xextproto[${MULTILIB_USEDEP}]
+ x11-proto/xproto[${MULTILIB_USEDEP}]
+ x11-proto/inputproto[${MULTILIB_USEDEP}]
+ x11-proto/damageproto[${MULTILIB_USEDEP}]
+ xinerama? ( x11-proto/xineramaproto[${MULTILIB_USEDEP}] )
+ )
+ test? (
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc )
+ examples? ( media-libs/libcanberra[gtk3] )
+"
+# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
+# gtk+-3.3.18 breaks scrolling in <=x11-libs/vte-0.31.0:2.90
+# >=xorg-server-1.11.4 needed for
+# http://mail.gnome.org/archives/desktop-devel-list/2012-March/msg00024.html
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+ !<gnome-base/gail-1000
+ !<x11-libs/vte-0.31.0:2.90
+ >=x11-themes/adwaita-icon-theme-3.14
+ X? ( !<x11-base/xorg-server-1.11.4 )
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-gtklibs-20140508-r3
+ !app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
+ )
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg[${MULTILIB_USEDEP}]
+ vim-syntax? ( app-vim/gtk-syntax )
+"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/gtk-query-immodules-3.0
+)
+
+strip_builddir() {
+ local rule=$1
+ shift
+ local directory=$1
+ shift
+ sed -e "s/^\(${rule} =.*\)${directory}\(.*\)$/\1\2/" -i $@ \
+ || die "Could not strip director ${directory} from build."
+}
+
+src_prepare() {
+ # -O3 and company cause random crashes in applications. Bug #133469
+ replace-flags -O3 -O2
+ strip-flags
+
+ if ! use test ; then
+ # don't waste time building tests
+ strip_builddir SRC_SUBDIRS testsuite Makefile.{am,in}
+
+ # the tests dir needs to be build now because since commit
+ # 7ff3c6df80185e165e3bf6aa31bd014d1f8bf224 tests/gtkgears.o needs to be there
+ # strip_builddir SRC_SUBDIRS tests Makefile.{am,in}
+ fi
+
+ if ! use examples; then
+ # don't waste time building demos
+ strip_builddir SRC_SUBDIRS demos Makefile.{am,in}
+ strip_builddir SRC_SUBDIRS examples Makefile.{am,in}
+ fi
+
+ # gtk-update-icon-cache is installed by dev-util/gtk-update-icon-cache
+ epatch "${FILESDIR}"/${PN}-3.16.2-remove_update-icon-cache.patch
+
+ epatch_user
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+multilib_src_configure() {
+ # need libdir here to avoid a double slash in a path that libtool doesn't
+ # grok so well during install (// between $EPREFIX and usr ...)
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure \
+ $(use_enable aqua quartz-backend) \
+ $(use_enable broadway broadway-backend) \
+ $(use_enable cloudprint) \
+ $(use_enable colord) \
+ $(use_enable cups cups auto) \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable wayland wayland-backend) \
+ $(use_enable X x11-backend) \
+ $(use_enable X xcomposite) \
+ $(use_enable X xdamage) \
+ $(use_enable X xfixes) \
+ $(use_enable X xkb) \
+ $(use_enable X xrandr) \
+ $(use_enable xinerama) \
+ --disable-papi \
+ --disable-mir-backend \
+ --enable-man \
+ --with-xml-catalog="${EPREFIX}"/etc/xml/catalog \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ CUPS_CONFIG="${EPREFIX}/usr/bin/${CHOST}-cups-config"
+
+ # work-around gtk-doc out-of-source brokedness
+ if multilib_is_native_abi; then
+ local d
+ for d in gdk gtk libgail-util; do
+ ln -s "${S}"/docs/reference/${d}/html docs/reference/${d}/html || die
+ done
+ fi
+}
+
+multilib_src_test() {
+ # FIXME: this should be handled at eclass level
+ "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ unset DBUS_SESSION_BUS_ADDRESS
+ unset DISPLAY #527682
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" Xemake check
+}
+
+multilib_src_install() {
+ gnome2_src_install
+
+ # add -framework Carbon to the .pc files, bug #???
+ if use aqua ; then
+ for i in gtk+-3.0.pc gtk+-quartz-3.0.pc gtk+-unix-print-3.0.pc; do
+ sed -e "s:Libs\: :Libs\: -framework Carbon :" \
+ -i "${ED%/}"/usr/$(get_libdir)/pkgconfig/$i || die "sed failed"
+ done
+ fi
+}
+
+multilib_src_install_all() {
+ insinto /etc/gtk-3.0
+ doins "${FILESDIR}"/settings.ini
+
+ dodoc AUTHORS ChangeLog* HACKING NEWS* README*
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+
+ multilib_pkg_preinst() {
+ # Make immodules.cache belongs to gtk+ alone
+ local cache="usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache"
+
+ if [[ -e ${EROOT}${cache} ]]; then
+ cp "${EROOT}"${cache} "${ED}"/${cache} || die
+ else
+ touch "${ED}"/${cache} || die
+ fi
+ }
+ multilib_parallel_foreach_abi multilib_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ multilib_pkg_postinst() {
+ gnome2_query_immodules_gtk3 \
+ || die "Update immodules cache failed (for ${ABI})"
+ }
+ multilib_parallel_foreach_abi multilib_pkg_postinst
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+
+ if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
+ multilib_pkg_postrm() {
+ rm -f "${EROOT}"usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache
+ }
+ multilib_foreach_abi multilib_pkg_postrm
+ fi
+}