* [gentoo-commits] gentoo-x86 commit in sci-mathematics/singular: singular-3.1.4-r1.ebuild ChangeLog
@ 2012-05-13 6:42 Thomas Kahle (tomka)
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Kahle (tomka) @ 2012-05-13 6:42 UTC (permalink / raw
To: gentoo-commits
tomka 12/05/13 06:42:27
Modified: ChangeLog
Added: singular-3.1.4-r1.ebuild
Log:
Fix bug 414709. Thanks Jean-Francis Roy for the solution.
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Revision Changes Path
1.50 sci-mathematics/singular/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/ChangeLog?r1=1.49&r2=1.50
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog 24 Mar 2012 21:28:09 -0000 1.49
+++ ChangeLog 13 May 2012 06:42:27 -0000 1.50
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/singular
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.49 2012/03/24 21:28:09 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.50 2012/05/13 06:42:27 tomka Exp $
+
+*singular-3.1.4-r1 (13 May 2012)
+
+ 13 May 2012; Thomas Kahle <tomka@gentoo.org> +singular-3.1.4-r1.ebuild:
+ Fix bug 414709. Thanks Jean-Francis Roy for the solution.
*singular-3.1.4 (24 Mar 2012)
1.1 sci-mathematics/singular/singular-3.1.4-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild?rev=1.1&content-type=text/plain
Index: singular-3.1.4-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild,v 1.1 2012/05/13 06:42:27 tomka Exp $
EAPI="3"
WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix
PYTHON_DEPEND="python? 2"
# Upstream does not care about tests.
RESTRICT="test"
inherit autotools eutils elisp-common flag-o-matic multilib prefix python versionator
MY_PN=Singular
MY_PV=$(replace_all_version_separators -)
MY_DIR=$(get_version_component_range 1-3 ${MY_PV})
# There 'share' tarball does not get updated on every release
MY_SHARE_DIR="3-1-4"
MY_PV_SHARE="${MY_PV}"
DESCRIPTION="Computer algebra system for polynomial computations"
HOMEPAGE="http://www.singular.uni-kl.de/"
SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/"
# Share stuff did not see a new version:
SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz
${SRC_COM}${MY_SHARE_DIR}/Singular-${MY_PV_SHARE}-share.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~x86-macos"
IUSE="boost doc emacs examples python +readline test"
RDEPEND="dev-libs/gmp
>=dev-libs/ntl-5.5.1
emacs? ( >=virtual/emacs-22 )"
DEPEND="${RDEPEND}
dev-lang/perl
boost? ( dev-libs/boost )
readline? ( sys-libs/readline )"
S="${WORKDIR}"/${MY_PN}-${MY_DIR}
SITEFILE=60${PN}-gentoo.el
pkg_setup() {
append-flags "-fPIC"
append-ldflags "-fPIC"
tc-export CC CPP CXX
# Ensure that >=emacs-22 is selected
if use emacs; then
elisp-need-emacs 22 || die "Emacs version too low"
fi
if use python; then
python_set_active_version 2
python_pkg_setup
fi
}
src_prepare () {
epatch "${FILESDIR}"/${PN}-3.1.0-gentoo.patch
epatch "${FILESDIR}"/${PN}-3.1.0-emacs-22.patch
epatch "${FILESDIR}"/${PN}-3.0.4.4-nostrip.patch
epatch "${FILESDIR}"/${PN}-3.1.3.3-Minor.h.patch
use python && epatch "${FILESDIR}"/${PN}-3.1.3.2-python.patch
if [[ ${CHOST} == *-darwin* ]] ; then
epatch "${FILESDIR}"/${PN}-3.1.3.3-install_name.patch
eprefixify kernel/Makefile.in
eprefixify Singular/Makefile.in
fi
eprefixify kernel/feResource.cc
# The SLDFLAGS mangling prevents passing raw LDLAGS to gcc (see e.g. bug 414709)
sed -i \
-e "/CXXFLAGS/ s/--no-exceptions//g" \
-e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"\n\t \tSLDFLAGS2=\"${LDFLAGS} -shared\"/" \
-e "s/ SLDFLAGS=/ SLDFLAGS=\n SLDFLAGS2=/" \
-e "s/AC_SUBST(SLDFLAGS)/AC_SUBST(SLDFLAGS)\nAC_SUBST(SLDFLAGS2)/" \
"${S}"/Singular/configure.in || die
sed -i \
-e "s/@SLDFLAGS@/@SLDFLAGS@\nSLDFLAGS2\t= @SLDFLAGS2@/" \
-e "/\$(CXX).*SLDFLAGS/s/SLDFLAGS/SLDFLAGS2/" \
"${S}"/Singular/Makefile.in || die
cd "${S}"/Singular || die "failed to cd into Singular/"
eautoconf
}
src_configure() {
econf \
--prefix="${S}"/build \
--exec-prefix="${S}"/build \
--bindir="${S}"/build/bin \
--libdir="${S}"/build/lib \
--libexecdir="${S}"/build/lib \
--includedir="${S}"/build/include \
--with-apint=gmp \
--with-gmp="${EPREFIX}"/usr \
--disable-NTL \
--disable-debug \
--disable-doc \
--without-MP \
--enable-factory \
--enable-libfac \
--enable-IntegerProgramming \
--enable-Singular \
--with-malloc=system \
$(use_with python python embed) \
$(use_with boost Boost) \
$(use_enable emacs) \
$(use_with readline) || die "configure failed"
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_test() {
# Tests fail to link -lsingular, upstream ticket #243
emake test || die "tests failed"
}
src_install () {
dodoc README
# execs and libraries
cd "${S}"/build/bin
dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \
|| die "failed to install binaries"
insinto /usr/$(get_libdir)/${PN}
doins *.so || die "failed to install libraries"
dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \
|| die "failed to create symbolic link"
# stuff from the share tar ball
cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}
insinto /usr/share/${PN}
doins -r LIB || die "failed to install lib files"
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples || die "failed to install examples"
fi
if use doc; then
dohtml -r html/* || die "failed to install html docs"
insinto /usr/share/${PN}
doins doc/singular.idx || die "failed to install idx file"
cp info/${PN}.hlp info/${PN}.info &&
doinfo info/${PN}.info \
|| die "failed to install info files"
fi
if use emacs; then
elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \
|| die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
}
pkg_postinst() {
einfo "The authors ask you to register as a SINGULAR user."
einfo "Please check the license file for details."
if use emacs; then
echo
ewarn "Please note that the ESingular emacs wrapper has been"
ewarn "removed in favor of full fledged singular support within"
ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs"
ewarn "and you should be good to go! See bug #193411 for more info."
echo
fi
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/singular: singular-3.1.4-r1.ebuild ChangeLog
@ 2012-06-23 10:50 Kacper Kowalik (xarthisius)
0 siblings, 0 replies; 2+ messages in thread
From: Kacper Kowalik (xarthisius) @ 2012-06-23 10:50 UTC (permalink / raw
To: gentoo-commits
xarthisius 12/06/23 10:50:20
Modified: singular-3.1.4-r1.ebuild ChangeLog
Log:
ppc stable wrt #418407
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Revision Changes Path
1.4 sci-mathematics/singular/singular-3.1.4-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild?r1=1.3&r2=1.4
Index: singular-3.1.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- singular-3.1.4-r1.ebuild 4 Jun 2012 13:54:35 -0000 1.3
+++ singular-3.1.4-r1.ebuild 23 Jun 2012 10:50:20 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild,v 1.3 2012/06/04 13:54:35 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild,v 1.4 2012/06/23 10:50:20 xarthisius Exp $
EAPI="3"
WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix
@@ -28,7 +28,7 @@
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~x86-linux ~x86-macos"
+KEYWORDS="amd64 ppc x86 ~x86-linux ~x86-macos"
IUSE="boost doc emacs examples python +readline test"
RDEPEND="dev-libs/gmp
1.53 sci-mathematics/singular/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/ChangeLog?rev=1.53&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/ChangeLog?rev=1.53&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/singular/ChangeLog?r1=1.52&r2=1.53
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- ChangeLog 4 Jun 2012 13:54:35 -0000 1.52
+++ ChangeLog 23 Jun 2012 10:50:20 -0000 1.53
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/singular
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.52 2012/06/04 13:54:35 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.53 2012/06/23 10:50:20 xarthisius Exp $
+
+ 23 Jun 2012; Kacper Kowalik <xarthisius.kk@gmail.com>
+ singular-3.1.4-r1.ebuild:
+ ppc stable wrt #418407
04 Jun 2012; Thomas Kahle <tomka@gentoo.org> singular-3.1.4-r1.ebuild:
marked x86 per bug 418407
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-23 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-13 6:42 [gentoo-commits] gentoo-x86 commit in sci-mathematics/singular: singular-3.1.4-r1.ebuild ChangeLog Thomas Kahle (tomka)
-- strict thread matches above, loose matches on Subject: below --
2012-06-23 10:50 Kacper Kowalik (xarthisius)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox