* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml
@ 2008-09-09 14:46 Jeremy Olexa (darkside)
0 siblings, 0 replies; 6+ messages in thread
From: Jeremy Olexa (darkside) @ 2008-09-09 14:46 UTC (permalink / raw
To: gentoo-commits
darkside 08/09/09 14:46:19
Modified: ecopy.xml
Log:
Added a "Bug Reporting" section so users know what to do with ecopy'd ebuilds.
Revision Changes Path
1.2 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?r1=1.1&r2=1.2
Index: ecopy.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ecopy.xml 4 Sep 2008 09:07:53 -0000 1.1
+++ ecopy.xml 9 Sep 2008 14:46:19 -0000 1.2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.1 2008/09/04 09:07:53 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.2 2008/09/09 14:46:19 darkside Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/ecopy.xml" lang="en">
<title>Importing ebuilds in Gentoo Prefix</title>
@@ -126,8 +126,44 @@
</p>
</body>
</section><!-- }}} -->
-
- </chapter>
+ </chapter>
+
+ <chapter>
+ <title>Bug Reporting</title>
+ <section>
+ <body>
+ <p>
+ Great, your package works...now what? The Gentoo Prefix team relies on
+ users submitting bug reports stating if a new package works. We simply do
+ not have the man power to get to our goal of having most of the packages
+ in the Prefix tree without your help.
+ </p>
+ <p>
+ When submitting bug reports, please follow these guidelines:
+ </p>
+ <ul>
+ <li>
+ Use the "Gentoo/Alt" Product with the "Prefix Support" component.
+ </li>
+ <li>
+ Include the method of your porting efforts. Did you use ecopy, manually,
+ etc.
+ </li>
+ <li>
+ Include which changes you made *after* ecopy, preferably using a
+ diff -u
+ </li>
+ <li>
+ Include which patches you added, preferably attached uncompressed, not
+ bundled with anything else.
+ </li>
+ <li>
+ Include emerge --info
+ </li>
+ </ul>
+ </body>
+ </section>
+ </chapter>
</guide>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml
@ 2015-02-19 22:32 Andreas HAttel (dilfridge)
0 siblings, 0 replies; 6+ messages in thread
From: Andreas HAttel (dilfridge) @ 2015-02-19 22:32 UTC (permalink / raw
To: gentoo-commits
dilfridge 15/02/19 22:32:13
Modified: ecopy.xml
Log:
Migrate to wiki
Revision Changes Path
1.7 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?r1=1.6&r2=1.7
Index: ecopy.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ecopy.xml 28 Oct 2012 15:21:06 -0000 1.6
+++ ecopy.xml 19 Feb 2015 22:32:13 -0000 1.7
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.6 2012/10/28 15:21:06 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.7 2015/02/19 22:32:13 dilfridge Exp $ -->
-<guide lang="en">
+<guide lang="en" disclaimer="obsolete" redirect="http://wiki.gentoo.org/wiki/Project:Prefix/ecopy">
<title>Importing ebuilds in Gentoo Prefix</title>
<author title="Author">
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml
@ 2009-08-02 0:14 Jeremy Olexa (darkside)
0 siblings, 0 replies; 6+ messages in thread
From: Jeremy Olexa (darkside) @ 2009-08-02 0:14 UTC (permalink / raw
To: gentoo-commits
darkside 09/08/02 00:14:49
Modified: ecopy.xml
Log:
fix output newlines
Revision Changes Path
1.5 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?r1=1.4&r2=1.5
Index: ecopy.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ecopy.xml 1 Aug 2009 23:54:26 -0000 1.4
+++ ecopy.xml 2 Aug 2009 00:14:48 -0000 1.5
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.4 2009/08/01 23:54:26 darkside Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.5 2009/08/02 00:14:48 darkside Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/ecopy.xml" lang="en">
<title>Importing ebuilds in Gentoo Prefix</title>
@@ -71,28 +71,16 @@
% <i>cd "${EPREFIX}"/usr/local/portage/my-overlay</i>
% <i>ecopy app-office/openoffice</i>
openoffice-3.1.0-r1.ebuild
-2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/ChangeLog [98520/98520] -> "ChangeLog" [1]
-2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/metadata.xml [704/704] -> "metadata.xml" [1]
-2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/Manifest [17937/17937] -> "Manifest" [1]
-2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/openoffice-3.1.0-r1.ebuild [13564/13564] -> "openoffice-3.1.0-r1.ebuild" [
-1]
-2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/files/gentoo-3.1.0.diff [173/173] -> "files/gentoo-3.1.0.diff" [1]
-2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/files/ooo-env_log.diff [617/617] -> "files/ooo-env_log.diff" [1]
-2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/files/base64.diff [770/770] -> "files/base64.diff" [1]
-2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/files/buildfix-gcc44.diff [611/611] -> "files/buildfix-gcc44.diff" [1]
-2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/files/solenv.workaround-for-the-kde-mess.diff [17556/17556] -> "files/sole
-nv.workaround-for-the-kde-mess.diff" [1]
-2009-08-01 18:41:26 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
-ffice/files/xulrunner-1.9.1.diff [325/325] -> "files/xulrunner-1.9.1.diff" [1]
+2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/ChangeLog [98520/98520] -> "ChangeLog" [1]
+2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/metadata.xml [704/704] -> "metadata.xml" [1]
+2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/Manifest [17937/17937] -> "Manifest" [1]
+2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/openoffice-3.1.0-r1.ebuild [13564/13564] -> "openoffice-3.1.0-r1.ebuild" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/files/gentoo-3.1.0.diff [173/173] -> "files/gentoo-3.1.0.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/files/ooo-env_log.diff [617/617] -> "files/ooo-env_log.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/files/base64.diff [770/770] -> "files/base64.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/files/buildfix-gcc44.diff [611/611] -> "files/buildfix-gcc44.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/files/solenv.workaround-for-the-kde-mess.diff [17556/17556] -> "files/solenv.workaround-for-the-kde-mess.diff" [1]
+2009-08-01 18:41:26 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openoffice/files/xulrunner-1.9.1.diff [325/325] -> "files/xulrunner-1.9.1.diff" [1]
Processing openoffice-3.1.0-r1.ebuild
replacing ${D} -> ${ED} ... 2 occurences
replacing ${ROOT} -> ${EROOT} ... not found
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml
@ 2009-08-01 23:54 Jeremy Olexa (darkside)
0 siblings, 0 replies; 6+ messages in thread
From: Jeremy Olexa (darkside) @ 2009-08-01 23:54 UTC (permalink / raw
To: gentoo-commits
darkside 09/08/01 23:54:26
Modified: ecopy.xml
Log:
Update ecopy.xml with new output and some additional info
Revision Changes Path
1.4 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?r1=1.3&r2=1.4
Index: ecopy.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ecopy.xml 12 Nov 2008 23:51:32 -0000 1.3
+++ ecopy.xml 1 Aug 2009 23:54:26 -0000 1.4
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.3 2008/11/12 23:51:32 darkside Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.4 2009/08/01 23:54:26 darkside Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/ecopy.xml" lang="en">
<title>Importing ebuilds in Gentoo Prefix</title>
@@ -18,8 +18,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.1</version>
- <date>2008-11-11</date>
+ <version>1.2</version>
+ <date>2009-08-01</date>
<chapter>
<title>Importing ebuilds with ecopy</title>
@@ -41,12 +41,11 @@
<title>The ecopy script</title>
<body>
<p>
- <c>ecopy</c>
- is a script created by the Gentoo Prefix team, and located in
- <c>${EPREFIX}/usr/portage/scripts</c>. Its intention is to
- save people time and is mainly a wrapper for other scripts
+ <c>ecopy</c> is a script created by the Gentoo Prefix team, and
+ located in <c>${EPREFIX}/usr/portage/scripts</c>. Its intention is
+ to save people time and is mainly a wrapper for other scripts
which will be discussed later. Its usage can be described by
- running: <c>ecopy</c>.
+ running: <c>ecopy</c> (without options).
</p>
<p><c>ecopy</c> expects the following:</p>
<ul>
@@ -61,10 +60,6 @@
<c>app-office/openoffice</c>.
</li>
<li>
- Expects <c>${EPREFIX}/usr/portage/scripts</c> to be in your
- path.
- </li>
- <li>
Expects an up-to-date Prefix tree to reliably have the
latest scripts.
</li>
@@ -72,30 +67,44 @@
<p>
The use of <c>ecopy</c> is best explained by a simple example.
</p>
- <pre caption="ecopy example">% <i>export PATH="${PATH}:${EPREFIX}/usr/portage/scripts"</i>
+ <pre caption="ecopy example">
% <i>cd "${EPREFIX}"/usr/local/portage/my-overlay</i>
% <i>ecopy app-office/openoffice</i>
-openoffice-3.0.0_beta2.ebuild
-2008-09-03 08:36:39 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/ChangeLog [85281/85281] -> "ChangeLog" [1]
-2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/metadata.xml [635/635] -> "metadata.xml" [1]
-2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/Manifest [8510/8510] -> "Manifest" [1]
-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]
-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]
-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]
-Processing openoffice-3.0.0_beta2.ebuild
- EAPI ... added EAPI="prefix"
+openoffice-3.1.0-r1.ebuild
+2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/ChangeLog [98520/98520] -> "ChangeLog" [1]
+2009-08-01 18:41:23 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/metadata.xml [704/704] -> "metadata.xml" [1]
+2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/Manifest [17937/17937] -> "Manifest" [1]
+2009-08-01 18:41:24 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/openoffice-3.1.0-r1.ebuild [13564/13564] -> "openoffice-3.1.0-r1.ebuild" [
+1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/files/gentoo-3.1.0.diff [173/173] -> "files/gentoo-3.1.0.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/files/ooo-env_log.diff [617/617] -> "files/ooo-env_log.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/files/base64.diff [770/770] -> "files/base64.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/files/buildfix-gcc44.diff [611/611] -> "files/buildfix-gcc44.diff" [1]
+2009-08-01 18:41:25 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/files/solenv.workaround-for-the-kde-mess.diff [17556/17556] -> "files/sole
+nv.workaround-for-the-kde-mess.diff" [1]
+2009-08-01 18:41:26 URL:http://tinderbox.dev.gentoo.org/portage/app-office/openo
+ffice/files/xulrunner-1.9.1.diff [325/325] -> "files/xulrunner-1.9.1.diff" [1]
+Processing openoffice-3.1.0-r1.ebuild
replacing ${D} -> ${ED} ... 2 occurences
replacing ${ROOT} -> ${EROOT} ... not found
-Processing openoffice-3.0.0_beta2.ebuild ... ~amd64-linux ~x86-linux
-openoffice-3.0.0_beta2.ebuild
+Processing openoffice-3.1.0-r1.ebuild ... ~amd64-linux ~x86-linux
+openoffice-3.1.0-r1.ebuild
>>> Creating Manifest for usr/local/portage/my-overlay/app-office/openoffice
<snip for brevity></pre>
<p>
What is <c>ecopy</c> doing? In that above code snippet,
<c>ecopy</c> first directly downloads the required files from
- <c>gentooexperimental.org</c> (ge.o). This is intended and an
- appreciated service from the ge.o admins. Then, <c>ecopy</c>
- runs <c>eapify</c> on the ebuild. <c>eapify</c> basically
+ <c>tinderbox.dev.gentoo.org</c>. Then, <c>ecopy</c>
+ runs <c>eapify</c> on the ebuild. <c>eapify</c> basically
does the needed gentoo-x86 -> Prefix conversion. This can
generally be automated and works right the first time about
85% of the time. After <c>eapify</c>, some keyword cleanup is
@@ -104,8 +113,9 @@
the gentoo-x86 tree. For more information on that see <uri
link="http://www.gentoo.org/proj/en/glep/glep-0053.html">GLEP
53</uri>. Last, <c>ecopy</c> re-digests the ebuild to
- accomandate any changes. Let it be known that you can do all
- this manually as well.
+ accommodate any changes. Let it be known that you can do all
+ this manually as well because <c>ecopy</c> is just a wrapper script in
+ itself.
</p>
<p>
While <c>eapfiy</c> (the tool that does the actual
@@ -113,8 +123,8 @@
cases, it cannot be trusted to always do the right thing.
Common mistakes made by <c>eapify</c> are related to either
adding or omission of the <c>${EPREFIX}</c> for some component
- in the ebuild. <c>eapify</c> doesn't catch all instances of
- what needs to be changed. If there is e.g. any path hardcoded
+ in the ebuild. <c>eapify</c> doesn't catch all instances of
+ what needs to be changed. If there is e.g. any path hardcoded
in the configure call you will need to prepend
<c>${EPREFIX}</c> to it. Also, <c>${D}</c> can be improperly
expanded to <c>${ED}</c> in certain cases. Manual review is
@@ -134,7 +144,7 @@
<p>
Great, your package works...now what? The Gentoo Prefix team relies on
users submitting bug reports stating if a new package works. We simply do
- not have the man power to get to our goal of having most of the packages
+ not have the man power to get to our goal of having most of the packages
in the Prefix tree without your help.
</p>
<p>
@@ -157,7 +167,13 @@
bundled with anything else.
</li>
<li>
- Include emerge --info
+ Include emerge --info, or at least what ARCH you are on. Otherwise, we
+ will commit the package and have to re-visit it to add your arch.
+ </li>
+ <li>
+ Do not submit reports about <c>ecopy</c> not porting your package
+ correctly, it is a best effort script only! Manual work probably is
+ needed.
</li>
</ul>
</body>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml
@ 2008-11-12 23:51 Jeremy Olexa (darkside)
0 siblings, 0 replies; 6+ messages in thread
From: Jeremy Olexa (darkside) @ 2008-11-12 23:51 UTC (permalink / raw
To: gentoo-commits
darkside 08/11/12 23:51:32
Modified: ecopy.xml
Log:
use gentoo's official docs
Revision Changes Path
1.3 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?r1=1.2&r2=1.3
Index: ecopy.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ecopy.xml 9 Sep 2008 14:46:19 -0000 1.2
+++ ecopy.xml 12 Nov 2008 23:51:32 -0000 1.3
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.2 2008/09/09 14:46:19 darkside Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.3 2008/11/12 23:51:32 darkside Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/ecopy.xml" lang="en">
<title>Importing ebuilds in Gentoo Prefix</title>
@@ -18,8 +18,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.0</version>
- <date>2008-09-04</date>
+ <version>1.1</version>
+ <date>2008-11-11</date>
<chapter>
<title>Importing ebuilds with ecopy</title>
@@ -53,8 +53,7 @@
<li>
Expects to be ran from the root of your overlay If you do
not know about overlays then please see:
- <uri>http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds</uri>
- (unofficial documentation).
+ <uri>http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1#doc_chap6</uri>.
</li>
<li>
Expects to have one and only one valid category and package
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml
@ 2008-09-04 9:07 Fabian Groffen (grobian)
0 siblings, 0 replies; 6+ messages in thread
From: Fabian Groffen (grobian) @ 2008-09-04 9:07 UTC (permalink / raw
To: gentoo-commits
grobian 08/09/04 09:07:54
Added: ecopy.xml
Log:
Add document on ecopy, based on darkside's text from bug #234006
Revision Changes Path
1.1 xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml?rev=1.1&content-type=text/plain
Index: ecopy.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/ecopy.xml,v 1.1 2008/09/04 09:07:53 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/ecopy.xml" lang="en">
<title>Importing ebuilds in Gentoo Prefix</title>
<author title="Author">
<mail link="darkside@gentoo.org">Jeremy Olexa</mail>
</author>
<abstract>
How to import ebuilds from main Gentoo into Gentoo Prefix
</abstract>
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
<version>1.0</version>
<date>2008-09-04</date>
<chapter>
<title>Importing ebuilds with ecopy</title>
<section><!-- {{{ introduction -->
<title>Introduction</title>
<body>
<p>
Ebuilds for Gentoo Prefix need some minor modifications from
those that exist in the "regular" Gentoo tree (known as the
gentoo-x86 tree). Spelling out those modifications is out of
scope for this document, feel free to browse here:
<uri>http://www.gentoo.org/proj/en/gentoo-alt/prefix/techdocs.xml</uri>
</p>
</body>
</section><!-- }}} -->
<section><!-- {{{ ecopy -->
<title>The ecopy script</title>
<body>
<p>
<c>ecopy</c>
is a script created by the Gentoo Prefix team, and located in
<c>${EPREFIX}/usr/portage/scripts</c>. Its intention is to
save people time and is mainly a wrapper for other scripts
which will be discussed later. Its usage can be described by
running: <c>ecopy</c>.
</p>
<p><c>ecopy</c> expects the following:</p>
<ul>
<li>
Expects to be ran from the root of your overlay If you do
not know about overlays then please see:
<uri>http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds</uri>
(unofficial documentation).
</li>
<li>
Expects to have one and only one valid category and package
as an argument. It should be in the form of "/" ie.
<c>app-office/openoffice</c>.
</li>
<li>
Expects <c>${EPREFIX}/usr/portage/scripts</c> to be in your
path.
</li>
<li>
Expects an up-to-date Prefix tree to reliably have the
latest scripts.
</li>
</ul>
<p>
The use of <c>ecopy</c> is best explained by a simple example.
</p>
<pre caption="ecopy example">% <i>export PATH="${PATH}:${EPREFIX}/usr/portage/scripts"</i>
% <i>cd "${EPREFIX}"/usr/local/portage/my-overlay</i>
% <i>ecopy app-office/openoffice</i>
openoffice-3.0.0_beta2.ebuild
2008-09-03 08:36:39 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/ChangeLog [85281/85281] -> "ChangeLog" [1]
2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/metadata.xml [635/635] -> "metadata.xml" [1]
2008-09-03 08:36:40 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/app-office/openoffice/Manifest [8510/8510] -> "Manifest" [1]
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]
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]
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]
Processing openoffice-3.0.0_beta2.ebuild
EAPI ... added EAPI="prefix"
replacing ${D} -> ${ED} ... 2 occurences
replacing ${ROOT} -> ${EROOT} ... not found
Processing openoffice-3.0.0_beta2.ebuild ... ~amd64-linux ~x86-linux
openoffice-3.0.0_beta2.ebuild
>>> Creating Manifest for usr/local/portage/my-overlay/app-office/openoffice
<snip for brevity></pre>
<p>
What is <c>ecopy</c> doing? In that above code snippet,
<c>ecopy</c> first directly downloads the required files from
<c>gentooexperimental.org</c> (ge.o). This is intended and an
appreciated service from the ge.o admins. Then, <c>ecopy</c>
runs <c>eapify</c> on the ebuild. <c>eapify</c> basically
does the needed gentoo-x86 -> Prefix conversion. This can
generally be automated and works right the first time about
85% of the time. After <c>eapify</c>, some keyword cleanup is
done by <c>ecleankw</c> to make it match the Prefix keywords.
The Prefix keywords are more strictly defined than those of
the gentoo-x86 tree. For more information on that see <uri
link="http://www.gentoo.org/proj/en/glep/glep-0053.html">GLEP
53</uri>. Last, <c>ecopy</c> re-digests the ebuild to
accomandate any changes. Let it be known that you can do all
this manually as well.
</p>
<p>
While <c>eapfiy</c> (the tool that does the actual
transformation of the ebuild) succeeds doing its job in many
cases, it cannot be trusted to always do the right thing.
Common mistakes made by <c>eapify</c> are related to either
adding or omission of the <c>${EPREFIX}</c> for some component
in the ebuild. <c>eapify</c> doesn't catch all instances of
what needs to be changed. If there is e.g. any path hardcoded
in the configure call you will need to prepend
<c>${EPREFIX}</c> to it. Also, <c>${D}</c> can be improperly
expanded to <c>${ED}</c> in certain cases. Manual review is
always necessary. For more details on these issues see the
<e>Ebuild modifications</e> chapter of the <uri
link="http://www.gentoo.org/proj/en/gentoo-alt/prefix/techdocs.xml#doc_chap2">Gentoo
Prefix Techdocs</uri> page.
</p>
</body>
</section><!-- }}} -->
</chapter>
</guide>
<!-- vim: set expandtab ts=2 sw=2 foldmethod=marker foldenable: -->
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-19 22:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-09 14:46 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: ecopy.xml Jeremy Olexa (darkside)
-- strict thread matches above, loose matches on Subject: below --
2015-02-19 22:32 Andreas HAttel (dilfridge)
2009-08-02 0:14 Jeremy Olexa (darkside)
2009-08-01 23:54 Jeremy Olexa (darkside)
2008-11-12 23:51 Jeremy Olexa (darkside)
2008-09-04 9:07 Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox