Re: packaging help?
- From: Chris Debenham <chris adebenham com>
- To: gtk-perl-list gnome org
- Subject: Re: packaging help?
- Date: Tue, 20 Apr 2010 08:57:12 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think there is a little confusion on what the original poster was
asking - answers are coming to two separate questions.
When it comes to packaging perl things there are two separate areas.
There is the packaging of perl modules (like Gtk2::Ex::Clock) and
there is the entirely separate area for packaging applications that
happen to be written in perl.
For packaging perl modules there are the various cpan2deb tools along
with special perl module stuff built into dh_make.
For packaging applications which are written in perl you don't need
any other that stuff. You package it the same as any other
application but with the end result coming from a binary-indep rule
rather than a binary-arch rule (so "Architecture: all" is in the
control file rather than a specific arch)
So I guess the question is to the original poster - are you packaging
a perl module itself (to be used by other things) or are you packaging
an application which uses perl?
Depending on which is relevant the answer is different
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)
iEYEARECAAYFAkvM38cACgkQenvI4bc00fWOgQCeMs7SXzYMwpnor8a/44Mpxalh
HFsAn0RooZxYg3QQ4Tyx5zOks0smrf+r
=4evS
-----END PGP SIGNATURE-----
On 20 April 2010 08:25, Kevin Ryde <user42 zip com au> wrote:
Jeremy Volkening <volkening mailshack com> writes:
b) downloading source packages of gtk2-perl based apps
For what it's worth I've been using cdbs with a debian dir left in the
cpan .tar.gz (eg. Gtk2::Ex::Clock for a simple example), which means
"fakeroot debian/rules binary" builds from the tar. Â(Latest cdbs
introduces a pointless renaming of the perl .mk files designed to be
incompatible with older debian, but that can be ignored.)
dh-make-perl can be persuaded to give reasonable output but you probably
want to massage the description fields and probably the dependencies
list too. Â(It also like to generate debhelper 7 format to limit
backward compatibility.)
I tried cpan2deb but it seemed to end up with slightly different layout
than native debian packages. ÂPerhaps that's changed by now.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]