Bug#767725: unblock: gorm.app/1.2.20-2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package gorm.app, it fixes RC bug #767066.
Debdiff attached.
unblock gorm.app/1.2.20-2
diff --git a/debian/changelog b/debian/changelog
index 05e150b..7f3e549 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gorm.app (1.2.20-2) unstable; urgency=medium
+
+ * debian/patches/fix-gorm-loading.patch: New; fixes a crash when loading
+ gorm files with ImageMagick-enabled gnustep-gui (Closes: #767066).
+ * debian/patches/series: Update.
+
+ -- Yavor Doganov <yavor@gnu.org> Sat, 01 Nov 2014 22:24:15 +0200
+
gorm.app (1.2.20-1) unstable; urgency=medium
* New upstream release:
diff --git a/debian/patches/fix-gorm-loading.patch b/debian/patches/fix-gorm-loading.patch
new file mode 100644
index 0000000..fa5e663
--- /dev/null
+++ b/debian/patches/fix-gorm-loading.patch
@@ -0,0 +1,26 @@
+Description: Fix crash when loading gorm files exposed by GSImageMagickImageRep
+Bug-Debian: https://bugs.debian.org/767066
+Bug: http://savannah.gnu.org/bugs/index.php?42782
+Origin: upstream, commit: r38136
+Last-Update: 2014-11-01
+---
+
+--- gorm.app.orig/GormCore/GormWrapperLoader.m
++++ gorm.app/GormCore/GormWrapperLoader.m
+@@ -77,6 +77,16 @@
+ while((key = [enumerator nextObject]) != nil)
+ {
+ NSFileWrapper *fw = [fileWrappers objectForKey: key];
++
++ //
++ // Images with .info can be loaded, but we have a file
++ // called data.info which is metadata for Gorm. Don't load it.
++ //
++ if ( [key isEqualToString: @"data.info"] == YES )
++ {
++ continue;
++ }
++
+ if([fw isRegularFile])
+ {
+ NSData *fileData = [fw regularFileContents];
diff --git a/debian/patches/series b/debian/patches/series
index 8ced3ab..e1f579f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-gorm-loading.patch
texinfo-fixes.patch
link-libs.patch
Reply to: