From cd5822dc6dff8d585eb5f2dd196672cf029ce1b9 Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Wed, 17 Nov 2004 07:30:11 +0000 Subject: Fixing bug #38253 --- app-admin/partgui/ChangeLog | 6 +++++- app-admin/partgui/Manifest | 6 ++---- app-admin/partgui/files/digest-partgui-0.2.2 | 1 - app-admin/partgui/partgui-0.2.2.ebuild | 28 ---------------------------- app-admin/partgui/partgui-0.2.3-r2.ebuild | 13 ++++++++++++- 5 files changed, 19 insertions(+), 35 deletions(-) delete mode 100644 app-admin/partgui/files/digest-partgui-0.2.2 delete mode 100644 app-admin/partgui/partgui-0.2.2.ebuild (limited to 'app-admin/partgui') diff --git a/app-admin/partgui/ChangeLog b/app-admin/partgui/ChangeLog index ef8dad6e2fdd..5b74feb254a1 100644 --- a/app-admin/partgui/ChangeLog +++ b/app-admin/partgui/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/partgui # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/partgui/ChangeLog,v 1.9 2004/10/05 02:58:11 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/partgui/ChangeLog,v 1.10 2004/11/17 07:30:11 phosphan Exp $ + + 17 Nov 2004; Patrick Kursawe -partgui-0.2.2.ebuild, + partgui-0.2.3-r2.ebuild: + Fixing bug #38253 (sandbox problems) 05 Oct 2004; Pieter Van den Abeele partgui-0.2.3-r2.ebuild: diff --git a/app-admin/partgui/Manifest b/app-admin/partgui/Manifest index 0d89b79d27be..b2822bdf3d33 100644 --- a/app-admin/partgui/Manifest +++ b/app-admin/partgui/Manifest @@ -1,6 +1,4 @@ -MD5 cbd21bcaf7e2a315c972e7262be0770c ChangeLog 1270 +MD5 636df597b5af1d93a089e94c97252543 ChangeLog 1414 MD5 67167e44757618dcca7547209cf0359c metadata.xml 272 -MD5 d1e576c7804a42f8eb852e808e4ec678 partgui-0.2.2.ebuild 730 -MD5 d03fe304cd3351df03e7a8dc6db3d825 partgui-0.2.3-r2.ebuild 863 -MD5 b71f48733a94d00169d777215b0538f2 files/digest-partgui-0.2.2 66 +MD5 773ffdab7f81b4afa02b02ccddbd5568 partgui-0.2.3-r2.ebuild 1299 MD5 402105c5e503b257b35ae1e05159ce99 files/digest-partgui-0.2.3-r2 66 diff --git a/app-admin/partgui/files/digest-partgui-0.2.2 b/app-admin/partgui/files/digest-partgui-0.2.2 deleted file mode 100644 index 98fe7b80708d..000000000000 --- a/app-admin/partgui/files/digest-partgui-0.2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 c3989fb6ac5fd4069121bd2ec650048c partgui-0.2.2.tar.bz2 648351 diff --git a/app-admin/partgui/partgui-0.2.2.ebuild b/app-admin/partgui/partgui-0.2.2.ebuild deleted file mode 100644 index 9e5b75c2024c..000000000000 --- a/app-admin/partgui/partgui-0.2.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/partgui/partgui-0.2.2.ebuild,v 1.5 2004/06/24 21:33:34 agriffis Exp $ - -DESCRIPTION="PartGUI is a nice graphical partitioning tool" -HOMEPAGE="http://part-gui.sourceforge.net/" -SRC_URI="mirror://sourceforge/part-gui/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="x86" -IUSE="" -DEPEND=">=x11-libs/qt-3.1.0 - dev-libs/newt - >=sys-apps/parted-1.6.5 - >=sys-fs/xfsprogs-2.3.9 - sys-libs/slang - >=sys-fs/e2fsprogs-1.33" - -src_compile() { - econf || die "configure failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR=${D} install || die - chmod +x ${D}/usr/sbin/partgui -} diff --git a/app-admin/partgui/partgui-0.2.3-r2.ebuild b/app-admin/partgui/partgui-0.2.3-r2.ebuild index 08738d6573cc..12e1fd8a8a8c 100644 --- a/app-admin/partgui/partgui-0.2.3-r2.ebuild +++ b/app-admin/partgui/partgui-0.2.3-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/partgui/partgui-0.2.3-r2.ebuild,v 1.5 2004/10/05 02:58:11 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/partgui/partgui-0.2.3-r2.ebuild,v 1.6 2004/11/17 07:30:11 phosphan Exp $ DESCRIPTION="PartGUI is a nice graphical partitioning tool" HOMEPAGE="http://part-gui.sourceforge.net/" @@ -19,6 +19,17 @@ DEPEND=">=x11-libs/qt-3.1.0 >=sys-apps/sed-4" src_compile() { + # fix the sandbox errors "can't writ to .kde or .qt" problems. + # this is a fake homedir that is writeable under the sandbox, so that the build process + # can do anything it wants with it. + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + addwrite "${QTDIR}/etc/settings" + # things that should access the real homedir + [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" + econf --disable-static || die "configure failed" emake || die "emake failed" } -- cgit v1.2.3-65-gdbad