From Jami Kettunen to ~mil/sxmo-devel
- Fix version bump missed in 0.9.1 release - Include LANGUAGES in project() - Make everything more consice --- CMakeLists.txt | 99 ++++++++---------------------------------- gawkext/CMakeLists.txt | 22 ++++++++++ 2 files changed, 40 insertions(+), 81 deletions(-) create mode 100644 gawkext/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index ba51acb..a3a3d31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,64 +1,20 @@ [message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
We should be testing the built tool everywhere, this also shrinks the APKBUILD by quite a bit :) --- Changes since v1: - Fix whitespace issue and move test stuff to a more place in CMakeLists.txt CMakeLists.txt | 7 +++++++ tests.sh | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100755 tests.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f348cc..ba51acb 100644 [message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
We should be testing the built tool everywhere, this also shrinks the APKBUILD by quite a bit :) --- CMakeLists.txt | 7 +++++++ tests.sh | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100755 tests.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f348cc..665d073 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,13 @@ add_executable( src/pnc.cc [message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
This used to install to /usr/man which isn't valid as confirmed under
Alpine, Arch and Void Linux. For example Void's xbps-src printed the
following:
=> pnc-0.9.1_1: running pre-pkg hook: 99-pkglint ...
=> ERROR: pnc-0.9.1_1: /usr/man is forbidden, use /usr/share/man.
=> ERROR: pnc-0.9.1_1: cannot continue with installation!
On Alpine[1] and Arch[2] this was already being worked around by moving
/usr/man under /usr/share/, so the files might as well be installed to
the expected directory.
[1] https://git.alpinelinux.org/aports/tree/community/pn/APKBUILD#n53
[2] https://github.com/dreemurrs-embedded/Pine64-Arch/blob/master/PKGBUILDS/sxmo/pn/PKGBUILD#L32
[message trimmed]
From Jami Kettunen to ~craftyguy/superd
From: Jami Kettunen <jamipkettunen@gmail.com> The "install" target still behaves like before but now one can "make installmisc" to not install the binaries in case they're being handled (built and installed) outside the makefile in e.g. a distribution's package build environment. --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0a7b0d2..8bd6946 100644 --- a/Makefile +++ b/Makefile [message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
This looks much cleaner with the rest of the UI already using glyphs anyway. Additionally split the long ATTACHMENTS assignment into multiple lines, fix printf formatting usage and basename for filenames with spaces. Signed-off-by: Jami Kettunen <jami.kettunen@protonmail.com> --- configs/default_hooks/sxmo_hook_icons.sh | 2 +- scripts/modem/sxmo_modemtext.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/default_hooks/sxmo_hook_icons.sh b/configs/default_hooks/sxmo_hook_icons.sh index dcb5c98..fef5a8b 100644 [message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
--- README.md | 2 ++ clickclack.c | 13 +++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c333dc4..a6b5815 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Clickclack Options: * ``-D`` - Debug mode * ``-e`` - Echo input to output (allows further chaining of tools) * ``-o`` - Vibrate/play sound only on the first character of the line. To be used in combination with the wvkbd -O option. * ``-E`` - Vibrator device event file to use, defaults to `/dev/input/by-path/platform-vibrator-event` or value of[message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
When this is issued you're looking for the list of arguments and wouldn't expect to continue execution further. --- clickclack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clickclack.c b/clickclack.c index 37acecb..63cfba0 100644 --- a/clickclack.c +++ b/clickclack.c @@ -74,6 +74,7 @@ int main(int argc, char* argv[]) echo = 1; } else if (!strcmp(argv[i], "-h")) { usage(argv[0]); [message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b593b7f..ff07cbf 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CFLAGS ?= -O2 all: $(PROGRAMS) clickclack: clickclack.c gcc $(CFLAGS) -o clickclack clickclack.c -l SDL2 $(CC) $(CFLAGS) -o clickclack clickclack.c -l SDL2[message trimmed]
From Jami Kettunen to ~mil/sxmo-devel
With CC=clang the following compile warning was generated: clickclack.c:85:17: warning: too many arguments in call to 'usage' usage(argv[0]); ~~~~~ ^ --- clickclack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clickclack.c b/clickclack.c index 7672f89..37acecb 100644 --- a/clickclack.c +++ b/clickclack.c @@ -35,8 +35,8 @@ extern int errno; [message trimmed]