Bug#1038035: grub2: Depends on SDL 1.2

2023-06-24 Thread Julian Andres Klode
Control: tag -1 fixed-upstream

On Fri, Jun 16, 2023 at 01:18:13PM +0200, Julian Andres Klode wrote:
> ControL tag -1 patch
> Control: forwarded -1 
> https://lists.gnu.org/archive/html/grub-devel/2023-06/msg00106.html

My revised patch has been merged in

https://git.savannah.gnu.org/cgit/grub.git/commit/?id=17d6ac1a7df4898743b9741d192f4f13947bf331

And this will be part of 2.12~rc1-1 upload accordingly.
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer  i speak de, en



Bug#1038035: grub2: Depends on SDL 1.2

2023-06-16 Thread Julian Andres Klode
ControL tag -1 patch
Control: forwarded -1 
https://lists.gnu.org/archive/html/grub-devel/2023-06/msg00106.html

On Thu, Jun 15, 2023 at 04:09:57PM +0200, Julian Andres Klode wrote:
> Control: tag -1 confirmed upstream
> 
> On Thu, Jun 15, 2023 at 12:45:14PM +0100, Simon McVittie wrote:
> > Source: grub2
> > Tags: trixie sid
> > User: pkg-sdl-maintain...@lists.alioth.debian.org
> > Usertags: libsdl1.2
> > 
> > This package has a Depends or Build-Depends on SDL version 1.2, which
> > is unmaintained upstream. This is presumably only for grub-emu.
> > 
> > If possible, please port this package to SDL 2 and close this bug. There
> > is a migration guide at ,
> > 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.
> > 
> > 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.
> 
> It works with the preload, so my preference right now is to rebuild with
> the compat -dev package for now, and try to solve SDL 2 upstream.

I just wrote a patch this morning to fix it:

https://lists.gnu.org/archive/html/grub-devel/2023-06/msg00106.html

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer  i speak de, en



Bug#1038035: grub2: Depends on SDL 1.2

2023-06-15 Thread Simon McVittie
On Thu, 15 Jun 2023 at 16:09:57 +0200, Julian Andres Klode wrote:
> On Thu, Jun 15, 2023 at 12:45:14PM +0100, Simon McVittie wrote:
> > This package has a Depends or Build-Depends on SDL version 1.2, which
> > is unmaintained upstream. This is presumably only for grub-emu.
> 
> It works with the preload, so my preference right now is to rebuild with
> the compat -dev package for now

Please don't change your Build-Depends (I've tried to be clearer about
this in later batches of bug reports). It's fine for the version that
ships in trixie to be built against libsdl1.2-dev.

For testing that a build against sdl12-compat can work,
libsdl1.2-compat-dev has a versioned Provides on libsdl1.2-dev, so it
should satisfy your build-dependency as-is.

If there are no showstopper bugs, I'm hoping to make sdl12-compat take
over the libsdl1.2-dev name during the trixie cycle, so that "classic"
SDL 1.2 goes away completely and packages with Build-Depends: libsdl1.2-dev
will be built against sdl12-compat, with libsdl1.2-compat-dev becoming a
transitional package - that means most packages won't need source changes.

Thanks for testing!

> and try to solve SDL 2 upstream

Thank you, that is the long term answer to this. There's no urgency to
solve this in a Debian-specific way.

smcv



Bug#1038035: grub2: Depends on SDL 1.2

2023-06-15 Thread Julian Andres Klode
Control: tag -1 confirmed upstream

On Thu, Jun 15, 2023 at 12:45:14PM +0100, Simon McVittie wrote:
> Source: grub2
> Tags: trixie sid
> User: pkg-sdl-maintain...@lists.alioth.debian.org
> Usertags: libsdl1.2
> 
> This package has a Depends or Build-Depends on SDL version 1.2, which
> is unmaintained upstream. This is presumably only for grub-emu.
> 
> If possible, please port this package to SDL 2 and close this bug. There
> is a migration guide at ,
> 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.
> 
> 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.

It works with the preload, so my preference right now is to rebuild with
the compat -dev package for now, and try to solve SDL 2 upstream.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer  i speak de, en



Bug#1038035: grub2: Depends on SDL 1.2

2023-06-15 Thread Simon McVittie
Source: grub2
Tags: trixie sid
User: pkg-sdl-maintain...@lists.alioth.debian.org
Usertags: libsdl1.2

This package has a Depends or Build-Depends on SDL version 1.2, which
is unmaintained upstream. This is presumably only for grub-emu.

If possible, please port this package to SDL 2 and close this bug. There
is a migration guide at ,
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.

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

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

-- 
This bug report is part of a mass-bug-filing: