[bug#78294,0/4] Add stb-image-resize.

Message ID cover.1746593989.git.aurtzy@gmail.com
Headers
Series Add stb-image-resize. |

Message

aurtzy May 7, 2025, 5:43 a.m. UTC
  Hi!

This series of patches includes:
- transition to modern packaging style using g-expressions;
- support for description translations to resolve a TODO comment;
- support for packaging libraries that are considered deprecated upstream;
- and the addition of one such package for a deprecated library.


I followed Ludo's tip to use define-word-list-dictionary as an example [1] for
resolving the translation support, but I wasn't able to figure out how to verify
that the patch works.  Is there a way to do this without pushing and searching
on Weblate?

The deprecated stb-image-resize library is used by gamescope [2], which is
incompatible with stb-image-resize2.  I plan to send a v2 patch in an existing
issue [3] to add gamescope soon(tm).

Guix reports about 30 dependent packages:
--8<---------------cut here---------------start------------->8---
$ guix refresh --list-dependent --expression='(@@ (gnu packages stb) stb)'
Building the following 17 packages would ensure 28 dependent packages are rebuilt: openboardview@9.95.0 cura@4.13.1 vv@3.1 libretro-dolphin-emu@5.0-0.89a4df7 dolphin-emu@5.0-13669.f9deb68 slade@3.2.5a csfml@2.5.1 extremetuxracer@0.8.2 schiffbruch@1.2.1-0.e41916d marble-marcher@0-1.e580460 mars@0.7.5-2.84664cd qgis@3.42.1 speed-dreams@2.4.0 stb-rect-pack@1.01 stb-image-resize2@2.12 python-pyjanitor@0.27.0 libtcod@1.15.1
--8<---------------cut here---------------end--------------->8---

[1] https://issues.guix.gnu.org/issue/32155#6

[2] https://github.com/ValveSoftware/gamescope

[3] https://issues.guix.gnu.org/70493

Cheers,

aurtzy

aurtzy (4):
  gnu: stb: Use modern package style.
  gnu: stb-*: Make it possible to translate descriptions.
  gnu: stb: Support defining deprecated header packages.
  gnu: Add stb-image-resize.

 gnu/packages/stb.scm | 115 ++++++++++++++++++++++++++-----------------
 1 file changed, 69 insertions(+), 46 deletions(-)


base-commit: ec95c71c01144fcae1a3d079e0d0aec6087b9d2a