1 |
betelgeuse 07/09/16 20:14:35 |
2 |
|
3 |
Modified: hb-guide-ebuild.xml hb-policy-ebuild.xml |
4 |
Log: |
5 |
Fix examples not to have packages from system set in RDEPEND or DEPEND. Fixes bug #176616. |
6 |
|
7 |
Revision Changes Path |
8 |
1.44 xml/htdocs/proj/en/devrel/handbook/hb-guide-ebuild.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-guide-ebuild.xml?rev=1.44&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-guide-ebuild.xml?rev=1.44&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-guide-ebuild.xml?r1=1.43&r2=1.44 |
13 |
|
14 |
Index: hb-guide-ebuild.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-guide-ebuild.xml,v |
17 |
retrieving revision 1.43 |
18 |
retrieving revision 1.44 |
19 |
diff -u -r1.43 -r1.44 |
20 |
--- hb-guide-ebuild.xml 23 Jun 2007 19:59:14 -0000 1.43 |
21 |
+++ hb-guide-ebuild.xml 16 Sep 2007 20:14:35 -0000 1.44 |
22 |
@@ -1952,21 +1952,21 @@ |
23 |
</p> |
24 |
|
25 |
<pre caption="Depend example"> |
26 |
-DEPEND="virtual/libc |
27 |
- sys-libs/zlib" |
28 |
-RDEPEND="virtual/libc" |
29 |
+DEPEND="virtual/opengl |
30 |
+ dev-libs/libxml2" |
31 |
+RDEPEND="${DEPEND}" |
32 |
</pre> |
33 |
|
34 |
<p> |
35 |
This tells Portage that to build <path>foo-x.y.z</path>, the packages |
36 |
-<path>virtual/libc</path> (more on virtuals in a bit) and |
37 |
-<path>sys-libs/zlib</path> are needed. It does not say anything about which |
38 |
-version of glibc or zlib that are needed, which means "anything goes". |
39 |
+<path>virtual/opengl</path> (more on virtuals in a bit) and |
40 |
+<path>dev-lib/libxml2</path> are needed. It does not say anything about which |
41 |
+version of opengl or libxml2 that are needed, which means "anything goes". |
42 |
</p> |
43 |
|
44 |
<p> |
45 |
The "anything goes" is of course a bit scary, and will not work in the general |
46 |
-case. But for central libraries like glibc, which strives very hard to be 100% |
47 |
+case. But for libraries, which strive very hard to be 100% |
48 |
binary compatible all the time, it actually works. For other libraries, we can |
49 |
of course specify version dependencies. |
50 |
</p> |
51 |
|
52 |
|
53 |
|
54 |
1.20 xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml |
55 |
|
56 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml?rev=1.20&view=markup |
57 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml?rev=1.20&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml?r1=1.19&r2=1.20 |
59 |
|
60 |
Index: hb-policy-ebuild.xml |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml,v |
63 |
retrieving revision 1.19 |
64 |
retrieving revision 1.20 |
65 |
diff -u -r1.19 -r1.20 |
66 |
--- hb-policy-ebuild.xml 27 Mar 2007 21:35:14 -0000 1.19 |
67 |
+++ hb-policy-ebuild.xml 16 Sep 2007 20:14:35 -0000 1.20 |
68 |
@@ -639,8 +639,7 @@ |
69 |
|
70 |
<pre caption="Example of RDEPEND"> |
71 |
RDEPEND="${DEPEND} |
72 |
- net-ftp/curl |
73 |
- virtual/libc" |
74 |
+ net-ftp/curl" |
75 |
</pre> |
76 |
|
77 |
<p> |
78 |
|
79 |
|
80 |
|
81 |
-- |
82 |
gentoo-commits@g.o mailing list |