Hi,

update for simplescan
From a699800b3b263e396f4d6789453fcbd67ffe9316 Mon Sep 17 00:00:00 2001
From: Franzen <slackbui...@schoepfer.info>
Date: Tue, 17 May 2022 06:30:51 +0200
Subject: [PATCH 101/101] graphics/simple-scan: Updated for version 42.1

Signed-off-by: Franzen <slackbui...@schoepfer.info>
---
 graphics/simple-scan/README                 |  2 +-
 graphics/simple-scan/libwebpmux.patch       | 38 ---------------------
 graphics/simple-scan/simple-scan.SlackBuild |  9 ++---
 graphics/simple-scan/simple-scan.info       |  8 ++---
 graphics/simple-scan/slack-desc             |  2 +-
 5 files changed, 9 insertions(+), 50 deletions(-)
 delete mode 100644 graphics/simple-scan/libwebpmux.patch

diff --git a/graphics/simple-scan/README b/graphics/simple-scan/README
index f685f3fef5..f87edaf89c 100644
--- a/graphics/simple-scan/README
+++ b/graphics/simple-scan/README
@@ -3,4 +3,4 @@ It allows you to capture images using image scanners
 (e.g. flatbed scanners) that have suitable SANE drivers installed.
 
 Optional dependencies, detected automatically at compiletime:
-colord, packagekit
+colord
diff --git a/graphics/simple-scan/libwebpmux.patch b/graphics/simple-scan/libwebpmux.patch
deleted file mode 100644
index 51d17eb7dd..0000000000
--- a/graphics/simple-scan/libwebpmux.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 47d3532459863e3b0bc1c7fd3a200f612863c814 Mon Sep 17 00:00:00 2001
-From: Rico Tzschichholz <ric...@ubuntu.com>
-Date: Sat, 14 Sep 2019 20:03:47 +0200
-Subject: [PATCH] libwepmix: Fix use of possibly unassigned local variable
- 'data'
-
----
- src/libwebpmux.vapi | 8 ++------
- 1 file changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/src/libwebpmux.vapi b/src/libwebpmux.vapi
-index f2461a2..42d2886 100644
---- a/src/libwebpmux.vapi
-+++ b/src/libwebpmux.vapi
-@@ -61,9 +61,7 @@ namespace WebP
-         [CCode (cname = "vala_set_image")]
-         public MuxError set_image (uint8[] bitstream, bool copy_data)
-         {
--                Data data;
--                data.bytes = bitstream;
--                data.size = bitstream.length;
-+                Data data = { bitstream, bitstream.length };
-                 return _set_image (data, copy_data);
-         }
- 
-@@ -89,9 +87,7 @@ namespace WebP
-         public MuxError set_chunk (string fourcc, uint8[] chunk_data, bool copy_data)
-         requires (fourcc.length == 4)
-         {
--            Data data;
--            data.bytes = chunk_data;
--            data.size = chunk_data.length;
-+            Data data = { chunk_data ,chunk_data.length };
-             return _set_chunk ((uchar[]) fourcc, data, copy_data);
-         }
- 
--- 
-2.22.0
diff --git a/graphics/simple-scan/simple-scan.SlackBuild b/graphics/simple-scan/simple-scan.SlackBuild
index 67d208f572..39150d11ac 100644
--- a/graphics/simple-scan/simple-scan.SlackBuild
+++ b/graphics/simple-scan/simple-scan.SlackBuild
@@ -2,8 +2,8 @@
 
 # Slackware build script for simple-scan
 
-# Copyright  2010-2017, Nishant Limbachia, Hoffman Estates, IL, USA
-# Copyright  2021  Johannes Schoepfer, Germany
+# Copyright  2010 - 2017  Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright  2021 - 2022  Johannes Schoepfer, Germany
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
 cd $(dirname $0) ; CWD=$(pwd)
 
 PRGNAM="simple-scan"
-VERSION=${VERSION:-3.38.5}
+VERSION=${VERSION:-42.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
   esac
 fi
 
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
 if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
   echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
   exit 0
diff --git a/graphics/simple-scan/simple-scan.info b/graphics/simple-scan/simple-scan.info
index 04a42fe1e2..c73b1cc2db 100644
--- a/graphics/simple-scan/simple-scan.info
+++ b/graphics/simple-scan/simple-scan.info
@@ -1,10 +1,10 @@
 PRGNAM="simple-scan"
-VERSION="3.38.5"
+VERSION="42.1"
 HOMEPAGE="https://gitlab.gnome.org/GNOME/simple-scan";
-DOWNLOAD="https://download.gnome.org/sources/simple-scan/3.38/simple-scan-3.38.5.tar.xz";
-MD5SUM="9988530faaf97ef08c6d29b64846ba6b"
+DOWNLOAD="https://download.gnome.org/sources/simple-scan/42/simple-scan-42.1.tar.xz";
+MD5SUM="bd5c3ad8559a13db93b78d0b01091eb0"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-REQUIRES="libgusb"
+REQUIRES="libgusb libhandy"
 MAINTAINER="Johannes Schoepfer"
 EMAIL="slackbui...@schoepfer.info"
diff --git a/graphics/simple-scan/slack-desc b/graphics/simple-scan/slack-desc
index 403f6efa7c..1c7147dcad 100644
--- a/graphics/simple-scan/slack-desc
+++ b/graphics/simple-scan/slack-desc
@@ -12,7 +12,7 @@ simple-scan: simple-scan is a document scanning application.
 simple-scan: It allows you to capture images using image scanners
 simple-scan: (e.g. flatbed scanners) that have suitable SANE drivers installed.
 simple-scan:
-simple-scan: Homepage: https://gitlab.gnome.org/GNOME/simple-scan
+simple-scan: https://gitlab.gnome.org/GNOME/simple-scan
 simple-scan:
 simple-scan:
 simple-scan:
-- 
2.35.3

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to