From: Arnout E. <no...@bz...> - 2019-09-30 08:34:37
|
On Mon, Sep 30, 2019 at 6:17 AM Dima Kogan <no...@di...> wrote: > I just pushed packages targeting Debian/buster (the current stable) into > Debian/experimental. They should now be percolating through the system, Thanks!! > Broadly, this seems to work. Some notes: > > In the debianization I have to tell the build to use the CPPFLAGS from > the environment in addition to the CFLAGS from the environment. Can we > update the notion build system to do that instead? Sure! What changes did you make? Could you share the patch (or even PR)? > I'm still building the notion-dev package, as we have for a very long > time. The notion build system doesn't install any .h files, so the > debianization is doing that. Is this thing useful? Any idea if it works? > Any idea how to test it? I suspect its purpose was to allow building 3rd-party modules. I think that's pretty rare, and anyone building a 3rd-party module would probably be able to just download the notion sources themselves, so I think it is probably fine to drop this package. > The older notion package contained these files, which are no longer > being installed by the build system. Is this correct? > > /usr/share/locale/de/LC_MESSAGES/notion.mo > /usr/share/locale/fr/LC_MESSAGES/notion.mo > /usr/share/man/cs/man1/notion.1.gz > /usr/share/man/fi/man1/notion.1.gz > /usr/share/notion/welcome.cs.txt > /usr/share/notion/welcome.fi.txt This is correct: these were introduced or substantially changed under the Ion License. > After installing the new package on my box, I could run notion, but it > started up in some odd state where the look was different, and most (but > not all) of my bindings didn't work anymore. No error messages. That's weird. > I'm not sure if it reverted to the default bindings or not; it didn't tell me. Reverting to the 'old' bindings requires manual configuration, so that is probably not it. > I tried to hit META+/ (window key and the / key) since the migration page > suggests this shows me the current bindings, but this did nothing. What > is it supposed to do? It is supposed to generate a keybindings documentation like https://notionwm.net/notion4keys.html , except from your current configuration, to a random directory in /tmp looking something like "/tmp/notion.nZd2e/" and then open a browser to view it (with run-mailcap). This may not work if you have customized ioncore_misc.lua or your keybindings in ~/.notion ? Any errors in Notion's output? > As a test I then moved ~/.notion/default-session--0 and restarted > notion. It came up with the correct keybindings this time, but the look > was still broken. It is apparently loading the correct .lua file > defining the look, but it doesn't work anymore. > Can somebody please see why it's loading incorrectly? The title bars > should be yellow, but in the new notion they're coming up black. Perhaps you need to add the 'based_on' fields as documented in the migration notes? Kind regards, Arnout |