commit: b4892d73b5d0c05d5127e90acb2d6b246b6f42e3
Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 28 16:20:03 2017 +0000
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Aug 28 16:21:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4892d73
x11-misc/tint2: fix tint2rc for prefix bug #629134
Submitted-by: tastu teche <tastuteche <AT> yahoo.com>
Package-Manager: Portage-2.3.6, Repoman-2.3.1
x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch | 12 ++++++++++++
.../tint2/{tint2-0.14.6.ebuild => tint2-0.14.6-r1.ebuild} | 2 ++
2 files changed, 14 insertions(+)
diff --git a/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch
b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch
new file mode 100644
index 00000000000..73da5b15a41
--- /dev/null
+++ b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch
@@ -0,0 +1,12 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -257,7 +257,7 @@
+ install( TARGETS tint2 DESTINATION bin )
+ install( FILES tint2.svg DESTINATION
${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
+ install( FILES tint2.desktop DESTINATION
${CMAKE_INSTALL_DATADIR}/applications )
+-install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 )
++install( FILES themes/tint2rc DESTINATION
${CMAKE_INSTALL_SYSCONFDIR}/xdg/tint2 )
+ install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
+ install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir}
)
+ install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
+
diff --git a/x11-misc/tint2/tint2-0.14.6.ebuild
b/x11-misc/tint2/tint2-0.14.6-r1.ebuild
similarity index 95%
rename from x11-misc/tint2/tint2-0.14.6.ebuild
rename to x11-misc/tint2/tint2-0.14.6-r1.ebuild
index c34f9788549..7e9b1d53672 100644
--- a/x11-misc/tint2/tint2-0.14.6.ebuild
+++ b/x11-misc/tint2/tint2-0.14.6-r1.ebuild
@@ -31,6 +31,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${PV}-sysconfdir-xdg.patch" )
+
src_configure() {
local mycmakeargs=(
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"