From 98f9b9e116dc57975b999efe51d6660f72d93bc0 Mon Sep 17 00:00:00 2001 From: Alex Busenius Date: Sat, 28 Oct 2017 22:58:05 +0200 Subject: [PATCH] Released insaned v0.0.3 Start systemd service after installation of ubuntu package. Fixes issue #9. --- README.md | 8 ++++---- debian/changelog | 9 ++++++++- debian/control | 2 +- debian/insaned.install | 1 - debian/insaned.service | 1 + debian/rules | 8 ++++++-- gentoo/media-gfx/insaned/ChangeLog | 12 +++++++++--- .../{insaned-0.0.2.ebuild => insaned-0.0.3.ebuild} | 0 src/config.h | 2 +- 9 files changed, 30 insertions(+), 13 deletions(-) create mode 120000 debian/insaned.service rename gentoo/media-gfx/insaned/{insaned-0.0.2.ebuild => insaned-0.0.3.ebuild} (100%) diff --git a/README.md b/README.md index c8aa9cb..a5a21bc 100644 --- a/README.md +++ b/README.md @@ -108,15 +108,15 @@ If you happen to have a system where SANE headers (sane/sane.h) and libraries (l *Gentoo Linux* 1. Add - [media-gfx/insaned/insaned-0.0.2.ebuild](https://raw.githubusercontent.com/abusenius/insaned/master/gentoo/media-gfx/insaned/insaned-0.0.2.ebuild) to media-gfx/insaned in your local overlay. + [media-gfx/insaned/insaned-0.0.3.ebuild](https://raw.githubusercontent.com/abusenius/insaned/master/gentoo/media-gfx/insaned/insaned-0.0.3.ebuild) to media-gfx/insaned in your local overlay. 2. cd $YOUR_OVERLAY/media-gfx/insaned -3. ebuild insaned-0.0.2.ebuild manifest +3. ebuild insaned-0.0.3.ebuild manifest 4. emerge insaned *Ubuntu Linux (64 bit)* -1. Download [insaned_0.0.2-0ubuntu1_amd64.deb](https://github.com/abusenius/insaned/releases/download/v0.0.2/insaned_0.0.2-0ubuntu1_amd64.deb) -2. sudo dpkg -i insaned_0.0.2-0ubuntu1_amd64.deb +1. Download [insaned_0.0.3-0ubuntu1_amd64.deb](https://github.com/abusenius/insaned/releases/download/v0.0.3/insaned_0.0.3-0ubuntu1_amd64.deb) +2. sudo dpkg -i insaned_0.0.3-0ubuntu2_amd64.deb *FreeBSD* diff --git a/debian/changelog b/debian/changelog index 8b78fcc..e7c7bbd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,12 @@ +insaned (0.0.3-0ubuntu1) xenial; urgency=low + + * Autostart systemd service after installation + * Updated event scripts, added multipage scanning example + + -- Alex Busenius Sat, 28 Oct 2017 23:18:50 +0200 + insaned (0.0.2-0ubuntu1) xenial; urgency=medium * Initial release - -- Alex Busenius Thu, 18 Aug 2016 21:08:42 +0200 + -- Alex Busenius Thu, 18 Aug 2016 21:08:42 +0200 diff --git a/debian/control b/debian/control index 0d5121f..1080fc9 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: insaned Section: graphics Priority: optional Maintainer: Alex Busenius -Build-Depends: debhelper (>=9) +Build-Depends: debhelper (>=9), dh-systemd Standards-Version: 3.9.7 Homepage: https://github.com/abusenius/insaned diff --git a/debian/insaned.install b/debian/insaned.install index f895099..bfc2ef0 100644 --- a/debian/insaned.install +++ b/debian/insaned.install @@ -1,3 +1,2 @@ insaned usr/bin -systemd/insaned.service lib/systemd/system events/* etc/insaned/events diff --git a/debian/insaned.service b/debian/insaned.service new file mode 120000 index 0000000..d7a2b8d --- /dev/null +++ b/debian/insaned.service @@ -0,0 +1 @@ +../systemd/insaned.service \ No newline at end of file diff --git a/debian/rules b/debian/rules index 2f54c47..50c6a6b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. -#export DH_VERBOSE = 1 +export DH_VERBOSE = 1 # see FEATURE AREAS in dpkg-buildflags(1) @@ -15,7 +15,11 @@ %: - dh $@ + dh $@ --with systemd + + +override_dh_installinit: + dh_installinit --noscripts # dh_make generated override targets diff --git a/gentoo/media-gfx/insaned/ChangeLog b/gentoo/media-gfx/insaned/ChangeLog index 65c055f..062917a 100644 --- a/gentoo/media-gfx/insaned/ChangeLog +++ b/gentoo/media-gfx/insaned/ChangeLog @@ -2,14 +2,20 @@ # Copyright 2013-2016 Alex Busenius; Distributed under the GPL v2 # $Header: $ +*insaned-0.0.3 (28 Oct 2017) + + 28 Oct 2017; Alex Busenius +insaned-0.0.3.ebuild, + -insaned-0.0.2.ebuild: + Updated event scripts, added multipage scanning example. + *insaned-0.0.2 (18 Aug 2016) - 18 Aug 2016; Alex Busenius +insaned-0.0.2.ebuild, + 18 Aug 2016; Alex Busenius +insaned-0.0.2.ebuild, -insaned-0.0.1.ebuild:: Log file and PID directory are created by the daemon if needed. *insaned-0.0.1 (15 Dec 2013) - 15 Dec 2013; Alex Busenius insaned-0.0.1.ebuild: - Initial ebuild by Alex Busenius . + 15 Dec 2013; Alex Busenius insaned-0.0.1.ebuild: + Initial release. diff --git a/gentoo/media-gfx/insaned/insaned-0.0.2.ebuild b/gentoo/media-gfx/insaned/insaned-0.0.3.ebuild similarity index 100% rename from gentoo/media-gfx/insaned/insaned-0.0.2.ebuild rename to gentoo/media-gfx/insaned/insaned-0.0.3.ebuild diff --git a/src/config.h b/src/config.h index 44c9bca..beec435 100644 --- a/src/config.h +++ b/src/config.h @@ -3,5 +3,5 @@ #define PACKAGE "insaned" /* Define to the version of the distribution. */ -#define VERSION "0.0.2" +#define VERSION "0.0.3"