wineshelllink: Use FreeDesktop standard to create Wine menu structure.

Vitaliy Margolen wine-patches at kievinfo.com
Fri Nov 24 14:53:29 CST 2006


Change Log:
  wineshelllink: Use FreeDesktop standard to create Wine menu structure.

The major changes include:
- Use WM independent paths for all generated files.
- Dynamically build .menu and .directory files to create menu structure.
- Store icons in local icon store using their "cryptic" names to avoid conflicts.
- Number of other changes required for compatibility.
Note: .desktop links are still stored in a directory structure representing
Start Menu. This is done for possible future expansion.

This new approach should work with KDE, Gnome and other XDG compliant managers.
I have verified this with recent versions of KDE and Gnome on several distros.

However there are might be some problems with some custom changes some distros
might have. As an example SuSE has special feature that doesn't work right:
https://bugzilla.novell.com/show_bug.cgi?id=188110

The question of removing these links after programs have been uninstalled still open.
There are number of possible ways to solve it. The simplest would be symlinking
directories containing .desktop files. However that might brake whole menu structure.
---
 tools/wineshelllink |  258 ++++++++++++++++++++++----------------------------
 1 files changed, 114 insertions(+), 144 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b8243b62021ed3c5e069c7eb935962c01efe0005.diff
Type: text/x-patch
Size: 7725 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061124/8ba0133f/b8243b62021ed3c5e069c7eb935962c01efe0005.bin


More information about the wine-patches mailing list