summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-07 20:52:41 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-07 20:52:41 +0200
commit6f3301d64b0d02963e01d123145f2a7ae16191a5 (patch)
tree581434a1e23e636bcb1cc934279b2439b952dd24
parent8297043418f96cb1c75fb7e79d2684b3a74d8ad6 (diff)
downloadnutyx-extra-6f3301d64b0d02963e01d123145f2a7ae16191a5.tar.gz
nutyx-extra-6f3301d64b0d02963e01d123145f2a7ae16191a5.tar.bz2
nutyx-extra-6f3301d64b0d02963e01d123145f2a7ae16191a5.tar.xz
nutyx-extra-6f3301d64b0d02963e01d123145f2a7ae16191a5.zip
Maj gtk-qt-engine#1.1-2, ajout des réglages dans /etc/skel
-rwxr-xr-xkde/gtk-qt-engine/.footprint6
-rw-r--r--kde/gtk-qt-engine/.gtkrc-2.0-kde414
-rw-r--r--kde/gtk-qt-engine/.md5sum2
-rwxr-xr-xkde/gtk-qt-engine/Pkgfile9
-rwxr-xr-xkde/gtk-qt-engine/gtk-qt-engine.rc.sh4
5 files changed, 32 insertions, 3 deletions
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