added patched ebuild for backintime.
see https://bugs.gentoo.org/show_bug.cgi?id=476776
This commit is contained in:
parent
fa66bba4b6
commit
b0e1a6a54c
7 changed files with 265 additions and 0 deletions
7
app-backup/backintime/Manifest
Normal file
7
app-backup/backintime/Manifest
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
AUX backintime-1.0.24-dont-install-license.patch 1984 SHA256 019d04fc53f88e1310209467174998cd1d267c8eb048aeff66b65ad463fb5e8a SHA512 46d76097dc91c6064e0f8d2c3742bfe96b6ab0a11eb1f6eea2ef27ff7f300924d63c3ef987a4cb41b477ab3999d0d1cadb9af42160f145a3e456cae71c1c40f7 WHIRLPOOL a61d297ab983dcd52395ef3fdd6b81fbb96e4fc29157cc8bfb08edfe23a2bfbcf37e008cd0279a34a1ef87b31d9c1acfeb04a1357a79325d43f50ff49bea8447
|
||||||
|
AUX backintime-1.0.4-dont-install-license.diff 1729 SHA256 e55c4c3c64a6f87c0593c5d840c778bc3c8cf3815d73dbc60ac05f454b97a814 SHA512 a0a440b002ed14fafdd288793d2371f98573fcd93952fef2c8a81f06cf0c834a2a647de6599cc2d942bfa05173132bd905b7d8053d39aa1461c99aeb36549489 WHIRLPOOL 0c9127d6c94b3bb891cfa4451bd73150c312d9d7ba6a2a84a02d5a9781c861da71886d4a763766cde9b7f99c269924128cb9c2aa4c7ace36898c9439271459db
|
||||||
|
AUX backintime-1.0.4-fix-configure-warning.diff 541 SHA256 3984fc7ff00b1de4c0491aa8d026ac1fb2e111a8b711cafe30ac4f491fa29383 SHA512 d8c99cf76518c4d5614762437e0ac57f1ab1c8b8be7dba45afecfea1acedd20e575b35a7a4a164c3127ae07234d35194569c8eddf24fe6fec76bddcd6d404a5f WHIRLPOOL 547d28cace5b52d2b4127ba533f9a93a3caa9ed24807e66eb3e09fe96fcf790cc8363eba012428a6a7b322965c99b0d28f9fa2ef99d98497bc26773cae59b9b8
|
||||||
|
AUX backintime-1.0.4-kde4-root.desktop 275 SHA256 3fbb0c720a33d1aa740c54c3d40448fc8dcf56208e16d91105bdf90149ca791a SHA512 aba498cf0d3dc6f90d39e9b4053498ce48d42e06a4bd6434cad478d5de13c570133cefdbba0669fee07537f012f117102cc79ebaca9b653bce58b50c94f78267 WHIRLPOOL 851c30dc8726c42fcc850499cc5484a8355dd9f4e3b4e760e443776fe20739450b388afe0e25463ec88e94345991ce38a118a4cde51bf5db96973c2542a44090
|
||||||
|
AUX backintime-1.0.6-wrapper.patch 1260 SHA256 5e5bb5739447af8368dff03c9c981dbd75dcbea8023851f7ed40db3c4b7ee318 SHA512 b7850a99c27c6f1fb6ce50eeb9322dabe6ad7777d4f42b6c9e72584dbd7a80656475c20de2b270a942fb7eefcb2d383760dd7a06424e6639d5e7bac95f91e746 WHIRLPOOL d240d07e26d78010ccc0015ce0a3510a00bd9bc1a650395f044dffaaa98d8f5acdd5ee06cb5cf8de9a16f1ff815548a42fae7ac25afec2160d708f3c138aa0d5
|
||||||
|
DIST backintime-1.0.24.tar.gz 507183 SHA256 5d9bac6fd74dd2258786b3481af260beb0f544d0e3560a0db2c8c0a87973384d SHA512 57469409e101207dd0c90f47ac7a709f5c7faab2cd7c60ff014a431912483b87e677bb7d0d2e25609d318f2a7ceb539bac4cc52bf7284d987200d98f2be670a7 WHIRLPOOL 476c158744918510d26d627f9cb833149ef99af85d3d423de2a2e61bc995032131f86df194825876f81ecb756109b328118be741f92cc98f11f7340c1a1e10ca
|
||||||
|
EBUILD backintime-1.0.24-r1.ebuild 2305 SHA256 f5457de1b4cbafcb70c7cc0a38da1649ac7e3d438583a95d5d7bb77d5c4f28b4 SHA512 5dedf5f614bcc27db891bc3d75de18bf36dd02fde9d45e9e244b47bd657589206426d888d072f465baf52c86f7dbd0ac5ec3d6c02fa46ab9c42ef65f47773ff2 WHIRLPOOL 9d41268b7b0e1cc93eec8c8ee698da795aaad705b2a762de8806efd5d9bf621eae195d0b412cebeef1c17ab5e224d1c15a2d94388536b0c2639c8949664901e6
|
97
app-backup/backintime/backintime-1.0.24-r1.ebuild
Normal file
97
app-backup/backintime/backintime-1.0.24-r1.ebuild
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/backintime-1.0.24-r1.ebuild,v 1.2 2013/07/28 08:12:45 jcallen Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_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_DEPEND}
|
||||||
|
dev-python/keyring[${PYTHON_USEDEP}]
|
||||||
|
dev-python/notify-python[${PYTHON_USEDEP}]
|
||||||
|
net-misc/rsync[xattr,acl]
|
||||||
|
kde? (
|
||||||
|
>=kde-base/kdelibs-4
|
||||||
|
kde-base/pykde4[${PYTHON_USEDEP}]
|
||||||
|
kde-base/kompare
|
||||||
|
kde-base/kdesu
|
||||||
|
)
|
||||||
|
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}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
epatch "${FILESDIR}"/${PN}-1.0.6-wrapper.patch
|
||||||
|
sed -e "/ python /s:python:${PYTHON}:" \
|
||||||
|
-e "/^APP_PATH=/s:/usr:${EPREFIX}/usr:" \
|
||||||
|
-i common/backintime \
|
||||||
|
-i gnome/backintime-gnome \
|
||||||
|
-i kde4/backintime-kde4 || 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
|
||||||
|
}
|
||||||
|
|
||||||
|
backintime_run() {
|
||||||
|
local variant
|
||||||
|
for variant in ${backintime_variants} ; do
|
||||||
|
pushd "${S}"/${variant} || die
|
||||||
|
default ${@}
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
backintime_variants="common $(usex gnome gnome "") $(usex kde kde4 '')"
|
||||||
|
|
||||||
|
backintime_run
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
backintime_run
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
backintime_run DESTDIR="${D}" install
|
||||||
|
python_optimize "${D}"
|
||||||
|
python_fix_shebang "${D}"
|
||||||
|
}
|
|
@ -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
|
|
@ -0,0 +1,39 @@
|
||||||
|
--- backintime-1.0.4.orig/common/Makefile.template 2010-07-04 14:30:19.000000000 +0200
|
||||||
|
+++ backintime-1.0.4/common/Makefile.template 2010-11-01 09:50:43.000000000 +0100
|
||||||
|
@@ -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.4.orig/gnome/Makefile.template 2010-07-18 10:25:58.000000000 +0200
|
||||||
|
+++ backintime-1.0.4/gnome/Makefile.template 2010-11-01 09:50:42.000000000 +0100
|
||||||
|
@@ -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.orig/kde4/Makefile.template 2010-07-18 10:26:09.000000000 +0200
|
||||||
|
+++ backintime-1.0.4/kde4/Makefile.template 2010-11-01 09:50:41.000000000 +0100
|
||||||
|
@@ -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
|
|
@ -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:"
|
|
@ -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
|
45
app-backup/backintime/files/backintime-1.0.6-wrapper.patch
Normal file
45
app-backup/backintime/files/backintime-1.0.6-wrapper.patch
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
--- backintime-1.0.8/common/backintime
|
||||||
|
+++ backintime-1.0.8/common/backintime
|
||||||
|
@@ -17,11 +17,7 @@
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
python ${APP_PATH}/backintime.py "$@"
|
||||||
|
|
||||||
|
--- backintime-1.0.8/gnome/backintime-gnome
|
||||||
|
+++ backintime-1.0.8/gnome/backintime-gnome
|
||||||
|
@@ -17,11 +17,7 @@
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
python ${APP_PATH}/app.py "$@"
|
||||||
|
|
||||||
|
--- backintime-1.0.8/kde4/backintime-kde4
|
||||||
|
+++ backintime-1.0.8/kde4/backintime-kde4
|
||||||
|
@@ -17,11 +17,7 @@
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
python ${APP_PATH}/app.py "$@"
|
||||||
|
|
Loading…
Reference in a new issue