Re: [ANN] pallet 1.2.1



On Wed, 9 May 2007, Stephen Touset wrote:

On Tue, 08 May 2007 14:40:54 +0900, Tomas Pospisek's Mailing Lists wrote:

On Tue, 8 May 2007, Stephen Touset wrote:

On Tue, 08 May 2007 01:51:45 +0900, Brian Candler wrote:

OK, so I'm not entirely clear how Pallet works then.

Does it generate "how to" build rules for the native packaging system - e.g.
spec files for RPM, whatever the equivalent is for Debian (control.tar.gz)?
And then you use the native packaging system to actually create the
package?

Yes. And, for debian, that's a whole slew of files in a "debian/"
directory, plus a self-executing Makefile called "debian/rules". It's
kind of a PITA, actually. :)

Uhm - as far as I know you only need like - two - of them: debian/control
and debian/rules. The others are optional in various degrees (such as
debian/copyright is reasonable if you want to distribute the package,
isn't it?)

Right. Unfortunately, to do lots of things programmatically, you need
plenty more than that in conjunction with debhelper.

debian/changelog => changelog
debian/compat => debhelper compatibility version
debian/config => debconf configuration
debian/control => package information
debian/copyright => copyright information
debian/dirs => directories that should be created on the target
debian/docs => location of documentation
debian/files => files to be installed in the target
debian/rules => build script

Plus a few others, depending on whether or not a few options are used.

Take those easy. debhelper has some 61 helper programms of which most are configurable or use arguments *only*. So it's also your choice which way to go and also *if* to use those at all. Neither of those, except for debian/control and debian/rules are mandatory. Actually you can even make a package without debian/rules, it will be installable if you build it right however Debian itself will not accept it since it will not be autobuildable. Please correct me if I'm wrong.
*t

--
-----------------------------------------------------------
Tomas Pospisek
http://sourcepole.com - Linux & Open Source Solutions
-----------------------------------------------------------

.



Relevant Pages

  • ati fglrx and xorg 7.0.0
    ... I tried to install ati driver after upgrading my Debian/etch to xorg ... Removing temporary directory: fglrx-install ... Selecting previously deselected package fglrx-driver. ... fakeroot debian/rules clean ...
    (Debian-User)
  • Re: Install KDE Language Package Problam
    ... Wayne, 30.04.2007 17:33: ... if the package still cannot be found? ...
    (Debian-User)