Gentoo Archives: gentoo-user

From: Marc Joliet <marcec@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
Date: Sat, 03 Aug 2013 14:53:20
Message-Id: 20130803165312.471f2835@marcec
In Reply to: [gentoo-user] Re: Do I really need 194 pkgs to install git? by Harry Putnam
1 Am Fri, 02 Aug 2013 20:22:09 -0400
2 schrieb Harry Putnam <reader@×××××××.com>:
3
4 > Nikos Chantziaras <realnc@×××××.com> writes:
5 >
6 > > On 03/08/13 06:03, Harry Putnam wrote:
7 > >> No doubt suffering from overdose of pilot error here but on a new (in
8 > >> progress) install of gentoo as guest in vbox. I ran the command
9 > >>
10 > >> emerge -vp dev-vcs/git and come up with 194 pkgs that need to be
11 > >> installed.
12 > >
13 > > Try disabling all flags and see where that gets you. You can do that
14 > > with a single command:
15 > >
16 > > USE="-blksha1 -curl -gpg -iconv -pcre -python -threads -webdav -cgi
17 > > -cvs -doc -emacs -gnome-keyring -gtk -highlight -nls -perl -ppcsha1
18 > > -subversion -test -tk -xinetd" emerge -p dev-vcs/git
19 >
20 > Hehe, alright, now we're talking.... that reduced dependancies to just
21 > 1 lonesome cpio.
22 >
23 > ,----
24 > | vgen ~ # USE="-blksha1 -curl -gpg -iconv -pcre -python -threads
25 > | -webdav -cgi
26 > | > -cvs -doc -emacs -gnome-keyring -gtk -highlight -nls -perl -ppcsha1
27 > | > -subversion -test -tk -xinetd" emerge -vp dev-vcs/git
28 > |
29 > | These are the packages that would be merged, in order:
30 > |
31 > | Calculating dependencies... done!
32 > | [ebuild N ] app-arch/cpio-2.11-r1 USE="-nls" 995 kB
33 > | [ebuild N ] dev-vcs/git-1.8.3.2 USE="-blksha1 -cgi -curl -cvs
34 > | -doc -emacs -gnome-keyring -gpg -gtk -highlight -iconv -nls -pcre
35 > | -perl (-ppcsha1) -python -subversion {-test} -threads -tk -webdav
36 > | -xinetd" PYTHON_SINGLE_TARGET="python2_7 -python2_6"
37 > | PYTHON_TARGETS="python2_7 -python2_6" 4,900 kB
38 > |
39 > | Total: 2 packages (2 new), Size of downloads: 5,895 kB
40 > `----
41 >
42 > Now, is it reasonable to install that way? Will I run into some
43 > horrible unsightly mess using git, when installed this way.
44
45 I think that depends entirely on how exactly you plan on using git, for example:
46
47 - "python" and "perl" seem to control additional python and perl packages, but
48 they are also used by some commit hooks and scripts
49 - tk is required for the gitk GUI (which is useful for browsing history)
50 - gpg is required for gpg commit signing
51 - cvs and subversion are only needed for the "git-cvs" and "git-svn" commands
52
53 Otherwise, I'm not entirely sure what you would be missing through such, uh,
54 "radical" minimalism ;) ; "equery uses git" is your friend for some of the
55 other flags, e.g., curl is required for http[s]:// repository URLs.
56
57 HTH
58 --
59 Marc Joliet
60 --
61 "People who think they know everything really annoy those of us who know we
62 don't" - Bjarne Stroustrup

Attachments

File name MIME type
signature.asc application/pgp-signature