From: Guillaume Le Vaillant <glv@posteo.net>
To: Jacob MacDonald <jaccarmac@gmail.com>
Cc: 52387@debbugs.gnu.org
Subject: [bug#52387] [PATCH] Add cl-april.
Date: Sat, 11 Dec 2021 12:38:07 +0000 [thread overview]
Message-ID: <87czm3thar.fsf@kitej> (raw)
In-Reply-To: <CACy6W0BScWvmG+9ThPBTVwribdbp+wWJzxnBr7i1bYbFECyBjQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2952 bytes --]
Jacob MacDonald <jaccarmac@gmail.com> skribis:
> April is a subset of APL embedded in Common Lisp. The following series
> of patches adds its dependencies and April itself to the end of
> lisp-xyz.
>
> This is the least trivial set of packages I have submitted, so I have
> a few things I want to ensure I get right.
> 1. Licensing:
> a. cl-decimals has no license file and is marked as CC0-licensed in
> its system file.
Ok.
> b. simple-date-time has no license file and is marked as BSD-licensed
> in its system file. I marked it as BSD-4.
Ok.
> c. MaxPC is licensed under the AGPL. This is an issue for the
> Apache-licensed April
> (https://github.com/phantomics/april/issues/185), and an Apache
> version of MaxPC is now bundled with April's source. Does building
> April with MaxPC from source violate the AGPL? If so, the dependency
> can be swapped out for the bundled one.
According to [1] and [2], combining code under AGPL and code under
Apache License is possible, and the result would be under AGPL.
As the Guix package for April will only contain the things under Apache
License, I think we just need to use 'license:asl2.0'.
Unless the bundled MaxPC has modifications required for April to work,
you can add a snippet to the 'source' field to remove the "maxpc-apache"
directory, and use upstream's MaxPC.
[1] https://www.apache.org/licenses/GPL-compatibility.html
[2] https://opensource.stackexchange.com/questions/8270/can-i-use-apache-2-0-licensed-libraries-with-agpl-licensed-libraries
> 2. Bundling: April depends on two systems vex and aplesque. These are
> defined in the same repository. I broke them out into three packages
> based on the same version of the source.
> a. I renamed vex as there is an existing vector math library with
> that name. I threw the math library into the patchset as well; It
> might not properly belong.
> b. I tried to use the #:asd-files and #:asd-systems options to
> restrict what got built, but kept getting build failures. I added a
> phase to each package to delete unused system files. This works, but
> seems brittle. I don't think I understand the ASDF build system.
I don't think we need to make three packages in this case. Making just
one regular package for April should also build the vex and aplesque
subsystems automatically (if all the required dependencies are listed in
the 'inputs' field).
> 3. Versioning: The latest April tag is a couple years old, while many
> of its dependencies lack tags altogether. There is also a discrepancy
> between the Git tag and the version numbers recorded in each system
> file. Whether I wait for a new tag to bump the package or not, what's
> the best way to version the package(s)?
It pretty common for Common Lisp libraries not to have tags (or only
very old tags), and we then use the commit hash and a revision number.
There are many examples of such packages in "lisp-xyz.scm".
Could you send an updated patch series?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2021-12-11 13:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-09 6:44 [bug#52387] [PATCH] Add cl-april Jacob MacDonald
2021-12-09 6:47 ` [bug#52387] [PATCH 1/7] gnu: Add cl-vex Jacob MacDonald
2021-12-09 6:48 ` [bug#52387] [PATCH 2/7] gnu: Add cl-maxpc Jacob MacDonald
2021-12-09 6:48 ` [bug#52387] [PATCH 3/7] gnu: Add cl-vex-templates Jacob MacDonald
2021-12-09 6:48 ` [bug#52387] [PATCH 4/7] gnu: Add cl-aplesque Jacob MacDonald
2021-12-09 6:48 ` [bug#52387] [PATCH 5/7] gnu: Add cl-decimals Jacob MacDonald
2021-12-09 6:49 ` [bug#52387] [PATCH 6/7] gnu: Add cl-simple-date-time Jacob MacDonald
2021-12-09 6:49 ` [bug#52387] [PATCH 7/7] gnu: Add cl-april Jacob MacDonald
2021-12-11 12:38 ` Guillaume Le Vaillant [this message]
2021-12-13 18:40 ` [bug#52387] [PATCH] " Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 1/5] gnu: Add cl-maxpc Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 2/5] gnu: Add cl-random-state Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 3/5] gnu: Add cl-decimals Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 4/5] gnu: Add cl-simple-date-time Jacob MacDonald
2021-12-13 18:44 ` Jacob MacDonald
2021-12-13 18:42 ` [bug#52387] [PATCH 5/5] gnu: Add cl-april Jacob MacDonald
2021-12-16 10:24 ` bug#52387: " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czm3thar.fsf@kitej \
--to=glv@posteo.net \
--cc=52387@debbugs.gnu.org \
--cc=jaccarmac@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.