first package: pd-wiimote

Jonas Smedegaard dr at jones.dk
Sun Sep 5 17:18:54 UTC 2010


On Sun, Sep 05, 2010 at 12:18:27PM -0400, Hans-Christoph Steiner wrote:
>
>On Sep 2, 2010, at 5:20 PM, Jonas Smedegaard wrote:
>
>>On Thu, Sep 02, 2010 at 12:58:57PM -0400, Hans-Christoph Steiner 
>>wrote:
[snip]
>>>>On Thu, 2010-09-02 at 01:07 -0400, Hans-Christoph Steiner wrote:
>>>>>I am wondering about the strip stuff:
[snip]
>>>I was under the impression that dh would set the strip options in 
>>>the $(INSTALL_PROGRAM) for the Makefile, so that an explicit 
>>>strip wasn't necessary.  Is that true?  If so, I'll change up the 
>>>pd packages to use INSTALL_PROGRAM and INSTALL_DATA properly.  I 
>>>don't know why I didn't do this to begin with.
>>
>>No, debhelper does not interfere with $(INSTALL_PROGRAM).  For Debian 
>>packaging binaries should not be stripped during build - then dh_strip 
>>should deal with stripping afterwards.
>>
>>Problem is, the unusual filenames goes below the radar of dh_strip, 
>>and (according to Felipe) dh_strip cannot be spoonfed additional files 
>>to strip.
>
>
>Makes sense.  My question is: does it make sense to maintain a manual 
>strip target like this?  Could we run into cross-arch issues with the 
>strip target, for example?

For Debian packages we should...:

  * Avoid stripping during build
  * Strip during install if DEB_BUILD_OPTIONS does not contain nostrip

More details - and example code - in Debian Policy v3.9.1 §4.9.1.

(too lazy to find a URL - I read /usr/share/doc/debian-policy myself)


Kind regards,

  - Jonas

-- 
  * Jonas Smedegaard - idealist & Internet-arkitekt
  * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100905/506e926e/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list