On Thu, Sep 27, 2012 at 1:20 AM, András Murányi muranyia@gmail.com wrote:
On Sun, Sep 23, 2012 at 8:22 PM, Hans-Christoph Steiner hans@at.or.atwrote:
launchpad only builds packages for the Ubuntu releases, but you could use one of the Ubuntu packages on Debian if you find an Ubuntu release that is close to your Debian release.
I hear that OpenSUSE's build server will build Debian packages, but I've never used it. It would be very useful if someone set that up, I think can also build Fedora and SUSE packages.
I played around with OpenSUSE's OBS but it's not a success yet. It needs a something.spec file for building RPMs and a something.dsc file for DEBs. Both files serve to define a source package. For the spec file, I started from one well worked out for Planet CCRMA by Fernando Lopez-Lezcano. It's looking good for the OBS right now except that I'm struggling with the source definition, i.e. it doesn't seem to be able to grab the tar.gz from sourceforge. For the debian dsc file, I used Paul Brossier's one. The dsc is much simpler, but it cannot accept source urls, only local files. That's where OBS's so-called "Source Service" comes into the picture, which can download a tar.gz or even checkout an svn repo and tar.gz it for me. I'm struggling with this too, because (1) I'm unable to grab the resulting tar.gz from the dsc (it's created with an odd name that contains a colon) and (2) in the dsc an MD5 checksum of the tar.gz needs to be present which is unknown in the case of an archive newly created from SVN. I'll try to grow smarter with OBS, but in the meantime, any advice is highly appreciated. :)
Update: both source access problems are solved for now. The deb build at the moment is stuck at the point where it doesn't recognize the source package as a valid one. Dunno why. The rpm build got as far as where it would have needed mp3lame - seems that it's only available with Planet CCRMA (?). GEM builds fine. I'm playing around with conditionals for requires for different CPU capabilities, because OBS's spec file parser is somewhat limited. More news soon, hopefully.
András