Re: 1st try at packaging perl program

2001-06-29 Thread Etienne Grossmann


  Just to say thanks to all who helped. I am now leaving for a week
(going to France, but not Bordeaux), and will continue on packaging
when I get back.

  Thanks again,

  Etienne



Re: 1st try at packaging perl program

2001-06-29 Thread Julian Gilbey
On Fri, Jun 29, 2001 at 04:35:11PM +0100, Etienne Grossmann wrote:
> 
> 
> From: Paolo Molaro <[EMAIL PROTECTED]>
> 
> #  >   Would anyone be willing to send me the source tree of a debian
> #  > package that wraps a perl program/module (or send me the url for one)?
> #
> #  apt-get source lib*-perl should do it.
> 
>   Silly question : where do I get source packages? I did what I think
>   correct from the sources.list, apt-get manpages (put deb-src lines
>   in sources.list, just like deb lines), but still get : 
> 
> anonimo:/home/etienne/prog/perl/bloksi/tmp# apt-get source mailtools
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Could not open file 
> /var/state/apt/lists/sunsite.org.uk_Mirrors_ftp.debian.org_pub_debian_dists_potato_contrib_source_Sources
>  - open (2 No such file or directory)

Have you done an apt-get update or dselect update?

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
   Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Re: 1st try at packaging perl program

2001-06-29 Thread Etienne Grossmann



  Just to say thanks to all who helped. I am now leaving for a week
(going to France, but not Bordeaux), and will continue on packaging
when I get back.

  Thanks again,

  Etienne


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 1st try at packaging perl program

2001-06-29 Thread Julian Gilbey

On Fri, Jun 29, 2001 at 04:35:11PM +0100, Etienne Grossmann wrote:
> 
> 
> From: Paolo Molaro <[EMAIL PROTECTED]>
> 
> #  >   Would anyone be willing to send me the source tree of a debian
> #  > package that wraps a perl program/module (or send me the url for one)?
> #
> #  apt-get source lib*-perl should do it.
> 
>   Silly question : where do I get source packages? I did what I think
>   correct from the sources.list, apt-get manpages (put deb-src lines
>   in sources.list, just like deb lines), but still get : 
> 
> anonimo:/home/etienne/prog/perl/bloksi/tmp# apt-get source mailtools
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Could not open file 
>/var/state/apt/lists/sunsite.org.uk_Mirrors_ftp.debian.org_pub_debian_dists_potato_contrib_source_Sources
> - open (2 No such file or directory)

Have you done an apt-get update or dselect update?

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
   Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 1st try at packaging perl program

2001-06-29 Thread Etienne Grossmann


From: Paolo Molaro <[EMAIL PROTECTED]>

#  >   Would anyone be willing to send me the source tree of a debian
#  > package that wraps a perl program/module (or send me the url for one)?
#
#  apt-get source lib*-perl should do it.

  Silly question : where do I get source packages? I did what I think
  correct from the sources.list, apt-get manpages (put deb-src lines
  in sources.list, just like deb lines), but still get : 

anonimo:/home/etienne/prog/perl/bloksi/tmp# apt-get source mailtools
Reading Package Lists... Done
Building Dependency Tree... Done
E: Could not open file 
/var/state/apt/lists/sunsite.org.uk_Mirrors_ftp.debian.org_pub_debian_dists_potato_contrib_source_Sources
 - open (2 No such file or directory)

   Sorry if the the answer is written in bold in tfm (what page, please),

   Etienne



Re: 1st try at packaging perl program

2001-06-29 Thread Etienne Grossmann



From: Paolo Molaro <[EMAIL PROTECTED]>

#  >   Would anyone be willing to send me the source tree of a debian
#  > package that wraps a perl program/module (or send me the url for one)?
#
#  apt-get source lib*-perl should do it.

  Silly question : where do I get source packages? I did what I think
  correct from the sources.list, apt-get manpages (put deb-src lines
  in sources.list, just like deb lines), but still get : 

anonimo:/home/etienne/prog/perl/bloksi/tmp# apt-get source mailtools
Reading Package Lists... Done
Building Dependency Tree... Done
E: Could not open file 
/var/state/apt/lists/sunsite.org.uk_Mirrors_ftp.debian.org_pub_debian_dists_potato_contrib_source_Sources
 - open (2 No such file or directory)

   Sorry if the the answer is written in bold in tfm (what page, please),

   Etienne


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 1st try at packaging perl program

2001-06-29 Thread Paolo Molaro
On 06/29/01 Etienne Grossmann wrote:
>   this is a near-copy of a mail I sent yesterday to debian-perl. I
> think it is relevant to this list.
> 
>   I just managed to build a working .deb from a perl program (a game
> that uses gtk and gnome), after a fair amount of cruft (*).
> 
>   I build it w/ the help of the "New Maintainer's Guide", the
> "Packaging Manual", the devel, mentors and perl mailing lists. There
> are still a few things that I don't understand, such as that below.
> 
>   Would anyone be willing to send me the source tree of a debian
> package that wraps a perl program/module (or send me the url for one)?

apt-get source lib*-perl should do it.

>   Also, I read in last February's perl archive about Joey's
> CPAN::Debian and about Lupus's work in the same direction. Has anyone
> used them? I downloaded CPAN::Debian, but didn't look at it yet.

Use dh-make-perl (available in testing and unstable).

> ### Lintian complains that :
> 
>   W: bloksi: perl-script-needs-dependency "libgtk-perl" ./usr/games/bloksi 
> use Gtk

lintian gets the perl modules wrong most of the time.

>   I tried the following lines in the 1st paragraph of the rules files
> 
>   Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl
> 
>   and 
> 
>   Depends: ${shlibs:Depends},${perl:Depends}
> 
>   without results.

${shlibs:Depends} will probably be empty because there is no binary
inside the package. ${perl:Depends} 'requires' that you use debhelper 
and dh_perl in debian/rules.

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better



Re: 1st try at packaging perl program

2001-06-29 Thread Domenico Andreoli
On Fri, Jun 29, 2001 at 08:12:58AM +0100, Etienne Grossmann wrote:
> 
>   Hello,
> 
hi

> 
>   Depends: ${shlibs:Depends},${perl:Depends}
> 
did you try to use debhelper and dh_perl?

cheers

-[ Domenico Andreoli, aka cavok
 --[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50



Re: 1st try at packaging perl program

2001-06-29 Thread Paolo Molaro

On 06/29/01 Etienne Grossmann wrote:
>   this is a near-copy of a mail I sent yesterday to debian-perl. I
> think it is relevant to this list.
> 
>   I just managed to build a working .deb from a perl program (a game
> that uses gtk and gnome), after a fair amount of cruft (*).
> 
>   I build it w/ the help of the "New Maintainer's Guide", the
> "Packaging Manual", the devel, mentors and perl mailing lists. There
> are still a few things that I don't understand, such as that below.
> 
>   Would anyone be willing to send me the source tree of a debian
> package that wraps a perl program/module (or send me the url for one)?

apt-get source lib*-perl should do it.

>   Also, I read in last February's perl archive about Joey's
> CPAN::Debian and about Lupus's work in the same direction. Has anyone
> used them? I downloaded CPAN::Debian, but didn't look at it yet.

Use dh-make-perl (available in testing and unstable).

> ### Lintian complains that :
> 
>   W: bloksi: perl-script-needs-dependency "libgtk-perl" ./usr/games/bloksi use Gtk

lintian gets the perl modules wrong most of the time.

>   I tried the following lines in the 1st paragraph of the rules files
> 
>   Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl
> 
>   and 
> 
>   Depends: ${shlibs:Depends},${perl:Depends}
> 
>   without results.

${shlibs:Depends} will probably be empty because there is no binary
inside the package. ${perl:Depends} 'requires' that you use debhelper 
and dh_perl in debian/rules.

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 1st try at packaging perl program

2001-06-29 Thread Domenico Andreoli

On Fri, Jun 29, 2001 at 08:12:58AM +0100, Etienne Grossmann wrote:
> 
>   Hello,
> 
hi

> 
>   Depends: ${shlibs:Depends},${perl:Depends}
> 
did you try to use debhelper and dh_perl?

cheers

-[ Domenico Andreoli, aka cavok
 --[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




1st try at packaging perl program

2001-06-29 Thread Etienne Grossmann

  Hello,

  this is a near-copy of a mail I sent yesterday to debian-perl. I
think it is relevant to this list.

  I just managed to build a working .deb from a perl program (a game
that uses gtk and gnome), after a fair amount of cruft (*).

  I build it w/ the help of the "New Maintainer's Guide", the
"Packaging Manual", the devel, mentors and perl mailing lists. There
are still a few things that I don't understand, such as that below.

  Would anyone be willing to send me the source tree of a debian
package that wraps a perl program/module (or send me the url for one)?

  Also, I read in last February's perl archive about Joey's
CPAN::Debian and about Lupus's work in the same direction. Has anyone
used them? I downloaded CPAN::Debian, but didn't look at it yet.

  Cheers,

  Etienne


PS:  Sample thing I don't understand :

### Lintian complains that :

  W: bloksi: perl-script-needs-dependency "libgtk-perl" ./usr/games/bloksi use 
Gtk

  I tried the following lines in the 1st paragraph of the rules files

  Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl

  and 

  Depends: ${shlibs:Depends},${perl:Depends}

  without results.



(*) The source tree, .deb, etc are at http://anonimo.isr.ist.utl.pt/-
~etienne/debianized_bloksi). The real cruft part is in
Makefile.PL's postamble part.



1st try at packaging perl program

2001-06-28 Thread Etienne Grossmann


  Hello,

  this is a near-copy of a mail I sent yesterday to debian-perl. I
think it is relevant to this list.

  I just managed to build a working .deb from a perl program (a game
that uses gtk and gnome), after a fair amount of cruft (*).

  I build it w/ the help of the "New Maintainer's Guide", the
"Packaging Manual", the devel, mentors and perl mailing lists. There
are still a few things that I don't understand, such as that below.

  Would anyone be willing to send me the source tree of a debian
package that wraps a perl program/module (or send me the url for one)?

  Also, I read in last February's perl archive about Joey's
CPAN::Debian and about Lupus's work in the same direction. Has anyone
used them? I downloaded CPAN::Debian, but didn't look at it yet.

  Cheers,

  Etienne


PS:  Sample thing I don't understand :

### Lintian complains that :

  W: bloksi: perl-script-needs-dependency "libgtk-perl" ./usr/games/bloksi use Gtk

  I tried the following lines in the 1st paragraph of the rules files

  Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl

  and 

  Depends: ${shlibs:Depends},${perl:Depends}

  without results.



(*) The source tree, .deb, etc are at http://anonimo.isr.ist.utl.pt/-
~etienne/debianized_bloksi). The real cruft part is in
Makefile.PL's postamble part.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]