Date: Sun, 1 Dec 2019 06:37:28 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518751 - in head/x11: . squeekboard Message-ID: <201912010637.xB16bSn4021254@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Dec 1 06:37:27 2019 New Revision: 518751 URL: https://svnweb.freebsd.org/changeset/ports/518751 Log: x11/squeekboard: add new port Squeekboard is a virtual keyboard supporting Wayland, built primarily for the Librem 5 phone. https://source.puri.sm/Librem5/squeekboard Added: head/x11/squeekboard/ head/x11/squeekboard/Makefile (contents, props changed) head/x11/squeekboard/distinfo (contents, props changed) head/x11/squeekboard/pkg-descr (contents, props changed) head/x11/squeekboard/pkg-message (contents, props changed) Modified: head/x11/Makefile (contents, props changed) Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Sun Dec 1 03:32:45 2019 (r518750) +++ head/x11/Makefile Sun Dec 1 06:37:27 2019 (r518751) @@ -306,6 +306,7 @@ SUBDIR += slop SUBDIR += slurp SUBDIR += smproxy + SUBDIR += squeekboard SUBDIR += sselp SUBDIR += stalonetray SUBDIR += startup-notification Added: head/x11/squeekboard/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/squeekboard/Makefile Sun Dec 1 06:37:27 2019 (r518751) @@ -0,0 +1,100 @@ +# $FreeBSD$ + +PORTNAME= squeekboard +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.2 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= On-screen keyboard for Wayland + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BROKEN_FreeBSD_11= requires getrandom() + +BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols +LIB_DEPENDS= libwayland-client.so:graphics/wayland \ + libcroco-0.6.so:textproc/libcroco \ + libxkbcommon.so:x11/libxkbcommon +RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas + +USES= cargo compiler:c11 gettext-tools gnome meson pkgconfig +USE_GITLAB= yes +USE_GNOME= cairo gtk30 +GL_SITE= https://source.puri.sm +GL_ACCOUNT= Librem5 +GL_COMMIT= 579ba8ab87f395c550eede40922b498feb245300 +PLIST_FILES= bin/${PORTNAME} \ + bin/${PORTNAME}-real \ + share/applications/sm.puri.Squeekboard.desktop + +CARGO_CRATES= aho-corasick-0.7.6 \ + atk-sys-0.7.0 \ + bitflags-1.0.4 \ + cairo-rs-0.5.0 \ + cairo-sys-rs-0.7.0 \ + cc-1.0.45 \ + dtoa-0.4.4 \ + fragile-0.3.0 \ + gdk-0.9.0 \ + gdk-pixbuf-0.5.0 \ + gdk-pixbuf-sys-0.7.0 \ + gdk-sys-0.7.0 \ + gio-0.5.1 \ + gio-sys-0.7.0 \ + glib-0.6.1 \ + glib-sys-0.7.0 \ + gobject-sys-0.7.0 \ + gtk-0.5.0 \ + gtk-sys-0.7.0 \ + lazy_static-1.4.0 \ + libc-0.2.62 \ + linked-hash-map-0.5.2 \ + maplit-1.0.2 \ + memchr-2.2.1 \ + memmap-0.7.0 \ + pango-0.5.0 \ + pango-sys-0.7.0 \ + pkg-config-0.3.16 \ + proc-macro2-1.0.4 \ + quote-1.0.2 \ + regex-1.1.9 \ + regex-syntax-0.6.12 \ + serde-1.0.101 \ + serde_derive-1.0.101 \ + serde_yaml-0.8.9 \ + syn-1.0.5 \ + thread_local-0.3.6 \ + unicode-xid-0.2.0 \ + utf8-ranges-1.0.4 \ + winapi-0.3.8 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + xkbcommon-0.4.0 \ + yaml-rust-0.4.3 + +post-patch: +# Pass USES=cargo environment to USES=meson +# Add --verbose after each cargo subcommand +# Don't use BSD realpath(1) against non-existing files + @${REINPLACE_CMD} -e '/^cargo/ { \ + s,^,cmd=$$1;shift;${CARGO_ENV:N*TARGET_DIR*} ,; \ + s,"$$@","$$cmd" --verbose &,; }' \ + -e '/OUT_PATH=/s,=.*,=$$PWD/$$1,' \ + ${WRKSRC}/cargo*.sh + +post-configure: +# Run USES=meson after USES=cargo configures vendoring + @(cd ${CONFIGURE_WRKSRC} && ${SETENV} \ + ${MAKE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}) + +# Let USES=meson handle the rest +do-build: + @${DO_MAKE_BUILD} -C${BUILD_WRKSRC} ${ALL_TARGET} +do-install: + @${DO_MAKE_BUILD} -C${INSTALL_WRKSRC} ${INSTALL_TARGET} +do-test: + @${DO_MAKE_BUILD} -C${TEST_WRKSRC} ${TEST_TARGET} + +.include <bsd.port.mk> Added: head/x11/squeekboard/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/squeekboard/distinfo Sun Dec 1 06:37:27 2019 (r518751) @@ -0,0 +1,91 @@ +TIMESTAMP = 1574782712 +SHA256 (rust/crates/aho-corasick-0.7.6.tar.gz) = 58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d +SIZE (rust/crates/aho-corasick-0.7.6.tar.gz) = 108953 +SHA256 (rust/crates/atk-sys-0.7.0.tar.gz) = c7017e53393e713212aed7aea336b6553be4927f58c37070a56c2fe3d107e489 +SIZE (rust/crates/atk-sys-0.7.0.tar.gz) = 19904 +SHA256 (rust/crates/bitflags-1.0.4.tar.gz) = 228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12 +SIZE (rust/crates/bitflags-1.0.4.tar.gz) = 15282 +SHA256 (rust/crates/cairo-rs-0.5.0.tar.gz) = dd940f0d609699e343ef71c4af5f66423afbf30d666f796dabd8fd15229cf5b6 +SIZE (rust/crates/cairo-rs-0.5.0.tar.gz) = 22885 +SHA256 (rust/crates/cairo-sys-rs-0.7.0.tar.gz) = d25596627380be4381247dba06c69ad05ca21b3b065bd9827e416882ac41dcd2 +SIZE (rust/crates/cairo-sys-rs-0.7.0.tar.gz) = 10337 +SHA256 (rust/crates/cc-1.0.45.tar.gz) = 4fc9a35e1f4290eb9e5fc54ba6cf40671ed2a2514c3eeb2b2a908dda2ea5a1be +SIZE (rust/crates/cc-1.0.45.tar.gz) = 49112 +SHA256 (rust/crates/dtoa-0.4.4.tar.gz) = ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e +SIZE (rust/crates/dtoa-0.4.4.tar.gz) = 14818 +SHA256 (rust/crates/fragile-0.3.0.tar.gz) = 05f8140122fa0d5dcb9fc8627cfce2b37cc1500f752636d46ea28bc26785c2f9 +SIZE (rust/crates/fragile-0.3.0.tar.gz) = 10203 +SHA256 (rust/crates/gdk-0.9.0.tar.gz) = bcc52c7244046df9d959df87289f1fc5cca23f9f850bab0c967963e2ecb83a96 +SIZE (rust/crates/gdk-0.9.0.tar.gz) = 82003 +SHA256 (rust/crates/gdk-pixbuf-0.5.0.tar.gz) = bc3aa730cb4df3de5d9fed59f43afdf9e5fb2d3d10bfcbd04cec031435ce87f5 +SIZE (rust/crates/gdk-pixbuf-0.5.0.tar.gz) = 14915 +SHA256 (rust/crates/gdk-pixbuf-sys-0.7.0.tar.gz) = 08284f16ce4d909b10d785a763ba190e222d2c1557b29908bf0a661e27a8ac3b +SIZE (rust/crates/gdk-pixbuf-sys-0.7.0.tar.gz) = 8901 +SHA256 (rust/crates/gdk-sys-0.7.0.tar.gz) = 108548ebf5329b551f2b97ab356908d14627905abb74b936c3372de1535aee81 +SIZE (rust/crates/gdk-sys-0.7.0.tar.gz) = 58535 +SHA256 (rust/crates/gio-0.5.1.tar.gz) = 29a44b051990573448edc80b1995237f8b97b5734d2aec05105b9242aa10af11 +SIZE (rust/crates/gio-0.5.1.tar.gz) = 109761 +SHA256 (rust/crates/gio-sys-0.7.0.tar.gz) = 6975ada29f7924dc1c90b30ed3b32d777805a275556c05e420da4fbdc22eb250 +SIZE (rust/crates/gio-sys-0.7.0.tar.gz) = 66280 +SHA256 (rust/crates/glib-0.6.1.tar.gz) = 7a333edf5b9f1411c246ef14e7881b087255f04c56dbef48c64a0cb039b4b340 +SIZE (rust/crates/glib-0.6.1.tar.gz) = 97386 +SHA256 (rust/crates/glib-sys-0.7.0.tar.gz) = 3573351e846caed9f11207b275cd67bc07f0c2c94fb628e5d7c92ca056c7882d +SIZE (rust/crates/glib-sys-0.7.0.tar.gz) = 46459 +SHA256 (rust/crates/gobject-sys-0.7.0.tar.gz) = 08475e4a08f27e6e2287005950114735ed61cec2cb8c1187682a5aec8c69b715 +SIZE (rust/crates/gobject-sys-0.7.0.tar.gz) = 16811 +SHA256 (rust/crates/gtk-0.5.0.tar.gz) = 56a6b30f194f09a17bb7ffa95c3ecdb405abd3b75ff981f831b1f6d18fe115ff +SIZE (rust/crates/gtk-0.5.0.tar.gz) = 310328 +SHA256 (rust/crates/gtk-sys-0.7.0.tar.gz) = d487d333a4b87072e6bf9f2e55befa0ebef01b9496c2e263c0f4a1ff3d6c04b1 +SIZE (rust/crates/gtk-sys-0.7.0.tar.gz) = 114453 +SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443 +SHA256 (rust/crates/libc-0.2.62.tar.gz) = 34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba +SIZE (rust/crates/libc-0.2.62.tar.gz) = 433193 +SHA256 (rust/crates/linked-hash-map-0.5.2.tar.gz) = ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83 +SIZE (rust/crates/linked-hash-map-0.5.2.tar.gz) = 16109 +SHA256 (rust/crates/maplit-1.0.2.tar.gz) = 3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d +SIZE (rust/crates/maplit-1.0.2.tar.gz) = 8871 +SHA256 (rust/crates/memchr-2.2.1.tar.gz) = 88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e +SIZE (rust/crates/memchr-2.2.1.tar.gz) = 20862 +SHA256 (rust/crates/memmap-0.7.0.tar.gz) = 6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b +SIZE (rust/crates/memmap-0.7.0.tar.gz) = 15214 +SHA256 (rust/crates/pango-0.5.0.tar.gz) = 4c2cb169402a3eb1ba034a7cc7d95b8b1c106e9be5ba4be79a5a93dc1a2795f4 +SIZE (rust/crates/pango-0.5.0.tar.gz) = 37882 +SHA256 (rust/crates/pango-sys-0.7.0.tar.gz) = d6eb49268e69dd0c1da5d3001a61aac08e2e9d2bfbe4ae4b19b9963c998f6453 +SIZE (rust/crates/pango-sys-0.7.0.tar.gz) = 20403 +SHA256 (rust/crates/pkg-config-0.3.16.tar.gz) = 72d5370d90f49f70bd033c3d75e87fc529fbfff9d6f7cccef07d6170079d91ea +SIZE (rust/crates/pkg-config-0.3.16.tar.gz) = 14429 +SHA256 (rust/crates/proc-macro2-1.0.4.tar.gz) = afdc77cc74ec70ed262262942ebb7dac3d479e9e5cfa2da1841c0806f6cdabcc +SIZE (rust/crates/proc-macro2-1.0.4.tar.gz) = 35217 +SHA256 (rust/crates/quote-1.0.2.tar.gz) = 053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe +SIZE (rust/crates/quote-1.0.2.tar.gz) = 23023 +SHA256 (rust/crates/regex-1.1.9.tar.gz) = d9d8297cc20bbb6184f8b45ff61c8ee6a9ac56c156cec8e38c3e5084773c44ad +SIZE (rust/crates/regex-1.1.9.tar.gz) = 246517 +SHA256 (rust/crates/regex-syntax-0.6.12.tar.gz) = 11a7e20d1cce64ef2fed88b66d347f88bd9babb82845b2b858f3edbf59a4f716 +SIZE (rust/crates/regex-syntax-0.6.12.tar.gz) = 289531 +SHA256 (rust/crates/serde-1.0.101.tar.gz) = 9796c9b7ba2ffe7a9ce53c2287dfc48080f4b2b362fcc245a259b3a7201119dd +SIZE (rust/crates/serde-1.0.101.tar.gz) = 73115 +SHA256 (rust/crates/serde_derive-1.0.101.tar.gz) = 4b133a43a1ecd55d4086bd5b4dc6c1751c68b1bfbeba7a5040442022c7e7c02e +SIZE (rust/crates/serde_derive-1.0.101.tar.gz) = 49736 +SHA256 (rust/crates/serde_yaml-0.8.9.tar.gz) = 38b08a9a90e5260fe01c6480ec7c811606df6d3a660415808c3c3fa8ed95b582 +SIZE (rust/crates/serde_yaml-0.8.9.tar.gz) = 35344 +SHA256 (rust/crates/syn-1.0.5.tar.gz) = 66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf +SIZE (rust/crates/syn-1.0.5.tar.gz) = 190286 +SHA256 (rust/crates/thread_local-0.3.6.tar.gz) = c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b +SIZE (rust/crates/thread_local-0.3.6.tar.gz) = 12388 +SHA256 (rust/crates/unicode-xid-0.2.0.tar.gz) = 826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c +SIZE (rust/crates/unicode-xid-0.2.0.tar.gz) = 14994 +SHA256 (rust/crates/utf8-ranges-1.0.4.tar.gz) = b4ae116fef2b7fea257ed6440d3cfcff7f190865f170cdad00bb6465bf18ecba +SIZE (rust/crates/utf8-ranges-1.0.4.tar.gz) = 8575 +SHA256 (rust/crates/winapi-0.3.8.tar.gz) = 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6 +SIZE (rust/crates/winapi-0.3.8.tar.gz) = 1128308 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 +SHA256 (rust/crates/xkbcommon-0.4.0.tar.gz) = fda0ea5f7ddabd51deeeda7799bee06274112f577da7dd3d954b8eda731b2fce +SIZE (rust/crates/xkbcommon-0.4.0.tar.gz) = 57500 +SHA256 (rust/crates/yaml-rust-0.4.3.tar.gz) = 65923dd1784f44da1d2c3dbbc5e822045628c590ba72123e1c73d3c230c4434d +SIZE (rust/crates/yaml-rust-0.4.3.tar.gz) = 45768 +SHA256 (Librem5-squeekboard-579ba8ab87f395c550eede40922b498feb245300_GL0.tar.gz) = da627928426d8d0f457b6ca71d8c70bb00aa71215ddcfce9d9abaf6d989e7d4b +SIZE (Librem5-squeekboard-579ba8ab87f395c550eede40922b498feb245300_GL0.tar.gz) = 115657 Added: head/x11/squeekboard/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/squeekboard/pkg-descr Sun Dec 1 06:37:27 2019 (r518751) @@ -0,0 +1,4 @@ +Squeekboard is a virtual keyboard supporting Wayland, built primarily +for the Librem 5 phone. + +WWW: https://source.puri.sm/Librem5/squeekboard Added: head/x11/squeekboard/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/squeekboard/pkg-message Sun Dec 1 06:37:27 2019 (r518751) @@ -0,0 +1,7 @@ +To uhnide the keyboard after launch run + +$ gdbus call --session \ + --dest=sm.puri.OSK0 \ + --object-path=/sm/puri/OSK0 \ + --method=sm.puri.OSK0.SetVisible \ + true
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912010637.xB16bSn4021254>