[PD-dev] pd-extended exectuable - packaging for Debian

IOhannes m zmölnig zmoelnig at iem.at
Wed Aug 14 07:59:42 CEST 2013


On 08/13/13 23:39, Hans-Christoph Steiner wrote:
> 
> 
> Ideally, the pd-extended build system would name the executable properly, but
> it currently does the wrong thing.  For the packaging, I think the best thing
> to do right now is to use a debian/install file to install the file as
> usr/bin/pd-extended.  I think the line in debian/install would look like this:
> 
> usr/bin/pd  usr/bin/pd-extended

this unfortunately does not work.
you will end up with a file `/usr/bin/pd-extended/pd`

the way it is handled in the `puredata` package is by using the standard
configure option `--program-transform-name='s/pd$$/puredata/`

another way would be to override the dh_auto_build target and do the
renaming there.
a totally untested snippet:
<snip>
override_dh_auto_build:
  dh_auto_build
  cp bin/pd bin/pd-extended
</snip>


> 
> As for basing the pd-extended package off of the 'puredata' package, I think
> that is not a good idea.  The pd-extended package will generate a single
> package called pd-extended.  The puredata package generates lots of sub
> packages [...]

ah yes, i was really mainly referring to `debian/rules`


fgmsdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20130814/edb94b5c/attachment.pgp>


More information about the Pd-dev mailing list