update shotwell to 0.30.4

Announcement: https://mail.gnome.org/archives/shotwell-list/2019-April/msg00005.html
This commit is contained in:
Christoph Moench-Tegeder 2019-04-26 11:08:44 +00:00
parent 9e944b4056
commit f21c6e8d9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500098
3 changed files with 4 additions and 27 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= shotwell
PORTVERSION= 0.30.2
PORTREVISION= 3
PORTVERSION= 0.30.4
CATEGORIES= graphics gnome
MASTER_SITES= GNOME

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1549625280
SHA256 (shotwell-0.30.2.tar.xz) = 1945978be04ff6985275f70557fb4f2ea43d5fcd3415388b61738310a206555d
SIZE (shotwell-0.30.2.tar.xz) = 6461648
TIMESTAMP = 1556271055
SHA256 (shotwell-0.30.4.tar.xz) = b7bccf86831536c9f87d45fb159145662f372f1c8baae10b4ae679e1811c3ffa
SIZE (shotwell-0.30.4.tar.xz) = 6449848

View File

@ -1,22 +0,0 @@
--- 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());
}