#1038476 lincity-ng: Depends on SDL 1.2

#1038476#5
Date:
2023-06-18 15:58:13 UTC
From:
To:
This package has a Depends or Build-Depends on SDL version 1.2, which
is unmaintained upstream.

If possible, please port this package to SDL 2 and close this bug. There
is a migration guide at <https://wiki.libsdl.org/SDL2/MigrationGuide>,
and examples of successful ports from SDL 1.2 to SDL 2 can be found in
the commit history of packages like darkplaces and ioquake3.

If it is not possible to port to SDL 2, please test the package with
libsdl1.2-compat-shim (preferably version 1.2.64 or later), and leave
this bug open to track the package as still using SDL 1.2 APIs.

libsdl1.2-compat-shim is a compatibility layer that provides the SDL 1.2
API/ABI by using SDL 2: it has already replaced the "classic" SDL 1.2
library in some other distributions like Fedora and Arch, and my intention
is to do the same in Debian during the trixie release cycle.

Please don't change dependencies from libsdl1.2debian to
libsdl1.2-compat-shim, or from libsdl1.2-dev to libsdl1.2-compat-dev.
The -compat packages have Provides for the old package names, and my
intention is to make a future version of sdl12-compat take over the old
package names, to minimize the changes that are required in dependent
packages.

The interesting scenarios to test with libsdl1.2-compat-shim are:

1. Install libsdl1.2-compat-shim and run the program in an X11 environment,
   such as "GNOME on Xorg" or XFCE.
   ($XDG_RUNTIME_DIR/wayland-* should not exist)
2. Install libsdl1.2-compat-shim and run the program in a Wayland
   environment such as GNOME's default mode, using Xwayland.
   ($XDG_RUNTIME_DIR/wayland-* should exist)
3. Install libsdl1.2-compat-shim and run the program in a Wayland
   environment, but this time with environment variable
   SDL_VIDEODRIVER=wayland so that it uses the native Wayland interface
   (this is not currently the default for SDL 2).
4. Install libsdl1.2-compat-dev and recompile the package.

Note that using libsdl1.2-compat and LD_LIBRARY_PATH is not sufficient if
the package contains programs that are setgid games. See
<https://github.com/libsdl-org/sdl12-compat/blob/main/HOW_TO_TEST_GAMES.md>
for more information.

If any of those fail, please report it as a bug in the
libsdl1.2-compat-shim or libsdl1.2-compat-dev package as appropriate,
with "affects" pointing to the program that is affected.

Thanks,
    smcv

#1038476#18
Date:
2023-12-07 12:55:44 UTC
From:
To:
control: tag -1 +fixed-upstream

upstream project seems alive again
but needs less talking & more merging:

https://github.com/lincity-ng/lincity-ng/issues/27

#1038476#25
Date:
2023-12-20 11:35:42 UTC
From:
To:
Today's 2.9.0 release completes the port to SDL2.

Happy gaming

#1038476#28
Date:
2024-02-18 18:07:31 UTC
From:
To:
Hello,

Bug #1038476 in lincity-ng reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/games-team/lincity-ng/-/commit/acba0eb29e5d822ced2050ef149c9192fe619d81
------------------------------------------------------------------------
switch to libSDL2 (Closes: #1038476)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1038476

#1038476#35
Date:
2024-02-18 19:49:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lincity-ng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1038476@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated lincity-ng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 18 Feb 2024 19:54:57 +0100
Source: lincity-ng
Architecture: source
Version: 2.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1038476
Changes:
 lincity-ng (2.9.0-1) unstable; urgency=medium
 .
   * Team Upload
   * switch to libSDL2 (Closes: #1038476)
   * replace pkg-config by pkgconf
Checksums-Sha1:
 99004712cc65b8a5e5f3fbfa86d1810010aad414 2169 lincity-ng_2.9.0-1.dsc
 7609d76756f409461264ef9c59a36d0fb4e3407b 114802953 lincity-ng_2.9.0.orig.tar.gz
 8ab0d27c47cf7470445b2d07a6f77824b34b6d5a 8308 lincity-ng_2.9.0-1.debian.tar.xz
 6594081ac03fd535c3ad9226181990460b0565f8 14043 lincity-ng_2.9.0-1_source.buildinfo
Checksums-Sha256:
 4a07327c6f75287b976066195b0514fb90889881f4d08ec5e700cb1c9d79fcb5 2169 lincity-ng_2.9.0-1.dsc
 54a687f71b7ca9ddb5968c698d49dce01d2fd36b6ca9680662917037e98fc078 114802953 lincity-ng_2.9.0.orig.tar.gz
 d7aa0430c9f02137b3e5137a84dcca8812276ca46cd9c29cdcae442aa23c1e2f 8308 lincity-ng_2.9.0-1.debian.tar.xz
 6d786cf4451516f09733827459b0d670aa6e3979eb60b9062611cc3d1f7d4c69 14043 lincity-ng_2.9.0-1_source.buildinfo
Files:
 4f643a9c6cc923ce91ca211e5fedbf0b 2169 games optional lincity-ng_2.9.0-1.dsc
 8a8a487210eecc5a1b71398c2ff90b6d 114802953 games optional lincity-ng_2.9.0.orig.tar.gz
 b249bf4755e09d96d98799bbceec6e03 8308 games optional lincity-ng_2.9.0-1.debian.tar.xz
 3aa592fd4f73840b221bba26c0773be1 14043 games optional lincity-ng_2.9.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmXSV6YRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpUhg/+LYvWXPtiPmg+g1yss92EfxZ/a1+4GdyE
4qUQB0eaM9WwbTB4qDGumGGf8Q6PssvtDH9p/G8/OGPmYa138Woq0I+outsHRhTi
KnSsLwBoOa1iv9933RPyccZnj4PJLIocwDPKEpfAmO6CPx7U19VkJErijaehNTPs
kJYjbMTWcMtZNPqk/wwzYBWMKqpvwWMWYcw1+tuH89E7ERseJmUkOcZW5iwiPCrx
kLdm5MTMOeaonpMMbneG84OYweKeMgfkQ+b3wxw6fqbRrJOaQ3OcKvWwz15eRe92
JIHpiev3IDOk5vweBZt3bwKA0/ZmlFax7W0O2xuHoGYA+67JrZ1XnbcgJgE8kk3D
r/fWDdYoggGRFq+cAGT0HNPR5K393q309kXPB+FYxTDXrnEf51IOTTR6wlJLRmqQ
Xr+N43bGY0rADfE9cZKbyYT/+/2GAgxyT/cus2XBgyGmN/3NWmwq80rDGAxGXqQ3
2kSms+osCssSOBXsu+ebHK+HXXnkQGKJcXeSwCTtXWU8vFqu5cTs+GKrkyyqLDTy
auN/K2ngzNkDoppAkBixmOVhlpEUZoTIEaaoWk906j6kQJyTL+n9ROLczbE/on/d
JGdtaF6hZf15UZ8qMyo1Tj8YMi1y6+oKkzHW0uoh1JcFombEIH2Hvgn33nxpPhEi
/PHDIzsC4NE=
=Oe2b
-----END PGP SIGNATURE-----