<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.finkproject.org/index.php?action=history&amp;feed=atom&amp;title=Fink%3AMajor_New_Feature_Plans%3AXMLish_Source_and_Patch</id>
	<title>Fink:Major New Feature Plans:XMLish Source and Patch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.finkproject.org/index.php?action=history&amp;feed=atom&amp;title=Fink%3AMajor_New_Feature_Plans%3AXMLish_Source_and_Patch"/>
	<link rel="alternate" type="text/html" href="https://wiki.finkproject.org/index.php?title=Fink:Major_New_Feature_Plans:XMLish_Source_and_Patch&amp;action=history"/>
	<updated>2026-04-22T07:47:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wiki.finkproject.org/index.php?title=Fink:Major_New_Feature_Plans:XMLish_Source_and_Patch&amp;diff=82&amp;oldid=prev</id>
		<title>Dmacks: Reverted edit of As7We2, changed back to last version by Dmacks</title>
		<link rel="alternate" type="text/html" href="https://wiki.finkproject.org/index.php?title=Fink:Major_New_Feature_Plans:XMLish_Source_and_Patch&amp;diff=82&amp;oldid=prev"/>
		<updated>2007-06-11T18:40:57Z</updated>

		<summary type="html">&lt;p&gt;Reverted edit of As7We2, changed back to last version by Dmacks&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Fink_Header}}&lt;br /&gt;
&lt;br /&gt;
All the &amp;lt;code&amp;gt;*Source*&amp;lt;/code&amp;gt;-related fields are a pain to parse, can lead to a messy .info. We could cluster all fields for a given source &amp;quot;item&amp;quot;. Easy to add new features (dmalloc wants stronger checksums) without making even more of a top-level fieldname mess. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SourceFile: &amp;lt;&amp;lt;&lt;br /&gt;
  Source: http://whatever&lt;br /&gt;
  Rename: %n-%v.tar.gz&lt;br /&gt;
  MD5: whatever&lt;br /&gt;
&amp;lt;&amp;lt;&lt;br /&gt;
SourceFile2: &amp;lt;&amp;lt;&lt;br /&gt;
  Source: http://whatever&lt;br /&gt;
  Rename: %n-%v.tar.gz&lt;br /&gt;
  MD5: whatever&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Easy to extend to patchfiles (for example, [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=979713&amp;amp;group_id=17203&amp;amp;atid=367203 MD5 for patchfiles] is a longstanding request).&amp;lt;pre&amp;gt;PatchFile: &amp;lt;&amp;lt;&lt;br /&gt;
  Source: foo.patch&lt;br /&gt;
  MD5: whatever&lt;br /&gt;
&amp;lt;&amp;lt;&lt;br /&gt;
PatchFile2: &amp;lt;&amp;lt;&lt;br /&gt;
  Source: foo-ssl.patch&lt;br /&gt;
  MD5: whatever&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt;/pre&amp;gt;The full path to each file would be available as a %-exp and &amp;lt;code&amp;gt;%a&amp;lt;/code&amp;gt; would be abolished. That way only files that have passed the MD5 check would be usable.&lt;br /&gt;
&lt;br /&gt;
===Extensions===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;i&amp;gt;vasi:&amp;lt;/i&amp;gt;&lt;br /&gt;
:It would be nice to have a patch folder per package rather than one monster patch.&lt;br /&gt;
:*&amp;lt;i&amp;gt;dmacks:&amp;lt;/i&amp;gt;&lt;br /&gt;
::This is already possible (subdirs in %a), and I expect that way would continue to work correctly with the new syntax. One can already even cluster [.info and its .patch] in its own %n subdir.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;i&amp;gt;drm&amp;lt;/i&amp;gt;: (on [http://sourceforge.net/support/tracker.php?aid=979713 Feature Requests Tracker])&lt;br /&gt;
:Make the application of the patches part of the default Patch field instead of an automatic action triggered by the mere presence of the patchfile field (whatever it's called).&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;i&amp;gt;vasi&amp;amp;dmacks&amp;lt;/i&amp;gt;: (on #fink?)&lt;br /&gt;
:Have a &amp;quot;Substitutions&amp;quot; field in the PatchFile* that lists regexps to apply to the patchfile before applying it to the source tree. That way we can devise a clean solution to the pipefail that plagues the standard &amp;quot;sed ... | patch&amp;quot; approach.&lt;br /&gt;
&lt;br /&gt;
* We should probably deprecate implicit source around the time we do this. That feature has not been used in 10.4T ever, or 10.3 or 10.2-gcc3.3 in at least a year. This is an annoying special case to support IMO...it means we need hacks like Source:none and Type:nosource instead of just treating &amp;quot;no source listed means there is no Source&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{{Fink_Header}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Fink|New Feature Plans XMLish Source]]&lt;br /&gt;
[[Category: Fink_Roadmap|New Feature Plans XMLish Source]]&lt;br /&gt;
[[Category: Fink_Infofile_Syntax|New Feature Plans XMLish Source]]&lt;/div&gt;</summary>
		<author><name>Dmacks</name></author>
	</entry>
</feed>