diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-05-11 12:39:45 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-05-11 12:39:45 +0000 |
commit | 195848c0cee47f383ed9ba88293060db79c757de (patch) | |
tree | c2fc1fc65d3174dfefbee4fea74a457faf9faf51 /app-sci | |
parent | Added ~sparc keyword. (Manifest recommit) (diff) | |
download | gentoo-2-195848c0cee47f383ed9ba88293060db79c757de.tar.gz gentoo-2-195848c0cee47f383ed9ba88293060db79c757de.tar.bz2 gentoo-2-195848c0cee47f383ed9ba88293060db79c757de.zip |
Fixing bug #44355
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/pari/ChangeLog | 9 | ||||
-rw-r--r-- | app-sci/pari/Manifest | 7 | ||||
-rw-r--r-- | app-sci/pari/files/digest-pari-2.1.5-r3 | 1 | ||||
-rw-r--r-- | app-sci/pari/files/docs.patch | 30 | ||||
-rw-r--r-- | app-sci/pari/pari-2.1.5-r3.ebuild | 56 |
5 files changed, 100 insertions, 3 deletions
diff --git a/app-sci/pari/ChangeLog b/app-sci/pari/ChangeLog index 8f69ab1c6910..b6b47c3f387f 100644 --- a/app-sci/pari/ChangeLog +++ b/app-sci/pari/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-sci/pari # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/ChangeLog,v 1.17 2004/05/08 10:30:34 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/ChangeLog,v 1.18 2004/05/11 12:39:45 phosphan Exp $ + +*pari-2.1.5-r3 (11 May 2004) + + 11 May 2004; Patrick Kursawe <phosphan@gentoo.org> pari-2.1.5-r3.ebuild, + files/docs.patch: + Fixing some of the TeX sources for the docs and adding the emacs file when + emacs is in USE (see bug #44355) 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.5-r2.ebuild: Shared library will now be built with -fPIC, solves BUG #49853. diff --git a/app-sci/pari/Manifest b/app-sci/pari/Manifest index aff7ed5d6c6f..c4d9cc3fba79 100644 --- a/app-sci/pari/Manifest +++ b/app-sci/pari/Manifest @@ -1,6 +1,9 @@ -MD5 f4fba199f8d36936d1b981e8a959f3e8 ChangeLog 1968 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 a11f2b19ffe6a6de44f35d43e1ff15ae pari-2.1.5-r1.ebuild 954 +MD5 486f1d0eb0951a8f6fbefead4eb634c1 pari-2.1.5-r3.ebuild 1555 MD5 cb4653e9ab6dc9521ed55e737183bfff pari-2.1.5-r2.ebuild 1378 +MD5 f4fba199f8d36936d1b981e8a959f3e8 ChangeLog 1968 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 7e2693601ec31df0beb40ea55055ac10 files/docs.patch 1995 MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r1 63 MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r2 63 +MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r3 63 diff --git a/app-sci/pari/files/digest-pari-2.1.5-r3 b/app-sci/pari/files/digest-pari-2.1.5-r3 new file mode 100644 index 000000000000..2e0d53a28384 --- /dev/null +++ b/app-sci/pari/files/digest-pari-2.1.5-r3 @@ -0,0 +1 @@ +MD5 194e9d1cc11926e457028c6a7cba15f0 pari-2.1.5.tar.gz 1540679 diff --git a/app-sci/pari/files/docs.patch b/app-sci/pari/files/docs.patch new file mode 100644 index 000000000000..1a5b251b41d7 --- /dev/null +++ b/app-sci/pari/files/docs.patch @@ -0,0 +1,30 @@ +*** doc/refcard.tex Mon Nov 6 19:59:00 2000 +--- doc/refcard.tex.new Tue Jun 24 03:07:15 2003 +*************** +*** 17,23 **** +--- 17,29 ---- + %% which I modified from his GNU emacs reference card + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \def\TITLE{Pari-GP reference card} ++ % ignore parimacro.tex's \magnification setting ++ \let\oldmagnification\magnification ++ \catcode`@=11 ++ \def\magnification{\afterassignment\relax\count@}% ++ \catcode`@=12 + \input parimacro.tex ++ \let\magnification\oldmagnification + \ifPDF + \input pdfmacs.tex + \pdfpagewidth=11.69in +*** doc/users.tex Mon Nov 6 19:59:01 2000 +--- doc/users.tex.new Tue Jun 24 03:07:15 2003 +*************** +*** 63,69 **** + \ifPDF \writesecnumbers \fi + \expandafter\end % stop here the first time (don't process index) + \fi +- \newpage + + \ifPDF + % Add a bookmark entry for the index. CHB +--- 63,68 ---- diff --git a/app-sci/pari/pari-2.1.5-r3.ebuild b/app-sci/pari/pari-2.1.5-r3.ebuild new file mode 100644 index 000000000000..326ba634f491 --- /dev/null +++ b/app-sci/pari/pari-2.1.5-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/pari-2.1.5-r3.ebuild,v 1.1 2004/05/11 12:39:45 phosphan Exp $ + +inherit eutils + +DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" +HOMEPAGE="http://www.parigp-home.de/" +SRC_URI="http://www.gn-50uma.de/ftp/pari-2.1/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa ~amd64" + +IUSE="doc emacs" + +DEPEND="doc? ( virtual/tetex )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/docs.patch +} + +src_compile() { + ./Configure \ + --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \ + --prefix=/usr \ + --miscdir=/usr/share/doc/${P} \ + --datadir=/usr/share/${P} \ + --mandir=/usr/share/man/man1 || die "./configure failed" + addwrite "/var/lib/texmf" + addwrite "/usr/share/texmf" + addwrite "/var/cache/fonts" + if [ `use amd64` ]; then + # Fixes BUG #49583 + einfo "Building shared library..." + cd Olinux-x86_64 + emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" + einfo "Building executables..." + emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exectuables failed!" + else + emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp || die + fi + use doc || rm -rf doc/*.tex + use doc && emake doc +} + +src_install () { + make DESTDIR=${D} install || die + if use emacs; then + insinto /usr/share/emacs/site-lisp + doins emacs/pari.el + fi + dodoc AUTHORS Announce.2.1 CHANGES README TODO +} |