Bug#878949: libopencv3.2-java - Please install maven artifacts

Gilles Filippini pini at debian.org
Tue Oct 17 22:58:32 UTC 2017


Package: libopencv3.2-java
Version: 3.2.0+dfsg-2
Severity: normal
Control: block 877075 by -1
Control: tags -1 + patch

On Tue, 17 Oct 2017 12:48:29 +0200 Mattia Rizzolo <mattia at debian.org> wrote:
> On Tue, Oct 17, 2017 at 10:26:11AM +0200, Gilles Filippini wrote:
> > How about mavenizing OpenCV Java lib so that ${maven:Depends} would find
> > out the right libopencvX.Y-java dependency?
> 
> I'll happily accept patches for that.

Attached.

Thanks,

_g.
-------------- next part --------------
diff -Nru opencv-3.2.0+dfsg/debian/changelog opencv-3.2.0+dfsg/debian/changelog
--- opencv-3.2.0+dfsg/debian/changelog	2017-10-16 23:44:22.000000000 +0200
+++ opencv-3.2.0+dfsg/debian/changelog	2017-10-17 18:57:08.000000000 +0200
@@ -1,3 +1,10 @@
+opencv (3.2.0+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install maven artifacts
+
+ -- Gilles Filippini <pini at debian.org>  Tue, 17 Oct 2017 18:57:08 +0200
+
 opencv (3.2.0+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru opencv-3.2.0+dfsg/debian/control opencv-3.2.0+dfsg/debian/control
--- opencv-3.2.0+dfsg/debian/control	2017-10-16 23:42:54.000000000 +0200
+++ opencv-3.2.0+dfsg/debian/control	2017-10-17 18:57:08.000000000 +0200
@@ -13,6 +13,7 @@
  dh-python,
  doxygen,
  javahelper,
+ maven-repo-helper,
  libavcodec-dev,
  libavformat-dev,
  libavresample-dev,
diff -Nru opencv-3.2.0+dfsg/debian/libopencv3.2-java.poms opencv-3.2.0+dfsg/debian/libopencv3.2-java.poms
--- opencv-3.2.0+dfsg/debian/libopencv3.2-java.poms	1970-01-01 01:00:00.000000000 +0100
+++ opencv-3.2.0+dfsg/debian/libopencv3.2-java.poms	2017-10-17 18:57:08.000000000 +0200
@@ -0,0 +1 @@
+debian/pom.xml --usj-name=opencv
diff -Nru opencv-3.2.0+dfsg/debian/pom.xml opencv-3.2.0+dfsg/debian/pom.xml
--- opencv-3.2.0+dfsg/debian/pom.xml	1970-01-01 01:00:00.000000000 +0100
+++ opencv-3.2.0+dfsg/debian/pom.xml	2017-10-17 18:57:08.000000000 +0200
@@ -0,0 +1,29 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.opencv</groupId>
+    <artifactId>opencv</artifactId>
+    <packaging>jar</packaging>
+    <version>3.2.0</version>
+    <name>OpenCV</name>
+    <licenses>
+        <license>
+            <name>License Agreement For Open Source Computer Vision Library (3-clause BSD License)</name>
+            <url></url>
+        </license>
+    </licenses>
+    <url>http://opencv.org/</url>
+    <scm>
+        <connection>scm:git:https://github.com/Itseez/opencv.git</connection>
+        <url>https://github.com/Itseez/opencv</url>
+    </scm>
+    <contributors>
+        <contributor>
+            <name>Kerry Billingham</name>
+            <email>contact (at) AvionicEngineers (d0t) c(0)m</email>
+            <organization>Java Technics</organization>
+            <url>www.javatechnics.com</url>
+        </contributor>
+    </contributors>
+    <dependencies/>
+</project>
diff -Nru opencv-3.2.0+dfsg/debian/rules opencv-3.2.0+dfsg/debian/rules
--- opencv-3.2.0+dfsg/debian/rules	2017-10-16 22:38:08.000000000 +0200
+++ opencv-3.2.0+dfsg/debian/rules	2017-10-17 18:57:08.000000000 +0200
@@ -60,7 +60,7 @@
 	$(CMAKE_ARCH_FLAGS)
 
 %:
-	dh $@ --with python2,python3,javahelper --parallel
+	dh $@ --with python2,python3,javahelper,jh_maven_repo_helper --parallel
 
 override_dh_clean:
 	rm -rvf modules/python/src2/hdr_parser.pyc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 508 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20171018/b1482091/attachment.sig>


More information about the debian-science-maintainers mailing list