all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add qjson.
@ 2016-11-08 20:29 John Darrington
  2016-11-08 20:50 ` Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: John Darrington @ 2016-11-08 20:29 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

* gnu/pacackes/qt.scm (qjson): New variable.
---
 gnu/packages/qt.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b442356..b434887 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1285,3 +1285,30 @@ embed content from the World Wide Web into your Qt application.  At the same
 time Web content can be enhanced with native controls.")
 
     (license license:lgpl2.1+)))
+
+
+(define-public qjson
+  (package
+    (name "qjson")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/flavio/" name
+                           "/archive/" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "163fspi0xc705irv79qw861fmh68pjyla9vx3kqiq6xrdhb9834j"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("qt-4" ,qt-4)))
+    (arguments
+     `(#:tests? #f)) ; no check target
+    (home-page "http://qjson.sourceforge.net")
+    (synopsis "Qt library mapping between JSON data and Qt objects")
+    (description
+     "QJson is a qt-based library that maps JSON data to QVariant
+objects.  JSON arrays will be mapped to QVariantList instances, while JSON's
+objects will be mapped to QVariantMap.")
+    (license license:lgpl2.1)))
-- 
2.1.4

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

* Re: [PATCH] gnu: Add qjson.
  2016-11-08 20:29 [PATCH] gnu: Add qjson John Darrington
@ 2016-11-08 20:50 ` Leo Famulari
  2016-11-08 20:50 ` Efraim Flashner
  2016-11-08 20:51 ` Leo Famulari
  2 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2016-11-08 20:50 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

On Tue, Nov 08, 2016 at 09:29:16PM +0100, John Darrington wrote:
> * gnu/pacackes/qt.scm (qjson): New variable.

We removed this in August due to concerns about its use of the
unsupported Qt 4:

http://lists.gnu.org/archive/html/guix-devel/2016-08/msg00414.html

But I guess it's okay to re-add it if there is a use case for it. Too
bad it still needs Qt 4.

https://github.com/flavio/qjson/issues/49

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

* Re: [PATCH] gnu: Add qjson.
  2016-11-08 20:29 [PATCH] gnu: Add qjson John Darrington
  2016-11-08 20:50 ` Leo Famulari
@ 2016-11-08 20:50 ` Efraim Flashner
  2016-11-08 20:51 ` Leo Famulari
  2 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2016-11-08 20:50 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1918 bytes --]

On Tue, Nov 08, 2016 at 09:29:16PM +0100, John Darrington wrote:
> * gnu/pacackes/qt.scm (qjson): New variable.
> ---
>  gnu/packages/qt.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
> index b442356..b434887 100644
> --- a/gnu/packages/qt.scm
> +++ b/gnu/packages/qt.scm
> @@ -1285,3 +1285,30 @@ embed content from the World Wide Web into your Qt application.  At the same
>  time Web content can be enhanced with native controls.")
>  
>      (license license:lgpl2.1+)))
> +
> +
> +(define-public qjson
> +  (package
> +    (name "qjson")
> +    (version "0.8.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/flavio/" name
> +                           "/archive/" version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "163fspi0xc705irv79qw861fmh68pjyla9vx3kqiq6xrdhb9834j"))))
> +    (build-system cmake-build-system)
> +    (inputs
> +     `(("qt-4" ,qt-4)))
> +    (arguments
> +     `(#:tests? #f)) ; no check target
> +    (home-page "http://qjson.sourceforge.net")
> +    (synopsis "Qt library mapping between JSON data and Qt objects")
> +    (description
> +     "QJson is a qt-based library that maps JSON data to QVariant
> +objects.  JSON arrays will be mapped to QVariantList instances, while JSON's
> +objects will be mapped to QVariantMap.")
> +    (license license:lgpl2.1)))
> -- 
> 2.1.4
> 

If you have a use for it then go ahead. It was pulled back in August for
using qt-4 and not having any dependants.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: [PATCH] gnu: Add qjson.
  2016-11-08 20:29 [PATCH] gnu: Add qjson John Darrington
  2016-11-08 20:50 ` Leo Famulari
  2016-11-08 20:50 ` Efraim Flashner
@ 2016-11-08 20:51 ` Leo Famulari
  2016-11-08 20:56   ` John Darrington
  2 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-11-08 20:51 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

On Tue, Nov 08, 2016 at 09:29:16PM +0100, John Darrington wrote:
> * gnu/pacackes/qt.scm (qjson): New variable.

> +    (license license:lgpl2.1)))

Also, the package we removed described the license as lgpl2.1+. If we
are bringing this package back, please check which is correct.

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

* Re: [PATCH] gnu: Add qjson.
  2016-11-08 20:51 ` Leo Famulari
@ 2016-11-08 20:56   ` John Darrington
  0 siblings, 0 replies; 5+ messages in thread
From: John Darrington @ 2016-11-08 20:56 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel, John Darrington

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

On Tue, Nov 08, 2016 at 03:51:11PM -0500, Leo Famulari wrote:
     On Tue, Nov 08, 2016 at 09:29:16PM +0100, John Darrington wrote:
     > * gnu/pacackes/qt.scm (qjson): New variable.
     
     > +    (license license:lgpl2.1)))
     
     Also, the package we removed described the license as lgpl2.1+. If we
     are bringing this package back, please check which is correct.

lgpl2.1 (not +) is correct.

But actually I'm not likely to have a use for it myself.  I packaged it because I'm 
building another project which I thought was dependent upon it.  But it turned out
I was mistaken.   

I thought it couldn't do any harm to add it, in case it was useful for anyone else.
But I don't really care either way.

J'

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2016-11-08 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 20:29 [PATCH] gnu: Add qjson John Darrington
2016-11-08 20:50 ` Leo Famulari
2016-11-08 20:50 ` Efraim Flashner
2016-11-08 20:51 ` Leo Famulari
2016-11-08 20:56   ` John Darrington

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.