summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-10 19:27:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-10 19:27:40 +0000
commitecdf21aa65ec35500fb5d247bb01bd1f5a6bcd2f (patch)
tree809e38fb210ed98bbaa07af53faadb8eeb6f93bf /main
parent4f600c86c15a039516a7e989725077eb0600eadf (diff)
downloadaports-ecdf21aa65ec35500fb5d247bb01bd1f5a6bcd2f.tar.bz2
aports-ecdf21aa65ec35500fb5d247bb01bd1f5a6bcd2f.tar.xz
main/xfce4-setting: use faenza icons and greybird as the defaults
Diffstat (limited to 'main')
-rw-r--r--main/xfce4-settings/APKBUILD24
-rw-r--r--main/xfce4-settings/alpine-defaults.patch26
2 files changed, 38 insertions, 12 deletions
diff --git a/main/xfce4-settings/APKBUILD b/main/xfce4-settings/APKBUILD
index de50cd699..a92183341 100644
--- a/main/xfce4-settings/APKBUILD
+++ b/main/xfce4-settings/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-settings
pkgver=4.10.1
-pkgrel=0
+pkgrel=1
pkgdesc="Settings manager for xfce"
url="http://www.xfce.org/"
arch="all"
@@ -11,21 +11,18 @@ subpackages="$pkgname-lang"
makedepends="libxfce4ui-dev exo-dev libxi-dev libxrandr-dev libxklavier-dev
libnotify-dev libxcursor-dev garcon-dev"
source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ alpine-defaults.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- for i in "$srcdir"/*.patch; do
- [ -f "$i" ] || continue
- msg "Applying ${i##*/}"
- patch -p1 -i "$i" || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
-
- # use tango as default icon set
- sed -i -e 's/Rodent/Tango/g' xfsettingsd/xsettings.xml \
- dialogs/appearance-settings/main.c || return 1
}
build() {
@@ -49,6 +46,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="eaa86dd86ef0dad9cf7af1ee2c831972 xfce4-settings-4.10.1.tar.bz2"
-sha256sums="118a6959ea50e3a533d7aa18ec5a878a47a30608b3ce9ce59a93c3888f4e13d5 xfce4-settings-4.10.1.tar.bz2"
-sha512sums="cf2d3255a0c862b0d016a8653fd1ba94c86b9da36b894dd7ad733d6758b9e023807aa93b1e43deeb0f6a34c6db23507f6fe32b6b7a98fa3e0d3bc7577da429f7 xfce4-settings-4.10.1.tar.bz2"
+md5sums="eaa86dd86ef0dad9cf7af1ee2c831972 xfce4-settings-4.10.1.tar.bz2
+3489c0bf7623acfd0d61699f78e3a6e3 alpine-defaults.patch"
+sha256sums="118a6959ea50e3a533d7aa18ec5a878a47a30608b3ce9ce59a93c3888f4e13d5 xfce4-settings-4.10.1.tar.bz2
+33cfb02133e7b22f12554f98fd17d4248448c25c843675a6d7d068609d1e4895 alpine-defaults.patch"
+sha512sums="cf2d3255a0c862b0d016a8653fd1ba94c86b9da36b894dd7ad733d6758b9e023807aa93b1e43deeb0f6a34c6db23507f6fe32b6b7a98fa3e0d3bc7577da429f7 xfce4-settings-4.10.1.tar.bz2
+08ef248388c23b7242d658f26d74af65936543ab2f7038b77b3cf5a02c8656a50abc762e9e8a430e2b4f980576949da1e512a10b6b288ad821371f2896eb8520 alpine-defaults.patch"
diff --git a/main/xfce4-settings/alpine-defaults.patch b/main/xfce4-settings/alpine-defaults.patch
new file mode 100644
index 000000000..5c4e555b5
--- /dev/null
+++ b/main/xfce4-settings/alpine-defaults.patch
@@ -0,0 +1,26 @@
+diff -Nur xfce4-settings-4.9.4.orig/xfsettingsd/xsettings.xml xfce4-settings-4.9.4/xfsettingsd/xsettings.xml
+--- xfce4-settings-4.9.4.orig/xfsettingsd/xsettings.xml 2012-04-01 03:58:17.000000000 -0600
++++ xfce4-settings-4.9.4/xfsettingsd/xsettings.xml 2012-04-02 14:59:57.555572009 -0600
+@@ -6,8 +6,8 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <channel name="xsettings" version="1.0">
+ <property name="Net" type="empty">
+- <property name="ThemeName" type="empty"/>
+- <property name="IconThemeName" type="empty"/>
++ <property name="ThemeName" type="string" value="Greybird"/>
++ <property name="IconThemeName" type="string" value="Faenza"/>
+ <property name="DoubleClickTime" type="int" value="250"/>
+ <property name="DoubleClickDistance" type="int" value="5"/>
+ <property name="DndDragThreshold" type="int" value="8"/>
+@@ -19,9 +19,9 @@
+ </property>
+ <property name="Xft" type="empty">
+ <property name="DPI" type="empty"/>
+- <property name="Antialias" type="int" value="-1"/>
++ <property name="Antialias" type="int" value="1"/>
+ <property name="Hinting" type="int" value="-1"/>
+- <property name="HintStyle" type="string" value="hintnone"/>
++ <property name="HintStyle" type="string" value="hintfull"/>
+ <property name="RGBA" type="string" value="none"/>
+ <!-- <property name="Lcdfilter" type="string" value="none"/> -->
+ </property>