Bug#447453: menu-xdg: debian-menu.menu does not contain an X-Debian-Wine category

2008-01-22 Thread Sam Morris
On Mon, 2008-01-21 at 17:30 +0100, Bill Allombert wrote:
 On Sun, Oct 28, 2007 at 11:38:46PM +, Sam Morris wrote:
  On Sun, 2007-10-28 at 21:09 +0100, Bill Allombert wrote:
   Hello Sam,
   You will need to provide more data: how menu entries for programs
   installed from Wine look like ? How do you generate debian-menu.menu ?
 
 I would like to apologize for the long delay. I have been out of town
 for some times and I forgot about it.
 
  Wine seems to save menu entries in ~/.menu/wine like so:
  
  ?package(local.Wine):needs=x11 section=/Wine/. title=Gtk-demo 
  longtitle= command=wine 
  'Z:homesamsrcsolarwin32bingtk-demo.exe'  
  
  /etc/menu-methods/xdg-desktop-entry-spec-apps turns this into a file at 
  ~/.local/share/applications/menu-xdg/X-Debian-Wine-gtk-demo.desktop:
  
  [Desktop Entry]
  Type=Application
  Encoding=UTF-8
  Name=Gtk-demo
  GenericName=
  Comment=
  Icon=
  Exec=wine 'Z:\\home\\sam\\src\\solar\\win32\\bin\\gtk-demo.exe' 
  Terminal=false
  Categories=X-Debian-Wine;
  
  The debian-menu.menu is generated in the normal way
  from /etc/menu-methods/menu-
 
 There should be two debian-menu.menu files:
 1) the system-wide at /var/lib/menu-xdg/menus/debian-menu.menu
 2) the user-wide at ~/.config/menus/debian-menu.menu
 
 The first one does not know about X-Debian-Wine because it does not
 exist in the system menu.

 The second one however should know about X-Debian-Wine. If it does then
 gnome-menus is picking the wrong debian-menu.menu file.

If I run 'update-menus' by hand, the second file that is generated does
not contain any mention of X-Debian-Wine.

  My original bug report was not quite clear, BTW. Menu entries such as
  the one above actually don't appear in the Debian menu at all!
  gnome-menus notices this, and allocates them to the Other menu. So maybe
  this should actually be a bug against gnome-menus... I'm not sure. It
  seems like it would be better to fix it at the level of menu-xdg so that
  the additional menu category would be seen by all consumers of the
  fdo-menu-spec data files.
 
 It looks like a bug in gnome-menus or in the GNOME menu editors. The
 support for the XDG menu draft in GNOME has always been very weak.

Can we make use of whatever Ubuntu have done to menu-xdg to make this
work? They have a Wine menu under the GNOME applications menu, which
seems to correspond with the Windows Programs menu.

 
 Cheers,
-- 
Sam Morris [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Bug#447453: menu-xdg: debian-menu.menu does not contain an X-Debian-Wine category

2008-01-22 Thread Bill Allombert
On Tue, Jan 22, 2008 at 02:31:39PM +, Sam Morris wrote:
  The first one does not know about X-Debian-Wine because it does not
  exist in the system menu.
 
  The second one however should know about X-Debian-Wine. If it does then
  gnome-menus is picking the wrong debian-menu.menu file.

According to your previous post, the wine entry is as follow:

?package(local.Wine):needs=x11 section=/Wine/. title=Gtk-demo
longtitle= command=wine
'Z:homesamsrcsolarwin32bingtk-demo.exe' 

The Section is strange why call it /Wine/. instead of just Wine ?

 If I run 'update-menus' by hand, the second file that is generated does

As root or as a normal user ?

 not contain any mention of X-Debian-Wine.

It certainly does here:
%grep X-Debian-Wine ~/.config/menus/debian-menu.menu
CategoryX-Debian-Wine/Category
CategoryX-Debian-Wine-./Category

By any chance, do you have a ~/.menu-methods directory ?
What is its content ?

Please try 'update-menus -v' and send me the output.

  It looks like a bug in gnome-menus or in the GNOME menu editors. The
  support for the XDG menu draft in GNOME has always been very weak.
 
 Can we make use of whatever Ubuntu have done to menu-xdg to make this
 work? They have a Wine menu under the GNOME applications menu, which
 seems to correspond with the Windows Programs menu.

I think it is unrelated and the Wine menu works for me.

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447453: menu-xdg: debian-menu.menu does not contain an X-Debian-Wine category

2008-01-21 Thread Bill Allombert
On Sun, Oct 28, 2007 at 11:38:46PM +, Sam Morris wrote:
 On Sun, 2007-10-28 at 21:09 +0100, Bill Allombert wrote:
  Hello Sam,
  You will need to provide more data: how menu entries for programs
  installed from Wine look like ? How do you generate debian-menu.menu ?

I would like to apologize for the long delay. I have been out of town
for some times and I forgot about it.

 Wine seems to save menu entries in ~/.menu/wine like so:
 
 ?package(local.Wine):needs=x11 section=/Wine/. title=Gtk-demo 
 longtitle= command=wine 
 'Z:homesamsrcsolarwin32bingtk-demo.exe'  
 
 /etc/menu-methods/xdg-desktop-entry-spec-apps turns this into a file at 
 ~/.local/share/applications/menu-xdg/X-Debian-Wine-gtk-demo.desktop:
 
 [Desktop Entry]
 Type=Application
 Encoding=UTF-8
 Name=Gtk-demo
 GenericName=
 Comment=
 Icon=
 Exec=wine 'Z:\\home\\sam\\src\\solar\\win32\\bin\\gtk-demo.exe' 
 Terminal=false
 Categories=X-Debian-Wine;
 
 The debian-menu.menu is generated in the normal way
 from /etc/menu-methods/menu-

There should be two debian-menu.menu files:
1) the system-wide at /var/lib/menu-xdg/menus/debian-menu.menu
2) the user-wide at ~/.config/menus/debian-menu.menu

The first one does not know about X-Debian-Wine because it does not
exist in the system menu.

The second one however should know about X-Debian-Wine. If it does then
gnome-menus is picking the wrong debian-menu.menu file.

 My original bug report was not quite clear, BTW. Menu entries such as
 the one above actually don't appear in the Debian menu at all!
 gnome-menus notices this, and allocates them to the Other menu. So maybe
 this should actually be a bug against gnome-menus... I'm not sure. It
 seems like it would be better to fix it at the level of menu-xdg so that
 the additional menu category would be seen by all consumers of the
 fdo-menu-spec data files.

It looks like a bug in gnome-menus or in the GNOME menu editors. The
support for the XDG menu draft in GNOME has always been very weak.

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447453: menu-xdg: debian-menu.menu does not contain an X-Debian-Wine category

2007-10-29 Thread Sam Morris
On Sun, 2007-10-28 at 21:09 +0100, Bill Allombert wrote:
 On Sun, Oct 21, 2007 at 11:44:38AM +0100, Sam Morris wrote:
  Package: menu-xdg
  Version: 0.3
  Severity: normal
  
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  The generated debian-menu.menu file does not contain the X-Debian-Wine
  category. This causes all menu entries for programs installed from Wine
  to be pushed into the Other menu.
 
 Hello Sam,
 You will need to provide more data: how menu entries for programs
 installed from Wine look like ? How do you generate debian-menu.menu ?

Wine seems to save menu entries in ~/.menu/wine like so:

?package(local.Wine):needs=x11 section=/Wine/. title=Gtk-demo 
longtitle= command=wine 
'Z:homesamsrcsolarwin32bingtk-demo.exe'  

/etc/menu-methods/xdg-desktop-entry-spec-apps turns this into a file at 
~/.local/share/applications/menu-xdg/X-Debian-Wine-gtk-demo.desktop:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Gtk-demo
GenericName=
Comment=
Icon=
Exec=wine 'Z:\\home\\sam\\src\\solar\\win32\\bin\\gtk-demo.exe' 
Terminal=false
Categories=X-Debian-Wine;

The debian-menu.menu is generated in the normal way
from /etc/menu-methods/menu-

My original bug report was not quite clear, BTW. Menu entries such as
the one above actually don't appear in the Debian menu at all!
gnome-menus notices this, and allocates them to the Other menu. So maybe
this should actually be a bug against gnome-menus... I'm not sure. It
seems like it would be better to fix it at the level of menu-xdg so that
the additional menu category would be seen by all consumers of the
fdo-menu-spec data files.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#447453: menu-xdg: debian-menu.menu does not contain an X-Debian-Wine category

2007-10-28 Thread Bill Allombert
On Sun, Oct 21, 2007 at 11:44:38AM +0100, Sam Morris wrote:
 Package: menu-xdg
 Version: 0.3
 Severity: normal
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 The generated debian-menu.menu file does not contain the X-Debian-Wine
 category. This causes all menu entries for programs installed from Wine
 to be pushed into the Other menu.

Hello Sam,
You will need to provide more data: how menu entries for programs
installed from Wine look like ? How do you generate debian-menu.menu ?

There is no reason it does not work if the system is used properly.

Thanks,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447453: menu-xdg: debian-menu.menu does not contain an X-Debian-Wine category

2007-10-21 Thread Sam Morris
Package: menu-xdg
Version: 0.3
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The generated debian-menu.menu file does not contain the X-Debian-Wine
category. This causes all menu entries for programs installed from Wine
to be pushed into the Other menu.

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-fixdso (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

menu-xdg depends on no packages.

Versions of packages menu-xdg recommends:
ii  menu  2.1.36 generates programs menu for all me

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHGy2Wshl/216gEHgRAvY3AKCAPIr1neNIxDBDzd/gFj2o3o7aFQCfXTae
0RnLTwkcHQTyRcOjXsUY2qM=
=a9OQ
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]