summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-11-13 12:30:41 +0000
committerPacho Ramos <pacho@gentoo.org>2014-11-13 12:30:41 +0000
commit81c046027aa19a3061a4c3a9f69dff411792bfc6 (patch)
tree69d9d5439e173074c0f879acea75f60a7660d472 /net-libs
parentDrop old (#508854) (diff)
downloadhistorical-81c046027aa19a3061a4c3a9f69dff411792bfc6.tar.gz
historical-81c046027aa19a3061a4c3a9f69dff411792bfc6.tar.bz2
historical-81c046027aa19a3061a4c3a9f69dff411792bfc6.zip
Drop old (#508854)
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/gtk-vnc/ChangeLog6
-rw-r--r--net-libs/gtk-vnc/Manifest26
-rw-r--r--net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pod.patch124
-rw-r--r--net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pulseaudio-automagic.patch55
-rw-r--r--net-libs/gtk-vnc/gtk-vnc-0.5.2.ebuild190
5 files changed, 10 insertions, 391 deletions
diff --git a/net-libs/gtk-vnc/ChangeLog b/net-libs/gtk-vnc/ChangeLog
index c2d5927daafa..e0c1991ba2f8 100644
--- a/net-libs/gtk-vnc/ChangeLog
+++ b/net-libs/gtk-vnc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/gtk-vnc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/ChangeLog,v 1.122 2014/03/01 22:19:38 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/ChangeLog,v 1.123 2014/11/13 12:30:40 pacho Exp $
+
+ 13 Nov 2014; Pacho Ramos <pacho@gentoo.org> -files/gtk-vnc-0.5.0-pod.patch,
+ -files/gtk-vnc-0.5.0-pulseaudio-automagic.patch, -gtk-vnc-0.5.2.ebuild:
+ Drop old (#508854)
01 Mar 2014; Michał Górny <mgorny@gentoo.org> gtk-vnc-0.5.2.ebuild,
gtk-vnc-0.5.3.ebuild:
diff --git a/net-libs/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest
index 55533a726b0e..f0b699e6bcab 100644
--- a/net-libs/gtk-vnc/Manifest
+++ b/net-libs/gtk-vnc/Manifest
@@ -1,30 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX gtk-vnc-0.5.0-pod.patch 3441 SHA256 921b8347907bee39caff14c80c3b576618fe7ac2a7d679500769f797cab8fb66 SHA512 22a01832e04d3a6e5887e533d1477fa62593cfea2066d8a61e0856000897a6e481cbf4a692d2cf33f66a853583b07cb5d99465050c545605bbbaf4ab181b9404 WHIRLPOOL b44becccb00fd190c208596807b6b665acf5904e5c6bb461d99d0b4da8b1b3ec91bd9d8764faa286b9aa94f39073dda2b3399e6f7b39bb8e3a87b4626dd46c4c
-AUX gtk-vnc-0.5.0-pulseaudio-automagic.patch 2001 SHA256 5ea9f09c341b656efaf54e5c9114f6ce04ac056212615b01ba68911d0085f2aa SHA512 f91e5a5fe8223540eb964647d4ae409e243ff9f381fbae40eb6fb37e3a6634b7823025ce6a89329f4857f6d1b2a023189a66d6ab50581522498ec01cae00d80d WHIRLPOOL 13818a8d0230ae65035debb0a9ceaa7c3d3e0cb548d926696ed57682e75fed4299a4c821373bc7aebcce6401fee26a0d7385381d4b222172732e9e9916388f41
-DIST gtk-vnc-0.5.2.tar.xz 388112 SHA256 b51bda7edebb82ab142c292bd1b1493406bc8225a5c834d854bbafef9e9a471f SHA512 e58a0bbb4c5d1802d51936d5869ccad55cd405f6939f49445e224863866a33173e47e055d88f50e60b3f864a7e393faf0c78a219a08ee8a8c1fc8fe108f9824a WHIRLPOOL 339260787cb7970fde2a660186e46977d0a5f6e2966e859ebfb632cf29310c1957e0e3c9b0ac06a3d420caa4a20900ad168658c49ae0da0115cd40b8ece6990c
DIST gtk-vnc-0.5.3.tar.xz 408336 SHA256 d490a6c8f40e550d43aef0043ce3bec498ec220d5eb3dc5cdcff8fd561149caf SHA512 a5d81fcb8ee04f033a3aec2eed334e4237c8f4d7334e4875a149b5b385b0f0f0948d2d5227fbbfdccec8d192ba8bbc5f93dd83bb0d6604da25675662a9858cf2 WHIRLPOOL c2b6dc272843e0fce795fb4e082330f252a6f8413806e77b4ace78d63fead48634e647df96e2d6436b3c7a16013f6c2d18d377c762607ed2fd4dbd21e3f62fe3
-EBUILD gtk-vnc-0.5.2.ebuild 4904 SHA256 daf3defe794d8e380c9fb24ae138e4fae2610b6c4db2429fb05c6256dde4b351 SHA512 e67f2f3792380b9435eb2e14a6d3d3e0fabaf477932c1885a9d8ad7d01f2b38f2a2468c0f4a4b1335addc607171f2f5fdcde8f3e23833d3a10248841df98cbec WHIRLPOOL 1903669bfbe3b2d7654e9422121e20afc559b015165c1ea0fcd1827144fc8c78c5ec086cbf659a34fbcf2bb8e56f55e8bdb8ae0d665582a3fd1b5cee32231ec9
EBUILD gtk-vnc-0.5.3.ebuild 4930 SHA256 cced8dc397f1730673c5f95672598f4051f7d2b9f00a778279e5b66702d7c13c SHA512 42f648ad94d82edbbe0f8fba0098c0b2d1afd662b21f47036c22027230041ae1bc4552b9b2027dcb286cce485d08eb2bc90b92c400fea34a3404b83ca2c0414c WHIRLPOOL 5171f4136f88b445c2749cc09d9b7ebce2ed5813779691f2dc64b9a46793c90b5872ff6f6aec06bf7fd15f20528e77b75a027c848fe0e3d95dd25cd043cf6086
-MISC ChangeLog 17542 SHA256 2df15446ae678844d4a7e71f183ff8d144d400173c28fcb26bade34d9763f2ab SHA512 5dee10a4953f24b387a65e04ef653414b6cd7be804a6a1a61e037e4daac862931f996c443fa19c11b95513fe6d375c6cc41cb3be01c00f1e1aae95976e248e1f WHIRLPOOL b8966d039e37188ae74176e2591bfbc5ffb61338c25a3c817c410ce3711697b78402521e51e08783adde3ed2d7176fc17de62326c1a9bcbf9e40de26d33a190b
+MISC ChangeLog 17715 SHA256 6b8682f4d63a44251898b6b91effdb1374928b1aae67439e9a5370f252a39270 SHA512 28d611ab70ad0b05590bed937007524b49b0f68bd1d5d3b74f02947d2b3558fab2a23a1967f32297bb29c23a3faeb3d3aca5ae75d06db57a6984e56dfb05c401 WHIRLPOOL 8a7d397b87d5df989cbbcc18c1fcac2833403d7048c5fb70b375beeeb77294e9e6d15aff71d0e3dea618a1c5d2c77630185c9710fda58fe5836d6edde0f5a675
MISC metadata.xml 467 SHA256 e1b062faa95b1ecbd585784cf7e769d03ae58a222ec4d414abbfb7c5c0372099 SHA512 1e2a54fc822a29b1c08abcf748bb1041f109b3f3ad8ba4f702a024d23c3668455eb0e306be895fff2f00f6acee9f7ce48feff087acde004165e897a096ff34ec WHIRLPOOL 7a6e689d5fd832028593c0fd71c8a124d44b9f5722bfbcf4b1ab956bbff3018569c014c41579e14ad63ff22bc996c5e9fe1fa1a34cb09100d6275bf3dd5ef428
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iQJ8BAEBCABmBQJTElz+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
-MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOQ3gQANVn9KhpqTeBxOZwumjr2TKG
-J5C3Qcj3FZ9E8ySvKC+Bg2y5jpvluwKKYxsERUq5hFpDci71HAl8RtHV0g6qWlqa
-iq9uocSHu7aOiYTOHa+m9nAsmy6TtVRIreKGaKgVKlSxpORZelIypG78ajDMr9uf
-cL9FzTn+rvdPGxnivNGPrCEw3RtZzhTihraDZ+VjIXzNJXXhIOZkdFCRBWepI1uA
-XuKU48z6uaLx6adGxBmpHF8fQ91MBwPtTnjJ6hupIv8PU7TxvWHRr/CbDvjpvKmf
-a/pTKqk+DzAE424eMLmbSMU2o305eQ9OBehL+AkgR31m9vQALWUeuqLcyaSsOcKY
-UFzXb7WKHBQrm2BFjkUt9p3Q7gZb6n2NXUOvfmjZm3iC4TqoF3r2l+80OKqxxwxI
-gv6W69CHU0w5PI4rJlH6+jzMjliRYUgfTS2G2RBJ+OOKnVxv+oZbQRDLKdrSrnMt
-lsS+3M8ckYpDxFByqwbIL8kLEAQLoKd+SOSYvE7EbIW3icVynG3+lru4Mezy8MqA
-9SyA+Wea9Ygn3sd5gk0U/z9+OGUIJmQ5Z2doztylxUhJ8W5LAJ0A1a4eypAWcRXD
-4YW2aceQ6xhAQzzlSh5bFRkfJeqchmel+daHFxScq6Uma/Lpq2IdeHobuGe6kKhf
-CrUsGDTSez0w4RIj/H4Y
-=8up6
+iEYEAREIAAYFAlRkpHEACgkQCaWpQKGI+9TqgACcDVPAoEYZ9a1ruV/TE9szNZjU
+aDoAn31Zmw9nsRwS2+WqcaaYWm4gBTnL
+=YFMR
-----END PGP SIGNATURE-----
diff --git a/net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pod.patch b/net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pod.patch
deleted file mode 100644
index ff74522ba07f..000000000000
--- a/net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pod.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-From 06d234dcf80ee5aafc9ae4f6fae71409aac2e33c Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Sat, 14 Jan 2012 23:33:24 -0500
-Subject: [PATCH] tools/gvnccapture: unbreak pod syntax
-
-For pod, the presence or absence of leading whitespace is significant.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=667943
----
- tools/gvnccapture.c | 72 +++++++++++++++++++++++++-------------------------
- 1 files changed, 36 insertions(+), 36 deletions(-)
-
-diff --git a/tools/gvnccapture.c b/tools/gvnccapture.c
-index a44f012..c3fbd46 100644
---- a/tools/gvnccapture.c
-+++ b/tools/gvnccapture.c
-@@ -19,68 +19,68 @@
- */
-
- /*
-- =head1 NAME
-+=head1 NAME
-
-- gvnccapture - VNC screenshot capture
-+gvnccapture - VNC screenshot capture
-
-- =head1 SYNOPSIS
-+=head1 SYNOPSIS
-
-- gvnccapture [OPTION]... [HOST][:DISPLAY] FILENAME
-+gvnccapture [OPTION]... [HOST][:DISPLAY] FILENAME
-
-- =head1 DESCRIPTION
-+=head1 DESCRIPTION
-
-- Capture a screenshot of the VNC desktop at HOST:DISPLAY saving to the
-- image file FILENAME. If HOST is omitted it defaults to "localhost",
-- if :DISPLAY is omitted, it defaults to ":1". FILENAME must end in a
-- known image format extension (eg ".png", ".jpeg"). Supported options
-- are
-+Capture a screenshot of the VNC desktop at HOST:DISPLAY saving to the
-+image file FILENAME. If HOST is omitted it defaults to "localhost",
-+if :DISPLAY is omitted, it defaults to ":1". FILENAME must end in a
-+known image format extension (eg ".png", ".jpeg"). Supported options
-+are
-
-- =over 4
-+=over 4
-
-- =item --help, -?
-+=item --help, -?
-
-- Display command line help information
-+Display command line help information
-
-- =item --quiet, -q
-+=item --quiet, -q
-
-- Do not display information on the console when capturing the screenshot,
-- with the exception of any password prompt.
-+Do not display information on the console when capturing the screenshot,
-+with the exception of any password prompt.
-
-- =item --debug, -d
-+=item --debug, -d
-
-- Display verbose debugging information on the console
-+Display verbose debugging information on the console
-
-- =back
-+=back
-
-- =head1 EXIT STATUS
-+=head1 EXIT STATUS
-
-- The exit status is 0 upon successful screen capture, otherwise
-- it is a non-zero integer
-+The exit status is 0 upon successful screen capture, otherwise
-+it is a non-zero integer
-
-- =head1 EXAMPLES
-+=head1 EXAMPLES
-
-- # gvnccapture localhost:1 desktop.png
-- Password:
-- Connected to localhost:1
-- Saved display to desktop.png
-+ # gvnccapture localhost:1 desktop.png
-+ Password:
-+ Connected to localhost:1
-+ Saved display to desktop.png
-
-- =head1 AUTHORS
-+=head1 AUTHORS
-
-- Daniel P. Berrange <dan@berrange.com>
-+Daniel P. Berrange <dan@berrange.com>
-
-- =head1 COPYRIGHT
-+=head1 COPYRIGHT
-
-- Copyright (C) 2010 Daniel P. Berrange <dan@berrange.com>.
-+Copyright (C) 2010 Daniel P. Berrange <dan@berrange.com>.
-
-- License LGPLv2+: GNU Lesser GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
-+License LGPLv2+: GNU Lesser GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
-
-- This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
-+This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
-
-- =head1 SEE ALSO
-+=head1 SEE ALSO
-
-- vinagre(1)
-+vinagre(1)
-
-- =cut
-+=cut
- */
-
- #include <config.h>
---
-1.7.8.3
-
diff --git a/net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pulseaudio-automagic.patch b/net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pulseaudio-automagic.patch
deleted file mode 100644
index 215096ece33a..000000000000
--- a/net-libs/gtk-vnc/files/gtk-vnc-0.5.0-pulseaudio-automagic.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 2262cd59322d8351be5fcb67bf4229cca35c8764 Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Fri, 6 Apr 2012 03:33:41 -0400
-Subject: [PATCH] configure: make pulseaudio detection non-automagic
-
-This is to allow building gtk-vnc on a system with pulseaudio and then
-deploying on a system without pulseaudio.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=673570
----
- configure.ac | 21 +++++++++++++++++----
- 1 files changed, 17 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8eebe41..df213d5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -216,11 +216,23 @@ AC_SUBST(VIEW_CFLAGS)
- AC_SUBST(VIEW_LIBS)
-
-
--PKG_CHECK_MODULES(PULSEAUDIO, libpulse-simple, WANT_PULSEAUDIO="yes", AC_MSG_NOTICE([Not building against libpulse]))
--if test "x$WANT_PULSEAUDIO" = xyes; then
-- AC_DEFINE_UNQUOTED([HAVE_PULSEAUDIO], 1,[Define if we have and want pulseaudio.])
-+AC_ARG_WITH(pulseaudio,
-+ [AS_HELP_STRING([--with-pulseaudio],
-+ [use PulseAudio for audio playback @<:@default=check@:>@])],
-+ [],
-+ [with_pulseaudio=check])
-+
-+HAVE_PULSEAUDIO=no
-+if test "x$with_pulseaudio" != "xno"; then
-+ PULSEAUDIO_MODULES=libpulse-simple
-+ if test "x$with_pulseaudio" == "xyes"; then
-+ PKG_CHECK_MODULES(PULSEAUDIO, $PULSEAUDIO_MODULES, [HAVE_PULSEAUDIO=yes])
-+ else
-+ PKG_CHECK_MODULES(PULSEAUDIO, $PULSEAUDIO_MODULES, [HAVE_PULSEAUDIO=yes],
-+ [AC_MSG_NOTICE([libpulse-simple not found, disabling PulseAudio support])])
-+ fi
- fi
--AM_CONDITIONAL([HAVE_PULSEAUDIO], [test "x$WANT_PULSEAUDIO" = "xyes"])
-+AM_CONDITIONAL([HAVE_PULSEAUDIO], [test "x$HAVE_PULSEAUDIO" = "xyes"])
- AC_SUBST(PULSEAUDIO_CFLAGS)
- AC_SUBST(PULSEAUDIO_LIBS)
-
-@@ -477,5 +489,6 @@ Configure summary:
- Install example programs ...: ${WITH_EXAMPLES}
- Browser plugin .............: ${enable_plugin}
- SASL support................: ${enable_sasl}
-+ PulseAudio support..........: ${HAVE_PULSEAUDIO}
- GTK+ version................: ${GTK_API_VERSION}
- "
---
-1.7.8.5
-
diff --git a/net-libs/gtk-vnc/gtk-vnc-0.5.2.ebuild b/net-libs/gtk-vnc/gtk-vnc-0.5.2.ebuild
deleted file mode 100644
index 390276804258..000000000000
--- a/net-libs/gtk-vnc/gtk-vnc-0.5.2.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/gtk-vnc-0.5.2.ebuild,v 1.13 2014/03/01 22:19:38 mgorny Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_{6,7} )
-VALA_MIN_API_VERSION="0.16"
-VALA_USE_DEPEND="vapigen"
-
-inherit eutils gnome.org python-r1 vala
-
-DESCRIPTION="VNC viewer widget for GTK"
-HOMEPAGE="https://live.gnome.org/gtk-vnc"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="examples +gtk3 +introspection pulseaudio python sasl vala"
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- vala? ( gtk3 introspection )
-"
-
-# libview is used in examples/gvncviewer -- no need
-# glib-2.30.1 needed to avoid linking failure due to .la files (bug #399129)
-COMMON_DEPEND="
- >=dev-libs/glib-2.30.1:2
- >=dev-libs/libgcrypt-1.4.2:0
- dev-libs/libgpg-error
- >=net-libs/gnutls-1.4
- >=x11-libs/cairo-1.2
- >=x11-libs/gtk+-2.18:2
- x11-libs/libX11
- gtk3? ( >=x11-libs/gtk+-2.91.3:3 )
- introspection? ( >=dev-libs/gobject-introspection-0.9.4 )
- pulseaudio? ( media-sound/pulseaudio )
- python? (
- ${PYTHON_DEPS}
- >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] )
- sasl? ( dev-libs/cyrus-sasl )
-"
-RDEPEND="${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}
- >=dev-lang/perl-5
- >=dev-util/intltool-0.40
- sys-devel/gettext
- virtual/pkgconfig
- vala? (
- $(vala_depend)
- >=dev-libs/gobject-introspection-0.9.4 )
-"
-# eautoreconf requires gnome-common
-
-GTK2_BUILDDIR="${WORKDIR}/${P}_gtk2"
-GTK3_BUILDDIR="${WORKDIR}/${P}_gtk3"
-
-src_prepare() {
- mkdir -p "${GTK2_BUILDDIR}" || die
- mkdir -p "${GTK3_BUILDDIR}" || die
- prepare_python() {
- mkdir -p "${BUILD_DIR}" || die
- }
- if use python; then
- python_foreach_impl prepare_python
- fi
-
- # Remove a few files that were autogenerated during distcheck.
- # Having these around in srcdir breaks out of tree build since they're
- # expected to be in builddir, which is correct for trunk builds since
- # they're generated files, not source files. Funny false dichotomy.
- rm -vf "${S}"/src/{vncconnectionenums.[ch],vncdisplayenums.[ch]}
-
- # Fix incorrect codegendir check: h2def.py is in pygobject, not pygtk, upstream bug#????
- sed -e 's/codegendir pygtk-2.0/codegendir pygobject-2.0/g' \
- -i src/Makefile.* || die
-
- # libtool seems unable to find this via VPATH so help it
- sed -r "s:(gtkvnc_la_LIBADD =) libgtk-vnc-.*\.la:\1 ${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la:" \
- -i src/Makefile.{am,in} || die
-
- vala_src_prepare
-}
-
-src_configure() {
- local myconf
- myconf="
- $(use_with examples) \
- $(use_enable introspection) \
- $(use_with pulseaudio) \
- $(use_with sasl) \
- --with-coroutine=gthread \
- --without-libview \
- --disable-static \
- --disable-vala"
-
- cd "${GTK2_BUILDDIR}" || die
- einfo "Running configure in ${GTK2_BUILDDIR}"
- ECONF_SOURCE="${S}" econf ${myconf} \
- --with-python=no \
- --with-gtk=2.0
-
- configure_python() {
- ECONF_SOURCE="${S}" econf ${myconf} \
- $(use_with python) \
- --with-gtk=2.0
- }
- if use python; then
- python_foreach_impl run_in_build_dir configure_python
- fi
-
- if use gtk3; then
- cd "${GTK3_BUILDDIR}" || die
- einfo "Running configure in ${GTK3_BUILDDIR}"
- # Python support is via gobject-introspection
- # Ex: from gi.repository import GtkVnc
- ECONF_SOURCE="${S}" econf ${myconf} \
- $(use_enable vala) \
- --with-python=no \
- --with-gtk=3.0
- fi
-}
-
-src_compile() {
- cd "${GTK2_BUILDDIR}" || die
- einfo "Running make in ${GTK2_BUILDDIR}"
- emake
-
- compile_python() {
- cd "${BUILD_DIR}"/src || die
- # CPPFLAGS set to help find includes for gvnc.override
- emake gtkvnc.la \
- VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \
- CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src"
- }
- if use python; then
- python_foreach_impl run_in_build_dir compile_python
- fi
-
- if use gtk3; then
- cd "${GTK3_BUILDDIR}" || die
- einfo "Running make in ${GTK3_BUILDDIR}"
- emake
- fi
-}
-
-src_test() {
- cd "${GTK2_BUILDDIR}" || die
- einfo "Running make check in ${GTK2_BUILDDIR}"
- default
-
- if use gtk3; then
- cd "${GTK3_BUILDDIR}" || die
- einfo "Running make check in ${GTK3_BUILDDIR}"
- default
- fi
-}
-
-src_install() {
- # Parallel installation fails sometimes, bug #328273, upstream bug #651923
-
- dodoc AUTHORS ChangeLog NEWS README
-
- cd "${GTK2_BUILDDIR}" || die
- einfo "Running make install in ${GTK2_BUILDDIR}"
- MAKEOPTS="${MAKEOPTS} -j1" default
-
- install_python() {
- cd "${BUILD_DIR}"/src || die
- emake install-pyexecLTLIBRARIES DESTDIR="${D}" \
- VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \
- CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src"
- }
- if use python; then
- python_foreach_impl run_in_build_dir install_python
- fi
-
- if use gtk3; then
- cd "${GTK3_BUILDDIR}" || die
- einfo "Running make install in ${GTK3_BUILDDIR}"
- MAKEOPTS="${MAKEOPTS} -j1" default
- fi
-
- prune_libtool_files
-}
-
-run_in_build_dir() {
- pushd "${BUILD_DIR}" > /dev/null || die
- "$@"
- popd > /dev/null
-}