<br><div class="gmail_quote">On Fri, Sep 28, 2012 at 9:24 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>On 09/28/2012 12:10 PM, András Murányi wrote:<br>
&gt;&gt; It could be a useful way to provide Debian/squeeze packages.<br>
&gt;&gt;&gt;&gt; If you want to try my new Pd-extended proper debian support, run:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; $<br>
&gt;&gt; ~/auto-build/pd-extended/scripts/auto-build/pd-extended-source-tarball.sh<br>
&gt;&gt;&gt;&gt; $ mv /tmp/Pd-extended_0.43.1~20120926-source.tar.bz2<br>
&gt;&gt;&gt;&gt; ~/auto-build/pd-extended_0.43.1~20120926.orig.tar.bz2<br>
&gt;&gt;&gt;&gt; $ cd ~/auto-build/pd-extended<br>
&gt;&gt;&gt;&gt; $ debuild -S -uc -us<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hm, I don&#39;t have this script yet in ~auto-build/ ... It seems it doesn&#39;t<br>
&gt;&gt;&gt; work if I just download it to any place along with its whole folder, but<br>
&gt;&gt; I<br>
&gt;&gt;&gt; cannot run it from the main run-automated-builder script either, because<br>
&gt;&gt;&gt; rsync cannot reach the server.<br>
&gt;&gt; you need to get them from SVN:<br>
&gt;&gt;<br>
&gt;&gt; cd ~/auto-build/pd-extended/scripts<br>
&gt;&gt; svn up<br>
&gt;&gt; cd ..<br>
&gt;&gt; svn up<br>
&gt;&gt;<br>
&gt; That did the trick!<br>
&gt; The script itself didn&#39;t succeed at the first run but the third run<br>
&gt; completed clean.<br>
&gt; And it deletes the file at the end so I needed to copy it before it<br>
&gt; finished :o)<br>
<br>
</div>I just committed some fixes for that. :)  But you can also get a source<br>
tarball that&#39;s generated each night:<br>
<br>
<a href="http://blinky.at.or.at/auto-build/2012-09-28/" target="_blank">http://blinky.at.or.at/auto-build/2012-09-28/</a><br></blockquote><div><br>Cool. The only inconvenience is that the folder and the file name has the date so I cannot have the OBS pull the freshest one automatically. An url without &quot;variables&quot;, like /auto-build/latest/Pd-extended_0.43.4-source.debian.tar.bz2 would do the trick...<br>



<br>BTW, would it be possible to make up the tar.gz which comes from sourceforge in a way that it has the proper /debian folder instead of the seemingly less proper /packages/linux_make/debian/? Why cannot it have all the superpower that the one from the auto-build repo has? Sorry, perhaps there is a reason, I&#39;m just too dumb for this source package business yet.<br>


<br>Btw, /packages/redhat_rpm/pd-extended.spec in the source package seems outdated (Version: 0.39.2)... It&#39;s an earlier (2006) version of the spec file by Fernando Lopez-Lezcano. However, it has the advantage that it generates separate packages for the externals (if it still works), while the last (2010) version generated a core and an extra package only.<br>


 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<br>
&gt;&gt; The rsync method is gone for now, and perhaps permanently.  I&#39;m trying<br>
&gt;&gt; to see if I can make the cleaning process work without rsync.<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; (the -uc -us) means ignore the whole signing procedure, including the<br>
&gt;&gt;&gt;&gt; name in the debian/changelog)<br>
&gt;&gt;&gt;&gt; Also, its great that you are taking on the spec file for RPMs!  Once you<br>
&gt;&gt;&gt; get &#39;puredata&#39; working, then it would be very handy if you could make<br>
&gt;&gt;&gt;&gt; one for the externals/template.  Then it&#39;ll be easy to make RPMs for<br>
&gt;&gt;&gt;&gt; most of the libraries in Pd-extended, just like what&#39;s in Debian.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;ve never made RPMs before, but I&#39;ve done a lot of other packaging, so<br>
&gt;&gt;&gt;&gt; I&#39;ll help where I can.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; Well, the deb thing is stuck at this line now:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; dpkg-source: error: unrecognized file for a v1.0 source package:<br>
&gt;&gt;&gt;&gt; Pd-0.42.5-extended.tar.gz<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; The file is pulled from<br>
&gt;&gt;&gt;<br>
&gt;&gt; <a href="http://sourceforge.net/projects/pure-data/files/pd-extended/0.42.5/Pd-0.42.5-extended.tar.gz" target="_blank">http://sourceforge.net/projects/pure-data/files/pd-extended/0.42.5/Pd-0.42.5-extended.tar.gz</a><br>





&gt;&gt;&gt; (It has a packages/linux_make/debian folder but still no good.)<br>
&gt;&gt;&gt; Is there a .tar.gz for pd-extended online which is suitable for deb<br>
&gt;&gt;&gt; packaging and I could link to it? I don&#39;t want to reinvent the wheel...<br>
&gt;&gt;&gt; BTW, Is there a Pd-0.42.5-extended-dev.deb (or alike) that I could study<br>
&gt;&gt; or<br>
&gt;&gt;&gt; use for parts?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The rpm is losing it here:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; `test -f<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt; /home/abuild/rpmbuild/BUILD/Pd-0.42.5-extended/externals/unauthorized/mp3live~/../linux/mp3streamin~.libs<br>
&gt;&gt;&gt;&gt; &amp;&amp; cat<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt; /home/abuild/rpmbuild/BUILD/Pd-0.42.5-extended/externals/unauthorized/mp3live~/../linux/mp3streamin~.libs`<br>
&gt;&gt;&gt;&gt; /usr/bin/ld: cannot find -lmp3lame<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; As far as I understood lame-devel is not available in Fedora. How do I<br>
&gt;&gt;&gt; proceed?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; András<br>
&gt;&gt;&gt;<br>
&gt;&gt; For Debian/squeeze, we rely on the libmp3lame-dev that&#39;s in<br>
&gt;&gt; squeeze-backports.  Previously, it was required that people downloaded<br>
&gt;&gt; it from <a href="http://deb-multimedia.org" target="_blank">deb-multimedia.org</a>.  I guess you&#39;d need to get it from somewhere<br>
&gt;&gt; else, but I don&#39;t know enough about Fedora to say.  Does PlanetCCRMA<br>
&gt;&gt; include lame?  I think that would be the best place for dependencies.<br>
&gt;&gt;<br>
&gt; Planet CCRMA does have lame, but the OBS doesn&#39;t have Planet CCRMA.<br>
&gt; It is possible to fetch and build the lame sources into with pd but then we<br>
&gt; would have the lame binary bundled into pd which is not something we want,<br>
&gt; do we?<br>
&gt; So my best idea right now is to disable the external(s) that use lame.<br>
<br>
</div></div>That&#39;s easiest for now.  I think only &#39;unauthorized&#39; and maybe &#39;iemlib&#39;<br>
require lame.<br></blockquote><div><br>I&#39;ve tried this in /externals/unauthorized/Makefile:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

TARGETS=$(filter-out $(wildcard mp3*/*.*),$(TARGETS))<br></blockquote>but it doesn&#39;t work. How can I effectively disable building /externals/unauthorized/mp3* ?<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br>
&gt;&gt; I think it&#39;ll be a lot easier if you start with just &#39;puredata&#39; and the<br>
&gt;&gt; libs based on the Library Template.  Then once you get the hang of basic<br>
&gt;&gt; RPM packaging, you can take on the whole pd-extended, which can be<br>
&gt;&gt; painful.  Also, I think that Pd-extended 0.43.1 will be a lot easier to<br>
&gt;&gt; package since I&#39;ve fixed all of the problems that came up during the<br>
&gt;&gt; proper debian packaging.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; Well... I&#39;m actually enjoying RPM packaging, it&#39;s a nice compact thing with<br>
&gt; everything controlled from a single spec file, and at the moment the<br>
&gt; simpler way for me is to try to get pd-extended build, and to get into the<br>
&gt; Library Template, which I&#39;m completely unfamiliar with, at a later point.<br>
&gt; The problems which I&#39;m having are with some individual externals, but this<br>
&gt; way when I solve one, the next one comes up, so it&#39;s easy to go through all<br>
&gt; of them. At least I hope so.<br>
&gt; I&#39;d even say: let me finish packaging 0.42.5-extended as a monolith now<br>
&gt; (according to the original topic), and let&#39;s do 0.43 with the Library<br>
&gt; Template approach later. Is that OK?<br>
&gt;<br>
&gt; Again, I&#39;m focusing more on the RPM side and I&#39;d by happy if I could feed a<br>
&gt; debian-ready source tar.gz to the OBS, and I&#39;d provide only the dsc. The<br>
&gt; less cool way is to upload a static file (like the one generated by<br>
&gt; pd-extended-source-tarball.sh), the more cool way would be to link to one<br>
&gt; which is online somewhere. Is there one?<br>
<br>
</div>You should do it how you want to do it.  I suggested starting with the<br>
library template because I think it would be a lot easier, since the<br>
Makefile was custom made to work well with Debian packaging by providing<br>
very standard names for commands &quot;make clean&quot;, &quot;make&quot;, &quot;make install&quot;,<br>
&quot;make dist&quot;, etc.<br>
<span><font color="#888888"><br></font></span></blockquote><div><br>I&#39;ve started to set up 0.43 too on the OBS and I&#39;ll definitely try to go into separating packages when I&#39;m there.<br><br>I&#39;ll have to figure out how to handle the source (and MD5s!) for the debian builds and then I can evolve them along with the RPMs.<br>

<br>If anyone wants to join the party, of course I&#39;ll be happy to add them as admins.<br></div></div><br><br clear="all">András<br>