all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Vendoring code in a (Non?)GNU ELPA package
@ 2023-12-27  9:07 Daniel Semyonov
  2023-12-29  3:53 ` Richard Stallman
  0 siblings, 1 reply; 20+ messages in thread
From: Daniel Semyonov @ 2023-12-27  9:07 UTC (permalink / raw)
  To: emacs-devel

I've created a dynamic module implementing a simple audio player using
miniaudio (https://miniaud.io, public domain or MIT-0) and libsndfile
(https://libsndfile.github.io/libsndfile, LGPL).
I also built a player implementation for EMMS utilizing it.

However, it has been sitting in a local directory for a while since
I'm not sure how to publish it - miniaudio is very self contained, it
requires no dependencies and is distributed as a single header file
(miniaudio.h) containing all the code (which is then compiled with your
program).  AFAICT almost no distribution packages it.

I think the intention is to "vendor" miniaudio.h with your program (not
sure if I'm using the term correctly), but this doesn't really fit well
into the concept of a package IMO, especially since GNU ELPA packages
require copyright assignment.

Is it acceptable to "vendor" miniaudio.h with the package on GNU or
NonGNU ELPA?
Assuming it isn't, is it acceptable to download "miniaudio.h" as part of
the package installation process if it's not available locally (which
I'm not sure how to check either)?

In any case, I decided to polish the code a bit and upload it to a
public repo in the meantime: (currently I just added miniaudio.h to the tree)
https://git.sr.ht/~dsemy/emacs-miniaudio-player

Some notes about the module:
- Should support all audio file types supported by libsndfile.
- Should work on most platforms, I use it on GNU/Linux and Android.
- All of my C knowledge comes from trial and error and reading the
  source code of other free software, so there might be some very
  obvious issues I'm not aware of.

Thanks,
Daniel



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-01-10 12:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-27  9:07 Vendoring code in a (Non?)GNU ELPA package Daniel Semyonov
2023-12-29  3:53 ` Richard Stallman
2023-12-29  4:14   ` No Wayman
2023-12-31  3:15     ` Richard Stallman
2024-01-01  3:37       ` Dmitry Gutov
2024-01-04  3:59         ` Richard Stallman
2024-01-01 12:07       ` Daniel Semyonov
2024-01-03  4:14         ` Richard Stallman
2024-01-03  6:20           ` Daniel Semyonov
2024-01-04  4:56             ` Stefan Kangas
2024-01-04 15:02               ` Daniel Semyonov
2024-01-05 20:10                 ` Stefan Kangas
2024-01-06 10:52                   ` Daniel Semyonov
2024-01-06 11:45                     ` Stefan Kangas
2024-01-06 19:04                       ` No Wayman
2024-01-08  3:46                         ` Richard Stallman
2024-01-08  4:00                           ` No Wayman
2024-01-10 12:07                   ` Stefan Kangas
2024-01-06  4:35                 ` Richard Stallman
2023-12-29  7:57   ` Daniel Semyonov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.