Bug 47854 - IUSE="emacs" should be added to several packages
Bug#: 47854 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P5
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: andrew.kirilenko@gmail.com
Component: Applications
URL: 
Summary: IUSE="emacs" should be added to several packages
Keywords:  
Status Whiteboard: 
Opened: 2004-04-14 16:04 0000
Description:   Opened: 2004-04-14 16:04 0000
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 From Markus Knittig 2004-04-20 01:21:01 0000 -------
libidn install also emacs files.

------- Comment #2 From Eric Brown 2004-04-23 10:40:39 0000 -------
leme see what i can do

------- Comment #3 From Eric Brown 2004-04-23 10:57:27 0000 -------
Created an attachment (id=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 From Eric Brown 2004-04-23 11:07:15 0000 -------
Created an attachment (id=29907) [details]
cvs with IUSE for emacs

IUSE="emacs" added
if use emacs ; then ... fi added around lisp file installation lines

------- Comment #5 From Eric Brown 2004-04-23 11:20:44 0000 -------
Created an attachment (id=29911) [details]
ghostscript with IUSE emacs

IUSE=emacs
put if use emacs ; then .. fi

------- Comment #6 From Eric Brown 2004-04-23 12:30:12 0000 -------
Created an attachment (id=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 From Eric Brown 2004-04-23 12:53:23 0000 -------
Created an attachment (id=29914) [details]
libidn with IUSE emacs

simple hack like before.. works (i tested it)

------- Comment #8 From Eric Brown 2004-04-23 12:53:44 0000 -------
ok can someone upload these ebuilds please :)

------- Comment #9 From Andrew Kirilenko 2004-04-23 13:54:17 0000 -------
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 From Eric Brown 2004-04-23 19:01:55 0000 -------
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 From Rainer Größlinger 2004-04-25 04:56:37 0000 -------
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 From Daniel Ahlberg (RETIRED) 2004-04-25 10:18:44 0000 -------
Added to openssl ebuild.

------- Comment #13 From Heinrich Wendel (RETIRED) 2004-04-28 03:57:32 0000 -------
added to ghostscript

------- Comment #14 From Rainer Größlinger 2004-05-08 08:24:16 0000 -------
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 From Seemant Kulleen (RETIRED) 2004-05-23 20:23:47 0000 -------
I'll add to gettext and close this bug out

------- Comment #16 From Seemant Kulleen (RETIRED) 2004-06-02 12:42:18 0000 -------
done, thanks Eric