aboutsummaryrefslogtreecommitdiff
path: root/graphics/shotwell
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2019-03-30 23:24:05 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2019-03-30 23:24:05 +0000
commitdd9feaa57f86fc5b2220b7fd4a76bd4abb579f28 (patch)
tree5978fcbd783cab20de39d75df23704e6ff725990 /graphics/shotwell
parent09629edc278ef4219fcc0ea102b0e575ff083238 (diff)
graphics/gexiv2: update to 0.12.0
http://ftp.acc.umu.se/pub/gnome/sources/gexiv2/0.11/gexiv2-0.11.0.news http://ftp.acc.umu.se/pub/gnome/sources/gexiv2/0.12/gexiv2-0.12.0.news This includes/obsoletes our patches. The vala api of gexiv2 changed, this needed to be reflected in graphics/shotwell (no other port seems to use the vala interface).
Notes
Notes: svn path=/head/; revision=497371
Diffstat (limited to 'graphics/shotwell')
-rw-r--r--graphics/shotwell/Makefile2
-rw-r--r--graphics/shotwell/files/patch-src_photos_PhotoMetadata.vala22
2 files changed, 23 insertions, 1 deletions
diff --git a/graphics/shotwell/Makefile b/graphics/shotwell/Makefile
index 0e47533ce125..1e64c85f4832 100644
--- a/graphics/shotwell/Makefile
+++ b/graphics/shotwell/Makefile
@@ -3,7 +3,7 @@
PORTNAME= shotwell
PORTVERSION= 0.30.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
diff --git a/graphics/shotwell/files/patch-src_photos_PhotoMetadata.vala b/graphics/shotwell/files/patch-src_photos_PhotoMetadata.vala
new file mode 100644
index 000000000000..323324062497
--- /dev/null
+++ b/graphics/shotwell/files/patch-src_photos_PhotoMetadata.vala
@@ -0,0 +1,22 @@
+--- src/photos/PhotoMetadata.vala.orig 2019-03-30 21:05:25 UTC
++++ src/photos/PhotoMetadata.vala
+@@ -276,7 +276,7 @@ public class PhotoMetadata : MediaMetadata {
+ exiv2 = new GExiv2.Metadata();
+ exif = null;
+
+- exiv2.open_buf(buffer, length);
++ exiv2.open_buf(buffer[0:length]);
+ exif = Exif.Data.new_from_data(buffer, length);
+ source_name = "<memory buffer %d bytes>".printf(length);
+ }
+@@ -285,8 +285,8 @@ public class PhotoMetadata : MediaMetadata {
+ exiv2 = new GExiv2.Metadata();
+ exif = null;
+
+- exiv2.from_app1_segment(buffer.get_data(), (long) buffer.get_size());
+- exif = Exif.Data.new_from_data(buffer.get_data(), buffer.get_size());
++ exiv2.from_app1_segment(buffer.get_data());
++ exif = Exif.Data.new_from_data(buffer.get_data(), (long) buffer.get_size());
+ source_name = "<app1 segment %zu bytes>".printf(buffer.get_size());
+ }
+