Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting.git;a=commitdiff;h=860748573b64acfb1e25f481a4243c22ed966ca8

commit 860748573b64acfb1e25f481a4243c22ed966ca8
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed Jan 13 15:12:52 2010 +0100

kde-frugalware-1.2.1-1-i686
* .install file updated
* new version with own config files to force Frugalware KDM & Ksplash theme
* wallpapers added like "Air" wallapaper with custom .desktop file and images 
atdifferents resolutions

diff --git a/source/kde/kde-frugalware/FrugalBuild 
b/source/kde/kde-frugalware/FrugalBuild
index 9b6ecd2..abd64e3 100644
--- a/source/kde/kde-frugalware/FrugalBuild
+++ b/source/kde/kde-frugalware/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: crazy <cr...@frugalware.org>

pkgname=kde-frugalware
-pkgver=1.2
+pkgver=1.2.1
pkgrel=1
pkgdesc="KDE artwork for Frugalware Linux."
url="http://ftp.frugalware.org/pub/other/kde/kde-frugalware/";
@@ -13,24 +13,15 @@ options=('nodocs')
groups=('kde' 'kde-minimal')
archs=('i686' 'x86_64' 'ppc')
up2date="$pkgver"
-source=(http://ftp.frugalware.org/pub/other/artwork/$pkgname/$pkgname-$pkgver.tar.bz2
 \
-       ftp://ftp.frugalware.org/pub/other/artwork/wallpaper/1.2.jpg \
-       ftp://ftp.frugalware.org/pub/other/artwork/wallpaper/1.2wide.jpg)
+source=(http://ftp.frugalware.org/pub/other/artwork/$pkgname/$pkgname-$pkgver.tar.bz2)

build()
{
Fcd
Fpatchall
cp -Rad usr etc $Fdestdir
-       Ffilerel ../1.2.jpg usr/share/wallpapers/frugalware.jpg
-       Ffilerel ../1.2wide.jpg usr/share/wallpapers/frugalware_wide.jpg
# Config files.
Ffilerel config/* /etc/kde/config
-       Fmkdir etc/kde/config/kdm
-        #Fsed "oxygen-air" "frugalware" $Fdestdir/etc/kde/config/kdm/kdmrc
-        #Fsed "default_blue.jpg" "frugalware.jpg" 
$Fdestdir/etc/kde/config/kdm/backgroundrc
}

-sha1sums=('8d72f2a44435e0918d42d8131fd136fc042577fb' \
-          'e6fa35443f42e418f3a4b915ffdc54cf5eb484ca' \
-          'c78da9657e112b52a57ba17fd78a40be10ea0bb0')
+sha1sums=('7eec2fd38e0aaf4b8246cd18c8f5a255d535d81f')
diff --git a/source/kde/kde-frugalware/kde-frugalware.install 
b/source/kde/kde-frugalware/kde-frugalware.install
index 971152f..64ea1d0 100644
--- a/source/kde/kde-frugalware/kde-frugalware.install
+++ b/source/kde/kde-frugalware/kde-frugalware.install
@@ -12,8 +12,8 @@ post_install()
[ "$l" = "it" ] && greet="$os Lei saluta"
[ "$l" = "hu" ] && greet="Üdvözli a $os"

-       sed "s|^#GreetString=$|GreetString=$greet|" -i 
/usr/share/config/kdm/kdmrc
-       sed "s/^#Language=/Language=$l/" -i /usr/share/config/kdm/kdmrc
+       sed "s|^#GreetString=$|GreetString=$greet|" -i 
/etc/kde/config/kdm/=/kdmrc
+       sed "s/^#Language=/Language=$l/" -i /etc/kde/config/kdm/kdmrc
[ -f /etc/sysconfig/desktop ] && \
sed 's|^#desktop="/usr/bin/kdm -nodaemon"$|desktop="/usr/bin/kdm -nodaemon"|' 
-i /etc/sysconfig/desktop

@@ -21,14 +21,13 @@ post_install()
}
post_upgrade()
{
-       if grep -q 'Theme=/usr/share/apps/kdm/themes/circles' 
/usr/share/config/kdm/kdmrc; then
-               sed 
s'|Theme=/usr/share/apps/kdm/themes/circles|Theme=/usr/share/apps/kdm/themes/frugalware|g'
 \
-                       -i /usr/share/config/kdm/kdmrc
-               sed s'|UseTheme=false|UseTheme=true|g' -i 
/usr/share/config/kdm/kdmrc
+       if grep -q 'Theme=/usr/share/apps/kdm/themes/oxygen-air' 
/etc/kde/config/kdm/kdmrc; then
+               sed 
s'|Theme=/usr/share/apps/kdm/themes/oxygen-air|Theme=/usr/share/apps/kdm/themes/frugalware|g'
 \
+                       -i /etc/kde/config/kdm/kdmrc
+               sed s'|UseTheme=false|UseTheme=true|g' -i 
/etc/kde/config/kdm/kdmrc
fi
## upgrade hack for 05 'current' users that is not needed for a fresh install
-       sed 's/frugalware.png/frugalware.jpg/' -i 
/usr/share/config/kdm/backgroundrc
-       sed 's/frugalware.png/frugalware.jpg/' -i /usr/share/config/kdesktoprc
+       sed 's/frugalware.png/frugalware.jpg/' -i 
/etc/kde/config/kdm/backgroundrc
}

pre_remove()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to