diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-04-03 18:05:50 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-03 18:05:50 +0200 |
commit | af5c905ec49085b7c396caf2c5166f0c34cbeb3f (patch) | |
tree | 56463d31ace48f127ed61169fdc2b4b8aedfcc56 /ubuntu/_base/kdebase/debian/patches | |
parent | e43172a6e74706afc06ff8d11cbfa769bc949cc1 (diff) | |
download | tde-packaging-af5c905ec49085b7c396caf2c5166f0c34cbeb3f.tar.gz tde-packaging-af5c905ec49085b7c396caf2c5166f0c34cbeb3f.zip |
DEB: use _base folder for a distro instead of specific distros (squeeze and maverick).
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/kdebase/debian/patches')
22 files changed, 277 insertions, 0 deletions
diff --git a/ubuntu/_base/kdebase/debian/patches/disable_default_kdm_theme.diff b/ubuntu/_base/kdebase/debian/patches/disable_default_kdm_theme.diff new file mode 100644 index 000000000..a6859c81f --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/disable_default_kdm_theme.diff @@ -0,0 +1,15 @@ +--- a/kdm/config.def ++++ b/kdm/config.def +@@ -2644,9 +2644,9 @@ + + Key: UseTheme + Type: bool +-Default: true ++Default: false + User: greeter +-Instance: */true ++Instance: #*/true + Comment: & + Description: + Whether the greeter should be themed. + diff --git a/ubuntu/_base/kdebase/debian/patches/disable_startkde_wallpaper.diff b/ubuntu/_base/kdebase/debian/patches/disable_startkde_wallpaper.diff new file mode 100644 index 000000000..f78ecf14e --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/disable_startkde_wallpaper.diff @@ -0,0 +1,31 @@ +--- a/startkde ++++ b/startkde +@@ -288,17 +288,17 @@ + . "$kdehome/share/config/startupconfig" + fi + +-# Make sure a default wallpaper is set. +-if [ ! -e "$kdehome/share/config/kdesktoprc" ]; then +- # With Trinity KDE this file should exist, but test first. +- if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then +-cat >"$kdehome/share/config/kdesktoprc" <<EOF +-[Desktop0] +-Wallpaper=isadora.png +-WallpaperMode=Scaled +-EOF +- fi +-fi ++## Make sure a default wallpaper is set. ++#if [ ! -e "$kdehome/share/config/kdesktoprc" ]; then ++# # With Trinity KDE this file should exist, but test first. ++# if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then ++#cat >"$kdehome/share/config/kdesktoprc" <<EOF ++#[Desktop0] ++#Wallpaper=isadora.png ++#WallpaperMode=Scaled ++#EOF ++# fi ++#fi + + # XCursor mouse theme needs to be applied here to work even for kded or ksmserver. + if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_04_hide_menu_entries.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_04_hide_menu_entries.diff new file mode 100644 index 000000000..5fca9c324 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_04_hide_menu_entries.diff @@ -0,0 +1,7 @@ +--- kdebase/kate/data/kwrite.desktop 2005-03-17 02:30:43.361137168 +0000 ++++ kdebase/kate/data/kwrite.desktop 2005-03-17 02:30:51.972827992 +0000 +@@ -103,3 +103,4 @@ + InitialPreference=8 + X-DCOP-ServiceType=Multi + Categories=Qt;KDE;TextEditor; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_06_hide_home_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_06_hide_home_menu_entry.diff new file mode 100644 index 000000000..b9fe3609a --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_06_hide_home_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/konqueror/Home.desktop-orig 2005-03-17 02:27:51.835213072 +0000 ++++ kdebase/konqueror/Home.desktop 2005-03-17 02:27:58.766159408 +0000 +@@ -151,3 +151,4 @@ + GenericName[zu]=Amafayela Omuntu siqu + Categories=Qt;KDE;Core; + OnlyShowIn=KDE; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_07_hide_knetattach_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_07_hide_knetattach_menu_entry.diff new file mode 100644 index 000000000..6768121dd --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_07_hide_knetattach_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/knetattach/knetattach.desktop 2005-03-17 02:33:16.506855480 +0000 ++++ kdebase/knetattach/knetattach.desktop 2005-03-17 02:33:22.186991968 +0000 +@@ -45,3 +45,4 @@ + X-KDE-StartupNotify=true + Categories=Qt;KDE;Network; + DocPath=knetattach/index.html ++OnlyShowIn=Old; diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_08_hide_kcmkicker_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_08_hide_kcmkicker_menu_entry.diff new file mode 100644 index 000000000..d5e944949 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_08_hide_kcmkicker_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kicker/kicker/kcmkicker.desktop 2005-03-17 01:03:22.645846992 +0000 ++++ kdebase/kicker/kicker/kcmkicker.desktop 2005-03-17 01:03:30.907591016 +0000 +@@ -67,3 +67,4 @@ + X-KDE-StartupNotify=true + OnlyShowIn=KDE; + Categories=Qt;KDE;Settings; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_09_hide_kpersonaliser_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_09_hide_kpersonaliser_menu_entry.diff new file mode 100644 index 000000000..0bba8642d --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_09_hide_kpersonaliser_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kpersonalizer/kpersonalizer.desktop-orig 2005-03-17 01:05:16.091600616 +0000 ++++ kdebase/kpersonalizer/kpersonalizer.desktop 2005-03-17 01:05:23.678447240 +0000 +@@ -77,3 +77,4 @@ + X-DCOP-ServiceType=Multi + Categories=Qt;KDE;Settings; + OnlyShowIn=KDE; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_10_hide_kmenuedit_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_10_hide_kmenuedit_menu_entry.diff new file mode 100644 index 000000000..317ad4913 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_10_hide_kmenuedit_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kmenuedit/kmenuedit.desktop-orig 2005-03-17 01:06:56.707304704 +0000 ++++ kdebase/kmenuedit/kmenuedit.desktop 2005-03-17 01:07:22.785340240 +0000 +@@ -82,3 +82,4 @@ + + X-DCOP-ServiceType=Unique + Categories=Qt;KDE;Settings; ++OnlyShowIn=Old; diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_11_hide_kappfinder_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_11_hide_kappfinder_menu_entry.diff new file mode 100644 index 000000000..08a6c5675 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_11_hide_kappfinder_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kappfinder/kappfinder.desktop 2005-03-17 01:08:26.659629872 +0000 ++++ kdebase/kappfinder/kappfinder.desktop 2005-03-17 01:08:34.189485160 +0000 +@@ -79,3 +79,4 @@ + Name[zh_TW]=選單更新工具 + X-DCOP-ServiceType=Multi + Categories=Qt;KDE;Settings; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff new file mode 100644 index 000000000..a82001d03 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff @@ -0,0 +1,9 @@ +Index: b/konsole/konsolesu.desktop +=================================================================== +--- a/konsole/konsolesu.desktop ++++ b/konsole/konsolesu.desktop +@@ -82,3 +82,4 @@ + GenericName[zh_TW]=終端機程式 - 超級使用者模式 + X-KDE-AuthorizeAction=shell_access + Categories=Qt;KDE;X-KDE-System-su; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_14_hide_konquerorsu_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_14_hide_konquerorsu_menu_entry.diff new file mode 100644 index 000000000..1559f0f95 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_14_hide_konquerorsu_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/konqueror/konquerorsu.desktop ++++ kdebase/konqueror/konquerorsu.desktop +@@ -82,3 +82,4 @@ + + Categories=Qt;KDE;X-KDE-System-su; + NotShowIn=GNOME; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_15_hide_kfontview_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_15_hide_kfontview_menu_entry.diff new file mode 100644 index 000000000..cce526122 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_15_hide_kfontview_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kcontrol/kfontinst/viewpart/kfontview.desktop ++++ kdebase/kcontrol/kfontinst/viewpart/kfontview.desktop +@@ -71,3 +71,4 @@ + Terminal=false + InitialPreference=1 + Categories=Qt;KDE;Graphics; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_16_hide_kpager_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_16_hide_kpager_menu_entry.diff new file mode 100644 index 000000000..53f517879 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_16_hide_kpager_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kpager/kpager.desktop ++++ kdebase/kpager/kpager.desktop +@@ -96,3 +96,4 @@ + X-KDE-StartupNotify=false + X-DCOP-ServiceType=Unique + Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_35_hide_klipper_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_35_hide_klipper_menu_entry.diff new file mode 100644 index 000000000..5b28ee4df --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_35_hide_klipper_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/klipper/klipper.desktop ++++ kdebase/klipper/klipper.desktop +@@ -143,3 +143,4 @@ + Comment[zh_CN]=剪贴历史工具 + Comment[zh_TW]=剪貼紀錄公用程式 + ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_37_hide_kdeprintfax_menu_entry.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_37_hide_kdeprintfax_menu_entry.diff new file mode 100644 index 000000000..c572317c0 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_37_hide_kdeprintfax_menu_entry.diff @@ -0,0 +1,7 @@ +--- kdebase/kdeprint/kdeprintfax/kdeprintfax.desktop ++++ kdebase/kdeprint/kdeprintfax/kdeprintfax.desktop +@@ -90,3 +90,4 @@ + Terminal=false + X-DCOP-ServiceType=Multi + Categories=Qt;KDE;Utility ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_48_hide_display.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_48_hide_display.diff new file mode 100644 index 000000000..2de447630 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_48_hide_display.diff @@ -0,0 +1,7 @@ +--- kdebase/kcontrol/display/display.desktop ++++ kdebase/kcontrol/display/display.desktop +@@ -135,3 +135,4 @@ + Comment[zh_CN]=显示设置 + Comment[zh_TW]=顯示設定 + Categories=Qt;KDE;X-KDE-settings-hardware; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_70_hide_printers_desktop.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_70_hide_printers_desktop.diff new file mode 100644 index 000000000..88081e51e --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_70_hide_printers_desktop.diff @@ -0,0 +1,9 @@ +diff -Nur kdebase-3.5.4/kdeprint/printmgr/printers.desktop kdebase-3.5.4.new/kdeprint/printmgr/printers.desktop +--- kdebase-3.5.4/kdeprint/printmgr/printers.desktop 2006-07-22 10:15:47.000000000 +0200 ++++ kdebase-3.5.4.new/kdeprint/printmgr/printers.desktop 2006-08-21 22:20:40.000000000 +0200 +@@ -219,4 +219,4 @@ + Keywords[zh_TW]=print,printer,printing management,列印,印表機,列印管理 + Keywords[zu]=shicilela,umshicileli,abaphathi boshicilelo + +-Categories=Qt;KDE;X-KDE-settings-hardware;Settings; ++Categories=Qt;KDE;X-KDE-settings-hardware; diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_78_kcontrol_hide_component_chooser.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_78_kcontrol_hide_component_chooser.diff new file mode 100644 index 000000000..8fc8abb28 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_78_kcontrol_hide_component_chooser.diff @@ -0,0 +1,8 @@ +diff -Nur kdebase-3.5.4/kcontrol/componentchooser/componentchooser.desktop kdebase-3.5.4.new/kcontrol/componentchooser/componentchooser.desktop +--- kdebase-3.5.4/kcontrol/componentchooser/componentchooser.desktop 2006-07-22 10:15:23.000000000 +0200 ++++ kdebase-3.5.4.new/kcontrol/componentchooser/componentchooser.desktop 2006-09-08 13:42:48.000000000 +0200 +@@ -214,3 +214,4 @@ + Keywords[zu]=amalunga,umkhethi welunga,amathuluzi okusebenza,umxhasi weposi lekhomputha,umlingisi wethuluzi langaphandle + + Categories=Qt;KDE;X-KDE-settings-components; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_89_new_logout_ui.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_89_new_logout_ui.diff new file mode 100644 index 000000000..b17107a66 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_89_new_logout_ui.diff @@ -0,0 +1,22 @@ +--- a/kdm/kfrontend/kdmshutdown.cpp ++++ b/kdm/kfrontend/kdmshutdown.cpp +@@ -472,7 +472,7 @@ + { + setCaption(i18n("Shutdown TDE")); + +- bool doUbuntuLogout = KConfigGroup(KGlobal::config(), "Shutdown").readBoolEntry("doUbuntuLogout", false); ++ bool doUbuntuLogout = KConfigGroup(KGlobal::config(), "Shutdown").readBoolEntry("doUbuntuLogout", true); + + TQFrame* lfrm = new TQFrame( this ); + TQHBoxLayout* hbuttonbox; +--- a/ksmserver/shutdowndlg.cpp ++++ b/ksmserver/shutdowndlg.cpp +@@ -688,7 +688,7 @@ + 2 * KDialog::spacingHint() ); + + // default factor +- bool doUbuntuLogout = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("doUbuntuLogout", false); ++ bool doUbuntuLogout = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("doUbuntuLogout", true); + + // slighty more space for the new logout + int factor = 2; diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_9904_hide_kfind.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_9904_hide_kfind.diff new file mode 100644 index 000000000..72ecfb55f --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_9904_hide_kfind.diff @@ -0,0 +1,7 @@ +--- kdebase-3.5.7/kfind/Kfind.desktop ++++ kdebase-3.5.7/kfind/Kfind.desktop +@@ -73,3 +73,4 @@ + X-KDE-StartupNotify=true + OnlyShowIn=KDE; + Categories=Qt;KDE;Core; ++NoDisplay=true diff --git a/ubuntu/_base/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff b/ubuntu/_base/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff new file mode 100644 index 000000000..4aad9f8e3 --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff @@ -0,0 +1,64 @@ +--- kdebase-3.5.8/kdm/backend/dm.c 2008-02-13 23:59:17.000000000 +0200 ++++ kdebase-3.5.8/kdm/backend/dm.c 2008-02-14 11:22:41.000000000 +0200 +@@ -996,9 +996,14 @@ ReapChildren( void ) + /* don't kill again */ + break; + case running: +- if (startingServer == d && d->serverStatus != ignore) { +- if (d->serverStatus == starting && waitCode( status ) != 47) +- LogError( "X server died during startup\n" ); ++ LogError("X server terminated: [%d, %d, %d]\n", ++ (startingServer == d), ++ (d->serverStatus), ++ (waitCode(status))); ++ ++ if (startingServer == d /*&& d->serverStatus != ignore*/) { ++ if (/*d->serverStatus == starting &&*/ waitCode( status ) != 47) ++ LogError( "X server died during startup\n" ); + StartServerFailed(); + break; + } +--- kdebase-3.5.8/kdm/backend/server.c 2008-02-13 23:59:17.000000000 +0200 ++++ kdebase-3.5.8/kdm/backend/server.c 2008-02-14 11:41:20.000000000 +0200 +@@ -48,6 +48,10 @@ from the copyright holder. + struct display *startingServer; + time_t serverTimeout = TO_INF; + ++#define SERVER_ATTEMPTS 3 ++ ++char* failsafeXServer[] = {"/etc/gdm/failsafeXServer", 0}; ++ + char ** + PrepServerArgv( struct display *d, const char *args ) + { +@@ -128,6 +132,7 @@ StartServer( struct display *d ) + { + startingServer = d; + d->startTries = 0; ++ d->serverAttempts = SERVER_ATTEMPTS; + StartServerOnce(); + } + +@@ -150,6 +155,7 @@ void + StartServerSuccess() + { + struct display *d = startingServer; ++ LogError("StartServerSucces\n"); + d->serverStatus = ignore; + serverTimeout = TO_INF; + Debug( "X server ready, starting session\n" ); +@@ -161,9 +167,14 @@ StartServerFailed() + { + struct display *d = startingServer; + if (!d->serverAttempts || d->startTries < d->serverAttempts) { ++ LogError("Failed to start X server. Starting failsafe X server.\n"); ++ ++ runAndWait(failsafeXServer, 0); ++ + d->serverStatus = pausing; + serverTimeout = d->openDelay + now; + } else { ++ LogError("StartServerFailed\n"); + d->serverStatus = ignore; + serverTimeout = TO_INF; + startingServer = 0; diff --git a/ubuntu/_base/kdebase/debian/patches/series b/ubuntu/_base/kdebase/debian/patches/series new file mode 100644 index 000000000..ee37e515b --- /dev/null +++ b/ubuntu/_base/kdebase/debian/patches/series @@ -0,0 +1,21 @@ +disable_default_kdm_theme.diff +disable_startkde_wallpaper.diff +kubuntu_04_hide_menu_entries.diff +kubuntu_06_hide_home_menu_entry.diff +kubuntu_07_hide_knetattach_menu_entry.diff +kubuntu_08_hide_kcmkicker_menu_entry.diff +kubuntu_09_hide_kpersonaliser_menu_entry.diff +kubuntu_10_hide_kmenuedit_menu_entry.diff +kubuntu_11_hide_kappfinder_menu_entry.diff +kubuntu_13_hide_konsolesu_menu_entry.diff +kubuntu_14_hide_konquerorsu_menu_entry.diff +kubuntu_15_hide_kfontview_menu_entry.diff +kubuntu_16_hide_kpager_menu_entry.diff +kubuntu_35_hide_klipper_menu_entry.diff +kubuntu_37_hide_kdeprintfax_menu_entry.diff +kubuntu_48_hide_display.diff +kubuntu_70_hide_printers_desktop.diff +kubuntu_78_kcontrol_hide_component_chooser.diff +kubuntu_89_new_logout_ui.diff +kubuntu_9904_hide_kfind.diff +kubuntu_9921_kdm_bulletproof_x.diff |