Commit graph

758 commits

Author SHA1 Message Date
glasseyes
0e775769dd [linux] WIP: uninstall_kmp_user 2018-09-20 09:37:03 +07:00
glasseyes
9d83348357 [linux] WIP: install to ~/.local/share/keyman by default 2018-09-20 09:37:02 +07:00
glasseyes
35d4e92ab0 [linux] set the version of keyman-config 2018-09-20 09:29:11 +07:00
glasseyes
1280c4250b [linux] get website 'url' as well as 'description'
in print functions conditionally display optional keys
2018-09-19 18:27:51 +07:00
glasseyes
6994650853 [linux] show exceptions during printing parsed metadata 2018-09-19 16:45:33 +07:00
glasseyes
d910ad7a07 [linux] use an enum for keyman filetype
only use determine_filetype in parsing
2018-09-19 16:38:15 +07:00
Daniel Glassey
b65f0f7f12
Merge branch 'master' into linux-1176-localinstall 2018-09-18 15:54:07 +07:00
glasseyes
ce9aa2b7f2 [linux] separate configure, build and install steps
build steps are now:
make configure (if needed)
make
sudo make install

or:
make fullbuild
sudo make install
2018-09-18 15:45:19 +07:00
Daniel Glassey
3f474c64fe
[linux] convert kb icons to png instead of bmp (#1191)
* [linux] convert kb icons to png instead of bmp

make them antialiased 64x64 so that can be resized ok in the
ibus status indicator and the ibus keyboard selector

* [linux] move linux specific gitignore to linux/.gitignore
2018-09-18 15:28:53 +07:00
glasseyes
7b6e971912 [linux] refactor keyman image search into a function
resize icons back to 16x16 on load to display in km-config
2018-09-18 10:58:55 +07:00
glasseyes
edda7cccf0 [linux] keyman-config debian control typo (from #1180) 2018-09-17 16:55:37 +07:00
glasseyes
12dc10c6ab [linux] another problem from patch in makefile 2018-09-17 16:31:55 +07:00
glasseyes
9a9d063667 [linux] whitespace error in earlier commit 2018-09-17 16:27:49 +07:00
glasseyes
70e871e7af [linux] after testing, fix last commit 2018-09-17 16:23:11 +07:00
glasseyes
3c685c129a [linux] make uninstall (for /usr/local/ install)
move restore of package kmfl.xml to after the rest of uninstall
2018-09-17 15:45:17 +07:00
glasseyes
4def814908 [linux] install and use icons in local install 2018-09-17 15:13:46 +07:00
glasseyes
c3963575a7 python 3.5 compatible string in make step 2018-09-17 10:57:56 +07:00
glasseyes
4e058aabff tmp python site packages dir depends on python version 2018-09-17 10:48:22 +07:00
glasseyes
c169d9ec95 include keyman-config in tmpbuild
sudo make install now installs keyman-config as well
2018-09-17 09:28:17 +07:00
glasseyes
671360915f keyman-config: move imports to after args parse
so that -h can be run without dependencies installed
2018-09-15 17:49:28 +07:00
glasseyes
7fbba6036f use date of last git commit not current date for VERSION
more things needed in some README.repo

cow.sh: make it compatible with xenial
  set DIST for use with optional local .pbuilderrc, also in deb.sh
  link linux/.pbuilderrc to ~/.pbuilderrc if it doesn't exist
2018-09-15 17:49:28 +07:00
glasseyes
b1e48b344b [linux] keyman-config include README.md in dist on xenial
make deb now builds dist rather than devdist
include README.md in Debian package
improve keyman-config dependencies and keyman package description
2018-09-15 17:49:27 +07:00
glasseyes
41e938f728 rename keyman-config package to keyman 2018-09-15 17:49:27 +07:00
glasseyes
4d3a88eb1a also build keyman-config package 2018-09-15 17:49:25 +07:00
glasseyes
71ba022bcd missing logging import 2018-09-14 09:34:32 +07:00
glasseyes
8925f702a6 missing parenthesis 2018-09-13 22:20:43 +07:00
glasseyes
51dcd4a33b [linux] use python logging module to control cl output
for all scripts
add option -v for info messages
-vv for debug messages

remove creation of test ldml output file
2018-09-12 17:14:05 +07:00
glasseyes
aacbf7a281 [linux] further feedback from PR893
if readmeFile not in options then don't use readme.htm even
  if it is there
2018-09-12 13:41:28 +07:00
glasseyes
637712e85c [linux] abort un/installing to ibus if dconf doesn't find key
but continue to un/install the kmp
ibus on stock bionic needs more investigation
2018-09-12 13:18:45 +07:00
glasseyes
34c290d545 [linux] keyman-config setup.py dep on Pillow not PIL 2018-09-12 09:44:17 +07:00
glasseyes
b63fb6fb5c linux: changes for PR893 build and install targets for keyman-config
doc in README.md
update README.md with new scripts names and add doc for
km-package-get and km-kvk2ldml
2018-09-10 15:06:49 +07:00
glasseyes
b87e2da501 linux: rename scripts to km-* from PR 893
remove generated man pages, regenerate in 'make deb'
2018-09-10 14:29:10 +07:00
glasseyes
b690524f73 Linux: some changes from PR893
doc python3-setuptools requirement for keyman-config
removing commented code
fix missed doc reference to view_installed
add TODO about website changes in downloadkeyboard
move linux/osk to linux/experiments/osk
2018-09-10 12:05:22 +07:00
glasseyes
aca334f9c2 menu entry for keyman-config
needs an icon to go with it
2018-09-01 18:59:34 +07:00
glasseyes
7fd233e75d make generic deb build compatible with xenial 2018-09-01 18:29:13 +07:00
glasseyes
924945c86e icons moved to keyman_config 2018-09-01 17:55:37 +07:00
glasseyes
5051668c21 cope with older python subprocess on xenial (3.5) 2018-09-01 17:53:35 +07:00
glasseyes
1d8417c7d9 keyman-config man page
add more info to other man pages
2018-09-01 16:36:30 +07:00
glasseyes
43d0e9cdc4 add name/short description to manpages 2018-09-01 15:48:21 +07:00
glasseyes
22b6c585ae remove kmpmetadata, make man target to build manpages
kmpmetadata isn't a program for users
developers can still run it from keyman_config/kmpmetadata.py
2018-09-01 15:45:49 +07:00
glasseyes
85b49d957c manpages for keyman-config
also improve help output
and set the version in the module
2018-09-01 15:23:35 +07:00
glasseyes
a776bed9b2 keyman-config package is now just links to the scripts 2018-09-01 12:28:16 +07:00
glasseyes
51ebb7300a rename keymanconfig to keyman_config 2018-09-01 12:28:16 +07:00
glasseyes
7b23d782ab missed createkeymandirs.sh 2018-09-01 12:28:16 +07:00
glasseyes
910d6780ec debconf question for making keyman dirs mode 777
This allows all users to install keyboards and only the
user that installed one to uninstall it

more setup instructions in README.md
2018-09-01 11:43:34 +07:00
glasseyes
3c591b60d5 more dependencies
python-magic and gir1.2-webkit-3.0
also create /usr/local/share/keyman etc
2018-08-31 13:48:06 +07:00
glasseyes
8af781e63b list_installed_kmp ignore /usr/share/keyman/icons
d/control: fix dependency
Makefile: add clean target
2018-08-30 21:28:47 +07:00
glasseyes
94398b2f32 Debian packaging
now builds 2 packages keyman-config with the scripts to run
and python3-keyman-config with the keymanconfig module
2018-08-30 17:15:22 +07:00
glasseyes
d6ce07a73e rename keyman module to keymanconfig
keyman is already taken in PyPi
2018-08-30 15:37:27 +07:00
glasseyes
0d3b2539b2 initial Debian packaging and basic Makefile
Makefile only has 'make deb'
2018-08-30 15:28:38 +07:00