[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#698487: marked as done ([libconstantine-java] Please add OSGi metadata to constantine.jar manifest)



Your message dated Thu, 21 Nov 2013 15:19:02 +0000
with message-id <E1VjW22-0003N7-BG@franck.debian.org>
and subject line Bug#698487: fixed in libconstantine-java 0.7-5
has caused the Debian Bug report #698487,
regarding [libconstantine-java] Please add OSGi metadata to constantine.jar manifest
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
698487: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698487
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libconstantine-java
Version: 0.7-3
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---

Hi,

we need to use libconstantine-java as a package dependency of the PyDev plugin for Eclipse IDE.

To make constantine.jar usable with Eclipse platform, there have to be additional 'OSGi metadata'
attributes present in its MANIFEST.MF.

With this patch all required metadata will be automatically generated when libconstantine-java
is built, please consider applying it to the next package release.

Thanks for your help,

Jakub

>From bb8891aafa12bec58b58cf6fa1080eb1b686272c Mon Sep 17 00:00:00 2001
From: Jakub Adam <jakub.adam@ktknet.cz>
Date: Fri, 18 Jan 2013 17:00:12 +0100
Subject: [PATCH] Generate OSGi metadata for constantine.jar

---
 debian/constantine.bnd |    5 +++++
 debian/control         |    2 +-
 debian/rules           |    4 ++++
 3 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 debian/constantine.bnd

diff --git a/debian/constantine.bnd b/debian/constantine.bnd
new file mode 100644
index 0000000..0569048
--- /dev/null
+++ b/debian/constantine.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: platform constants for Java
+Bundle-SymbolicName: com.kenai.constantine
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/control b/debian/control
index f87468f..032f27c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Nicolas Duboc <nduboc@debian.org>
 Build-Depends: debhelper (>> 7.0.0), ant
-Build-Depends-Indep: default-jdk, junit4, ant-optional, maven-repo-helper
+Build-Depends-Indep: default-jdk, junit4, ant-optional, maven-repo-helper, bnd
 Standards-Version: 3.9.1
 Homepage: http://github.com/wmeissner/jnr-constants/
 
diff --git a/debian/rules b/debian/rules
index a4e268e..5fe4469 100644
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,10 @@ build-stamp:
 	dh_testdir
 
 	ant -Dlibs.junit_4.classpath=/usr/share/java/junit4.jar
+
+	# Generate OSGi metadata for constantine.jar
+	bnd wrap -properties debian/constantine.bnd -output dist/constantine.jar dist/constantine.jar
+
 	touch build-stamp
 
 clean:
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
Source: libconstantine-java
Source-Version: 0.7-5

We believe that the bug you reported is fixed in the latest version of
libconstantine-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 698487@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylvestre@debian.org> (supplier of updated libconstantine-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 21 Nov 2013 14:35:16 +0100
Source: libconstantine-java
Binary: libconstantine-java libconstantine-java-doc
Architecture: source all
Version: 0.7-5
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylvestre@debian.org>
Description: 
 libconstantine-java - platform constants for Java
 libconstantine-java-doc - Java Constantine library API documentation
Closes: 698487 705826
Changes: 
 libconstantine-java (0.7-5) unstable; urgency=low
 .
   * Adopt the package under the pkg-java umbrella
     (Closes: #705826)
   * Standards-Version updated to 3.9.5
   * Import in the pkg-java VCS
   * Switch to dpkg-source 3.0 (quilt) format
   * add OSGi metadata to constantine.jar manifest
     Thanks to Jakub Adam (Closes: #698487)
Checksums-Sha1: 
 c5dbbbe5c385ad9747c8c4e60723c355c5a3e4ec 1490 libconstantine-java_0.7-5.dsc
 9275c416c6d872de842a610322bbef692a69f6c6 3362 libconstantine-java_0.7-5.debian.tar.gz
 737b3009d6172941e8042d8688fcfa4652330ded 231444 libconstantine-java_0.7-5_all.deb
 69c997a0ca8f193cb62341505b7de129112f6201 143046 libconstantine-java-doc_0.7-5_all.deb
Checksums-Sha256: 
 8208ab4d46da738a67be1caef76e78ec2af38f912a354c98c0f071ac7317c907 1490 libconstantine-java_0.7-5.dsc
 e697ae0066364a39ec7d039354270468fe5f7159e84a0f330c0dceead1e4dece 3362 libconstantine-java_0.7-5.debian.tar.gz
 c3072e625e195bb2507c61b4b8d1107da8fc52a35235b9bcaf6235897c95c861 231444 libconstantine-java_0.7-5_all.deb
 5535400727cc6755d026d68a4410f477a1f2b6236b2264e85195a7a579ad2daa 143046 libconstantine-java-doc_0.7-5_all.deb
Files: 
 535282fa5b84cf17c444782ca6b10e2f 1490 java optional libconstantine-java_0.7-5.dsc
 0c6649beb1646e621f643dea8f933ca3 3362 java optional libconstantine-java_0.7-5.debian.tar.gz
 3ecaedabfe03288001a542c237acdfd0 231444 java optional libconstantine-java_0.7-5_all.deb
 636fcc1e46836fcbe1c1c0cc3eb94c3f 143046 doc optional libconstantine-java-doc_0.7-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlKOEIUACgkQiOXXM92JlhBorACfWdcljVaNQAkilucO3tOoejIL
Q+MAn3HlsJMdqN8ag8qJdc2B1xD9WsiF
=YX4T
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: