Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138508 Details for
Bug 202331
app-text/a2ps: fix Emacs support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed changes for a2ps-4.13c-r5.ebuild
a2ps-4.13c-r5.ebuild.diff (text/plain), 1.87 KB, created by
Ulrich Müller
on 2007-12-14 21:59:40 UTC
(
hide
)
Description:
Proposed changes for a2ps-4.13c-r5.ebuild
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2007-12-14 21:59:40 UTC
Size:
1.87 KB
patch
obsolete
>--- a2ps-4.13c-r5.ebuild~ 2007-05-26 10:46:38.000000000 +0200 >+++ a2ps-4.13c-r5.ebuild 2007-12-14 22:44:01.000000000 +0100 >@@ -5,7 +5,7 @@ > WANT_AUTOCONF="latest" > WANT_AUTOMAKE="latest" > >-inherit eutils autotools >+inherit eutils autotools elisp-common > > S=${WORKDIR}/${PN}-${PV:0:4} > DESCRIPTION="Any to PostScript filter" >@@ -16,20 +16,24 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc-macos ppc64 s390 sh sparc x86 ~x86-fbsd" >-IUSE="nls tetex cjk vanilla" >+IUSE="cjk emacs nls tetex vanilla" > > DEPEND=">=dev-util/gperf-2.7.2 > || ( >=dev-util/yacc-1.9.1 sys-devel/bison ) > virtual/ghostscript > >=app-text/psutils-1.17 >+ emacs? ( virtual/emacs ) > tetex? ( virtual/tetex ) > nls? ( sys-devel/gettext )" > RDEPEND="virtual/ghostscript > || ( sys-apps/mktemp sys-freebsd/freebsd-ubin ) > >=app-text/psutils-1.17 >+ emacs? ( virtual/emacs ) > tetex? ( virtual/tetex ) > nls? ( virtual/libintl )" > >+SITEFILE=50${PN}-gentoo.el >+ > src_unpack() { > unpack ${P}.tar.gz > cd ${S} >@@ -77,6 +81,7 @@ > #export YACC=yacc > econf --sysconfdir=/etc/a2ps \ > --includedir=/usr/include \ >+ $(useq emacs || echo EMACS=no) \ > `use_enable nls` || die "econf failed" > > export LANG=C >@@ -86,12 +91,10 @@ > } > > src_install() { >- dodir /usr/share/emacs/site-lisp >- > einstall \ > sysconfdir=${D}/etc/a2ps \ > includedir=${D}/usr/include \ >- lispdir=${D}/usr/share/emacs/site-lisp \ >+ lispdir="${D}${SITELISP}/${PN}" \ > || die "einstall failed" > > dosed /etc/a2ps/a2ps.cfg >@@ -99,5 +102,18 @@ > # bug #122026 > sed -i "s:^countdictstack: \0:" ${D}/usr/bin/psset || die "sed failed" > >+ if use emacs; then >+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ >+ || die "elisp-site-file-install failed" >+ fi >+ > dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO > } >+ >+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 202331
: 138508 |
138510
|
138520