Re: Bug#1038023: angband: Depends on SDL 1.2

Stephen Kitt <[email protected]>
Newsgroups gmane.linux.debian.devel.games
Message-ID <[email protected]>
Hi Chris,

On Thu, 7 Sep 2023 22:47:05 +0100, Chris Carr <[email protected]> wrote:
> I would also like to build a nonfree package (to replace angband-audio,
> which can safely be removed) – Angband ships with non-free graphical tiles
> as well as non-free sounds. I can create a DFSG-free orig.tar.gz, and a
> non-free one with the tiles and sounds. I can then configure debhelper to
> detect the presence or absence of the non-free tarball and build either two
> packages (angband and angband-data) or three (including the non-free one).
> 
> But I don’t know how if that will render the *source* package non-free. I
> and many others spent much of the late 2000s tracking down all the original
> contributors and persuading them to re-licence their code under the GPL
> (which wasn’t known when they wrote it), so it was a big achievement to get
> Angband into main from 3.0. So I would like to keep the source package free
> if possible, even if this means having to maintain two source packages
> (which I don’t know how to do).

In this scenario, you need two completely separate source packages: one with
a tarball containing only DFSG-free content, the other containing anything
non-free (and potentially DFSG-free stuff as well, if it makes sense).

This means separate packaging as well; at least that way you don’t have to
worry about trying to detect whether you’re building the free or non-free
package.

Maintaining two source packages isn’t any harder than maintaining one, you
just need to do it twice. And yes, that means two separate Salsa repos too
(you could technically combine everything using branches, but that’s a recipe
for mix-ups). Basically, the same situation as you have today with the
separate angband and angband-audio source packages.

> I have a number of questions about the packaging process (sbuild can’t
> install imagemagick; dh_autoconf rewrites install-sh; version deps of libc
> and sdl-mixer-dev have increased unnecessarily; many more) – would anyone
> be willing to mentor me to get these things fixed?

Feel free to ping me, or ask on debian-mentors.

Regards,

Stephen
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmT7XEMACgkQgNMC9Yht
g5zH1xAAmj8eq5vhAj6vnMdMFrr4YE5+jY1wR7eeQjX3vAFS43QiB+zCRL6NfToH
UIICLLE4xv2SoZG0NVnqwA6TCJcJ65Oa5spvQrRTZxD7GGGAJP9zQZNZE/eooGTm
FHb10SuTP5F0tCw1Ndgk/XTIV/yXVW37vlW9HY6bYlXU1Yf9tfFmlJBpdbi25tpl
YYx3Svlp+EMvgTk1KmstJwKAa9IH/o+mmIFzQWQLWX/IMdhVyJJvTSzFB55fX4+p
Yt2K2wGGNunlR56ky/J2CO9VFxGhinbeQCo8F/N1fWyYdQD3lQMwzeVru9ql4MUc
DjLEVebBzJ62CPQiWeUtN1jTatHCQXaIeRoRk2AIPob7jkyjyXwjlEhwOET/kbuk
MIHupXywg4iWsgmC+wz6hKeLWwQldKta7PcqiOVRTc7gqN4YoyIKfy8VeuqIh8GG
Y9Qa3jgJagAxPedWjFTWC4xHZuqCNLsaXECiOeL1ipGlJQuO8sTXVvSo/VGwK/zz
yAb5G7o6BLZ5dSvgiu+3qVMTmGfcqa9unlYGYZLOovfm02HKoEP2wPBSSP/KQzfB
M9atEIGBnzfesh7UZyur7A865Jkk2IHejHnlxHLD7QF0O3DbujD+/char2rhZ26q
1vx1U3LyhIT+xySMgQpt5WXEKJP+ojceJzppnGfemzCkIyxX9NE=
=tUla
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.