1 |
On Monday 09 January 2006 22:09, Sebastian Redl wrote: |
2 |
> Francesco Talamona wrote: |
3 |
> >I also made a little script to help unmask all the packages needed, |
4 |
> >anyway it is a process quite tedious :-) |
5 |
> |
6 |
> Care to share? It is indeed quite tedious. |
7 |
|
8 |
#!/bin/bash |
9 |
echo -e "=$1\t\t\t~amd64\n" >> /etc/portage/package.keywords |
10 |
echo -e "\n =$1" >> /etc/portage/package.unmask |
11 |
#emerge -1 -a =x11-base/xorg-x11-7.0 |
12 |
emerge -a =$1 |
13 |
|
14 |
First round I used the first three lines to see what packages were |
15 |
needed in order to compile xorg-x11, then commented out third line and |
16 |
added last one; now I use it to add the program I want. |
17 |
|
18 |
It's noting to be really proud of, but it saves some typing, adds equal |
19 |
signs, unmask the packages... I told it was a little script ;-) |
20 |
|
21 |
Did you perhaps mean to have the list generated? I currently have a 381 |
22 |
lines /etc/portage/package.keywords and a 159 |
23 |
lines /etc/portage/package.unmask, I can send them offlist... |
24 |
|
25 |
The ebuild content is: |
26 |
cat ${PORTDIR_OVERLAY}/virtual/x11/x11-7.0.ebuild |
27 |
# Copyright 1999-2005 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
# $Header: /var/cvsroot/gentoo-x86/virtual/x11/x11-7.0.ebuild,v 1.2 |
30 |
2005/12/09 21:16:15 flameeyes Exp $ |
31 |
DESCRIPTION="Virtual for the core X11 implementation" |
32 |
HOMEPAGE="http://www.gentoo.org/proj/en/desktop/x/x11/" |
33 |
SRC_URI="" |
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86" |
37 |
IUSE="" |
38 |
DEPEND="" |
39 |
RDEPEND=">x11-base/xorg-x11-6.99" |
40 |
|
41 |
So now you can see where it came from :-) |
42 |
|
43 |
Ciao |
44 |
Francesco |
45 |
|
46 |
-- |
47 |
Linux Version 2.6.15-gentoo, Compiled #1 PREEMPT Wed Jan 4 20:40:52 CET |
48 |
2006 |
49 |
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4415.95 Bogomips Total |
50 |
aemaeth |
51 |
-- |
52 |
gentoo-amd64@g.o mailing list |