<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4386&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / quilt diff fails]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4386</link>
		<description><![CDATA[The most recent posts in quilt diff fails.]]></description>
		<lastBuildDate>Sun, 27 Jun 2021 11:56:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: quilt diff fails]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=30438#p30438</link>
			<description><![CDATA[<p>Thanks, guys. I added the .png files to include-binaries instead of putting them in the patch.&#160; Just the .xpm is in the patch. Looks like it all works and builds now.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 27 Jun 2021 11:56:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=30438#p30438</guid>
		</item>
		<item>
			<title><![CDATA[Re: quilt diff fails]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=30419#p30419</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Suggestions are welcome.</p></div></blockquote></div><p>Quilt was incorporated into dpkg some time ago so perhaps try the <span class="bbc">dpkg-source --commit</span> abstraction:</p><p><a href="https://www.debian.org/doc/manuals/debmake-doc/ch04.en.html#dpkg-source-commit" rel="nofollow">https://www.debian.org/doc/manuals/debm … rce-commit</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 26 Jun 2021 16:57:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=30419#p30419</guid>
		</item>
		<item>
			<title><![CDATA[Re: quilt diff fails]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=30414#p30414</link>
			<description><![CDATA[<p>There&#039;s some additional notes about quilt for debian packages in <span class="bbc">man dpkg-source</span>, line 440++. Esp:</p><div class="quotebox"><blockquote><div><p>Any change on a binary file is not representable in a diff and will thus&#160; lead to a failure unless the maintainer deliberately decided to include that modified binary file in the debian tarball (by listing it in <strong>debian/source/include-binaries</strong>).&#160; The build will also fail if it finds binary files in the debian sub-directory unless they have been whitelisted through <strong>debian/source/include-binaries</strong>.</p></div></blockquote></div><p>Perhaps that means both that the relative pathname for png file (probably relative the directory containing the <span class="bbc">debian</span> sub directory) must be mentioned in that <span class="bbc">included-binaries</span> file, and then that the <span class="bbc">included-binaries</span> file is maintained via quilt patching.<br />EDIT: or that the <span class="bbc">included-binaries</span> file is just updated (without quilt-ing).</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 26 Jun 2021 00:07:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=30414#p30414</guid>
		</item>
		<item>
			<title><![CDATA[quilt diff fails]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=30409#p30409</link>
			<description><![CDATA[<p>I&#039;m trying to make a quilt patch to correct (replace) a couple of files in clearlooks-phenix-cinnabar-theme, following this guide: <a href="https://wiki.debian.org/UsingQuilt" rel="nofollow">https://wiki.debian.org/UsingQuilt</a><br />I&#039;ve used that guide successfully on the deepsea theme, but this patch is failing. Here&#039;s my command history with relevant output:</p><div class="codebox"><pre class="vscroll"><code>### Clone the repo and checkout the working branch
git clone git@git.devuan.org:devuan/clearlooks-phenix-cinnabar-theme.git
cd clearlooks-phenix-cinnabar-theme/
git checkout suites/unstable

### apply existing patches (there&#039;s one active in the series file)
$ quilt push -a

Applying patch color-change
patching file gtk-2.0/gtkrc

Now at patch color-change

### Create new patch
$ quilt new top-left-active-fix

Patch top-left-active-fix is now on top

### Start making the changes 
$ quilt add xfwm4/top-left-active.xpm 
File xfwm4/top-left-active.xpm added to patch top-left-active-fix

$ cp ../top-left-active.xpm xfwm4/
$ quilt refresh
Refreshed patch top-left-active-fix

$ quilt add xfwm4/top-left-active.png 
File xfwm4/top-left-active.png added to patch top-left-active-fix

$ cp ../top-left-active.png xfwm4/
$ quilt refresh
Diff failed on file &#039;xfwm4/top-left-active.png&#039;, aborting

$ quilt add xfwm4/png/top-left-active.png 
File xfwm4/png/top-left-active.png added to patch top-left-active-fix

$ cp ../top-left-active.png xfwm4/png/
$ quilt refresh
Diff failed on file &#039;xfwm4/png/top-left-active.png&#039;, aborting

### Get rid of the failed patch and remove all the applied patches.
quilt delete top-left-active-fix
quilt pop -a</code></pre></div><p>The .xpm file is a text file, and that works. The .png is a binary file, and I don&#039;t know if there&#039;s a different way to handle that. Other than that, I have no ideas about what&#039;s wrong. Suggestions are welcome.</p><p>Here&#039;s a link to the unstable branch, for reference: <a href="https://git.devuan.org/devuan/clearlooks-phenix-cinnabar-theme/src/branch/suites/unstable" rel="nofollow">https://git.devuan.org/devuan/clearlook … s/unstable</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 25 Jun 2021 13:49:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=30409#p30409</guid>
		</item>
	</channel>
</rss>
