diff options
Diffstat (limited to 'x11-misc/obconf')
-rw-r--r-- | x11-misc/obconf/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/obconf/files/obconf-2.0.3-hardened.patch | 8 | ||||
-rw-r--r-- | x11-misc/obconf/obconf-2.0.3-r1.ebuild | 45 |
3 files changed, 62 insertions, 1 deletions
diff --git a/x11-misc/obconf/ChangeLog b/x11-misc/obconf/ChangeLog index 35559fedb62f..0a3449e0ae2e 100644 --- a/x11-misc/obconf/ChangeLog +++ b/x11-misc/obconf/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for x11-misc/obconf # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/ChangeLog,v 1.67 2010/06/22 09:17:08 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/ChangeLog,v 1.68 2010/09/07 11:25:39 hwoarang Exp $ + +*obconf-2.0.3-r1 (07 Sep 2010) + + 07 Sep 2010; Markos Chandras <hwoarang@gentoo.org> + +obconf-2.0.3-r1.ebuild, +files/obconf-2.0.3-hardened.patch: + Apply freebsd patch to fix segmentation fault on hardened platforms. Bug + #335736. Thanks to Constantine D. Kardaris <ckardaris@gmail.com> for + reporting 22 Jun 2010; Markos Chandras <hwoarang@gentoo.org> +obconf-9999.ebuild: Moved live ebuild from lxde-overlay diff --git a/x11-misc/obconf/files/obconf-2.0.3-hardened.patch b/x11-misc/obconf/files/obconf-2.0.3-hardened.patch new file mode 100644 index 000000000000..31621f9c323b --- /dev/null +++ b/x11-misc/obconf/files/obconf-2.0.3-hardened.patch @@ -0,0 +1,8 @@ +--- ./src/preview_update.c.orig 2010-05-12 20:09:07.177608591 +0400 ++++ ./src/preview_update.c 2010-05-12 20:09:21.638774481 +0400 +@@ -1,4 +1,5 @@ + #include "preview_update.h" ++#include "preview.h" + #include "main.h" + + static gboolean restart_theme_preview_update = TRUE; diff --git a/x11-misc/obconf/obconf-2.0.3-r1.ebuild b/x11-misc/obconf/obconf-2.0.3-r1.ebuild new file mode 100644 index 000000000000..9f3bd15ea39b --- /dev/null +++ b/x11-misc/obconf/obconf-2.0.3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/obconf-2.0.3-r1.ebuild,v 1.1 2010/09/07 11:25:39 hwoarang Exp $ + +EAPI="2" + +inherit eutils fdo-mime + +DESCRIPTION="ObConf is a tool for configuring the Openbox window manager." +HOMEPAGE="http://icculus.org/openbox/index.php/ObConf:About" +SRC_URI="http://icculus.org/openbox/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="nls" + +RDEPEND=">=gnome-base/libglade-2 + >=x11-libs/gtk+-2 + x11-libs/startup-notification + >=x11-wm/openbox-3.4.2 + nls? ( sys-devel/gettext )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + # fix segfault on hardened. Bug #335736 + epatch "${FILESDIR}/${P}-hardened.patch" +} + +src_compile() { + econf \ + $(use_enable nls) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} |