summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-08-22 17:12:48 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-08-22 17:12:48 +0000
commit9795db5e727afa4762e95718945c650d056fcde5 (patch)
tree9e2f79dd2739e75a4cfff43205b7b55618061363 /x11-themes/gtk-engines-qt
parentdrop the amd64 keywords. from uberlords response, it's only useful for 2.4. s... (diff)
downloadgentoo-2-9795db5e727afa4762e95718945c650d056fcde5.tar.gz
gentoo-2-9795db5e727afa4762e95718945c650d056fcde5.tar.bz2
gentoo-2-9795db5e727afa4762e95718945c650d056fcde5.zip
Add patch to show kde background colors thanks to Markus Lohse <mlohse@gmx.net> in bug 143925, also add note that gnome is crashing thanks to Sebastian Baldovino <sebabal@gmail.com> in bug 105092
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'x11-themes/gtk-engines-qt')
-rw-r--r--x11-themes/gtk-engines-qt/ChangeLog11
-rw-r--r--x11-themes/gtk-engines-qt/files/digest-gtk-engines-qt-0.7-r13
-rw-r--r--x11-themes/gtk-engines-qt/files/kcmgtk-write-good-bashrc.diff20
-rw-r--r--x11-themes/gtk-engines-qt/gtk-engines-qt-0.7-r1.ebuild42
-rw-r--r--x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild3
5 files changed, 77 insertions, 2 deletions
diff --git a/x11-themes/gtk-engines-qt/ChangeLog b/x11-themes/gtk-engines-qt/ChangeLog
index 7281465df31d..240c193b9b88 100644
--- a/x11-themes/gtk-engines-qt/ChangeLog
+++ b/x11-themes/gtk-engines-qt/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for x11-themes/gtk-engines-qt
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/ChangeLog,v 1.10 2006/07/06 22:54:54 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/ChangeLog,v 1.11 2006/08/22 17:12:48 genstef Exp $
+
+*gtk-engines-qt-0.7-r1 (22 Aug 2006)
+
+ 22 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/kcmgtk-write-good-bashrc.diff, gtk-engines-qt-0.7.ebuild,
+ +gtk-engines-qt-0.7-r1.ebuild:
+ Add patch to show kde background colors thanks to Markus Lohse
+ <mlohse@gmx.net> in bug 143925, also add note that gnome is crashing thanks
+ to Sebastian Baldovino <sebabal@gmail.com> in bug 105092
*gtk-engines-qt-0.7 (06 Jul 2006)
diff --git a/x11-themes/gtk-engines-qt/files/digest-gtk-engines-qt-0.7-r1 b/x11-themes/gtk-engines-qt/files/digest-gtk-engines-qt-0.7-r1
new file mode 100644
index 000000000000..e742471cdbe0
--- /dev/null
+++ b/x11-themes/gtk-engines-qt/files/digest-gtk-engines-qt-0.7-r1
@@ -0,0 +1,3 @@
+MD5 27ca211621f38c45b1c4c9e9ef1f84b0 gtk-qt-engine-0.7.tar.bz2 439794
+RMD160 5030cd453b58e2f22976b383ebc1f6aec202910c gtk-qt-engine-0.7.tar.bz2 439794
+SHA256 cfaac46c409984afbcf46979f728515535725e8c83bdf70277f23dde068daaee gtk-qt-engine-0.7.tar.bz2 439794
diff --git a/x11-themes/gtk-engines-qt/files/kcmgtk-write-good-bashrc.diff b/x11-themes/gtk-engines-qt/files/kcmgtk-write-good-bashrc.diff
new file mode 100644
index 000000000000..73c323515f82
--- /dev/null
+++ b/x11-themes/gtk-engines-qt/files/kcmgtk-write-good-bashrc.diff
@@ -0,0 +1,20 @@
+--- gtk-qt-engine/kcm_gtk/kcmgtk.cpp.orig 2006-08-16 11:41:56.000000000 +0200
++++ gtk-qt-engine/kcm_gtk/kcmgtk.cpp 2006-08-16 11:42:00.000000000 +0200
+@@ -314,7 +314,7 @@
+ if (line.isNull())
+ break;
+
+- if (line.stripWhiteSpace().startsWith("export GTK2_RC_FILES=$HOME/.gtkrc-2.0"))
++ if (line.stripWhiteSpace().startsWith("export GTK2_RC_FILES=\"$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc\""))
+ {
+ found = true;
+ break;
+@@ -326,7 +326,7 @@
+ stream << "\n";
+ stream << "# This line was appended by KDE\n";
+ stream << "# Make sure our customised gtkrc file is loaded.\n";
+- stream << "export GTK2_RC_FILES=$HOME/.gtkrc-2.0\n";
++ stream << "export GTK2_RC_FILES=\"$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc\"\n";
+ }
+ file.close();
+
diff --git a/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7-r1.ebuild b/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7-r1.ebuild
new file mode 100644
index 000000000000..6139c036038e
--- /dev/null
+++ b/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7-r1.ebuild,v 1.1 2006/08/22 17:12:48 genstef Exp $
+
+inherit kde eutils
+
+MY_PN="gtk-qt-engine"
+DESCRIPTION="GTK+2 Qt Theme Engine"
+HOMEPAGE="http://www.freedesktop.org/Software/gtk-qt"
+SRC_URI="http://www.freedesktop.org/~davidsansome/${MY_PN}-${PV}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+
+DEPEND="${DEPEND}
+ >=x11-libs/gtk+-2.2"
+
+need-kde 3
+# Set slot after the need-kde. Fixes bug #78455.
+SLOT="2"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gtk-engines-qt-0.7-implicit.patch
+ epatch ${FILESDIR}/kcmgtk-write-good-bashrc.diff
+}
+
+src_install() {
+ kde_src_install
+ # remove duplicate .desktop
+ rm ${D}/usr/share/applnk/Settings/LookNFeel/kcmgtk.desktop
+ # Add environment variable
+ dodir /etc/X11/xinit/xinitrc.d
+ echo 'export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc"' \
+ >> ${D}/etc/X11/xinit/xinitrc.d/${PN}
+}
+
+pkg_postinst() {
+ ewarn "This crashes gnome, see http://bugs.gentoo.org/105092"
+}
diff --git a/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild b/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild
index 2ea619c62764..3f9d6b5f3d9c 100644
--- a/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild
+++ b/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild,v 1.1 2006/07/06 22:54:54 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild,v 1.2 2006/08/22 17:12:48 genstef Exp $
inherit kde eutils
@@ -30,4 +30,5 @@ src_install() {
kde_src_install
# remove duplicate .desktop
rm ${D}/usr/share/applnk/Settings/LookNFeel/kcmgtk.desktop
+ echo gtk-icon-theme-name="gnome" >> ${D}/usr/share/themes/Qt/gtk-2.0/gtkrc
}