commit:     5df52408930eb87bbe8787d6ec7b9c27d3340a8d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 02:10:42 2016 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 02:10:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df52408

x11-libs/gtk+: Remove old

Package-Manager: portage-2.3.3

 x11-libs/gtk+/Manifest           |   2 -
 x11-libs/gtk+/gtk+-3.22.2.ebuild | 234 ---------------------------------------
 x11-libs/gtk+/gtk+-3.22.3.ebuild | 234 ---------------------------------------
 3 files changed, 470 deletions(-)

diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest
index d419f2b..0669b86 100644
--- a/x11-libs/gtk+/Manifest
+++ b/x11-libs/gtk+/Manifest
@@ -6,6 +6,4 @@ DIST gtk+-2.24.31.tar.xz 12805344 SHA256 
68c1922732c7efc08df4656a5366dcc3afdc879
 DIST gtk+-3.16.7.tar.xz 18294656 SHA256 
19689d14de54d182fad538153dbff6d41f53841f940aa871585fdea0306c7fba SHA512 
8f74b3a4093ecf776466d3988806fdae081d10d5e74c66770b52f624076afe92d58efb68ace47fd0dbc5a170a577fc9a8d1b4768794aa4249433c95198db00c8
 WHIRLPOOL 
f8b4d9fa6b7b3ed9702f76d28d729b745217e072898239517d320f0635e87691ca874a136607566cf53d73aead53833c5ecf484fc7aea74f3c26a1f14cc5a9b4
 DIST gtk+-3.18.9.tar.xz 16800896 SHA256 
783d7f8b00f9b4224cc94d7da885a67598e711c2d6d79c9c873c6b203e83acbd SHA512 
348ff28fe2674ac50653cdd6909f028dee823bbaac786b21163f1896cac7b2ea1dbdc4ab54453402ac5b715317e42d6fe677fd0247364397a13bcb8757ab720c
 WHIRLPOOL 
f9e03ab29c15a130894524a0b270448990e756285e4af8e88de82c19cbece325e2532a06e091bff1e699374fc20c6b692ce7387576697378624989f55c0fa635
 DIST gtk+-3.20.9.tar.xz 17174872 SHA256 
83a609ba2f3424b5509e73967c49c67833af466d6f91081b24ee5c64fce6ac17 SHA512 
5848403959f76633511009231c80a814cfe24a7ba07c9429704f432191e51b54d3e6621ce5b578f79999f21993920af3a45c8d03dad6ba03af5f9a342b32626e
 WHIRLPOOL 
7964b82dabf72b5d45a34565874ba02e0dda09b0f358f640ca0c602c3c7aa4618432829d047794f5f202424c34c837bbdc31ccb3c5457768e252f048afd30107
-DIST gtk+-3.22.2.tar.xz 18257964 SHA256 
2343dcaed2fc237ef718136ff4110fef7eb1ebfe178a9b064aa21cd74ecb6946 SHA512 
edf8c3fa858d87605df1d244d5103a2d4cabbbe3aa4213220342ad84fd595df94fa5526db5b51a3d89bba1e3548d47d9c15dbb68a8ae3bcd99ebfa333797a2ee
 WHIRLPOOL 
4d8f33425f4f5658444e8da4520c57a88df626fb59084dd79f85258f7219d93b28498c12fd8ffadab21428da3d0b6da0542e6e8e4f32fc6d71298ff256a5848e
-DIST gtk+-3.22.3.tar.xz 18236932 SHA256 
e190ab1a9a893861b8e8be341aa57bce8b7146d6445ebfe5a8ab64236fe82ed3 SHA512 
c9b75f5094c05d9ce329f0cfeed4493209920d9c79e3b8cfadeae21b3079e7e6facadd82d2d36037e567669eb58af0319bb84df78a8d910eac318512200800ac
 WHIRLPOOL 
6b9276e01df8f0bbcde8c89667fa1b416cf88797698782d81b74a41119d19341eac481278c74a00027b991d0b06991264679e30a6c745003377b9829e311ad92
 DIST gtk+-3.22.4.tar.xz 18243596 SHA256 
7094a6fcfe133d01c578358bd5d3e499715f1a0206e87bd5cf6c834e301f387f SHA512 
d929dd3528a8ac29946a81e3140e69918c07c6d7eca35a69232307e1a63a263ebc787d5ff1077bc7d27da8ad45e151ac191adf57e09987d15d28b483428192e7
 WHIRLPOOL 
d222e4c30fbafb03dcc30450cdc52f0f8b8bc830e4ae0abd07cbf0a8f2cfc5df6fd8de247f0337f467c41d85bf37889de66cfcfee050812f8f25ee6f85e56812

diff --git a/x11-libs/gtk+/gtk+-3.22.2.ebuild b/x11-libs/gtk+/gtk+-3.22.2.ebuild
deleted file mode 100644
index 33ba261..00000000
--- a/x11-libs/gtk+/gtk+-3.22.2.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-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 ~arm64 ~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"
-
-# Upstream wants us to do their job:
-# https://bugzilla.gnome.org/show_bug.cgi?id=768662#c1
-RESTRICT="test"
-
-# FIXME: introspection data is built against system installation of gtk+:3,
-# bug #????
-# 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.49.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.37.3[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.9.91[${MULTILIB_USEDEP}]
-               >=dev-libs/wayland-protocols-1.7
-               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.5[${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.48
-       >=dev-util/gtk-doc-am-1.20
-       >=sys-devel/gettext-0.19.7[${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 )
-"
-# 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
-#  https://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 )
-"
-# 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$(get_exeext)
-)
-
-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
-       eapply "${FILESDIR}"/${PN}-3.22.2-update-icon-cache.patch
-
-       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() {
-       "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-       GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx emake check
-}
-
-multilib_src_install() {
-       gnome2_src_install
-}
-
-multilib_src_install_all() {
-       insinto /etc/gtk-3.0
-       doins "${FILESDIR}"/settings.ini
-       einstalldocs
-}
-
-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_VERSION} ]]; 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
-}

diff --git a/x11-libs/gtk+/gtk+-3.22.3.ebuild b/x11-libs/gtk+/gtk+-3.22.3.ebuild
deleted file mode 100644
index 33ba261..00000000
--- a/x11-libs/gtk+/gtk+-3.22.3.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-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 ~arm64 ~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"
-
-# Upstream wants us to do their job:
-# https://bugzilla.gnome.org/show_bug.cgi?id=768662#c1
-RESTRICT="test"
-
-# FIXME: introspection data is built against system installation of gtk+:3,
-# bug #????
-# 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.49.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.37.3[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.9.91[${MULTILIB_USEDEP}]
-               >=dev-libs/wayland-protocols-1.7
-               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.5[${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.48
-       >=dev-util/gtk-doc-am-1.20
-       >=sys-devel/gettext-0.19.7[${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 )
-"
-# 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
-#  https://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 )
-"
-# 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$(get_exeext)
-)
-
-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
-       eapply "${FILESDIR}"/${PN}-3.22.2-update-icon-cache.patch
-
-       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() {
-       "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-       GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx emake check
-}
-
-multilib_src_install() {
-       gnome2_src_install
-}
-
-multilib_src_install_all() {
-       insinto /etc/gtk-3.0
-       doins "${FILESDIR}"/settings.ini
-       einstalldocs
-}
-
-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_VERSION} ]]; 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
-}

Reply via email to