unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28162] [PATCH 0/2] Add KDE libdmtx and framework's "prison".
@ 2017-08-20 18:07 Hartmut Goebel
  2017-08-20 18:13 ` [bug#28162] [PATCH 1/2] gnu: Add libdmtx Hartmut Goebel
  2017-09-02 11:28 ` bug#28162: Patches applied Hartmut Goebel
  0 siblings, 2 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-08-20 18:07 UTC (permalink / raw)
  To: 28162

"prison" is a part of KDE frameworks we missed packaging. libdmtx is required
by prison.

Hartmut Goebel (3):
  gnu: Add libdmtx.
  gnu: Add prison.

 gnu/packages/aidc.scm           | 24 ++++++++++++++++++++++++
 gnu/packages/kde-frameworks.scm | 26 ++++++++++++++++++++++++++
 gnu/packages/kde.scm            |  6 ++++--
 3 files changed, 54 insertions(+), 2 deletions(-)

-- 
2.13.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#28162] [PATCH 1/2] gnu: Add libdmtx.
  2017-08-20 18:07 [bug#28162] [PATCH 0/2] Add KDE libdmtx and framework's "prison" Hartmut Goebel
@ 2017-08-20 18:13 ` Hartmut Goebel
  2017-08-20 18:13   ` [bug#28162] [PATCH 2/2] gnu: Add prison Hartmut Goebel
  2017-09-02 11:28 ` bug#28162: Patches applied Hartmut Goebel
  1 sibling, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2017-08-20 18:13 UTC (permalink / raw)
  To: 28162

* gnu/packages/aidc.scm (libdmtx): New variable.
---
 gnu/packages/aidc.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 0864aa649..fa4555ede 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 John Darringon <jmd@gnu.org>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -69,3 +70,26 @@ a mobile phone with CCD.  The capacity of QR Code is up to 7000 digits or 4000
 characters, and is highly robust.")
     (license license:lgpl2.1+)
     (home-page "https://fukuchi.org/works/qrencode")))
+
+(define-public libdmtx
+  (package
+    (name "libdmtx")
+    (version "0.7.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://sourceforge/libdmtx/" name "/" version "/"
+             name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "0xnxx075ycy58n92yfda2z9zgd41h3d4ik5d9l197lzsqim5hb5n"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://libdmtx.sourceforge.net/")
+    (synopsis "Library for reading and writing Data Matrix 2D barcodes")
+    (description "libdmtx is open source software for reading and writing Data
+Matrix 2D barcodes on Linux and Unix.  At its core libdmtx is a shared
+library, allowing C/C++ programs to use its capabilities without restrictions
+or overhead.")
+    (license license:bsd-3)))
-- 
2.13.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#28162] [PATCH 2/2] gnu: Add prison.
  2017-08-20 18:13 ` [bug#28162] [PATCH 1/2] gnu: Add libdmtx Hartmut Goebel
@ 2017-08-20 18:13   ` Hartmut Goebel
  0 siblings, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-08-20 18:13 UTC (permalink / raw)
  To: 28162

* gnu/packages/kde-frameworks.scm (prison): New variable.
---
 gnu/packages/kde-frameworks.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 292b537a1..58bc74236 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -29,6 +29,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages aidc)
   #:use-module (gnu packages attr)
   #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
@@ -1209,6 +1210,31 @@ querying and interacting with hardware independently of the underlying operating
 system.")
     (license license:lgpl2.1+)))
 
+(define-public prison
+  (package
+    (name "prison")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/frameworks/"
+                           (version-major+minor version) "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32 "00wj4yyfhhcq9b54civ5hy1grz70mmi676x50y12crcbbgkxm1lx"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("libdmtx", libdmtx)
+       ("qrencode" ,qrencode)
+       ("qtbase" ,qtbase))) ;; TODO: rethink: nix propagates this
+    (home-page "https://api.kde.org/frameworks/prison/html/index.html")
+    (synopsis "Barcode generation abstraction layer")
+    (description "Prison is a Qt-based barcode abstraction layer/library and
+provides uniform access to generation of barcodes with data.")
+    (license license:lgpl2.1+)))
+
 (define-public sonnet
   (package
     (name "sonnet")
-- 
2.13.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#28162: Patches applied
  2017-08-20 18:07 [bug#28162] [PATCH 0/2] Add KDE libdmtx and framework's "prison" Hartmut Goebel
  2017-08-20 18:13 ` [bug#28162] [PATCH 1/2] gnu: Add libdmtx Hartmut Goebel
@ 2017-09-02 11:28 ` Hartmut Goebel
  1 sibling, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-09-02 11:28 UTC (permalink / raw)
  To: 28162-close

Patches applied as

7ade80220b68ce0f7a2eac7627b6a5059f3e2c33

and

7ae9542bf317c6ee4359cd8665fdc9c836f091ef

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-02 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-20 18:07 [bug#28162] [PATCH 0/2] Add KDE libdmtx and framework's "prison" Hartmut Goebel
2017-08-20 18:13 ` [bug#28162] [PATCH 1/2] gnu: Add libdmtx Hartmut Goebel
2017-08-20 18:13   ` [bug#28162] [PATCH 2/2] gnu: Add prison Hartmut Goebel
2017-09-02 11:28 ` bug#28162: Patches applied Hartmut Goebel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).