Commit graph

294 commits

Author SHA1 Message Date
glasseyes
35d4e92ab0 [linux] set the version of keyman-config 2018-09-20 09:29:11 +07:00
glasseyes
aed4cf2458 [linux] versioning of reconf depending on git tags
and whether JENKINS is set
2018-09-20 08:58:17 +07:00
glasseyes
452fc8d87c [linux] kmfl_compiler.c to use config.h VERSION 2018-09-20 08:54:55 +07:00
glasseyes
b9649c7409 [linux] and escape the top_builddir to pass it through 2018-09-18 16:54:41 +07:00
glasseyes
532042f58c [linux] include dirs relative to top_builddir 2018-09-18 16:43:44 +07:00
glasseyes
3f1a387f5e [linux] move copy include files to after configure 2018-09-18 16:27:20 +07:00
glasseyes
3b06732d7c [linux] copy include files to build kmfl dir
so that local build can find them
2018-09-18 16:12:16 +07:00
glasseyes
e4d38582da [linux] add keyman-config/build to .gitignore 2018-09-18 15:55:50 +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
9aeedcf8cf [linux] rename dist target to sources 2018-09-17 19:34:56 +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
a54349ee91 [linux] fix README instructions for local build 2018-09-17 16:25:15 +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
d46dc1aa8b update README.md for new build scripts
rename tmpbuild make target to tmpinstall
2018-09-17 10:07:53 +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
ca330e24f2 keyman-config: fix making dist on its own 2018-09-15 17:49:28 +07:00
glasseyes
18e037d66f deb.sh: package version suffix to be +dist not just dist 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
1c7fbb896c [linux] make the cow hook executable
run the cow hook after deb is copied to location
2018-09-15 17:49:28 +07:00
glasseyes
bb3140707f fix last commit 2018-09-15 17:49:28 +07:00
glasseyes
0c3d077dda [linux] touch cow Packages file if it doesn't exist 2018-09-15 17:49:27 +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
46130e876d [linux] add --no-package to jenkins.sh init
avoids calling dpkg-parsechangelog erroneously
2018-09-15 17:49:27 +07:00
glasseyes
4d155f9af0 [linux] fix call to common.sh init
don't pass on parameters
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
f048b9a277 generate man pages for keyman-config in make dist 2018-09-15 17:49:27 +07:00
glasseyes
109b0d65df minor comments to scripts
to kick off a test jenkins build
2018-09-15 17:49:26 +07:00
glasseyes
cc8c983932 don't escape HOME variable 2018-09-15 17:49:26 +07:00
glasseyes
0c7703fb32 add scripts/jenkins.sh for making source packages on jenkins 2018-09-15 17:49:26 +07:00
glasseyes
c294c8d9df move scripts to scripts dir
add VS code workspace for linux dir
that also includes onboard-keyman dir
fix cow.sh creation of hook scripts
2018-09-15 17:49:26 +07:00
glasseyes
f49ad06599 minor configure update 2018-09-15 17:49:26 +07:00
glasseyes
cea9b3f0b2 change Debian maintainer 2018-09-15 17:49:26 +07:00
glasseyes
e4602588ee allow scripts to run on individual projects
potentially useful for jenkins if it has to make the source
packages individually
2018-09-15 17:49:26 +07:00
glasseyes
a620b56399 make Debian source packages 2018-09-15 17:49:26 +07:00
glasseyes
ec0102c4d9 add make nightlydist target
also autotools update
2018-09-15 17:49:25 +07:00
glasseyes
4d3a88eb1a also build keyman-config package 2018-09-15 17:49:25 +07:00
glasseyes
b933898884 scripts to build local Debian packages with pbuilder
Makefile

make deb - build debs for kmflcomp, libkmfl, ibus-kmfl
make cow - set up pbuilder environment
make tmpbuild(default) - build and install to /tmp/kmfl
make install_local - build and install to /usr/local
make uninstall_local - uninstall ibus-kmfl config file

non-release version numbers will be stamped with date to
distinguish between builds
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