On 2012-12-19 19:10, Julien Cristau wrote: > On Thu, Nov 22, 2012 at 13:45:57 +0100, Niels Thykier wrote: > >> Unfortunately, it turns out that libitext-java declares no >> dependnecies relations (except libitext-java-gcj) in testing at all, >> which is obvously wrong. >> In sid, I have taken the liberty of properly fixing this by using >> javahelper to compute the proper dependency relations automatically >> (as that version cannot migrate to testing anyway being built against >> the bouncycastle in sid). >> >> The question is then, should I backport the changes for >> auto-generating the dependencies and insert the upper bound on the >> bouncycastle dependency -OR- should I simply manually hardcode all the >> missing dependencies in the tpu upload? >> > The former seems safer, so I think I'd go with that. >
Done; I took the liberty of uploading to TPU already given you have basically already seen the diff (modulo the version and some version boubds). The full testing -> tpu diff is attached as itext_tpu.diff and I also included an interdiff. >> I have attached the debdiff between libitext-java in sid and testing >> to give you an idea of the changes involved. In case you are >> wondering about the explicit version'ed dependencies in the diff, it >> is because the tools involved are not able to properly give version >> bounds on the dependencies[0]. >> >> ~Niels >> >> [0] Sadly, Java packages do not have a shlibs/symbols system (nor the >> "rename package on ABI breakage"-proceedure). > > They really should start doing at least the latter. > > Cheers, > Julien Yeah, just need to reschool most of our Java developers first. Though I suspect if we did manage that, we could make Java libraries smooth updateable. ~Niels
itext_tpu.diff
Description: application/wine-extension-patch
diff -u libitext-java-2.1.7/debian/changelog libitext-java-2.1.7/debian/changelog --- libitext-java-2.1.7/debian/changelog 2012-09-15 09:02:39.000000000 +0000 +++ libitext-java-2.1.7/debian/changelog 2012-12-20 13:44:58.000000000 +0100 @@ -1,11 +1,11 @@ -libitext-java (2.1.7-4) unstable; urgency=low +libitext-java (2.1.7-3+deb7u1) wheezy; urgency=low * Team upload. * Add missing the Class-Path for the java packages. - Use javahelper to set the classpath. - Use javahelper to compute dependencies. - * Add versioned (Build-)Dependency on libbcprov-java due to - #687694. + * Add versioned upper bound on (Build-)Dependency on libbcprov-java + due to #687694. -- Niels Thykier <ni...@thykier.net> Sat, 15 Sep 2012 11:02:37 +0200 diff -u libitext-java-2.1.7/debian/control libitext-java-2.1.7/debian/control --- libitext-java-2.1.7/debian/control 2012-09-15 08:58:02.000000000 +0000 +++ libitext-java-2.1.7/debian/control 2012-12-20 13:44:02.000000000 +0100 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org> Uploaders: Adriaan Peeters <apeet...@lashout.net>, Torsten Werner <twer...@debian.org> -Build-Depends: debhelper (>= 9), cdbs, default-jdk, ant, libbcprov-java (>= 1.46), +Build-Depends: debhelper (>= 9), cdbs, default-jdk, ant, libbcprov-java (<< 1.45~), libbcmail-java, libbctsp-java, libdom4j-java, libpdfrenderer-java, gcj-native-helper, javahelper (>= 0.43) Standards-Version: 3.9.3 @@ -13,7 +13,7 @@ Package: libitext-java Architecture: all -Depends: ${misc:Depends}, libbcprov-java (>= 1.46), ${java:Depends} +Depends: ${misc:Depends}, libbcprov-java (<< 1.45~), ${java:Depends} Suggests: libitext-java-gcj Description: Java Library to create and manipulate PDF on the fly iText is a library that allows you to generate PDF files on the fly.