(#93095) New GTK+-2 version, taken from the science overlay (Pablo De Nápoli, Jan...
authorDonnie Berkholz <dberkholz@gentoo.org>
Mon, 18 Dec 2006 07:35:05 +0000 (07:35 +0000)
committerDonnie Berkholz <dberkholz@gentoo.org>
Mon, 18 Dec 2006 07:35:05 +0000 (07:35 +0000)
Package-Manager: portage-2.1.2_rc3-r4

sci-visualization/scigraphica/ChangeLog
sci-visualization/scigraphica/Manifest
sci-visualization/scigraphica/files/digest-scigraphica-2.1.0 [new file with mode: 0644]
sci-visualization/scigraphica/files/scigraphica-2.1.0-arrayobject.patch [new file with mode: 0644]
sci-visualization/scigraphica/files/scigraphica-2.1.0-desktop.patch [new file with mode: 0644]
sci-visualization/scigraphica/files/scigraphica-2.1.0-intl.patch [new file with mode: 0644]
sci-visualization/scigraphica/files/scigraphica-2.1.0-versioning.patch [new file with mode: 0644]
sci-visualization/scigraphica/scigraphica-2.1.0.ebuild [new file with mode: 0644]

index 5b0b94693d573989d806da58f32bb9feeb37c9f3..f1fb408a72e888a43c6dab13a5b9feed9ba3de4a 100644 (file)
@@ -1,6 +1,16 @@
 # ChangeLog for sci-visualization/scigraphica
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scigraphica/ChangeLog,v 1.2 2006/02/16 19:30:42 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scigraphica/ChangeLog,v 1.3 2006/12/18 07:35:05 dberkholz Exp $
+
+*scigraphica-2.1.0 (18 Dec 2006)
+
+  18 Dec 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/scigraphica-2.1.0-arrayobject.patch,
+  +files/scigraphica-2.1.0-desktop.patch,
+  +files/scigraphica-2.1.0-intl.patch,
+  +files/scigraphica-2.1.0-versioning.patch, +scigraphica-2.1.0.ebuild:
+  (#93095) New GTK+-2 version, taken from the science overlay (Pablo De
+  Nápoli, Jan Kohnert, et al.).
 
   29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> +files/gcc3.4.patch,
   +metadata.xml, +scigraphica-0.8.0-r2.ebuild:
index ff1f48991883a461ff79d57c37fb04db1ed93b5f..741c761deb09d6410d69145b0d7ccec782209f53 100644 (file)
@@ -1,25 +1,44 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 8f41045557e307cdfde9ed48284f6856 ChangeLog 2071
-RMD160 b4cbba579ee13f98612d0ff9a0985901ab02f87e ChangeLog 2071
-SHA256 6f2d77f6c6e4683210649c84904c4d234238c33917a71765dabd49a6f5a36ff1 ChangeLog 2071
-MD5 c2d9cfaee160e764e5ea4eef6864b114 files/digest-scigraphica-0.8.0-r2 69
-RMD160 4a848eca65ffca1f01b55f02fc509cd008d22e61 files/digest-scigraphica-0.8.0-r2 69
-SHA256 855259fcc278ee92c7ac4e75f7e7afae972a6e383ea92006a1854b9ed9c9a858 files/digest-scigraphica-0.8.0-r2 69
+AUX gcc3.4.patch 464 RMD160 89d34e860848bcf438c9d04c9cd3727f12ad662b SHA1 ca2ae41214ca98d17fada53f2e31912e1318a51c SHA256 1903172ea85a8c7b614c9bd07930d9d22497522480941da0f65dba4c8295d401
 MD5 a268a921bce77204066be75a284df252 files/gcc3.4.patch 464
 RMD160 89d34e860848bcf438c9d04c9cd3727f12ad662b files/gcc3.4.patch 464
 SHA256 1903172ea85a8c7b614c9bd07930d9d22497522480941da0f65dba4c8295d401 files/gcc3.4.patch 464
-MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
-SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+AUX scigraphica-2.1.0-arrayobject.patch 998 RMD160 63d6a50dbe4e77bfd79106afe298a6231260ea6d SHA1 65179c2a99645735a8c131a86b51ddc6eef515fe SHA256 d3eca4ec2a3ca5a430a21ef7eb64523146dd71b8c4fac444455179a1452054c8
+MD5 e8481260ee46ce21c979382ed3cf8147 files/scigraphica-2.1.0-arrayobject.patch 998
+RMD160 63d6a50dbe4e77bfd79106afe298a6231260ea6d files/scigraphica-2.1.0-arrayobject.patch 998
+SHA256 d3eca4ec2a3ca5a430a21ef7eb64523146dd71b8c4fac444455179a1452054c8 files/scigraphica-2.1.0-arrayobject.patch 998
+AUX scigraphica-2.1.0-desktop.patch 856 RMD160 2fd4ef646a014e375e5ce1c5360b89e74d1982ab SHA1 7b5c03ea45c660f4e92106b734e287e35b287c04 SHA256 291fa58e800743476f932d478ba6e07ed172611fc23554ea7aed3df7555c5d66
+MD5 20c893a4cbe9b57122650c6255aaf8a1 files/scigraphica-2.1.0-desktop.patch 856
+RMD160 2fd4ef646a014e375e5ce1c5360b89e74d1982ab files/scigraphica-2.1.0-desktop.patch 856
+SHA256 291fa58e800743476f932d478ba6e07ed172611fc23554ea7aed3df7555c5d66 files/scigraphica-2.1.0-desktop.patch 856
+AUX scigraphica-2.1.0-intl.patch 1453 RMD160 4fe466361dfe367f06006f1b64ea02fa962e2827 SHA1 2721eb6763f28041aca24df62bf6e8d845fd87fe SHA256 24bb58e593cb1f2b0de3b9f4162d11eb0eb84c0459c4a5816cb23ce2e2b7f59a
+MD5 0bfb917c62d063546bb27469cc2a7879 files/scigraphica-2.1.0-intl.patch 1453
+RMD160 4fe466361dfe367f06006f1b64ea02fa962e2827 files/scigraphica-2.1.0-intl.patch 1453
+SHA256 24bb58e593cb1f2b0de3b9f4162d11eb0eb84c0459c4a5816cb23ce2e2b7f59a files/scigraphica-2.1.0-intl.patch 1453
+AUX scigraphica-2.1.0-versioning.patch 902 RMD160 50ca7454470dd46e326829ba7296ed3681b6d9bd SHA1 950a4a0f979383a806c6f47ac11673a2e4a8d442 SHA256 d2081fb90e88df3bbf78e75c06af7edd1e6a094bb49026799e70167290e7e2b7
+MD5 01c9b8cbf5306f7a6fa8796543baa304 files/scigraphica-2.1.0-versioning.patch 902
+RMD160 50ca7454470dd46e326829ba7296ed3681b6d9bd files/scigraphica-2.1.0-versioning.patch 902
+SHA256 d2081fb90e88df3bbf78e75c06af7edd1e6a094bb49026799e70167290e7e2b7 files/scigraphica-2.1.0-versioning.patch 902
+DIST scigraphica-0.8.0.tar.gz 841199
+DIST scigraphica-2.1.0.tar.gz 539549 RMD160 275790299fcceee41a186b4ec03e1a9e3b3eb125 SHA1 59574fddfe5a3529c69e1bd84fb62c019b4ef8d0 SHA256 b424310506995507d053573f1995f9cfbbce0a7fdc7dc93effc6dbec54aa15f9
+EBUILD scigraphica-0.8.0-r2.ebuild 2408 RMD160 36db72670cbfa9411111355998f9687c8550e74e SHA1 3b0e5751fa07385cc1cfb963935f9581db191e3a SHA256 33761f95b42209961c52b8baf92f14292bf1349922069adfa083ebad5d44bbe6
 MD5 80371f517de9005371cf1b7b48a6ddd1 scigraphica-0.8.0-r2.ebuild 2408
 RMD160 36db72670cbfa9411111355998f9687c8550e74e scigraphica-0.8.0-r2.ebuild 2408
 SHA256 33761f95b42209961c52b8baf92f14292bf1349922069adfa083ebad5d44bbe6 scigraphica-0.8.0-r2.ebuild 2408
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD9NLrI1lqEGTUzyQRAiVpAJ4wDT1MCdJh3ZIp8ABwjy7dyYh0dQCgxHYa
-CCmvne5+rneFBtoLlSGLpZM=
-=XL1c
------END PGP SIGNATURE-----
+EBUILD scigraphica-2.1.0.ebuild 1466 RMD160 b3c2b09ce0ea26aade2e61d934557f444367173e SHA1 936ea689bc249e6ad1b955717379f33bfb83a0cd SHA256 c609e253dc81e341a2fc8155b91d64f155404143a3c713c47a5f2d65747c6f5f
+MD5 c314a644fee2b44e1bd559209adf6f0b scigraphica-2.1.0.ebuild 1466
+RMD160 b3c2b09ce0ea26aade2e61d934557f444367173e scigraphica-2.1.0.ebuild 1466
+SHA256 c609e253dc81e341a2fc8155b91d64f155404143a3c713c47a5f2d65747c6f5f scigraphica-2.1.0.ebuild 1466
+MISC ChangeLog 2466 RMD160 483868bb6e2515151368564a52e2db89edaa75a4 SHA1 956c858ebfd03ed7ee56cec8c715ed3f98e98170 SHA256 fd79d316e2d823c18b6ec0bfac1e90291c4afc1d594acc4612cc1e7a3119f9d5
+MD5 5ad1da361e055ffca89d4f85d3d4762e ChangeLog 2466
+RMD160 483868bb6e2515151368564a52e2db89edaa75a4 ChangeLog 2466
+SHA256 fd79d316e2d823c18b6ec0bfac1e90291c4afc1d594acc4612cc1e7a3119f9d5 ChangeLog 2466
+MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
+SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+MD5 c2d9cfaee160e764e5ea4eef6864b114 files/digest-scigraphica-0.8.0-r2 69
+RMD160 4a848eca65ffca1f01b55f02fc509cd008d22e61 files/digest-scigraphica-0.8.0-r2 69
+SHA256 855259fcc278ee92c7ac4e75f7e7afae972a6e383ea92006a1854b9ed9c9a858 files/digest-scigraphica-0.8.0-r2 69
+MD5 452e979213223b9df25b4d848b5e00a9 files/digest-scigraphica-2.1.0 253
+RMD160 32fafc7e2b4676be6f3ce8982a5df100090608d6 files/digest-scigraphica-2.1.0 253
+SHA256 5efc6df36c9691309bb0eafe654aea1da67fd25a74162c5bf1f4822f4b1ea482 files/digest-scigraphica-2.1.0 253
diff --git a/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0 b/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0
new file mode 100644 (file)
index 0000000..ca96856
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 80b74b2faa0e2c46361f4de51e73df34 scigraphica-2.1.0.tar.gz 539549
+RMD160 275790299fcceee41a186b4ec03e1a9e3b3eb125 scigraphica-2.1.0.tar.gz 539549
+SHA256 b424310506995507d053573f1995f9cfbbce0a7fdc7dc93effc6dbec54aa15f9 scigraphica-2.1.0.tar.gz 539549
diff --git a/sci-visualization/scigraphica/files/scigraphica-2.1.0-arrayobject.patch b/sci-visualization/scigraphica/files/scigraphica-2.1.0-arrayobject.patch
new file mode 100644 (file)
index 0000000..faf8516
--- /dev/null
@@ -0,0 +1,15 @@
+diff -urN scigraphica-2.1.0/configure.in scigraphica-2.1.0.new/configure.in
+--- scigraphica-2.1.0/configure.in     2005-06-24 02:43:36.000000000 +0100
++++ scigraphica-2.1.0.new/configure.in 2006-06-08 17:06:44.000000000 +0100
+@@ -381,9 +381,9 @@
+                   PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
+                 PY_LIBS="python$PY_VERSION"
+                 PY_LIB_LOC="$PY_EXEC_PREFIX/lib/python$PY_VERSION/"
+-                  array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h//`
++                  array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h// | head -n 1`
+                   if test x$array_loc = x; then 
+-                     array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h//`
++                     array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h// | head -n 1`
+                   fi
+                   if test -n $array_loc -a -d $array_loc; then
+                      echo "$array_loc"
diff --git a/sci-visualization/scigraphica/files/scigraphica-2.1.0-desktop.patch b/sci-visualization/scigraphica/files/scigraphica-2.1.0-desktop.patch
new file mode 100644 (file)
index 0000000..d8d23ad
--- /dev/null
@@ -0,0 +1,23 @@
+diff -urN scigraphica-2.1.0/docs/Makefile.am scigraphica-2.1.0.new/docs/Makefile.am
+--- scigraphica-2.1.0/docs/Makefile.am 2006-06-08 17:13:06.000000000 +0100
++++ scigraphica-2.1.0.new/docs/Makefile.am     2006-06-08 17:16:00.000000000 +0100
+@@ -25,6 +25,6 @@
+ EXTRA_DIST = $(HTMLFILES) topic.dat
+-htmldir = $(datadir)/gnome/help/scigraphica/C/
++htmldir = $(datadir)/scigraphica
+ html_DATA = $(HTMLFILES) topic.dat
+diff -urN scigraphica-2.1.0/Makefile.am scigraphica-2.1.0.new/Makefile.am
+--- scigraphica-2.1.0/Makefile.am      2006-06-08 17:13:06.000000000 +0100
++++ scigraphica-2.1.0.new/Makefile.am  2006-06-08 17:14:07.000000000 +0100
+@@ -26,7 +26,7 @@
+         gnome-pty.h  \
+         sg.desktop
+-Applicationsdir = $(datadir)/gnome/apps/Applications
++Applicationsdir = $(datadir)/applications
+ Applications_DATA = sg.desktop
+ man_MANS = scigraphica.1
diff --git a/sci-visualization/scigraphica/files/scigraphica-2.1.0-intl.patch b/sci-visualization/scigraphica/files/scigraphica-2.1.0-intl.patch
new file mode 100644 (file)
index 0000000..5e81dce
--- /dev/null
@@ -0,0 +1,47 @@
+diff -urN scigraphica-2.1.0.old/configure.in scigraphica-2.1.0/configure.in
+--- scigraphica-2.1.0.old/configure.in 2006-06-09 20:48:36.000000000 +0100
++++ scigraphica-2.1.0/configure.in     2006-06-09 20:49:08.000000000 +0100
+@@ -84,7 +84,7 @@
+ # The list of languages known to SciGraphica
+ # This is needed by GNU gettext
+-ALL_LINGUAS="es de nl"
++#ALL_LINGUAS="es de nl"
+ dnl Extra include and library paths
+@@ -99,7 +99,7 @@
+ fi
+ dnl i18n internationalization
+-#AM_GNU_GETTEXT
++AM_GLIB_GNU_GETTEXT
+ USE_INCLUDED_LIBINTL="yes"
+ AC_SUBST(USE_INCLUDED_LIBINTL)
+@@ -489,6 +489,7 @@
+ plugins/Makefile
+ src/Makefile
+ pixmaps/Makefile
++po/Makefile.in
+ plugins/io/Makefile
+ plugins/toolbars/Makefile
+ plugins/menus/Makefile
+diff -urN scigraphica-2.1.0.old/Makefile.am scigraphica-2.1.0/Makefile.am
+--- scigraphica-2.1.0.old/Makefile.am  2006-06-09 20:48:36.000000000 +0100
++++ scigraphica-2.1.0/Makefile.am      2006-06-09 20:48:45.000000000 +0100
+@@ -1,6 +1,6 @@
+ ## Makefile.am for sg
+-SUBDIRS = docs examples pixmaps src plugins
++SUBDIRS = docs examples pixmaps src plugins po
+ PACKAGE = @PACKAGE@
+ VERSION = @VERSION@
+diff -urN scigraphica-2.1.0.old/po/POTFILES.in scigraphica-2.1.0/po/POTFILES.in
+--- scigraphica-2.1.0.old/po/POTFILES.in       1970-01-01 01:00:00.000000000 +0100
++++ scigraphica-2.1.0/po/POTFILES.in   2006-06-09 20:48:45.000000000 +0100
+@@ -0,0 +1,3 @@
++plugins/io/plugin.xml.in
++plugins/menus/plugin.xml.in
++plugins/toolbars/plugin.xml.in
diff --git a/sci-visualization/scigraphica/files/scigraphica-2.1.0-versioning.patch b/sci-visualization/scigraphica/files/scigraphica-2.1.0-versioning.patch
new file mode 100644 (file)
index 0000000..fe3dfd1
--- /dev/null
@@ -0,0 +1,25 @@
+diff -urN scigraphica-2.1.0/configure.in scigraphica-2.1.0.new/configure.in
+--- scigraphica-2.1.0/configure.in     2006-06-08 17:06:44.000000000 +0100
++++ scigraphica-2.1.0.new/configure.in 2006-06-08 17:12:33.000000000 +0100
+@@ -428,9 +428,9 @@
+ #
+ UNAME=`uname -s -m -r -p`
+-GTK_EXTRA_VERSION=`$GTK_EXTRA_CONFIG --version`
+-GTK_VERSION=`$GTK_CONFIG --version`
+-XML_VERSION=`$XML_CONFIG --version`
++GTK_EXTRA_VERSION=`$PKG_CONFIG --modversion gtkextra-2.0`
++GTK_VERSION=`$PKG_CONFIG --modversion gtk+-2.0`
++XML_VERSION=`$PKG_CONFIG --modversion libxml-2.0`
+ # strip duplicate entries in compiler flags
+ echo "stripping compiler flags"
+@@ -472,7 +472,7 @@
+ xml-$XML_VERSION  python-$PY_VVERSION  $array_loc\\n"\
+ __DATE__ " " __TIME__ "\\n\
+ Compiler flags:$COMPILER_FLAGS\\n\
+-(C) 2000 Adrian E. Feiguin\\n"
++(C) 2000 - 2005 Adrian E. Feiguin\\n"
+ )
+ AC_DEFINE_UNQUOTED(SCIGRAPHICA_ROOT, "$prefix")
diff --git a/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild b/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild
new file mode 100644 (file)
index 0000000..c27f06e
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild,v 1.1 2006/12/18 07:35:05 dberkholz Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="Scientific application for data analysis and technical graphics"
+SRC_URI="mirror://sourceforge/scigraphica/${P}.tar.gz"
+HOMEPAGE="http://scigraphica.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND=">=sci-libs/libscigraphica-2.1.0
+       >=dev-python/pygtk-2.6.1-r1
+       >=media-libs/imlib-1.9.7"
+
+src_unpack() {
+
+       unpack ${A}
+       cd "${S}"
+
+       # fix arrayobject problems
+       epatch "${FILESDIR}"/${P}-arrayobject.patch
+       # fix versioning stuff
+       epatch "${FILESDIR}"/${P}-versioning.patch
+       # fix desktop entry and docs
+       epatch "${FILESDIR}"/${P}-desktop.patch
+       # fix intltoolization and switch to glib_gettext
+       epatch "${FILESDIR}"/${P}-intl.patch
+
+       sed -i \
+               -e "s:/lib:/$(get_libdir):g" \
+               configure.in || die "sed for configure.in failed"
+
+       einfo "Running intltoolize --copy --force --automake"
+       intltoolize --copy --force --automake || die "intltoolize failed"
+       eautoreconf
+}
+
+src_install() {
+       make DESTDIR=${D} install || die "make install Failed"
+       dodoc AUTHORS ChangeLog FAQ.compile \
+               INSTALL NEWS README TODO
+}
+
+pkg_postinst() {
+       ewarn "Please be sure to remove your old scigraphica"
+       ewarn "configuration directory."
+       ewarn "Otherwise scigraphica won't work."
+}