Fwd: [cvs] web/xml/packaging packaging.en.xml, 1.104, 1.105

"David R. Morrison" <[email protected]> Sun, 15 Mar 2009 15:40:00 -0700
Newsgroups gmane.os.apple.fink.i18n
Message-ID <[email protected]>
--===============8827261192493363004==
Content-Type: multipart/alternative; boundary=Apple-Mail-1--995920266


--Apple-Mail-1--995920266
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	delsp=yes;
	charset=us-ascii;
	format=flowed



Begin forwarded message:

> From: "David R. Morrison" <[email protected]>
> Date: March 15, 2009 3:37:03 PM PDT
> To: [email protected]
> Subject: [cvs] web/xml/packaging packaging.en.xml,1.104,1.105
> Reply-To: [email protected]
>
> Update of /cvsroot/fink/web/xml/packaging
> In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17020
>
> Modified Files:
> 	packaging.en.xml
> Log Message:
> manual changes for deprecation of "Patch"
>
>
> Index: packaging.en.xml
> ===================================================================
> RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v
> retrieving revision 1.104
> retrieving revision 1.105
> diff -u -d -r1.104 -r1.105
> --- packaging.en.xml	24 Feb 2009 20:58:12 -0000	1.104
> +++ packaging.en.xml	15 Mar 2009 22:37:01 -0000	1.105
> @@ -2524,6 +2524,7 @@
> <item><itemt>Patch</itemt>
> <itemd>
> <p>
> +<em>(Deprecated.)</em>
> The filename of a patch to be applied with <code>patch -p1
> &lt;<em>patch-file</em></code>. This should be just a filename; the
> appropriate path (the same directory where the <code>.info</code> file
> @@ -3333,24 +3334,25 @@
> <p>If your package needs a patch to compile on Darwin (or to work with
> fink), name the patch with the same name as the package description,
> using the extension ".patch" instead of ".info" and put it in the same
> -directory as the .info file. If you use the full package in the
> -filename specify either one of these (they are equivalent):</p>
> -<codeblock>Patch: %f.patch</codeblock>
> -<codeblock>PatchScript: patch -p1 &lt;%a/%f.patch</codeblock>
> -<p>If you use the newer simple package filename convention, use %n
> -insead of %f. These two fields are not mutually-exclusive - you can
> -use both, and they will both be executed. In that case the  
> PatchScript
> -is executed last. Alternately, you can use the
> -newer <code>PatchFile</code> instead of <code>Patch</code> and apply
> -with an implicit or explicit <code>PatchScript</code>--see the
> -descriptions of the <code>PatchFile</code>
> -and <code>PatchScript</code> fields for more information.</p>
> -
> -
> -<p>Because you may need to have the users chosen prefix in the  
> patch file
> +directory as the .info file.
> +Specify the filename of the patchfile with a line such as:</p>
> +<codeblock>PatchFile: %n.patch</codeblock>
> +<p>(For packages with variants, it may be better to use
> +<code>%{ni}.patch</code> .)
> +You must also give the MD5 sum of the patchfile in the
> +<code>PatchFile-MD5</code> field, and specify
> +<code>BuildDepends: fink (&gt;= 0.24.12)</code> (or a later version  
> of fink).
> +</p>
> +<p>When a <code>PatchFile</code> declaration is present, there is a
> +default <code>PatchScript</code> equivalent to:</p>
> +<codeblock>PatchScript: patch -p1 &lt; %{PatchFile}</codeblock>
> +<p>This will be overridden if you supply a <code>PatchScript</code>
> +of your own (for example, to perform a substitution on the patch file
> +before applying it).</p>
> +<p>If you  need to have the user's chosen prefix in the patch file
> it is recommended that you have a variable such as <code>@PREFIX@</ 
> code>
> instead of <code>/sw</code> in the patch and then use:</p>
> -<codeblock>PatchScript: sed 's|@PREFIX@|%p|g' &lt;%a/%f.patch |  
> patch -p1</codeblock>
> +<codeblock>PatchScript: sed 's|@PREFIX@|%p|g' &lt; %{PatchFile} |  
> patch -p1</codeblock>
> <p>Patches should be in unidiff format and are normally generated by  
> using:</p>
> <codeblock>diff -urN &lt;originalsourcedir&gt;  
> &lt;patchedsourcedir&gt;</codeblock>
> <p>If you have used emacs to edit files, you can add <code>-x'*~'</ 
> code> to the diff command above in order to exclude automatically- 
> generated backup files.</p>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)  
> are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly  
> and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based  
> development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Fink-commits mailing list
> [email protected]
> http://news.gmane.org/gmane.os.apple.fink.cvs


--Apple-Mail-1--995920266
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><br><div><br><div>Begin =
forwarded message:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;">"David R. Morrison" =
&lt;<a =
href=3D"mailto:[email protected]">[email protected]<=
/a>&gt;<br></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Date: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">March 15, 2009 3:37:03 PM PDT<br></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;"><a =
href=3D"mailto:[email protected]">[email protected]=
ceforge.net</a><br></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Subject: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;"><b>[cvs] web/xml/packaging =
packaging.en.xml,1.104,1.105</b><br></span></div><div style=3D"margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Reply-To: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;"><a =
href=3D"mailto:[email protected]">[email protected]=
rge.net</a><br></span></div><br><div>Update of =
/cvsroot/fink/web/xml/packaging<br>In directory =
fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17020<br><br>Modified =
Files:<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>packaging.en.xml <br>Log Message:<br>manual changes for =
deprecation of "Patch"<br><br><br>Index: =
packaging.en.xml<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<b=
r>RCS file: =
/cvsroot/fink/web/xml/packaging/packaging.en.xml,v<br>retrieving =
revision 1.104<br>retrieving revision 1.105<br>diff -u -d -r1.104 =
-r1.105<br>--- packaging.en.xml<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>24 Feb 2009 20:58:12 -0000<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>1.104<br>+++ packaging.en.xml<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>15 Mar 2009 22:37:01 -0000<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>1.105<br>@@ -2524,6 +2524,7 @@<br> =
&lt;item&gt;&lt;itemt&gt;Patch&lt;/itemt&gt;<br> &lt;itemd&gt;<br> =
&lt;p&gt;<br>+&lt;em&gt;(Deprecated.)&lt;/em&gt;<br> The filename of a =
patch to be applied with &lt;code&gt;patch -p1<br> =
&amp;lt;&lt;em&gt;patch-file&lt;/em&gt;&lt;/code&gt;. This should be =
just a filename; the<br> appropriate path (the same directory where the =
&lt;code&gt;.info&lt;/code&gt; file<br>@@ -3333,24 +3334,25 @@<br> =
&lt;p&gt;If your package needs a patch to compile on Darwin (or to work =
with<br> fink), name the patch with the same name as the package =
description,<br> using the extension ".patch" instead of ".info" and put =
it in the same<br>-directory as the .info file. If you use the full =
package in the<br>-filename specify either one of these (they are =
equivalent):&lt;/p&gt;<br>-&lt;codeblock&gt;Patch: =
%f.patch&lt;/codeblock&gt;<br>-&lt;codeblock&gt;PatchScript: patch -p1 =
&amp;lt;%a/%f.patch&lt;/codeblock&gt;<br>-&lt;p&gt;If you use the newer =
simple package filename convention, use %n<br>-insead of %f. These two =
fields are not mutually-exclusive - you can<br>-use both, and they will =
both be executed. In that case the PatchScript<br>-is executed last. =
Alternately, you can use the<br>-newer =
&lt;code&gt;PatchFile&lt;/code&gt; instead of =
&lt;code&gt;Patch&lt;/code&gt; and apply<br>-with an implicit or =
explicit &lt;code&gt;PatchScript&lt;/code&gt;--see the<br>-descriptions =
of the &lt;code&gt;PatchFile&lt;/code&gt;<br>-and =
&lt;code&gt;PatchScript&lt;/code&gt; fields for more =
information.&lt;/p&gt;<br>-<br>-<br>-&lt;p&gt;Because you may need to =
have the users chosen prefix in the patch file<br>+directory as the =
.info file. <br>+Specify the filename of the patchfile with a line such =
as:&lt;/p&gt;<br>+&lt;codeblock&gt;PatchFile: =
%n.patch&lt;/codeblock&gt;<br>+&lt;p&gt;(For packages with variants, it =
may be better to use <br>+&lt;code&gt;%{ni}.patch&lt;/code&gt; =
.)<br>+You must also give the MD5 sum of the patchfile in the =
<br>+&lt;code&gt;PatchFile-MD5&lt;/code&gt; field, and specify =
<br>+&lt;code&gt;BuildDepends: fink (&amp;gt;=3D 0.24.12)&lt;/code&gt; =
(or a later version of fink).<br>+&lt;/p&gt;<br>+&lt;p&gt;When a =
&lt;code&gt;PatchFile&lt;/code&gt; declaration is present, there is =
a<br>+default &lt;code&gt;PatchScript&lt;/code&gt; equivalent =
to:&lt;/p&gt;<br>+&lt;codeblock&gt;PatchScript: patch -p1 &amp;lt; =
%{PatchFile}&lt;/codeblock&gt;<br>+&lt;p&gt;This will be overridden if =
you supply a &lt;code&gt;PatchScript&lt;/code&gt;<br>+of your own (for =
example, to perform a substitution on the patch file<br>+before applying =
it).&lt;/p&gt;<br>+&lt;p&gt;If you &nbsp;need to have the user's chosen =
prefix in the patch file<br> it is recommended that you have a variable =
such as &lt;code&gt;@PREFIX@&lt;/code&gt; <br> instead of =
&lt;code&gt;/sw&lt;/code&gt; in the patch and then =
use:&lt;/p&gt;<br>-&lt;codeblock&gt;PatchScript: sed 's|@PREFIX@|%p|g' =
&amp;lt;%a/%f.patch | patch =
-p1&lt;/codeblock&gt;<br>+&lt;codeblock&gt;PatchScript: sed =
's|@PREFIX@|%p|g' &amp;lt; %{PatchFile} | patch =
-p1&lt;/codeblock&gt;<br> &lt;p&gt;Patches should be in unidiff format =
and are normally generated by using:&lt;/p&gt;<br> &lt;codeblock&gt;diff =
-urN &amp;lt;originalsourcedir&amp;gt; =
&amp;lt;patchedsourcedir&amp;gt;&lt;/codeblock&gt;<br> &lt;p&gt;If you =
have used emacs to edit files, you can add =
&lt;code&gt;-x'*~'&lt;/code&gt; to the diff command above in order to =
exclude automatically-generated backup =
files.&lt;/p&gt;<br><br><br>----------------------------------------------=
--------------------------------<br>Apps built with the Adobe(R) Flex(R) =
framework and Flex Builder(TM) are<br>powering Web 2.0 with engaging, =
cross-platform capabilities. Quickly and<br>easily build your RIAs with =
Flex Builder, the Eclipse(TM)based development<br>software that enables =
intelligent coding and step-through debugging.<br>Download the free 60 =
day trial. <a =
href=3D"http://p.sf.net/sfu/www-adobe-com">http://p.sf.net/sfu/www-adobe-c=
om</a><br>_______________________________________________<br>Fink-commits =
mailing list<br><a =
href=3D"mailto:[email protected]">[email protected]=
ceforge.net</a><br>http://news.gmane.org/gmane.os.apple.fink.cvs<br></div>=
</blockquote></div><br></body></html>=

--Apple-Mail-1--995920266--


--===============8827261192493363004==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--===============8827261192493363004==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
fink-i18n mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.i18n
--===============8827261192493363004==--