public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nick Rout <nick@rout.co.nz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: no ebuild what to do?
Date: Sun, 02 Oct 2005 17:38:30 +1300	[thread overview]
Message-ID: <1128227910.19153.31.camel@localhost> (raw)
In-Reply-To: <20051001205402.39979.qmail@web31711.mail.mud.yahoo.com>

On Sat, 2005-10-01 at 13:54 -0700, maxim wexler wrote:
> 
> --- Greg Yasko <gyasko@cox.net> wrote:
> 
> > Greg Yasko <gyasko <at> cox.net> writes:
> >  
> > 
> > > Login as root and do a "mkdir -p
> > /usr/local/portage/app-cdr/dekagen"
> > > 
> > > Then cd to the dekagen directory you just created.
> > > 
> > 
> > Copy the ebuild, which is at gentoo bugzilla under
> > app-cdr/dekagen to your
> > dekagen directory.
> > 
> > > Run "ebuild dekagen-1.0.2.ebuild digest" in the
> > dekagen directory.
> > > 
> > > Add "app-cdr/dekagen ~x86" to
> > /etc/portage/package.keywords
> > > 
> > > Finally, do an "emerge dekagen" and it should
> > work.
> 
> Yow!
> 
> dayglo ~ # emerge -pv dekagen
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild  N    ] sys-apps/eject-2.0.13-r1  +nls 58 kB
> [ebuild  N    ] media-sound/bladeenc-0.94.2-r1  139 kB
> [ebuild  N    ] x11-libs/openmotif-2.2.3-r3  5,029 kB
> [ebuild  N    ] media-libs/flac-1.1.1  +sse +xmms
> 1,432 kB
> [ebuild  N    ] media-sound/xmcd-3.3.2  +alsa +encode
> +vorbis 1,599 kB
> [ebuild  N    ] app-cdr/dekagen-1.0.2  0 kB
> 
> Total size of downloads: 8,259 kB
> 
> Somebody said bloat? Why do I need all this stuff when
> it works out of the box simply by running the script?

because the ebuild has dragged in every optional dependency of dekagen
including  stuff that isn't actually needed to run it.

dekagen is a console package, but appears to optionally use xmcd which
requires openmotif.

As for the others, well you will have seen from the dekagen docs (and
from running the program) that you can choose rippers and encoders, and
that there are therefore a whole lot of optional dependencies. You can
run it without all of those options installed, you just don't get to use
the ones you don't have (you obviously need a minimum of one ripper and
one encoder for it to do its thing).

for example dekagen can use any of the following to rip cd's: cdda2wav,
cdparanoia, dagrab, or tosha. If you have just one of them installed it
will work. If you want the option of trying them all as backends, you
can install them all (although I am not sure that they are all in
portage).

Same with encoding, you can use any of 8hz-mp3, bladeenc, l3enc, lame,
mp3enc, or notlame, or oggenc.

The docs also say:
You might also wish to install:
"3. xmcd,
4. id3ed, id3tag, id3tool, or mp3info."

I think the ebuild that has been written is dragging them all in whether
you want them or not. The ebuild author admits it is his first ebuild
and that he just copied another one. No criticism to him, but feel free
to fix it :-)

It'll probably end up with a whole lot of use flags, so you can control
it's dependencies. Seems incredible overkill for a 34k shell script.


> 
> > > 
> > > Good luck.
> > > 
> > > -G.Y.
> > > 
> > 
> > Whoops! I forgot to tell you to copy the ebuild to
> > it's directory. See above.
> > 
> > 
> > 
> > 
> > -- 
> > gentoo-user@gentoo.org mailing list
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2011-10-31  3:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29 17:18 [gentoo-user] no ebuild what to do? maxim wexler
2005-09-29 17:30 ` A. Khattri
2005-09-29 17:30 ` Michael Crute
2005-09-29 17:37 ` Dave Nebinger
2005-09-29 18:19 ` Yoandy Rodriguez
2005-09-29 22:05 ` Nick Rout
2005-09-30  2:04 ` [gentoo-user] " Greg Yasko
2005-09-30  2:12   ` Greg Yasko
2005-10-01 20:54     ` maxim wexler
2005-10-02  4:38       ` Nick Rout [this message]
2005-09-30  2:27   ` Nick Rout
2005-09-30  2:36     ` Greg Yasko
2005-09-30  3:59       ` Nick Rout
2005-10-01 17:50   ` maxim wexler
2005-10-01 18:20   ` maxim wexler
2005-10-03 10:53     ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1128227910.19153.31.camel@localhost \
    --to=nick@rout.co.nz \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox