From: Arnout E. <no...@bz...> - 2017-02-05 15:24:17
|
On Sun, Feb 5, 2017 at 1:34 PM, Wojciech Aniszewski < ani...@da...> wrote: > about package mantainers. I repeat, I'm NOT using a debian package. Notion > is built > from git snapshot. However, my ~/.notion dates back to 2009 when I started > using ion3, and there are snippets left there dating back to some versions > I could've been using. > I think that's exactly what's going on here: debian-menu.lua was part of the Debian package, but not part of Notion. It seems the debian-menu lua package is automatically generated by some script from the debian packaging ( https://anonscm.debian.org/cgit/collab-maint/notion.git/tree/debian/notion.menu-method ). I think it'd make sense to have something in notion (perhaps contrib) itself instead of relying on the packaging, but then perhaps we should go directly for the freedesktop approach and skip the Debian menu system? Arnout > > w > > > On Sun, Feb 05, 2017 at 12:38:09AM -0800, Dima Kogan wrote: > > Wojciech Aniszewski <ani...@da...> writes: > > > > > Yes I do have that package. You see, depreceated or not, if other WMs > can acces > > > this info (or, for that matter, programs such as 'pdmenu') then why > not Notion. > > > It's more about the failed Notion functionality than menu itself. > Which brings > > > me back to the issue: in cfg_notioncore.lua I see something like: > > > > > > 404 -- Auto-generated Debian menu definitions > > > 405 if os and os.execute("test -x /usr/bin/update-menus") == 0 then > > > 406 if notioncore.is_i18n() then > > > 407 dopath("debian-menu-i18n") > > > 408 else > > > 409 dopath("debian-menu") > > > 410 end > > > 411 end > > > > > > and I don't think the 'debian-menu' module even exists. I'm not sure > if it was built, > > > as I'm using a snapshot, perhaps I should enable it somewhere at build > time. > > > > OK. It works here. I have this: > > > > > > dima@shorty:~/.notion$ ls -l /usr/share/notion/debian-menu* > > > > lrwxrwxrwx 1 root root 36 Jul 14 2016 /usr/share/notion/debian-menu-i18n.lua > -> /var/lib/notion/debian-menu-i18n.lua > > lrwxrwxrwx 1 root root 31 Jul 14 2016 /usr/share/notion/debian-menu.lua > -> /var/lib/notion/debian-menu.lua > > > > > > dima@shorty:~/.notion$ ls -l /var/lib/notion > > > > -rw-r--r-- 1 root root 14196 Jan 18 14:03 debian-menu-i18n.lua > > -rw-r--r-- 1 root root 14196 Jan 18 14:03 debian-menu.lua > > > > > > dima@shorty:~/.notion$ head /var/lib/notion/debian-menu.lua > > > > -- Automatically generated file. Do not edit. > > -- (See /usr/share/doc/menu/menu.txt.gz) > > > > defmenu("Debian/Applications/Accessibility", { > > menuentry("xbindkeys", "ioncore.exec('/usr/bin/xbindkeys')"), > > menuentry("Xmag", "ioncore.exec('xmag')"), > > menuentry("Xzoom", "ioncore.exec('xzoom')"), > > }) > > > > defmenu("Debian/Applications/Data Management", { > > > > > > The menu-updater presumably creates the files in /var/lib, and the links > > maybe are supposed to exist always. What are you missing? > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Notion-general mailing list > > Not...@li... > > https://lists.sourceforge.net/lists/listinfo/notion-general > > -- > Wojtek Aniszewski > [Fr: vôitek anichévsky] > [Eng: voyteck aanishevsky] > > Post-doctoral Resarcher, > University Pierre et Marie Curie (Paris 06) > Institut ∂'Alembert > > www: > [in English:] http://www.coria.fr/spip.php?auteur1606 > [in Polish:] http://nauka-polska.pl/dhtml/raporty/ludzieNauki?rtype= > opis&objectId=240452&lang=pl > > /^..^\ ,-------------------------------------, > ( (••) ) ►►►►| My public GPG key ID: AC66485E | > (|)_._(|)~ | please use email encryption! | > `-------------------------------------" > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Notion-general mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-general > > |