summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2019-05-04 11:43:14 +0000
committerMatthias Andree <mandree@FreeBSD.org>2019-05-04 11:43:14 +0000
commit3e46ced2b6a02f760a1f20d2042b94db7bb707fe (patch)
treeb987f3bcffed8305364dfe186b750ecfb2fd3dd2
parentaudio/samplv1-lv2: fix build with GCC-based architectures (diff)
Upgrade to new upstream release 1.0.2.
Reported by: portscout
Notes
Notes: svn path=/head/; revision=500805
-rw-r--r--graphics/exact-image/Makefile3
-rw-r--r--graphics/exact-image/distinfo6
-rw-r--r--graphics/exact-image/files/patch-api-api.cc6
-rw-r--r--graphics/exact-image/files/patch-api_api-swig.hh11
-rw-r--r--graphics/exact-image/files/patch-build__bottom.make6
-rw-r--r--graphics/exact-image/files/patch-codecs__jpeg.cc10
-rw-r--r--graphics/exact-image/files/patch-codecs_dcraw.h20
-rw-r--r--graphics/exact-image/files/patch-codecs_raw.cc14
8 files changed, 26 insertions, 50 deletions
diff --git a/graphics/exact-image/Makefile b/graphics/exact-image/Makefile
index 8aa352581601..5ab89058d9cb 100644
--- a/graphics/exact-image/Makefile
+++ b/graphics/exact-image/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= exact-image
-PORTVERSION= 0.9.2
+PORTVERSION= 1.0.2
CATEGORIES= graphics perl5 python
MASTER_SITES= https://dl.exactcode.de/oss/exact-image/
@@ -20,6 +20,7 @@ LIB_DEPENDS= libagg.so:graphics/agg \
libpng.so:graphics/png \
libgif.so:graphics/giflib \
libjasper.so:graphics/jasper \
+ libImath-2_3.so:graphics/ilmbase \
libIlmImf.so:graphics/openexr \
liblcms.so:graphics/lcms \
libfreetype.so:print/freetype2 \
diff --git a/graphics/exact-image/distinfo b/graphics/exact-image/distinfo
index 247b9215b1a2..c310ec4a5449 100644
--- a/graphics/exact-image/distinfo
+++ b/graphics/exact-image/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480938306
-SHA256 (exact-image-0.9.2.tar.bz2) = 665b205740b17b4162fae73aa36eb7046f28bb216d612461ca0499ff47a566ba
-SIZE (exact-image-0.9.2.tar.bz2) = 312995
+TIMESTAMP = 1556965227
+SHA256 (exact-image-1.0.2.tar.bz2) = 0694c66be5dec41377acead475de69b3d7ffb42c702402f8b713f8b44cdc2791
+SIZE (exact-image-1.0.2.tar.bz2) = 322174
diff --git a/graphics/exact-image/files/patch-api-api.cc b/graphics/exact-image/files/patch-api-api.cc
index 1ca6edc5dd6c..38c3e157a157 100644
--- a/graphics/exact-image/files/patch-api-api.cc
+++ b/graphics/exact-image/files/patch-api-api.cc
@@ -1,6 +1,6 @@
---- api/api.cc.orig 2009-06-15 14:39:45.000000000 +0400
-+++ api/api.cc 2014-01-13 07:25:57.460488862 +0400
-@@ -909,7 +909,7 @@
+--- api/api.cc.orig 2009-06-15 10:39:45 UTC
++++ api/api.cc
+@@ -909,7 +909,7 @@ char** imageDecodeBarcodes (Image* image, const char*
}
std::vector<std::string> ret;
diff --git a/graphics/exact-image/files/patch-api_api-swig.hh b/graphics/exact-image/files/patch-api_api-swig.hh
deleted file mode 100644
index ab36959b4bcb..000000000000
--- a/graphics/exact-image/files/patch-api_api-swig.hh
+++ /dev/null
@@ -1,11 +0,0 @@
---- api/api-swig.hh.orig 2009-03-19 13:00:11 UTC
-+++ api/api-swig.hh
-@@ -22,7 +22,7 @@
- %include "cstring.i"
- %include "std_string.i"
-
--# manually include it, otherwise SWIG will not source it
-+/* manually include it, otherwise SWIG will not source it */
- %include "config.h"
-
- %{
diff --git a/graphics/exact-image/files/patch-build__bottom.make b/graphics/exact-image/files/patch-build__bottom.make
index 9f3371c52090..d8862ba5f54f 100644
--- a/graphics/exact-image/files/patch-build__bottom.make
+++ b/graphics/exact-image/files/patch-build__bottom.make
@@ -1,6 +1,6 @@
---- build/bottom.make.orig 2010-07-22 18:35:17.000000000 +0400
-+++ build/bottom.make 2014-12-12 00:07:13.000000000 +0300
-@@ -43,23 +43,23 @@
+--- build/bottom.make.orig 2018-05-03 16:50:06 UTC
++++ build/bottom.make
+@@ -43,23 +43,23 @@ $(X_MODULE): $($(X_MODULE)_BINARY)
$($(X_MODULE)_OUTPUT)/%.o: $(X_MODULE)/%.c
@echo ' C $@'
diff --git a/graphics/exact-image/files/patch-codecs__jpeg.cc b/graphics/exact-image/files/patch-codecs__jpeg.cc
index e80429713c68..469e3b9efafb 100644
--- a/graphics/exact-image/files/patch-codecs__jpeg.cc
+++ b/graphics/exact-image/files/patch-codecs__jpeg.cc
@@ -1,8 +1,8 @@
---- codecs/jpeg.cc.orig 2009-06-14 08:19:28.000000000 -0400
-+++ codecs/jpeg.cc 2010-01-16 21:51:34.000000000 -0500
-@@ -683,7 +683,7 @@
- * We need to clean up the JPEG object, close the input file, and return.
- */
+--- codecs/jpeg.cc.orig 2017-08-08 14:31:16 UTC
++++ codecs/jpeg.cc
+@@ -901,7 +901,7 @@ bool JPEGCodec::readMeta (std::istream* stream, Image&
+ // If we get here, the JPEG code has signaled an error.
+ // We need to clean up the JPEG object, close the input file, and return.
jpeg_destroy_decompress (cinfo);
- free (cinfo);
+ delete cinfo;
diff --git a/graphics/exact-image/files/patch-codecs_dcraw.h b/graphics/exact-image/files/patch-codecs_dcraw.h
index ddd61241f099..1f24056e75d5 100644
--- a/graphics/exact-image/files/patch-codecs_dcraw.h
+++ b/graphics/exact-image/files/patch-codecs_dcraw.h
@@ -1,8 +1,8 @@
---- codecs/dcraw.h.orig 2015-07-16 15:20:12 UTC
+--- codecs/dcraw.h.orig 2018-06-06 15:17:56 UTC
+++ codecs/dcraw.h
-@@ -843,8 +843,9 @@ int CLASS ljpeg_start (struct jhead *jh, int info_only
+@@ -825,8 +825,9 @@ int CLASS ljpeg_start (struct jhead *jh, int info_only
do {
- fread (data, 2, 2, ifp);
+ if (!fread (data, 2, 2, ifp)) return 0;
tag = data[0] << 8 | data[1];
- len = (data[2] << 8 | data[3]) - 2;
- if (tag <= 0xff00) return 0;
@@ -12,7 +12,7 @@
fread (data, 1, len, ifp);
switch (tag) {
case 0xffc3:
-@@ -4393,22 +4394,22 @@ void CLASS vng_interpolate()
+@@ -4438,22 +4439,22 @@ void CLASS vng_interpolate()
-2,+0,+0,-1,0,0x06, -2,+0,+0,+0,1,0x02, -2,+0,+0,+1,0,0x03,
-2,+1,-1,+0,0,0x04, -2,+1,+0,-1,1,0x04, -2,+1,+0,+0,0,0x06,
-2,+1,+0,+1,0,0x02, -2,+2,+0,+0,1,0x04, -2,+2,+0,+1,0,0x04,
@@ -40,16 +40,16 @@
+1,+0,+2,+1,0,0x10
}, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
ushort (*brow[5])[4], *pix;
-@@ -7771,7 +7772,7 @@ void CLASS adobe_coeff (const char *make, const char *
- { 8035,435,-962,-6001,13872,2320,-1159,3065,5434 } },
- { "Phase One P65", 0, 0,
+@@ -8096,7 +8097,7 @@ void CLASS adobe_coeff (const char *make, const char *
{ 8035,435,-962,-6001,13872,2320,-1159,3065,5434 } },
+ { "Photron BC2-HD", 0, 0, /* DJC */
+ { 14603,-4122,-528,-1810,9794,2017,-297,2763,5936 } },
- { "Red One", 704, 0xffff, /* DJC */
+ { "Red One", 704, -1, /* DJC */
{ 21014,-7891,-2613,-3056,12201,856,-2203,5125,8042 } },
- { "Samsung EX1", 0, 0x3e00,
- { 8898,-2498,-994,-3144,11328,2066,-760,1381,4576 } },
-@@ -9547,7 +9548,7 @@ void CLASS tiff_head (struct tiff_hdr *th, int full)
+ { "Ricoh GR II", 0, 0,
+ { 4630,-834,-423,-4977,12805,2417,-638,1467,6115 } },
+@@ -9956,7 +9957,7 @@ void CLASS tiff_head (struct tiff_hdr *th, int full)
strncpy (th->desc, desc, 512);
strncpy (th->make, make, 64);
strncpy (th->model, model, 64);
diff --git a/graphics/exact-image/files/patch-codecs_raw.cc b/graphics/exact-image/files/patch-codecs_raw.cc
deleted file mode 100644
index 263408f097db..000000000000
--- a/graphics/exact-image/files/patch-codecs_raw.cc
+++ /dev/null
@@ -1,14 +0,0 @@
---- codecs/raw.cc.orig 2011-01-14 16:30:13 UTC
-+++ codecs/raw.cc
-@@ -71,9 +71,8 @@ bool RAWCodec::writeImage (std::ostream* stream, Image
- if (!image.getRawData())
- return false;
-
-- return stream->write ((char*)image.getRawData(), image.stride()*image.h)
-- /* ==
-- (size_t) image.stride()*image.h*/;
-+ stream->write ((char*)image.getRawData(), image.stride()*image.h);
-+ return stream->good();
- }
-
- RAWCodec raw_loader;