From unknown Sat Sep 13 09:36:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35992] [PATCH] gnu: Add zbar Resent-From: Guillaume LE VAILLANT Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 May 2019 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35992 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35992@debbugs.gnu.org Cc: Guillaume LE VAILLANT X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155914032226068 (code B ref -1); Wed, 29 May 2019 14:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2019 14:32:02 +0000 Received: from localhost ([127.0.0.1]:59528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVzcV-0006m4-LW for submit@debbugs.gnu.org; Wed, 29 May 2019 10:32:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVwy3-00069K-W0 for submit@debbugs.gnu.org; Wed, 29 May 2019 07:42:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:53611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVwxy-0003dj-Rw for submit@debbugs.gnu.org; Wed, 29 May 2019 07:41:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVwxv-00055y-OG for guix-patches@gnu.org; Wed, 29 May 2019 07:41:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVwxt-0003b0-CS for guix-patches@gnu.org; Wed, 29 May 2019 07:41:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44303) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVwxs-0003XR-OT for guix-patches@gnu.org; Wed, 29 May 2019 07:41:53 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 94B4C2400FD for ; Wed, 29 May 2019 13:41:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1559130105; bh=TUcjkhK88lmr9iXB5EJ9wHXkarF8B6vwPSUux511bdA=; h=From:To:Cc:Subject:Date:From; b=Am+7H1HBQ40dEX/BnfvqM9MrbwNgpCSThcva0zKMJOpyW2LZAK7wZ6Z8QVIGLJl3O Uu8UFHQuoPYYQs4hvlr59NR/QxY7SVzCuq+Lw3DEGOOiDk2OEwkfpGxspNZNDdOTy8 13N86r5D9Yv3Jbr/7wUL3416WFVquNYXgRxIcFCOWsKO/VD9MeLTogYgEbUNMZi6ab 6wI2ekLHBp2CtN7UYJf7w0bvW67IyF+fqE9tR09b2nOwz85FP86cknaOUrECLmJGlR o/vSFa1LSiq3bN9uwnKVx7+aMr4cQFiiJ0PH3WKdAH9Njp10L5MaeK5BnP+u4Z2s2l JeAEjol3rIp2w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45DTM84p77z9rxY; Wed, 29 May 2019 13:41:40 +0200 (CEST) Received: from yamatai.local (unknown [IPv6:2a01:e34:ed03:c7d0:154f:9a6f:8955:52cf]) by vps530281.ovh.net (Postfix) with ESMTPSA id 0C09A3E9B9; Wed, 29 May 2019 13:41:40 +0200 (CEST) From: Guillaume LE VAILLANT Date: Wed, 29 May 2019 13:40:25 +0200 Message-Id: <20190529114025.10099-1-glv@posteo.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Wed, 29 May 2019 10:31:58 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/aidc.scm (zbar): New variable. --- gnu/packages/aidc.scm | 55 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index afcb33ad6d..a55690461d 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2016 Efraim Flashner ;;; Copyright =C2=A9 2017 Hartmut Goebel ;;; Copyright =C2=A9 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,8 +27,15 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (gnu packages autotools) - #:use-module (gnu packages pkg-config) + #:use-module (gnu packages imagemagick) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) #:use-module (gnu packages image) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (guix build-system gnu)) =20 =20 @@ -102,3 +110,48 @@ characters, and is highly robust.") barcodes of the modern ECC200 variety. libdmtx is a shared library, all= owing C/C++ programs to use its capabilities without restrictions or overhead.= ") (license license:bsd-3))) + +(define-public zbar + (package + (name "zbar") + (version "0.23") + (source + (origin + (method url-fetch) + (uri (string-append "https://linuxtv.org/downloads/zbar/zbar-" + version + ".tar.bz2")) + (sha256 + (base32 + "0bmd93a15qpgbsq9c9j33qms18rdrgz6gbc48zi6z9w5pvrvi7z9")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags (list "--with-gtk=3Dauto" + "--with-python=3Dauto" + (string-append "--with-dbusconfdir=3D" + (assoc-ref %outputs "out") + "/etc") + "CXXFLAGS=3D-std=3Dc++11"))) + (native-inputs + `(("glib" ,glib "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("imagemagick" ,imagemagick) + ("libjpeg" ,libjpeg-turbo) + ("python" ,python) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras) + ("v4l-utils" ,v4l-utils))) + (synopsis "Bar code reader") + (description + "ZBar can read barcodes from various sources, such as video streams= , +image files, and raw intensity sensors. It supports EAN-13/UPC-A, UPC-E= , +EAN-8, Code 128, Code 93, Code 39, Codabar, Interleaved 2 of 5, QR Code = and +SQ Code. Included with the library are basic applications for decoding +captured bar code images and using a video device (eg, webcam) as a bar = code +scanner. For application developers, language bindings are included for= C, +C++ and Python as well as GUI widgets for GTK and Qt.") + (home-page "https://github.com/mchehab/zbar") + (license license:lgpl2.1+))) --=20 2.21.0 From unknown Sat Sep 13 09:36:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Guillaume LE VAILLANT Subject: bug#35992: closed (Re: [bug#35992] [PATCH] gnu: Add zbar) Message-ID: References: <87ef4ejp4w.fsf@elephly.net> <20190529114025.10099-1-glv@posteo.net> X-Gnu-PR-Message: they-closed 35992 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 35992@debbugs.gnu.org Date: Fri, 31 May 2019 21:23:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1559337783-31718-1" This is a multi-part message in MIME format... ------------=_1559337783-31718-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35992: [PATCH] gnu: Add zbar which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35992@debbugs.gnu.org. --=20 35992: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35992 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1559337783-31718-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35992-done) by debbugs.gnu.org; 31 May 2019 21:22:41 +0000 Received: from localhost ([127.0.0.1]:36457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWoz3-0008Dr-Hg for submit@debbugs.gnu.org; Fri, 31 May 2019 17:22:41 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWoyz-0008Dc-OP for 35992-done@debbugs.gnu.org; Fri, 31 May 2019 17:22:40 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1559337733; cv=none; d=zoho.com; s=zohoarc; b=kHTVtsjaQc4ktvowzWVNSnKlxkOt6IEVfJgzPr8Zu9HuF4J1K0+0CrEhn8plaJ2Zwj4i+CcElLcJ7D1kZ4ySXuXTA9z51bi5/PwXOEt6Gqve30T//8JuRyftMuq1M2/rmmZRZCCRaUgQtTWOgL8DLV64eqY0SqvBloZA9UunDsc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559337733; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=rAjn/1AiP+mLWUGqRfOxSeiqaZZVN4O/DGlwfhcM+bI=; b=AjPNwlIuDeZUFnoIvBG1tNDktrWUvE2Pzav1oM1GddH+Qv46NBhZyDRT0zI4ZyWS0rFIvXivNsGiBD/NuDMNgnwJgp1cd6HNZOIWpti1gECC1WvKRvIU3KsSdTED2KrlogZd0GJBN+5jKlf339TySFI5yOWrPRNGYi2jwk2BAq8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1559337733; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=188; bh=rAjn/1AiP+mLWUGqRfOxSeiqaZZVN4O/DGlwfhcM+bI=; b=guHFxYVYBUMOvBmdwS7Urdr2bHL2FzoLBFHNyud3eTMLnb+C/N7ItKJOP+geh2LZ CBmmtgnboIpFKPaUDgaKVqkSbk2TO+8CTprleI82tSdB0Qi+C0g+7IYigJw6lPL2ESR MpeSV8zpg859gSs5x23DfA7vmqdHmscuP3b5sCyg= Received: from localhost (p54AD4359.dip0.t-ipconnect.de [84.173.67.89]) by mx.zohomail.com with SMTPS id 1559337730939372.0733265673956; Fri, 31 May 2019 14:22:10 -0700 (PDT) References: <20190529114025.10099-1-glv@posteo.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: Guillaume LE VAILLANT Subject: Re: [bug#35992] [PATCH] gnu: Add zbar In-reply-to: <20190529114025.10099-1-glv@posteo.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 31 May 2019 23:22:07 +0200 Message-ID: <87ef4ejp4w.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35992-done Cc: 35992-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Guillaume, > * gnu/packages/aidc.scm (zbar): New variable. Thanks. I pushed this to the master branch with commit 7293e3dba1 after applying very minor changes. -- Ricardo ------------=_1559337783-31718-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 May 2019 14:32:02 +0000 Received: from localhost ([127.0.0.1]:59528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVzcV-0006m4-LW for submit@debbugs.gnu.org; Wed, 29 May 2019 10:32:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVwy3-00069K-W0 for submit@debbugs.gnu.org; Wed, 29 May 2019 07:42:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:53611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVwxy-0003dj-Rw for submit@debbugs.gnu.org; Wed, 29 May 2019 07:41:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVwxv-00055y-OG for guix-patches@gnu.org; Wed, 29 May 2019 07:41:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVwxt-0003b0-CS for guix-patches@gnu.org; Wed, 29 May 2019 07:41:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44303) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVwxs-0003XR-OT for guix-patches@gnu.org; Wed, 29 May 2019 07:41:53 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 94B4C2400FD for ; Wed, 29 May 2019 13:41:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1559130105; bh=TUcjkhK88lmr9iXB5EJ9wHXkarF8B6vwPSUux511bdA=; h=From:To:Cc:Subject:Date:From; b=Am+7H1HBQ40dEX/BnfvqM9MrbwNgpCSThcva0zKMJOpyW2LZAK7wZ6Z8QVIGLJl3O Uu8UFHQuoPYYQs4hvlr59NR/QxY7SVzCuq+Lw3DEGOOiDk2OEwkfpGxspNZNDdOTy8 13N86r5D9Yv3Jbr/7wUL3416WFVquNYXgRxIcFCOWsKO/VD9MeLTogYgEbUNMZi6ab 6wI2ekLHBp2CtN7UYJf7w0bvW67IyF+fqE9tR09b2nOwz85FP86cknaOUrECLmJGlR o/vSFa1LSiq3bN9uwnKVx7+aMr4cQFiiJ0PH3WKdAH9Njp10L5MaeK5BnP+u4Z2s2l JeAEjol3rIp2w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45DTM84p77z9rxY; Wed, 29 May 2019 13:41:40 +0200 (CEST) Received: from yamatai.local (unknown [IPv6:2a01:e34:ed03:c7d0:154f:9a6f:8955:52cf]) by vps530281.ovh.net (Postfix) with ESMTPSA id 0C09A3E9B9; Wed, 29 May 2019 13:41:40 +0200 (CEST) From: Guillaume LE VAILLANT To: guix-patches@gnu.org Subject: [PATCH] gnu: Add zbar Date: Wed, 29 May 2019 13:40:25 +0200 Message-Id: <20190529114025.10099-1-glv@posteo.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 May 2019 10:31:58 -0400 Cc: Guillaume LE VAILLANT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/aidc.scm (zbar): New variable. --- gnu/packages/aidc.scm | 55 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index afcb33ad6d..a55690461d 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2016 Efraim Flashner ;;; Copyright =C2=A9 2017 Hartmut Goebel ;;; Copyright =C2=A9 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,8 +27,15 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (gnu packages autotools) - #:use-module (gnu packages pkg-config) + #:use-module (gnu packages imagemagick) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) #:use-module (gnu packages image) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (guix build-system gnu)) =20 =20 @@ -102,3 +110,48 @@ characters, and is highly robust.") barcodes of the modern ECC200 variety. libdmtx is a shared library, all= owing C/C++ programs to use its capabilities without restrictions or overhead.= ") (license license:bsd-3))) + +(define-public zbar + (package + (name "zbar") + (version "0.23") + (source + (origin + (method url-fetch) + (uri (string-append "https://linuxtv.org/downloads/zbar/zbar-" + version + ".tar.bz2")) + (sha256 + (base32 + "0bmd93a15qpgbsq9c9j33qms18rdrgz6gbc48zi6z9w5pvrvi7z9")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags (list "--with-gtk=3Dauto" + "--with-python=3Dauto" + (string-append "--with-dbusconfdir=3D" + (assoc-ref %outputs "out") + "/etc") + "CXXFLAGS=3D-std=3Dc++11"))) + (native-inputs + `(("glib" ,glib "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("imagemagick" ,imagemagick) + ("libjpeg" ,libjpeg-turbo) + ("python" ,python) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras) + ("v4l-utils" ,v4l-utils))) + (synopsis "Bar code reader") + (description + "ZBar can read barcodes from various sources, such as video streams= , +image files, and raw intensity sensors. It supports EAN-13/UPC-A, UPC-E= , +EAN-8, Code 128, Code 93, Code 39, Codabar, Interleaved 2 of 5, QR Code = and +SQ Code. Included with the library are basic applications for decoding +captured bar code images and using a video device (eg, webcam) as a bar = code +scanner. For application developers, language bindings are included for= C, +C++ and Python as well as GUI widgets for GTK and Qt.") + (home-page "https://github.com/mchehab/zbar") + (license license:lgpl2.1+))) --=20 2.21.0 ------------=_1559337783-31718-1--