From patchwork Sun May 15 04:37:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 39351 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 966B527BBEA; Sun, 15 May 2022 06:04:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 17B6C27BBE9 for ; Sun, 15 May 2022 06:04:32 +0100 (BST) Received: from localhost ([::1]:37254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nq6Qh-0007Ug-4L for patchwork@mira.cbaines.net; Sun, 15 May 2022 01:04:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nq6Ik-0000bw-Ld for guix-patches@gnu.org; Sun, 15 May 2022 00:56:19 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nq6Ik-0006ed-AN for guix-patches@gnu.org; Sun, 15 May 2022 00:56:18 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nq6Ik-0003dk-9i for guix-patches@gnu.org; Sun, 15 May 2022 00:56:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55424] [PATCH 073/602] gnu: Remove childsplay. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 04:56:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55424@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55424-submit@debbugs.gnu.org id=B55424.165259054313590 (code B ref 55424); Sun, 15 May 2022 04:56:18 +0000 Received: (at 55424) by debbugs.gnu.org; 15 May 2022 04:55:43 +0000 Received: from localhost ([127.0.0.1]:48238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq6IA-0003X0-OZ for submit@debbugs.gnu.org; Sun, 15 May 2022 00:55:43 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:42734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq6AY-0002zC-Qb for 55424@debbugs.gnu.org; Sun, 15 May 2022 00:47:52 -0400 Received: by mail-qk1-f177.google.com with SMTP id j6so10178914qkp.9 for <55424@debbugs.gnu.org>; Sat, 14 May 2022 21:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8wBcKNiDkWCdp/xU9MboFrcreyWeVFoVc/cAIcK3Kq4=; b=R0YYnXN+0/1EQwciP1gP+fQyoxFDkY+Gx09jxYjLKd31cMOJI+RkIZhWIrR1Yh95uW 26eSGdWgGOuRF2DwqaeSRxue0ZyPHLDivmk5Hy8iTivNXF4/3L3ZjfSrtjZCY0mmVIRS eyA8dOEKJnoL9neZ5fgdyiC+Mrt/kjt5yqynLPHZASyhFUm/VVKFqAbMuOEsu1gBE9pA vRU7FS1lxsdT1P6MrMbjAfjEHJRCOiYnEgZWbk1nsli+Fgpl1KWkWmcXiseYhsazsifV w+qvcYnPBur+1jPYcld3O0EWayFWfkqQU+j4ZdPbv1JEDVY/8BgyzLQsmx0O1BBdyXvR 7uZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8wBcKNiDkWCdp/xU9MboFrcreyWeVFoVc/cAIcK3Kq4=; b=Byn4CY0Di2OQ0vKporUaE4n20jSuVKsnZuVOga62xFkJ0Da7yTLDEGSjIpGgmo+yEo DW/FH2sEcOhxWDvjZwwnvNYkKowu3g8NMXF/1yVrR5oCWfsm4bBggrUZp7pEYN+Ma9lw KWD2aN6xXtI6yP1XXQlUTlnGDcJpRwwWaHc+dCeGZP7pTius+oQfVO4fRnS0/upDp27Q TzMhr8HxwCrE6nEf0l/IvH6zNT+YDQHPykEOvV5XLctlWy9TXvDWBTiroaaSLjnAb4/e 5WhtaMCoe3+CovHIWsZdYA6wykBSQDGGGcVcpHSh0vf6Vue5ABh2KhRAo3MDm44VpiBk pZpA== X-Gm-Message-State: AOAM530TevQNXX8T1t8uwOzep/Cj7zG4Ecckakw7gYlcIPitel/JXyOk nYeCqKwmykFiC2okViGIoDKd5Fxbh+uoZw== X-Google-Smtp-Source: ABdhPJwiCiLDk8PqN1w/XkdIYfn5orse0CeCsYItmRcgTrBRipwabATS5xx3uXakVaufOU86frE27Q== X-Received: by 2002:a05:620a:2848:b0:67d:35de:bb5b with SMTP id h8-20020a05620a284800b0067d35debb5bmr8473483qkp.499.1652590065038; Sat, 14 May 2022 21:47:45 -0700 (PDT) Received: from localhost.localdomain (dsl-149-239.b2b2c.ca. [66.158.149.239]) by smtp.gmail.com with ESMTPSA id 2-20020ac82082000000b002f39b99f672sm4287690qtd.12.2022.05.14.21.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 21:47:44 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 15 May 2022 00:37:40 -0400 Message-Id: <20220515044629.6843-73-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220515044629.6843-1-maxim.cournoyer@gmail.com> References: <20220515044629.6843-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/education.scm (childsplay): Delete variable. --- gnu/packages/education.scm | 103 ------------------------------------- 1 file changed, 103 deletions(-) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 07843142f4..3b9c01c786 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -445,109 +445,6 @@ (define-public toutenclic (home-page "https://bipede.fr/contrib/") (license license:gpl3))) -(define-public childsplay - (package - (name "childsplay") - (version "3.4") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/schoolsplay/" - "childsplay-" version ".tgz")) - (sha256 - (base32 - "0z7yp2swjnbz51vn2zyfnjn40jq38l5mbh15yafmx1z3vn2z1m77")))) - (build-system python-build-system) - (arguments - `(#:python ,python-2 - #:tests? #f - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'unbundle-dejavu-font - (lambda* (#:key inputs #:allow-other-keys) - (let* ((dejavu-dir - (string-append (assoc-ref inputs "font-dejavu") - "/share/fonts/truetype")) - (dejavu-font - (string-append dejavu-dir - "/DejaVuSansCondensed-Bold.ttf"))) - (substitute* "SPConstants.py" - (("^(TTF(BOLD)? = ).*" _ prefix) - (string-append prefix "'" dejavu-font "'\n"))) - (for-each (lambda (f) (delete-file f)) - (find-files "lib/SPData" "DejaVu")) - #t))) - (delete 'build) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (pixmaps (string-append out "/share/pixmaps")) - (share (string-append out "/share/childsplay")) - (doc (string-append out "/share/doc/" ,name "-",version))) - ;; Install icon. - (install-file "lib/SPData/themes/childsplay/logo_cp.svg" pixmaps) - ;; Install data. - (mkdir-p share) - (for-each (lambda (f) - (copy-recursively f (string-append share "/" f))) - '("alphabet-sounds" "lib" "locale" "SPWidgets")) - (for-each (lambda (f) (install-file f share)) - (find-files "." "\\.(py|dev|db)$")) - ;; Install documentation. - (mkdir-p doc) - (copy-recursively "docs" doc) - #t))) - (add-after 'install 'create-executable - (lambda* (#:key outputs inputs #:allow-other-keys) - (let* ((python (search-input-file inputs "/bin/python")) - (out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (executable (string-append bin "/childsplay"))) - (mkdir-p bin) - (call-with-output-file executable - (lambda (file) - (format file - "~a ~a" - python - (string-append out "/share/childsplay/childsplay.py")))) - (chmod executable #o555) - #t))) - (add-after 'install 'create-desktop-file - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (applications (string-append out "/share/applications"))) - (mkdir-p applications) - (call-with-output-file - (string-append applications "/childsplay.desktop") - (lambda (file) - (format file - "[Desktop Entry]~@ - Name=Childsplay~@ - Comment=Suite of educational games for young children~@ - Comment[ca]=Conjunt de jocs educatius per a xiquets~@ - Comment[es]=Conjunto de juegos educativos para niños~@ - Comment[de]=Sammlung mit lehrreichen Spielen für kleine Kinder~@ - Exec=~a/bin/childsplay~@ - Terminal=false~@ - Icon=logo_cp.svg~@ - Type=Application~@ - Categories=Application;Game;Education;KidsGame;~@ - Keywords=suite;children;games;young;educational;~%" - out))) - #t)))))) - (inputs - `(("font-dejavu" ,font-dejavu) - ("pygame" ,python2-pygame) - ("sqlalchemy" ,python2-sqlalchemy))) - (synopsis "Suite of educational games for young children") - (description "Childsplay is a collection of educational activities -for young children. Childsplay can be used at home, kindergartens and -pre-schools. Childsplay is a fun and safe way to let young children -use the computer and at the same time teach them a little math, -letters of the alphabet, spelling, eye-hand coordination, etc.") - (home-page "http://www.schoolsplay.org") - (license license:gpl3+))) - (define-public openboard ;; The last release builds from qtwebkit, which is planned for removal in ;; Guix, so use the latest commit of the 1.7-dev branch, which builds with