Bug 291496 - [New port] accessibility/onboard: Simple on-screen keyboard
Summary: [New port] accessibility/onboard: Simple on-screen keyboard
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Don Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-08 18:41 UTC by Olivier Duchateau
Modified: 2026-03-23 07:46 UTC (History)
3 users (show)

See Also:


Attachments
Add accessibility/onboard (109.43 KB, patch)
2025-12-08 18:41 UTC, Olivier Duchateau
no flags Details | Diff
Add accessibility/onboard (109.43 KB, patch)
2026-01-01 11:04 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duchateau 2025-12-08 18:41:56 UTC
Created attachment 265998 [details]
Add accessibility/onboard

Add accessibility/onboard
Comment 1 Olivier Duchateau 2026-01-01 11:04:35 UTC
Created attachment 266727 [details]
Add accessibility/onboard

New patch, which fixes support for the Cinnamon desktop
Comment 2 Yusuf Yaman freebsd_committer freebsd_triage 2026-03-03 23:31:04 UTC
Hi,

Thanks for your submission. Here is my feedback.

I have first tried Onboard on WindowMaker, then on my main WM; dwm. And It seems to work fine for me (tried with the mouse).

Also some polishing may be made to the port using these tools:
portclippy, portfmt and portlint.

I have encountered a problem when trying to launch onboard-settings from the app itself and it had been solved by the diff below:

--- scripts/sokSettings.py.orig 2026-03-02 19:01:47 UTC
+++ scripts/sokSettings.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.

-PYTHON_EXECUTABLE = "python3"
+PYTHON_EXECUTABLE = "%%PYTHON_CMD%%"

 from gi.repository import GLib

$ uname -aKU
FreeBSD freebsd.home.arpa 14.3-RELEASE-p9 FreeBSD 14.3-RELEASE-p9 GENERIC amd64 1403000 1403000
Comment 3 Don Lewis freebsd_committer freebsd_triage 2026-03-23 06:27:36 UTC
Take
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-03-23 07:46:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42e120f87d591ca3e7ffed28377f352e6751f27d

commit 42e120f87d591ca3e7ffed28377f352e6751f27d
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2026-03-23 07:35:03 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-03-23 07:41:51 +0000

    accessibility/onboard: new port

    Add accessibility/onboard

    On-screen Keyboard with macros, easy layout creation and word suggestion.
    This on-screen keyboard can be useful for tablet PC users, as well as
    for mobility impaired users.

    Apply patch from Yusuf Yaman <nxjoseph@freebsd.org>:
    I have encountered a problem when trying to launch onboard-settings from
    the app itself and it had been solved by the diff below:

    Pet portlint and portclippy (truckman)

    PR:             291496

 accessibility/Makefile                             |    1 +
 accessibility/onboard/Makefile (new)               |   50 +
 accessibility/onboard/distinfo (new)               |    3 +
 .../onboard/files/patch-Onboard_Config.py (new)    |   13 +
 .../patch-Onboard_HardwareSensorTracker.py (new)   |   11 +
 .../onboard/files/patch-Onboard_Indicator.py (new) |   11 +
 .../files/patch-Onboard_LanguageSupport.py (new)   |   20 +
 .../files/patch-Onboard_osk_osk__util.c (new)      |   11 +
 .../files/patch-Onboard_pypredict_lm_lm.cpp (new)  |   29 +
 ...atch-Onboard_pypredict_lm_lm__dynamic.cpp (new) |   41 +
 .../patch-data_onboard-autostart.desktop.in (new)  |    8 +
 .../patch-data_org.onboard.Onboard.service (new)   |    9 +
 .../files/patch-scripts_sokSettings.py (new)       |   11 +
 accessibility/onboard/files/patch-setup.py (new)   |  111 +
 accessibility/onboard/pkg-descr (new)              |    3 +
 accessibility/onboard/pkg-plist (new)              | 2270 ++++++++++++++++++++
 16 files changed, 2602 insertions(+)