Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131567 Details for
Bug 193378
Fix Emacs support of sci-mathematics/pari
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for pari ebuild
pari_emacs.patch (text/plain), 2.09 KB, created by
Christian Faulhammer (RETIRED)
on 2007-09-22 01:04:40 UTC
(
hide
)
Description:
Patch for pari ebuild
Filename:
MIME Type:
Creator:
Christian Faulhammer (RETIRED)
Created:
2007-09-22 01:04:40 UTC
Size:
2.09 KB
patch
obsolete
>--- /tmp/pari-2.3.2.ebuild 2007-09-22 02:20:47.000000000 +0200 >+++ pari-2.3.2.ebuild 2007-09-22 02:52:33.000000000 +0200 >@@ -2,9 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild,v 1.3 2007/09/15 12:38:36 markusle Exp $ > >-inherit eutils toolchain-funcs flag-o-matic >+inherit elisp-common eutils flag-o-matic multilib toolchain-funcs > >-DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" >+DESCRIPTION="A software package for computer-aided number theory" > HOMEPAGE="http://pari.math.u-bordeaux.fr/" > SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/${P}.tar.gz" > >@@ -15,7 +15,9 @@ > > DEPEND="doc? ( virtual/tetex ) > sys-libs/readline >- X? ( x11-libs/libX11 )" >+ X? ( x11-libs/libX11 ) >+ emacs? ( virtual/emacs )" >+SITEFILE=50${PN}-gentoo.el > > src_unpack() { > unpack ${A} >@@ -66,6 +68,11 @@ > cd "${S}" > emake docpdf || die "Failed to generate docs" > fi >+ >+ if use emacs; then >+ cd "${S}/emacs" >+ elisp-comp *.el || die "elisp-comp failed" >+ fi > } > > src_test() { >@@ -76,23 +83,31 @@ > } > > src_install() { >- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || \ >+ emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || \ > die "Install failed" > > if use emacs; then >- insinto /usr/share/emacs/site-lisp >- doins emacs/pari.el >+ elisp-install ${PN} emacs/*.el emacs/*.elc || die "elisp-install failed" >+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" > fi > > dodoc AUTHORS Announce.2.1 CHANGES README TODO NEW > if use doc; then >- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install-doc \ >+ emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install-doc \ > || die "Failed to install docs" > insinto /usr/share/doc/${PF} > doins doc/*.pdf || die "Failed to install pdf docs" > fi > > #remove superfluous doc directory >- rm -fr ${D}/usr/share/${P}/doc || \ >+ rm -fr "${D}/usr/share/${P}/doc" || \ > die "Failed to clean up doc directory" > } >+ >+pkg_postinst() { >+ use emacs && elisp-site-regen >+} >+ >+pkg_postrm() { >+ use emacs && elisp-site-regen >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193378
: 131567 |
131569
|
131570