summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-05-17 14:59:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:10 +0700
commita9b1c29f116deb6f736867db0ae3871a510b7849 (patch)
tree172d0fbceb3b12d94f65df001554b6fadfb1cb31
parent1500ec900d98fefdcc3a45e87f94e04d633cc5bb (diff)
downloadslackbuilds-a9b1c29f116deb6f736867db0ae3871a510b7849.tar.gz
graphics/simple-scan: Updated for version 42.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/simple-scan/README2
-rw-r--r--graphics/simple-scan/libwebpmux.patch38
-rw-r--r--graphics/simple-scan/simple-scan.SlackBuild9
-rw-r--r--graphics/simple-scan/simple-scan.info8
-rw-r--r--graphics/simple-scan/slack-desc2
5 files changed, 9 insertions, 50 deletions
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 <ricotz@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="slackbuilds@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: