Re: Generators for debian/* files?

2013-04-07 Thread Antonio Terceiro
On Fri, Apr 05, 2013 at 12:16:40PM +0200, olivier sallou wrote:
 dh-make-perl indeed for Perl CPAN packages.
 
 dh-make for base packages...

gem2deb for Ruby packages ...

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature


Re: Generators for debian/* files?

2013-04-06 Thread Peter Samuelson

 +++ Jonathan Dowland [2013-04-05 10:09 +0100]:
  On Fri, Apr 05, 2013 at 11:07:31AM +0200, Thomas Koch wrote:
   This java code should be replaces with something in perl/python/non-JVM.
  
  Why?

[Wookey]
 Because it's an entirely unnecessary circular build-dependency. java
 is not part of build-essential and this doesn't seem like a good
 reason for making it so.

This sounds like a packaging tool, not a build tool.  (At least, I
_hope_ nobody is thinking of generating debian/rules during the build
process!)  I'd say anyone packaging Java stuff probably has a JVM.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130406183437.gw4...@p12n.org



Re: Generators for debian/* files?

2013-04-05 Thread Jonathan Dowland
On Fri, Apr 05, 2013 at 11:07:31AM +0200, Thomas Koch wrote:
 This java code should be replaces with something in perl/python/non-JVM.

Why?

 Is there already some logic/templates in Debian that I could build on?

dh-make-perl perhaps?


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130405090954.GA16309@debian



Re: Generators for debian/* files?

2013-04-05 Thread olivier sallou
dh-make-perl indeed for Perl CPAN packages.

dh-make for base packages...

Olivier


2013/4/5 Thomas Koch tho...@koch.ro

 Hi,

 debian-java has the tool mh_make that generates debian packages from
 maven
 projects. There's some java code in there that produces debian/* files:
 rules,
 copyright, watch, control, orig-tar.sh, doc-base.api, doc.install and of
 course source/format and compat.

 This java code should be replaces with something in perl/python/non-JVM. Is
 there already some logic/templates in Debian that I could build on?

 Regards,

 Thomas Koch, http://www.koch.ro


 --
 To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/201304051107.32284.tho...@koch.ro




-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Re: Generators for debian/* files?

2013-04-05 Thread Wookey
+++ Jonathan Dowland [2013-04-05 10:09 +0100]:
 On Fri, Apr 05, 2013 at 11:07:31AM +0200, Thomas Koch wrote:
  This java code should be replaces with something in perl/python/non-JVM.
 
 Why?

Because it's an entirely unnecessary circular build-dependency. java
is not part of build-essential and this doesn't seem like a good
reason for making it so.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130405101742.gz2...@stoneboat.aleph1.co.uk



Re: Generators for debian/* files?

2013-04-05 Thread Johannes Schauer
Hi,

Quoting Wookey (2013-04-05 12:17:42)
 Because it's an entirely unnecessary circular build-dependency. java
 is not part of build-essential and this doesn't seem like a good
 reason for making it so.

mh_make is part of the package maven-debian-helper (Thomas: I cant find the
package debian-java you were talking about) but according to the bootstrap
tools, maven-debian-helper is not part of any dependency cycle.

I would be glad if you can prove me wrong because then you found yet another
bug in my code. :)

A java helper which is part of many dependency cycles, is the package
javahelper which is part of the main SCC. It seems that 233 source packages
relevant for the bootstrap process build depend on javahelper (out of a total
of 290 source packages build depending on it).

cheers, josch


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130405114542.14032.2997@hoothoot



Re: Generators for debian/* files?

2013-04-05 Thread Adam D. Barratt

On 05.04.2013 12:45, Johannes Schauer wrote:

(Thomas: I cant find the package debian-java you were talking about)


That's because it's a group of people, not a package...

Regards,

Adam


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/515f5f71569c2c8c547d9c33419dd...@mail.adsl.funky-badger.org



Re: Generators for debian/* files?

2013-04-05 Thread Thomas Koch
Jonathan Dowland:
 On Fri, Apr 05, 2013 at 11:07:31AM +0200, Thomas Koch wrote:
  This java code should be replaces with something in perl/python/non-JVM.
 
 Why?

Wookeys response (circular build-dependency) is not the reason here. We have 
two packages, maven-repo-helper with minimal dependency set which is a build 
dependency for many java packages and maven-debian-helper with a longer 
dependency list which is only used to create the files in debian/*.

mh_make does not have automatic testing yet and is much work to test manually. 
This is mostly caused by the unnecessary dependency on maven to do something 
as trivial as filling templates for the debian/* files with appropriate 
values.

Regards,

Thomas Koch, http://www.koch.ro


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304051730.41743.tho...@koch.ro