I'm not going to call it 'xdg-menu' because that name could refer to a number of projects in the wild internet. Cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749565 , Unless someone comes up with a better name I'll call it 'xdg-menu-convert'.

I am treating the repository as the https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/archlinux-xdg-menu . Obviously uscan cannot reasonably support this, but as far as I can work out from how Archlinux works, if an update comes that file will tell us the new location.

I did ask on #debian-perl for comments:

(16:26:34) periapt: Anyone have any thoughts about #807241
(16:26:35) periapt: ?
(16:26:38) zwiebelbot: (notice) Debian#807241: ITP: archlinux-xdg-menu -- Convert freedesktop files to a format used by various WMs - https://bugs.debian.org/807241
(16:27:10) bremner: the name is a bit bizarre
(16:27:12) periapt: thanks zwiebelbot, I was hoping you would look the bug report up for me. (16:27:45) periapt: bremner: Yeah I was not sure whether to stick with the upstream name or go for something more informative.
(16:30:03) periapt: definitely wanted to avoid confusion with #749565 though
(16:30:04) gregoa: periapt: I think it would be good to have this in debian; and I'd strip /^archlinux/ from the package name; and the last time I took a cursory look at the code it had a bug :) (one of the WMs mentioned in one file but missing in a script) (16:30:07) zwiebelbot: (notice) Debian#749565: RFP: rox-xdg-menu -- generates menus for window managers from .desktop files - https://bugs.debian.org/749565
(16:30:26) gregoa: oh, there's a another one?
(16:30:44) gregoa: hm, is there some canonical upstream actually? the archlinux one is taken from suse, IIRC
(16:30:47) periapt: Yeah so I reckon "xdg-menu" is too vague.
(16:31:07) periapt: gregoa: I looked at theSUDEc
(16:31:42) periapt: I looked at the SUSE code and it looked very different , so lot's of upstream stuff with the same name.
(16:34:01) periapt: I almost called it "xdg-menu-convert".
(16:34:13) gregoa: probably diverged at some point; https://www.archlinux.org/packages/community/any/archlinux-xdg-menu/download/ (or the tarballs that comes after the redirect) has: (16:34:16) gregoa: usr/bin/xdg_menu:# xdg-menu for archlinux. based on suse xdg-menu written by <nadvor...@suse.cz> (16:34:19) gregoa: usr/bin/xdg_menu:# >> Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany. All rights reserved.
(16:34:22) gregoa: usr/bin/xdg_menu:# >> Author: nadvor...@suse.cz
(16:35:03) periapt: Yeah well the SUSE one does not support many WMs so no point going for that one.
(16:35:35) gregoa: ok
(16:36:07) gregoa: btw, I was missing awesome; it's in usr/bin/xdg_menu but not in ./usr/bin/update-menus (or ./etc/update-menus.conf) (16:38:18) periapt: I think awesome requires a bit more manual hand holding as you have to play with lua. (16:39:13) periapt: Still I have not actually tried doing any of this stuff, I just had poked around enough I thought I'd better raise an ITP. (16:39:19) gregoa: IIRC, it needs a line to include the generated file in the config. but besides that, usr/bin/xdg_menu can create the lua menu snippet but it looks like usr/bin/update-menus lacks the awesome option
(16:39:37) gregoa: I also haven't tried it, just looked at it some time ago
(16:39:54) periapt: Well I can work out those details as I go along.
(16:40:05) periapt: Two key questions.
(16:40:15) periapt: 1. What should the name be?
(16:40:19) gregoa: sure. - https://wiki.archlinux.org/index.php/Xdg-menu#Awesome has nice instructions for various WMs
(16:40:45) periapt: 2. Any reason not to have it in Perl repository?
(16:41:16) ***gregoa has to run now, sorry. but: no objections against 2)
(17:45:20) periapt: So any better ideas than "xdg-menu-convert"?

Reply via email to