[gpsprune] 02/02: Rebuild for jessie-backports.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Jul 27 10:35:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch jessie-backports
in repository gpsprune.

commit 581c9cb7198429852ab7998df4a8ee5173a43add
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jul 27 12:15:03 2015 +0200

    Rebuild for jessie-backports.
    
    Add patch to rename symbols as used in libmetadata-extractor-java 2.6.4.
    Downgrade minimum required libmetadata-extractor-java version to 2.6.4.
---
 debian/changelog                        |  8 ++++
 debian/control                          |  2 +-
 debian/patches/metadata-extractor.patch | 72 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 4 files changed, 82 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 09ccf28..2b2235a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gpsprune (18-1~bpo8+1) jessie-backports; urgency=medium
+
+  * Rebuild for jessie-backports.
+  * Add patch to rename symbols as used in libmetadata-extractor-java 2.6.4.
+  * Downgrade minimum required libmetadata-extractor-java version to 2.6.4.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 27 Jul 2015 12:12:53 +0200
+
 gpsprune (18-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index da2665a..b1598f2 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: ant,
                fastjar,
                libjava3d-java,
                libvecmath-java,
-               libmetadata-extractor-java (>= 2.7.2)
+               libmetadata-extractor-java (>= 2.6.4)
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/gpsprune.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/gpsprune.git -b jessie-backports
diff --git a/debian/patches/metadata-extractor.patch b/debian/patches/metadata-extractor.patch
new file mode 100644
index 0000000..483c893
--- /dev/null
+++ b/debian/patches/metadata-extractor.patch
@@ -0,0 +1,72 @@
+Description: Rename symbols for metadata-extractor 2.6.4.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/tim/prune/jpeg/ExternalExifLibrary.java
++++ b/tim/prune/jpeg/ExternalExifLibrary.java
+@@ -37,48 +37,48 @@ public class ExternalExifLibrary impleme
+ 			if (metadata.containsDirectory(GpsDirectory.class))
+ 			{
+ 				Directory gpsdir = metadata.getDirectory(GpsDirectory.class);
+-				if (gpsdir.containsTag(GpsDirectory.TAG_LATITUDE)
+-					&& gpsdir.containsTag(GpsDirectory.TAG_LONGITUDE)
+-					&& gpsdir.containsTag(GpsDirectory.TAG_LATITUDE_REF)
+-					&& gpsdir.containsTag(GpsDirectory.TAG_LONGITUDE_REF))
++				if (gpsdir.containsTag(GpsDirectory.TAG_GPS_LATITUDE)
++					&& gpsdir.containsTag(GpsDirectory.TAG_GPS_LONGITUDE)
++					&& gpsdir.containsTag(GpsDirectory.TAG_GPS_LATITUDE_REF)
++					&& gpsdir.containsTag(GpsDirectory.TAG_GPS_LONGITUDE_REF))
+ 				{
+-					data.setLatitudeRef(gpsdir.getString(GpsDirectory.TAG_LATITUDE_REF));
+-					Rational[] latRats = gpsdir.getRationalArray(GpsDirectory.TAG_LATITUDE);
++					data.setLatitudeRef(gpsdir.getString(GpsDirectory.TAG_GPS_LATITUDE_REF));
++					Rational[] latRats = gpsdir.getRationalArray(GpsDirectory.TAG_GPS_LATITUDE);
+ 					double seconds = ExifGateway.convertToPositiveValue(latRats[2].getNumerator(), latRats[2].getDenominator());
+ 					data.setLatitude(new double[] {latRats[0].doubleValue(),
+ 						latRats[1].doubleValue(), seconds});
+-					data.setLongitudeRef(gpsdir.getString(GpsDirectory.TAG_LONGITUDE_REF));
+-					Rational[] lonRats = gpsdir.getRationalArray(GpsDirectory.TAG_LONGITUDE);
++					data.setLongitudeRef(gpsdir.getString(GpsDirectory.TAG_GPS_LONGITUDE_REF));
++					Rational[] lonRats = gpsdir.getRationalArray(GpsDirectory.TAG_GPS_LONGITUDE);
+ 					seconds = ExifGateway.convertToPositiveValue(lonRats[2].getNumerator(), lonRats[2].getDenominator());
+ 					data.setLongitude(new double[] {lonRats[0].doubleValue(),
+ 						lonRats[1].doubleValue(), seconds});
+ 				}
+ 
+ 				// Altitude (if present)
+-				if (gpsdir.containsTag(GpsDirectory.TAG_ALTITUDE) && gpsdir.containsTag(GpsDirectory.TAG_ALTITUDE_REF))
++				if (gpsdir.containsTag(GpsDirectory.TAG_GPS_ALTITUDE) && gpsdir.containsTag(GpsDirectory.TAG_GPS_ALTITUDE_REF))
+ 				{
+-					data.setAltitude(gpsdir.getRational(GpsDirectory.TAG_ALTITUDE).intValue());
+-					byte altRef = (byte) gpsdir.getInt(GpsDirectory.TAG_ALTITUDE_REF);
++					data.setAltitude(gpsdir.getRational(GpsDirectory.TAG_GPS_ALTITUDE).intValue());
++					byte altRef = (byte) gpsdir.getInt(GpsDirectory.TAG_GPS_ALTITUDE_REF);
+ 					data.setAltitudeRef(altRef);
+ 				}
+ 
+ 				// Timestamp and datestamp (if present)
+-				final int TAG_DATESTAMP = 0x001d;
+-				if (gpsdir.containsTag(GpsDirectory.TAG_TIME_STAMP) && gpsdir.containsTag(TAG_DATESTAMP))
++				final int TAG_GPS_DATESTAMP = 0x001d;
++				if (gpsdir.containsTag(GpsDirectory.TAG_GPS_TIME_STAMP) && gpsdir.containsTag(TAG_GPS_DATESTAMP))
+ 				{
+-					Rational[] times = gpsdir.getRationalArray(GpsDirectory.TAG_TIME_STAMP);
++					Rational[] times = gpsdir.getRationalArray(GpsDirectory.TAG_GPS_TIME_STAMP);
+ 					data.setGpsTimestamp(new int[] {times[0].intValue(), times[1].intValue(),
+ 						times[2].intValue()});
+-					Rational[] dates = gpsdir.getRationalArray(TAG_DATESTAMP);
++					Rational[] dates = gpsdir.getRationalArray(TAG_GPS_DATESTAMP);
+ 					if (dates != null) {
+ 						data.setGpsDatestamp(new int[] {dates[0].intValue(), dates[1].intValue(), dates[2].intValue()});
+ 					}
+ 				}
+ 
+ 				// Image bearing (if present)
+-				if (gpsdir.containsTag(GpsDirectory.TAG_IMG_DIRECTION) && gpsdir.containsTag(GpsDirectory.TAG_IMG_DIRECTION_REF))
++				if (gpsdir.containsTag(GpsDirectory.TAG_GPS_IMG_DIRECTION) && gpsdir.containsTag(GpsDirectory.TAG_GPS_IMG_DIRECTION_REF))
+ 				{
+-					Rational bearing = gpsdir.getRational(GpsDirectory.TAG_IMG_DIRECTION);
++					Rational bearing = gpsdir.getRational(GpsDirectory.TAG_GPS_IMG_DIRECTION);
+ 					if (bearing != null) {
+ 						data.setBearing(bearing.doubleValue());
+ 					}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ac2d4ce
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+metadata-extractor.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gpsprune.git



More information about the Pkg-grass-devel mailing list