summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-10-13 19:46:14 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-10-13 19:46:14 +0000
commitfa84e5ac0354cd41076fbc776ea0cf2b3742a19e (patch)
tree38111e0e1901a2213dc7d9a332e13d45642533ba /sci-mathematics/singular
parentstable on ppc (Bug #145409) (diff)
downloadhistorical-fa84e5ac0354cd41076fbc776ea0cf2b3742a19e.tar.gz
historical-fa84e5ac0354cd41076fbc776ea0cf2b3742a19e.tar.bz2
historical-fa84e5ac0354cd41076fbc776ea0cf2b3742a19e.zip
Version bump. This fixes bug #151054.
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'sci-mathematics/singular')
-rw-r--r--sci-mathematics/singular/ChangeLog8
-rw-r--r--sci-mathematics/singular/Manifest31
-rw-r--r--sci-mathematics/singular/files/digest-singular-3.0.2.16
-rw-r--r--sci-mathematics/singular/files/singular-3.0.2-gentoo.diff83
-rw-r--r--sci-mathematics/singular/singular-3.0.2.1.ebuild118
5 files changed, 231 insertions, 15 deletions
diff --git a/sci-mathematics/singular/ChangeLog b/sci-mathematics/singular/ChangeLog
index 31f74e51250c..8d3ec4a038d1 100644
--- a/sci-mathematics/singular/ChangeLog
+++ b/sci-mathematics/singular/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/singular
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.13 2006/09/10 06:05:37 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.14 2006/10/13 19:46:14 markusle Exp $
+
+*singular-3.0.2.1 (13 Oct 2006)
+
+ 13 Oct 2006; Markus Dittrich <markusle@gentoo.org>
+ +files/singular-3.0.2-gentoo.diff, singular-3.0.2.1.ebuild:
+ Version bump. This fixes bug #151054.
09 Sep 2006; Stephanie Lockwood-Childs <wormo@gentoo.org>
singular-3.0.1.2.ebuild:
diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest
index c0cd6798edbb..86ba9f452fe6 100644
--- a/sci-mathematics/singular/Manifest
+++ b/sci-mathematics/singular/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX fake_ssh 150 RMD160 2dad828186e9d00663b87b38ebacc7bbbdd81057 SHA1 6a43ea25d66d89cbc906086f796eeff61fce7341 SHA256 b8983f7d6e1ffeb7fa402f737f18ac61225ea8eae86272b9961859614d0737a3
MD5 b1383ace2a0b30413341982e4e34341f files/fake_ssh 150
RMD160 2dad828186e9d00663b87b38ebacc7bbbdd81057 files/fake_ssh 150
@@ -17,9 +14,15 @@ AUX singular-3.0.1.2-gcc4.1-gentoo.patch 2603 RMD160 2b8ba6154bdd6e1a57f1093d966
MD5 5c2d1fb9acfaec5afb8fb7005262d1c4 files/singular-3.0.1.2-gcc4.1-gentoo.patch 2603
RMD160 2b8ba6154bdd6e1a57f1093d966cb11874c05390 files/singular-3.0.1.2-gcc4.1-gentoo.patch 2603
SHA256 748752eaddcbbcd181f50e497c8bdcb714f7a2f4434ddeacac679c6c0bc842e3 files/singular-3.0.1.2-gcc4.1-gentoo.patch 2603
+AUX singular-3.0.2-gentoo.diff 4550 RMD160 cd095f131c22e0ab9df308333e730a5551883753 SHA1 1e0a043371559eb00e61784ecbc3b45ac5ee1654 SHA256 1236a16e83448f58b70ef94abd8810b3de4a93d6ad807b5cc8db33932d57f7f3
+MD5 8f5cffaf8a0919ca811ca75a2164b28d files/singular-3.0.2-gentoo.diff 4550
+RMD160 cd095f131c22e0ab9df308333e730a5551883753 files/singular-3.0.2-gentoo.diff 4550
+SHA256 1236a16e83448f58b70ef94abd8810b3de4a93d6ad807b5cc8db33932d57f7f3 files/singular-3.0.2-gentoo.diff 4550
DIST Singular-3-0-1-1.tar.gz 10612472
DIST Singular-3-0-1-2.tar.gz 10741252 RMD160 bcfb83fe7a57658865aa69fc526e01413fb3da81 SHA1 a95aa909bfa20145df0eb1a345ae1476116af5fd SHA256 3d50427b17cef0a2ac36d302bf7421a4cb06df24139d5386c64d14a07e7cd399
DIST Singular-3-0-1-share.tar.gz 3909236 RMD160 f1a1792cbb0688e1353285f898a2e40bc88fd4f6 SHA1 d7c07192707dbc6f916b3c5d704bae216f0834ff SHA256 5b8647886e15ca0a296a7d08a4161ecdc6fe5ef558cd9b36acda95a21a0883a2
+DIST Singular-3-0-2-1.tar.gz 11033718 RMD160 49bb622e42cb579c39dbdab5ff484ffdd88a9d1a SHA1 52d75dc9ed794c1547f523cd83fe5e3322a03068 SHA256 a9a4e8fa075e25e3ccb993007e4ce45f4ba41276531404984bbb4152e11ff491
+DIST Singular-3-0-2-share.tar.gz 4152789 RMD160 464cb5352b372298cc598899beeff425b36172c2 SHA1 b4190a6952341f0ecfab0caa8c1d37cee47ac762 SHA256 a91debca0cddb4c67e922500998d061a20898429535dd633b02b613b96b1cf62
DIST Singular-IntProg-2-0-4a.tar.gz 85619
DIST Singular-MP-2-0-5.tar.gz 365390
DIST Singular-NTL-5.3.1.tar.gz 655942
@@ -44,10 +47,14 @@ EBUILD singular-3.0.1.2.ebuild 3124 RMD160 e9673534449b84e3c3a8a13a5b960ff862364
MD5 29e4f70fa1d59e1c5592a637074e3962 singular-3.0.1.2.ebuild 3124
RMD160 e9673534449b84e3c3a8a13a5b960ff8623641dc singular-3.0.1.2.ebuild 3124
SHA256 43150afd4c1b936ef06ee473d79b8d9c8e4eeaaeb147a6633092023c6f34b754 singular-3.0.1.2.ebuild 3124
-MISC ChangeLog 5011 RMD160 2094dea7de90dfa2a64c8fa51f4ea6b829d6349a SHA1 01cb11cecd9f70b2fcdfb11efd74c66a1cf7045e SHA256 21d2e80e8f046e5606ba329dacbff03b21423e55be061ba058cded01c693c59d
-MD5 ab9ae14d3a0950b40ee3dd09ba044c69 ChangeLog 5011
-RMD160 2094dea7de90dfa2a64c8fa51f4ea6b829d6349a ChangeLog 5011
-SHA256 21d2e80e8f046e5606ba329dacbff03b21423e55be061ba058cded01c693c59d ChangeLog 5011
+EBUILD singular-3.0.2.1.ebuild 3189 RMD160 8546c8158d4741af78cbf6f5cee1f9d8dba60e85 SHA1 9a854badd8d76092c43f58a764bc0f68b52540e3 SHA256 5e014ab3c8a9d258dab51f636073826ecf831c657fb00f2aa63a5b01f43d2ed5
+MD5 2dc56e26bf8404f817a0ef679e5f225b singular-3.0.2.1.ebuild 3189
+RMD160 8546c8158d4741af78cbf6f5cee1f9d8dba60e85 singular-3.0.2.1.ebuild 3189
+SHA256 5e014ab3c8a9d258dab51f636073826ecf831c657fb00f2aa63a5b01f43d2ed5 singular-3.0.2.1.ebuild 3189
+MISC ChangeLog 5203 RMD160 92fcf47f2f5b2eff4cc56af6b9f30ad2fbf667d1 SHA1 b6ff2cfe2ef0935e52c490ac18b54c7c9f5304ce SHA256 696348dc6524f774bb1efd27f96b03660958c20591ed3689236f0f090f7ed5d1
+MD5 5cbedb968cc2b9b50a361dbf1894c361 ChangeLog 5203
+RMD160 92fcf47f2f5b2eff4cc56af6b9f30ad2fbf667d1 ChangeLog 5203
+SHA256 696348dc6524f774bb1efd27f96b03660958c20591ed3689236f0f090f7ed5d1 ChangeLog 5203
MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9
MD5 30bc69a424d7634aae9c1e4203365d3d metadata.xml 168
RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 metadata.xml 168
@@ -61,10 +68,6 @@ SHA256 96b498d0c3f92adbbe7b39cd99f14f6f48cd506d56f98ed0b639b80fac7fbf9c files/di
MD5 e670be22aaab8d30f92775a29cf3181f files/digest-singular-3.0.1.2 521
RMD160 426474889edd4e83d3a500eaa31168a442809763 files/digest-singular-3.0.1.2 521
SHA256 94836cdbfb1cb355a3e4055100e15a0a6297eeaf2a74ba9bca2bdc50741a752d files/digest-singular-3.0.1.2 521
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFFA6pa/NoSW7FuNV8RAgr6AJ9oq3lpbAuAJbfGk+h+KlWNcsEqgwCfS72Q
-BcXEOJlkmJx8bjvXhsRm9UI=
-=0exs
------END PGP SIGNATURE-----
+MD5 788d935d40a45b596660ac4cbd27c17c files/digest-singular-3.0.2.1 521
+RMD160 db3980b2fe3cc6ec9604fa4612f6ce3fd80eec1e files/digest-singular-3.0.2.1 521
+SHA256 90462cae909b7d20eefc41ab36dd991770f3ac34219ce6d3ca6630a72dce7af1 files/digest-singular-3.0.2.1 521
diff --git a/sci-mathematics/singular/files/digest-singular-3.0.2.1 b/sci-mathematics/singular/files/digest-singular-3.0.2.1
new file mode 100644
index 000000000000..5db1deb294d8
--- /dev/null
+++ b/sci-mathematics/singular/files/digest-singular-3.0.2.1
@@ -0,0 +1,6 @@
+MD5 9435390a16776d3cd8e3aeb756b6c610 Singular-3-0-2-1.tar.gz 11033718
+RMD160 49bb622e42cb579c39dbdab5ff484ffdd88a9d1a Singular-3-0-2-1.tar.gz 11033718
+SHA256 a9a4e8fa075e25e3ccb993007e4ce45f4ba41276531404984bbb4152e11ff491 Singular-3-0-2-1.tar.gz 11033718
+MD5 4f8ae87392b19e8cbca14df7ee844d97 Singular-3-0-2-share.tar.gz 4152789
+RMD160 464cb5352b372298cc598899beeff425b36172c2 Singular-3-0-2-share.tar.gz 4152789
+SHA256 a91debca0cddb4c67e922500998d061a20898429535dd633b02b613b96b1cf62 Singular-3-0-2-share.tar.gz 4152789
diff --git a/sci-mathematics/singular/files/singular-3.0.2-gentoo.diff b/sci-mathematics/singular/files/singular-3.0.2-gentoo.diff
new file mode 100644
index 000000000000..165eadd28c7b
--- /dev/null
+++ b/sci-mathematics/singular/files/singular-3.0.2-gentoo.diff
@@ -0,0 +1,83 @@
+diff -Naur Singular-3-0-2/kernel/feResource.cc Singular-3-0-2-new/kernel/feResource.cc
+--- Singular-3-0-2/kernel/feResource.cc 2005-11-21 06:05:26.000000000 -0500
++++ Singular-3-0-2-new/kernel/feResource.cc 2006-10-12 22:15:28.000000000 -0400
+@@ -41,7 +41,7 @@
+ #define SINGULAR_DEFAULT_DIR "/usr/local/Singular/"S_VERSION1
+ #endif
+ #else // ! defined(MAKE_DISTRIBUTION)
+-#define SINGULAR_DEFAULT_DIR S_ROOT_DIR
++#define SINGULAR_DEFAULT_DIR "/usr"
+ #endif // defined(MAKE_DISTRIBUTION)
+
+ /*****************************************************************
+@@ -73,33 +73,31 @@
+ {
+ {"SearchPath", 's', feResPath, NULL,
+ "$SINGULARPATH;"
+- "%b/LIB;"
+- "%b/MOD;"
++ "%r/share/singular/MOD;"
+ "%r/LIB;"
+- "%r/../LIB;"
++ "%r/share/singular/LIB;"
+ "%d/LIB;"
+- "%d/../LIB"
+ ""},
+- {"Singular", 'S', feResBinary,"SINGULAR_EXECUTABLE", "%d/"S_UNAME"/Singular",""},
+- {"BinDir", 'b', feResDir, "SINGULAR_BIN_DIR", "%d/"S_UNAME ""},
+- {"RootDir", 'r', feResDir, "SINGULAR_ROOT_DIR", "%b/..", ""},
++ {"Singular", 'S', feResBinary,"SINGULAR_EXECUTABLE", "%d/bin/Singular",""},
++ {"BinDir", 'b', feResDir, "SINGULAR_BIN_DIR", "%d/bin" ""},
++ {"RootDir", 'r', feResDir, "SINGULAR_ROOT_DIR", "%d", ""},
+ {"DefaultDir",'d', feResDir, "SINGULAR_DEFAULT_DIR", SINGULAR_DEFAULT_DIR, ""},
+- {"InfoFile", 'i', feResFile, "SINGULAR_INFO_FILE", "%r/info/singular.hlp", ""},
+- {"IdxFile", 'x', feResFile, "SINGULAR_IDX_FILE", "%r/doc/singular.idx", ""},
+- {"HtmlDir", 'h', feResDir, "SINGULAR_HTML_DIR", "%r/html", ""},
++ {"InfoFile", 'i', feResFile, "SINGULAR_INFO_FILE", "%r/share/singular/singular.hlp", ""},
++ {"IdxFile", 'x', feResFile, "SINGULAR_IDX_FILE", "%r/share/singular/singular.idx", ""},
++ {"HtmlDir", 'h', feResDir, "SINGULAR_HTML_DIR", "%r/share/doc/PFSUBST/html", ""},
+ #ifdef ix86_Win
+ {"HtmlHelpFile", 'C', feResFile, "SINGULAR_CHM_FILE", "%r/doc/Manual.chm", ""},
+ #endif
+ {"ManualUrl", 'u', feResUrl, "SINGULAR_URL", "http://www.singular.uni-kl.de/Manual/"S_VERSION1, ""},
+- {"ExDir", 'm', feResDir, "SINGULAR_EXAMPLES_DIR","%r/examples", ""},
++ {"ExDir", 'm', feResDir, "SINGULAR_EXAMPLES_DIR","%r/share/doc/PFSUBST/examples", ""},
+ {"Path", 'p', feResPath, NULL, "%b;$PATH", ""},
+
+ #ifdef ESINGULAR
+ {"emacs", 'E', feResBinary, "ESINGULAR_EMACS", "%b/emacs", ""},
+ {"xemacs", 'A', feResBinary, "ESINGULAR_EMACS", "%b/xemacs", ""},
+ {"SingularEmacs",'M',feResBinary, "ESINGULAR_SINGULAR", "%b/Singular", ""},
+- {"EmacsLoad",'l', feResFile, "ESINGULAR_EMACS_LOAD", "%e/.emacs-singular", ""},
+- {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "%r/emacs", ""},
++ {"EmacsLoad",'l', feResFile, "ESINGULAR_EMACS_LOAD", "%r/share/singular/emacs/.emacs-singular", ""},
++ {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "%r/share/singular/emacs", ""},
+ #elif defined(TSINGULAR)
+ {"SingularXterm",'M',feResBinary, "TSINGULAR_SINGULAR", "%b/Singular", ""},
+ #ifdef ix86_Win
+@@ -108,7 +106,7 @@
+ {"xterm", 'X', feResBinary,"XTERM", "%b/xterm", ""},
+ #endif
+ #else
+- {"EmacsDir", 'e', feResDir, "SINGULAR_EMACS_DIR", "%r/emacs", ""},
++ {"EmacsDir", 'e', feResDir, "SINGULAR_EMACS_DIR", "%r/share/singular/emacs", ""},
+ #endif
+ {NULL, 0, feResUndef, NULL, NULL, NULL}, // must be the last record
+ };
+diff -Naur Singular-3-0-2/kernel/mod_raw.cc Singular-3-0-2-new/kernel/mod_raw.cc
+--- Singular-3-0-2/kernel/mod_raw.cc 2006-07-18 15:35:44.000000000 -0400
++++ Singular-3-0-2-new/kernel/mod_raw.cc 2006-10-12 22:15:28.000000000 -0400
+@@ -111,11 +111,11 @@
+ void* dynl_open_binary_warn(char* binary_name, const char* msg)
+ {
+ void* handle = NULL;
+- const char* bin_dir = feGetResource('b');
++ const char* bin_dir = feGetResource('r');
+ if (bin_dir != NULL)
+ {
+ char path_name[MAXPATHLEN];
+- sprintf(path_name, "%s%s%s.%s", bin_dir, DIR_SEPP, binary_name,
++ sprintf(path_name, "%s%s%s%s.%s", bin_dir,"/lib/singular", DIR_SEPP, binary_name,
+ DL_TAIL);
+ handle = dynl_open(path_name);
+ if (handle == NULL && ! warn_handle)
diff --git a/sci-mathematics/singular/singular-3.0.2.1.ebuild b/sci-mathematics/singular/singular-3.0.2.1.ebuild
new file mode 100644
index 000000000000..b7322a36cc8b
--- /dev/null
+++ b/sci-mathematics/singular/singular-3.0.2.1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.0.2.1.ebuild,v 1.1 2006/10/13 19:46:14 markusle Exp $
+
+inherit eutils flag-o-matic autotools
+
+PV_MAJOR=${PV%.*}
+MY_PV=${PV//./-}
+MY_PN=${PN/s/S}
+MY_PV_MAJOR=${MY_PV%-*}
+
+DESCRIPTION="Computer algebra system for polynomial computations"
+HOMEPAGE="http://www.singular.uni-kl.de/"
+SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/$MY_PV_MAJOR/${MY_PN}-${MY_PV}.tar.gz
+ ftp://www.mathematik.uni-kl.de/pub/Math/Singular/UNIX/${MY_PN}-3-0-2-share.tar.gz"
+
+LICENSE="singular"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="doc emacs boost"
+
+DEPEND=">=dev-lang/perl-5.6
+ >=dev-libs/gmp-4.1-r1
+ emacs? ( || ( virtual/xemacs
+ virtual/emacs ) )
+ boost? ( dev-libs/boost )"
+
+
+
+S="${WORKDIR}"/${MY_PN}-${MY_PV_MAJOR}
+
+src_unpack () {
+ unpack ${A}
+ epatch "${FILESDIR}"/${PN}-${PV_MAJOR}-gentoo.diff
+
+ cd "${S}"/kernel
+ sed -e "s/PFSUBST/${PF}/" -i feResource.cc || \
+ die "sed failed on feResource.cc"
+
+ cd "${S}"/Singular
+ if ! use boost; then
+ sed -e "s/AC_CHECK_HEADERS(boost/#AC_CHECK_HEADERS(boost/" \
+ -i configure.in || \
+ die "failed to fix detection of boost headers"
+ else
+ # -no-exceptions and boost don't play well
+ sed -e "/CXXFLAGS/ s/--no-exceptions//g" \
+ -i configure.in || \
+ die "sed failed on configure"
+ fi
+ eautoconf
+}
+
+src_compile() {
+ local myconf="${myconf} --disable-doc --without-MP --with-factory --with-libfac --with-gmp --prefix=${S}"
+ econf $(use_enable emacs) \
+ ${myconf} || die "econf failed"
+ emake -j1 || die "make failed"
+}
+
+src_install () {
+ # install basic docs
+ cd "${S}" && dodoc BUGS ChangeLog || \
+ die "failed to install docs"
+
+ # install data files
+ insinto /usr/share/${PN}/LIB
+ cd "${S}"/${MY_PN}/LIB && doins *.lib COPYING help.cnf || \
+ die "failed to install lib files"
+ insinto /usr/share/${PN}/LIB/gftables
+ cd gftables && doins * \
+ || die "failed to install files int LIB/gftables"
+
+ cd "${S}"/*-Linux
+
+ # install binaries
+ rm ${MY_PN} || die "failed to remove ${MY_PN}"
+ dobin ${MY_PN}* gen_test change_cost solve_IP \
+ toric_ideal LLL || die "failed to install binaries"
+
+ if use emacs; then
+ dobin E${MY_PN} || die "failed to install ESingular"
+ fi
+
+ # install libraries
+ insinto /usr/lib/${PN}
+ doins *.so || die "failed to install libraries"
+
+ # create symbolic link
+ dosym /usr/bin/${MY_PN}-${MY_PV_MAJOR} /usr/bin/${MY_PN} || \
+ die "failed to create symbolic link"
+
+ # install examples
+ cd "${WORKDIR}"/${MY_PN}/${MY_PV_MAJOR}
+ insinto /usr/share/${PN}/examples
+ doins examples/* || die "failed to install examples"
+
+ # install extended docs
+ if use doc; then
+ dohtml -r html/* || die "failed to install html docs"
+
+ cp info/${PN}.hlp info/${PN}.info &&
+ doinfo info/${PN}.info || \
+ die "failed to install info files"
+ fi
+
+ # install emacs specific stuff
+ if use emacs; then
+ insinto /usr/share/${PN}/emacs
+ doins emacs/* && doins emacs/.emacs* || \
+ die "failed to set up emacs files"
+ fi
+}
+
+pkg_postinst() {
+ einfo "The authors ask you to register as a SINGULAR user."
+ einfo "Please check the license file for details."
+}