Bug#395400: java-package: please Provides: jar for the sdk packages

2006-10-30 Thread Marcus Better
Jon Dowland wrote:
 Any reason you can't just depend on fastjar?
 
 That's what I am doing, right now. But, if a user has another jar
 implementation installed, it's not ideal to force them to install
 fastjar rather than use their preferred one.

You said it was a build-dep. There is nothing wrong with forcing a user to
install fastjar in order to build the package. Normal users don't build
packages anyway.

Please close this bug, and don't introduce an unnecessary virtual package.

Marcus





___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#395400: java-package: please Provides: jar for the sdk packages

2006-10-30 Thread Jon Dowland
On Mon, Oct 30, 2006 at 08:02:34AM +0100, Marcus Better
wrote:
 You said it was a build-dep. 

Yes.

 There is nothing wrong with forcing a user to install
 fastjar in order to build the package. 

I rather disagree: it's a disservice to our user's to force
them to do anything, if it isn't necessary.

 Please close this bug, and don't introduce an unnecessary
 virtual package.

I'm not sure who this is aimed at, but I won't close it
until I've heard some reasons why the virtual package would
be a bad thing.


-- 
Jon Dowland


signature.asc
Description: Digital signature
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Bug#395400: java-package: please Provides: jar for the sdk packages

2006-10-30 Thread Jon Dowland
On Thu, Oct 26, 2006 at 08:26:02PM +0100, Jon Dowland wrote:
 Disclaimer: I'm very sorry but I haven't actually *tried*
 this patch.  I can try it next week, when I return to
 work.

I've now tried this patch with sun-j2sdk1.5 and it works.

I can try some other JDKs (blackdown, IBM) tomorrow.


-- 
Jon Dowland


signature.asc
Description: Digital signature
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Bug#395400: java-package: please Provides: jar for the sdk packages

2006-10-26 Thread Jon Dowland
Package: java-package
Version: 0.28
Severity: minor
Tags: patch

I have a program which requires an implementation of jar at
build-time. The Build-Depends line is non-trivial because nobody
specifies a jar virtual package.

Please adjust the sdk packages to Provides: jar.

Patch attached.

Disclaimer: I'm very sorry but I haven't actually *tried* this patch. I
can try it next week, when I return to work.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages java-package depends on:
ii  debhelper 5.0.40 helper programs for debian/rules
ii  fakeroot  1.5.10 Gives a fake root environment
ii  unzip 5.52-9 De-archiver for .zip files

java-package recommends no packages.

-- no debconf information
--- lib/j2sdk.sh~   2006-10-26 20:23:18.0 +0100
+++ lib/j2sdk.sh2006-10-26 20:23:30.0 +0100
@@ -13,7 +13,7 @@
 Architecture: any
 Depends: \${shlibs:Depends}
 Recommends: netbase, libx11-6 | xlibs, libasound2, libgtk1.2
-Provides: java-virtual-machine, java-runtime, java2-runtime, 
java-browser-plugin, java-compiler, java2-compiler, j2sdk$j2se_release, 
j2re$j2se_release
+Provides: java-virtual-machine, java-runtime, java2-runtime, 
java-browser-plugin, java-compiler, java2-compiler, j2sdk$j2se_release, 
j2re$j2se_release, jar
 Replaces: ${j2se_package}debian
 Description: $j2se_title
  The Java(TM) 2 SDK is a development environment for building


signature.asc
Description: Digital signature
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#395400: java-package: please Provides: jar for the sdk packages

2006-10-26 Thread Andrew Vaughan
Hi

On Friday 27 October 2006 05:26, Jon Dowland wrote:
 I have a program which requires an implementation of jar at
 build-time. The Build-Depends line is non-trivial because nobody
 specifies a jar virtual package.

Any reason you can't just depend on fastjar?  

Package: fastjar
Uncompressed Size: 225k
Depends: libc6 (= 2.3.6-6), zlib1g (= 1:1.2.1)
Description: Jar creation utility
 Replacement for Suns .jar creation program.  It is written in C instead of 
java and is tons faster.

HTH
Andrew V.


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#395400: java-package: please Provides: jar for the sdk packages

2006-10-26 Thread Jon Dowland
On Fri, Oct 27, 2006 at 06:03:19AM +1000, Andrew Vaughan wrote:
 Any reason you can't just depend on fastjar?  

That's what I am doing, right now. But, if a user has another jar
implementation installed, it's not ideal to force them to install
fastjar rather than use their preferred one.

-- 
Jon Dowland
http://alcopop.org/


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers