Date: Sat, 18 Apr 2026 09:36:51 +0000 From: Don Lewis <truckman@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Olivier Duchateau <duchateau.olivier@gmail.com> Subject: git: 59425f732288 - main - accessibility/onboard: update to 1.4.4.1 Message-ID: <69e350b3.22f49.3f81a105@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by truckman: URL: https://cgit.FreeBSD.org/ports/commit/?id=59425f732288854225299e372dfebc221d60da8d commit 59425f732288854225299e372dfebc221d60da8d Author: Olivier Duchateau <duchateau.olivier@gmail.com> AuthorDate: 2026-04-18 05:02:53 +0000 Commit: Don Lewis <truckman@FreeBSD.org> CommitDate: 2026-04-18 09:36:28 +0000 accessibility/onboard: update to 1.4.4.1 Update to 1.4.4.1 * onboard (1.4.4-1) unstable; urgency=medium [Fixes] * Fix Russian translation of "window handles" * Fixing FreeBSD documentation about python3. * Fixing FreeBSD port. * PR #40 Fix crash and incorrect layout handling introduced by PR * fix(setup): add missing comma before **pkgconfig kwargs [Internal] * CleanUp space in filename * Cleanup [Other] * Add ANSI key geometry variants to Compact layout * Add ANSI key geometry variants to Full Keyboard layout * Add FreeBSD note to README and fall back to /usr/local for locale files in LanguageSupport.py * Add keyboard layout model examples to README * Added files to make a FreeBSD port package. * Added new layout without emoji * CleanUp space in filename * Cleanup * Create .gitattributes * Detect XKB keyboard model and remap keys for ANSI layout * Disable docking when x/y coordinates are specified via command line * Documenting only FreeBSD specific changes. * Fix Russian translation of "window handles" * Fix crash and incorrect layout handling introduced by PR #40 * Fixing FreeBSD documentation about python3. * Fixing FreeBSD port. * Improve Polish translation * Improve changelog generation: add PR detection and structured sections * Increase DPI range limits for size validation * Initial support for FreeBSD. * KeyboardWidget: fix lost pointer enter/leave events during transparency transitions * KeyboardWidget: fix missing hover updates and lost pointer events under X11 * KeyboardWidget: recover lost pointer and hover events during transparency transitions * Lessened FreeBSD impact on existing codebase and focused on patches for port package. * Merge branch 'main' of https://github.com/onboard-osk/onboard * Merge pull request #1 from neurofreak-alt/main * Merge pull request #22 from dr-ni/main * Merge pull request #25 from dr-ni/main * Merge pull request #27 from AlexP11223/fix-ru-po * Merge pull request #31 from joachimvenaas/patch-1 * Merge pull request #33 from alipang/main * Merge pull request #35 from alexmyczko/main * Merge pull request #37 from mikhailnov/no-docking-x-y * Merge pull request #38 from forgecode-imidiate/punctuation-patch * Merge pull request #39 from Matthaiks/pl * Merge pull request #40 from Michael-Lloyd/ansi-keyboard-layout * New project path onboard-osk * Note about maintainer for FreeBSD port package. * Only enable -Wlogical-op on Linux (GCC); fix clang build failures * Point port at upstream repo; remove obsolete patches. * Prevent division by zero in DPI calculations * Reformat * Remove pkg-plist; rely on autoplist to avoid duplicate entries. * Revert "Merge pull request #35 from alexmyczko/main" * Safe DPI calculation * Slimmed AI generated documentation for FreeBSD. * Slimmed AI generated documentation. * Slimmed AI generated documentation. Commented "Next step". * Update Polish translation * Update Russian translations * Update WordSuggestions.py to honor punctuation configuration option * added _logger * added openSUSE and Fedora * apt: install onboard from local repo with pinned version * updatechangelog without master [ Uwe Niethammer ] * Update README.md * Update setup.py [ Alex P. ] * allow to specify unpress_delay via settings * remove unused [ dr-ni ] * added script for toggle-onboard-hoverclick [ Lukas Gottschall ] * Implement key animation hover & set the UNPRESS_DELAY to 0.06 * apt_install_debs.sh: Update GLib schemas & icon cache also the version was not changed. * set the UNPRESS_DELAY back to 0.15 * Preserve 'pressed' colors for fill, stroke, and label on hover Refactor themes/*.colors. Improve key stroke shading based on press state to simulate visual depth to gradient key style. Avoid using unpress timers for non-touch input events. * Add minimum display duration for label popup after key release Add missing label hover colors in themes/*.colors [ Alex P. ] * revert default unpress_delay to 0.15 * increase max unpress_delay [ Lukas Gottschall ] * Set LabelPopup color to match the unpressed and unhovered fill/label color of its key Change pressed color in Charcoal.colors to red Update MIN_LABEL_POPUP_DURATION_MS to 200 ms [ dr-ni ] * Rename unpress-delay to popup-duration * cleanup * added popup duration settings to keyboard->advanced settings * revert UNPRESS_DELAY to 0.06 and code cleanup * Update color schemes * cleanup * fix suggestions colors * added HighContrastInverseBlue theme * update of color schemes * fixed color theme [ Lukas Gottschall ] * Fix: Hover effect remains when cursor leaves keyboard Hide active key popup immediately when another key is pressed * Fix config.MIN_LABEL_POPUP_DURATION_MS was removed * Add hover and pressed state colors to themes/Black.colors Introduce new "Ambiance Dark" color scheme * Resolve merge conflict: popup duration chage [ dr-ni ] * fix typo * fix wrong usage [ Lukas Gottschall ] * Add a script to refresh translations * Start unpress_timers if simulated clicks are active Fix popup random color behaviour [ dr-ni ] * updated de translations * cleanup * updated all po files [ Uwe Niethammer ] * Add files via upload * Update README.md [ dr-ni ] * code cleanup * cleanup * Added new theme 'Ronboard' * fixed color_scheme Remove unneeded patches PR: 294438 --- accessibility/onboard/Makefile | 12 +++---- accessibility/onboard/distinfo | 6 ++-- .../onboard/files/patch-Onboard_LanguageSupport.py | 20 ----------- .../onboard/files/patch-Onboard_osk_osk__util.c | 11 ------ .../files/patch-Onboard_pypredict_lm_lm.cpp | 29 --------------- .../patch-Onboard_pypredict_lm_lm__dynamic.cpp | 41 ---------------------- accessibility/onboard/files/patch-setup.py | 24 ++++--------- accessibility/onboard/pkg-plist | 20 +++++++---- 8 files changed, 29 insertions(+), 134 deletions(-) diff --git a/accessibility/onboard/Makefile b/accessibility/onboard/Makefile index f4315447b8ed..e0808a8efa97 100644 --- a/accessibility/onboard/Makefile +++ b/accessibility/onboard/Makefile @@ -1,6 +1,5 @@ PORTNAME= onboard -DISTVERSIONPREFIX= v -DISTVERSION= 1.4.3-7 +DISTVERSION= 1.4.4-1 CATEGORIES= accessibility MAINTAINER= duchateau.olivier@gmail.com @@ -21,28 +20,29 @@ RUN_DEPENDS= iso-codes>0:misc/iso-codes \ USES= gettext-tools gnome pkgconfig python shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-osk -GH_TAGNAME= 79f870d USE_GNOME= dconf glib20 gtk30 intltool:build pygobject3 GLIB_SCHEMAS= org.onboard.gschema.xml USE_PYTHON= distutils py3kplist USE_XORG= x11 xi xkbfile xtst -SHEBANG_FILES= Onboard/pypredict/tools/checkmodels +SHEBANG_FILES= Onboard/pypredict/tools/checkmodels \ + scripts/toggle-onboard-hoverclick SHEBANG_GLOB= *.py post-patch: ${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/Onboard/Config.py \ - ${WRKSRC}/Onboard/LanguageSupport.py \ ${WRKSRC}/Onboard/Indicator.py \ ${WRKSRC}/data/org.onboard.Onboard.service ${REINPLACE_CMD} -i "" -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ - ${WRKSRC}/setup.py + ${WRKSRC}/setup.py \ + ${WRKSRC}/scripts/sokSettings.py # Avoid to pollute pkg-plist @${FIND} ${WRKSRC} -type f -name '*.orig' -delete post-install: @${RM} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/org.gnome.shell.extensions.onboard-indicator.gschema.xml + @${RM} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}/README* @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Onboard/pypredict/lm${PYTHON_SOABI}.so @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Onboard/osk${PYTHON_SOABI}.so diff --git a/accessibility/onboard/distinfo b/accessibility/onboard/distinfo index 048d6097c274..2e885a1a15b5 100644 --- a/accessibility/onboard/distinfo +++ b/accessibility/onboard/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1764614769 -SHA256 (onboard-osk-onboard-v1.4.3-7-79f870d_GH0.tar.gz) = 428d1473d8f7d303aa6fab20eb48d6633ff19cd166547c93b39b709914f81b41 -SIZE (onboard-osk-onboard-v1.4.3-7-79f870d_GH0.tar.gz) = 11131230 +TIMESTAMP = 1775994436 +SHA256 (onboard-osk-onboard-1.4.4-1_GH0.tar.gz) = ccdc565469e3caefb05473d2ee8bd5069f60b3026abeaa0634a55b38185ce806 +SIZE (onboard-osk-onboard-1.4.4-1_GH0.tar.gz) = 11970489 diff --git a/accessibility/onboard/files/patch-Onboard_LanguageSupport.py b/accessibility/onboard/files/patch-Onboard_LanguageSupport.py deleted file mode 100644 index 799de7b8784d..000000000000 --- a/accessibility/onboard/files/patch-Onboard_LanguageSupport.py +++ /dev/null @@ -1,20 +0,0 @@ ---- Onboard/LanguageSupport.py.orig 2025-07-03 16:13:44 UTC -+++ Onboard/LanguageSupport.py -@@ -228,7 +228,7 @@ class ISOCodes: - self._read_countries() - - def _read_languages(self): -- with open_utf8("/usr/share/xml/iso-codes/iso_639.xml") as f: -+ with open_utf8("%%LOCALBASE%%/share/xml/iso-codes/iso_639.xml") as f: - dom = minidom.parse(f).documentElement - for node in dom.getElementsByTagName("iso_639_entry"): - -@@ -242,7 +242,7 @@ class ISOCodes: - self._languages[lang_code] = lang_name - - def _read_countries(self): -- with open_utf8("/usr/share/xml/iso-codes/iso_3166.xml") as f: -+ with open_utf8("%%LOCALBASE%%/share/xml/iso-codes/iso_3166.xml") as f: - dom = minidom.parse(f).documentElement - for node in dom.getElementsByTagName("iso_3166_entry"): - diff --git a/accessibility/onboard/files/patch-Onboard_osk_osk__util.c b/accessibility/onboard/files/patch-Onboard_osk_osk__util.c deleted file mode 100644 index 6bf00e853513..000000000000 --- a/accessibility/onboard/files/patch-Onboard_osk_osk__util.c +++ /dev/null @@ -1,11 +0,0 @@ ---- Onboard/osk/osk_util.c.orig 2025-07-03 16:13:44 UTC -+++ Onboard/osk/osk_util.c -@@ -37,7 +37,7 @@ typedef struct { - - GdkDisplay *display; - Atom atom_net_active_window; -- PyObject* signal_callbacks[_NSIG]; -+ PyObject* signal_callbacks[NSIG]; - PyObject* onboard_toplevels; - - Atom* watched_root_properties; diff --git a/accessibility/onboard/files/patch-Onboard_pypredict_lm_lm.cpp b/accessibility/onboard/files/patch-Onboard_pypredict_lm_lm.cpp deleted file mode 100644 index 785b28cfd36b..000000000000 --- a/accessibility/onboard/files/patch-Onboard_pypredict_lm_lm.cpp +++ /dev/null @@ -1,29 +0,0 @@ ---- Onboard/pypredict/lm/lm.cpp.orig 2025-07-03 16:13:44 UTC -+++ Onboard/pypredict/lm/lm.cpp -@@ -19,7 +19,7 @@ - - #include <stdlib.h> - #include <stdio.h> --#include <error.h> -+#include <err.h> - #include <algorithm> - #include <cmath> - #include <string> -@@ -37,7 +37,7 @@ StrConv::StrConv() - if (cd_mb_wc == (iconv_t) -1) - { - if (errno == EINVAL) -- error (0, 0, "conversion from UTF-8 to wchar_t not available"); -+ err (0, 0, "conversion from UTF-8 to wchar_t not available"); - else - perror ("iconv_open mb2wc"); - } -@@ -45,7 +45,7 @@ StrConv::StrConv() - if (cd_wc_mb == (iconv_t) -1) - { - if (errno == EINVAL) -- error (0, 0, "conversion from wchar_t to UTF-8 not available"); -+ err (0, 0, "conversion from wchar_t to UTF-8 not available"); - else - perror ("iconv_open wc2mb"); - } diff --git a/accessibility/onboard/files/patch-Onboard_pypredict_lm_lm__dynamic.cpp b/accessibility/onboard/files/patch-Onboard_pypredict_lm_lm__dynamic.cpp deleted file mode 100644 index b1c712d91f7d..000000000000 --- a/accessibility/onboard/files/patch-Onboard_pypredict_lm_lm__dynamic.cpp +++ /dev/null @@ -1,41 +0,0 @@ ---- Onboard/pypredict/lm/lm_dynamic.cpp.orig 2025-07-03 16:13:44 UTC -+++ Onboard/pypredict/lm/lm_dynamic.cpp -@@ -17,7 +17,7 @@ - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - --#include <error.h> -+#include <err.h> - - #include "lm_dynamic.h" - -@@ -91,10 +91,10 @@ LMError DynamicModelBase::load_arpac(const char* filen - int ngrams_read = get_num_ngrams(current_level-1); - if (ngrams_read != ngrams_expected) - { -- error (0, 0, "unexpected n-gram count for level %d: " -- "expected %d n-grams, but read %d", -- current_level, -- ngrams_expected, ngrams_read); -+ err (0, 0, "unexpected n-gram count for level %d: " -+ "expected %d n-grams, but read %d", -+ current_level, -+ ngrams_expected, ngrams_read); - err_code = ERR_COUNT; // count doesn't match number of unique ngrams - break; - } -@@ -105,10 +105,10 @@ LMError DynamicModelBase::load_arpac(const char* filen - if (ntoks < current_level+1) - { - err_code = ERR_NUMTOKENS; // too few tokens for cur. level -- error (0, 0, "too few tokens for n-gram level %d: " -- "line %d, tokens found %d/%d", -- current_level, -- line_number, ntoks, current_level+1); -+ err (0, 0, "too few tokens for n-gram level %d: " -+ "line %d, tokens found %d/%d", -+ current_level, -+ line_number, ntoks, current_level+1); - break; - } - diff --git a/accessibility/onboard/files/patch-setup.py b/accessibility/onboard/files/patch-setup.py index d300d240f4ef..54a89ede6ed3 100644 --- a/accessibility/onboard/files/patch-setup.py +++ b/accessibility/onboard/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig 2025-07-03 16:13:44 UTC +--- setup.py.orig 2026-04-11 20:15:35 UTC +++ setup.py -@@ -159,7 +159,7 @@ def clean_before_build(command): +@@ -160,7 +160,7 @@ def clean_before_build(command): if command in ["build", "build_ext", "clean", "sdist"]: print("removing __pycache__ directories recursively") subprocess.check_call( @@ -9,17 +9,7 @@ # Symlinked extension libraries trip up "setup.py sdist". Delete them. if command in ["clean", "sdist"]: -@@ -262,8 +262,7 @@ class Extension_osk(Extension): - extra_compile_args=[ - "-Wsign-compare", - "-Wdeclaration-after-statement", -- "-Werror=declaration-after-statement", -- "-Wlogical-op"], -+ "-Werror=declaration-after-statement"], - - **pkgconfig('gdk-3.0', 'x11', 'xi', 'xtst', 'xkbfile', - 'dconf', 'libcanberra', 'hunspell', -@@ -311,8 +310,7 @@ class Extension_lm(Extension): +@@ -313,8 +313,7 @@ class Extension_lm(Extension): libraries = [], define_macros=[('NDEBUG', '1')], extra_compile_args=[ @@ -29,7 +19,7 @@ ) extension_lm = Extension_lm("Onboard", "Onboard") -@@ -399,7 +397,7 @@ class build_i18n_custom(DistUtilsExtra.auto.build_i18n +@@ -401,7 +400,7 @@ class build_i18n_custom(DistUtilsExtra.auto.build_i18n # Get the autostart directory autostart_destination = os.path.join(config_path, "autostart") else: @@ -38,7 +28,7 @@ for i, file_set in enumerate(self.distribution.data_files): -@@ -437,33 +435,6 @@ class CustomInstallCommand(install): +@@ -439,33 +438,6 @@ class CustomInstallCommand(install): # Run the default installation install.run(self) @@ -72,7 +62,7 @@ class UninstallCommand(Command): """Custom uninstall command to remove all installed files""" -@@ -619,16 +590,8 @@ DistUtilsExtra.auto.setup( +@@ -621,16 +593,8 @@ DistUtilsExtra.auto.setup( description = 'Simple On-screen Keyboard', packages = ['Onboard', 'Onboard.pypredict'], @@ -90,7 +80,7 @@ ('share/icons/hicolor/16x16/apps', glob.glob('icons/hicolor/16/*')), ('share/icons/hicolor/22x22/apps', glob.glob('icons/hicolor/22/*')), ('share/icons/hicolor/24x24/apps', glob.glob('icons/hicolor/24/*')), -@@ -648,17 +611,13 @@ DistUtilsExtra.auto.setup( +@@ -650,17 +614,13 @@ DistUtilsExtra.auto.setup( ('share/onboard/models', glob.glob('models/*.lm')), ('share/onboard/tools', glob.glob('Onboard/pypredict/tools/checkmodels')), ('share/onboard/emojione/svg', glob.glob('emojione/svg/*.svg')), diff --git a/accessibility/onboard/pkg-plist b/accessibility/onboard/pkg-plist index 04be7584a1c2..d0e4220b5aa1 100644 --- a/accessibility/onboard/pkg-plist +++ b/accessibility/onboard/pkg-plist @@ -155,10 +155,10 @@ etc/xdg/autostart/onboard-autostart.desktop %%PYTHON_SITELIBDIR%%/Onboard/utils.py %%PYTHON_SITELIBDIR%%/__pycache__/settings_ui%%PYTHON_TAG%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/__pycache__/settings_ui%%PYTHON_TAG%%.pyc -%%PYTHON_SITELIBDIR%%/onboard-1.4.3-py%%PYTHON_VER%%.egg-info/PKG-INFO -%%PYTHON_SITELIBDIR%%/onboard-1.4.3-py%%PYTHON_VER%%.egg-info/SOURCES.txt -%%PYTHON_SITELIBDIR%%/onboard-1.4.3-py%%PYTHON_VER%%.egg-info/dependency_links.txt -%%PYTHON_SITELIBDIR%%/onboard-1.4.3-py%%PYTHON_VER%%.egg-info/top_level.txt +%%PYTHON_SITELIBDIR%%/onboard-1.4.4.dev1-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%PYTHON_SITELIBDIR%%/onboard-1.4.4.dev1-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%PYTHON_SITELIBDIR%%/onboard-1.4.4.dev1-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%PYTHON_SITELIBDIR%%/onboard-1.4.4.dev1-py%%PYTHON_VER%%.egg-info/top_level.txt %%PYTHON_SITELIBDIR%%/settings_ui.py share/applications/onboard-settings.desktop share/applications/onboard.desktop @@ -2159,9 +2159,10 @@ share/man/man1/onboard.1.gz %%DATADIR%%/layouts/French_diacritics-Lower.svg %%DATADIR%%/layouts/French_diacritics-Upper.svg %%DATADIR%%/layouts/French_diacritics.onboard -%%DATADIR%%/layouts/Full Keyboard-Alpha.svg -%%DATADIR%%/layouts/Full Keyboard-Numpad.svg -%%DATADIR%%/layouts/Full Keyboard.onboard +%%DATADIR%%/layouts/Full-Emoji-Keyboard.onboard +%%DATADIR%%/layouts/Full-Keyboard-Alpha.svg +%%DATADIR%%/layouts/Full-Keyboard-Numpad.svg +%%DATADIR%%/layouts/Full-Keyboard.onboard %%DATADIR%%/layouts/Grid-Alpha.svg %%DATADIR%%/layouts/Grid.onboard %%DATADIR%%/layouts/Phone-Alpha.svg @@ -2239,12 +2240,15 @@ share/man/man1/onboard.1.gz %%DATADIR%%/models/sv_SE.lm %%DATADIR%%/models/tr_TR.lm %%DATADIR%%/scripts/sokSettings.py +%%DATADIR%%/scripts/toggle-onboard-hoverclick %%DATADIR%%/settings.ui %%DATADIR%%/settings_docking_dialog.ui %%DATADIR%%/settings_scanner_dialog.ui %%DATADIR%%/settings_theme_dialog.ui %%DATADIR%%/themes/Ambiance.theme +%%DATADIR%%/themes/AmbianceDark.theme %%DATADIR%%/themes/Aubergine.colors +%%DATADIR%%/themes/AubergineDark.colors %%DATADIR%%/themes/Black.colors %%DATADIR%%/themes/Blackboard.theme %%DATADIR%%/themes/Charcoal.colors @@ -2259,11 +2263,13 @@ share/man/man1/onboard.1.gz %%DATADIR%%/themes/HighContrastInverse.theme %%DATADIR%%/themes/HighContrastInverseBlack.colors %%DATADIR%%/themes/HighContrastInverseBlue.colors +%%DATADIR%%/themes/HighContrastInverseBlue.theme %%DATADIR%%/themes/LowContrast.colors %%DATADIR%%/themes/LowContrast.theme %%DATADIR%%/themes/ModelM.colors %%DATADIR%%/themes/ModelM.theme %%DATADIR%%/themes/Nightshade.theme +%%DATADIR%%/themes/Ronboard.theme %%DATADIR%%/themes/Typist.colors %%DATADIR%%/themes/Typist.theme %%DATADIR%%/tools/checkmodelshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e350b3.22f49.3f81a105>
