(#93095) New library backend for scigraphica, taken from the science overlay (Pablo...
authorDonnie Berkholz <dberkholz@gentoo.org>
Mon, 18 Dec 2006 07:33:17 +0000 (07:33 +0000)
committerDonnie Berkholz <dberkholz@gentoo.org>
Mon, 18 Dec 2006 07:33:17 +0000 (07:33 +0000)
Package-Manager: portage-2.1.2_rc3-r4

sci-libs/libscigraphica/ChangeLog [new file with mode: 0644]
sci-libs/libscigraphica/Manifest [new file with mode: 0644]
sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1 [new file with mode: 0644]
sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch [new file with mode: 0644]
sci-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch [new file with mode: 0644]
sci-libs/libscigraphica/files/libscigraphica-2.1.1-libart.patch [new file with mode: 0644]
sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild [new file with mode: 0644]
sci-libs/libscigraphica/metadata.xml [new file with mode: 0644]

diff --git a/sci-libs/libscigraphica/ChangeLog b/sci-libs/libscigraphica/ChangeLog
new file mode 100644 (file)
index 0000000..4ed0b70
--- /dev/null
@@ -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 (file)
index 0000000..c11527e
--- /dev/null
@@ -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 1258 RMD160 6d2a81749461e731484c7d8bc814cf974c6165d8 SHA1 1fdc2aeb91087f4dc93a02c6ad0978f3999ee86e SHA256 109acfa67a88e1c7f5114785195e885635cf51af8e434024d9f6c69382525a89
+MD5 08589ec4815c7b9b7ec5d0da0e95254e libscigraphica-2.1.1.ebuild 1258
+RMD160 6d2a81749461e731484c7d8bc814cf974c6165d8 libscigraphica-2.1.1.ebuild 1258
+SHA256 109acfa67a88e1c7f5114785195e885635cf51af8e434024d9f6c69382525a89 libscigraphica-2.1.1.ebuild 1258
+MISC ChangeLog 619 RMD160 6544ec6b746e50a3be6bce7eb984a9153e242a72 SHA1 d65dacecce7ea0f8597275619e7fe569dbd722c3 SHA256 9ec756dd4dd75c8e94adde85a3f4f93191b71339ec1d31f2c253c0c7d1027905
+MD5 f6f61df41af5a11a1af8741b2a2ddea3 ChangeLog 619
+RMD160 6544ec6b746e50a3be6bce7eb984a9153e242a72 ChangeLog 619
+SHA256 9ec756dd4dd75c8e94adde85a3f4f93191b71339ec1d31f2c253c0c7d1027905 ChangeLog 619
+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 (file)
index 0000000..1fdbccb
--- /dev/null
@@ -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 (file)
index 0000000..dd443e0
--- /dev/null
@@ -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 (file)
index 0000000..71179ed
--- /dev/null
@@ -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 (file)
index 0000000..8a470c7
--- /dev/null
@@ -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 (file)
index 0000000..6dd4d81
--- /dev/null
@@ -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 (file)
index 0000000..b229aec
--- /dev/null
@@ -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>