From 276bbdc739313360981533f7f91ed12a18cb8267 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Mon, 20 Nov 2006 03:39:29 +0100 Subject: add a patch to gtkmm to make it compile (http://bugs.gentoo.org/show_bug.cgi?id=153294) --- dev-cpp/gtkmm/Manifest | 12 +++++++++ dev-cpp/gtkmm/files/digest-gtkmm-2.10.2 | 3 +++ dev-cpp/gtkmm/files/gtkmm-2.10.2-no_atk.patch | 27 +++++++++++++++++++ dev-cpp/gtkmm/gtkmm-2.10.2.ebuild | 39 +++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 dev-cpp/gtkmm/Manifest create mode 100644 dev-cpp/gtkmm/files/digest-gtkmm-2.10.2 create mode 100644 dev-cpp/gtkmm/files/gtkmm-2.10.2-no_atk.patch create mode 100644 dev-cpp/gtkmm/gtkmm-2.10.2.ebuild diff --git a/dev-cpp/gtkmm/Manifest b/dev-cpp/gtkmm/Manifest new file mode 100644 index 00000000..1b7256d1 --- /dev/null +++ b/dev-cpp/gtkmm/Manifest @@ -0,0 +1,12 @@ +AUX gtkmm-2.10.2-no_atk.patch 962 RMD160 b31e525dd946839ec0174400c73024a564bc0c2f SHA1 238a26b05dde597e24c5d6d93e5eef398c199bcd SHA256 ec7279ce8b826eb686237986db52d8efbe6ee1569f8fe4b5812a5c7c6415c754 +MD5 2c644301f333f8e14abb37f4005eb5ed files/gtkmm-2.10.2-no_atk.patch 962 +RMD160 b31e525dd946839ec0174400c73024a564bc0c2f files/gtkmm-2.10.2-no_atk.patch 962 +SHA256 ec7279ce8b826eb686237986db52d8efbe6ee1569f8fe4b5812a5c7c6415c754 files/gtkmm-2.10.2-no_atk.patch 962 +DIST gtkmm-2.10.2.tar.bz2 7056116 RMD160 7c9dc8d9d45efc073c6036bd3a5e3c04518ccee2 SHA1 da960e7acbd24c98d53ddb1ba2485f9486070127 SHA256 57e95e857dc37be8a2813e618f627f4986c073aa8b6f1ce9bcd07193545f358b +EBUILD gtkmm-2.10.2.ebuild 984 RMD160 f938d5f264b8e90730062380da236195739e18c1 SHA1 3f48649640aed9ba28175c42277f5698633564f8 SHA256 7c90b1e8c1d8e88c9eefac4bece5e57027e0e4fb8f5fb83392f811ffac74666e +MD5 c9ffecc7971ece102c35c2735b2bce0e gtkmm-2.10.2.ebuild 984 +RMD160 f938d5f264b8e90730062380da236195739e18c1 gtkmm-2.10.2.ebuild 984 +SHA256 7c90b1e8c1d8e88c9eefac4bece5e57027e0e4fb8f5fb83392f811ffac74666e gtkmm-2.10.2.ebuild 984 +MD5 d2c6ee3add941667595a88722e850cce files/digest-gtkmm-2.10.2 244 +RMD160 f12a8eb1deabc989f0b875b4e0555abd62df5b6b files/digest-gtkmm-2.10.2 244 +SHA256 1287d59afc3c39bb8339d4089e1b9103e1ba2d20cd3043347fdb27768ac4850c files/digest-gtkmm-2.10.2 244 diff --git a/dev-cpp/gtkmm/files/digest-gtkmm-2.10.2 b/dev-cpp/gtkmm/files/digest-gtkmm-2.10.2 new file mode 100644 index 00000000..72e29b80 --- /dev/null +++ b/dev-cpp/gtkmm/files/digest-gtkmm-2.10.2 @@ -0,0 +1,3 @@ +MD5 b29ec706e544002d312cbefa0a65c446 gtkmm-2.10.2.tar.bz2 7056116 +RMD160 7c9dc8d9d45efc073c6036bd3a5e3c04518ccee2 gtkmm-2.10.2.tar.bz2 7056116 +SHA256 57e95e857dc37be8a2813e618f627f4986c073aa8b6f1ce9bcd07193545f358b gtkmm-2.10.2.tar.bz2 7056116 diff --git a/dev-cpp/gtkmm/files/gtkmm-2.10.2-no_atk.patch b/dev-cpp/gtkmm/files/gtkmm-2.10.2-no_atk.patch new file mode 100644 index 00000000..6dd13b56 --- /dev/null +++ b/dev-cpp/gtkmm/files/gtkmm-2.10.2-no_atk.patch @@ -0,0 +1,27 @@ +--- ../../gtkmm-2.10.2/work/gtkmm-2.10.2/configure.in 2006-09-22 05:48:20.000000000 +1000 ++++ gtkmm-2.10.2/configure.in 2006-11-19 17:03:24.000000000 +1100 +@@ -452,7 +452,13 @@ + atk/atkmm/Makefile + atk/atkmm/private/Makefile + ]) ++ ++#Adds atkmm-1.6 to the pkg-config file only if atk support is enabled: ++ ATK_PC=atkmm-1.6 ++else ++ ATK_PC= + fi ++AC_SUBST(ATK_PC) + + #Allow us to test for atkmm support in Makefile.am files: + AM_CONDITIONAL(GTKMM_ATKMM_ENABLED, test "x$gtkmm_enable_api_atkmm" = "xyes") +--- gtkmm-2.10.2/gtk/gtkmm-2.4.pc.in 2004-04-11 22:00:53.000000000 +0100 ++++ gtkmm-2.10.2new/gtk/gtkmm-2.4.pc.in 2006-11-18 13:45:06.000000000 +0000 +@@ -5,7 +5,7 @@ + + Name: gtkmm + Description: C++ wrapper for GTK+ +-Requires: glibmm-2.4 gdkmm-2.4 pangomm-1.4 atkmm-1.6 gtk+-2.0 ++Requires: glibmm-2.4 gdkmm-2.4 pangomm-1.4 @ATK_PC@ gtk+-2.0 + Version: @VERSION@ + Libs: -L${libdir} -lgtkmm-2.4 + Cflags: -I${includedir}/gtkmm-2.4 -I${libdir}/gtkmm-2.4/include diff --git a/dev-cpp/gtkmm/gtkmm-2.10.2.ebuild b/dev-cpp/gtkmm/gtkmm-2.10.2.ebuild new file mode 100644 index 00000000..2649fc5a --- /dev/null +++ b/dev-cpp/gtkmm/gtkmm-2.10.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/gtkmm-2.10.2.ebuild,v 1.1 2006/10/29 01:19:49 allanonjl Exp $ + +inherit gnome2 autotools + +DESCRIPTION="C++ interface for GTK+2" +HOMEPAGE="http://gtkmm.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="2.4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="accessibility doc examples" + +RDEPEND=">=dev-cpp/glibmm-2.12.1 + >=x11-libs/gtk+-2.10.0 + >=dev-cpp/cairomm-1.1.12 + >=dev-libs/libsigc++-2.0 + accessibility? ( >=dev-libs/atk-1.9.1 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS="AUTHORS CHANGES ChangeLog PORTING NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} \ + $(use_enable accessibility api-atkmm) \ + $(use_enable doc docs) \ + $(use_enable examples) + $(use_enable examples demos)" +} + +src_unpack(){ + unpack ${A} + epatch "${FILESDIR}"/gtkmm-2.10.2-no_atk.patch + cd "${S}" + eautoconf +} -- cgit v1.2.3