From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Hill Subject: bug#37680: [PATCH] gnu: simple-scan: Update to 3.34.1 Date: Thu, 10 Oct 2019 13:23:54 -0400 Message-ID: <20191010172354.31934-1-jackhill@jackhill.us> References: <20191009125726.32cc6098@alma-ubu> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49249) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIcBU-0006cP-JU for bug-guix@gnu.org; Thu, 10 Oct 2019 13:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIcBT-0006h6-Bt for bug-guix@gnu.org; Thu, 10 Oct 2019 13:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIcBT-0006h1-8X for bug-guix@gnu.org; Thu, 10 Oct 2019 13:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIcBS-0006H3-V4 for bug-guix@gnu.org; Thu, 10 Oct 2019 13:25:03 -0400 In-Reply-To: <20191009125726.32cc6098@alma-ubu> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37680@debbugs.gnu.org * gnu/package/gnome.scm (simple-scan): Update to 3.34.1 [build-system]: Switch to meson-build-system. [source]: Fetch from GNOME mirrors. [inputs]: Add libwebp. [native-inputs]: Remove colord. [arguments]: Remove #:configure-flags. Remove 'clean phase. [home-page]: Update to current home-page. --- gnu/packages/gnome.scm | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index eae62a1d06..1956a672a3 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4302,48 +4302,35 @@ USB transfers with your high-level application or system daemon.") (define-public simple-scan (package (name "simple-scan") - (version "3.24.1") + (version "3.34.1") (source (origin (method url-fetch) - (uri (string-append "https://launchpad.net/simple-scan/" + (uri (string-append "mirror://gnome/sources/" name "/" (version-major+minor version) "/" - version "/+download/simple-scan-" - version ".tar.xz")) + name "-" version ".tar.xz")) (sha256 (base32 - "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy")))) - (build-system glib-or-gtk-build-system) + "0glzskxdc7p9z7nwcakqc7qzij4l79adlvvb2cj5fmis731zw9yq")))) + (build-system meson-build-system) (inputs `(("gtk" ,gtk+) ("zlib" ,zlib) ("cairo" ,cairo) + ;; Building with colord support fails with + ;; error: Package `colord' not found in specified Vala API directories or GObject-Introspection GIR directories + ;; ("colord-gtk" ,colord-gtk) ("gdk-pixbuf" ,gdk-pixbuf) ("gusb" ,gusb) - ("libsane" ,sane-backends))) + ("libsane" ,sane-backends) + ("libwebp" ,libwebp))) (native-inputs `(("gettext" ,gettext-minimal) ("itstool" ,itstool) - ("colord" ,colord) ("glib" ,glib "bin") ; glib-compile-schemas, etc. ("pkg-config" ,pkg-config) ("vala" ,vala) ("xmllint" ,libxml2))) - (arguments - '(#:configure-flags '("--disable-packagekit") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'clean - (lambda _ - ;; Remove a left-over reference to PackageKit. - - ;; https://bugs.launchpad.net/simple-scan/+bug/1462769 - - ;; There are some generated C files erroneously - ;; included in the source distribution, and this - ;; one breaks the build by referring to a - ;; non-existent header (packagekit.h) - (delete-file "src/ui.c")))))) - (home-page "https://launchpad.net/simple-scan") + (home-page "https://gitlab.gnome.org/GNOME/simple-scan") (synopsis "Document and image scanner") (description "Simple Scan is an easy-to-use application, designed to let users connect their scanner and quickly have the image/document in an -- 2.23.0