Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian....@packages.debian.org
Usertags: pu

Dear release team,

I would like to request a Stretch update for ReText.

The attached debdiff fixes two issues:

* RC bug #863640 — segfault in XSettings code.
* Syntax error in the appdata XML file.

Both these issues are fixed in current version in testing, 7.0.1-1.

-- 
Dmitry Shachnev
diff -Nru retext-6.0.2/debian/changelog retext-6.0.2/debian/changelog
--- retext-6.0.2/debian/changelog	2016-10-03 23:51:39.000000000 +0300
+++ retext-6.0.2/debian/changelog	2017-07-07 19:35:28.000000000 +0300
@@ -1,3 +1,10 @@
+retext (6.0.2-2+deb9u1) stretch; urgency=medium
+
+  * Backport upstream fix for crash in XSettings code (closes: #863640).
+  * Backport upstream patch to fix syntax in appdata XML file.
+
+ -- Dmitry Shachnev <mity...@debian.org>  Fri, 07 Jul 2017 19:35:28 +0300
+
 retext (6.0.2-2) unstable; urgency=medium
 
   * Do not remove testdata directory during clean.
diff -Nru retext-6.0.2/debian/patches/appdata_closing_tag.diff retext-6.0.2/debian/patches/appdata_closing_tag.diff
--- retext-6.0.2/debian/patches/appdata_closing_tag.diff	1970-01-01 03:00:00.000000000 +0300
+++ retext-6.0.2/debian/patches/appdata_closing_tag.diff	2017-07-07 19:35:28.000000000 +0300
@@ -0,0 +1,15 @@
+Description: fix closing tag in appdata XML file
+Origin: upstream, https://github.com/retext-project/retext/commit/49e4de2b11b24ab4
+Last-Update: 2017-07-07
+
+--- a/data/me.mitya57.ReText.appdata.xml
++++ b/data/me.mitya57.ReText.appdata.xml
+@@ -28,7 +28,7 @@
+     <p>ReText is a text editor for plain text markup languages, such as Markdown and reStructuredText.</p>
+     <p>It supports tabs, live text preview, synchronized scrolling (for Markdown) and syntax highlighting.</p>
+     <p>ReText can export to HTML, ODT and PDF formats. It is also possible to write custom export extensions.</p>
+-  </descripion>
++  </description>
+   <url type="homepage">https://github.com/retext-project/retext</url>
+   <metadata_license>CC0</metadata_license>
+   <project_license>GPL-2.0+</project_license>
diff -Nru retext-6.0.2/debian/patches/fix_xsettings_segfault.diff retext-6.0.2/debian/patches/fix_xsettings_segfault.diff
--- retext-6.0.2/debian/patches/fix_xsettings_segfault.diff	1970-01-01 03:00:00.000000000 +0300
+++ retext-6.0.2/debian/patches/fix_xsettings_segfault.diff	2017-07-07 19:35:28.000000000 +0300
@@ -0,0 +1,15 @@
+Description: fix crash when freeing result of xcb_get_property_reply
+Origin: upstream, https://github.com/retext-project/retext/commit/fb5c5b8aae2ce904
+Last-Update: 2017-07-07
+
+--- a/ReText/xsettings.py
++++ b/ReText/xsettings.py
+@@ -64,6 +64,8 @@
+ 	c = ctypes.CDLL(c_library_name)
+ 
+ 	# set some args and return types
++	c.free.argtypes = [ctypes.c_void_p]
++	c.free.restype = None
+ 	xcb.xcb_connect.argtypes = [ctypes.c_char_p, ctypes.POINTER(ctypes.c_int)]
+ 	xcb.xcb_connect.restype = ctypes.c_void_p
+ 	xcb.xcb_connection_has_error.argtypes = [ctypes.c_void_p]
diff -Nru retext-6.0.2/debian/patches/series retext-6.0.2/debian/patches/series
--- retext-6.0.2/debian/patches/series	1970-01-01 03:00:00.000000000 +0300
+++ retext-6.0.2/debian/patches/series	2017-07-07 19:35:28.000000000 +0300
@@ -0,0 +1,2 @@
+fix_xsettings_segfault.diff
+appdata_closing_tag.diff

Attachment: signature.asc
Description: PGP signature

Reply via email to