summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-09-08 12:17:12 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-09-08 12:17:12 +0200
commit9165f598d04efce920663e40b398c4388d585d43 (patch)
treee7baa4e798326604a9082c856e4d5f4d1ea9f85b /redhat/tdelibs
parentc51008ebee10edfbccb321d9e473c6b6c24a8e80 (diff)
downloadtde-packaging-9165f598d04efce920663e40b398c4388d585d43.tar.gz
tde-packaging-9165f598d04efce920663e40b398c4388d585d43.zip
RPM Packaging: updates for 3.5.13.2
Diffstat (limited to 'redhat/tdelibs')
-rw-r--r--redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch13
-rw-r--r--redhat/tdelibs/tdelibs-3.5.13.2.spec3
2 files changed, 16 insertions, 0 deletions
diff --git a/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch b/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
new file mode 100644
index 000000000..2c9c88368
--- /dev/null
+++ b/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
@@ -0,0 +1,13 @@
+diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
+index 67031d0..a4c67f3 100644
+--- a/kio/kio/kservice.cpp
++++ b/kio/kio/kservice.cpp
+@@ -103,7 +103,7 @@ KService::init( KDesktopFile *config )
+ // extract prefix
+ kde4applicationprefix = config->fileName();
+ int pos = kde4applicationprefix.find("/share/applications/kde4/");
+- kde4applicationprefix.truncate(pos-1);
++ kde4applicationprefix.truncate(pos);
+ }
+
+ config->setDesktopGroup();
diff --git a/redhat/tdelibs/tdelibs-3.5.13.2.spec b/redhat/tdelibs/tdelibs-3.5.13.2.spec
index 727c8defd..d490fec26 100644
--- a/redhat/tdelibs/tdelibs-3.5.13.2.spec
+++ b/redhat/tdelibs/tdelibs-3.5.13.2.spec
@@ -36,6 +36,8 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# Fix categories in T-menu
Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch
+# Fix startup of KDE4 applications
+Patch2: tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
# Patches from Mandriva
Patch101: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
@@ -371,6 +373,7 @@ applications for TDE.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .xdg
+%patch2 -p1 -b .kde4
%patch101 -p1 -b .xdg_path
%patch102 -p1 -b .cups_by_default