Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131599 Details for
Bug 193411
Fix Emacs support in sci-mathematics/singular
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the ebuild
singular_emacs.patch (text/plain), 2.05 KB, created by
Christian Faulhammer (RETIRED)
on 2007-09-22 13:56:34 UTC
(
hide
)
Description:
Patch for the ebuild
Filename:
MIME Type:
Creator:
Christian Faulhammer (RETIRED)
Created:
2007-09-22 13:56:34 UTC
Size:
2.05 KB
patch
obsolete
>--- /usr/portage/sci-mathematics/singular/singular-3.0.3.ebuild 2007-08-08 16:06:40.000000000 +0200 >+++ singular-3.0.3.ebuild 2007-09-22 15:47:38.000000000 +0200 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.0.3.ebuild,v 1.2 2007/08/08 13:50:04 markusle Exp $ > >-inherit eutils flag-o-matic autotools multilib >+inherit eutils elisp-common flag-o-matic autotools multilib > > PV_MAJOR=${PV%.*} > MY_PV=${PV//./-} >@@ -21,11 +21,11 @@ > > DEPEND=">=dev-lang/perl-5.6 > >=dev-libs/gmp-4.1-r1 >- emacs? ( || ( virtual/xemacs >- virtual/emacs ) ) >+ emacs? ( virtual/emacs ) > boost? ( dev-libs/boost )" > > S="${WORKDIR}"/${MY_PN}-${MY_PV} >+SITEFILE=60${PN}-gentoo.el > > src_unpack () { > unpack ${A} >@@ -54,6 +54,11 @@ > econf $(use_enable emacs) \ > ${myconf} || die "econf failed" > emake -j1 || die "make failed" >+ >+ if use emacs; then >+ cd "${WORKDIR}"/${MY_PN}/${MY_PV}/emacs/ >+ elisp-compile *.el || die "elisp-compile failed" >+ fi > } > > src_install () { >@@ -76,10 +81,6 @@ > 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/$(get_libdir)/${PN} > doins *.so || die "failed to install libraries" >@@ -102,15 +103,21 @@ > die "failed to install info files" > fi > >- # install emacs specific stuff >+ # install emacs specific stuff here, as we did a directory change >+ # some lines above! > if use emacs; then >- insinto /usr/share/${PN}/emacs >- doins emacs/* && doins emacs/.emacs* || \ >- die "failed to set up emacs files" >+ 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." >+ 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 193411
: 131599 |
131600
|
131609