Message ID | e4912592b002355edf75bd0777f44deafbeebefd.1733413402.git.liliana.prikler@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C81F827BBEA; Thu, 5 Dec 2024 17:46:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 448A727BBE2 for <patchwork@mira.cbaines.net>; Thu, 5 Dec 2024 17:46:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tJFuv-00019a-M4; Thu, 05 Dec 2024 12:45:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tJFuZ-000172-UN for guix-patches@gnu.org; Thu, 05 Dec 2024 12:45:19 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tJFuQ-0008Qr-NA for guix-patches@gnu.org; Thu, 05 Dec 2024 12:45:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:References:In-Reply-To:To:Subject; bh=14LqWTrqubNsjoLqFQ2E2irDUoI3+klpw2Tu59UXOtU=; b=WkyV1FpC7KZNQgl2z+M6wniWgy/UJO2GHfV2c0TcXD/PpwmN1PPfsTux0zgaikN6zq21xXrc4tlz49EU0kiq3hls6TzD51OoHnph7bgJ/lQ9+AP8HjqGfMgBMCjNeXdt+ZReHnj/VQtasxxDR46tsp5jP2OwDYQTwUig5WHKkeImMH7t/BoXeO/CJQAoNa7KunPTt7rwz4JOcJfa+vYndRljB6R3w4mZRLuNR41B48dFaEpKcNtkCuR0CzjRUr/u9hYxDR0o7CcsGUfoKiyOfDWOjAGJcQ17NJd+TsiJElAkCxPHeNOWU1WTnfaBv630XkNWWpJwuHrfOFO/aWSX+A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tJFuQ-0001P2-0m; Thu, 05 Dec 2024 12:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74702] [PATCH 4/4] gnu: Add komikku-servers. Resent-From: Liliana Marie Prikler <liliana.prikler@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Thu, 05 Dec 2024 17:45:01 +0000 Resent-Message-ID: <handler.74702.B74702.17334206505257@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74702@debbugs.gnu.org Cc: Liliana Marie Prikler <liliana.prikler@gmail.com>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, Vivien Kraus <vivien@planete-kraus.eu> X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@gmail.com>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, Vivien Kraus <vivien@planete-kraus.eu> Received: via spool by 74702-submit@debbugs.gnu.org id=B74702.17334206505257 (code B ref 74702); Thu, 05 Dec 2024 17:45:01 +0000 Received: (at 74702) by debbugs.gnu.org; 5 Dec 2024 17:44:10 +0000 Received: from localhost ([127.0.0.1]:40563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tJFtZ-0001Mi-Qe for submit@debbugs.gnu.org; Thu, 05 Dec 2024 12:44:10 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:60764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <liliana.prikler@gmail.com>) id 1tJFtW-0001MQ-HB for 74702@debbugs.gnu.org; Thu, 05 Dec 2024 12:44:07 -0500 Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-434a1639637so12894275e9.1 for <74702@debbugs.gnu.org>; Thu, 05 Dec 2024 09:44:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733420585; x=1734025385; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=14LqWTrqubNsjoLqFQ2E2irDUoI3+klpw2Tu59UXOtU=; b=TUb6MRZVsvJ3HkWtgjtcut1xlXmMfl0/NYisfpS6luMC4k4gHI3dSLwTPpQ095Fls3 5Uo54WGbVFrdqG0btrW8Vm0wE10mvnS2GrZXnu34d2VOXL/4VbE5YgSuBsKL5eMNFi7l t4E2Axy1I4ZIGo87SmGQt/e05Pq3/K7n5qkcr2YrlpE9jlzrsw/lmfT9DpVLWdZLQr5M VZqJKoPG6D38PgqW78l2/i+bolnLV7eOAF60eBS69jo+opxoROr2EHhoFiWoZw5hySIM QSdzSU+2KEjwKvNCcgoxCq21Ri75pIdDhnEMsgOemmQjAcF4KqUeK/NrbSfk86zpmlwW J+Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733420585; x=1734025385; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=14LqWTrqubNsjoLqFQ2E2irDUoI3+klpw2Tu59UXOtU=; b=e186nFdD7vQHvfkEapZKf20nIZbXsZjRH59bnBdWxky31R8EWuTPfvnB4DL0EP5Quf 8LB0qA3Yjz+iz4+DhjQ55ISrEdOdn7bjienUHU9OHxcEV8l4BtDZn1eobT749eAr4/pQ pEXS2KXJ6iDIdGV0R8DEXqfyPZr60hnQrGG/G1kQixB3gClYzTpcBF534YECsIobrmCm fzfE5wVTmkqNdQUcb8N+qZtrqdHjI5MUFGpUULugzkKReqjpEBmQE/kZw9bjc5Ru+ulT lS8UcZgd+bel5+oHYLB/JsdkiUImHQX7EsrfSgTHF/SV3WPrZqpvgJauo7gSIuttEo4z HfhQ== X-Gm-Message-State: AOJu0YxtzYH+CvkSpaGfuI6rqV0+DGezrtUqWUNkIJI8zsEWLUwZLgb/ fW7PD6C7K5+NOP+SujhTQZW22c+Fq+B2pk+7/XgwfUl0VqijaDM1nVCnsxZc X-Gm-Gg: ASbGncvLICrliu6LYOH+tW6nnE9scjzUc50BUCFRPEfRwKgRTr4PGi1mNpg4H3M/gn+ mno5MSuuxU+54VXDxAonSJdNQQndu7s3cPj+6lqmRYR2Z8eYl1vGWDtzygfjlGsoXXawUfHpZQM I5YMTF+Vqve0s0OmwJK6dtk2H0dbsIF9R7isRVnmltaDx5up0zRb9BSLsRInDGI/O1RBu8hEj83 L30wBieY/9WBsg2Detr3fp9aPwrzhTHtefPw8ODmNS2CggVcVMQ0BYu6iXh72IA/fCL4eyIjLbY s42oRRyyVt4Mii206CIeQ2EmvQ== X-Google-Smtp-Source: AGHT+IF8SsabuMIkNv8q0x0ArOlIK4JR35ibPOrI0S2AnnozJOW7fFSnjLeBAWwJmHA/UVMOMSdCAA== X-Received: by 2002:a05:600c:4fc9:b0:432:cbe5:4f09 with SMTP id 5b1f17b1804b1-434ddead99dmr1759825e9.4.1733420585192; Thu, 05 Dec 2024 09:43:05 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d52c0bfasm69103205e9.32.2024.12.05.09.43.04 for <74702@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 09:43:04 -0800 (PST) Message-ID: <e4912592b002355edf75bd0777f44deafbeebefd.1733413402.git.liliana.prikler@gmail.com> In-Reply-To: <cover.1733413402.git.liliana.prikler@gmail.com> References: <cover.1733413402.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler <liliana.prikler@gmail.com> Date: Thu, 5 Dec 2024 17:50:00 +0100 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series | Update komikku to 1.57.0 | |
Commit Message
Liliana Marie Prikler
Dec. 5, 2024, 4:50 p.m. UTC
* gnu/packages/gnome.scm (komikku-servers): New variable. --- gnu/packages/gnome.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
Comments
Hello, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > * gnu/packages/gnome.scm (komikku-servers): New variable. > --- > gnu/packages/gnome.scm | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index ae0e1f4783..3c89ab4054 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -233,6 +233,7 @@ (define-module (gnu packages gnome) > #:use-module (gnu artwork) > #:use-module (guix build-system cargo) > #:use-module (guix build-system cmake) > + #:use-module (guix build-system copy) > #:use-module (guix build-system glib-or-gtk) > #:use-module (guix build-system gnu) > #:use-module (guix build-system meson) > @@ -13647,6 +13648,41 @@ (define-public komikku > (variable "KOMIKKU_SERVERS_PATH") > (files '("lib/komikku/servers"))))))) > > +(define-public komikku-servers > + (package > + (name "komikku-servers") > + (version "1.59.0") ; latest version that works with 1.57 Per our referenced Scheme coding style [0] in (info '(guix) Formatting Code'), the space between ';' and the comment for inline comments can be omitted (see the '** Comments' section). [0] https://mumble.net/~campbell/scheme/style.txt > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://codeberg.org/valos/Komikku/") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0sfqmqcpdl3bsbs0wxl4jwvd7wpgigkvvasy1niz6qm2vnp35gzq")))) > + (build-system copy-build-system) > + (arguments > + (list > + #:install-plan > + #~'(("komikku/servers" "lib/komikku/servers")) > + #:modules '((guix build copy-build-system) > + (guix build utils) > + (ice-9 ftw)) > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'delete-conflicting-files > + (lambda _ > + (with-directory-excursion "komikku/servers" > + (for-each delete-file > + (scandir "." > + (lambda (f) (string-suffix? ".py" f)))))))))) Shouldn't these Python files be byte-compiled? You could perhaps use the compile-bytecode phase from the pyproject-build-system to accomplish that.
Am Montag, dem 09.12.2024 um 09:37 +0900 schrieb Maxim Cournoyer: > Hello, > > Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > > > * gnu/packages/gnome.scm (komikku-servers): New variable. > > --- > > gnu/packages/gnome.scm | 36 ++++++++++++++++++++++++++++++++++++ > > 1 file changed, 36 insertions(+) > > > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > > index ae0e1f4783..3c89ab4054 100644 > > --- a/gnu/packages/gnome.scm > > +++ b/gnu/packages/gnome.scm > > @@ -233,6 +233,7 @@ (define-module (gnu packages gnome) > > #:use-module (gnu artwork) > > #:use-module (guix build-system cargo) > > #:use-module (guix build-system cmake) > > + #:use-module (guix build-system copy) > > #:use-module (guix build-system glib-or-gtk) > > #:use-module (guix build-system gnu) > > #:use-module (guix build-system meson) > > @@ -13647,6 +13648,41 @@ (define-public komikku > > (variable "KOMIKKU_SERVERS_PATH") > > (files > > '("lib/komikku/servers"))))))) > > > > +(define-public komikku-servers > > + (package > > + (name "komikku-servers") > > + (version "1.59.0") ; latest version that > > works with 1.57 > > Per our referenced Scheme coding style [0] in (info '(guix) > Formatting Code'), the space between ';' and the comment for inline > comments can be omitted (see the '** Comments' section). > > [0] https://mumble.net/~campbell/scheme/style.txt I read this 'can' as optional and very much prefer my space :) > > + (source > > + (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://codeberg.org/valos/Komikku/") > > + (commit (string-append "v" version)))) > > + (file-name (git-file-name name version)) > > + (sha256 > > + (base32 > > + > > "0sfqmqcpdl3bsbs0wxl4jwvd7wpgigkvvasy1niz6qm2vnp35gzq")))) > > + (build-system copy-build-system) > > + (arguments > > + (list > > + #:install-plan > > + #~'(("komikku/servers" "lib/komikku/servers")) > > + #:modules '((guix build copy-build-system) > > + (guix build utils) > > + (ice-9 ftw)) > > + #:phases > > + #~(modify-phases %standard-phases > > + (add-after 'unpack 'delete-conflicting-files > > + (lambda _ > > + (with-directory-excursion "komikku/servers" > > + (for-each delete-file > > + (scandir "." > > + (lambda (f) (string-suffix? > > ".py" f)))))))))) > > Shouldn't these Python files be byte-compiled? You could perhaps use > the compile-bytecode phase from the pyproject-build-system to > accomplish that. I can't use it verbatim, since the install directory is different¹, but I can copy it's logic, sure. Will do so for v2. Cheers ¹ Komikku uses a custom module loader I once wrote that was upstreamed some time ago, which means we can control the search path freely. I chose a directory that does not rely on Python to avoid any potential conflict here.
Hi, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: [...] >> > +(define-public komikku-servers >> > + (package >> > + (name "komikku-servers") >> > + (version "1.59.0") ; latest version that >> > works with 1.57 >> >> Per our referenced Scheme coding style [0] in (info '(guix) >> Formatting Code'), the space between ';' and the comment for inline >> comments can be omitted (see the '** Comments' section). >> >> [0] https://mumble.net/~campbell/scheme/style.txt > I read this 'can' as optional and very much prefer my space :) It's indeed a 'can', but I value consistency enough that this errs on the side of 'should' in my mind ;-). [...] >> > + #~(modify-phases %standard-phases >> > + (add-after 'unpack 'delete-conflicting-files >> > + (lambda _ >> > + (with-directory-excursion "komikku/servers" >> > + (for-each delete-file >> > + (scandir "." >> > + (lambda (f) (string-suffix? >> > ".py" f)))))))))) >> >> Shouldn't these Python files be byte-compiled? You could perhaps use >> the compile-bytecode phase from the pyproject-build-system to >> accomplish that. > I can't use it verbatim, since the install directory is different¹, but > I can copy it's logic, sure. Will do so for v2. OK. If it's too much boilerplate to copy-paste, feel free to ignore it. It's probably not world-changing anyway. -- Thanks, Maxim
Am Mittwoch, dem 11.12.2024 um 11:40 +0900 schrieb Maxim Cournoyer: > > > > I read this 'can' as optional and very much prefer my space :) > > It's indeed a 'can', but I value consistency enough that this errs on > the side of 'should' in my mind ;-). > > > And I prefer consistency between comments, which is why I'm always adding the extra space :) > > > > > I can't use it verbatim, since the install directory is different¹, > > but I can copy it's logic, sure. Will do so for v2. > > OK. If it's too much boilerplate to copy-paste, feel free to ignore > it. It's probably not world-changing anyway. Now that python-team is merged, I pushed it with the change. Cheers
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ae0e1f4783..3c89ab4054 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -233,6 +233,7 @@ (define-module (gnu packages gnome) #:use-module (gnu artwork) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -13647,6 +13648,41 @@ (define-public komikku (variable "KOMIKKU_SERVERS_PATH") (files '("lib/komikku/servers"))))))) +(define-public komikku-servers + (package + (name "komikku-servers") + (version "1.59.0") ; latest version that works with 1.57 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/valos/Komikku/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0sfqmqcpdl3bsbs0wxl4jwvd7wpgigkvvasy1niz6qm2vnp35gzq")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("komikku/servers" "lib/komikku/servers")) + #:modules '((guix build copy-build-system) + (guix build utils) + (ice-9 ftw)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'delete-conflicting-files + (lambda _ + (with-directory-excursion "komikku/servers" + (for-each delete-file + (scandir "." + (lambda (f) (string-suffix? ".py" f)))))))))) + (home-page "https://apps.gnome.org/Komikku") + (synopsis "Servers for Komikku") + (description "This package provides more recent servers for Komikku.") + (license license:gpl3+))) + (define-public libgda (package (name "libgda")