Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488350
Collapse All | Expand All

(-)/usr/portage/app-backup/backintime/backintime-1.0.24-r1.ebuild (-1 / +1 lines)
Lines 44-50 Link Here
44
S=${WORKDIR}
44
S=${WORKDIR}
45
45
46
src_prepare() {
46
src_prepare() {
47
	epatch "${FILESDIR}"/${P}-dont-install-license.patch
47
	epatch "${FILESDIR}"/${PN}-dont-install-license.patch
48
	epatch "${FILESDIR}"/${PN}-1.0.4-fix-configure-warning.diff
48
	epatch "${FILESDIR}"/${PN}-1.0.4-fix-configure-warning.diff
49
49
50
	#fix doc install location
50
	#fix doc install location
(-)/usr/portage/app-backup/backintime/backintime-1.0.28.ebuild (+95 lines)
Line 0 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
4
5
EAPI=5
6
7
PYTHON_COMPAT=( python{2_6,2_7} )
8
9
inherit eutils python-single-r1
10
11
DESCRIPTION="A simple backup system inspired by TimeVault and FlyBack, with a GUI for GNOME and KDE4"
12
HOMEPAGE="http://backintime.le-web.org/"
13
SRC_URI="http://${PN}.le-web.org/download/${PN}/${P}.tar.gz"
14
15
LICENSE="GPL-2"
16
SLOT="0"
17
KEYWORDS="~amd64 ~x86"
18
IUSE="kde gnome"
19
20
RDEPEND="${PYTHON_DEPEND}
21
	dev-python/keyring[${PYTHON_USEDEP}]
22
	dev-python/notify-python[${PYTHON_USEDEP}]
23
	net-misc/rsync[xattr,acl]
24
	kde? (
25
		>=kde-base/kdelibs-4
26
		kde-base/pykde4[${PYTHON_USEDEP}]
27
		kde-base/kompare
28
		kde-base/kdesu
29
		)
30
	gnome? (
31
		gnome-base/libglade
32
		dev-util/meld
33
		gnome-base/gnome-session
34
		dev-python/gnome-vfs-python
35
		dev-python/libgnome-python
36
		dev-python/pygobject:2[${PYTHON_USEDEP}]
37
		dev-python/pygtk[${PYTHON_USEDEP}]
38
		)"
39
40
DEPEND="${RDEPEND}"
41
42
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
43
44
S=${WORKDIR}
45
46
src_prepare() {
47
	epatch "${FILESDIR}"/${PN}-dont-install-license.patch
48
	#epatch "${FILESDIR}"/${PN}-1.0.4-fix-configure-warning.diff
49
50
	#fix doc install location
51
	sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template || die
52
	sed -i "s:/doc/backintime:/doc/${PF}:g" common/Makefile.template || die
53
54
	cp "${FILESDIR}"/backintime-1.0.4-kde4-root.desktop \
55
		kde4/backintime-kde4-root.desktop || die
56
57
	epatch "${FILESDIR}"/${PN}-1.0.6-wrapper.patch
58
	sed -e "/ python /s:python:${PYTHON}:" \
59
		-e "/^APP_PATH=/s:/usr:${EPREFIX}/usr:" \
60
		-i common/backintime \
61
		-i gnome/backintime-gnome \
62
		-i kde4/backintime-kde4 || die
63
64
	backintime_variants="common $(usex gnome gnome "") $(usex kde kde4 '')"
65
	backintime_run() {
66
		local variant
67
		for variant in ${backintime_variants} ; do
68
			einfo "$variant: run \"$@\""
69
			pushd "${S}"/${variant} || die
70
			"${@}" || die
71
			popd
72
		done
73
	}
74
	if [ -n ${LINGUAS+x} ] ; then
75
		cd common/po || die
76
		for po in *.po ; do
77
			if ! has ${po/.po} ${LINGUAS} ; then
78
				rm ${po} || die
79
			fi
80
		done
81
	fi
82
}
83
84
src_configure() {
85
	backintime_run econf
86
}
87
88
src_compile() {
89
	backintime_run emake
90
}
91
92
src_install() {
93
	backintime_run emake DESTDIR="${D}" install
94
	python_optimize "${D}"
95
}
(-)/usr/portage/app-backup/backintime/backintime-1.0.8-r1.ebuild (-1 / +1 lines)
Lines 43-49 Link Here
43
	python_pkg_setup
43
	python_pkg_setup
44
}
44
}
45
src_prepare() {
45
src_prepare() {
46
	epatch "${FILESDIR}"/${PN}-1.0.4-dont-install-license.diff
46
	epatch "${FILESDIR}"/${PN}-dont-install-license.diff
47
	epatch "${FILESDIR}"/${PN}-1.0.4-fix-configure-warning.diff
47
	epatch "${FILESDIR}"/${PN}-1.0.4-fix-configure-warning.diff
48
	#fix doc install location
48
	#fix doc install location
49
	sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template || die
49
	sed -i "s:/doc/kde4/HTML/:/doc/HTML/:g" kde4/Makefile.template || die
(-)/usr/portage/app-backup/backintime/files/backintime-1.0.24-dont-install-license.patch (-49 / +2 lines)
Line 0 Link Here
1
diff -Naur /usr/portage/app-backup/backintime/backintime-1.0.24-r1.ebuild ./backintime-1.0.24-r1.ebuild
2
--- /usr/portage/app-backup/backintime/backintime-1.0.24-r1.ebuild	2013-07-28 10:31:01.000000000 +0200
Lines 1-49 Link Here
1
--- backintime-1.0.4/common/Makefile.template
2
+++ backintime-1.0.4/common/Makefile.template
3
@@ -17,10 +17,6 @@
4
 	install -d $(DEST)/share/backintime/plugins
5
 	install --mode=644 plugins/*.py $(DEST)/share/backintime/plugins
6
 	
7
-	#install copyright file
8
-	install -d $(DEST)/share/doc/backintime-common
9
-	install --mode=644 debian_specific/copyright $(DEST)/share/doc/backintime-common
10
-	
11
 	#install doc file(s)
12
 	install -d $(DEST)/share/doc/backintime
13
 	install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
14
--- backintime-1.0.24/common/Makefile.template
15
+++ backintime-1.0.24/common/Makefile.template
16
@@ -20,7 +20,6 @@
17
 	#install doc file(s)
18
 	install -d $(DEST)/share/doc/backintime
19
 	install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
20
-	install --mode=644 ../LICENSE $(DEST)/share/doc/backintime
21
 	install --mode=644 ../README $(DEST)/share/doc/backintime
22
 	install --mode=644 ../TRANSLATIONS $(DEST)/share/doc/backintime
23
 	install --mode=644 ../VERSION $(DEST)/share/doc/backintime
24
--- backintime-1.0.4/gnome/Makefile.template
25
+++ backintime-1.0.4/gnome/Makefile.template
26
@@ -15,10 +15,6 @@
27
 	install -d $(DEST)/share/backintime/plugins
28
 	install --mode=644 plugins/*.py $(DEST)/share/backintime/plugins
29
 	
30
-	#install copyright file
31
-	install -d $(DEST)/share/doc/backintime-gnome
32
-	install --mode=644 ../common/debian_specific/copyright $(DEST)/share/doc/backintime-gnome
33
-	
34
 	#install man file(s)
35
 	install -d $(DEST)/share/man/man1
36
 	install --mode=644 man/C/*.gz $(DEST)/share/man/man1
37
--- backintime-1.0.4/kde4/Makefile.template
38
+++ backintime-1.0.4/kde4/Makefile.template
39
@@ -19,10 +19,6 @@
40
 	install -d $(DEST)/bin
41
 	install backintime-kde4 $(DEST)/bin
42
 	
43
-	#install copyright file
44
-	install -d $(DEST)/share/doc/backintime-kde4
45
-	install --mode=644 ../common/debian_specific/copyright $(DEST)/share/doc/backintime-kde4
46
-	
47
 	#install .desktop file(s)
48
 	install -d $(DEST)/share/applications/kde4
49
 	install --mode=644 *.desktop $(DEST)/share/applications/kde4
(-)/usr/portage/app-backup/backintime/files/backintime-1.0.4-dont-install-license.diff
Lines 1-39 Link Here
(-)/usr/portage/app-backup/backintime/files/backintime-dont-install-license.patch (+49 lines)
Line 0 Link Here
1
--- backintime-1.0.4/common/Makefile.template
2
+++ backintime-1.0.4/common/Makefile.template
3
@@ -17,10 +17,6 @@
4
 	install -d $(DEST)/share/backintime/plugins
5
 	install --mode=644 plugins/*.py $(DEST)/share/backintime/plugins
6
 	
7
-	#install copyright file
8
-	install -d $(DEST)/share/doc/backintime-common
9
-	install --mode=644 debian_specific/copyright $(DEST)/share/doc/backintime-common
10
-	
11
 	#install doc file(s)
12
 	install -d $(DEST)/share/doc/backintime
13
 	install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
14
--- backintime-1.0.24/common/Makefile.template
15
+++ backintime-1.0.24/common/Makefile.template
16
@@ -20,7 +20,6 @@
17
 	#install doc file(s)
18
 	install -d $(DEST)/share/doc/backintime
19
 	install --mode=644 ../AUTHORS $(DEST)/share/doc/backintime
20
-	install --mode=644 ../LICENSE $(DEST)/share/doc/backintime
21
 	install --mode=644 ../README $(DEST)/share/doc/backintime
22
 	install --mode=644 ../TRANSLATIONS $(DEST)/share/doc/backintime
23
 	install --mode=644 ../VERSION $(DEST)/share/doc/backintime
24
--- backintime-1.0.4/gnome/Makefile.template
25
+++ backintime-1.0.4/gnome/Makefile.template
26
@@ -15,10 +15,6 @@
27
 	install -d $(DEST)/share/backintime/plugins
28
 	install --mode=644 plugins/*.py $(DEST)/share/backintime/plugins
29
 	
30
-	#install copyright file
31
-	install -d $(DEST)/share/doc/backintime-gnome
32
-	install --mode=644 ../common/debian_specific/copyright $(DEST)/share/doc/backintime-gnome
33
-	
34
 	#install man file(s)
35
 	install -d $(DEST)/share/man/man1
36
 	install --mode=644 man/C/*.gz $(DEST)/share/man/man1
37
--- backintime-1.0.4/kde4/Makefile.template
38
+++ backintime-1.0.4/kde4/Makefile.template
39
@@ -19,10 +19,6 @@
40
 	install -d $(DEST)/bin
41
 	install backintime-kde4 $(DEST)/bin
42
 	
43
-	#install copyright file
44
-	install -d $(DEST)/share/doc/backintime-kde4
45
-	install --mode=644 ../common/debian_specific/copyright $(DEST)/share/doc/backintime-kde4
46
-	
47
 	#install .desktop file(s)
48
 	install -d $(DEST)/share/applications/kde4
49
 	install --mode=644 *.desktop $(DEST)/share/applications/kde4

Return to bug 488350