Your message dated Sun, 13 May 2012 09:21:46 +0000
with message-id <[email protected]>
and subject line Bug#666455: fixed in httpcomponents-core 4.1.4-2
has caused the Debian Bug report #666455,
regarding [libhttpcore-java] Please add OSGi metadata to httpcore.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 [email protected]
immediately.)


-- 
666455: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666455
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libhttpcore-java
Version: 4.1.4-2
Severity: normal
Tags: patch

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

Please add OSGi metadata to the manifest of httpcore.jar, so that the library
can be used as Eclipse plugin (Mylyn Hudson integration requires it as a 
dependency).

Attached patch uses maven-bundle-plugin to generate required metadata into 
MANIFEST.MF.

Thanks

Jakub

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-2-amd64

Debian Release: wheezy/sid
  500 unstable        ftp.cz.debian.org
  500 testing         security.debian.org
  500 testing         ftp.debian-multimedia.org
  500 testing         ftp.cz.debian.org
  500 testing         emdebian.org
  500 stable          ftp.cz.debian.org
    1 experimental    ftp.cz.debian.org

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.



diff --git a/debian/control b/debian/control
index 151c190..f42051e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@
  , libmaven-site-plugin-java
  , libmaven-assembly-plugin-java (>= 2.2~beta5)
  , libmaven-antrun-plugin-java
+ , libmaven-bundle-plugin-java
  , libsurefire-java
  , maven-debian-helper
  , openjdk-6-jdk
diff --git a/debian/patches/01-generate_osgi_metadata.patch b/debian/patches/01-generate_osgi_metadata.patch
new file mode 100644
index 0000000..d742e83
--- /dev/null
+++ b/debian/patches/01-generate_osgi_metadata.patch
@@ -0,0 +1,52 @@
+From: Jakub Adam <[email protected]>
+Date: Tue, 27 Mar 2012 18:15:01 +0200
+Subject: add-maven-bundle-plugin
+
+---
+ httpcore/pom.xml |   33 +++++++++++++++++++++++++++++++++
+ 1 files changed, 33 insertions(+), 0 deletions(-)
+
+diff --git a/httpcore/pom.xml b/httpcore/pom.xml
+index 9d7783a..65db968 100644
+--- a/httpcore/pom.xml
++++ b/httpcore/pom.xml
+@@ -93,6 +93,39 @@
+           <jvm>${httpcore.surefire.java}</jvm>
+         </configuration>
+       </plugin>
++      <plugin>
++        <groupId>org.apache.felix</groupId>
++        <artifactId>maven-bundle-plugin</artifactId>
++        <version>2.3.5</version>
++        <executions>
++          <execution>
++            <id>bundle-manifest</id>
++            <phase>process-classes</phase>
++            <goals>
++              <goal>manifest</goal>
++            </goals>
++          </execution>
++        </executions>
++        <configuration>
++          <instructions>
++            <Bundle-Name>Apache ${project.name}</Bundle-Name>
++            <Bundle-SymbolicName>${project.groupId}.httpcore</Bundle-SymbolicName>
++            <Import-Package>!org.apache.http*,*</Import-Package>
++            <_exportcontents>org.apache.http.*;version=${project.version}</_exportcontents>
++            <Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
++            <!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd -->
++            <_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME</_removeheaders>
++          </instructions>
++        </configuration>
++      </plugin>
++      <plugin>
++        <artifactId>maven-jar-plugin</artifactId>
++        <configuration>
++          <archive>
++            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
++          </archive>
++        </configuration>
++      </plugin>
+     </plugins>
+   </build>
+ 
diff --git a/debian/patches/series b/debian/patches/series
index b75ec23..d39b602 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 00-fix_build.patch
+01-generate_osgi_metadata.patch

--- End Message ---
--- Begin Message ---
Source: httpcomponents-core
Source-Version: 4.1.4-2

We believe that the bug you reported is fixed in the latest version of
httpcomponents-core, which is due to be installed in the Debian FTP archive:

httpcomponents-core_4.1.4-2.debian.tar.gz
  to main/h/httpcomponents-core/httpcomponents-core_4.1.4-2.debian.tar.gz
httpcomponents-core_4.1.4-2.dsc
  to main/h/httpcomponents-core/httpcomponents-core_4.1.4-2.dsc
libhttpcore-java_4.1.4-2_all.deb
  to main/h/httpcomponents-core/libhttpcore-java_4.1.4-2_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <[email protected]> (supplier of updated httpcomponents-core 
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 [email protected])


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

Format: 1.8
Date: Sun, 13 May 2012 10:47:37 +0200
Source: httpcomponents-core
Binary: libhttpcore-java
Architecture: source all
Version: 4.1.4-2
Distribution: unstable
Urgency: low
Maintainer: David Paleino <[email protected]>
Changed-By: David Paleino <[email protected]>
Description: 
 libhttpcore-java - set of low level HTTP transport components for Java
Closes: 666455
Changes: 
 httpcomponents-core (4.1.4-2) unstable; urgency=low
 .
   * Standards-Version bumped to 3.9.3, no changes needed
   * debian/copyright updated to machine-readable format
   * Generate OSGi metadata for httpcore.jar, thanks to Jakub
     Adam for the patch (Closes: #666455)
Checksums-Sha1: 
 b113240ffc63601994654b9ac25c0d1a37105d77 1571 httpcomponents-core_4.1.4-2.dsc
 24b5c85fc9d9bcbee4fb9786521cdc7adad664fc 5670 
httpcomponents-core_4.1.4-2.debian.tar.gz
 7f0e1b88cb2dfd082f0bdc624e1389ac2bcb37b8 344698 
libhttpcore-java_4.1.4-2_all.deb
Checksums-Sha256: 
 46f23c598575400413f52cc61cb8b7731745cd8a4c638940b74b537436771b24 1571 
httpcomponents-core_4.1.4-2.dsc
 2fb1ed3661436ffa56973d05b428f0dfc4d1085b383e03cd1a276b4246f5eac4 5670 
httpcomponents-core_4.1.4-2.debian.tar.gz
 dbe4b046c8c44d005fc1b130989ded31be9130503d4c79f3096cdc5937e1adbf 344698 
libhttpcore-java_4.1.4-2_all.deb
Files: 
 3660e29bfeb6459fe688844023486c30 1571 java optional 
httpcomponents-core_4.1.4-2.dsc
 081e0123bff2f50c2bbf5aac5075514f 5670 java optional 
httpcomponents-core_4.1.4-2.debian.tar.gz
 a9a46228f4d6369b91fb5da0984c8168 344698 java optional 
libhttpcore-java_4.1.4-2_all.deb

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

iEYEARECAAYFAk+vee8ACgkQ5qqQFxOSsXT0nACeIztmvgpgJxk6DiEybY+I7ANF
VqQAn2jy4EKCb8MWS4Tyw3PT9otoSFdd
=uhGt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to