summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/backintime
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/backintime')
-rw-r--r--app-backup/backintime/Manifest4
-rw-r--r--app-backup/backintime/backintime-1.0.24-r2.ebuild98
-rw-r--r--app-backup/backintime/backintime-1.0.36-r2.ebuild98
-rw-r--r--app-backup/backintime/backintime-1.0.40.ebuild98
-rw-r--r--app-backup/backintime/backintime-1.1.4.ebuild76
-rw-r--r--app-backup/backintime/files/backintime-1.0.24-dont-install-license.patch49
-rw-r--r--app-backup/backintime/files/backintime-1.0.24-wrapper.patch64
-rw-r--r--app-backup/backintime/files/backintime-1.0.36-wrapper.patch65
-rw-r--r--app-backup/backintime/files/backintime-1.0.4-fix-configure-warning.diff17
-rw-r--r--app-backup/backintime/files/backintime-1.0.4-kde4-root.desktop11
-rw-r--r--app-backup/backintime/metadata.xml17
11 files changed, 597 insertions, 0 deletions
diff --git a/app-backup/backintime/Manifest b/app-backup/backintime/Manifest
new file mode 100644
index 000000000000..324695c8b890
--- /dev/null
+++ b/app-backup/backintime/Manifest
@@ -0,0 +1,4 @@
+DIST backintime-1.0.24.tar.gz 507183 SHA256 5d9bac6fd74dd2258786b3481af260beb0f544d0e3560a0db2c8c0a87973384d SHA512 57469409e101207dd0c90f47ac7a709f5c7faab2cd7c60ff014a431912483b87e677bb7d0d2e25609d318f2a7ceb539bac4cc52bf7284d987200d98f2be670a7 WHIRLPOOL 476c158744918510d26d627f9cb833149ef99af85d3d423de2a2e61bc995032131f86df194825876f81ecb756109b328118be741f92cc98f11f7340c1a1e10ca
+DIST backintime-1.0.36.tar.gz 594612 SHA256 40ff1ed81fa4de3302acbc0154f2ec9ee17e77423d35e17c66eb110c2c171666 SHA512 0f78041c90c8242d6e4aabc97c67156e1ecf7d593adb40e417959f0d2dd0432ae95e3dd4c04603b170e7271f82e01ced4e7233794d81333e8b9ab3e9b9721776 WHIRLPOOL 8d9e752bae1000cd9690da095fa382c5deac8af8f107f3b1d39f7bf1d5f59091ccfc0b6f6c9b779f94fedd13e2e2daf7f2d53f5b54cb4050548eeb0345ba878e
+DIST backintime-1.0.40.tar.gz 595494 SHA256 09a79fe95b654e628a9d76d19f110bf5d29c7cf142b2ec5df2f1c8561b5551f2 SHA512 342a842ebac4b886ec8af8d30f0a01594b89cd4345c84c2cda463b7862d00955180a688f6661623502117896e95b63b8d44e5f3d0fc8152cca1ca3d816380e44 WHIRLPOOL 38c51e77d1661e0773ee17dc84cb2f9559c4a0b112db4c3de43a836ca099bfbd391a98846b349ef9e9794fc3befb73eef5400f080122d8e63eebec28bfc7f3c0
+DIST backintime-1.1.4.tar.gz 562964 SHA256 434fc1fb6d9ac20d7b04c791e39bf9e077773c696e18f2bf1aa8f3e7fb59a770 SHA512 a207833c9708166cfbc4e0aa36c6e1b0ee609d5e05a8f23c51c3242f8e32ae25df09255885a812ac32bdec7874266e8a167be076c8938d90ddfe76c5b2736aa7 WHIRLPOOL e3dee1d437657939ce3290d0717f9c6f31a656de8f4642bf7fbcca1dd5b7426ba7f068f8faa96e731c863e4a8e02d1e8d1526fbf466b7ea8ba1b1682fd43ab7f
diff --git a/app-backup/backintime/backintime-1.0.24-r2.ebuild b/app-backup/backintime/backintime-1.0.24-r2.ebuild
new file mode 100644
index 000000000000..c6d232e9aed2
--- /dev/null
+++ b/app-backup/backintime/backintime-1.0.24-r2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+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://${PN}.le-web.org/wp-content/uploads/2009/03/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde gnome"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/keyring[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ net-misc/openssh
+ net-misc/rsync[xattr,acl]
+ kde? (
+ >=kde-base/kdelibs-4
+ kde-base/pykde4[${PYTHON_USEDEP}]
+ kde-apps/kompare:4
+ kde-apps/kdesu:4
+ )
+ gnome? (
+ gnome-base/libglade
+ dev-util/meld
+ gnome-base/gnome-session
+ dev-python/gnome-vfs-python
+ dev-python/libgnome-python
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ x11-libs/gksu
+ )"
+
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-dont-install-license.patch
+ epatch "${FILESDIR}"/${PN}-1.0.4-fix-configure-warning.diff
+
+ #fix doc install location
+ sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template || die
+ sed -i "s:/doc/backintime:/doc/${PF}:g" common/Makefile.template || die
+
+ cp "${FILESDIR}"/backintime-1.0.4-kde4-root.desktop \
+ kde4/backintime-kde4-root.desktop || die
+
+ #bug 482106
+ epatch "${FILESDIR}"/${P}-wrapper.patch
+ sed -e "s:^python2 :${PYTHON} :" \
+ -e "s:APP_PATH=\"/usr:APP_PATH=\"${EPREFIX}/usr:" \
+ -i kde4/backintime-kde4 gnome/backintime-gnome \
+ common/backintime || die
+
+ backintime_variants="common $(usex gnome gnome '') $(usex kde kde4 '')"
+ backintime_run() {
+ local variant
+ for variant in ${backintime_variants} ; do
+ einfo "$variant: run \"$@\""
+ pushd "${S}"/${variant} || die
+ "${@}" || die
+ popd
+ done
+ }
+
+ if [ -n ${LINGUAS+x} ] ; then
+ cd common/po || die
+ for po in *.po ; do
+ if ! has ${po/.po} ${LINGUAS} ; then
+ rm ${po} || die
+ fi
+ done
+ fi
+}
+
+src_configure() {
+ backintime_run econf
+}
+
+src_compile() {
+ backintime_run emake
+}
+
+src_install() {
+ backintime_run emake DESTDIR="${D}" install
+ python_optimize "${D}"
+}
diff --git a/app-backup/backintime/backintime-1.0.36-r2.ebuild b/app-backup/backintime/backintime-1.0.36-r2.ebuild
new file mode 100644
index 000000000000..0d592ba443cf
--- /dev/null
+++ b/app-backup/backintime/backintime-1.0.36-r2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+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://${PN}.le-web.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="kde gnome"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ net-misc/openssh
+ net-misc/rsync[xattr,acl]
+ kde? (
+ >=kde-base/kdelibs-4
+ kde-base/pykde4[${PYTHON_USEDEP}]
+ kde-apps/kompare:4
+ kde-apps/kdesu:4
+ )
+ gnome? (
+ gnome-base/libglade
+ dev-util/meld
+ gnome-base/gnome-session
+ dev-python/gnome-vfs-python
+ dev-python/libgnome-python
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ x11-libs/gksu
+ )"
+
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.24-dont-install-license.patch
+
+ #fix doc install location
+ sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template || die
+ sed -i "s:/doc/backintime:/doc/${PF}:g" common/Makefile.template || die
+
+ cp "${FILESDIR}"/backintime-1.0.4-kde4-root.desktop \
+ kde4/backintime-kde4-root.desktop || die
+
+ #bug 482106
+ epatch "${FILESDIR}"/${P}-wrapper.patch
+ sed -e "s:^python2 :${PYTHON} :" \
+ -e "s:APP_PATH=\"/usr:APP_PATH=\"${EPREFIX}/usr:" \
+ -i kde4/backintime-kde4 gnome/backintime-gnome \
+ common/backintime || die
+
+ backintime_variants="common $(usex gnome gnome '') $(usex kde kde4 '')"
+ backintime_run() {
+ local variant
+ for variant in ${backintime_variants} ; do
+ einfo "$variant: run \"$@\""
+ pushd "${S}"/${variant} || die
+ "${@}" || die
+ popd
+ done
+ }
+
+ if [ -n ${LINGUAS+x} ] ; then
+ cd common/po || die
+ for po in *.po ; do
+ if ! has ${po/.po} ${LINGUAS} ; then
+ rm ${po} || die
+ fi
+ done
+ fi
+}
+
+src_configure() {
+ backintime_run econf
+}
+
+src_compile() {
+ backintime_run emake
+}
+
+src_install() {
+ backintime_run emake DESTDIR="${D}" install
+ python_optimize "${D}"
+}
diff --git a/app-backup/backintime/backintime-1.0.40.ebuild b/app-backup/backintime/backintime-1.0.40.ebuild
new file mode 100644
index 000000000000..c69ef3fcffdd
--- /dev/null
+++ b/app-backup/backintime/backintime-1.0.40.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+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://${PN}.le-web.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde gnome"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ net-misc/openssh
+ net-misc/rsync[xattr,acl]
+ kde? (
+ >=kde-base/kdelibs-4
+ kde-base/pykde4[${PYTHON_USEDEP}]
+ kde-apps/kompare:4
+ kde-apps/kdesu:4
+ )
+ gnome? (
+ gnome-base/libglade
+ dev-util/meld
+ gnome-base/gnome-session
+ dev-python/gnome-vfs-python
+ dev-python/libgnome-python
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ x11-libs/gksu
+ )"
+
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.24-dont-install-license.patch
+
+ #fix doc install location
+ sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template || die
+ sed -i "s:/doc/backintime:/doc/${PF}:g" common/Makefile.template || die
+
+ cp "${FILESDIR}"/backintime-1.0.4-kde4-root.desktop \
+ kde4/backintime-kde4-root.desktop || die
+
+ #bug 482106
+ epatch "${FILESDIR}"/${PN}-1.0.36-wrapper.patch
+ sed -e "s:^python2 :${PYTHON} :" \
+ -e "s:APP_PATH=\"/usr:APP_PATH=\"${EPREFIX}/usr:" \
+ -i kde4/backintime-kde4 gnome/backintime-gnome \
+ common/backintime || die
+
+ backintime_variants="common $(usex gnome gnome '') $(usex kde kde4 '')"
+ backintime_run() {
+ local variant
+ for variant in ${backintime_variants} ; do
+ einfo "$variant: run \"$@\""
+ pushd "${S}"/${variant} || die
+ "${@}" || die
+ popd
+ done
+ }
+
+ if [ -n ${LINGUAS+x} ] ; then
+ cd common/po || die
+ for po in *.po ; do
+ if ! has ${po/.po} ${LINGUAS} ; then
+ rm ${po} || die
+ fi
+ done
+ fi
+}
+
+src_configure() {
+ backintime_run econf
+}
+
+src_compile() {
+ backintime_run emake
+}
+
+src_install() {
+ backintime_run emake DESTDIR="${D}" install
+ python_optimize "${D}"
+}
diff --git a/app-backup/backintime/backintime-1.1.4.ebuild b/app-backup/backintime/backintime-1.1.4.ebuild
new file mode 100644
index 000000000000..6f7c7847de64
--- /dev/null
+++ b/app-backup/backintime/backintime-1.1.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_2 python3_3 python3_4 )
+
+inherit eutils python-single-r1
+
+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://${PN}.le-web.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ net-misc/openssh
+ net-misc/rsync[xattr,acl]"
+
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+ #fix doc install location
+ sed -e "s:/doc/${PN}-common:/doc/${PF}:g" \
+ -i common/Makefile.template || die
+ sed -e "s:/doc/${PN}-qt4:/doc/${PF}:g" \
+ -i qt4/Makefile.template || die
+ sed -e "/\/VERSION/d" -e "/\/LICENSE/d" -e "/\/copyright/d" \
+ -i {qt4,common}/Makefile.template || die
+
+ if [ -n ${LINGUAS+x} ] ; then
+ cd common/po || die
+ for po in *.po ; do
+ if ! has ${po/.po} ${LINGUAS} ; then
+ rm ${po} || die
+ fi
+ done
+ fi
+}
+
+src_configure() {
+ cd "${S}"/common || die
+ ./configure --python3 --no-fuse-group || die
+ if use qt4 ; then
+ cd "${S}"/qt4 || die
+ ./configure --python3 || die
+ fi
+}
+
+src_compile() {
+ cd "${S}"/common || die
+ emake
+ if use qt4 ; then
+ cd "${S}"/qt4 || die
+ emake
+ fi
+}
+
+src_install() {
+ cd "${S}"/common || die
+ emake DESTDIR="${D}" install
+ if use qt4 ; then
+ cd "${S}"/qt4 || die
+ emake DESTDIR="${D}" install
+ fi
+
+ python_optimize "${D}"
+}
diff --git a/app-backup/backintime/files/backintime-1.0.24-dont-install-license.patch b/app-backup/backintime/files/backintime-1.0.24-dont-install-license.patch
new file mode 100644
index 000000000000..73ba5947e9bf
--- /dev/null
+++ b/app-backup/backintime/files/backintime-1.0.24-dont-install-license.patch
@@ -0,0 +1,49 @@
+--- backintime-1.0.4/common/Makefile.template
++++ backintime-1.0.4/common/Makefile.template
+@@ -17,10 +17,6 @@
+ install -d $(DEST)/share/backintime/plugins
+ install --mode=644 plugins/*.py $(DEST)/share/backintime/plugins
+
+- #install copyright file
+- install -d $(DEST)/share/doc/backintime-common
+- install --mode=644 debian_specific/copyright $(DEST)/share/doc/backintime-common
+-
+ #install doc file(s)
+ install -d $(DEST)/share/doc/backintime
+ install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
+--- backintime-1.0.24/common/Makefile.template
++++ backintime-1.0.24/common/Makefile.template
+@@ -20,7 +20,6 @@
+ #install doc file(s)
+ install -d $(DEST)/share/doc/backintime
+ install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
+- install --mode=644 ../LICENSE $(DEST)/share/doc/backintime
+ install --mode=644 ../README $(DEST)/share/doc/backintime
+ install --mode=644 ../TRANSLATIONS $(DEST)/share/doc/backintime
+ install --mode=644 ../VERSION $(DEST)/share/doc/backintime
+--- backintime-1.0.4/gnome/Makefile.template
++++ backintime-1.0.4/gnome/Makefile.template
+@@ -15,10 +15,6 @@
+ install -d $(DEST)/share/backintime/plugins
+ install --mode=644 plugins/*.py $(DEST)/share/backintime/plugins
+
+- #install copyright file
+- install -d $(DEST)/share/doc/backintime-gnome
+- install --mode=644 ../common/debian_specific/copyright $(DEST)/share/doc/backintime-gnome
+-
+ #install man file(s)
+ install -d $(DEST)/share/man/man1
+ install --mode=644 man/C/*.gz $(DEST)/share/man/man1
+--- backintime-1.0.4/kde4/Makefile.template
++++ backintime-1.0.4/kde4/Makefile.template
+@@ -19,10 +19,6 @@
+ install -d $(DEST)/bin
+ install backintime-kde4 $(DEST)/bin
+
+- #install copyright file
+- install -d $(DEST)/share/doc/backintime-kde4
+- install --mode=644 ../common/debian_specific/copyright $(DEST)/share/doc/backintime-kde4
+-
+ #install .desktop file(s)
+ install -d $(DEST)/share/applications/kde4
+ install --mode=644 *.desktop $(DEST)/share/applications/kde4
diff --git a/app-backup/backintime/files/backintime-1.0.24-wrapper.patch b/app-backup/backintime/files/backintime-1.0.24-wrapper.patch
new file mode 100644
index 000000000000..fa65098fff85
--- /dev/null
+++ b/app-backup/backintime/files/backintime-1.0.24-wrapper.patch
@@ -0,0 +1,64 @@
+--- backintime-1.0.24-r2/common/backintime
++++ backintime-1.0.24-r2/common/backintime
+@@ -17,15 +17,14 @@
+ # with this program; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-if [ -f backintime.py ]; then
+- APP_PATH="."
+-else
+- APP_PATH="/usr/share/backintime/common"
+-fi
++APP_PATH="/usr/share/backintime/common"
+
+ #starting a new ssh-agent all the time is just a workaround for
+ #https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672
+ #normally this should only be necessary if run as cronjob
+ #and the user is not logged in
+-ssh-agent python $APP_PATH/backintime.py "$@"
++if [ "x$SSH_AUTH_SOCK" = "x" ]; then
++ eval "$(ssh-agent)"
++fi
+
++python2 $APP_PATH/backintime.py "$@"
+--- backintime-1.0.24-r2/gnome/backintime-gnome
++++ backintime-1.0.24-r2/gnome/backintime-gnome
+@@ -17,14 +17,13 @@
+ # with this program; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-if [ -f app.py ]; then
+- APP_PATH="."
+-else
+- APP_PATH="/usr/share/backintime/gnome"
+-fi
++APP_PATH="/usr/share/backintime/gnome"
+
+ #starting a new ssh-agent all the time is just a workaround for
+ #https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672
+ #normally we don't need to start ssh-agent for backintime-gnome
+-ssh-agent python ${APP_PATH}/app.py "$@"
++if [ "x$SSH_AUTH_SOCK" = "x" ]; then
++ eval "$(ssh-agent)"
++fi
+
++python2 ${APP_PATH}/app.py "$@"
+--- backintime-1.0.24-r2/kde4/backintime-kde4
++++ backintime-1.0.24-r2/kde4/backintime-kde4
+@@ -17,11 +17,10 @@
+ # with this program; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-if [ -f app.py ]; then
+- APP_PATH="."
+-else
+- APP_PATH="/usr/share/backintime/kde4"
++APP_PATH="/usr/share/backintime/kde4"
++#https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672
++if [ "x$SSH_AUTH_SOCK" = "x" ]; then
++ eval "$(ssh-agent)"
+ fi
+
+-python ${APP_PATH}/app.py "$@"
+-
++python2 ${APP_PATH}/app.py "$@"
diff --git a/app-backup/backintime/files/backintime-1.0.36-wrapper.patch b/app-backup/backintime/files/backintime-1.0.36-wrapper.patch
new file mode 100644
index 000000000000..a0b01245fe1f
--- /dev/null
+++ b/app-backup/backintime/files/backintime-1.0.36-wrapper.patch
@@ -0,0 +1,65 @@
+--- backintime-1.0.24-r2/common/backintime
++++ backintime-1.0.24-r2/common/backintime
+@@ -17,15 +17,14 @@
+ # with this program; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-if [ -f backintime.py ]; then
+- APP_PATH="."
+-else
+- APP_PATH="/usr/share/backintime/common"
+-fi
++APP_PATH="/usr/share/backintime/common"
+
+ #starting a new ssh-agent all the time is just a workaround for
+ #https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672
+ #normally this should only be necessary if run as cronjob
+ #and the user is not logged in
+-ssh-agent python $APP_PATH/backintime.py "$@"
++if [ "x$SSH_AUTH_SOCK" = "x" ]; then
++ eval "$(ssh-agent)"
++fi
+
++python2 $APP_PATH/backintime.py "$@"
+--- backintime-1.0.24-r2/gnome/backintime-gnome
++++ backintime-1.0.24-r2/gnome/backintime-gnome
+@@ -17,14 +17,13 @@
+ # with this program; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-if [ -f app.py ]; then
+- APP_PATH="."
+-else
+- APP_PATH="/usr/share/backintime/gnome"
+-fi
++APP_PATH="/usr/share/backintime/gnome"
+
+ #starting a new ssh-agent all the time is just a workaround for
+ #https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672
+ #normally we don't need to start ssh-agent for backintime-gnome
+-ssh-agent python ${APP_PATH}/app.py "$@"
++if [ "x$SSH_AUTH_SOCK" = "x" ]; then
++ eval "$(ssh-agent)"
++fi
+
++python2 ${APP_PATH}/app.py "$@"
+--- backintime-1.0.24-r2/kde4/backintime-kde4
++++ backintime-1.0.24-r2/kde4/backintime-kde4
+@@ -17,15 +17,10 @@
+ # with this program; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-if [ -f app.py ]; then
+- APP_PATH="."
+-else
+- APP_PATH="/usr/share/backintime/kde4"
+-fi
++APP_PATH="/usr/share/backintime/kde4"
+
+ if [ "x$SSH_AUTH_SOCK" = "x" ]; then
+ eval "$(ssh-agent)"
+ fi
+
+-python ${APP_PATH}/app.py "$@"
+-
++python2 ${APP_PATH}/app.py "$@"
diff --git a/app-backup/backintime/files/backintime-1.0.4-fix-configure-warning.diff b/app-backup/backintime/files/backintime-1.0.4-fix-configure-warning.diff
new file mode 100644
index 000000000000..40831b400f7a
--- /dev/null
+++ b/app-backup/backintime/files/backintime-1.0.4-fix-configure-warning.diff
@@ -0,0 +1,17 @@
+diff -Naur backintime-1.0.4.orig/kde4/configure backintime-1.0.4/kde4/configure
+--- backintime-1.0.4.orig/kde4/configure 2010-11-08 14:36:52.000000000 +0100
++++ backintime-1.0.4/kde4/configure 2010-11-08 14:42:18.000000000 +0100
+@@ -16,13 +16,6 @@
+ fi
+ fi
+
+-#check for kdesudo (if not use kdesu)
+-if [ -z `which kdesudo` ]; then
+- mv backintime-kde4-root.desktop.kdesudo backintime-kde4-root.desktop
+-else
+- mv backintime-kde4-root.desktop.kdesu backintime-kde4-root.desktop
+-fi
+-
+ cp Makefile.template Makefile
+
+ echo "All OK. Now run:"
diff --git a/app-backup/backintime/files/backintime-1.0.4-kde4-root.desktop b/app-backup/backintime/files/backintime-1.0.4-kde4-root.desktop
new file mode 100644
index 000000000000..54d340efcd46
--- /dev/null
+++ b/app-backup/backintime/files/backintime-1.0.4-kde4-root.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Back In Time (root)
+Exec=kdesu -c backintime-kde4
+Icon=document-save
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+StartupNotify=true
+Categories=Qt;KDE;System;
+Comment=Simple backup system
+Comment[sl]=Enostaven sistem ustvarjanja varnostnih kopij
diff --git a/app-backup/backintime/metadata.xml b/app-backup/backintime/metadata.xml
new file mode 100644
index 000000000000..b1f5e35e552f
--- /dev/null
+++ b/app-backup/backintime/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+</maintainer>
+<longdescription lang="en">
+Back In Time is a simple backup tool for Linux inspired from “flyback project” and “TimeVault”. The backup is done by taking snapshots of a specified set of directories.
+Currently there are two GUI available: Gnome and KDE 4 (>= 4.1).
+
+All you have to do is configure:
+ Where to save snapshot
+ What directories to backup
+ When backup should be done (manual, every hour, every day, every week, every month)
+</longdescription>
+</pkgmetadata>