Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5e4a6f9927eef946302930b143ad19589286bf95

commit 5e4a6f9927eef946302930b143ad19589286bf95
Author: Melko <[email protected]>
Date:   Mon Sep 23 13:48:30 2013 +0200

kde-frugalware-1.7.2-2-i686

* add patch for multi-activities

diff --git 
a/source/kde/kde-frugalware/0001-set-wallpaper-for-each-activity.patch 
b/source/kde/kde-frugalware/0001-set-wallpaper-for-each-activity.patch
new file mode 100644
index 0000000..b03256f
--- /dev/null
+++ b/source/kde/kde-frugalware/0001-set-wallpaper-for-each-activity.patch
@@ -0,0 +1,31 @@
+From 6c9cadd104862a6c9f7398993d5825673d4d02f7 Mon Sep 17 00:00:00 2001
+From: Melko <[email protected]>
+Date: Mon, 23 Sep 2013 13:21:20 +0200
+Subject: [PATCH] * set wallpaper for each activity
+
+---
+ kde-frugalware/config/99-fwWallpaper.js | 13 ++++++++-----
+ 1 file changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/config/99-fwWallpaper.js b/kde-frugalware/config/99-fwWallpaper.js
+index e305e5a..76ddf59 100644
+--- a/config/99-fwWallpaper.js
++++ b/config/99-fwWallpaper.js
+@@ -1,6 +1,9 @@
+-// Set Frugalware wallpaper for a fresh user
++/* Copyright 2013 Frugalware Developer Team */
+
+-var activity = activities()[0]
+-activity.currentConfigGroup = new Array("Wallpaper", "image");
+-activity.writeConfig("wallpaper", "/usr/share/wallpapers/Frugalware/");
+-activity.writeConfig("userswallpaper", "/usr/share/wallpapers/Frugalware");
++// Set Frugalware wallpaper for a fresh user
++for (var i = 0; i < activities().length; i++) {
++    var activity = activities()[i]
++    activity.currentConfigGroup = new Array("Wallpaper", "image")
++    activity.writeConfig("wallpaper", "/usr/share/wallpapers/Frugalware/")
++    activity.writeConfig("userswallpaper", "/usr/share/wallpapers/Frugalware")
++}
+--
+1.8.4
+
diff --git a/source/kde/kde-frugalware/FrugalBuild 
b/source/kde/kde-frugalware/FrugalBuild
index fabb1be..a5cbf97 100644
--- a/source/kde/kde-frugalware/FrugalBuild
+++ b/source/kde/kde-frugalware/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=kde-frugalware
pkgver=1.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="KDE artwork for Frugalware Linux."
url="http://ftp.frugalware.org/pub/other/kde/kde-frugalware/";
rodepends=('frugalware-cursor-theme' 'kde-theme-qtcurve' 'ttf-oxygen')
@@ -13,11 +13,14 @@ options=('nodocs' 'force')
groups=('kde' 'kde-core')
archs=('i686' 'x86_64')
up2date="Flasttar http://ftp.frugalware.org/pub/other/artwork/$pkgname/";
-source=(http://ftp.frugalware.org/pub/other/artwork/$pkgname/$pkgname-$pkgver.tar.xz)
-sha1sums=('e85427c81008afddb80db9f73954734a24b2dd6a')
+source=(http://ftp.frugalware.org/pub/other/artwork/$pkgname/$pkgname-$pkgver.tar.xz
 \
+       0001-set-wallpaper-for-each-activity.patch)
+sha1sums=('e85427c81008afddb80db9f73954734a24b2dd6a' \
+          '2a03943bc7485bc4a79118b2d7b39a9f903413b3')

build()
{
+       Fpatchall
Fmkdir etc/kde/config/kdm
Fmkdir usr/share/apps/plasma-desktop/init
Fmkdir usr/share/kde/icons
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to