[PATCH] gnu: Add gcompris-qt.

  • Done
  • quality assurance status badge
Details
4 participants
  • Efraim Flashner
  • Ludovic Courtès
  • Thomas Danckaert
  • Glenn Morris
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal
E
E
Efraim Flashner wrote on 24 Apr 2017 11:55
E1d2ajn-0001UJ-FD@eggs.gnu.org
* gnu/packages/education.scm (gcompris-qt): New variable.
---
gnu/packages/education.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (70 lines)
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 808be203c..797fe69f6 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,6 +29,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages kde-frameworks) ; extra-cmake-modules
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -102,6 +104,47 @@ of categories with some of the activities available in that category.
")
(license license:gpl3+)))
+(define-public gcompris-qt
+ (package
+ (name "gcompris-qt")
+ (version "0.70")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://gcompris.net/download/qt/src/gcompris-qt-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "01r7i8dmwb2nlfyp0y0mzs8yydmvn5gq7xn1w7g21lysak1mliwa"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags (list "-DQML_BOX2D_MODULE=disabled")
+ #:tests? #f)) ; no test target
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("gettext" ,gettext-minimal)
+ ("perl" ,perl)))
+ (inputs
+ `(("python-2" ,python-2)
+ ("qt" ,qt)))
+ (home-page "http://gcompris.net/index-en.html")
+ (synopsis "Educational games for small children")
+ (description
+ "A large collection of educational games for small children, designed to be
+a unified interface to integrate more educational games. Language-oriented
+games contain vocabulary, sounds, and voices for many different languages.
+Currently available boards include:
+@enumerate
+@item learning how to use a mouse and keyboard
+@item learning simple arithmetic
+@item learning how to read an analog clock
+@item recognize letters after hearing their names
+@item reading practice
+@item small games (memory games, jigsaw puzzles, ...)
+@end enumerate\n")
+ (license license:gpl3+)))
+
(define-public tipp10
(package
(name "tipp10")
--
2.12.2
G
G
Glenn Morris wrote on 24 Apr 2017 18:48
control message for bug 26637
(address . control@debbugs.gnu.org)
E1d2hAN-0002cj-Tk@fencepost.gnu.org
reassign 26637 guix-patches
G
G
Glenn Morris wrote on 24 Apr 2017 18:50
Re: bug#26637: [PATCH] gnu: Add gcompris-qt.
(address . 26637@debbugs.gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
a8mvb53g2k.fsf@fencepost.gnu.org
Report reassigned to guix-patches.

If you want to report bugs by bcc (?), you must specify a Package: in
the first line of the body.

Efraim Flashner wrote:

Toggle quote (73 lines)
> * gnu/packages/education.scm (gcompris-qt): New variable.
> ---
> gnu/packages/education.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 43 insertions(+)
>
> diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
> index 808be203c..797fe69f6 100644
> --- a/gnu/packages/education.scm
> +++ b/gnu/packages/education.scm
> @@ -2,6 +2,7 @@
> ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
> ;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
> +;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -28,6 +29,7 @@
> #:use-module (gnu packages glib)
> #:use-module (gnu packages gnome)
> #:use-module (gnu packages gtk)
> + #:use-module (gnu packages kde-frameworks) ; extra-cmake-modules
> #:use-module (gnu packages perl)
> #:use-module (gnu packages pkg-config)
> #:use-module (gnu packages python)
> @@ -102,6 +104,47 @@ of categories with some of the activities available in that category.
> ")
> (license license:gpl3+)))
>
> +(define-public gcompris-qt
> + (package
> + (name "gcompris-qt")
> + (version "0.70")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://gcompris.net/download/qt/src/gcompris-qt-"
> + version ".tar.xz"))
> + (sha256
> + (base32
> + "01r7i8dmwb2nlfyp0y0mzs8yydmvn5gq7xn1w7g21lysak1mliwa"))))
> + (build-system cmake-build-system)
> + (arguments
> + '(#:configure-flags (list "-DQML_BOX2D_MODULE=disabled")
> + #:tests? #f)) ; no test target
> + (native-inputs
> + `(("extra-cmake-modules" ,extra-cmake-modules)
> + ("gettext" ,gettext-minimal)
> + ("perl" ,perl)))
> + (inputs
> + `(("python-2" ,python-2)
> + ("qt" ,qt)))
> + (home-page "http://gcompris.net/index-en.html")
> + (synopsis "Educational games for small children")
> + (description
> + "A large collection of educational games for small children, designed to be
> +a unified interface to integrate more educational games. Language-oriented
> +games contain vocabulary, sounds, and voices for many different languages.
> +Currently available boards include:
> +@enumerate
> +@item learning how to use a mouse and keyboard
> +@item learning simple arithmetic
> +@item learning how to read an analog clock
> +@item recognize letters after hearing their names
> +@item reading practice
> +@item small games (memory games, jigsaw puzzles, ...)
> +@end enumerate\n")
> + (license license:gpl3+)))
> +
> (define-public tipp10
> (package
> (name "tipp10")
T
T
Thomas Danckaert wrote on 28 Apr 2017 15:02
(address . 26637@debbugs.gnu.org)(address . efraim@flashner.co.il)
cuco9vgvg6h.fsf@thomasdanckaert.be
Hi!

Toggle quote (8 lines)
> + (native-inputs
> + `(("extra-cmake-modules" ,extra-cmake-modules)
> + ("gettext" ,gettext-minimal)
> + ("perl" ,perl)))
> + (inputs
> + `(("python-2" ,python-2)
> + ("qt" ,qt)))

*This time also replying to debbugs*

I think it's nicer to use the modular qt packages if possible? I
checked and it compiles with the following inputs:

(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("gettext" ,gettext-minimal)
("perl" ,perl)
("qttools" ,qttools)))
(inputs
`(("python-2" ,python-2)
("qtbase" ,qtbase)
("qtdeclarative" ,qtdeclarative)
("qtmultimedia" ,qtmultimedia)
("qtsvg" ,qtsvg)
("qtxmlpatterns" ,qtxmlpatterns)
("qtsensors" ,qtsensors)))

otherwise LGTM!

Thomas
E
E
Efraim Flashner wrote on 28 Apr 2017 15:09
(address . 26637@debbugs.gnu.org)
20170428130947.GD28578@macbook42.flashner.co.il
--
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
Date: Fri, 28 Apr 2017 15:48:43 +0300
From: Efraim Flashner <efraim@flashner.co.il>
To: Thomas Danckaert <post@thomasdanckaert.be>
Subject: Re: bug#26637: [PATCH] gnu: Add gcompris-qt.
Message-ID: <20170428124843.GC28578@macbook42.flashner.co.il>
References: <E1d2ajn-0001UJ-FD@eggs.gnu.org>
<cuck264kh4g.fsf@thomasdanckaert.be>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip"
Content-Disposition: inline
In-Reply-To: <cuck264kh4g.fsf@thomasdanckaert.be>
User-Agent: Mutt/1.8.2 (2017-04-18)


--Xm/fll+QQv+hsKip
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 28, 2017 at 11:37:19AM +0200, Thomas Danckaert wrote:
Toggle quote (34 lines)
> Hi!
>=20
> Efraim Flashner <efraim@flashner.co.il> writes:
>=20
> > * gnu/packages/education.scm (gcompris-qt): New variable.
> > ---
> >=20
> > [...]
> >=20
> > + (inputs
> > + `(("python-2" ,python-2)
> > + ("qt" ,qt)))
>=20
> I think it's preferable to use the modular qt packages when possible. I
> and the package builds with the following inputs:
>=20
> (native-inputs
> `(("extra-cmake-modules" ,extra-cmake-modules)
> ("gettext" ,gettext-minimal)
> ("perl" ,perl)
> ("qttools" ,qttools))) ; qtlinguist
> (inputs
> `(("python-2" ,python-2)
> ("qtbase" ,qtbase)
> ("qtdeclarative" ,qtdeclarative)
> ("qtmultimedia" ,qtmultimedia)
> ("qtsvg" ,qtsvg)
> ("qtxmlpatterns" ,qtxmlpatterns)
> ("qtsensors" ,qtsensors)))
>=20
> Otherwise LGTM!
>=20
> Thomas

here's what I have in my WIP area for later testing:

(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("gettext" ,gettext-minimal)
("perl" ,perl)
("qttools" ,qttools)
))
(inputs
`(("python-2" ,python-2)
;("qt" ,qt) ; cannot find qtquick with modular-qt
("qtbase" ,qtbase)
("qtdeclarative" ,qtdeclarative)
("qtmultimedia" ,qtmultimedia)
("qtsensors" ,qtsensors)
("qtsvg" ,qtsvg)
("qtxmlpatterns" ,qtxmlpatterns)
))

So it looks like we have the same package list, unfortunately I couldn't
get it working with modular-qt

--=20
Efraim Flashner <efraim@flashner.co.il> =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--Xm/fll+QQv+hsKip
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkVdB/rIvpOM7bo+N9MHTkX6s7pMFAlkDOhAACgkQ9MHTkX6s
7pMh+BAApEvW77MVbXTF3F/sq7pmS+4+5/QZRmH6pBqz2Ii0TxfMgi5FkPrIV+bh
tPtJ98eoFz6yIVPLtjlx/cGzOEPuzP+5qV9tX374CLiTq/iTh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86ct7rx+Xaq/G1cysTi
1TxxjQF7Tqm/XMpQuKqjsNNf0irAnca4dXWlaVfycoh8O8GyPw8ak7swbbHNwnzp
vDEktI3H4Zos4YeNWgSS2DwX2Rwnk6L1mahKspYPGdlunTFGbzh92mMLnm8aR3iA
+OPUFW3oMh8lOQskmUApCM7Ry/ldhR6JrugpuxkdRVJq6SY2I+ZRMptBL+QlY4gV
PIhMgydiuL06zn5WkXndDOZGTmjJT4K2sRlkWA4IV0JsvO+t3GGiW2nNLJRudPEO
SB0O9/g4+yMQxxngZI4vzJ7tgu8BxlzN2bS5aDWsK/R40P9I7k8=
=6LaI
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 2 May 2017 23:40
control message for bug #26637
(address . control@debbugs.gnu.org)
87h913ym2t.fsf@gnu.org
tags 26637 fixed
close 26637
?
Your comment

This issue is archived.

To comment on this conversation send an email to 26637@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 26637
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch