Package: jansi Version: 1.4-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
*** /tmp/tmpOPhTNp In Ubuntu, the attached patch was applied to achieve the following: * Deploy maven artifacts to /usr/share/maven-repo (LP: #814284): - debian/control: Build-Depend on maven-repo-helper - debian/rules: Added --with maven-repo-helper - debian/libjansi-java.poms: location of pom.xml and jar to install. - debian/maven.ignoreRules: ignore architecture specific variants of jansi-native as not built for Debian/Ubuntu. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-10-generic (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog' === modified file 'debian/control' --- debian/control 2011-03-18 19:03:56 +0000 +++ debian/control 2011-07-21 20:45:27 +0000 @@ -1,10 +1,12 @@ Source: jansi Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org> Uploaders: Miguel Landaeta <mig...@miguel.cc> Build-Depends: debhelper (>= 7.0.50~), default-jdk, javahelper, - libjansi-native-java, libhawtjni-runtime-java, ant, ant-optional, junit4 + libjansi-native-java, libhawtjni-runtime-java, ant, ant-optional, junit4, + maven-repo-helper Standards-Version: 3.9.1 DM-Upload-Allowed: yes Homepage: http://jansi.fusesource.org/ === added file 'debian/libjansi-java.poms' --- debian/libjansi-java.poms 1970-01-01 00:00:00 +0000 +++ debian/libjansi-java.poms 2011-07-21 21:26:18 +0000 @@ -0,0 +1 @@ +pom.xml --artifact=jansi.jar --java-lib === added file 'debian/maven.ignoreRules' --- debian/maven.ignoreRules 1970-01-01 00:00:00 +0000 +++ debian/maven.ignoreRules 2011-07-21 21:26:13 +0000 @@ -0,0 +1,23 @@ +# Maven ignore rules - ignore some Maven dependencies and plugins +# Format of this file is: +# [group] [artifact] [type] [version] [classifier] [scope] +# where each element can be either +# - the exact string, for example org.apache for the group, or 3.1 +# for the version. In this case, the element is simply matched +# and left as it is +# - * (the star character, alone). In this case, anything will +# match and be left as it is. For example, using * on the +# position of the artifact field will match any artifact id +# All elements much match before a rule can be applied +# Example rule: match jar with groupid= junit, artifactid= junit +# and version starting with 3., this dependency is then removed +# from the POM +# junit junit jar s/3\\..*/3.x/ + +# Ignore all platform specific native integrations +# not built for Debian +org.fusesource.jansi jansi-native * * linux32 * +org.fusesource.jansi jansi-native * * linux64 * +org.fusesource.jansi jansi-native * * osx * +org.fusesource.jansi jansi-native * * windows64 * +org.fusesource.jansi jansi-native * * windows32 * === modified file 'debian/rules' --- debian/rules 2011-03-18 19:03:56 +0000 +++ debian/rules 2011-07-21 20:43:51 +0000 @@ -4,7 +4,7 @@ export CLASSPATH=/usr/share/java/jansi-native.jar:/usr/share/java/hawtjni-runtime.jar %: - dh --with javahelper $@ + dh --with javahelper --with maven-repo-helper $@ override_dh_auto_build: jh_build jansi.jar src/main/java