From 2fee45d7049540bd0a527643eefef2a218e58178 Mon Sep 17 00:00:00 2001 From: Thilo Bangert Date: Sun, 7 Feb 2010 20:37:41 +0000 Subject: add acl use dep to rsync (bug #303639) (Portage version: 2.2_rc62/cvs/Linux i686) --- app-backup/backintime/ChangeLog | 8 +- app-backup/backintime/backintime-0.9.26-r1.ebuild | 91 ----------------------- app-backup/backintime/backintime-0.9.26-r2.ebuild | 91 +++++++++++++++++++++++ 3 files changed, 98 insertions(+), 92 deletions(-) delete mode 100644 app-backup/backintime/backintime-0.9.26-r1.ebuild create mode 100644 app-backup/backintime/backintime-0.9.26-r2.ebuild (limited to 'app-backup') diff --git a/app-backup/backintime/ChangeLog b/app-backup/backintime/ChangeLog index 637b45e8f397..028bd4b5a651 100644 --- a/app-backup/backintime/ChangeLog +++ b/app-backup/backintime/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-backup/backintime # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/ChangeLog,v 1.5 2010/01/13 08:41:22 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/ChangeLog,v 1.6 2010/02/07 20:37:41 bangert Exp $ + +*backintime-0.9.26-r2 (07 Feb 2010) + + 07 Feb 2010; Thilo Bangert + -backintime-0.9.26-r1.ebuild, +backintime-0.9.26-r2.ebuild: + add acl use dep to rsync (bug #303639) 13 Jan 2010; Thilo Bangert backintime-0.9.26-r1.ebuild, diff --git a/app-backup/backintime/backintime-0.9.26-r1.ebuild b/app-backup/backintime/backintime-0.9.26-r1.ebuild deleted file mode 100644 index b57fc7e7e977..000000000000 --- a/app-backup/backintime/backintime-0.9.26-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/backintime-0.9.26-r1.ebuild,v 1.4 2010/01/13 08:41:22 bangert Exp $ - -EAPI="2" - -inherit eutils - -DESCRIPTION="A simple backup system inspired by TimeVault and FlyBack, with a GUI for GNOME and KDE4" -HOMEPAGE="http://backintime.le-web.org/" -SRC_URI="http://backintime.le-web.org/download/backintime/${P}_src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kde gnome" - -DEPEND="dev-lang/python - net-misc/rsync[xattr] - kde? ( - >=kde-base/kdelibs-4 - kde-base/pykde4 - kde-base/kompare - kde-base/kdesu - ) - gnome? ( - gnome-base/libglade - gnome-base/gnome-session - dev-python/gnome-vfs-python - dev-python/gnome-python - ) - dev-python/notify-python - " - -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/backintime-0.9.26-information-disclosure.diff - epatch "${FILESDIR}"/backintime-0.9.26-dont-install-license.diff - #fix doc install location - sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template - sed -i "s:/doc/backintime:/doc/${P}:g" common/Makefile.template -} - -src_configure() { - cd "${S}"/common - econf - - if use kde ; then - cd "${S}"/kde4 - econf - fi - - if use gnome ; then - cd "${S}"/gnome - econf - fi -} - -src_compile() { - cd "${S}"/common - emake - - if use kde ; then - cd "${S}"/kde4 - emake - fi - - if use gnome ; then - cd "${S}"/gnome - emake - fi -} - -src_install() { - cd "${S}"/common - emake DESTDIR="${D}" install || die - - if use kde ; then - cd "${S}"/kde4 - emake DESTDIR="${D}" install || die - #use kdesu instead of kdesudo - sed -i 's/kdesudo/kdesu/' \ - "${D}"//usr/share/applications/kde4/backintime-kde4-root.desktop - fi - - if use gnome ; then - cd "${S}"/gnome - emake DESTDIR="${D}" install || die - fi -} diff --git a/app-backup/backintime/backintime-0.9.26-r2.ebuild b/app-backup/backintime/backintime-0.9.26-r2.ebuild new file mode 100644 index 000000000000..299191f22691 --- /dev/null +++ b/app-backup/backintime/backintime-0.9.26-r2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/backintime-0.9.26-r2.ebuild,v 1.1 2010/02/07 20:37:41 bangert Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="A simple backup system inspired by TimeVault and FlyBack, with a GUI for GNOME and KDE4" +HOMEPAGE="http://backintime.le-web.org/" +SRC_URI="http://backintime.le-web.org/download/backintime/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kde gnome" + +DEPEND="dev-lang/python + net-misc/rsync[xattr,acl] + kde? ( + >=kde-base/kdelibs-4 + kde-base/pykde4 + kde-base/kompare + kde-base/kdesu + ) + gnome? ( + gnome-base/libglade + gnome-base/gnome-session + dev-python/gnome-vfs-python + dev-python/gnome-python + ) + dev-python/notify-python + " + +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/backintime-0.9.26-information-disclosure.diff + epatch "${FILESDIR}"/backintime-0.9.26-dont-install-license.diff + #fix doc install location + sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template + sed -i "s:/doc/backintime:/doc/${P}:g" common/Makefile.template +} + +src_configure() { + cd "${S}"/common + econf + + if use kde ; then + cd "${S}"/kde4 + econf + fi + + if use gnome ; then + cd "${S}"/gnome + econf + fi +} + +src_compile() { + cd "${S}"/common + emake + + if use kde ; then + cd "${S}"/kde4 + emake + fi + + if use gnome ; then + cd "${S}"/gnome + emake + fi +} + +src_install() { + cd "${S}"/common + emake DESTDIR="${D}" install || die + + if use kde ; then + cd "${S}"/kde4 + emake DESTDIR="${D}" install || die + #use kdesu instead of kdesudo + sed -i 's/kdesudo/kdesu/' \ + "${D}"//usr/share/applications/kde4/backintime-kde4-root.desktop + fi + + if use gnome ; then + cd "${S}"/gnome + emake DESTDIR="${D}" install || die + fi +} -- cgit v1.2.3-65-gdbad