summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2010-05-23 10:24:08 +0000
committerChristoph Mende <angelos@gentoo.org>2010-05-23 10:24:08 +0000
commit5cb2405c4e7ebc26f1d2be928ab54781d334a8f4 (patch)
treef6c580f64606b035c026371a616315e683486aa8 /xfce-extra
parentAdd REE18 support (diff)
downloadgentoo-2-5cb2405c4e7ebc26f1d2be928ab54781d334a8f4.tar.gz
gentoo-2-5cb2405c4e7ebc26f1d2be928ab54781d334a8f4.tar.bz2
gentoo-2-5cb2405c4e7ebc26f1d2be928ab54781d334a8f4.zip
Fix segfaults at first startup (bug #320789), thanks to Thomas
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-screenshooter/ChangeLog9
-rw-r--r--xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.7.9-fix-segfault-at-startup.patch17
-rw-r--r--xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.7.9-r1.ebuild31
3 files changed, 56 insertions, 1 deletions
diff --git a/xfce-extra/xfce4-screenshooter/ChangeLog b/xfce-extra/xfce4-screenshooter/ChangeLog
index 39af87b81669..dbae46f175a8 100644
--- a/xfce-extra/xfce4-screenshooter/ChangeLog
+++ b/xfce-extra/xfce4-screenshooter/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for xfce-extra/xfce4-screenshooter
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-screenshooter/ChangeLog,v 1.72 2010/04/14 17:45:42 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-screenshooter/ChangeLog,v 1.73 2010/05/23 10:24:08 angelos Exp $
+
+*xfce4-screenshooter-1.7.9-r1 (23 May 2010)
+
+ 23 May 2010; Christoph Mende <angelos@gentoo.org>
+ +xfce4-screenshooter-1.7.9-r1.ebuild,
+ +files/xfce4-screenshooter-1.7.9-fix-segfault-at-startup.patch:
+ Fix segfaults at first startup (bug #320789), thanks to Thomas
14 Apr 2010; Jeroen Roovers <jer@gentoo.org>
xfce4-screenshooter-1.7.9.ebuild:
diff --git a/xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.7.9-fix-segfault-at-startup.patch b/xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.7.9-fix-segfault-at-startup.patch
new file mode 100644
index 000000000000..e2a2f3d95e48
--- /dev/null
+++ b/xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.7.9-fix-segfault-at-startup.patch
@@ -0,0 +1,17 @@
+--- xfce4-screenshooter-1.7.9/lib/screenshooter-utils.c.orig 2010-01-02 12:42:24.000000000 +0100
++++ xfce4-screenshooter-1.7.9/lib/screenshooter-utils.c 2010-05-20 22:40:38.347861374 +0200
+@@ -94,11 +94,11 @@
+ g_free (title);
+ title =
+ g_strdup (xfce_rc_read_entry (rc, "title", _("Screenshot")));
+- }
+
+- TRACE ("Close the rc file");
++ TRACE ("Close the rc file");
+
+- xfce_rc_close (rc);
++ xfce_rc_close (rc);
++ }
+ }
+
+ /* And set the sd values */
diff --git a/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.7.9-r1.ebuild b/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.7.9-r1.ebuild
new file mode 100644
index 000000000000..4b52fa470ed2
--- /dev/null
+++ b/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.7.9-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.7.9-r1.ebuild,v 1.1 2010/05/23 10:24:08 angelos Exp $
+
+EAPI=2
+inherit xfconf
+
+DESCRIPTION="Xfce4 screenshooter application and panel plugin"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
+SRC_URI="mirror://xfce/src/apps/xfce4-screenshooter/1.7/xfce4-screenshooter-1.7.9.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+RDEPEND=">=x11-libs/gtk+-2.14:2
+ >=dev-libs/glib-2.16:2
+ >=net-libs/libsoup-2.26.0
+ >=xfce-base/xfce4-panel-4.4
+ >=xfce-base/libxfce4util-4.4
+ >=xfce-base/libxfcegui4-4.4"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ PATCHES=( "${FILESDIR}/${P}-fix-segfault-at-startup.patch" )
+ XFCONF="--disable-dependency-tracking
+ $(use_enable debug)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}