guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57891] [PATCH 1/1] gnu: Add emacs-org-roam-ui.


From: Fredrik Salomonsson
Subject: [bug#57891] [PATCH 1/1] gnu: Add emacs-org-roam-ui.
Date: Sun, 18 Sep 2022 23:24:23 +0000

Maxime Devos <maximedevos@telenet.be> writes:

> On 18-09-2022 19:43, Fredrik Salomonsson wrote:
>> Nicolas Graves<ngraves@ngraves.fr>  writes:
>> 
>>> IIRC, there's an issue with packaging guidelines because the package
>>> contains minified js.
>>>
>>> I'm not sure that's possible, but we could try to re-generate those
>>> minified js files in a sub-package or something like that.
>>>
>> I couldn't find anything about this in the guidelines.
>
> Some relevant parts (mostly, it boils down to 'minified js' not counting 
> as source code, but binaries):
>
>   * (guix)Introduction:
>
>     [...] Guix makes it easy [...] to build packages from source, [...]
>
>   * (guix)Binary Installation
>
>     Note: If you do not enable substitutes, Guix will end up
>     building _everything_ from source on your machine,
>
>   * (guix)Features
>
>     When a pre-built binary for a ‘/gnu/store’ item is
>     available from an external source—a “substitute”, Guix just downloads
>     it and unpacks it; otherwise, it builds the package from source,
>
>   * (guix)Additional Build Options
>
>     Fetch and return the source of PACKAGE-OR-DERIVATION [...]
>
>   * (guix) Snippets versus Phases
>     Origin snippets are typically used to remove unwanted files such as
>     bundled libraries, [...]
>
>
>   * (guix)Submitting Patches
>
>    8. Make sure the package does not use bundled copies of software
>       already available as separate packages.
>
>       Sometimes, packages include copies of the source code of their
>       dependencies as a convenience for users.  However, as a
>       distribution, we want to make sure that such packages end up using
>       the copy we already have in the distribution, if there is one.
>       This [...], and allows the distribution to make transverse changes
>       such as applying security updates for a given software package in a
>       single place and have them affect the whole system—something that
>       bundled copies prevent.
>
>    ‘Minified JS that we don't know how to rebuild’ doesn't mesh well with
>    such 'transverse changes' and "guix build --source will return the
>    source code".

Ah, I didn't realize minified JS was generated and should be classified
as binaries. Or even that minified JS existed before it was pointed out
to me in this thread. It makes sense now though, thank you for clearing
that up.

Then I think it is probably best that this package gets removed from
guix, until it can be packaged properly.

-- 
s/Fred[re]+i[ck]+/Fredrik/g





reply via email to

[Prev in Thread] Current Thread [Next in Thread]