From 787bd7949eba1871f34d251e0aefeeb9ad6b4830 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Tue, 26 Jun 2012 10:53:10 -0500 Subject: [PATCH] Update TDE menu to reduce clutter and eliminate conflicts with KDE4. This partially resolves bug report 977. --- kded/CMakeLists.txt | 2 +- kded/Makefile.am | 4 +- kded/applications.menu | 623 +++++++++++++++++++++++++++++----- kded/applications.menu-no-kde | 568 +++++++++++++++++++++++++++++++ 4 files changed, 1100 insertions(+), 97 deletions(-) create mode 100644 kded/applications.menu-no-kde diff --git a/kded/CMakeLists.txt b/kded/CMakeLists.txt index 0b9a3d72a..903126ca8 100644 --- a/kded/CMakeLists.txt +++ b/kded/CMakeLists.txt @@ -35,7 +35,7 @@ install( FILES kdedmodule.h DESTINATION ${INCLUDE_INSTALL_DIR} ) ##### other data ################################ install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) -install( FILES applications.menu DESTINATION ${XDG_MENU_INSTALL_DIR} ) +install( FILES applications.menu applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} ) install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) diff --git a/kded/Makefile.am b/kded/Makefile.am index a536a0ab3..ba49c2c8f 100644 --- a/kded/Makefile.am +++ b/kded/Makefile.am @@ -39,7 +39,7 @@ kbuildsycoca_la_SOURCES = kbuildsycoca.cpp kbuildservicetypefactory.cpp \ bin_PROGRAMS = kdontchangethehostname kde-menu kmimelist kdontchangethehostname_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor -kdontchangethehostname_LDADD = $(LIB_TDECORE) +kdontchangethehostname_LDADD = $(LIB_TDECORE) kdontchangethehostname_SOURCES = khostname.cpp kmimelist_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor @@ -62,7 +62,7 @@ noinst_HEADERS = kbuildsycoca.h kbuildservicetypefactory.h \ servicetype_DATA = kdedmodule.desktop servicetypedir = $(kde_servicetypesdir) -xdg_menu_DATA = applications.menu +xdg_menu_DATA = applications.menu applications.menu-no-kde update_DATA = kded.upd updatedir = $(kde_datadir)/kconf_update diff --git a/kded/applications.menu b/kded/applications.menu index 4590254c8..884de9cb9 100644 --- a/kded/applications.menu +++ b/kded/applications.menu @@ -44,8 +44,9 @@ tde-development-tdevelop.directory - Development - X-TDE-TDevelopIDE + Development + X-TDE-TDevelopIDE + KDE @@ -54,8 +55,9 @@ tde-development-translation.directory - Development - Translation + Development + Translation + KDE @@ -64,19 +66,58 @@ tde-development-webdevelopment.directory - Development - WebDevelopment + Development + WebDevelopment + KDE - - + + Development X-TDE-TDevelopIDE Translation WebDevelopment + KDE + + + + KDE + kde-development.directory + + + Development + KDE + Translation + WebDevelopment + TDE + + Translation + kde-development-translation.directory + + + Development + Translation + KDE + TDE + + + + + Web Development + kde-development-webdevelopment.directory + + + Development + WebDevelopment + KDE + TDE + + + + Science @@ -94,6 +135,7 @@ Science Education + KDE @@ -105,11 +147,12 @@ tde-edu-languages.directory - Education - - Languages - X-TDE-Edu-Language - + Education + + Languages + X-TDE-Edu-Language + + KDE @@ -118,8 +161,9 @@ tde-edu-mathematics.directory - Education - Math + Education + Math + KDE @@ -128,15 +172,16 @@ tde-edu-miscellaneous.directory - Education - - Languages - X-TDE-Edu-Language - Math - Science - Teaching - X-TDE-Edu-Teaching - + Education + + Languages + X-TDE-Edu-Language + Math + Science + Teaching + X-TDE-Edu-Teaching + KDE + @@ -145,8 +190,9 @@ tde-edu-science.directory - Education - Science + Education + Science + KDE @@ -155,13 +201,101 @@ tde-edu-tools.directory - Education - - Teaching - X-TDE-Edu-Teaching - + Education + + Teaching + X-TDE-Edu-Teaching + + KDE + + + + + KDE + kde-edutainment.directory + + + Education + KDE + + Education + Languages + X-TDE-Edu-Language + X-KDE-Edu-Language + Math + Science + Teaching + X-TDE-Edu-Teaching + X-KDE-Edu-Teaching + TDE + + + Languages + kde-edu-languages.directory + + + Languages + KDE + TDE + + + + + Mathematics + kde-edu-mathematics.directory + + + Math + KDE + TDE + + + + + Miscellaneous + kde-edu-miscellaneous.directory + + + Education + KDE + + Languages + X-TDE-Edu-Language + X-KDE-Edu-Language + Math + Science + Teaching + X-TDE-Edu-Teaching + X-KDE-Edu-Teaching + TDE + + + + + + Science + kde-edu-science.directory + + + Science + KDE + TDE + + + + + Tools + kde-edu-tools.directory + + + Teaching + KDE + TDE + + + @@ -172,8 +306,9 @@ tde-games-arcade.directory - Game - ArcadeGame + Game + ArcadeGame + KDE @@ -182,8 +317,9 @@ tde-games-board.directory - Game - BoardGame + Game + BoardGame + KDE @@ -192,8 +328,9 @@ tde-games-card.directory - Game - CardGame + Game + CardGame + KDE @@ -202,11 +339,12 @@ tde-games-kids.directory - Game - - X-TDE-KidsGame - KidsGame - + Game + + X-TDE-KidsGame + KidsGame + + KDE @@ -215,42 +353,137 @@ tde-games-strategy.directory - Game - StrategyGame + Game + StrategyGame + KDE - Game - - ArcadeGame - BoardGame - CardGame - X-TDE-KidsGame - KidsGame - StrategyGame - + Game + + ArcadeGame + BoardGame + CardGame + X-TDE-KidsGame + KidsGame + StrategyGame + KDE + + + KDE + kde-games.directory + + Arcade + kde-games-arcade.directory + + + Game + ArcadeGame + KDE + TDE + + + + + Board + kde-games-board.directory + + + Game + BoardGame + KDE + TDE + + + + + Card + kde-games-card.directory + + + Game + CardGame + KDE + TDE + + + + + Kidsgames + kde-games-kids.directory + + + Game + KidsGame + KDE + TDE + + + + + TacticStrategy + kde-games-strategy.directory + + + Game + StrategyGame + KDE + TDE + + + + + + Game + KDE + + ArcadeGame + BoardGame + CardGame + X-TDE-KidsGame + KidsGame + StrategyGame + TDE + + + + Graphics tde-graphics.directory - Graphics - X-TDE-More - ooo-draw.desktop + Graphics + X-TDE-More + X-KDE-More + KDE + ooo-draw.desktop + + KDE + kde-graphics.directory + + + Graphics + KDE + + + More tde-more.directory - Graphics - X-TDE-More + Graphics + X-TDE-More + X-KDE-More + KDE @@ -260,8 +493,10 @@ tde-internet.directory - Network - X-TDE-More + Network + X-TDE-More + X-KDE-More + KDE @@ -273,8 +508,20 @@ tde-more.directory - Network - X-TDE-More + Network + X-TDE-More + X-KDE-More + KDE + + + + + KDE + kde-internet.directory + + + Network + KDE @@ -284,8 +531,10 @@ tde-multimedia.directory - AudioVideo - X-TDE-More + AudioVideo + X-TDE-More + X-KDE-More + KDE @@ -293,8 +542,20 @@ tde-more.directory - AudioVideo - X-TDE-More + AudioVideo + X-TDE-More + X-KDE-More + KDE + + + + + KDE + kde-multimedia.directory + + + AudioVideo + KDE @@ -310,11 +571,23 @@ - Office + Office + X-TDE-Office-PIM X-TDE-More + X-KDE-More + KDE ooo-draw.desktop + + PIM + tde-office-pim.directory + + + X-TDE-Office-PIM + + + More tde-more.directory @@ -322,6 +595,18 @@ Office X-TDE-More + X-KDE-More + KDE + + + + + KDE + kde-office.directory + + + Office + KDE @@ -330,16 +615,32 @@ Settingsmenu tde-settingsmenu.directory - Settings + + Settings + KDE + X-KDE-settings-sound + + + KDE + kde-settingsmenu.directory + + + Settings + KDE + + + System tde-system.directory - System - X-TDE-More + System + X-TDE-More + X-KDE-More + KDE @@ -347,8 +648,11 @@ tde-system-su.directory - X-TDE-System-su - X-TDE-More + X-TDE-System-su + X-TDE-More + X-KDE-More + X-KDE-System-su + KDE @@ -357,8 +661,20 @@ tde-more.directory - System - X-TDE-More + System + X-TDE-More + X-KDE-More + KDE + + + + + KDE + kde-system.directory + + + System + KDE @@ -376,12 +692,17 @@ tde-utilities.directory - Utility - Accessibility - X-TDE-Utilities-Desktop - X-TDE-Utilities-Peripherals - X-TDE-Utilities-PIM - X-TDE-More + Utility + + Accessibility + X-TDE-Utilities-Desktop + X-TDE-Utilities-File + X-TDE-Utilities-Peripherals + X-TDE-Utilities-PIM + TextEditor + X-TDE-More + KDE + @@ -389,8 +710,9 @@ tde-utilities-accessibility.directory - Utility - Accessibility + Utility + Accessibility + KDE @@ -399,8 +721,9 @@ tde-utilities-desktop.directory - Utility - X-TDE-Utilities-Desktop + Utility + X-TDE-Utilities-Desktop + KDE @@ -408,7 +731,30 @@ Editors tde-editors.directory - TextEditor + + TextEditor + KDE + + + + + File + tde-utilities-file.directory + + + Utility + X-TDE-Utilities-File + + + + + Peripherals + tde-utilities-peripherals.directory + + + Utility + X-TDE-Utilities-Peripherals + @@ -416,8 +762,10 @@ tde-utilities-pim.directory - Utility - X-TDE-Utilities-PIM + Utility + X-TDE-Utilities-PIM + KDE + X-KDE-Utilities-PIM @@ -425,7 +773,10 @@ Toys tde-toys.directory - Amusement + + Amusement + KDE + @@ -437,8 +788,10 @@ tde-more.directory - Utility - X-TDE-More + Utility + X-TDE-More + X-KDE-More + KDE @@ -447,16 +800,98 @@ tde-more.directory - Utility - X-TDE-More + Utility + X-TDE-More + X-KDE-More + KDE + + + + + KDE + kde-utilities.directory + + + Utility + KDE + + Accessibility + X-TDE-Utilities-Desktop + X-KDE-Utilities-Desktop + X-TDE-Utilities-Peripherals + X-TDE-Utilities-PIM + X-KDE-Utilities-PIM + X-TDE-More + X-KDE-More + TextEditor + TDE + + + Accessibility + kde-utilities-accessibility.directory + + + Utility + Accessibility + KDE + TDE + + + + + Desktop + kde-utilities-desktop.directory + + + Utility + X-KDE-Utilities-Desktop + KDE + TDE + + + + + Editors + kde-editors.directory + + + TextEditor + KDE + TDE + + + + + PIM + kde-utilities-pim.directory + + + Utility + X-KDE-Utilities-PIM + KDE + TDE + + + + + Toys + kde-toys.directory + + + Amusement + KDE + TDE + + + - TDE - Core + TDE + Core diff --git a/kded/applications.menu-no-kde b/kded/applications.menu-no-kde new file mode 100644 index 000000000..3fd0e2d5d --- /dev/null +++ b/kded/applications.menu-no-kde @@ -0,0 +1,568 @@ + + + + Applications + tde-main.directory + + + + + + + + + More + + + + Applications + + + + + Applications + tde-unknown.directory + + + + + + Core + TDE + + + X-SuSE-YaST + + KDE + + + + + Development + tde-development.directory + + X-TDE-TDevelopIDE + tde-development-tdevelop.directory + + + Development + X-TDE-TDevelopIDE + KDE + X-KDE-KDevelopIDE + + + + + Translation + tde-development-translation.directory + + + Development + Translation + KDE + + + + + Web Development + tde-development-webdevelopment.directory + + + Development + WebDevelopment + KDE + + + + + + Development + X-TDE-TDevelopIDE + Translation + WebDevelopment + KDE + + + + + Science + tde-science.directory + + + + Astronomy + Biology + Chemistry + Geology + MedicalSoftware + Physics + Math + Science + + Education + KDE + + + + + Edutainment + tde-edutainment.directory + + Languages + tde-edu-languages.directory + + + Education + + Languages + X-TDE-Edu-Language + + KDE + + + + + Mathematics + tde-edu-mathematics.directory + + + Education + Math + KDE + + + + + Miscellaneous + tde-edu-miscellaneous.directory + + + Education + + Languages + X-TDE-Edu-Language + Math + Science + Teaching + X-TDE-Edu-Teaching + KDE + + + + + + Science + tde-edu-science.directory + + + Education + Science + KDE + + + + + Tools + tde-edu-tools.directory + + + Education + + Teaching + X-TDE-Edu-Teaching + + KDE + + + + + + Games + tde-games.directory + + Arcade + tde-games-arcade.directory + + + Game + ArcadeGame + KDE + + + + + Board + tde-games-board.directory + + + Game + BoardGame + KDE + + + + + Card + tde-games-card.directory + + + Game + CardGame + KDE + + + + + Kidsgames + tde-games-kids.directory + + + Game + + X-TDE-KidsGame + KidsGame + + KDE + + + + + TacticStrategy + tde-games-strategy.directory + + + Game + StrategyGame + KDE + + + + + + Game + + ArcadeGame + BoardGame + CardGame + X-TDE-KidsGame + KidsGame + StrategyGame + KDE + + + + + + Graphics + tde-graphics.directory + + + Graphics + X-TDE-More + X-KDE-More + KDE + ooo-draw.desktop + + + + More + tde-more.directory + + + Graphics + X-TDE-More + X-KDE-More + KDE + + + + + + Internet + tde-internet.directory + + + Network + X-TDE-More + X-KDE-More + KDE + + + + Terminal + tde-internet-terminal.directory + + + More + tde-more.directory + + + Network + X-TDE-More + X-KDE-More + KDE + + + + + + Multimedia + tde-multimedia.directory + + + AudioVideo + X-TDE-More + X-KDE-More + KDE + + + + More + tde-more.directory + + + AudioVideo + X-TDE-More + X-KDE-More + KDE + + + + + + Office + tde-office.directory + + + + + More + + + + Office + X-TDE-Office-PIM + X-TDE-More + X-KDE-More + KDE + + ooo-draw.desktop + + + PIM + tde-office-pim.directory + + + X-TDE-Office-PIM + + + + + More + tde-more.directory + + + Office + X-TDE-More + X-KDE-More + KDE + + + + + + Settingsmenu + tde-settingsmenu.directory + + + Settings + KDE + X-KDE-settings-sound + + + + + System + tde-system.directory + + + System + X-TDE-More + X-KDE-More + KDE + + + + SuperUser + tde-system-su.directory + + + X-TDE-System-su + X-TDE-More + X-KDE-More + X-KDE-System-su + KDE + + + + + More + tde-more.directory + + + System + X-TDE-More + X-KDE-More + KDE + + + + + ScreenSavers + tde-system-screensavers.directory + + + Terminal + tde-system-terminal.directory + + + + Utilities + tde-utilities.directory + + + Utility + Accessibility + X-TDE-Utilities-Desktop + X-TDE-Utilities-File + X-TDE-Utilities-Peripherals + X-TDE-Utilities-PIM + X-TDE-More + X-KDE-Utilities-Desktop + X-KDE-Utilities-Peripherals + X-KDE-Utilities-PIM + X-KDE-More + KDE + + + + Accessibility + tde-utilities-accessibility.directory + + + Utility + Accessibility + KDE + + + + + Desktop + tde-utilities-desktop.directory + + + Utility + X-TDE-Utilities-Desktop + KDE + + + + + Editors + tde-editors.directory + + + TextEditor + KDE + + + + + File + tde-utilities-file.directory + + + Utility + X-TDE-Utilities-File + + + + + Peripherals + tde-utilities-peripherals.directory + + + Utility + X-TDE-Utilities-Peripherals + + + + + PIM + tde-utilities-pim.directory + + + Utility + X-TDE-Utilities-PIM + KDE + X-KDE-Utilities-PIM + + + + + Toys + tde-toys.directory + + + Amusement + KDE + + + + + XUtilities + tde-utilities-xutils.directory + + + More + tde-more.directory + + + Utility + X-TDE-More + X-KDE-More + KDE + + + + + More + tde-more.directory + + + Utility + X-TDE-More + X-KDE-More + KDE + + + + + + + TDE + Core + + + + + + Debian + debian.directory + debian-menu.menu + + + applications-merged + applications-kmenuedit.menu +