[PD] pd-extended 0.42.5 packages for many Ubuntu releases, i386/amd64

Hans-Christoph Steiner hans at at.or.at
Thu Sep 27 18:47:51 CEST 2012


On 09/27/2012 10:30 AM, András Murányi wrote:
> On Thu, Sep 27, 2012 at 1:20 AM, András Murányi <muranyia at gmail.com> wrote:
>
>> On Sun, Sep 23, 2012 at 8:22 PM, Hans-Christoph Steiner <hans at at.or.at>wrote:
>>
>>> 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.

Deb source packages are too tricky to create manually, use the Debian
tools.  If you are working from a git repo, like for puredata, the use
"git-buildpackage -S".   For any repo with the debian/ folder there, you
can use "debuild -S"

You will need to change the debian/changelog to have your name and email
in it, so that the signing part works, if opensuse requires signed
packages.  Launchpad, Debian, and Ubuntu all do.

At the very least, you'll want to do:

sudo apt-get install dpkg-dev devscripts debhelper cdbs

You can also download the source packages from the Debian or Ubuntu
official packages, but they'll be signed by the original uploaders key. 
That wouldn't work with Launchpad but might with OBS, if it has looser
signing restrictions.

If you want to try my new Pd-extended proper debian support, run:

$ ~/auto-build/pd-extended/scripts/auto-build/pd-extended-source-tarball.sh
$ mv /tmp/Pd-extended_0.43.1~20120926-source.tar.bz2
~/auto-build/pd-extended_0.43.1~20120926.orig.tar.bz2
$ cd ~/auto-build/pd-extended
$ debuild -S -uc -us

(the -uc -us) means ignore the whole signing procedure, including the
name in the debian/changelog)

.hc



More information about the Pd-list mailing list