1 |
commit: b4892d73b5d0c05d5127e90acb2d6b246b6f42e3 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 16:20:03 2017 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 16:21:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4892d73 |
7 |
|
8 |
x11-misc/tint2: fix tint2rc for prefix bug #629134 |
9 |
|
10 |
Submitted-by: tastu teche <tastuteche <AT> yahoo.com> |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch | 12 ++++++++++++ |
15 |
.../tint2/{tint2-0.14.6.ebuild => tint2-0.14.6-r1.ebuild} | 2 ++ |
16 |
2 files changed, 14 insertions(+) |
17 |
|
18 |
diff --git a/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..73da5b15a41 |
21 |
--- /dev/null |
22 |
+++ b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch |
23 |
@@ -0,0 +1,12 @@ |
24 |
+--- a/CMakeLists.txt |
25 |
++++ b/CMakeLists.txt |
26 |
+@@ -257,7 +257,7 @@ |
27 |
+ install( TARGETS tint2 DESTINATION bin ) |
28 |
+ install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps ) |
29 |
+ install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) |
30 |
+-install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 ) |
31 |
++install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/xdg/tint2 ) |
32 |
+ install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 ) |
33 |
+ install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} ) |
34 |
+ install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} ) |
35 |
+ |
36 |
|
37 |
diff --git a/x11-misc/tint2/tint2-0.14.6.ebuild b/x11-misc/tint2/tint2-0.14.6-r1.ebuild |
38 |
similarity index 95% |
39 |
rename from x11-misc/tint2/tint2-0.14.6.ebuild |
40 |
rename to x11-misc/tint2/tint2-0.14.6-r1.ebuild |
41 |
index c34f9788549..7e9b1d53672 100644 |
42 |
--- a/x11-misc/tint2/tint2-0.14.6.ebuild |
43 |
+++ b/x11-misc/tint2/tint2-0.14.6-r1.ebuild |
44 |
@@ -31,6 +31,8 @@ DEPEND=" |
45 |
" |
46 |
RDEPEND="${DEPEND}" |
47 |
|
48 |
+PATCHES=( "${FILESDIR}/${PV}-sysconfdir-xdg.patch" ) |
49 |
+ |
50 |
src_configure() { |
51 |
local mycmakeargs=( |
52 |
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}" |