summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-12-18 07:33:17 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-12-18 07:33:17 +0000
commit28aac4b6cc3a857cab43eba4d122b85af0c52de3 (patch)
tree3a6e49ebbc982dc1187ec0ffadf2cd89a6be394e /sci-libs/libscigraphica
parentVersion bump. (diff)
downloadgentoo-2-28aac4b6cc3a857cab43eba4d122b85af0c52de3.tar.gz
gentoo-2-28aac4b6cc3a857cab43eba4d122b85af0c52de3.tar.bz2
gentoo-2-28aac4b6cc3a857cab43eba4d122b85af0c52de3.zip
(#93095) New library backend for scigraphica, taken from the science overlay (Pablo De Nápoli, Jan Kohnert, et al.).
(Portage version: 2.1.2_rc3-r4)
Diffstat (limited to 'sci-libs/libscigraphica')
-rw-r--r--sci-libs/libscigraphica/ChangeLog14
-rw-r--r--sci-libs/libscigraphica/Manifest28
-rw-r--r--sci-libs/libscigraphica/files/digest-libscigraphica-2.1.13
-rw-r--r--sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch14
-rw-r--r--sci-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch50
-rw-r--r--sci-libs/libscigraphica/files/libscigraphica-2.1.1-libart.patch23
-rw-r--r--sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild46
-rw-r--r--sci-libs/libscigraphica/metadata.xml5
8 files changed, 183 insertions, 0 deletions
diff --git a/sci-libs/libscigraphica/ChangeLog b/sci-libs/libscigraphica/ChangeLog
new file mode 100644
index 000000000000..4ed0b70f0353
--- /dev/null
+++ b/sci-libs/libscigraphica/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for sci-libs/libscigraphica
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libscigraphica/ChangeLog,v 1.1 2006/12/18 07:33:17 dberkholz Exp $
+
+*libscigraphica-2.1.1 (18 Dec 2006)
+
+ 18 Dec 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/libscigraphica-2.1.1-arrayobject.patch,
+ +files/libscigraphica-2.1.1-intl.patch,
+ +files/libscigraphica-2.1.1-libart.patch, +metadata.xml,
+ +libscigraphica-2.1.1.ebuild:
+ (#93095) New library backend for scigraphica, taken from the science overlay
+ (Pablo De Nápoli, Jan Kohnert, et al.).
+
diff --git a/sci-libs/libscigraphica/Manifest b/sci-libs/libscigraphica/Manifest
new file mode 100644
index 000000000000..0a7cc3878ea0
--- /dev/null
+++ b/sci-libs/libscigraphica/Manifest
@@ -0,0 +1,28 @@
+AUX libscigraphica-2.1.1-arrayobject.patch 928 RMD160 b28e460bf6ca64c7f03d4ea5a4d1f76d85dbc6a5 SHA1 1dd25a7984b59a9e8215f23fc63b0781ef0aa0b2 SHA256 09dd4566a4cd1250abadde547c53c82b4c03b8b4c95463ebd38a120d3ea7fe54
+MD5 268ddb0bb085c902d54b2885ea9025ce files/libscigraphica-2.1.1-arrayobject.patch 928
+RMD160 b28e460bf6ca64c7f03d4ea5a4d1f76d85dbc6a5 files/libscigraphica-2.1.1-arrayobject.patch 928
+SHA256 09dd4566a4cd1250abadde547c53c82b4c03b8b4c95463ebd38a120d3ea7fe54 files/libscigraphica-2.1.1-arrayobject.patch 928
+AUX libscigraphica-2.1.1-intl.patch 1773 RMD160 4bee4007fc1f91d1b95548e035c4aa96c318edd5 SHA1 1b132d4752e6dcedfeff921c86fee0c11e21a831 SHA256 0c6d86f15f2554c220c5c3156ead8be5d3cac936d1e3fd47c73864aa1d354df1
+MD5 92d1423cca0aeb12e7e0e88ce933a261 files/libscigraphica-2.1.1-intl.patch 1773
+RMD160 4bee4007fc1f91d1b95548e035c4aa96c318edd5 files/libscigraphica-2.1.1-intl.patch 1773
+SHA256 0c6d86f15f2554c220c5c3156ead8be5d3cac936d1e3fd47c73864aa1d354df1 files/libscigraphica-2.1.1-intl.patch 1773
+AUX libscigraphica-2.1.1-libart.patch 900 RMD160 e99dee1d634718340e0e3f83f690b04951b6923b SHA1 d4bb0a1c5a5e75788cfac9dfd4d8545b210c35ab SHA256 7832429ea5cf4f6c14f6863f41dd407df6227cd4ebf433a8496464ee3e6b96d2
+MD5 ae70dcbd0ebdc8a51cdbac60b351013a files/libscigraphica-2.1.1-libart.patch 900
+RMD160 e99dee1d634718340e0e3f83f690b04951b6923b files/libscigraphica-2.1.1-libart.patch 900
+SHA256 7832429ea5cf4f6c14f6863f41dd407df6227cd4ebf433a8496464ee3e6b96d2 files/libscigraphica-2.1.1-libart.patch 900
+DIST libscigraphica-2.1.1.tar.gz 774288 RMD160 1b04a432052ad3edd8e233349ee47f4f99bb1a4a SHA1 dcbadae82501f40ef366c7e543c26b289657dc60 SHA256 d90f05ab696f24addaec53d35996c8be3503a608e7b76b2c4a8af4cd03706fc8
+EBUILD libscigraphica-2.1.1.ebuild 1142 RMD160 8498306a0fea701383d88d2f333baaca671ac2b1 SHA1 c1d5f00a51684e31f3890427f405fd2386909c77 SHA256 cbd842b23dbd3b8078c11a5d6842b0a6887c5c19b314f51b2a3d2b6130d8b31a
+MD5 917e5fa360d2730c43941a6ee4f39695 libscigraphica-2.1.1.ebuild 1142
+RMD160 8498306a0fea701383d88d2f333baaca671ac2b1 libscigraphica-2.1.1.ebuild 1142
+SHA256 cbd842b23dbd3b8078c11a5d6842b0a6887c5c19b314f51b2a3d2b6130d8b31a libscigraphica-2.1.1.ebuild 1142
+MISC ChangeLog 521 RMD160 89f936498749470290c0192183adf6788fc2af54 SHA1 7dab8ed8bbaff1fe76ea8f96139079026e8f1192 SHA256 b6ab11f0e0cfd552b3b4442237d91d9a727ee23c8ada44cbe6ea5ab541ac07ce
+MD5 878571aa2eab74822a0cbb0dfcae09a5 ChangeLog 521
+RMD160 89f936498749470290c0192183adf6788fc2af54 ChangeLog 521
+SHA256 b6ab11f0e0cfd552b3b4442237d91d9a727ee23c8ada44cbe6ea5ab541ac07ce ChangeLog 521
+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 eeac6b52d0bd421a09ee2d3103373efc files/digest-libscigraphica-2.1.1 262
+RMD160 d304fb7311e5ff0362fa43d226d7efd7399adbee files/digest-libscigraphica-2.1.1 262
+SHA256 360c26d7d45e0aed8708a94e5b0536af7236e6a3b0ecca8e5241bdd4bf1eed68 files/digest-libscigraphica-2.1.1 262
diff --git a/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1 b/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1
new file mode 100644
index 000000000000..1fdbccb9ac87
--- /dev/null
+++ b/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1
@@ -0,0 +1,3 @@
+MD5 1966786bcc8c47036e35777cbda422c3 libscigraphica-2.1.1.tar.gz 774288
+RMD160 1b04a432052ad3edd8e233349ee47f4f99bb1a4a libscigraphica-2.1.1.tar.gz 774288
+SHA256 d90f05ab696f24addaec53d35996c8be3503a608e7b76b2c4a8af4cd03706fc8 libscigraphica-2.1.1.tar.gz 774288
diff --git a/sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch
new file mode 100644
index 000000000000..dd443e0baf5f
--- /dev/null
+++ b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch
@@ -0,0 +1,14 @@
+--- libscigraphica-2.1.1/configure.in 2005-06-25 02:38:20.000000000 +0100
++++ libscigraphica-2.1.1.new/configure.in 2006-06-08 15:41:52.000000000 +0100
+@@ -324,9 +324,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-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch
new file mode 100644
index 000000000000..71179ed04484
--- /dev/null
+++ b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch
@@ -0,0 +1,50 @@
+diff -urN libscigraphica-2.1.1/configure.in libscigraphica-2.1.1.new/configure.in
+--- libscigraphica-2.1.1/configure.in 2006-06-09 20:43:37.000000000 +0100
++++ libscigraphica-2.1.1.new/configure.in 2006-06-09 20:42:41.000000000 +0100
+@@ -187,11 +187,11 @@
+ # The list of languages known to SciGraphica
+ # This is needed by GNU gettext
+ #ALL_LINGUAS="es de nl"
+-#GETTEXT_PACKAGE=libscigraphica
+-#AC_SUBST(GETTEXT_PACKAGE)
+-#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
++GETTEXT_PACKAGE=libscigraphica
++AC_SUBST(GETTEXT_PACKAGE)
++AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
+
+-#AM_GLIB_GNU_GETTEXT
++AM_GLIB_GNU_GETTEXT
+
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+
+@@ -416,6 +416,7 @@
+ scigraphica/dialogs/Makefile
+ scigraphica/widgets/Makefile
+ pixmaps/Makefile
++po/Makefile.in
+ plugins/layers/Makefile
+ plugins/iterators/Makefile
+ plugins/styles/Makefile
+diff -urN libscigraphica-2.1.1/Makefile.am libscigraphica-2.1.1.new/Makefile.am
+--- libscigraphica-2.1.1/Makefile.am 2005-06-24 02:40:55.000000000 +0100
++++ libscigraphica-2.1.1.new/Makefile.am 2006-06-09 20:41:58.000000000 +0100
+@@ -1,6 +1,6 @@
+ ## Makefile.am for sg
+
+-SUBDIRS = pixmaps scigraphica plugins
++SUBDIRS = pixmaps scigraphica plugins po
+
+ PACKAGE = @PACKAGE@
+ VERSION = @VERSION@
+diff -urN libscigraphica-2.1.1/po/POTFILES.in libscigraphica-2.1.1.new/po/POTFILES.in
+--- libscigraphica-2.1.1/po/POTFILES.in 1970-01-01 01:00:00.000000000 +0100
++++ libscigraphica-2.1.1.new/po/POTFILES.in 2006-06-09 20:41:58.000000000 +0100
+@@ -0,0 +1,8 @@
++plugins/layers/plugin.xml.in
++plugins/io/plugin.xml.in
++plugins/styles/plugin.xml.in
++plugins/menus/plugin.xml.in
++plugins/toolbars/plugin.xml.in
++plugins/arrays/plugin.xml.in
++plugins/iterators/plugin.xml.in
++plugins/functions/plugin.xml.in
diff --git a/sci-libs/libscigraphica/files/libscigraphica-2.1.1-libart.patch b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-libart.patch
new file mode 100644
index 000000000000..8a470c7c0668
--- /dev/null
+++ b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-libart.patch
@@ -0,0 +1,23 @@
+--- libscigraphica-2.1.1/configure.in 2005-06-25 02:38:20.000000000 +0100
++++ libscigraphica-2.1.1.new/configure.in 2006-06-08 15:46:27.000000000 +0100
+@@ -222,16 +222,16 @@
+
+ PKG_CHECK_MODULES(GTK_EXTRA, gtkextra-2.0 >= 2.1.0)
+
+-AC_CHECK_PROG(libart_config_found,libart-config, yes,no)
+-AC_CHECK_LIB(art_lgpl, art_pixbuf_new_rgb,
++AC_CHECK_PROG(libart_config_found,libart2-config, yes,no)
++AC_CHECK_LIB(art_lgpl_2, art_pixbuf_new_rgb,
+ [libart_found=yes],
+ AC_MSG_RESULT(Cannot find LIBART, disabling anti-aliasing))
+
+ if eval "test x$libart_found != xno && test x$libart_config_found != xno"; then
+- LIBART_CFLAGS="`libart-config --cflags`"
++ LIBART_CFLAGS="`libart2-config --cflags`"
+ AC_SUBST(LIBART_CFLAGS)
+ CFLAGS="$CFLAGS $LIBART_CFLAGS -DWITH_LIBART"
+- LIBART_LIBS="`libart-config --libs`"
++ LIBART_LIBS="`libart2-config --libs`"
+ AC_SUBST(LIBART_LIBS)
+ LIBS="$LIBS $LIBART_LIBS"
+ fi
diff --git a/sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild b/sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild
new file mode 100644
index 000000000000..6dd4d81e5d78
--- /dev/null
+++ b/sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild,v 1.1 2006/12/18 07:33:17 dberkholz Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="Libraries 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="~amd64 ~x86 ~ppc"
+
+DEPEND=">=x11-libs/gtk+extra-2.1.0
+ >=dev-python/numarray-1.3.1
+ >=dev-libs/libxml2-2.4.10
+ >=media-libs/libart_lgpl-2.3
+ >=dev-util/intltool-0.27.2"
+
+src_unpack() {
+
+ unpack ${A}
+
+ # fixes arrayobject problems
+ epatch "${FILESDIR}"/${P}-arrayobject.patch
+ # fixes libart_gpl version
+ epatch "${FILESDIR}"/${P}-libart.patch
+ # fixes intltoolization
+ epatch "${FILESDIR}"/${P}-intl.patch
+
+ cd "${S}"
+ 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
+}
diff --git a/sci-libs/libscigraphica/metadata.xml b/sci-libs/libscigraphica/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-libs/libscigraphica/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>