$ sudo dnf copr enable gtb/libfido2$ echo credential challenge | openssl sha256 -binary | base64 > cred_param| mkdir test | |
| cd test | |
| git clone https://github.com/enarx/enarx-keepldr.git | |
| pushd enarx-keepldr | |
| cargo +nightly build | |
| popd | |
| git clone https://github.com/enarx/client.git | |
| pushd client |
| mkdir test | |
| cd test | |
| git clone -b wip/dueno/wasm-test https://github.com/ueno/enarx.git | |
| git clone -b wip/dueno/wasm-test --recurse-submodules https://github.com/ueno/wasmtime.git | |
| cd enarx | |
| cargo make | |
| ./enarx-keep-sgx/target/debug/enarx-keep-sgx \ | |
| --shim enarx-keep-sgx-shim/target/x86_64-unknown-linux-musl/debug/enarx-keep-sgx-shim \ | |
| --code keep-runtime/target/x86_64-unknown-linux-musl/debug/keep-runtime |
| # Will cause pygobject2 be loaded. | |
| import ibus | |
| try: | |
| # pygobject3 cannot be loaded at the same time pygobject2 is | |
| # loaded, so this will raise an exception on Fedora 16 or later. | |
| from gi.repository import Translit | |
| Transliterator = Translit.Transliterator | |
| except ImportError: | |
| # Load libtranslit through ctypes, instead of gi. Maybe the code |
| diff --git a/src/engine.c b/src/engine.c | |
| index dcfbe48..ed82f43 100644 | |
| --- a/src/engine.c | |
| +++ b/src/engine.c | |
| @@ -623,6 +623,12 @@ ibus_m17n_engine_callback (MInputContext *context, | |
| else if (command == Minput_reset) { | |
| } | |
| else if (command == Minput_get_surrounding_text) { | |
| + gchar *text; | |
| + gint cursor_index; |
| #!/bin/sh | |
| # Capture video/audio stream and send it to an Icecast2 server on | |
| # http://127.0.0.1:8000 and to a local file sink "stream.ogv". | |
| # Only tested with Logitech Qcam Pro 9000. | |
| : ${VDEV:=/dev/video1} | |
| : ${OV_TEXT:="caption"} | |
| : ${OV_FONT:="VL Gothic 18"} | |
| : ${ADEV:=hw:1,0} |