[-]
[+]
|
Changed |
_service:tar_git:keyboard-presage.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -1,8 +1,8 @@
<services>
<service name="tar_git">
<param name="url">https://github.com/sailfish-keyboard/sailfishos-presage-predictor</param>
+ <param name="revision">1.2.1</param>
<param name="branch"></param>
- <param name="revision">1.2.0</param>
<param name="debian">N</param>
<param name="dumb">N</param>
</service>
|
[-]
[+]
|
Changed |
_service:tar_git:keyboard-presage-1.2.1.tar.xz/README.md
^
|
@@ -1,21 +1,30 @@
# Presage based input predictor for the Sailfish OS
This input handler plugin provides an alternative text prediction solution to the Xt9 engine shipped by the Jolla. It could be useful if you are using community supported language pack or if you have a ported device.
-## Features ##
+## Features
The predicted words are generated by the presage library. The presage predictions coming from various plugins:
* ngram: this plugin uses a database generated from text corpuses. Basically it tries to match your typed word with sentence fragments in the database and offers the words from those segments.
* user-ngram: this plugin works the same manner as the ngram, but it's database is expanded continously as you type.
* hunspell: it tries to spellcheck the currently typed word with hunspell and if it found to be mistyped it will suggest the correct version as well
# Distribution, releases
-The released build of this plugin (and keyboard layouts utilizing it) can be downloaded from the openrepos:
-https://openrepos.net/content/sailfishkeyboard/keyboard-presage-enus
+The released build of this plugin (and keyboard layouts utilizing it) can be installed from Sailfish Chum repositories:
+```
+# enable chum repository
+
+# search chum repos
+zypper se keyboard-presage-
-https://openrepos.net/content/sailfishkeyboard/keyboard-presage-etee
+# install
+zypper in keyboard-presage-en_US
+```
+or OpenRepos:
+- https://openrepos.net/content/sailfishkeyboard/keyboard-presage-enus
+- https://openrepos.net/content/sailfishkeyboard/maliit-plugin-presage
-https://openrepos.net/content/sailfishkeyboard/maliit-plugin-presage
+Range of keyboards are available.
-#Development hints for using the Sailfish OS SDK
+# Development hints for using the Sailfish OS SDK
If you try to build this package on a vanilia Mer build machine you are going to get some similar errors:
```
No provider of 'libmarisa-devel' found.
@@ -27,22 +36,18 @@
pkgconfig(sqlite3) is needed by maliit-plugin-presage-1.0-7.armv7hl
```
-To overcome this you will need to install the dependency packages to your mer build machine,
-however these packages are not available from the standard repositories.
-(Please note that you will need to perform these steps if your Mer build VM get reinstalled ie. every SDK upgrade.)
+To overcome this you will need to add Sailfish Chum repositories to your target.
Login to your Mer VM with the following command:
```
ssh -p 2222 -i /opt/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
```
-Run the following commands to register rinigus OBS repo and install the dependencies:
+Run the following commands to register Chum OBS repo and install the dependencies (replace with the corresponding SFOS release):
```
-sb2 -t SailfishOS-3.0.2.8-armv7hl -m sdk-install -R zypper ar -f http://repo.merproject.org/obs/home:/rinigus:/keyboard/sailfish_latest_armv7hl rinigus_keyboard_obs
-sb2 -t SailfishOS-3.0.2.8-armv7hl -m sdk-install -R zypper ar -f http://repo.merproject.org/obs/home:/rinigus:/maps/sailfish_latest_armv7hl rinigus_maps_obs
-sb2 -t SailfishOS-3.0.2.8-armv7hl -m sdk-install -R zypper ref
-# type yes to approve the non https warning
-sb2 -t SailfishOS-3.0.2.8-armv7hl -m sdk-install -R zypper in libpresage-devel libmarisa-devel
+sb2 -t SailfishOS-4.2.0.21-aarch64 -m sdk-install -R zypper ar -f https://repo.sailfishos.org/obs/sailfishos:/chum/4.2.0.21_aarch64/ chum_obs
+sb2 -t SailfishOS-4.2.0.21-aarch64 -m sdk-install -R zypper ref
+sb2 -t SailfishOS-4.2.0.21-aarch64 -m sdk-install -R zypper in libpresage-devel libmarisa-devel
```
Now you can build and deploy the package from the Sailfish OS SDK's QtCreator
|