sane: update to 1.0.31.
This commit is contained in:
parent
3a0db962a9
commit
25f7bf4470
2 changed files with 6 additions and 31 deletions
|
@ -1,25 +0,0 @@
|
||||||
From 9785f58c2c09f62aa8968d30982d4c15ec793752 Mon Sep 17 00:00:00 2001
|
|
||||||
From: q66 <daniel@octaforge.org>
|
|
||||||
Date: Tue, 4 Feb 2020 20:55:34 +0100
|
|
||||||
Subject: [PATCH] fix build on big endian
|
|
||||||
|
|
||||||
---
|
|
||||||
backend/genesys/low.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git backend/genesys/low.cpp backend/genesys/low.cpp
|
|
||||||
index 7937fcc..4020456 100644
|
|
||||||
--- backend/genesys/low.cpp
|
|
||||||
+++ backend/genesys/low.cpp
|
|
||||||
@@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession&
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
|
||||||
- if (depth == 16) {
|
|
||||||
+ if (session.params.depth == 16) {
|
|
||||||
dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
--
|
|
||||||
2.24.0
|
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Template file for 'sane'
|
# Template file for 'sane'
|
||||||
pkgname=sane
|
pkgname=sane
|
||||||
_gitlab_release_hash=c3dd60c9e054b5dee1e7b01a7edc98b0
|
_gitlab_release_hash=8bf1cae2e1803aefab9e5331550e5d5d
|
||||||
version=1.0.30
|
version=1.0.31
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="sane-backends-${version}"
|
wrksrc="sane-backends-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-locking --enable-avahi --enable-ipv6 --enable-pthread
|
configure_args="--disable-locking --enable-ipv6 --enable-pthread
|
||||||
--with-usb --docdir=/usr/share/doc/sane ac_cv_func_mmap_fixed_mapped=yes
|
--with-usb --docdir=/usr/share/doc/sane ac_cv_func_mmap_fixed_mapped=yes
|
||||||
$(vopt_with snmp)"
|
$(vopt_with snmp)"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="avahi-libs-devel libjpeg-turbo-devel tiff-devel libgphoto2-devel
|
makedepends="avahi-libs-devel libjpeg-turbo-devel tiff-devel libgphoto2-devel
|
||||||
v4l-utils-devel libusb-devel libressl-devel $(vopt_if snmp net-snmp-devel)"
|
v4l-utils-devel libusb-devel libressl-devel libxml2-devel
|
||||||
|
$(vopt_if snmp net-snmp-devel)"
|
||||||
depends="$(vopt_if snmp net-snmp)"
|
depends="$(vopt_if snmp net-snmp)"
|
||||||
conf_files="/etc/sane.d/*.conf"
|
conf_files="/etc/sane.d/*.conf"
|
||||||
short_desc="Scanner Access Now Easy"
|
short_desc="Scanner Access Now Easy"
|
||||||
|
@ -18,7 +19,7 @@ maintainer="Piraty <piraty1@inbox.ru>"
|
||||||
license="GPL-2.0-or-later, SANE-exception"
|
license="GPL-2.0-or-later, SANE-exception"
|
||||||
homepage="http://www.sane-project.org/"
|
homepage="http://www.sane-project.org/"
|
||||||
distfiles="https://gitlab.com/sane-project/backends/uploads/${_gitlab_release_hash}/sane-backends-${version}.tar.gz"
|
distfiles="https://gitlab.com/sane-project/backends/uploads/${_gitlab_release_hash}/sane-backends-${version}.tar.gz"
|
||||||
checksum=3f5d96a9c47f6124a46bb577c776bbc4896dd17b9203d8bfbc7fe8cbbcf279a3
|
checksum=4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa
|
||||||
|
|
||||||
build_options="snmp"
|
build_options="snmp"
|
||||||
|
|
||||||
|
@ -33,7 +34,6 @@ post_install() {
|
||||||
vinstall ${FILESDIR}/saned.xinetd 644 etc/xinetd.d saned.conf
|
vinstall ${FILESDIR}/saned.xinetd 644 etc/xinetd.d saned.conf
|
||||||
vinstall ${wrksrc}/tools/sane-backends.pc 644 usr/lib/pkgconfig
|
vinstall ${wrksrc}/tools/sane-backends.pc 644 usr/lib/pkgconfig
|
||||||
|
|
||||||
# install udev file
|
|
||||||
vinstall tools/udev/libsane.rules 644 usr/lib/udev/rules.d 49-sane.rules
|
vinstall tools/udev/libsane.rules 644 usr/lib/udev/rules.d 49-sane.rules
|
||||||
|
|
||||||
vlicense LICENSE # License clarification
|
vlicense LICENSE # License clarification
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue