From 6f3301d64b0d02963e01d123145f2a7ae16191a5 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Mon, 7 Sep 2009 20:52:41 +0200 Subject: Maj gtk-qt-engine#1.1-2, ajout des réglages dans /etc/skel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kde/gtk-qt-engine/.footprint | 6 ++++++ kde/gtk-qt-engine/.gtkrc-2.0-kde4 | 14 ++++++++++++++ kde/gtk-qt-engine/.md5sum | 2 ++ kde/gtk-qt-engine/Pkgfile | 9 ++++++--- kde/gtk-qt-engine/gtk-qt-engine.rc.sh | 4 ++++ 5 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 kde/gtk-qt-engine/.gtkrc-2.0-kde4 create mode 100755 kde/gtk-qt-engine/gtk-qt-engine.rc.sh (limited to 'kde') diff --git a/kde/gtk-qt-engine/.footprint b/kde/gtk-qt-engine/.footprint index 027c828e7..95cef935e 100755 --- a/kde/gtk-qt-engine/.footprint +++ b/kde/gtk-qt-engine/.footprint @@ -1,3 +1,9 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/skel/ +-rw-r--r-- root/root etc/skel/.gtkrc-2.0-kde4 +drwxr-xr-x root/root etc/skel/.kde/ +drwxr-xr-x root/root etc/skel/.kde/env/ +-rwxr-xr-x root/root etc/skel/.kde/env/gtk-qt-engine.rc.sh drwxr-xr-x root/root opt/ drwxr-xr-x root/root opt/kde/ drwxr-xr-x root/root opt/kde/lib/ diff --git a/kde/gtk-qt-engine/.gtkrc-2.0-kde4 b/kde/gtk-qt-engine/.gtkrc-2.0-kde4 new file mode 100644 index 000000000..763963377 --- /dev/null +++ b/kde/gtk-qt-engine/.gtkrc-2.0-kde4 @@ -0,0 +1,14 @@ +# This file was written by KDE +# You can edit it in the KDE control center, under "GTK Styles and Fonts" + +include "/usr/share/themes/Qt4/gtk-2.0/gtkrc" +include "/etc/gtk-2.0/gtkrc" + +style "user-font" +{ + font_name="Sans Serif" +} +widget_class "*" style "user-font" + +gtk-theme-name="Qt4" +gtk-font-name="Sans Serif 10" diff --git a/kde/gtk-qt-engine/.md5sum b/kde/gtk-qt-engine/.md5sum index 4ee5133bb..8c0a46be4 100644 --- a/kde/gtk-qt-engine/.md5sum +++ b/kde/gtk-qt-engine/.md5sum @@ -1 +1,3 @@ +74ccff566bedeb50210b49c269279ac9 .gtkrc-2.0-kde4 de8048baef7dfe6c97cd97c463d66152 gtk-qt-engine-1.1.tar.bz2 +1b8af9dc4e5179181b11e4f993a2e721 gtk-qt-engine.rc.sh diff --git a/kde/gtk-qt-engine/Pkgfile b/kde/gtk-qt-engine/Pkgfile index 9f538b489..ca72d8f7b 100755 --- a/kde/gtk-qt-engine/Pkgfile +++ b/kde/gtk-qt-engine/Pkgfile @@ -6,12 +6,15 @@ name=gtk-qt-engine version=1.1 -release=1 -source=(http://gtk-qt.ecs.soton.ac.uk/files/$version/$name-$version.tar.bz2) - +release=2 +source=(http://gtk-qt.ecs.soton.ac.uk/files/$version/$name-$version.tar.bz2 \ + gtk-qt-engine.rc.sh .gtkrc-2.0-kde4 ) build() { cd $name cmake . -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX make make DESTDIR=$PKG install + mkdir -p $PKG/etc/skel/.kde/env + cp $SRC/gtk-qt-engine.rc.sh $PKG/etc/skel/.kde/env/ + cp $SRC/.gtkrc-2.0-kde4 $PKG/etc/skel } diff --git a/kde/gtk-qt-engine/gtk-qt-engine.rc.sh b/kde/gtk-qt-engine/gtk-qt-engine.rc.sh new file mode 100755 index 000000000..b477f5ce2 --- /dev/null +++ b/kde/gtk-qt-engine/gtk-qt-engine.rc.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Make sure our customised gtkrc file is loaded. +export GTK2_RC_FILES=$HOME/.gtkrc-2.0-kde4 -- cgit v1.2.3-70-g09d2