1 |
darkside 09/08/01 23:54:26 |
2 |
|
3 |
Modified: ecopy.xml |
4 |
Log: |
5 |
Update ecopy.xml with new output and some additional info |
6 |
|
7 |
Revision Changes Path |
8 |
1.4 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.4&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.4&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?r1=1.3&r2=1.4 |
13 |
|
14 |
Index: ecopy.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v |
17 |
retrieving revision 1.3 |
18 |
retrieving revision 1.4 |
19 |
diff -u -r1.3 -r1.4 |
20 |
--- ecopy.xml 12 Nov 2008 23:51:32 -0000 1.3 |
21 |
+++ ecopy.xml 1 Aug 2009 23:54:26 -0000 1.4 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.3 2008/11/12 23:51:32 darkside Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.4 2009/08/01 23:54:26 darkside Exp $ --> |
27 |
|
28 |
<guide link="/proj/en/gentoo-alt/prefix/ecopy.xml" lang="en"> |
29 |
<title>Importing ebuilds in Gentoo Prefix</title> |
30 |
@@ -18,8 +18,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
- <version>1.1</version> |
35 |
- <date>2008-11-11</date> |
36 |
+ <version>1.2</version> |
37 |
+ <date>2009-08-01</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Importing ebuilds with ecopy</title> |
41 |
@@ -41,12 +41,11 @@ |
42 |
<title>The ecopy script</title> |
43 |
<body> |
44 |
<p> |
45 |
- <c>ecopy</c> |
46 |
- is a script created by the Gentoo Prefix team, and located in |
47 |
- <c>${EPREFIX}/usr/portage/scripts</c>. Its intention is to |
48 |
- save people time and is mainly a wrapper for other scripts |
49 |
+ <c>ecopy</c> is a script created by the Gentoo Prefix team, and |
50 |
+ located in <c>${EPREFIX}/usr/portage/scripts</c>. Its intention is |
51 |
+ to save people time and is mainly a wrapper for other scripts |
52 |
which will be discussed later. Its usage can be described by |
53 |
- running: <c>ecopy</c>. |
54 |
+ running: <c>ecopy</c> (without options). |
55 |
</p> |
56 |
<p><c>ecopy</c> expects the following:</p> |
57 |
<ul> |
58 |
@@ -61,10 +60,6 @@ |
59 |
<c>app-office/openoffice</c>. |
60 |
</li> |
61 |
<li> |
62 |
- Expects <c>${EPREFIX}/usr/portage/scripts</c> to be in your |
63 |
- path. |
64 |
- </li> |
65 |
- <li> |
66 |
Expects an up-to-date Prefix tree to reliably have the |
67 |
latest scripts. |
68 |
</li> |
69 |
@@ -72,30 +67,44 @@ |
70 |
<p> |
71 |
The use of <c>ecopy</c> is best explained by a simple example. |
72 |
</p> |
73 |
- <pre caption="ecopy example">% <i>export PATH="${PATH}:${EPREFIX}/usr/portage/scripts"</i> |
74 |
+ <pre caption="ecopy example"> |
75 |
% <i>cd "${EPREFIX}"/usr/local/portage/my-overlay</i> |
76 |
% <i>ecopy app-office/openoffice</i> |
77 |
-openoffice-3.0.0_beta2.ebuild |
78 |
-2008-09-03 08:36:39 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/ChangeLog [85281/85281] -> "ChangeLog" [1] |
79 |
-2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/metadata.xml [635/635] -> "metadata.xml" [1] |
80 |
-2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/Manifest [8510/8510] -> "Manifest" [1] |
81 |
-2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/openoffice-3.0.0_beta2.ebuild [12662/12662] -> "openoffice-3.0.0_beta2.ebuild" [1] |
82 |
-2008-09-03 08:36:41 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/files/gentoo-3.0.0_beta2.diff [1217/1217] -> "files/gentoo-3.0.0_beta2.diff" [1] |
83 |
-2008-09-03 08:36:41 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/files/ooo-env_log.diff [617/617] -> "files/ooo-env_log.diff" [1] |
84 |
-Processing openoffice-3.0.0_beta2.ebuild |
85 |
- EAPI ... added EAPI="prefix" |
86 |
+openoffice-3.1.0-r1.ebuild |
87 |
+2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
88 |
+ffice/ChangeLog [98520/98520] -> "ChangeLog" [1] |
89 |
+2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
90 |
+ffice/metadata.xml [704/704] -> "metadata.xml" [1] |
91 |
+2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
92 |
+ffice/Manifest [17937/17937] -> "Manifest" [1] |
93 |
+2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
94 |
+ffice/openoffice-3.1.0-r1.ebuild [13564/13564] -> "openoffice-3.1.0-r1.ebuild" [ |
95 |
+1] |
96 |
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
97 |
+ffice/files/gentoo-3.1.0.diff [173/173] -> "files/gentoo-3.1.0.diff" [1] |
98 |
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
99 |
+ffice/files/ooo-env_log.diff [617/617] -> "files/ooo-env_log.diff" [1] |
100 |
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
101 |
+ffice/files/base64.diff [770/770] -> "files/base64.diff" [1] |
102 |
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
103 |
+ffice/files/buildfix-gcc44.diff [611/611] -> "files/buildfix-gcc44.diff" [1] |
104 |
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
105 |
+ffice/files/solenv.workaround-for-the-kde-mess.diff [17556/17556] -> "files/sole |
106 |
+nv.workaround-for-the-kde-mess.diff" [1] |
107 |
+2009-08-01 18:41:26 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo |
108 |
+ffice/files/xulrunner-1.9.1.diff [325/325] -> "files/xulrunner-1.9.1.diff" [1] |
109 |
+Processing openoffice-3.1.0-r1.ebuild |
110 |
replacing ${D} -> ${ED} ... 2 occurences |
111 |
replacing ${ROOT} -> ${EROOT} ... not found |
112 |
-Processing openoffice-3.0.0_beta2.ebuild ... ~amd64-linux ~x86-linux |
113 |
-openoffice-3.0.0_beta2.ebuild |
114 |
+Processing openoffice-3.1.0-r1.ebuild ... ~amd64-linux ~x86-linux |
115 |
+openoffice-3.1.0-r1.ebuild |
116 |
>>> Creating Manifest for usr/local/portage/my-overlay/app-office/openoffice |
117 |
<snip for brevity></pre> |
118 |
<p> |
119 |
What is <c>ecopy</c> doing? In that above code snippet, |
120 |
<c>ecopy</c> first directly downloads the required files from |
121 |
- <c>gentooexperimental.org</c> (ge.o). This is intended and an |
122 |
- appreciated service from the ge.o admins. Then, <c>ecopy</c> |
123 |
- runs <c>eapify</c> on the ebuild. <c>eapify</c> basically |
124 |
+ <c>tinderbox.dev.gentoo.org</c>. Then, <c>ecopy</c> |
125 |
+ runs <c>eapify</c> on the ebuild. <c>eapify</c> basically |
126 |
does the needed gentoo-x86 -> Prefix conversion. This can |
127 |
generally be automated and works right the first time about |
128 |
85% of the time. After <c>eapify</c>, some keyword cleanup is |
129 |
@@ -104,8 +113,9 @@ |
130 |
the gentoo-x86 tree. For more information on that see <uri |
131 |
link="http://www.gentoo.org/proj/en/glep/glep-0053.html">GLEP |
132 |
53</uri>. Last, <c>ecopy</c> re-digests the ebuild to |
133 |
- accomandate any changes. Let it be known that you can do all |
134 |
- this manually as well. |
135 |
+ accommodate any changes. Let it be known that you can do all |
136 |
+ this manually as well because <c>ecopy</c> is just a wrapper script in |
137 |
+ itself. |
138 |
</p> |
139 |
<p> |
140 |
While <c>eapfiy</c> (the tool that does the actual |
141 |
@@ -113,8 +123,8 @@ |
142 |
cases, it cannot be trusted to always do the right thing. |
143 |
Common mistakes made by <c>eapify</c> are related to either |
144 |
adding or omission of the <c>${EPREFIX}</c> for some component |
145 |
- in the ebuild. <c>eapify</c> doesn't catch all instances of |
146 |
- what needs to be changed. If there is e.g. any path hardcoded |
147 |
+ in the ebuild. <c>eapify</c> doesn't catch all instances of |
148 |
+ what needs to be changed. If there is e.g. any path hardcoded |
149 |
in the configure call you will need to prepend |
150 |
<c>${EPREFIX}</c> to it. Also, <c>${D}</c> can be improperly |
151 |
expanded to <c>${ED}</c> in certain cases. Manual review is |
152 |
@@ -134,7 +144,7 @@ |
153 |
<p> |
154 |
Great, your package works...now what? The Gentoo Prefix team relies on |
155 |
users submitting bug reports stating if a new package works. We simply do |
156 |
- not have the man power to get to our goal of having most of the packages |
157 |
+ not have the man power to get to our goal of having most of the packages |
158 |
in the Prefix tree without your help. |
159 |
</p> |
160 |
<p> |
161 |
@@ -157,7 +167,13 @@ |
162 |
bundled with anything else. |
163 |
</li> |
164 |
<li> |
165 |
- Include emerge --info |
166 |
+ Include emerge --info, or at least what ARCH you are on. Otherwise, we |
167 |
+ will commit the package and have to re-visit it to add your arch. |
168 |
+ </li> |
169 |
+ <li> |
170 |
+ Do not submit reports about <c>ecopy</c> not porting your package |
171 |
+ correctly, it is a best effort script only! Manual work probably is |
172 |
+ needed. |
173 |
</li> |
174 |
</ul> |
175 |
</body> |