GNU bug report logs - #71615
[PATCH] Split out picocss from Mumi.

Previous Next

Package: guix-patches;

Reported by: Felix Lechner <felix.lechner <at> lease-up.com>

Date: Mon, 17 Jun 2024 17:11:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 71615 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71615; Package guix-patches. (Mon, 17 Jun 2024 17:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Lechner <felix.lechner <at> lease-up.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 17 Jun 2024 17:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: guix-patches <at> gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>, Luis Felipe <sirgazil <at> zoho.com>,
 Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH] Split out picocss from Mumi.
Date: Mon, 17 Jun 2024 10:09:49 -0700
The inclusion of Picocss an inline function in Mumi may not meet project
standards.  For example, Picocss is probably not captured as a prerequisite of
software we use; its license is not tracked; and its sources are not backed up
by the Software Heritage archive.

Change-Id: I447aa8d0c34376f5a55dce596f19d956622a5ecf
---
 gnu/packages/mail.scm | 15 +++++----------
 gnu/packages/web.scm  | 22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d853fab4d3..5c4f688f3b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4226,16 +4226,11 @@ (define-public mumi
            mailutils
            xdg-utils))
     (native-inputs
-     (list autoconf automake pkg-config sassc
-           (origin
-             (method git-fetch)
-             (uri (git-reference
-                   (url "https://github.com/picocss/pico.git")
-                   (commit "3052db4bd3439e236479dc0f98069f7d3b559486")))
-             (file-name (git-file-name "pico" "1.5.6"))
-             (sha256
-              (base32
-               "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi")))))
+     (list autoconf
+           automake
+           pkg-config
+           picocss
+           sassc))
     (home-page "https://git.savannah.gnu.org/cgit/guix/mumi.git/")
     (synopsis "Debbugs web interface")
     (description "Mumi is a Debbugs web interface.")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b9991bb9c1..bf688b2f6f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5064,6 +5064,28 @@ (define-public perl-www-robotrules
 their web site.")
     (home-page "https://metacpan.org/release/WWW-RobotRules")))
 
+(define-public picocss
+  (package
+    (name "picocss")
+    (version "1.5.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/picocss/pico.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi"))))
+    (build-system copy-build-system)
+    (home-page "https://picocss.com/")
+    (synopsis "Minimal CSS Framework for Semantic HTML")
+    (description "A minimalist and lightweight starter kit that prioritizes
+semantic syntax, making every HTML element responsive and elegant by default.
+Pico CSS can be used without custom CSS but it was designed as a CSS starting
+point.")
+    (license license:expat)))
+
 (define-public python-lambda-4dn
   (package
     (name "python-lambda-4dn")

base-commit: 71c678a16aae416298a0e3fa322b425315bb7b00
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#71615; Package guix-patches. (Mon, 17 Jun 2024 21:30:02 GMT) Full text and rfc822 format available.

Message #8 received at 71615 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Felix Lechner <felix.lechner <at> lease-up.com>, 71615 <at> debbugs.gnu.org
Cc: Luis Felipe <sirgazil <at> zoho.com>
Subject: Re: [PATCH] Split out picocss from Mumi.
Date: Mon, 17 Jun 2024 22:29:26 +0100
Hi Felix,

Good point! We should do this. Some comments follow.

It would be good to split this into two separate commits—one adding
picocss, and the other using it in mumi. I will send a v2 patchset where
I have done this.

Also, we should decide on some directory structure for CSS packages like
picocss, similar to how we have a standardized directory structure for
our font packages. Simply copying the entire source tree copies over too
many unnecessary files.

Maybe prefix CSS packages with css-. So, css-picocss instead of
picocss. May also be an idea to put CSS packages in a separate file
gnu/packages/css.scm.

Thanks,
Arun




Information forwarded to felix.lechner <at> lease-up.com, guix-patches <at> gnu.org:
bug#71615; Package guix-patches. (Mon, 17 Jun 2024 21:31:02 GMT) Full text and rfc822 format available.

Message #11 received at 71615 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 71615 <at> debbugs.gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>,
 Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH v2 1/2] gnu: Add picocss.
Date: Mon, 17 Jun 2024 22:30:04 +0100
From: Felix Lechner <felix.lechner <at> lease-up.com>

* gnu/packages/web.scm (picocss): New variable.

Change-Id: Ia6fd846f7da810df9675c964506cc59f5f9d3f7b
Signed-off-by: Arun Isaac <arunisaac <at> systemreboot.net>
---
 gnu/packages/web.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b9991bb9c1..f645199774 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -63,7 +63,7 @@
 ;;; Copyright © 2022 Bruno Victal <mirai <at> makinata.eu>
 ;;; Copyright © 2023 David Thompson <dthompson2 <at> worcester.edu>
 ;;; Copyright © 2023 Christopher Howard <christopher <at> librehacker.com>
-;;; Copyright © 2023 Felix Lechner <felix.lechner <at> lease-up.com>
+;;; Copyright © 2023, 2024 Felix Lechner <felix.lechner <at> lease-up.com>
 ;;; Copyright © 2023 Evgeny Pisemsky <evgeny <at> pisemsky.com>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
 ;;;
@@ -5064,6 +5064,27 @@ (define-public perl-www-robotrules
 their web site.")
     (home-page "https://metacpan.org/release/WWW-RobotRules")))
 
+(define-public picocss
+  (package
+    (name "picocss")
+    (version "1.5.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/picocss/pico")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi"))))
+    (build-system copy-build-system)
+    (home-page "https://picocss.com/")
+    (synopsis "Minimal CSS framework for semantic HTML")
+    (description "Pico CSS is a minimalist and lightweight CSS framework that
+prioritizes semantic syntax, making every HTML element responsive and elegant
+by default.")
+    (license license:expat)))
+
 (define-public python-lambda-4dn
   (package
     (name "python-lambda-4dn")

base-commit: 71c678a16aae416298a0e3fa322b425315bb7b00
-- 
2.45.1





Information forwarded to felix.lechner <at> lease-up.com, guix-patches <at> gnu.org:
bug#71615; Package guix-patches. (Mon, 17 Jun 2024 21:31:02 GMT) Full text and rfc822 format available.

Message #14 received at 71615 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 71615 <at> debbugs.gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>,
 Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH v2 2/2] gnu: mumi: Use picocss package.
Date: Mon, 17 Jun 2024 22:30:05 +0100
From: Felix Lechner <felix.lechner <at> lease-up.com>

* gnu/packages/mail.scm (mumi)[native-inputs]: Use the picocss package instead
of an unnamed origin object.

Change-Id: Ie77438af93660f03b5ced38b24956d64a045a67f
Signed-off-by: Arun Isaac <arunisaac <at> systemreboot.net>
---
 gnu/packages/mail.scm | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d853fab4d3..54f6807661 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2023 Arjan Adriaanse <arjan <at> adriaan.se>
 ;;; Copyright © 2023 Wilko Meyer <w <at> wmeyer.eu>
 ;;; Copyright © 2024 Benjamin Slade <slade <at> lambda-y.net>
+;;; Copyright © 2024 Felix Lechner <felix.lechner <at> lease-up.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4226,16 +4227,11 @@ (define-public mumi
            mailutils
            xdg-utils))
     (native-inputs
-     (list autoconf automake pkg-config sassc
-           (origin
-             (method git-fetch)
-             (uri (git-reference
-                   (url "https://github.com/picocss/pico.git")
-                   (commit "3052db4bd3439e236479dc0f98069f7d3b559486")))
-             (file-name (git-file-name "pico" "1.5.6"))
-             (sha256
-              (base32
-               "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi")))))
+     (list autoconf
+           automake
+           pkg-config
+           picocss
+           sassc))
     (home-page "https://git.savannah.gnu.org/cgit/guix/mumi.git/")
     (synopsis "Debbugs web interface")
     (description "Mumi is a Debbugs web interface.")
-- 
2.45.1





Information forwarded to guix-patches <at> gnu.org:
bug#71615; Package guix-patches. (Fri, 21 Jun 2024 04:23:02 GMT) Full text and rfc822 format available.

Message #17 received at 71615 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Arun Isaac <arunisaac <at> systemreboot.net>, 71615 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: Re: [PATCH v2 1/2] gnu: Add picocss.
Date: Fri, 21 Jun 2024 06:21:33 +0200
Am Montag, dem 17.06.2024 um 22:30 +0100 schrieb Arun Isaac:
> From: Felix Lechner <felix.lechner <at> lease-up.com>
> 
> * gnu/packages/web.scm (picocss): New variable.
> 
> Change-Id: Ia6fd846f7da810df9675c964506cc59f5f9d3f7b
> Signed-off-by: Arun Isaac <arunisaac <at> systemreboot.net>
> ---
>  gnu/packages/web.scm | 23 ++++++++++++++++++++++-
>  1 file changed, 22 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index b9991bb9c1..f645199774 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -63,7 +63,7 @@
>  ;;; Copyright © 2022 Bruno Victal <mirai <at> makinata.eu>
>  ;;; Copyright © 2023 David Thompson <dthompson2 <at> worcester.edu>
>  ;;; Copyright © 2023 Christopher Howard
> <christopher <at> librehacker.com>
> -;;; Copyright © 2023 Felix Lechner <felix.lechner <at> lease-up.com>
> +;;; Copyright © 2023, 2024 Felix Lechner
> <felix.lechner <at> lease-up.com>
>  ;;; Copyright © 2023 Evgeny Pisemsky <evgeny <at> pisemsky.com>
>  ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
>  ;;;
> @@ -5064,6 +5064,27 @@ (define-public perl-www-robotrules
>  their web site.")
>      (home-page "https://metacpan.org/release/WWW-RobotRules")))
>  
> +(define-public picocss
> +  (package
> +    (name "picocss")
> +    (version "1.5.6")
> +    (source (origin
> +              (method git-fetch)
Note: the /css folder, which is probably what'll be interesting here,
contains generated sources.  We should try compiling them ourselves
with an SCSS processor. 
> +              (uri (git-reference
> +                    (url "https://github.com/picocss/pico")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi"))))
> +    (build-system copy-build-system)
Note: copy-build-system should be used together with an install plan. 
It appears you're missing one.
> +    (home-page "https://picocss.com/")
> +    (synopsis "Minimal CSS framework for semantic HTML")
> +    (description "Pico CSS is a minimalist and lightweight CSS
> framework that
> +prioritizes semantic syntax, making every HTML element responsive
> and elegant
> +by default.")
> +    (license license:expat)))
> +
>  (define-public python-lambda-4dn
>    (package
>      (name "python-lambda-4dn")
> 
Cheers




This bug report was last modified 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.