From 25f7bf447088778c165dfc812caa45ad50cf1e17 Mon Sep 17 00:00:00 2001 From: Piraty Date: Tue, 25 Aug 2020 20:34:16 +0200 Subject: [PATCH] sane: update to 1.0.31. --- srcpkgs/sane/patches/be.patch | 25 ------------------------- srcpkgs/sane/template | 12 ++++++------ 2 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/sane/patches/be.patch diff --git a/srcpkgs/sane/patches/be.patch b/srcpkgs/sane/patches/be.patch deleted file mode 100644 index a3a4541d03..0000000000 --- a/srcpkgs/sane/patches/be.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9785f58c2c09f62aa8968d30982d4c15ec793752 Mon Sep 17 00:00:00 2001 -From: q66 -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(); - } - #endif --- -2.24.0 - diff --git a/srcpkgs/sane/template b/srcpkgs/sane/template index 7a2ab93439..4812273c94 100644 --- a/srcpkgs/sane/template +++ b/srcpkgs/sane/template @@ -1,16 +1,17 @@ # Template file for 'sane' pkgname=sane -_gitlab_release_hash=c3dd60c9e054b5dee1e7b01a7edc98b0 -version=1.0.30 +_gitlab_release_hash=8bf1cae2e1803aefab9e5331550e5d5d +version=1.0.31 revision=1 wrksrc="sane-backends-${version}" 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 $(vopt_with snmp)" hostmakedepends="pkg-config" 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)" conf_files="/etc/sane.d/*.conf" short_desc="Scanner Access Now Easy" @@ -18,7 +19,7 @@ maintainer="Piraty " license="GPL-2.0-or-later, SANE-exception" homepage="http://www.sane-project.org/" distfiles="https://gitlab.com/sane-project/backends/uploads/${_gitlab_release_hash}/sane-backends-${version}.tar.gz" -checksum=3f5d96a9c47f6124a46bb577c776bbc4896dd17b9203d8bfbc7fe8cbbcf279a3 +checksum=4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa build_options="snmp" @@ -33,7 +34,6 @@ post_install() { vinstall ${FILESDIR}/saned.xinetd 644 etc/xinetd.d saned.conf 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 vlicense LICENSE # License clarification