From unknown Sun Jun 22 00:11:51 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38768] [PATCH] Add omnitux Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Dec 2019 23:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38768@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157748942729191 (code B ref -1); Fri, 27 Dec 2019 23:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2019 23:30:27 +0000 Received: from localhost ([127.0.0.1]:57874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikz3q-0007al-L2 for submit@debbugs.gnu.org; Fri, 27 Dec 2019 18:30:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:52340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikz3o-0007ad-FD for submit@debbugs.gnu.org; Fri, 27 Dec 2019 18:30:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35081) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikz3m-0001AQ-TC for guix-patches@gnu.org; Fri, 27 Dec 2019 18:30:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, 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 1ikz3l-0002ki-Cw for guix-patches@gnu.org; Fri, 27 Dec 2019 18:30:22 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:36009) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikz3l-0002k6-2K for guix-patches@gnu.org; Fri, 27 Dec 2019 18:30:21 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id C0CDD240005 for ; Fri, 27 Dec 2019 23:30:18 +0000 (UTC) From: Nicolas Goaziou Date: Sat, 28 Dec 2019 00:30:17 +0100 Message-ID: <87sgl51h4m.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.193 X-Spam-Score: -1.6 (-) 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.6 (--) --=-=-= Content-Type: text/plain Hello, The following patch adds Omnitux. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-omnitux.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add Omnitux >From c7bf12329465a98263f3ce76e190058e17471932 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 28 Dec 2019 00:28:15 +0100 Subject: [PATCH] gnu: Add omnitux. * gnu/packages/education.scm (omnitux): New variable. --- gnu/packages/education.scm | 102 +++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 0f88954fa2..8aac7d4135 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -485,6 +485,108 @@ letters of the alphabet, spelling, eye-hand coordinat= ion, etc.") (home-page "http://www.schoolsplay.org") (license license:gpl3+))) =20 +(define-public omnitux + (package + (name "omnitux") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/omnitux/omnitux/" + "v" version "/omnitux-" version ".tar.bz2")) + (sha256 + (base32 "1wmmmbzmxd0blhn00d4g91xwavnab143a31ca3i8hrqgzh6qz9w6")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove pre-compiled .pyc files from source. + (for-each delete-file (find-files "bin" "\\.pyc$")) + #t)))) + (build-system python-build-system) + (inputs + `(("python2-pygame" ,python2-pygame) + ("python2-pygtk" ,python2-pygtk))) + (arguments + `(#:tests? #f ;no test + #:python ,python-2 + #:phases + (modify-phases %standard-phases + (delete 'build) ;no setup.py + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (data (string-append share "/omnitux"))) + ;; Install documentation. + (let ((doc (string-append share "/doc/" ,name "-" ,version)= )) + (for-each (lambda (f) (install-file f doc)) + '("LICENSE.txt" "README.txt"))) + ;; Install data. + (install-file "omnitux.sh" data) + (for-each (lambda (d) + (copy-recursively d (string-append data "/" d))) + '("bin" "data")) + ;; Install the launcher. + (let* ((bin (string-append out "/bin")) + (script (string-append bin "/omnitux")) + (bash (string-append (assoc-ref %build-inputs "bash") + "/bin/bash")) + (python (string-append (assoc-ref %build-inputs "pyt= hon") + "/bin/python2"))) + (mkdir-p bin) + (with-output-to-file script + (lambda () + (format #t "#!~a~%" bash) + (format #t + "cd ~a; ~a menu.py~%" + (string-append data "/bin") + python))) + (chmod script #o755)) + ;; Install icon and desktop file. + (let ((pixmaps (string-append share "/pixmaps"))) + (install-file "data/default/icons/Omnitux_logo.svg" pixma= ps)) + (let ((apps (string-append out "/share/applications"))) + (mkdir-p apps) + (with-output-to-file (string-append apps "/omnitux.deskto= p") + (lambda _ + (format #t + "[Desktop Entry]~@ + Name=3DOmnitux~@ + GenericName=3DOmnitux + Comment=3DAn educational game based on multi= media elements.~@ + Comment[fr]=3DUn jeu ludo-=C3=A9ducatif bas= =C3=A9 sur des =C3=A9l=C3=A9ments multim=C3=A9dias.~@ + Exec=3D~a/bin/omnitux~@ + Type=3DApplication~@ + Categories=3DGame;Education;~@ + Terminal=3Dfalse~@ + Icon=3DOmnitux_logo.svg~@" + out)))) + #t)))))) + (home-page "http://omnitux.sourceforge.net/") + (synopsis "Educational activities based on multimedia elements") + (description "The project aims to provide various educational +activities around multimedia elements (images, sounds, texts). Types +of activities include: +@itemize +@item associations, +@item items to place on a map or a schema, +@item counting activities, +@item puzzles, +@item card faces to remember, +@item find differences between two pictures, +@item ... +@end itemize + +Activities are available in English, French, German, Polish, +Portuguese, Spanish and Italian.") + ;; Project's license is GPL3+, but multimedia elements are + ;; released under various licenses. + (license (list license:gpl3+ + license:gpl2+ + license:cc-by-sa2.0 + license:cc-by-sa3.0 + license:public-domain)))) + (define-public fet (package (name "fet") --=20 2.24.1 --=-=-=-- From unknown Sun Jun 22 00:11:51 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: Nicolas Goaziou Subject: bug#38768: closed (Re: [bug#38768] [PATCH] Add omnitux) Message-ID: References: <87k15bexd9.fsf@nicolasgoaziou.fr> <87sgl51h4m.fsf@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 38768 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 38768@debbugs.gnu.org Date: Tue, 28 Jan 2020 09:37:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1580204221-679-1" This is a multi-part message in MIME format... ------------=_1580204221-679-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38768: [PATCH] Add omnitux 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 38768@debbugs.gnu.org. --=20 38768: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38768 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580204221-679-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38768-done) by debbugs.gnu.org; 28 Jan 2020 09:36:30 +0000 Received: from localhost ([127.0.0.1]:59550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwNIM-00009v-C5 for submit@debbugs.gnu.org; Tue, 28 Jan 2020 04:36:30 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:44851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwNIL-00009n-BW for 38768-done@debbugs.gnu.org; Tue, 28 Jan 2020 04:36:29 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id E01C6240003 for <38768-done@debbugs.gnu.org>; Tue, 28 Jan 2020 09:36:26 +0000 (UTC) From: Nicolas Goaziou To: 38768-done@debbugs.gnu.org Subject: Re: [bug#38768] [PATCH] Add omnitux References: <87sgl51h4m.fsf@nicolasgoaziou.fr> Date: Tue, 28 Jan 2020 10:36:18 +0100 In-Reply-To: <87sgl51h4m.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 28 Dec 2019 00:30:17 +0100") Message-ID: <87k15bexd9.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 38768-done 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.7 (-) Nicolas Goaziou writes: > The following patch adds Omnitux. Applied as 3450bb81e212187a2c65d7e884668d4fc805ef09. ------------=_1580204221-679-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Dec 2019 23:30:27 +0000 Received: from localhost ([127.0.0.1]:57874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikz3q-0007al-L2 for submit@debbugs.gnu.org; Fri, 27 Dec 2019 18:30:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:52340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikz3o-0007ad-FD for submit@debbugs.gnu.org; Fri, 27 Dec 2019 18:30:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35081) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikz3m-0001AQ-TC for guix-patches@gnu.org; Fri, 27 Dec 2019 18:30:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, 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 1ikz3l-0002ki-Cw for guix-patches@gnu.org; Fri, 27 Dec 2019 18:30:22 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:36009) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikz3l-0002k6-2K for guix-patches@gnu.org; Fri, 27 Dec 2019 18:30:21 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id C0CDD240005 for ; Fri, 27 Dec 2019 23:30:18 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add omnitux Date: Sat, 28 Dec 2019 00:30:17 +0100 Message-ID: <87sgl51h4m.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.193 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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.6 (--) --=-=-= Content-Type: text/plain Hello, The following patch adds Omnitux. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-omnitux.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add Omnitux >From c7bf12329465a98263f3ce76e190058e17471932 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 28 Dec 2019 00:28:15 +0100 Subject: [PATCH] gnu: Add omnitux. * gnu/packages/education.scm (omnitux): New variable. --- gnu/packages/education.scm | 102 +++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 0f88954fa2..8aac7d4135 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -485,6 +485,108 @@ letters of the alphabet, spelling, eye-hand coordinat= ion, etc.") (home-page "http://www.schoolsplay.org") (license license:gpl3+))) =20 +(define-public omnitux + (package + (name "omnitux") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/omnitux/omnitux/" + "v" version "/omnitux-" version ".tar.bz2")) + (sha256 + (base32 "1wmmmbzmxd0blhn00d4g91xwavnab143a31ca3i8hrqgzh6qz9w6")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove pre-compiled .pyc files from source. + (for-each delete-file (find-files "bin" "\\.pyc$")) + #t)))) + (build-system python-build-system) + (inputs + `(("python2-pygame" ,python2-pygame) + ("python2-pygtk" ,python2-pygtk))) + (arguments + `(#:tests? #f ;no test + #:python ,python-2 + #:phases + (modify-phases %standard-phases + (delete 'build) ;no setup.py + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (data (string-append share "/omnitux"))) + ;; Install documentation. + (let ((doc (string-append share "/doc/" ,name "-" ,version)= )) + (for-each (lambda (f) (install-file f doc)) + '("LICENSE.txt" "README.txt"))) + ;; Install data. + (install-file "omnitux.sh" data) + (for-each (lambda (d) + (copy-recursively d (string-append data "/" d))) + '("bin" "data")) + ;; Install the launcher. + (let* ((bin (string-append out "/bin")) + (script (string-append bin "/omnitux")) + (bash (string-append (assoc-ref %build-inputs "bash") + "/bin/bash")) + (python (string-append (assoc-ref %build-inputs "pyt= hon") + "/bin/python2"))) + (mkdir-p bin) + (with-output-to-file script + (lambda () + (format #t "#!~a~%" bash) + (format #t + "cd ~a; ~a menu.py~%" + (string-append data "/bin") + python))) + (chmod script #o755)) + ;; Install icon and desktop file. + (let ((pixmaps (string-append share "/pixmaps"))) + (install-file "data/default/icons/Omnitux_logo.svg" pixma= ps)) + (let ((apps (string-append out "/share/applications"))) + (mkdir-p apps) + (with-output-to-file (string-append apps "/omnitux.deskto= p") + (lambda _ + (format #t + "[Desktop Entry]~@ + Name=3DOmnitux~@ + GenericName=3DOmnitux + Comment=3DAn educational game based on multi= media elements.~@ + Comment[fr]=3DUn jeu ludo-=C3=A9ducatif bas= =C3=A9 sur des =C3=A9l=C3=A9ments multim=C3=A9dias.~@ + Exec=3D~a/bin/omnitux~@ + Type=3DApplication~@ + Categories=3DGame;Education;~@ + Terminal=3Dfalse~@ + Icon=3DOmnitux_logo.svg~@" + out)))) + #t)))))) + (home-page "http://omnitux.sourceforge.net/") + (synopsis "Educational activities based on multimedia elements") + (description "The project aims to provide various educational +activities around multimedia elements (images, sounds, texts). Types +of activities include: +@itemize +@item associations, +@item items to place on a map or a schema, +@item counting activities, +@item puzzles, +@item card faces to remember, +@item find differences between two pictures, +@item ... +@end itemize + +Activities are available in English, French, German, Polish, +Portuguese, Spanish and Italian.") + ;; Project's license is GPL3+, but multimedia elements are + ;; released under various licenses. + (license (list license:gpl3+ + license:gpl2+ + license:cc-by-sa2.0 + license:cc-by-sa3.0 + license:public-domain)))) + (define-public fet (package (name "fet") --=20 2.24.1 --=-=-=-- ------------=_1580204221-679-1--