From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Unstable Horse <stable.master@unstable.horse>
Cc: guix-devel@gnu.org
Subject: Re: How to properly package umbrella projects?
Date: Mon, 09 Oct 2023 13:03:29 +0200 [thread overview]
Message-ID: <26fa99a3ce468309ccaadc41c4610773@tobias.gr> (raw)
In-Reply-To: <ac5645a7f89ece238caf912475d387902de13d92.camel@unstable.horse>
Hi Horse,
On 2023-10-08 7:52, Unstable Horse wrote:
> short question: a program I'm writing depends on gst-plugin-gtk4 which
> is a part of gst-plugins-rs[0]. What's the most appropriate way to
> package such a project:
In the majority of cases, I would say: a single package (here,
‘gst-plugins-rs’) with multiple outputs. However.
- This repository seems to be cleanly designed to efficiently(?) build
only a single plug-in[1], rather than building all of them only to throw
most away. Verify that, though.
- This is Rust, with its associated Cargo dependency hell, and
dependencies seem to be neatly declared[2] per-plug-in. I think it's
wise to bite off only as much as you're currently willing to chew.
For those reasons at least, I'd go for a single gst-plugin-rs-gtk4
package, written in this style:
(define* (gst-plugin-rs name
(native-inputs '())
(inputs '())
(cargo-inputs '())
(cargo-development-inputs '()))
…)
(define gst-plugin-rs
(gst-plugin-rs "gtk4"
#:inputs
(…)
…)
You'll have to do some work in gst-plugin-rs to change the default of
"auto" for each unwanted plug-in.
> Side note: different subprojects have different licenses.
That would not factor into my decision.
Kind regards,
T G-R
Sent from a Web browser. Excuse or enjoy my brevity.
> [0]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
[1]:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/blob/main/meson_options.txt
[2]:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/blob/main/video/gtk4/Cargo.toml
next prev parent reply other threads:[~2023-10-09 11:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-08 5:52 How to properly package umbrella projects? Unstable Horse
2023-10-09 11:03 ` Tobias Geerinckx-Rice [this message]
2023-10-09 11:06 ` Tobias Geerinckx-Rice
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26fa99a3ce468309ccaadc41c4610773@tobias.gr \
--to=me@tobias.gr \
--cc=guix-devel@gnu.org \
--cc=stable.master@unstable.horse \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).