Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47854 - IUSE="emacs" should be added to several packages
Summary: IUSE="emacs" should be added to several packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 16:04 UTC by Andrew Kirilenko
Modified: 2004-06-02 12:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openssl with emacs IUSE (openssl-0.9.7d-r1.ebuild,6.93 KB, text/plain)
2004-04-23 10:57 UTC, Eric Brown
Details
cvs with IUSE for emacs (cvs-1.11.15-r1.ebuild,1.16 KB, text/plain)
2004-04-23 11:07 UTC, Eric Brown
Details
ghostscript with IUSE emacs (ghostscript-7.07.1-r2.ebuild,2.82 KB, text/plain)
2004-04-23 11:20 UTC, Eric Brown
Details
gettext with IUSE emacs (gettext-0.12.1-r2.ebuild,2.16 KB, text/plain)
2004-04-23 12:30 UTC, Eric Brown
Details
libidn with IUSE emacs (libidn-0.3.7-r1.ebuild,736 bytes, text/plain)
2004-04-23 12:53 UTC, Eric Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Kirilenko 2004-04-14 16:04:26 UTC
Several, packages are installing unnecessary emacs files:

dev-libs/openssl
dev-util/cvs
app-text/ghostscript
sys-devel/gettext

They should do this only when "emacs" is in USE. Required changes are trivial:

1. Add emacs to IUSE
2. Surround emacs-related parts with "if [ `use emacs` ]".
Comment 1 Markus Knittig 2004-04-20 01:21:01 UTC
libidn install also emacs files.
Comment 2 Eric Brown 2004-04-23 10:40:39 UTC
leme see what i can do
Comment 3 Eric Brown 2004-04-23 10:57:27 UTC
Created attachment 29905 [details]
openssl with emacs IUSE

Added IUSE="emacs"
it looks like it only installed /usr/share/emacs/site-lisp/c-indent.el or
something.. so i put the two lines for that into an if use emacs; then ...fi
ok?

after emerge -u openssl, i don't have that lisp file in that dir.
Comment 4 Eric Brown 2004-04-23 11:07:15 UTC
Created attachment 29907 [details]
cvs with IUSE for emacs

IUSE="emacs" added
if use emacs ; then ... fi added around lisp file installation lines
Comment 5 Eric Brown 2004-04-23 11:20:44 UTC
Created attachment 29911 [details]
ghostscript with IUSE emacs

IUSE=emacs
put if use emacs ; then .. fi
Comment 6 Eric Brown 2004-04-23 12:30:12 UTC
Created attachment 29913 [details]
gettext with IUSE emacs

ugh, IUSE=emacs
also did a little hack to rm -rf ${D}/usr/share/emacs so the new lisp files
would not be installed when emacs was not defined.

i no longer have /usr/share/emacs (which probably means that this is OK, and
gettext was the app that created /usr/share/emacs for me and there were no
installations there so it all went away.. i am sandboxed :)
Comment 7 Eric Brown 2004-04-23 12:53:23 UTC
Created attachment 29914 [details]
libidn with IUSE emacs

simple hack like before.. works (i tested it)
Comment 8 Eric Brown 2004-04-23 12:53:44 UTC
ok can someone upload these ebuilds please :)
Comment 9 Andrew Kirilenko 2004-04-23 13:54:17 UTC
I guess, because the changes are not important, it'll be good idea to apply them with the next version of each package :)
Comment 10 Eric Brown 2004-04-23 19:01:55 UTC
im not the maintainer for these packages though, so chances are, if the changes dont get put into the db now, they'll just copy/paste the existing ones to make the version bump. (at least i'm guessing they're as lazy as me...)

where are all the portage admins :)
Comment 11 Rainer Größlinger (RETIRED) gentoo-dev 2004-04-25 04:56:37 UTC
Speaking for the cvs ebuild, I'll add this when doing cvs-1.11.15-r1, together with some kerberos changes (see bug 32480).

It may take some days until I figured all the kerberos related things (and problems!) out, though.
Comment 12 Daniel Ahlberg (RETIRED) gentoo-dev 2004-04-25 10:18:44 UTC
Added to openssl ebuild.
Comment 13 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-28 03:57:32 UTC
added to ghostscript
Comment 14 Rainer Größlinger (RETIRED) gentoo-dev 2004-05-08 08:24:16 UTC
added to cvs-1.11.15

aliz: you forgot to remove the 2 lines above the "if use emacs;..." in the openssl ebuild, it now adds the emacs thing (just like before) and then checks if emacs is in USE and does the same again ;)

btw. can we mark the attachments where the ebuilds have the change applied as obsolete so that we know when to close this bug?
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-23 20:23:47 UTC
I'll add to gettext and close this bug out
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-02 12:42:18 UTC
done, thanks Eric