Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package gnustep-back, it fixes RC bug #770141.

Debdiff attached.

unblock gnustep-back/0.24.0-4
diff --git a/debian/changelog b/debian/changelog
index e392e3c..2bb4641 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gnustep-back (0.24.0-4) unstable; urgency=medium
+
+  * debian/patches/cairo-scrolling.patch: New; fix scrolling with
+    cairo/1.14.0 (Closes: #770141).
+  * debian/patches/series: Update.
+
+ -- Yavor Doganov <ya...@gnu.org>  Wed, 19 Nov 2014 08:11:48 +0200
+
 gnustep-back (0.24.0-3) unstable; urgency=medium
 
   * debian/gnustep-back-common.postinst: Ignore errors from mv which lead
diff --git a/debian/patches/cairo-scrolling.patch b/debian/patches/cairo-scrolling.patch
new file mode 100644
index 0000000..055fbab
--- /dev/null
+++ b/debian/patches/cairo-scrolling.patch
@@ -0,0 +1,21 @@
+Description: Disable workaround for a cairo bug fixed in 1.14.0.
+Bug-Debian: http://bugs.debian.org/770141
+Origin: upstream, commit: r38135
+Last-Update: 2014-11-19
+---
+
+--- gnustep-back-0.24.0.orig/Source/cairo/CairoGState.m
++++ gnustep-back-0.24.0/Source/cairo/CairoGState.m
+@@ -1316,9 +1316,10 @@
+       ssize = [source->_surface size];
+     }
+ 
+-  if (cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0))
++  if ((cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0))
++      && (cairo_version() <= CAIRO_VERSION_ENCODE(1, 13, 0)))
+     {      
+-      // For cairo > 1.8 we seem to need this adjustment
++      // For cairo > 1.8 and < 1.13 we seem to need this adjustment
+       srcRectInBase.origin.y -= 2 * (source->offset.y - ssize.height);
+     }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 82c2919..98e673d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+cairo-scrolling.patch
 fontconfig-libs.patch
 format-security.patch
 debian-fonts.patch

Reply via email to