Author: domi-guest Date: 2004-04-05 13:41:31 -0600 (Mon, 05 Apr 2004) New Revision: 90
Modified: trunk/packages/kdelibs/debian/Packaging.txt trunk/packages/kdelibs/debian/changelog trunk/packages/kdelibs/debian/dh-make/menu.ex Log: Removed references to the obsolete kderemove menu tag in kdelibs' documentation. Modified: trunk/packages/kdelibs/debian/Packaging.txt =================================================================== --- trunk/packages/kdelibs/debian/Packaging.txt 2004-04-05 19:40:35 UTC (rev 89) +++ trunk/packages/kdelibs/debian/Packaging.txt 2004-04-05 19:41:31 UTC (rev 90) @@ -25,48 +25,19 @@ Debian/KDE Menu System ====================== -When building your package you will most likely end up with a debian/menu -file for creation of menu entries with the Debian menu system. There are -2 customizations you need to do for KDE specific packages. The first is -the use of hints. If you are unfamiliar with hints you should read up on -menu and it's features. For all KDE based apps there needs to be a menu -tag of hints="KDE". +When building your package you will most likely end up with a +debian/menu file for creation of menu entries with the Debian menu +system. You need one modification for KDE specific packages, namely +the use of hints. If you are unfamiliar with hints you should read up +on menu and it's features. For all KDE based apps there needs to be a +menu tag of hints="KDE". - The other customization that is required is simple but it's necessity -is a bit more complex. The tag "kderemove" needs to be used to make sure -there is no duplication in menu entries. "What for?" you ask...well here's -why. For every KDE app there is a corresponding .desktop file under the -/usr/share/applnk directory tree. This is either provided by the package -itself or created by the maintainer when one doesn't exist. This file is used -by the KDE menu system to list the application within the KDE menu. This -is how KDE handles it's menus...there must be a .desktop (or .kdelnk) file -under /usr/share/applnk in order for it to show up on the KDE menu. Well -by default this will only show KDE applications and not any of the other -non-KDE apps you have installed on your computer. So we use the Debian -menu package to pull in all of the non-KDE applications. The kdebase package -provides it's own menu-method which processes each of the menu items under -/usr/lib/menu and creates .desktop files under /var/lib/kde/menu. There -is a symlink under /usr/share/applnk pointing to /var/lib/kde/menu so that -all of the .desktop files that are dynamically created by the menu program -and placed under /var/lib/kde/menu show up under a submenu of the KDE menu. -So now with every Debian package (including all the KDE packages) a .desktop -file is created. In the case of all the KDE packages there is now 2 different -.desktop files representing the app...one which is part of the actual package -and one created by the Debian menu system. One of these entries is in the -main KDE menu and the other is under the Debian submenu. You would think this -isn't a real big problem..however KDE uses these .desktop files to handle -much more than menu entries. So we need to make sure we don't have this -duplication. The kderemove tag was created for this. Basically if a menu -entry has kderemove="1" in it it will not create a .desktop file for that -application. - With that said a typical menu file would look like this: ?package(konqueror):\ needs=x11\ section=Apps/Net\ hints="KDE,Web browsers"\ - kderemove="y"\ title="Konqueror"\ command="kfmclient openProfile webbrowsing" Modified: trunk/packages/kdelibs/debian/changelog =================================================================== --- trunk/packages/kdelibs/debian/changelog 2004-04-05 19:40:35 UTC (rev 89) +++ trunk/packages/kdelibs/debian/changelog 2004-04-05 19:41:31 UTC (rev 90) @@ -1,3 +1,10 @@ +kdelibs (4:3.2.1-2) unstable; urgency=low + + * Removed references to the obsolete kderemove menu tag in kdelibs' + documentation. + + -- + kdelibs (4:3.2.1-1) unstable; urgency=low * New upstream release. Modified: trunk/packages/kdelibs/debian/dh-make/menu.ex =================================================================== --- trunk/packages/kdelibs/debian/dh-make/menu.ex 2004-04-05 19:40:35 UTC (rev 89) +++ trunk/packages/kdelibs/debian/dh-make/menu.ex 2004-04-05 19:41:31 UTC (rev 90) @@ -1,2 +1,2 @@ ?package(#PACKAGE#):needs=X11|text|vc|wm section=Apps/see-menu-manual\ - title="#PACKAGE#" hints="KDE" kderemove="y" command="/usr/bin/#PACKAGE#" + title="#PACKAGE#" hints="KDE" command="/usr/bin/#PACKAGE#"