[Build-common-hackers] Emdebian and debhelper.mk

Neil Williams linux at codehelp.co.uk
Wed Dec 6 21:09:18 CET 2006


On Wed, 6 Dec 2006 20:24:40 +0100
Peter Eisentraut <peter_e at gmx.net> wrote:

> Neil Williams wrote:
> > Can you explain? How do I patch debian/rules to prevent CDBS from
> > running certain debhelper scripts?
>
> You touch neither debhelper nor cdbs.

Why? CDBS has a Gnome class and a Perl class etc. - what emdebian needs
is an embedded class.

This isn't making any sense.

> > Emdebian packages must not have debian/copyright, debian/changelog,
> > ChangeLog, AUTHORS, README, NEWS, TODO or any other text-based
> > content that is not directly executed by the package code
> > itself. /usr/share/doc will not be available either.
> > dh_installdocs, ..examples, ..man, ..info, ..changelogs as well as
> > dh_shlibs (because we are cross-building). e.g. a shared library only
> > has files in /usr/lib, nowhere else.
>
> Adjust dpkg-deb to omit these files when building the package.

I do not know the names of these files in advance - emdebian has to
cross-build almost the entire Debian archive and as much as possible
needs to be automated. I can't scan each package individually at each
upstream release and add exclude flags for every individual file!

How does that stop dh_shlibs from being run?

Patching dpkg-deb is unacceptable too.

No, this has to be resolved within CDBS.

Cross-building is a goal within Debian as a whole, not just emdebian.

--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20061206/0e16cf28/attachment-0001.pgp


More information about the Build-common-hackers mailing list