diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-09-27 12:53:03 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-09-27 12:53:03 +0200 |
commit | 5b9c3f6d3294f87e193d5496d92cc871fb49a331 (patch) | |
tree | d1e9760a1b79e9c2e3f0dcf36e488c26004c4e09 /media-gfx/sane-backends/files | |
parent | app-text/libwpd: amd64 stable (diff) | |
download | gentoo-5b9c3f6d3294f87e193d5496d92cc871fb49a331.tar.gz gentoo-5b9c3f6d3294f87e193d5496d92cc871fb49a331.tar.bz2 gentoo-5b9c3f6d3294f87e193d5496d92cc871fb49a331.zip |
media-gfx/sane-backends: Version bump, add systemd unit files to complete its systemd support
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'media-gfx/sane-backends/files')
3 files changed, 39 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/sane-backends-1.0.27-disable-usb-tests.patch b/media-gfx/sane-backends/files/sane-backends-1.0.27-disable-usb-tests.patch new file mode 100644 index 000000000000..6d208b9fbb83 --- /dev/null +++ b/media-gfx/sane-backends/files/sane-backends-1.0.27-disable-usb-tests.patch @@ -0,0 +1,11 @@ +--- a/testsuite/sanei/sanei_usb_test.c~ 2017-05-15 03:19:11.000000000 +0200 ++++ b/testsuite/sanei/sanei_usb_test.c 2017-09-27 12:13:57.402803737 +0200 +@@ -832,6 +832,8 @@ + int detected, opened, i; + SANE_Int dn[MAX_DEVICES]; + ++ return 77; ++ + #ifdef HAVE_LIBUSB_LEGACY + printf ("\n%s built with old libusb\n\n", argv[0]); + #endif diff --git a/media-gfx/sane-backends/files/saned.socket b/media-gfx/sane-backends/files/saned.socket new file mode 100644 index 000000000000..1aa19e703c97 --- /dev/null +++ b/media-gfx/sane-backends/files/saned.socket @@ -0,0 +1,10 @@ +[Unit] +Description=saned incoming socket + +[Socket] +ListenStream=6566 +Accept=yes +MaxConnections=1 + +[Install] +WantedBy=sockets.target diff --git a/media-gfx/sane-backends/files/saned_at.service b/media-gfx/sane-backends/files/saned_at.service new file mode 100644 index 000000000000..f3282e44da93 --- /dev/null +++ b/media-gfx/sane-backends/files/saned_at.service @@ -0,0 +1,18 @@ +[Unit] +Description=Scanner Service +Requires=saned.socket + +[Service] +ExecStart=/usr/sbin/saned +User=scanner +Group=scanner +StandardInput=null +StandardOutput=syslog +StandardError=syslog +Environment=SANE_CONFIG_DIR=@CONFIGDIR@ +# If you need to debug your configuration uncomment the next line and +# change it as appropriate to set the desired debug options +# Environment=SANE_DEBUG_DLL=255 SANE_DEBUG_NET=255 + +[Install] +Also=saned.socket |