Hello to anyone following this thread,
I have updated my release of wf-panel-pi (kbdlayout branch) to be up-to-date with version 0.91 from Simon.
One slight change in the installation process that the new version brings is this: during the changes done lately (I missed the exact version), wf-panel-pi has been modified so that, instead of a monolith, it now consists of a core ("the panel") and the plugins, which are compiled into shared libraries (each with the name lib<plugin>.so, for example, "libclock.so" for "clock"), and installed under /usr/lib/aarch64-linux-gnu/wf-panel-pi .
The consequence of this is that, if you build with the instructions given:(and assuming that everything goes well with the build) the resulting binary ./src/panel/wf-panel-pi will not find the widget plugins, if you do not have the stock wf-panel-pi installed. or, if you have it, it will just fail to find the shared library for my kbdlayout plugin. You may notice the following error if you run the compiled wf-panel-pi:Of course, if you do not have the stock wf-panel-pi installed (or you want to uninstall it), a global install:will do the job; however, if you do have the stock wf-panel-pi installed and do not wish to overwrite it with mine, instead you just want to test the latter, you can just install manually my kbdlayout.so plugin's shared library and try to run the binary:The error line must disappear and you must be able to use (add and configure) my kbdlayout plugin. Needless to say that the install of the shared library for my kbdlayout plugin does not harm nor otherwise affects the stock wf-panel-pi.
That said, there is still that annoying issue of my kbdlayout plugin not working under labwc. But I will devote a post to this later.
I have updated my release of wf-panel-pi (kbdlayout branch) to be up-to-date with version 0.91 from Simon.
One slight change in the installation process that the new version brings is this: during the changes done lately (I missed the exact version), wf-panel-pi has been modified so that, instead of a monolith, it now consists of a core ("the panel") and the plugins, which are compiled into shared libraries (each with the name lib<plugin>.so, for example, "libclock.so" for "clock"), and installed under /usr/lib/aarch64-linux-gnu/wf-panel-pi .
The consequence of this is that, if you build with the instructions given:
Code:
$ git clone https://github.com/avarvit/wf-panel-pi.git$ cd wf-panel-pi$ git switch kbdlayout$ meson setup builddir --prefix=/usr --libdir=/usr/lib/aarch64-linux-gnu/$ cd builddir$ meson compile
Code:
$ ./src/panel/wf-panel-pi<several lines of output>Could not open plugin - /usr/lib/aarch64-linux-gnu/wf-panel-pi/libkbdlayout.so: cannot open shared object file: No such file or directory
Code:
$ sudo meson install
Code:
$ sudo install -c -o root -g root src/widgets/kbdlayout/libkbdlayout.so /usr/lib/aarch64-linux-gnu/wf-panel-pi/$ ./src/panel/wf-panel-pi
That said, there is still that annoying issue of my kbdlayout plugin not working under labwc. But I will devote a post to this later.
Statistics: Posted by avarvit — Mon Nov 18, 2024 6:18 pm