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 > <<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 <%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 (>= 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 < %{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' <%a/%f.patch | > patch -p1</codeblock> > +<codeblock>PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | > patch -p1</codeblock> > <p>Patches should be in unidiff format and are normally generated by > using:</p> > <codeblock>diff -urN <originalsourcedir> > <patchedsourcedir></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" = <<a = href=3D"mailto:[email protected]">[email protected]<= /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>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> = <item><itemt>Patch</itemt><br> <itemd><br> = <p><br>+<em>(Deprecated.)</em><br> The filename of a = patch to be applied with <code>patch -p1<br> = &lt;<em>patch-file</em></code>. This should be = just a filename; the<br> appropriate path (the same directory where the = <code>.info</code> file<br>@@ -3333,24 +3334,25 @@<br> = <p>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):</p><br>-<codeblock>Patch: = %f.patch</codeblock><br>-<codeblock>PatchScript: patch -p1 = &lt;%a/%f.patch</codeblock><br>-<p>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 = <code>PatchFile</code> instead of = <code>Patch</code> and apply<br>-with an implicit or = explicit <code>PatchScript</code>--see the<br>-descriptions = of the <code>PatchFile</code><br>-and = <code>PatchScript</code> fields for more = information.</p><br>-<br>-<br>-<p>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:</p><br>+<codeblock>PatchFile: = %n.patch</codeblock><br>+<p>(For packages with variants, it = may be better to use <br>+<code>%{ni}.patch</code> = .)<br>+You must also give the MD5 sum of the patchfile in the = <br>+<code>PatchFile-MD5</code> field, and specify = <br>+<code>BuildDepends: fink (&gt;=3D 0.24.12)</code> = (or a later version of fink).<br>+</p><br>+<p>When a = <code>PatchFile</code> declaration is present, there is = a<br>+default <code>PatchScript</code> equivalent = to:</p><br>+<codeblock>PatchScript: patch -p1 &lt; = %{PatchFile}</codeblock><br>+<p>This will be overridden if = you supply a <code>PatchScript</code><br>+of your own (for = example, to perform a substitution on the patch file<br>+before applying = it).</p><br>+<p>If you need to have the user's chosen = prefix in the patch file<br> it is recommended that you have a variable = such as <code>@PREFIX@</code> <br> instead of = <code>/sw</code> in the patch and then = use:</p><br>-<codeblock>PatchScript: sed 's|@PREFIX@|%p|g' = &lt;%a/%f.patch | patch = -p1</codeblock><br>+<codeblock>PatchScript: sed = 's|@PREFIX@|%p|g' &lt; %{PatchFile} | patch = -p1</codeblock><br> <p>Patches should be in unidiff format = and are normally generated by using:</p><br> <codeblock>diff = -urN &lt;originalsourcedir&gt; = &lt;patchedsourcedir&gt;</codeblock><br> <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><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==--