summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-05-22 16:54:19 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-05-22 16:54:19 +0000
commit9915c06f096a6ca85063b96313e742b384f617e0 (patch)
tree93d70827ecb61f5b555c6078f3cd90e29a725f2a /x11-libs
parentmasked gtkmm-1.2.9-r1 until someone can test it with gcc2.95.3 (diff)
downloadhistorical-9915c06f096a6ca85063b96313e742b384f617e0.tar.gz
historical-9915c06f096a6ca85063b96313e742b384f617e0.tar.bz2
historical-9915c06f096a6ca85063b96313e742b384f617e0.zip
gcc3.1 support for gtkmm-1.2.9. should work for gcc2.95.x (see package.mask)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/gtkmm/ChangeLog10
-rw-r--r--x11-libs/gtkmm/files/digest-gtkmm-1.2.9-r11
-rw-r--r--x11-libs/gtkmm/files/gtkmm-1.2.9-gcc3.1-gentoo.patch12
-rw-r--r--x11-libs/gtkmm/gtkmm-1.2.9-r1.ebuild64
4 files changed, 86 insertions, 1 deletions
diff --git a/x11-libs/gtkmm/ChangeLog b/x11-libs/gtkmm/ChangeLog
index 7a3256162a11..79097bcd4cb2 100644
--- a/x11-libs/gtkmm/ChangeLog
+++ b/x11-libs/gtkmm/ChangeLog
@@ -1,7 +1,15 @@
# ChangeLog for x11-libs/gtkmm
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmm/ChangeLog,v 1.6 2002/05/15 01:39:13 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmm/ChangeLog,v 1.7 2002/05/22 16:54:19 mkennedy Exp $
+*gtkmm-1.2.9 (22 May 2002)
+
+ 22 May 2002; Matthew Kennedy <mkennedy@gentoo.org>;
+ gtkmm-1.2.9-r1.ebuild, ChangeLog, files/digest-gtkmm-1.2.9,
+ files/gtkmm-1.2.9-gcc3.1-gentoo.patch :
+
+ Patch to support gcc3.1 (only required for 1.2.9 -- fixed upstream
+ in CVS)
*gtkmm-1.3.14 (14 May 2002)
14 May 2002; Spider <spider@gentoo.org>; gtkmm-1.3.14.ebuild :
diff --git a/x11-libs/gtkmm/files/digest-gtkmm-1.2.9-r1 b/x11-libs/gtkmm/files/digest-gtkmm-1.2.9-r1
new file mode 100644
index 000000000000..742549fbfd2a
--- /dev/null
+++ b/x11-libs/gtkmm/files/digest-gtkmm-1.2.9-r1
@@ -0,0 +1 @@
+MD5 4b6070a53a2df6f20e85ad363922dc26 gtkmm-1.2.9.tar.gz 716656
diff --git a/x11-libs/gtkmm/files/gtkmm-1.2.9-gcc3.1-gentoo.patch b/x11-libs/gtkmm/files/gtkmm-1.2.9-gcc3.1-gentoo.patch
new file mode 100644
index 000000000000..7829a9b03a3b
--- /dev/null
+++ b/x11-libs/gtkmm/files/gtkmm-1.2.9-gcc3.1-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ur gtkmm-1.2.9.original/src/editable.gen_h gtkmm-1.2.9/src/editable.gen_h
+--- gtkmm-1.2.9.original/src/editable.gen_h Thu Nov 1 11:19:56 2001
++++ gtkmm-1.2.9/src/editable.gen_h Wed May 22 11:13:19 2002
+@@ -147,7 +147,7 @@
+ namespace Gtk
+ {
+
+- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const
++ string Editable::get_chars (int start_pos, int end_pos) const
+ {
+ gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos);
+ string ret_val = chars;
diff --git a/x11-libs/gtkmm/gtkmm-1.2.9-r1.ebuild b/x11-libs/gtkmm/gtkmm-1.2.9-r1.ebuild
new file mode 100644
index 000000000000..67c6e11ab5bd
--- /dev/null
+++ b/x11-libs/gtkmm/gtkmm-1.2.9-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Achim Gottinger <achim@gentoo.org>
+# Maintainer: Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmm/gtkmm-1.2.9-r1.ebuild,v 1.1 2002/05/22 16:54:19 mkennedy Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="C++ interface for GTK+"
+SRC_URI="http://download.sourceforge.net/gtkmm/${P}.tar.gz"
+# ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
+# http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz"
+HOMEPAGE="http://gtkmm.sourceforge.net/"
+
+DEPEND="virtual/glibc
+ >=x11-libs/gtk+-1.2.10-r4
+ >=dev-libs/libsigc++-1.0.4"
+
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+
+ # this patch applies only to gtkmm-1.2.9. gtkmm has been fixed
+ # in CVS. It fixes a build problem with gcc3.1.
+ # (http://marc.theaimsgroup.com/?l=gtkmm&m=101879848701486&w=2)
+ patch -p0 <${FILESDIR}/gtkmm-1.2.9-gcc3.1-gentoo.patch
+}
+
+src_compile() {
+
+ local myconf
+
+ if [ "${DEBUG}" ]
+ then
+ myconf="--enable-debug=yes"
+ else
+ myconf="--enable-debug=no"
+ fi
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc/X11 \
+ --with-xinput=xfree \
+ --with-x \
+ ${myconf} || die
+
+ make || die
+}
+
+src_install() {
+
+ make DESTDIR=${D} \
+ install || die
+
+
+ dodoc AUTHORS COPYING ChangeLog* HACKING
+ dodoc NEWS* README* TODO
+}
+
+
+
+