aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-06-08 17:54:16 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-06-08 17:54:16 +0000
commitd6d8c238adf46d37c3aecd69b79e0fdd2ea0606e (patch)
tree28b4ed5a455ff6d62634da40bfbf638eef486fe1
parentsci-astronomy: cleanup (diff)
downloadsci-d6d8c238adf46d37c3aecd69b79e0fdd2ea0606e.tar.gz
sci-d6d8c238adf46d37c3aecd69b79e0fdd2ea0606e.tar.bz2
sci-d6d8c238adf46d37c3aecd69b79e0fdd2ea0606e.zip
scigraphica & libscigraphica: major update
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@230 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r--sci-libs/libscigraphica/ChangeLog15
-rw-r--r--sci-libs/libscigraphica/Manifest10
-rw-r--r--sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1-r1 (renamed from sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1)0
-rw-r--r--sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch (renamed from sci-libs/libscigraphica/files/libscigraphica-2.1.1-configure.in.patch)2
-rw-r--r--sci-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch52
-rw-r--r--sci-libs/libscigraphica/files/libscigraphica-2.1.1-libart.patch23
-rw-r--r--sci-libs/libscigraphica/libscigraphica-2.1.1-r1.ebuild (renamed from sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild)26
-rw-r--r--sci-visualization/scigraphica/ChangeLog13
-rw-r--r--sci-visualization/scigraphica/Manifest12
-rw-r--r--sci-visualization/scigraphica/files/digest-scigraphica-2.1.0-r1 (renamed from sci-visualization/scigraphica/files/digest-scigraphica-2.1.0)0
-rw-r--r--sci-visualization/scigraphica/files/scigraphica-2.1.0-arrayobject.patch (renamed from sci-visualization/scigraphica/files/scigraphica-2.1.0-configure.in.patch)3
-rw-r--r--sci-visualization/scigraphica/files/scigraphica-2.1.0-desktop.patch23
-rw-r--r--sci-visualization/scigraphica/files/scigraphica-2.1.0-intl.patch38
-rw-r--r--sci-visualization/scigraphica/files/scigraphica-2.1.0-versioning.patch25
-rw-r--r--sci-visualization/scigraphica/metadata.xml6
-rw-r--r--sci-visualization/scigraphica/scigraphica-2.1.0-r1.ebuild (renamed from sci-visualization/scigraphica/scigraphica-2.1.0.ebuild)26
16 files changed, 248 insertions, 26 deletions
diff --git a/sci-libs/libscigraphica/ChangeLog b/sci-libs/libscigraphica/ChangeLog
index 030471f52..e26ccb8dd 100644
--- a/sci-libs/libscigraphica/ChangeLog
+++ b/sci-libs/libscigraphica/ChangeLog
@@ -2,10 +2,23 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*libscigraphica-2.1.1-r1 (08 Jun 2006)
+
+ 08 Jun 2006; Sebastien Fabbro <seb@ist.utl.pt>
+ -libscigraphica-2.1.1.ebuild,
+ -files/libscigraphica-2.1.1-configure.in.patch,
+ +libscigraphica-2.1.1-r1.ebuild,
+ +files/libscigraphica-2.1.1-arrayobject.patch,
+ +files/libscigraphica-2.1.1-intl.patch,
+ +files/libscigraphica-2.1.1-libart.patch
+ Fixed compilation with gcc-41 and with as-needed, fixed libart deps,
+ and internationalization.
+
*libscigraphica-2.1.1 (20 May 2006)
20 May 2006; Sebastien Fabbro <seb@ist.utl.pt>
+libscigraphica-2.1.1.ebuild,
+files/libscigraphica-2.1.1-configure.in.patch
+metadata.xml Initial import. Closes bug #93095.
- Thanks to Jan Kohnert <bughunter@jankoh.dyndns.org>
+ Thanks to Jan Kohnert <bughunter@jankoh.dyndns.org>,
+ and Donnie Berkholz <spyderous@gentoo.org>.
diff --git a/sci-libs/libscigraphica/Manifest b/sci-libs/libscigraphica/Manifest
index d49ed19a9..980046c79 100644
--- a/sci-libs/libscigraphica/Manifest
+++ b/sci-libs/libscigraphica/Manifest
@@ -1,5 +1,7 @@
-MD5 e2826b8c4c11cf063eefb1461b5c0ec3 ChangeLog 398
-MD5 ff8634bac963de9ea1130997082ad1d7 files/digest-libscigraphica-2.1.1 72
-MD5 37e35001cfb7d40b53595a336b68c651 files/libscigraphica-2.1.1-configure.in.patch 928
-MD5 5f9151caf8a35e24dceb9667f2e744fa libscigraphica-2.1.1.ebuild 923
+MD5 f8b89d42953a9834cc360eb37eb973bd ChangeLog 886
+MD5 ff8634bac963de9ea1130997082ad1d7 files/digest-libscigraphica-2.1.1-r1 72
+MD5 268ddb0bb085c902d54b2885ea9025ce files/libscigraphica-2.1.1-arrayobject.patch 928
+MD5 a1c2360f577bbbec096174b93f84a366 files/libscigraphica-2.1.1-intl.patch 1828
+MD5 ae70dcbd0ebdc8a51cdbac60b351013a files/libscigraphica-2.1.1-libart.patch 900
+MD5 8a39763f9055a2c458f08a8c506cbeff libscigraphica-2.1.1-r1.ebuild 1133
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
diff --git a/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1 b/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1-r1
index fb120f16f..fb120f16f 100644
--- a/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1
+++ b/sci-libs/libscigraphica/files/digest-libscigraphica-2.1.1-r1
diff --git a/sci-libs/libscigraphica/files/libscigraphica-2.1.1-configure.in.patch b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch
index 4480f499a..dd443e0ba 100644
--- a/sci-libs/libscigraphica/files/libscigraphica-2.1.1-configure.in.patch
+++ b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-arrayobject.patch
@@ -1,5 +1,5 @@
--- libscigraphica-2.1.1/configure.in 2005-06-25 02:38:20.000000000 +0100
-+++ libscigraphica-2.1.1.new/configure.in 2006-05-21 14:44:07.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"
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 000000000..2065fe4ea
--- /dev/null
+++ b/sci-libs/libscigraphica/files/libscigraphica-2.1.1-intl.patch
@@ -0,0 +1,52 @@
+diff -urN libscigraphica-2.1.1/configure.in libscigraphica-2.1.1.new/configure.in
+--- libscigraphica-2.1.1/configure.in 2006-06-08 16:45:51.000000000 +0100
++++ libscigraphica-2.1.1.new/configure.in 2006-06-08 16:48:31.000000000 +0100
+@@ -186,12 +186,12 @@
+ dnl i18n internationalization
+ # 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")
++ALL_LINGUAS="es de nl"
++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-08 16:48:31.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-08 16:48:31.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 000000000..8a470c7c0
--- /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-r1.ebuild
index 73c6fd74f..863bf670d 100644
--- a/sci-libs/libscigraphica/libscigraphica-2.1.1.ebuild
+++ b/sci-libs/libscigraphica/libscigraphica-2.1.1-r1.ebuild
@@ -4,7 +4,7 @@
inherit autotools eutils
-DESCRIPTION="Libraries for Scigraphica - a scientific application for data analysis and technical graphics"
+DESCRIPTION="Libraries for data analysis and technical graphics"
SRC_URI="mirror://sourceforge/scigraphica/${P}.tar.gz"
HOMEPAGE="http://scigraphica.sourceforge.net/"
@@ -13,24 +13,34 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
DEPEND=">=x11-libs/gtk+extra-2.1.0
- >=dev-lang/python-2
>=dev-python/numarray-1.3.1
>=dev-libs/libxml2-2.4.10
- >=media-libs/libart_lgpl-2.3"
+ >=media-libs/libart_lgpl-2.3
+ >=intltool-0.27.2"
src_unpack() {
- unpack "${A}"
+
+ 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}"
- epatch "${FILESDIR}"/${P}-configure.in.patch
sed -i \
-e "s:/lib:/$(get_libdir):g" \
configure.in || die "sed for configure.in failed"
- eautoreconf || die "eautoreconf 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"
+ make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS ChangeLog FAQ.compile \
INSTALL NEWS README TODO
}
-
diff --git a/sci-visualization/scigraphica/ChangeLog b/sci-visualization/scigraphica/ChangeLog
index f7d754afc..3a3a34f63 100644
--- a/sci-visualization/scigraphica/ChangeLog
+++ b/sci-visualization/scigraphica/ChangeLog
@@ -2,6 +2,19 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*scigraphica-2.1.0-r1 (08 Jun 2006)
+
+ 08 Jun 2006; Sebastien Fabbro <seb@ist.utl.pt>
+ -scigraphica-2.1.0.ebuild,
+ -files/scigraphica-2.1.0-configure.in.patch,
+ +scigraphica-2.1.0-r1.ebuild,
+ +files/scigraphica-2.1.0-arrayobject.patch,
+ +files/scigraphica-2.1.0-intl.patch,
+ +files/scigraphica-2.1.0-desktop.patch
+ +files/scigraphica-2.1.0-versioning.patch
+ Fixed compilation with gcc-41 and with as-needed, deskop locations,
+ and internationalization.
+
*scigraphica-2.1.0 (20 May 2006)
20 May 2006; Sebastien Fabbro <seb@ist.utl.pt>
diff --git a/sci-visualization/scigraphica/Manifest b/sci-visualization/scigraphica/Manifest
index cb1dfa219..32182ba17 100644
--- a/sci-visualization/scigraphica/Manifest
+++ b/sci-visualization/scigraphica/Manifest
@@ -1,4 +1,8 @@
-MD5 b5bda0a146b7087f4b61bc6f2b20c2fc ChangeLog 2221
-MD5 57332e7677e7c610ea59d310a1af4c66 files/digest-scigraphica-2.1.0 69
-MD5 11c49b8e72228f0d5836e9cba9e8654f files/scigraphica-2.1.0-configure.in.patch 922
-MD5 88191af9d4089b002ce48f6784cc8d6f scigraphica-2.1.0.ebuild 994
+MD5 75bce2ae2bc737eed94b40221f76db2b ChangeLog 2685
+MD5 57332e7677e7c610ea59d310a1af4c66 files/digest-scigraphica-2.1.0-r1 69
+MD5 e8481260ee46ce21c979382ed3cf8147 files/scigraphica-2.1.0-arrayobject.patch 998
+MD5 20c893a4cbe9b57122650c6255aaf8a1 files/scigraphica-2.1.0-desktop.patch 856
+MD5 9dd695816513999fe3fb8478db0be38a files/scigraphica-2.1.0-intl.patch 1264
+MD5 01c9b8cbf5306f7a6fa8796543baa304 files/scigraphica-2.1.0-versioning.patch 902
+MD5 cb8cb07be7ae8cab04117263363d5d3f metadata.xml 157
+MD5 b845aa87b6e0fb897f7b1145db2ac0a7 scigraphica-2.1.0-r1.ebuild 1356
diff --git a/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0 b/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0-r1
index 1d1478a51..1d1478a51 100644
--- a/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0
+++ b/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0-r1
diff --git a/sci-visualization/scigraphica/files/scigraphica-2.1.0-configure.in.patch b/sci-visualization/scigraphica/files/scigraphica-2.1.0-arrayobject.patch
index 44eda16c9..faf851624 100644
--- a/sci-visualization/scigraphica/files/scigraphica-2.1.0-configure.in.patch
+++ b/sci-visualization/scigraphica/files/scigraphica-2.1.0-arrayobject.patch
@@ -1,5 +1,6 @@
+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-05-21 16:10:54.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"
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
index 000000000..d8d23ad5c
--- /dev/null
+++ b/sci-visualization/scigraphica/files/scigraphica-2.1.0-desktop.patch
@@ -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
index 000000000..56a247e60
--- /dev/null
+++ b/sci-visualization/scigraphica/files/scigraphica-2.1.0-intl.patch
@@ -0,0 +1,38 @@
+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:16:47.000000000 +0100
++++ scigraphica-2.1.0.new/configure.in 2006-06-08 17:18:24.000000000 +0100
+@@ -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/Makefile.am scigraphica-2.1.0.new/Makefile.am
+--- scigraphica-2.1.0/Makefile.am 2006-06-08 17:16:47.000000000 +0100
++++ scigraphica-2.1.0.new/Makefile.am 2006-06-08 17:18:24.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/po/POTFILES.in scigraphica-2.1.0.new/po/POTFILES.in
+--- scigraphica-2.1.0/po/POTFILES.in 1970-01-01 01:00:00.000000000 +0100
++++ scigraphica-2.1.0.new/po/POTFILES.in 2006-06-08 17:18:24.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
index 000000000..fe3dfd1a1
--- /dev/null
+++ b/sci-visualization/scigraphica/files/scigraphica-2.1.0-versioning.patch
@@ -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/metadata.xml b/sci-visualization/scigraphica/metadata.xml
new file mode 100644
index 000000000..2dc044b63
--- /dev/null
+++ b/sci-visualization/scigraphica/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+
+</pkgmetadata>
diff --git a/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild b/sci-visualization/scigraphica/scigraphica-2.1.0-r1.ebuild
index a84b2223b..9996f042d 100644
--- a/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild
+++ b/sci-visualization/scigraphica/scigraphica-2.1.0-r1.ebuild
@@ -11,19 +11,32 @@ HOMEPAGE="http://scigraphica.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
-
+IUSE=""
DEPEND=">=sci-libs/libscigraphica-2.1.0
- >=dev-python/pygtk-2.8.1-r1
+ >=dev-python/pygtk-2.6.1-r1
>=media-libs/imlib-1.9.7"
src_unpack() {
+
unpack "${A}"
cd "${S}"
- epatch "${FILESDIR}"/${P}-configure.in.patch
+
+ # 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"
- eautoreconf || die "eautoreconf failed"
+
+ einfo "Running intltoolize --copy --force --automake"
+ intltoolize --copy --force --automake || die "intltoolize failed"
+ eautoreconf
}
src_install() {
@@ -33,8 +46,7 @@ src_install() {
}
pkg_postinst() {
- ewarn "Please be shure to rm your old scigraphica"
+ ewarn "Please be sure to remove your old scigraphica"
ewarn "configuration directory."
- ewarn "Otherwise sg won't work."
- sleep 5
+ ewarn "Otherwise scigraphica won't work."
}