summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-03-12 18:14:19 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-03-12 18:14:19 +0000
commit7db7140e98bb6c39f61963bfba54a2cc54d1e993 (patch)
treec203144b7337dfbcdc4a7d465dc89c0855a201b5 /xfce-base
parentBump sys-cluster/torque-2.3.0. Added USE flag for linux cpusets support. Re... (diff)
downloadhistorical-7db7140e98bb6c39f61963bfba54a2cc54d1e993.tar.gz
historical-7db7140e98bb6c39f61963bfba54a2cc54d1e993.tar.bz2
historical-7db7140e98bb6c39f61963bfba54a2cc54d1e993.zip
Fix problem with Thunar leaving defuncts by including a fix from upstream bug 2983, thanks to VQuickSilver and tcunha.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'xfce-base')
-rw-r--r--xfce-base/thunar/ChangeLog9
-rw-r--r--xfce-base/thunar/Manifest4
-rw-r--r--xfce-base/thunar/files/thunar-0.9.0-fix-defuncts.patch31
-rw-r--r--xfce-base/thunar/thunar-0.9.0-r2.ebuild89
4 files changed, 131 insertions, 2 deletions
diff --git a/xfce-base/thunar/ChangeLog b/xfce-base/thunar/ChangeLog
index 60abfe547f8a..ec613d4edf7b 100644
--- a/xfce-base/thunar/ChangeLog
+++ b/xfce-base/thunar/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for xfce-base/thunar
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/ChangeLog,v 1.47 2008/03/10 01:55:13 ricmm Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/ChangeLog,v 1.48 2008/03/12 18:14:18 drac Exp $
+
+*thunar-0.9.0-r2 (12 Mar 2008)
+
+ 12 Mar 2008; Samuli Suominen <drac@gentoo.org>
+ +files/thunar-0.9.0-fix-defuncts.patch, +thunar-0.9.0-r2.ebuild:
+ Fix problem with Thunar leaving defuncts by including a fix from upstream
+ bug 2983, thanks to VQuickSilver and tcunha.
10 Mar 2008; <ricmm@gentoo.org> thunar-0.8.0-r3.ebuild:
Drop to ~mips due to unstable deps
diff --git a/xfce-base/thunar/Manifest b/xfce-base/thunar/Manifest
index e1170cad0c6d..4a9f7db8e37d 100644
--- a/xfce-base/thunar/Manifest
+++ b/xfce-base/thunar/Manifest
@@ -1,10 +1,12 @@
AUX thunar-0.8.0-jpeg.patch 6167 RMD160 2bd5d0db89ea0050877822ce87c7eef36407b34d SHA1 a2feee6d64d10b08ab3209b8b22223ea5967ef52 SHA256 8a7f426322f84a73d3d6c0ed9d89323e88ae46b0b844a14747d120e0787252a1
AUX thunar-0.8.0-uca.patch 823 RMD160 81234758fd29477e83b14bd6bb4758d64612f08d SHA1 b216e9b62e2fc53e75d50cc5c1028fc4fac69f57 SHA256 134c39d89efdc9a2bc61fbd9821815542d0796a2bc59a300c3b541dcf23b1f4b
+AUX thunar-0.9.0-fix-defuncts.patch 1111 RMD160 68f2fbf8326d43de8b201946969ccccc36bf2b20 SHA1 cf27e3d03f087b00cccabe294a927ab0ec2d9bc5 SHA256 3b5808b8dc77a0dbdd18412258d1758162afc0ecf41ac31272299cf32c4c0774
AUX thunar-0.9.0-missing-audio-cds-for-volman.patch 4220 RMD160 5fa9ff9156fca9df5d3a2908a8d60ddbc31a319d SHA1 678127d7f7ef14a08cf8390b43fac1db72b5e1cb SHA256 4d3696a3a7e06e34d7e8ec040ca4cc58d76d6575e4a01a8877cce1094caad989
DIST Thunar-0.8.0.tar.bz2 6205993 RMD160 95d29cca64c102b7d8bdcc0592f6fcab7198148b SHA1 1adcba7b86d9219b0bd7eb8c16d5719aa8393d98 SHA256 460484f8397a0e0e4115d1629d2ae027b5052dc2c564d4a4629a3557e4a055f9
DIST Thunar-0.9.0.tar.bz2 6403785 RMD160 ebb744aa107d4def06c8c805ee6936d1acf2d4d7 SHA1 fd4625d58e28006087d5a35004483a953184e4fe SHA256 26c833b0bdf3281c61e03f1fb985feced88cf4a5cebce7bd055f05e025460037
EBUILD thunar-0.8.0-r3.ebuild 2197 RMD160 766f1756e1dd302409cc5008ba3fb2e01f5c2e55 SHA1 582855a818e2459fc9e54f26d83d6ddf70607dc9 SHA256 f5809a15c06b8e0e87c61305ca5a3246e425974734f681d9080a9926c7916208
EBUILD thunar-0.9.0-r1.ebuild 2258 RMD160 bac107bcb5ef57fed717320dec39ac5e577359f3 SHA1 1c75c2a8bf183a4aff475c9fd4c3b86908146227 SHA256 57c84fee895294cb0bb0abd24c2942cd7c628c98c68c697a43442c5a2781482b
+EBUILD thunar-0.9.0-r2.ebuild 2316 RMD160 55b6dda102ec65707eeade0413dff331c58b0235 SHA1 c3ae12ef0c84107a0d749a2fcdd3e40a2b82cc47 SHA256 b1cb38c4fec5b89a0f6c420596342bc43420cfa20d868ab97eb59e86c40fc694
EBUILD thunar-0.9.0.ebuild 2161 RMD160 1a1c76dbdd56af250a93a17102aed010607f1627 SHA1 a3fc801a0ddda23a19f2545a9ed5f22865d7914a SHA256 5ccf7a5ce0d9264efccbb4ce9b6cea8ebd279c613193311aedd96b214d15f27f
-MISC ChangeLog 6900 RMD160 5ce4ae6102366332494f82c84979b611eede0fd6 SHA1 c8f554b0be8f5a1cb11d8f8c059d94279f095730 SHA256 8ec4a012714aa9379e29350067ef053c2a891c01971c519fc4a914f97273a3c0
+MISC ChangeLog 7171 RMD160 8fd9921d7a1a6a81f9ce1c252e7b41449912ca84 SHA1 4f4eacc8f16dd0cfb9b697eacd7c98913dc390fa SHA256 441d086f1f1b80f7b7ce22295eff0d0b34f912025590a045f1c8de0bbc75d29f
MISC metadata.xml 157 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 SHA1 7eae91f2588bdae8667d37a98fb3090d539eeca1 SHA256 44350daa7594842894d676413708d8ea77ccb0017bed24711af5b256281f5e61
diff --git a/xfce-base/thunar/files/thunar-0.9.0-fix-defuncts.patch b/xfce-base/thunar/files/thunar-0.9.0-fix-defuncts.patch
new file mode 100644
index 000000000000..4353c7490ffe
--- /dev/null
+++ b/xfce-base/thunar/files/thunar-0.9.0-fix-defuncts.patch
@@ -0,0 +1,31 @@
+Index: thunar-vfs/thunar-vfs-exec.c
+===================================================================
+--- thunar-vfs/thunar-vfs-exec.c (revision 26428)
++++ thunar-vfs/thunar-vfs-exec.c (working copy)
+@@ -324,8 +324,10 @@
+ if (startup_data->watch_id != 0)
+ g_source_remove (startup_data->watch_id);
+
+- /* close the PID */
+- g_spawn_close_pid (startup_data->pid);
++ /* make sure we don't leave zombies (see bug #2983 for details) */
++ g_child_watch_add_full (G_PRIORITY_LOW, startup_data->pid,
++ (GChildWatchFunc) g_spawn_close_pid,
++ NULL, NULL);
+
+ /* release the startup data */
+ _thunar_vfs_slice_free (TvsnStartupData, startup_data);
+@@ -513,7 +515,13 @@
+ startup_data->pid = pid;
+ }
+ }
++ else if (G_LIKELY (succeed))
++ {
++ /* make sure we don't leave zombies (see bug #2983 for details) */
++ g_child_watch_add_full (G_PRIORITY_LOW, pid, (GChildWatchFunc) g_spawn_close_pid, NULL, NULL);
+
++ }
++
+ /* release the sn display */
+ if (G_LIKELY (sn_display != NULL))
+ sn_display_unref (sn_display);
diff --git a/xfce-base/thunar/thunar-0.9.0-r2.ebuild b/xfce-base/thunar/thunar-0.9.0-r2.ebuild
new file mode 100644
index 000000000000..bf304c7612f8
--- /dev/null
+++ b/xfce-base/thunar/thunar-0.9.0-r2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/thunar-0.9.0-r2.ebuild,v 1.1 2008/03/12 18:14:18 drac Exp $
+
+EAPI=1
+
+inherit eutils virtualx xfce44
+
+MY_P=${P/t/T}
+S=${WORKDIR}/${MY_P}
+
+XFCE_VERSION=4.4.2
+xfce44
+
+DESCRIPTION="File manager"
+HOMEPAGE="http://thunar.xfce.org"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc dbus debug exif gnome hal pcre startup-notification +trash-plugin"
+
+RDEPEND=">=dev-lang/perl-5.6
+ x11-libs/libSM
+ >=x11-libs/gtk+-2.6
+ >=dev-libs/glib-2.6
+ >=xfce-extra/exo-0.3.4
+ >=x11-misc/shared-mime-info-0.20
+ >=dev-util/desktop-file-utils-0.14
+ >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
+ virtual/fam
+ dbus? ( dev-libs/dbus-glib )
+ hal? ( dev-libs/dbus-glib
+ sys-apps/hal )
+ >=media-libs/freetype-2
+ gnome? ( gnome-base/gconf )
+ exif? ( >=media-libs/libexif-0.6 )
+ >=media-libs/jpeg-6b
+ startup-notification? ( x11-libs/startup-notification )
+ pcre? ( >=dev-libs/libpcre-6 )
+ trash-plugin? ( dev-libs/dbus-glib
+ >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION} )
+ gnome-base/librsvg"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool
+ doc? ( dev-util/gtk-doc )"
+
+pkg_setup() {
+ XFCE_CONFIG="${XFCE_CONFIG} $(use_enable exif)
+ $(use_enable gnome gnome-thumbnailers)
+ $(use_enable dbus) $(use_enable pcre)"
+
+ local fail="Re-emerge xfce-extra/exo with USE hal."
+
+ if use hal; then
+ XFCE_CONFIG="${XFCE_CONFIG} --enable-dbus --with-volume-manager=hal"
+ else
+ XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none"
+ fi
+
+ if use trash-plugin && ! use dbus; then
+ XFCE_CONFIG="${XFCE_CONFIG} --enable-dbus"
+ ewarn "USE trash-plugin detected, enabling dbus for you."
+ fi
+
+ use trash-plugin || XFCE_CONFIG="${XFCE_CONFIG} --disable-tpa-plugin"
+
+ if use hal && ! use dbus; then
+ ewarn "USE hal detected, enabling dbus for you."
+ fi
+
+ if use hal && ! built_with_use xfce-extra/exo hal; then
+ eerror "${fail}"
+ die "${fail}"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-missing-audio-cds-for-volman.patch
+ epatch "${FILESDIR}"/${P}-fix-defuncts.patch
+}
+
+src_test() {
+ Xemake check || die "emake check failed."
+}
+
+DOCS="AUTHORS ChangeLog HACKING FAQ THANKS TODO README NEWS"
+
+xfce44_extra_package