Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137870 Details for
Bug 201461
sci-mathematics/gretl: an emacs USE flag request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed modifications for gretl-1.7.0.ebuild (take 2)
gretl-1.7.0.ebuild.diff (text/plain), 1.79 KB, created by
Ulrich Müller
on 2007-12-06 09:28:44 UTC
(
hide
)
Description:
Proposed modifications for gretl-1.7.0.ebuild (take 2)
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2007-12-06 09:28:44 UTC
Size:
1.79 KB
patch
obsolete
>--- gretl-1.7.0.ebuild~ 2007-12-04 18:59:37.000000000 +0100 >+++ gretl-1.7.0.ebuild 2007-12-06 10:26:54.000000000 +0100 >@@ -4,7 +4,7 @@ > > USE_EINSTALL=true > >-inherit eutils gnome2 >+inherit eutils gnome2 elisp-common > > DESCRIPTION="Regression, econometrics and time-series library" > HOMEPAGE="http://gretl.sourceforge.net/" >@@ -14,7 +14,7 @@ > SLOT="0" > KEYWORDS="~amd64 ~x86" > >-IUSE="accessibility gmp gnome gtk nls png readline sourceview" >+IUSE="accessibility emacs gmp gnome gtk nls png readline sourceview" > > RDEPEND="dev-libs/libxml2 > >=dev-libs/glib-2 >@@ -31,11 +31,14 @@ > >=gnome-base/libgnomeprint-2.2 > >=gnome-base/libgnomeprintui-2.2 > >=gnome-base/gconf-2.0 ) >- sourceview? ( x11-libs/gtksourceview )" >+ sourceview? ( x11-libs/gtksourceview ) >+ emacs? ( virtual/emacs )" > > DEPEND="${RDEPEND} > dev-util/pkgconfig" > >+SITEFILE=50${PN}-gentoo.el >+ > src_unpack() { > unpack ${A} > cd "${S}" >@@ -72,6 +75,10 @@ > || die "econf failed" > > emake || die "emake failed" >+ >+ if use emacs; then >+ elisp-compile utils/emacs/gretl.el || die "elisp-compile failed" >+ fi > } > > src_install() { >@@ -84,6 +91,25 @@ > doicon gnome/gretl.png > make_desktop_entry gretlx11 gretl > fi >+ if use emacs; then >+ elisp-install ${PN} utils/emacs/gretl.{el,elc} \ >+ || die "elisp-install failed" >+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ >+ || die "elisp-site-file-install failed" >+ fi > dodoc NEWS README README.audio ChangeLog TODO EXTENDING \ > || die "dodoc failed" > } >+ >+pkg_postinst() { >+ if use emacs; then >+ elisp-site-regen >+ elog "To begin using gretl-mode for all \".inp\" files that you edit," >+ elog "add the following line to your \"~/.emacs\" file:" >+ elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))" >+ fi >+} >+ >+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 201461
:
137865
|
137868
| 137870