Hey, xfce4-dict in Lenny have a problem, where the processes it runs become zombies in the end. This is fixed in 0.5.1, but stable has 0.4.0, so upgrade wasn't really possible. But the patch is a one liner, so it was easy to backport it to 0.4.0, and thus I'd like to ask for a SPU upload if possible. The associated bug number is #518305, and debdiff is attached. Cheers, -- Yves-Alexis
diff -u xfce4-dict-0.4.0/debian/rules xfce4-dict-0.4.0/debian/rules
--- xfce4-dict-0.4.0/debian/rules
+++ xfce4-dict-0.4.0/debian/rules
@@ -1,3 +1,11 @@
#!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
+
+build: patch
+ dh build
+
+clean: unpatch
+ dh clean
+
%:
dh $@
diff -u xfce4-dict-0.4.0/debian/changelog xfce4-dict-0.4.0/debian/changelog
--- xfce4-dict-0.4.0/debian/changelog
+++ xfce4-dict-0.4.0/debian/changelog
@@ -1,3 +1,15 @@
+xfce4-dict (0.4.0-2+lenny1) stable-proposed-updates; urgency=low
+
+ * debian/patches:
+ - 01_fix-zombie-process added, prevent run process to become zombies.
+ (Xfce #4615, r6101) closes: #518305
+ * debian/control:
+ - add build-dep on quilt.
+ * debian/rules:
+ - add patch rules.
+
+ -- Yves-Alexis Perez <corsac@debian.org> Thu, 05 Mar 2009 23:15:51 +0100
+
xfce4-dict (0.4.0-2) unstable; urgency=low
* build-dep against debhelper >= 7.0.13 to avoid FTBFS because of mixed
diff -u xfce4-dict-0.4.0/debian/control xfce4-dict-0.4.0/debian/control
--- xfce4-dict-0.4.0/debian/control
+++ xfce4-dict-0.4.0/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
Uploaders: Yves-Alexis Perez <corsac@debian.org>, Emanuele Rocca <ema@debian.org>, Simon Huggins <huggie@earth.li>
-Build-Depends: debhelper (>= 7.0.13), libexo-0.3-dev (>= 0.3.1.10rc1), xfce4-panel-dev (>= 4.3.90.2-3), libxml-parser-perl
+Build-Depends: debhelper (>= 7.0.13), libexo-0.3-dev (>= 0.3.1.10rc1), xfce4-panel-dev (>= 4.3.90.2-3), libxml-parser-perl, quilt
Standards-Version: 3.8.0
Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/xfce4-dict
Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/goodies/xfce4-dict
only in patch2:
unchanged:
--- xfce4-dict-0.4.0.orig/debian/patches/series
+++ xfce4-dict-0.4.0/debian/patches/series
@@ -0,0 +1 @@
+01_fix-zombie-process.patch
only in patch2:
unchanged:
--- xfce4-dict-0.4.0.orig/debian/patches/01_fix-zombie-process.patch
+++ xfce4-dict-0.4.0/debian/patches/01_fix-zombie-process.patch
@@ -0,0 +1,20 @@
+diff --git a/lib/aspell.c b/lib/aspell.c
+index 72176ad..8b41b0a 100644
+--- a/lib/aspell.c
++++ b/lib/aspell.c
+@@ -189,7 +189,7 @@ void dict_aspell_start_query(DictData *dd, const gchar *word)
+ argv[4] = NULL;
+
+ if (g_spawn_async_with_pipes(NULL, argv, NULL,
+- G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL,
++ G_SPAWN_SEARCH_PATH, NULL, NULL, NULL,
+ &stdin_fd, &stdout_fd, &stderr_fd, &error))
+ {
+ set_up_io_channel(stdin_fd, G_IO_OUT, iofunc_write, tts);
+diff --git a/po/POTFILES.skip b/po/POTFILES.skip
+new file mode 100644
+index 0000000..058c68b
+--- /dev/null
++++ b/po/POTFILES.skip
+@@ -0,0 +1 @@
++.pc/01_fix-zombie-process.patch/lib/aspell.c
Attachment:
signature.asc
Description: This is a digitally signed message part