Commit graph

2 commits

Author SHA1 Message Date
Alexander Lohnau
e170f15429 kcm/runners: Allow simpler installation of DBus runners
While the install.sh script that is part of the python templates worked
great, it still is visually annoying to have a terminal window open when we
just need to copy/generate two files.

With a krunner-plugininstallerrc file, consumers can provide instructions on
how to generate the dbus service and where to find the desktop file for
the runner.

This is intended for python runners, but can work with any other
language or even prebuild binaries.
In the future, we might want to add the possibility to add dependencies.
But for now, the current state should suffice.

Also, we could adjust the installation without having to edit the
KRunner template and lots of existing KRunner plugins that are already
published.

Since there are a few moving parts involved, an autotest was added to
ensure the files end up in the correct destination.
This also checks the dynamically generated content of the service and
tests the one given line of the desktop file
2023-07-12 18:12:10 +00:00
Weng Xuetian
8e251dbce5 Make emojier use its own data instead of relying on ibus.
1. IBus data originated from unicode official data, use unicode data
   reduce the dependency on emoji feature.
2. It's not build data from run time gives us more control on when to
   update the data. Especially if font does not cover the emoji, it will
   just display a blank space. (At this point unicode-emoji 15.0 is out,
   but noto doesn't fully support it yet).
3. It is never a part of kimpanel infra, so also move it out of kimpanel
   directory.

There are also other some small improvements:
1. The category name string is now under our own control, this also
   fixes the "&" accelerator issue in the side bar.
2. dict loading order now always load en. Otherwise certain language may
   only shows a small number of emoji. Can be tested via
   `LANGUAGE=ti_ER LANG=ti_ER.UTF-8 plasma-emojier`
2022-09-21 16:26:31 +00:00