This commit is contained in:
parent
33769ccc2a
commit
311b38d92d
19
create_kdehome.patch
Normal file
19
create_kdehome.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake
|
||||||
|
index 48f7062..434455f 100644
|
||||||
|
--- a/startkde/startkde.cmake
|
||||||
|
+++ b/startkde/startkde.cmake
|
||||||
|
@@ -64,6 +64,14 @@ fi
|
||||||
|
|
||||||
|
mkdir -p $configDir
|
||||||
|
|
||||||
|
+kdehome=$HOME/@KDE_DEFAULT_HOME@
|
||||||
|
+test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^~/,$HOME/,"`
|
||||||
|
+
|
||||||
|
+# see kstartupconfig source for usage
|
||||||
|
+mkdir -m 700 -p $kdehome
|
||||||
|
+mkdir -m 700 -p $kdehome/share
|
||||||
|
+mkdir -m 700 -p $kdehome/share/config
|
||||||
|
+
|
||||||
|
#This is basically setting defaults so we can use them with kstartupconfig5
|
||||||
|
cat >$configDir/startupconfigkeys <<EOF
|
||||||
|
kcminputrc Mouse cursorTheme 'breeze_cursors'
|
@ -4,6 +4,9 @@ Fri Aug 22 17:48:45 UTC 2014 - hrvoje.senjan@gmail.com
|
|||||||
- Split out kglobalaccel to a kglobalaccel5 package (so default
|
- Split out kglobalaccel to a kglobalaccel5 package (so default
|
||||||
shortcuts work outside Plasma session)
|
shortcuts work outside Plasma session)
|
||||||
- Require libkscreen2-plugin
|
- Require libkscreen2-plugin
|
||||||
|
- Added create_kdehome.patch and pass -DKDE_DEFAULT_HOME=.kde4 so
|
||||||
|
kde4breeze kconf script can apply kde4 settings succesfully,
|
||||||
|
kde#338422
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 8 17:31:10 UTC 2014 - hrvoje.senjan@gmail.com
|
Fri Aug 8 17:31:10 UTC 2014 - hrvoje.senjan@gmail.com
|
||||||
|
@ -26,6 +26,8 @@ Url: http://www.kde.org/
|
|||||||
Source0: plasma-workspace-%{version}.tar.xz
|
Source0: plasma-workspace-%{version}.tar.xz
|
||||||
# PATCH-FIX_OPENSUSE 0001-Rename-qdbus-in-startkde.patch cgiboudeaux@gmx.com -- Rename the qdbus executable in startkde
|
# PATCH-FIX_OPENSUSE 0001-Rename-qdbus-in-startkde.patch cgiboudeaux@gmx.com -- Rename the qdbus executable in startkde
|
||||||
Patch0: 0001-Rename-qdbus-in-startkde.patch
|
Patch0: 0001-Rename-qdbus-in-startkde.patch
|
||||||
|
# PATCH-FIX_OPENSUSE create_kdehome.patch -- https://bugs.kde.org/show_bug.cgi?id=338422#c8
|
||||||
|
Patch1: create_kdehome.patch
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: baloo5-devel >= 5.0.0
|
BuildRequires: baloo5-devel >= 5.0.0
|
||||||
BuildRequires: kactivities5-devel >= 5.0.0
|
BuildRequires: kactivities5-devel >= 5.0.0
|
||||||
@ -142,9 +144,10 @@ workspace. Development files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n plasma-workspace-%{version}
|
%setup -q -n plasma-workspace-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DBUILD_po=OFF
|
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DBUILD_po=OFF -DKDE_DEFAULT_HOME=.kde4
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user