summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-07-09 21:04:33 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-07-09 21:04:33 +0200
commitd93278155946c9d82d43a8f5a6b02a7b51f356b5 (patch)
tree62cdb901f178c18ace44ee3784da41111d00d43c /redhat/kdebase
parent4647c085f8ccbde2c07722e6556116fcd5e6db2c (diff)
downloadtde-packaging-d93278155946c9d82d43a8f5a6b02a7b51f356b5.tar.gz
tde-packaging-d93278155946c9d82d43a8f5a6b02a7b51f356b5.zip
RHEL/Fedora: lots of updates
Diffstat (limited to 'redhat/kdebase')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_kdesu_kdesudo_argument_compatibility.patch18
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch20
-rw-r--r--redhat/kdebase/trinity-kdebase-3.5.13.spec26
3 files changed, 62 insertions, 2 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_kdesu_kdesudo_argument_compatibility.patch b/redhat/kdebase/kdebase-3.5.13-fix_kdesu_kdesudo_argument_compatibility.patch
new file mode 100644
index 000000000..9dd7d7935
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_kdesu_kdesudo_argument_compatibility.patch
@@ -0,0 +1,18 @@
+commit 59ee4f6630e6ed6b2712600a88d3ba9ce383620b
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1339467335 -0500
+
+ Fix tdesu/tdesudo argument compatibility problem
+
+diff --git a/kdesu/kdesu/kdesu.cpp b/kdesu/kdesu/kdesu.cpp
+index 3511b1f..8ea82fb 100644
+--- a/kdesu/kdesu/kdesu.cpp
++++ b/kdesu/kdesu/kdesu.cpp
+@@ -63,6 +63,7 @@ static KCmdLineOptions options[] = {
+ { "p <prio>", I18N_NOOP("Set priority value: 0 <= prio <= 100, 0 is lowest"), "50" },
+ { "r", I18N_NOOP("Use realtime scheduling"), 0 },
+ { "nonewdcop", I18N_NOOP("Let command use existing dcopserver"), 0 },
++ { "comment <comment>", I18N_NOOP("Ignored"), "" },
+ { "noignorebutton", I18N_NOOP("Do not display ignore button"), 0 },
+ { "i <icon name>", I18N_NOOP("Specify icon to use in the password dialog"), 0},
+ { "d", I18N_NOOP("Do not show the command to be run in the dialog"), 0},
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch b/redhat/kdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
new file mode 100644
index 000000000..b52e51188
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
@@ -0,0 +1,20 @@
+commit 0afb2d8a78d212568f6836dd0e7d41382cfb991d
+Author: Slávek Banko <slavek.banko@axis.cz>
+Date: 1341682699 +0200
+
+ Fix menu crash with disabled search field
+ This resolves Bug 1081
+
+diff --git a/kicker/kicker/ui/k_mnu.cpp b/kicker/kicker/ui/k_mnu.cpp
+index b7cfe8f..702c921 100644
+--- a/kicker/kicker/ui/k_mnu.cpp
++++ b/kicker/kicker/ui/k_mnu.cpp
+@@ -273,6 +273,8 @@ void PanelKMenu::initialize()
+ connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)),
+ this, TQT_SLOT( slotUpdateSearch( const TQString&)));
+ insertItem(hbox, searchLineID, 0);
++ } else {
++ searchEdit = NULL;
+ }
+
+ //TQToolTip::add(clearButton, i18n("Clear Search"));
diff --git a/redhat/kdebase/trinity-kdebase-3.5.13.spec b/redhat/kdebase/trinity-kdebase-3.5.13.spec
index c85b6acaa..e3eb82eab 100644
--- a/redhat/kdebase/trinity-kdebase-3.5.13.spec
+++ b/redhat/kdebase/trinity-kdebase-3.5.13.spec
@@ -19,7 +19,7 @@
Name: trinity-tdebase
Version: 3.5.13
-Release: 24%{?release}%{?dist}%{?_variant}
+Release: 25%{?release}%{?dist}%{?_variant}
License: GPL
Summary: Trinity Base Programs
Group: User Interface/Desktops
@@ -159,7 +159,8 @@ Patch58: kdebase-3.5.13-fix_khtml_smooth_scrolling.patch
Patch59: kdebase-3.5.13-fix_fancy_logout.patch
## [tdebase] Update default konqueror maximum image preview size to 10MB. [Commit #03e19305]
Patch60: kdebase-3.5.13-update_default_konq_max_image_prev_size.patch
-
+## [tdebase] Fix menu crash with disabled search field [Bug #1081] [Commit #0afb2d8a]
+Patch61: kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
### FEDORA / RHEL distribution-specific settings ###
@@ -2179,6 +2180,7 @@ ever launching another application.
%exclude %{_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
%exclude %{_datadir}/apps/konqueror/servicemenus/installfont.desktop
%{_datadir}/apps/konqueror/servicemenus/*.desktop
+%{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
%{_datadir}/apps/konqueror/tiles/*.png
%{_datadir}/autostart/konqy_preload.desktop
%{_datadir}/config.kcfg/keditbookmarks.kcfg
@@ -2200,6 +2202,11 @@ for f in crystalsvg hicolor ; do
gtk-update-icon-cache --quiet %{_datadir}/icons/${f} 2> /dev/null || :
done
/sbin/ldconfig || :
+alternatives --install \
+ %{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
+ media_safelyremove.desktop_konqueror \
+ %{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
+ 10
%postun -n trinity-konqueror
update-desktop-database %{tde_appdir} 2> /dev/null || :
@@ -2208,6 +2215,11 @@ for f in crystalsvg hicolor ; do
gtk-update-icon-cache --quiet %{_datadir}/icons/${f} 2> /dev/null || :
done
/sbin/ldconfig || :
+if [ $1 -eq 0 ]; then
+ alternatives --remove \
+ media_safelyremove.desktop_konqueror
+ %{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+fi
##########
@@ -2857,6 +2869,7 @@ Konqueror libraries.
%patch58 -p1
%patch59 -p1
%patch60 -p1
+%patch61 -p1
# Applies an optional distro-specific graphical theme
%if "%{?tde_bg}" != ""
@@ -2978,6 +2991,11 @@ cd build
%__rm -f "%{?buildroot}%{_datadir}/apps/usb.ids"
%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{_datadir}/apps/usb.ids"
+# Makes 'media_safelyremove.desktop' an alternative
+%__mv -f %{buildroot}%{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+%__ln_s /etc/alternatives/media_safelyremove.desktop_tdebase %{buildroot}%{_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop
+
+
%clean
%__rm -rf %{?buildroot}
@@ -2988,6 +3006,10 @@ cd build
%changelog
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-25
+- Fix menu crash with disabled search field [Bug #1081] [Commit #0afb2d8a]
+- Makes 'media_safelyremove.desktop' an alternative
+
* Sun Jul 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-24
- Renames 'tdebase' to 'trinity-tdebase'
- Update default konqueror maximum image preview size to 10MB. [Commit #03e19305]