From 5393dcd9671499430a867de6a93395ec55bc95ab Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sat, 15 Sep 2018 19:55:04 +0200 Subject: travis: actually build the project --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index abfa4c3..6b68e6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,4 @@ install: - docker build -t sbs-build docker/ script: -# - docker run --rm -it -p 8080:8080 -v "$PWD":/mnt/serial-barcode-scanner sbs-build - - true + - docker run --rm -it -p 8080:8080 -v "$PWD":/mnt/serial-barcode-scanner sbs-build -- cgit v1.2.3 From b0c1c2de705219ab79cb3e976678560ffd0f9ce3 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sat, 15 Sep 2018 20:26:38 +0200 Subject: pgp: fix build for valac 0.42 The change is not backwards compatible, so bump vala dependency. --- debian/control | 2 +- src/pgp/pgp.vala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 479528b..b704e7f 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,7 @@ Build-Depends: libssl-dev, meson, udev, - valac + valac (>= 0.42~) Standards-Version: 4.1.5 Package: shopsystem diff --git a/src/pgp/pgp.vala b/src/pgp/pgp.vala index 6d9bed0..9bff922 100644 --- a/src/pgp/pgp.vala +++ b/src/pgp/pgp.vala @@ -52,7 +52,7 @@ public class PGPKeyArchive { archive.support_format_all(); /* load test archive for now */ - if(archive.open_memory(data, data.length) != Archive.Result.OK) + if(archive.open_memory(data) != Archive.Result.OK) return result; while(archive.next_header(out entry) == Archive.Result.OK) { @@ -68,7 +68,7 @@ public class PGPKeyArchive { if(size > 50000) continue; - if(archive.read_data((void*) content, (ssize_t) size) == size) { + if(archive.read_data(content) == size) { if(!((string) content).has_prefix("-----BEGIN PGP PUBLIC KEY BLOCK-----")) continue; -- cgit v1.2.3 From ad0e5a7ae756a7a63cff5b0a4a77d3b50e9c1fde Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sat, 15 Sep 2018 20:34:10 +0200 Subject: README: add travis status --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d027d13..c36c3ee 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + + Build Status + + This is the Shop System of Oldenburg's Hackspace Mainframe. The software has been developed as a credit based system for members of the -- cgit v1.2.3