Skip to content
Commits on Source (8)
jmagick (6.6.9~20130201-svn99-4) UNRELEASED; urgency=medium jmagick (6.6.9~20130201-svn99-4) unstable; urgency=medium
* Team upload. * Team upload.
[ tony mancill ]
* Apply patch for missing getByteArrayFieldValue prototype. * Apply patch for missing getByteArrayFieldValue prototype.
- Thanks to Adam Conrad for the patch. (Closes: #727776) - Thanks to Adam Conrad for the patch. (Closes: #727776)
-- tony mancill <tmancill@debian.org> Wed, 17 May 2017 21:38:38 -0700 [ Emmanuel Bourg ]
* Fixed the build failure with Java 10 (Closes: #897456)
* Standards-Version updated to 4.1.4
* Switch to debhelper level 10
* Removed the build dependency on autotools-dev
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Fri, 11 May 2018 11:50:43 +0200
jmagick (6.6.9~20130201-svn99-3) unstable; urgency=medium jmagick (6.6.9~20130201-svn99-3) unstable; urgency=medium
......
...@@ -3,17 +3,16 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.or ...@@ -3,17 +3,16 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.or
Uploaders: Varun Hiremath <varun@debian.org> Uploaders: Varun Hiremath <varun@debian.org>
Section: graphics Section: graphics
Priority: optional Priority: optional
Standards-Version: 3.9.8 Standards-Version: 4.1.4
Build-Depends: autotools-dev, Build-Depends: cdbs,
cdbs,
chrpath, chrpath,
debhelper (>= 9), debhelper (>= 10),
default-jdk, default-jdk,
libmagickcore-dev, libmagickcore-dev,
maven-repo-helper, maven-repo-helper,
autoconf autoconf
Vcs-Git: https://anonscm.debian.org/git/pkg-java/jmagick.git Vcs-Git: https://salsa.debian.org/java-team/jmagick.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jmagick.git Vcs-Browser: https://salsa.debian.org/java-team/jmagick
Homepage: http://sourceforge.net/projects/jmagick/ Homepage: http://sourceforge.net/projects/jmagick/
Package: libjmagick6-java Package: libjmagick6-java
...@@ -21,7 +20,7 @@ Architecture: all ...@@ -21,7 +20,7 @@ Architecture: all
Section: java Section: java
Depends: ${misc:Depends}, libjmagick6-jni (>= ${source:Version}) Depends: ${misc:Depends}, libjmagick6-jni (>= ${source:Version})
Provides: jmagick Provides: jmagick
Description: java interface to ImageMagick - java classes Description: Java interface to ImageMagick
JMagick is an open source Java interface of ImageMagick. It is JMagick is an open source Java interface of ImageMagick. It is
implemented in the form of Java Native Interface (JNI) into the implemented in the form of Java Native Interface (JNI) into the
ImageMagick API. ImageMagick API.
...@@ -39,7 +38,7 @@ Section: doc ...@@ -39,7 +38,7 @@ Section: doc
Architecture: all Architecture: all
Provides: jmagick-docs Provides: jmagick-docs
Depends: ${misc:Depends} Depends: ${misc:Depends}
Description: java interface to ImageMagick - api documentation Description: Java interface to ImageMagick (documentation)
JMagick is an open source Java interface of ImageMagick. It is JMagick is an open source Java interface of ImageMagick. It is
implemented in the form of Java Native Interface (JNI) into the implemented in the form of Java Native Interface (JNI) into the
ImageMagick API. ImageMagick API.
...@@ -57,7 +56,7 @@ Description: java interface to ImageMagick - api documentation ...@@ -57,7 +56,7 @@ Description: java interface to ImageMagick - api documentation
Package: libjmagick6-jni Package: libjmagick6-jni
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: java interface to ImageMagick - native library Description: Java interface to ImageMagick (native library)
JMagick is an open source Java interface of ImageMagick. It is JMagick is an open source Java interface of ImageMagick. It is
implemented in the form of Java Native Interface (JNI) into the implemented in the form of Java Native Interface (JNI) into the
ImageMagick API. ImageMagick API.
......
debian/pom.xml --java-lib --artifact=lib/jmagick.jar
Description: Fixes the build failure with Java 10
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/configure.in
+++ b/configure.in
@@ -211,13 +211,6 @@
fi
AC_SUBST(JAVAC)
-dnl Determine if we have the Java header file generator
-AC_PATH_PROG(JAVAH, javah, not_found)
-if test ${JAVAH} = not_found; then
- AC_MSG_ERROR('No Java header generator (javah) found')
-fi
-AC_SUBST(JAVAH)
-
dnl Determine if we have jar
AC_PATH_PROG(JAR, jar, not_found)
if test ${JAR} = not_found; then
--- a/Make.rules
+++ b/Make.rules
@@ -71,6 +71,7 @@
$(JAVA_PACKAGE_DIR)/%.class: %.java
@-mkdir -p $(dir $@)
$(JAVAC) $(JFLAGS) -d $(JAVA_CLASSES_DIR) \
+ -h $(PACKAGE_GENERATED_DIR) \
-sourcepath $(JAVA_SRC_DIR) \
-classpath $(JAVA_CLASS_PATH) $<
@@ -120,11 +121,6 @@
# Rule to make header files from java class files.
# The originating java source must contain native method specifications.
$(PACKAGE_GENERATED_DIR)/$(JNI_HEADER_PREFIX)_%.h: $(JAVA_PACKAGE_DIR)/%.class
- @-rm $@ > /dev/null 2>&1
- @-mkdir -p $(dir $@)
- "$(JAVAH)" -d $(PACKAGE_GENERATED_DIR) -jni \
- -classpath $(JAVA_CLASS_PATH) \
- $(JAVA_PACKAGE).$(subst .class,,$(notdir $<))
# Rule to compile JNI C files
$(PACKAGE_OBJ_DIR)/%.lo: %.c $(PACKAGE_GENERATED_DIR)/%.h
01_fix_load_jnilib.patch 01_fix_load_jnilib.patch
02_jmagick_implicit_decl.patch 02_jmagick_implicit_decl.patch
0001-Use-pkgconfig-for-flags.patch 0001-Use-pkgconfig-for-flags.patch
04_java10_compatibility.patch
...@@ -19,11 +19,10 @@ DEB_INSTALL_CHANGELOGS_ALL := Changelog.txt ...@@ -19,11 +19,10 @@ DEB_INSTALL_CHANGELOGS_ALL := Changelog.txt
DEB_AUTO_UPDATE_AUTOCONF := yes DEB_AUTO_UPDATE_AUTOCONF := yes
VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^~-]+).*,\1,p') VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^~-]+).*,\1,p')
export JFLAGS = -source 1.6 -target 1.6 -g export JFLAGS = --release 7 -g
install/libjmagick6-java:: install/libjmagick6-java::
mh_installpom -plibjmagick6-java -e$(VERSION) debian/pom.xml mh_install
mh_installjar -plibjmagick6-java -e$(VERSION) --java-lib debian/pom.xml lib/jmagick.jar
install/libjmagick6-jni:: install/libjmagick6-jni::
chrpath -d ./lib/libJMagick.so chrpath -d ./lib/libJMagick.so
...@@ -39,9 +38,5 @@ clean:: ...@@ -39,9 +38,5 @@ clean::
rm -rf lib/*.jar rm -rf lib/*.jar
mh_clean mh_clean
.PHONY: get-orig-source
get-orig-source:
uscan --upstream-version 0 --force-download --rename
get-orig-pom: get-orig-pom:
wget http://central.maven.org/maven2/jmagick/jmagick/$(VERSION)/jmagick-$(VERSION).pom -O debian/pom.xml wget http://central.maven.org/maven2/jmagick/jmagick/$(VERSION)/jmagick-$(VERSION).pom -O debian/pom.xml