<br><br><div class="gmail_quote">On Thu, Sep 27, 2012 at 6:47 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On 09/27/2012 10:30 AM, András Murányi wrote:<br>
&gt; On Thu, Sep 27, 2012 at 1:20 AM, András Murányi &lt;<a href="mailto:muranyia@gmail.com">muranyia@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; On Sun, Sep 23, 2012 at 8:22 PM, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; launchpad only builds packages for the Ubuntu releases, but you could use<br>
&gt;&gt;&gt; one of the Ubuntu packages on Debian if you find an Ubuntu release that is<br>
&gt;&gt;&gt; close to your Debian release.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I hear that OpenSUSE&#39;s build server will build Debian packages, but I&#39;ve<br>
&gt;&gt;&gt; never used it.  It would be very useful if someone set that up, I think can<br>
&gt;&gt;&gt; also build Fedora and SUSE packages.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; I played around with OpenSUSE&#39;s OBS but it&#39;s not a success yet.<br>
&gt;&gt; It needs a something.spec file for building RPMs and a something.dsc file<br>
&gt;&gt; for DEBs. Both files serve to define a source package.<br>
&gt;&gt; For the spec file, I started from one well worked out for Planet CCRMA by<br>
&gt;&gt; Fernando Lopez-Lezcano. It&#39;s looking good for the OBS right now except that<br>
&gt;&gt; I&#39;m struggling with the source definition, i.e. it doesn&#39;t seem to be able<br>
&gt;&gt; to grab the tar.gz from sourceforge.<br>
&gt;&gt; For the debian dsc file, I used Paul Brossier&#39;s one. The dsc is much<br>
&gt;&gt; simpler, but it cannot accept source urls, only local files. That&#39;s where<br>
&gt;&gt; OBS&#39;s so-called &quot;Source Service&quot; comes into the picture, which can download<br>
&gt;&gt; a tar.gz or even checkout an svn repo and tar.gz it for me. I&#39;m struggling<br>
&gt;&gt; with this too, because (1) I&#39;m unable to grab the resulting tar.gz from the<br>
&gt;&gt; dsc (it&#39;s created with an odd name that contains a colon) and (2) in the<br>
&gt;&gt; dsc an MD5 checksum of the tar.gz needs to be present which is unknown in<br>
&gt;&gt; the case of an archive newly created from SVN.<br>
&gt;&gt; I&#39;ll try to grow smarter with OBS, but in the meantime, any advice is<br>
&gt;&gt; highly appreciated. :)<br>
&gt;&gt;<br>
&gt; Update: both source access problems are solved for now.<br>
&gt; The deb build at the moment is stuck at the point where it doesn&#39;t<br>
&gt; recognize the source package as a valid one. Dunno why.<br>
&gt; The rpm build got as far as where it would have needed mp3lame - seems that<br>
&gt; it&#39;s only available with Planet CCRMA (?). GEM builds fine. I&#39;m playing<br>
&gt; around with conditionals for requires for different CPU capabilities,<br>
&gt; because OBS&#39;s spec file parser is somewhat limited.<br>
&gt; More news soon, hopefully.<br>
<br>
</div></div>Deb source packages are too tricky to create manually, use the Debian<br>
tools.  If you are working from a git repo, like for puredata, the use<br>
&quot;git-buildpackage -S&quot;.   For any repo with the debian/ folder there, you<br>
can use &quot;debuild -S&quot;<br>
<br>
You will need to change the debian/changelog to have your name and email<br>
in it, so that the signing part works, if opensuse requires signed<br>
packages.  Launchpad, Debian, and Ubuntu all do.<br>
<br>
At the very least, you&#39;ll want to do:<br>
<br>
sudo apt-get install dpkg-dev devscripts debhelper cdbs<br>
<br>
You can also download the source packages from the Debian or Ubuntu<br>
official packages, but they&#39;ll be signed by the original uploaders key.<br>
That wouldn&#39;t work with Launchpad but might with OBS, if it has looser<br>
signing restrictions.<br></blockquote><div><br>Cool, I&#39;ve actually paid less attention to the deb process on OBS knowing that it&#39;s already worked out and up-to-date somewhere else. I&#39;ll take a look at how I can reuse those packages.<br>

OBS doesn&#39;t need signed packages, an I haven&#39;t tried if it accepts packages signed by someone else.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
If you want to try my new Pd-extended proper debian support, run:<br>
<br>
$ ~/auto-build/pd-extended/scripts/auto-build/pd-extended-source-tarball.sh<br>
$ mv /tmp/Pd-extended_0.43.1~20120926-source.tar.bz2<br>
~/auto-build/pd-extended_0.43.1~20120926.orig.tar.bz2<br>
$ cd ~/auto-build/pd-extended<br>
$ debuild -S -uc -us<br></blockquote><div><br>Hm, I don&#39;t have this script yet in ~auto-build/ ...  It seems it doesn&#39;t work if I just download it to any place along with its whole folder, but I cannot run it from the main run-automated-builder script either, because rsync cannot reach the server.<br>

 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
(the -uc -us) means ignore the whole signing procedure, including the<br>
name in the debian/changelog)<span class="HOEnZb"></span> </blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, its great that you are taking on the spec file for RPMs!  Once you<br>

</blockquote></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
get &#39;puredata&#39; working, then it would be very handy if you could make<br>
one for the externals/template.  Then it&#39;ll be easy to make RPMs for<br>
most of the libraries in Pd-extended, just like what&#39;s in Debian.<br><br>
I&#39;ve never made RPMs before, but I&#39;ve done a lot of other packaging, so<br>
I&#39;ll help where I can.<br></blockquote><div><br>Well, the deb thing is stuck at this line now:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

dpkg-source: error: unrecognized file for a v1.0 source package: Pd-0.42.5-extended.tar.gz<br></blockquote>The file is pulled from <a href="http://sourceforge.net/projects/pure-data/files/pd-extended/0.42.5/Pd-0.42.5-extended.tar.gz">http://sourceforge.net/projects/pure-data/files/pd-extended/0.42.5/Pd-0.42.5-extended.tar.gz</a><br>

(It has a packages/linux_make/debian folder but still no good.)<br>Is there a .tar.gz for pd-extended online which is suitable for deb packaging and I could link to it? I don&#39;t want to reinvent the wheel...<br>BTW, Is there a Pd-0.42.5-extended-dev.deb (or alike) that I could study or use for parts?<br>

<br>The rpm is losing it here:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">`test -f /home/abuild/rpmbuild/BUILD/Pd-0.42.5-extended/externals/unauthorized/mp3live~/../linux/mp3streamin~.libs &amp;&amp; cat /home/abuild/rpmbuild/BUILD/Pd-0.42.5-extended/externals/unauthorized/mp3live~/../linux/mp3streamin~.libs`<br>

/usr/bin/ld: cannot find -lmp3lame<br></blockquote><div>As far as I understood lame-devel is not available in Fedora. How do I proceed?<br></div></div><span class="HOEnZb"></span><br clear="all">András<br>