GNU logs - #78294, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#78294] [PATCH 0/4] Add stb-image-resize.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 07 May 2025 05:53:02 +0000
Resent-Message-ID: <handler.78294.B.174659716117656 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 78294
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 78294 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174659716117656
          (code B ref -1); Wed, 07 May 2025 05:53:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 May 2025 05:52:41 +0000
Received: from localhost ([127.0.0.1]:38872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXhw-0004af-FV
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:52:41 -0400
Received: from lists.gnu.org ([2001:470:142::17]:39174)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXht-0004a9-HV
 for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:52:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1uCXhn-0003XV-TD
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:52:31 -0400
Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1uCXhm-000590-AE
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:52:31 -0400
Received: by mail-qt1-x829.google.com with SMTP id
 d75a77b69052e-476ac73c76fso73320841cf.0
 for <guix-patches@HIDDEN>; Tue, 06 May 2025 22:52:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597148; x=1747201948; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=zUph2eJfjRU5LRIgILOXt5tg1ObHrZ7bzV2/Pvh/h2s=;
 b=CcyMytnAWItHcFc0sbEr+XRHUmAlc7ooJf4JLmdHiPSF+YMfYIqVQq6Ct0szo+HBNQ
 JPfBOEKbLBfi5FSSeE2ZpxqQiDj+D0b7zSbiL4Mcqihd4TtwcuLEvoOXbmXsWLbkeN1r
 Cf044fahZmMKPG7NDJiQttL10x5a7b/0W5jpS3T3O+gxPh/kHjHy7Ch3Boyw7goCteQX
 ber6/ZtDK0WE98RYybtbxEKR6oGt+WQQo9VR9WOIxXvc8/EePlURAhIG8AI9BJbilkD2
 JZcFirA/OmL0DJ1yXtN/Ci/iJ7OfW2WR/8tGeExFGdLFxCRx2dBXcZRXajLxRv7N3Iei
 y2Dw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597148; x=1747201948;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=zUph2eJfjRU5LRIgILOXt5tg1ObHrZ7bzV2/Pvh/h2s=;
 b=X5epnCdpzBDlz1yKRPa11ujxzMJMBvSUSGyvfkVrbXBPLGMJST17wr7BCMYEli2TYE
 mbWDi9hlEPZX0yjhzYcL1NefQ/IKMmu5vxS/i+6yVT+3H3txwdhHXTr51ACo3bo2kM0b
 nzOikxuPTgSFpgyH+4hTokOuqj75Tdh4KWtQV3MsxOg4W5FoZ9ZMjXXkPgbHRoO+PCe0
 pKXpWh1NbVHl/JusZwzPjs05pUQOYxwBXKRIs2nusQW5BvYON4j9hZPjq5+FxygY5k+5
 aD6BhLu1Vsr8Ywj41qnUsrZ4CA9kiQM/UUj6LjRKmvNNieW9XUxeaSZWyQGI4/Ak5+vz
 cRRQ==
X-Gm-Message-State: AOJu0Yw870ZoBitjduhNeKV7f82diPe389CZadGe9qY1aYwRSWYgsz57
 lobwv7zqM+pxTTSlwCQzhlctJh93tPxnQS5B93XXrRXWRoRDVVJ1ERKMFQ==
X-Gm-Gg: ASbGnctTyqWyaZu/bXC/uYBnUu5hs5j1J5m+XesnCr4Bi4CCw4VyT4WK52gTWHgdUkR
 84k0R8BLaBPhtvSHD2UIAlPNP6pYYBpP2eMVEyspOqXvrLpVIXw8CSgSxzjL1Gpi2Y+xIOjiEwL
 qtp8HLL7O0ronaHoQvc2XM6Ow7adxOmh/zZTMhJax0Sd0+bxiBsGFNA3JSwP79qx0mwRXr7GOfn
 Mcb1v8YPEJ1JAujnNAtFK2SpwG1VjcTw6iGEbZDbRCmlCMtwIg8f6DGCzA/KcdXFuKk9QtX22Tx
 1KfiP54wct71lSJA2Lzif+gApDyCkSe5qjAA90rw3qaj2Q==
X-Google-Smtp-Source: AGHT+IEqtDly2JU01WMGOzCkviCnoJ2geXhHbZ43NvSfg5/ze/kKO5mvrYDl9AArzmo/W8Bj+545dg==
X-Received: by 2002:a05:622a:1924:b0:48a:f7d7:f9f8 with SMTP id
 d75a77b69052e-49225b36a3fmr33275921cf.14.1746597148253; 
 Tue, 06 May 2025 22:52:28 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 d75a77b69052e-49220f8329bsm9640451cf.5.2025.05.06.22.52.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:52:27 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
Date: Wed,  7 May 2025 01:43:08 -0400
Message-ID: <cover.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::829;
 envelope-from=aurtzy@HIDDEN; helo=mail-qt1-x829.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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@HIDDEN cura@HIDDEN vv@HIDDEN libretro-dolphin-emu@HIDDEN dolphin-emu@HIDDEN slade@HIDDEN csfml@HIDDEN extremetuxracer@HIDDEN schiffbruch@HIDDEN marble-marcher@HIDDEN mars@HIDDEN qgis@HIDDEN speed-dreams@HIDDEN stb-rect-pack@HIDDEN stb-image-resize2@HIDDEN python-pyjanitor@HIDDEN libtcod@HIDDEN
--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
-- 
2.49.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: aurtzy <aurtzy@HIDDEN>
Subject: bug#78294: Acknowledgement ([PATCH 0/4] Add stb-image-resize.)
Message-ID: <handler.78294.B.174659716117656.ack <at> debbugs.gnu.org>
References: <cover.1746593989.git.aurtzy@HIDDEN>
X-Gnu-PR-Message: ack 78294
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 78294 <at> debbugs.gnu.org
Date: Wed, 07 May 2025 05:53:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 78294 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
78294: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78294
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to aurtzy@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#78294] [PATCH 1/4] gnu: stb: Use modern package style.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 07 May 2025 06:00:02 +0000
Resent-Message-ID: <handler.78294.B78294.174659759819153 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78294
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 78294 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>
Received: via spool by 78294-submit <at> debbugs.gnu.org id=B78294.174659759819153
          (code B ref 78294); Wed, 07 May 2025 06:00:02 +0000
Received: (at 78294) by debbugs.gnu.org; 7 May 2025 05:59:58 +0000
Received: from localhost ([127.0.0.1]:38918 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXoz-0004yl-Os
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:59:58 -0400
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:55651)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXow-0004yG-AH
 for 78294 <at> debbugs.gnu.org; Wed, 07 May 2025 01:59:55 -0400
Received: by mail-qk1-x72d.google.com with SMTP id
 af79cd13be357-7c53b9d66fdso985695085a.3
 for <78294 <at> debbugs.gnu.org>; Tue, 06 May 2025 22:59:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597588; x=1747202388; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=vNwhUhYg0XIOhtZHA1vjE/dRKo1FEtkbgiw+oFs8hC8=;
 b=CS4niHXupdOe8JAPtGuE8ULJIGC2PjpwgUYnQ0sC05PANiVXKR2mx+d6wsXFS9PyO8
 FHuYdWbQdQ8zkFom6GiLBeixdTSlT0z7onRVY6iZuIKWEk23pO66Bd2PSRi8ZoRH09Tv
 XCGFKnoSILPnmW/6UGlAZg6jXfWX5d1Vvy0DnKfIJXPv9gE303Hpanxeh6eD5vKYf34n
 LxCHeaTexxSvBvui07yOV9uWXKOch4F6pQ6fL7C5lZcTJNQ2/r1ytYwGG972xQHYdik8
 6/slX2VfWgbUNKrl9QQAE8qKSpbJ7YPDMTZg3GCFwrZN4xKdPc7j4LJf7pDQQNVFLCxJ
 CNdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597588; x=1747202388;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=vNwhUhYg0XIOhtZHA1vjE/dRKo1FEtkbgiw+oFs8hC8=;
 b=wN046FsBa61fZAG52fjMR/DyVZphEM5Ae20TJhtzyaLI0kqX03qD7puAQMf6Wr5JQM
 E1dELsvNRxJkpCO2WwybhPYrpyNzRjcRPqftrsbdmbbHet+Z0BwUEdGgrwHnISVSVaSo
 LxQAirs/bYCzKhLmewMSAxqQ/QCerXcfksnjojZaVUeWKvQhgNubCZvtdjqKp1n3AAzV
 zX4rc8vPk9m65o1I2HTewR/EbWyla/+X13przHvUmJ5M85IFau8E42LTeIigfMugI3eV
 x/wVTZ7ckXyjMXujkNv3+0e7ykD07ncgU95SXDjT2TekLRhKwo2W0CPfXLBvyu4H5Fi2
 B/PQ==
X-Gm-Message-State: AOJu0YzGwG9T+Yy0eAesAm69sSfDjdZnNlAgpOtnlv+lHveBbF1KLHb+
 pWz/MepLyQBXR97lCO5EBY3ZuIzq3W7nScEEHCaQfgE729zFqPk1YKhVcg==
X-Gm-Gg: ASbGncsxSlKxuV+Xb5jOScL9BCfFGnqNSQgm9tSNP8eewiWnDOR7Wg+Pw3KEpErSCop
 uvlPuA0+1YkTk6r3vpEqqT1ctbVhqEEEinS9OpZbiS9yTKQ224I00IjLemtyLRF5V/1XSDfJSpU
 3x6CZ1gUwfYyv+yc38b99OcAGyXaPPPB1PaLVKhqvzyr/SgPUYoMCBKksBh+yAfXEAsnv6rRRTp
 v/3mWMALOBrf5QQsBcU17UZ9RQbsLIdOun/49uD8TEwkcojut6d9itzMn/C0AZ3wSHG8hy+szOw
 BTBbX7vaqSiaVN9izX52XCITh8Gtm8pXzKM=
X-Google-Smtp-Source: AGHT+IE7fvXUggkLUS4VVSxncz2QP0j/DV3KmkhuF7exlbLtaptPnpebbSi6WEIXZFt0P5AWZesP7g==
X-Received: by 2002:a05:6214:763:b0:6f5:3e38:6127 with SMTP id
 6a1803df08f44-6f542afe161mr32274736d6.42.1746597587512; 
 Tue, 06 May 2025 22:59:47 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6f542623f1esm9795636d6.8.2025.05.06.22.59.46
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:59:47 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
Date: Wed,  7 May 2025 01:59:08 -0400
Message-ID: <6a6970133aa16ca64f7a98823ca62c9c596a3d50.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <cover.1746593989.git.aurtzy@HIDDEN>
References: <cover.1746593989.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/stb.scm (stb)[arguments]<#:phases>: Use G-Expressions.
(make-stb-header-package): Likewise.

Change-Id: I836ad872e20444dcfb30480bd420cb63e4bb313f
---
 gnu/packages/stb.scm | 56 ++++++++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/stb.scm b/gnu/packages/stb.scm
index 90c9fff8cf..64375e7480 100644
--- a/gnu/packages/stb.scm
+++ b/gnu/packages/stb.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Marius Bakke <mbakke@HIDDEN>
 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright © 2025 aurtzy <aurtzy@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18,6 +19,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages stb)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
@@ -44,25 +46,27 @@ (define stb
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
-       `(#:modules ((ice-9 ftw)
+       (list
+        #:modules `((ice-9 ftw)
                     (ice-9 regex)
                     (srfi srfi-26)
                     ,@%default-gnu-modules)
-         #:phases (modify-phases %standard-phases
-                    (delete 'configure)
-                    (delete 'build)
-                    (replace 'check
-                      (lambda _
-                        #f ; (invoke "make" "-C" "tests" "CC=gcc")
-                        ))
-                    (replace 'install
-                      (lambda* (#:key outputs #:allow-other-keys)
-                        (let ((out (assoc-ref outputs "out"))
-                              (files (make-regexp "\\.(c|h|md)$")))
-                          (for-each (lambda (file)
-                                      (install-file file out))
-                                    (scandir "." (cut regexp-exec files <>)))
-                          #t))))))
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)
+            (delete 'build)
+            (replace 'check
+              (lambda _
+                #f                     ; (invoke "make" "-C" "tests" "CC=gcc")
+                ))
+            (replace 'install
+              (lambda* (#:key outputs #:allow-other-keys)
+                (let ((out (assoc-ref outputs "out"))
+                      (files (make-regexp "\\.(c|h|md)$")))
+                  (for-each (lambda (file)
+                              (install-file file out))
+                            (scandir "." (cut regexp-exec files <>)))
+                  #t))))))
       (synopsis "Single file libraries for C/C++")
       (description
        "This package contains a variety of small independent libraries for
@@ -79,15 +83,17 @@ (define (make-stb-header-package name version description)
     (inputs (list stb))
     (build-system trivial-build-system)
     (arguments
-     `(#:modules ((guix build utils))
-       #:builder (begin
-                   (use-modules (guix build utils))
-                   (let ((stb (assoc-ref %build-inputs "stb"))
-                         (lib (string-join (string-split ,name #\-) "_"))
-                         (out (assoc-ref %outputs "out")))
-                     (install-file (string-append stb "/" lib ".h")
-                                   (string-append out "/include"))
-                     #t))))
+     (list
+      #:modules '((guix build utils))
+      #:builder
+      #~(begin
+          (use-modules (guix build utils))
+          (let ((stb #$(this-package-input "stb"))
+                (lib (string-join (string-split #$name #\-) "_"))
+                (out #$output))
+            (install-file (string-append stb "/" lib ".h")
+                          (string-append out "/include"))
+            #t))))
     (description description)))
 
 ;; TODO: These descriptions are not translatable!  They should be
-- 
2.49.0





Message sent to aurtzy@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#78294] [PATCH 2/4] gnu: stb-*: Make it possible to translate descriptions.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 07 May 2025 06:00:03 +0000
Resent-Message-ID: <handler.78294.B78294.174659760119168 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78294
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 78294 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>
Received: via spool by 78294-submit <at> debbugs.gnu.org id=B78294.174659760119168
          (code B ref 78294); Wed, 07 May 2025 06:00:03 +0000
Received: (at 78294) by debbugs.gnu.org; 7 May 2025 06:00:01 +0000
Received: from localhost ([127.0.0.1]:38921 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXp2-0004z5-GE
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 02:00:00 -0400
Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:45383)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXox-0004yI-8a
 for 78294 <at> debbugs.gnu.org; Wed, 07 May 2025 01:59:55 -0400
Received: by mail-qk1-x72f.google.com with SMTP id
 af79cd13be357-7cadd46eb07so484910185a.3
 for <78294 <at> debbugs.gnu.org>; Tue, 06 May 2025 22:59:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597589; x=1747202389; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=iJsLElpSCSEVs1EmRGBjOP45UjW1ACiAzFAzkt06Cfk=;
 b=Tet2Lia7UC6GVPmHNTBy8gv65S3mmJmlujZDec7eXdi139h0mi8XDsnsRpPUxkwnym
 J6+mM8tL4TinR8b1qtJ8r38QjMmJB8n957nDUDF0td2xe8wWzSclVvPW2nygDTBoo51Q
 X3RoW5ocEDhD0d7J4JhR3+tpGOoSa+2r5kir09wvYYsigB+QCauN/hiNbpZxPjavC6H3
 kSzFNWUL/FLokhC0oiKtvs+KnmnNOidZz7KgxLmtBYnnuIukgu/2wLDuyO7Rmq13G+2A
 k2NT6foCq4HFpMPeiokj0q4kszG2G4Bkivz4DBJDpL7MT1UznP1IMPI+IQ0BGgUPwli2
 z/Kw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597589; x=1747202389;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=iJsLElpSCSEVs1EmRGBjOP45UjW1ACiAzFAzkt06Cfk=;
 b=Y4MnaNTJ8RcMx6wLQRBWVtCKlvVNdX4YtzZ1+mzEFcvFspDEXyc1FBV6dKj1CMuP0U
 fyrSLU9qii460rPJZqxApCIRrQRSNy31kqx+/sgQmakZTV1rgUbNvxMKGHxChhOW6XtY
 BMyGjG7qXE+xrXXnUrL1CW4PSiHAu5AJMwn6zZ0MsY2Y2MGIMqasCE9JtuAJhDsI6rFf
 FIFC68a3t7RoHN2uZGp1EcMEsTkpgoUAcn8O0nq6icZxVYDy3+tWdI9aTWoI/iGVvXVC
 gUJXsEacv31anHJdB680WrTsP+XYlFki2p4n8/ftjBonL/IaUt8Emah7MgyIeh0yUVR/
 7RNQ==
X-Gm-Message-State: AOJu0YzWdQ0kyUJZog525Qqn0lMnq3VXahpeyLY7QYRCRpAIJ5tDvvQl
 FoEHSpznbUKrnmkyPTGTBvY+JuUtxtoMlmUIVIU2vxVCjLL1yT1HCexMAg==
X-Gm-Gg: ASbGncvF3s+2b4GmNq0ZuR30ONe+SjpyTfJWTNm5SD7gfdsKvD16AOysHeeO9j7GYuy
 27U6MdE4Nsvta/DwA+9I39wUxtPNWL0mRefORfIa07FwXpg3WYkeuFXeJtHXdB/9VP/LywdB76a
 aoCdc68VTe3VjiuQeoJUHSl7h2TLOfv6YJTAbbwhQ56lQ6zh8+vJn9XSyTQnFZD4sDaDwkDULUy
 EUw/zjMjO+nbGDCaqtT8yzREbhGXQsRPgfLEwIYgCm2LHpFUpmIEc0SiLPhCOCUIAT25T3f/mdD
 crnzperk1Ud9SmAe8E6EZMcLZ8UZg4ITaSB2KgSYms5bUQ==
X-Google-Smtp-Source: AGHT+IGmUSvT3O73L8orVl5BgCpsR//pghhqh4y/YpFCHHaGQa8Bm5RnAX2HLLqoxod7ZEhptSMAhg==
X-Received: by 2002:a05:6214:27e5:b0:6f5:3cae:9205 with SMTP id
 6a1803df08f44-6f542ae7e8emr22940806d6.39.1746597589217; 
 Tue, 06 May 2025 22:59:49 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6f542623f1esm9795636d6.8.2025.05.06.22.59.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:59:48 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
Date: Wed,  7 May 2025 01:59:09 -0400
Message-ID: <00cae198dcd7640a42178ae3a795b607abf59e92.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <cover.1746593989.git.aurtzy@HIDDEN>
References: <cover.1746593989.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/stb.scm (define-stb-header-package): New macro.
(stb-image, stb-image-resize2, stb-image-write, stb-rect-pack, stb-sprintf,
stb-truetype): Use it.

Change-Id: Ie7da51a2eb2dc91dff8d23e0d3c8397af3eb6d67
---
 gnu/packages/stb.scm | 44 ++++++++++++++++++++++++--------------------
 1 file changed, 24 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/stb.scm b/gnu/packages/stb.scm
index 64375e7480..395959608d 100644
--- a/gnu/packages/stb.scm
+++ b/gnu/packages/stb.scm
@@ -96,39 +96,43 @@ (define (make-stb-header-package name version description)
             #t))))
     (description description)))
 
-;; TODO: These descriptions are not translatable!  They should be
-;; converted to macros as outlined in <https://bugs.gnu.org/32155>.
-(define-public stb-image
-  (make-stb-header-package
-   "stb-image" "2.30"
+(define-syntax define-stb-header-package
+  (syntax-rules (description)
+    ((_ symbol name version (description text))
+     (define-public symbol
+       (make-stb-header-package name version text)))))
+
+(define-stb-header-package stb-image
+  "stb-image" "2.30"
+  (description
    "stb-image is a small and self-contained library for image loading or
 decoding from file or memory.  A variety of formats are supported."))
 
-(define-public stb-image-resize2
-  (make-stb-header-package
-   "stb-image-resize2" "2.12"
+(define-stb-header-package stb-image-resize2
+  "stb-image-resize2" "2.12"
+  (description
    "stb-image-resize2 is a library that supports scaling and translation of
 images."))
 
-(define-public stb-image-write
-  (make-stb-header-package
-   "stb-image-write" "1.16"
+(define-stb-header-package stb-image-write
+  "stb-image-write" "1.16"
+  (description
    "stb-image-write is a small library for writing image files to the
 C@tie{}@code{stdio} interface."))
 
-(define-public stb-rect-pack
-  (make-stb-header-package
-   "stb-rect-pack" "1.01"
+(define-stb-header-package stb-rect-pack
+  "stb-rect-pack" "1.01"
+  (description
    "stb-rect-pack is a small rectangle packing library useful for, e.g., packing
 rectangular textures into an atlas.  It does not do rotation."))
 
-(define-public stb-sprintf
-  (make-stb-header-package
-   "stb-sprintf" "1.10"
+(define-stb-header-package stb-sprintf
+  "stb-sprintf" "1.10"
+  (description
    "stb-sprintf implements fast @code{sprintf}, @code{snprintf} for C/C++."))
 
-(define-public stb-truetype
-  (make-stb-header-package
-   "stb-truetype" "1.26"
+(define-stb-header-package stb-truetype
+  "stb-truetype" "1.26"
+  (description
    "stb-truetype is a library for parsing, decoding, and rasterizing
 characters from TrueType fonts."))
-- 
2.49.0





Message sent to aurtzy@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#78294] [PATCH 3/4] gnu: stb: Support defining deprecated header packages.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 07 May 2025 06:00:04 +0000
Resent-Message-ID: <handler.78294.B78294.174659760119205 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78294
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 78294 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>
Received: via spool by 78294-submit <at> debbugs.gnu.org id=B78294.174659760119205
          (code B ref 78294); Wed, 07 May 2025 06:00:04 +0000
Received: (at 78294) by debbugs.gnu.org; 7 May 2025 06:00:01 +0000
Received: from localhost ([127.0.0.1]:38923 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXp2-0004z8-W0
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 02:00:01 -0400
Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:50198)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXoz-0004yM-C6
 for 78294 <at> debbugs.gnu.org; Wed, 07 May 2025 01:59:57 -0400
Received: by mail-qv1-xf34.google.com with SMTP id
 6a1803df08f44-6f5440fcf81so5769516d6.0
 for <78294 <at> debbugs.gnu.org>; Tue, 06 May 2025 22:59:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597591; x=1747202391; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=fVK8YUha5Wp6uUaiWya11FA2FdVD5RHc/akVwVq+3l4=;
 b=mX01wUGXsMZcf/F9AeAKOzPDhklRqXbcgIwn+mqeQoY5MHEyP2wyf2g5kJmzop+auF
 t+Qn/ZhCs0czPfJI5DYPlrJF5UQ86eW/gOTM09076GE9fZYiVkcq7xOsQAjSmZAFzIVE
 CNFEXPSMvbGJVNbgbFXhdVRvzusfRT+wK+tOwUue4ct43rQoSYMThVV5pG4HJWTDk99U
 347fDR8zSImpJxAkGCDdTaPUG6RVoAe/gHWODsQlKEY7Lt5q7Fpr77xIUQ9UTBMIgqN4
 vddC+tdpbaLZx1uTFZv6oM+33eaFG2RM2frr7UPkkv5taJGNKKFKj2VFH+SkTJ1FxhCe
 TAqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597591; x=1747202391;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=fVK8YUha5Wp6uUaiWya11FA2FdVD5RHc/akVwVq+3l4=;
 b=AzaVDGZdjLI+ba8e5CeFD2tIhC7di2H7nxqbuLgky/EsvhMzaqfPwght9S/Lzqr3Kg
 09RXK7JwwmfiWpYuzZF+vdTnzRVkbk8uV1Jdd/11gTnmNUKrtOmKh0KgGwOxcPDoWM9V
 zsAQlKZe8DbzPSP9GbLc1B8rXE9UsqyagZzDuOh5iH/5uFH+eSkCMEENSXgsIvwbh+/O
 HK8E+ae/l1q+w4oGDi/1nx8gxOIZqtf0dlDnvPPZsOTVpghVXW97vXUgxMlP15iXLq0X
 wXYAFxLjftQ0BJex0gJRAYpLzkMseT4JCra/FHp/BUGie7jf9mISMDVgu6iDeMW0PdNC
 VoEA==
X-Gm-Message-State: AOJu0YxBedYLV86H5sdBhj59yNogA6PFuLbgdt2Jhk73nhy4V4XzcNDv
 Sbf1q6KudNhUh8KFv6A0StKaPAfgmQx8wjeLWK7/HabRTbOaaL6m1gFypA==
X-Gm-Gg: ASbGncv7GWOUoCoYgGqGiRn2PPOaPaGWLxJAi8YP7ruETd7b4UuHR9mGS2cNHme2FhK
 2o/ZmlqyloBCuTXDxiUWwn3H3hIMYdDgIjPoBpiDyf4P2uVYoO/+Wef0i2KgxFnTm6m+wIqw+Rs
 VjgFfemc2LmGEwzsE0k2j4AtV0NS4Jc+V/IP8xEO7iKzmRiaEBt1aTtUZKmYavzfGQJrWFv3Ouw
 XuFFRPUih4I17NteQKJTjV7xCrLlj5GkVGPmWLRZJHUhJTS2ItnXI2oAlmiKFo4ZSHvx6n2yB15
 R7rT0+qaXp89p4iOufv82UID772aucbOFPo=
X-Google-Smtp-Source: AGHT+IFUnuQ/xSY+tjmh4J8I5uZ9wYH0ixq1DOkI9WG9UFytVD2x5yAO6qwQwuGK7KdYD1u/L1govQ==
X-Received: by 2002:ad4:442b:0:b0:6f5:4711:2980 with SMTP id
 6a1803df08f44-6f547113548mr51576d6.42.1746597590833; 
 Tue, 06 May 2025 22:59:50 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6f542623f1esm9795636d6.8.2025.05.06.22.59.50
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:59:50 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
Date: Wed,  7 May 2025 01:59:10 -0400
Message-ID: <09d459743cf1c290962c8b2e75c9f81a219defb6.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <cover.1746593989.git.aurtzy@HIDDEN>
References: <cover.1746593989.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/stb.scm (stb)[arguments]<#:phases>: Modify 'install phase to
include deprecated files in output.
(make-stb-header-package): Support `deprecated?' keyword argument.
(define-stb-header-package): Accept rest arguments and pass them to
make-stb-header-package.

Change-Id: I003dd5786e3bd22d00290d1935e21291e8529914
---
 gnu/packages/stb.scm | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/stb.scm b/gnu/packages/stb.scm
index 395959608d..827cdb85a4 100644
--- a/gnu/packages/stb.scm
+++ b/gnu/packages/stb.scm
@@ -60,12 +60,16 @@ (define stb
                 #f                     ; (invoke "make" "-C" "tests" "CC=gcc")
                 ))
             (replace 'install
-              (lambda* (#:key outputs #:allow-other-keys)
-                (let ((out (assoc-ref outputs "out"))
-                      (files (make-regexp "\\.(c|h|md)$")))
-                  (for-each (lambda (file)
-                              (install-file file out))
-                            (scandir "." (cut regexp-exec files <>)))
+              (lambda _
+                (let* ((files-rx (make-regexp "\\.(c|h|md)$"))
+                       (include-file? (cut regexp-exec files-rx <>))
+                       (deprecated-output (string-append #$output "/deprecated")))
+                  (for-each (cut install-file <> #$output)
+                            (scandir "." include-file?))
+                  (mkdir-p deprecated-output)
+                  (with-directory-excursion "deprecated"
+                    (for-each (cut install-file <> deprecated-output)
+                              (scandir "." include-file?)))
                   #t))))))
       (synopsis "Single file libraries for C/C++")
       (description
@@ -74,7 +78,7 @@ (define stb
       ;; The user can choose either license.
       (license (list expat public-domain)))))
 
-(define (make-stb-header-package name version description)
+(define* (make-stb-header-package name version description #:key deprecated?)
   (package
     (inherit stb)
     (name name)
@@ -88,19 +92,20 @@ (define (make-stb-header-package name version description)
       #:builder
       #~(begin
           (use-modules (guix build utils))
-          (let ((stb #$(this-package-input "stb"))
+          (let ((headers-dir #$(file-append (this-package-input "stb")
+                                            (if deprecated? "/deprecated" "")))
                 (lib (string-join (string-split #$name #\-) "_"))
                 (out #$output))
-            (install-file (string-append stb "/" lib ".h")
+            (install-file (string-append headers-dir "/" lib ".h")
                           (string-append out "/include"))
             #t))))
     (description description)))
 
 (define-syntax define-stb-header-package
   (syntax-rules (description)
-    ((_ symbol name version (description text))
+    ((_ symbol name version (description text) rest ...)
      (define-public symbol
-       (make-stb-header-package name version text)))))
+       (make-stb-header-package name version text rest ...)))))
 
 (define-stb-header-package stb-image
   "stb-image" "2.30"
-- 
2.49.0





Message sent to aurtzy@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#78294] [PATCH 4/4] gnu: Add stb-image-resize.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 07 May 2025 06:00:05 +0000
Resent-Message-ID: <handler.78294.B78294.174659760219218 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78294
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 78294 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>
Received: via spool by 78294-submit <at> debbugs.gnu.org id=B78294.174659760219218
          (code B ref 78294); Wed, 07 May 2025 06:00:05 +0000
Received: (at 78294) by debbugs.gnu.org; 7 May 2025 06:00:02 +0000
Received: from localhost ([127.0.0.1]:38925 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXp3-0004zg-MH
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 02:00:02 -0400
Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:50292)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXp0-0004yO-D8
 for 78294 <at> debbugs.gnu.org; Wed, 07 May 2025 01:59:58 -0400
Received: by mail-qt1-x82f.google.com with SMTP id
 d75a77b69052e-47691d82bfbso28138601cf.0
 for <78294 <at> debbugs.gnu.org>; Tue, 06 May 2025 22:59:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597592; x=1747202392; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=mOPomZVONhV1+bbGZgExX9tRvpoh/twN9ODn7dwNxFw=;
 b=lv9vYWjil4hf0Nv4WbytX/+urmjGy+phwo5rGGMY4XlRwkCEKU03dXybM97JBSmZth
 KmPtcjcho7tTZSotwiikLcn5+YMP7Wl3bWtW4LXfJphMRzDb0B+2ahUTS6BLG9TkMxps
 BhL4KwFjVqyeaBUFu0YOtjRjv8S/hYL2Hr3ecAvDtasKQjsllhRlNU0eiebMqQPVYfcA
 qCgiSroJGfFPc9Z4m6ocIN8amrmSj1O4PM8c79V7wC26iOfo62wqeW1sQxj4BmcbTAM+
 LUBY5Sf/UscE1UBRnpHx/gJtsLjBSOWO1Z7vFU/77m76O/IgbblXdlg6oZ/Kr2hx2/Sc
 akDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597592; x=1747202392;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=mOPomZVONhV1+bbGZgExX9tRvpoh/twN9ODn7dwNxFw=;
 b=wx5OJA3l0Pxuc0PrhepvXLyUFEHnfoNp+GnnQrZ0ooQQRUqrJPTUPZuwwibdrS/rfM
 hyv4KHAKGcZj9V9c7pJZmN8DAUMhNPasLc4Ub3lrNPcOVrh9MWBNj7JRQ2K59pgknWNs
 2eAhFVrmZWcI+TtJqtTwSfLaASRLHAlX5To2KRiHJaoU6bweXT+Nf+/yUdEpkZDkKxQs
 rbdRSKFqszM/bvHoB2tDgWyyBRwrbZo0vNE5TTGrohmVIub9ioWWlDVsWPGlkWw04FrW
 25iVOC7PqSfeb2dzJZOqJP4cU8+oxa4c49JLI4ZfFqgmJUsbbYVsfkLoDsmV7TiOGX0D
 OpKw==
X-Gm-Message-State: AOJu0YzZSAvlUxqEgPHpcY3o3O2sSguYLMo+WyMacdVt44KWHhWqFVsB
 uYV85gNjDpegff3PAuqq6uah3yXvS3CyluzgJFsVJOt+CMt7NJh5FY2ZuQ==
X-Gm-Gg: ASbGnctcC/3HALORksDex2YOc17Gl/zgozgSWjl5xoceMMoMDvwX/Ln8b63vHlfTLUU
 gqYmshmaTvLAZ1/YsPr8lTmQOjTOSwp53PNNSwTX8TsACKfhm5gPNz1aK2+mUi+Hn00vZtacH9L
 +uZ44lYqYd7Or2Bjlz3O0BZ0npEM0cUo6h6X3nX9EqIWnQhKg7pXyfg/Nd8PspaFZexER6xK0hH
 2lf+L5kz1nakpkWLxbAL3mdrh/Yjhl8WKJ8fz1XWG3nz5lsZuO3cAkwOm/CRt0A29IrUITJ0eEQ
 n4Y7tv/r7L2CtlTaZUCAcL/LBT8kVEogAAVlkIjxu5tONA==
X-Google-Smtp-Source: AGHT+IHaBTQPlvL8ElEjOrsax/5V/N7q88jET+WLS0fhwj3635oE3k7gJ/3OJYsL/L9Wyj0THk/iGg==
X-Received: by 2002:a05:6214:1949:b0:6e8:9021:9090 with SMTP id
 6a1803df08f44-6f542a5516fmr27241056d6.26.1746597592429; 
 Tue, 06 May 2025 22:59:52 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6f542623f1esm9795636d6.8.2025.05.06.22.59.51
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:59:52 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
Date: Wed,  7 May 2025 01:59:11 -0400
Message-ID: <8635dad843d299497bd46e036266a8b2a2abff11.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <cover.1746593989.git.aurtzy@HIDDEN>
References: <cover.1746593989.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/stb.scm (stb-image-resize): New variable.

Change-Id: Ibaf2cc9e0855843139b55694601b56069cbd3074
---
 gnu/packages/stb.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/stb.scm b/gnu/packages/stb.scm
index 827cdb85a4..f3be6a56ec 100644
--- a/gnu/packages/stb.scm
+++ b/gnu/packages/stb.scm
@@ -113,6 +113,14 @@ (define-stb-header-package stb-image
    "stb-image is a small and self-contained library for image loading or
 decoding from file or memory.  A variety of formats are supported."))
 
+(define-stb-header-package stb-image-resize
+  "stb-image-resize" "0.97"
+  (description
+   "stb-image-resize is a library that supports scaling and translation of
+images.  This library is deprecated; @code{stb-image-resize2} should be used
+instead.")
+  #:deprecated? #t)
+
 (define-stb-header-package stb-image-resize2
   "stb-image-resize2" "2.12"
   (description
-- 
2.49.0





Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: bug#78294: closed ([PATCH 0/4] Add stb-image-resize.)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.78294.D78294.174973203912235.ackdone <at> debbugs.gnu.org>
References: <87wm9he1j0.fsf@HIDDEN> <cover.1746593989.git.aurtzy@HIDDEN>
X-Gnu-PR-Message: closed 78294
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Date: Thu, 12 Jun 2025 12:41:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1749732064-12398-0"

This is a multi-part message in MIME format...

------------=_1749732064-12398-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Thu, 12 Jun 2025 11:45:39 +0200
with message-id <87wm9he1j0.fsf@HIDDEN>
and subject line Re: [bug#78294] [PATCH 0/4] Add stb-image-resize.
has caused the debbugs.gnu.org bug report #78294,
regarding [PATCH 0/4] Add stb-image-resize.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
78294: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78294
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1749732064-12398-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 7 May 2025 05:52:41 +0000
Received: from localhost ([127.0.0.1]:38872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXhw-0004af-FV
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:52:41 -0400
Received: from lists.gnu.org ([2001:470:142::17]:39174)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXht-0004a9-HV
 for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:52:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1uCXhn-0003XV-TD
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:52:31 -0400
Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1uCXhm-000590-AE
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:52:31 -0400
Received: by mail-qt1-x829.google.com with SMTP id
 d75a77b69052e-476ac73c76fso73320841cf.0
 for <guix-patches@HIDDEN>; Tue, 06 May 2025 22:52:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597148; x=1747201948; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=zUph2eJfjRU5LRIgILOXt5tg1ObHrZ7bzV2/Pvh/h2s=;
 b=CcyMytnAWItHcFc0sbEr+XRHUmAlc7ooJf4JLmdHiPSF+YMfYIqVQq6Ct0szo+HBNQ
 JPfBOEKbLBfi5FSSeE2ZpxqQiDj+D0b7zSbiL4Mcqihd4TtwcuLEvoOXbmXsWLbkeN1r
 Cf044fahZmMKPG7NDJiQttL10x5a7b/0W5jpS3T3O+gxPh/kHjHy7Ch3Boyw7goCteQX
 ber6/ZtDK0WE98RYybtbxEKR6oGt+WQQo9VR9WOIxXvc8/EePlURAhIG8AI9BJbilkD2
 JZcFirA/OmL0DJ1yXtN/Ci/iJ7OfW2WR/8tGeExFGdLFxCRx2dBXcZRXajLxRv7N3Iei
 y2Dw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597148; x=1747201948;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=zUph2eJfjRU5LRIgILOXt5tg1ObHrZ7bzV2/Pvh/h2s=;
 b=X5epnCdpzBDlz1yKRPa11ujxzMJMBvSUSGyvfkVrbXBPLGMJST17wr7BCMYEli2TYE
 mbWDi9hlEPZX0yjhzYcL1NefQ/IKMmu5vxS/i+6yVT+3H3txwdhHXTr51ACo3bo2kM0b
 nzOikxuPTgSFpgyH+4hTokOuqj75Tdh4KWtQV3MsxOg4W5FoZ9ZMjXXkPgbHRoO+PCe0
 pKXpWh1NbVHl/JusZwzPjs05pUQOYxwBXKRIs2nusQW5BvYON4j9hZPjq5+FxygY5k+5
 aD6BhLu1Vsr8Ywj41qnUsrZ4CA9kiQM/UUj6LjRKmvNNieW9XUxeaSZWyQGI4/Ak5+vz
 cRRQ==
X-Gm-Message-State: AOJu0Yw870ZoBitjduhNeKV7f82diPe389CZadGe9qY1aYwRSWYgsz57
 lobwv7zqM+pxTTSlwCQzhlctJh93tPxnQS5B93XXrRXWRoRDVVJ1ERKMFQ==
X-Gm-Gg: ASbGnctTyqWyaZu/bXC/uYBnUu5hs5j1J5m+XesnCr4Bi4CCw4VyT4WK52gTWHgdUkR
 84k0R8BLaBPhtvSHD2UIAlPNP6pYYBpP2eMVEyspOqXvrLpVIXw8CSgSxzjL1Gpi2Y+xIOjiEwL
 qtp8HLL7O0ronaHoQvc2XM6Ow7adxOmh/zZTMhJax0Sd0+bxiBsGFNA3JSwP79qx0mwRXr7GOfn
 Mcb1v8YPEJ1JAujnNAtFK2SpwG1VjcTw6iGEbZDbRCmlCMtwIg8f6DGCzA/KcdXFuKk9QtX22Tx
 1KfiP54wct71lSJA2Lzif+gApDyCkSe5qjAA90rw3qaj2Q==
X-Google-Smtp-Source: AGHT+IEqtDly2JU01WMGOzCkviCnoJ2geXhHbZ43NvSfg5/ze/kKO5mvrYDl9AArzmo/W8Bj+545dg==
X-Received: by 2002:a05:622a:1924:b0:48a:f7d7:f9f8 with SMTP id
 d75a77b69052e-49225b36a3fmr33275921cf.14.1746597148253; 
 Tue, 06 May 2025 22:52:28 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 d75a77b69052e-49220f8329bsm9640451cf.5.2025.05.06.22.52.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:52:27 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/4] Add stb-image-resize.
Date: Wed,  7 May 2025 01:43:08 -0400
Message-ID: <cover.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::829;
 envelope-from=aurtzy@HIDDEN; helo=mail-qt1-x829.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: aurtzy <aurtzy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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@HIDDEN cura@HIDDEN vv@HIDDEN libretro-dolphin-emu@HIDDEN dolphin-emu@HIDDEN slade@HIDDEN csfml@HIDDEN extremetuxracer@HIDDEN schiffbruch@HIDDEN marble-marcher@HIDDEN mars@HIDDEN qgis@HIDDEN speed-dreams@HIDDEN stb-rect-pack@HIDDEN stb-image-resize2@HIDDEN python-pyjanitor@HIDDEN libtcod@HIDDEN
--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
-- 
2.49.0




------------=_1749732064-12398-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 78294-done) by debbugs.gnu.org; 12 Jun 2025 12:40:39 +0000
Received: from localhost ([127.0.0.1]:57219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uPhEU-0003BB-PA
	for submit <at> debbugs.gnu.org; Thu, 12 Jun 2025 08:40:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49220)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uPhES-0003AX-2u
 for 78294-done <at> debbugs.gnu.org; Thu, 12 Jun 2025 08:40:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uPhEM-0000Lu-LX; Thu, 12 Jun 2025 08:40:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=1QQJizQEXchswEAS7dSKqFSqeEtru/dqvKpNyyDIBy4=; b=ewgjTRp/Nn9sqdnWx2aw
 eGqs0we5cI6XKZn2xwX8/3KxkTrVNlBxBSahfsRMXM6vtK8mi2DTF0nkzpQ6lr80EKst3ze6ACIQI
 Z1zlXAm0Uubbbbxnsl5SvqZycr4c/O481cxMjtIW0Psou0wBz1Q8wIrIkbN8oxOg20Y9MSN4mJMPj
 HjuJZxGPm3JFqonxOXBBPPlCl+nUlqpdZt8mztYAPHFdoDU/R3hXmBQS6upkhM8uGunNp5Z0tjBpI
 BTrpOyFW/KIdJW+tMwAt2ssLHISnzr/XME7u34oaP2T1um+SeH46AlL9+jmKOZ21VWM36ieTpCtcS
 p4jGpTP0BpPaQg==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: [bug#78294] [PATCH 0/4] Add stb-image-resize.
In-Reply-To: <cover.1746593989.git.aurtzy@HIDDEN> (aurtzy@HIDDEN's
 message of "Wed, 7 May 2025 01:43:08 -0400")
References: <cover.1746593989.git.aurtzy@HIDDEN>
Date: Thu, 12 Jun 2025 11:45:39 +0200
Message-ID: <87wm9he1j0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78294-done
Cc: 78294-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi aurtzy,

aurtzy <aurtzy@HIDDEN> writes:

>   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.

Applied, thanks!

Ludo=E2=80=99.


------------=_1749732064-12398-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: aurtzy <aurtzy@HIDDEN>
Subject: bug#78294: closed (Re: [bug#78294] [PATCH 0/4] Add stb-image-resize.)
Message-ID: <handler.78294.D78294.174973203912235.notifdone <at> debbugs.gnu.org>
References: <87wm9he1j0.fsf@HIDDEN> <cover.1746593989.git.aurtzy@HIDDEN>
X-Gnu-PR-Message: they-closed 78294
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 78294 <at> debbugs.gnu.org
Date: Thu, 12 Jun 2025 12:41:05 +0000
Content-Type: multipart/mixed; boundary="----------=_1749732065-12398-1"

This is a multi-part message in MIME format...

------------=_1749732065-12398-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#78294: [PATCH 0/4] Add stb-image-resize.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78294 <at> debbugs.gnu.org.

--=20
78294: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78294
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1749732065-12398-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 78294-done) by debbugs.gnu.org; 12 Jun 2025 12:40:39 +0000
Received: from localhost ([127.0.0.1]:57219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uPhEU-0003BB-PA
	for submit <at> debbugs.gnu.org; Thu, 12 Jun 2025 08:40:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49220)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uPhES-0003AX-2u
 for 78294-done <at> debbugs.gnu.org; Thu, 12 Jun 2025 08:40:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uPhEM-0000Lu-LX; Thu, 12 Jun 2025 08:40:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=1QQJizQEXchswEAS7dSKqFSqeEtru/dqvKpNyyDIBy4=; b=ewgjTRp/Nn9sqdnWx2aw
 eGqs0we5cI6XKZn2xwX8/3KxkTrVNlBxBSahfsRMXM6vtK8mi2DTF0nkzpQ6lr80EKst3ze6ACIQI
 Z1zlXAm0Uubbbbxnsl5SvqZycr4c/O481cxMjtIW0Psou0wBz1Q8wIrIkbN8oxOg20Y9MSN4mJMPj
 HjuJZxGPm3JFqonxOXBBPPlCl+nUlqpdZt8mztYAPHFdoDU/R3hXmBQS6upkhM8uGunNp5Z0tjBpI
 BTrpOyFW/KIdJW+tMwAt2ssLHISnzr/XME7u34oaP2T1um+SeH46AlL9+jmKOZ21VWM36ieTpCtcS
 p4jGpTP0BpPaQg==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: [bug#78294] [PATCH 0/4] Add stb-image-resize.
In-Reply-To: <cover.1746593989.git.aurtzy@HIDDEN> (aurtzy@HIDDEN's
 message of "Wed, 7 May 2025 01:43:08 -0400")
References: <cover.1746593989.git.aurtzy@HIDDEN>
Date: Thu, 12 Jun 2025 11:45:39 +0200
Message-ID: <87wm9he1j0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78294-done
Cc: 78294-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi aurtzy,

aurtzy <aurtzy@HIDDEN> writes:

>   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.

Applied, thanks!

Ludo=E2=80=99.


------------=_1749732065-12398-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 7 May 2025 05:52:41 +0000
Received: from localhost ([127.0.0.1]:38872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXhw-0004af-FV
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:52:41 -0400
Received: from lists.gnu.org ([2001:470:142::17]:39174)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1uCXht-0004a9-HV
 for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:52:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1uCXhn-0003XV-TD
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:52:31 -0400
Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1uCXhm-000590-AE
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:52:31 -0400
Received: by mail-qt1-x829.google.com with SMTP id
 d75a77b69052e-476ac73c76fso73320841cf.0
 for <guix-patches@HIDDEN>; Tue, 06 May 2025 22:52:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746597148; x=1747201948; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=zUph2eJfjRU5LRIgILOXt5tg1ObHrZ7bzV2/Pvh/h2s=;
 b=CcyMytnAWItHcFc0sbEr+XRHUmAlc7ooJf4JLmdHiPSF+YMfYIqVQq6Ct0szo+HBNQ
 JPfBOEKbLBfi5FSSeE2ZpxqQiDj+D0b7zSbiL4Mcqihd4TtwcuLEvoOXbmXsWLbkeN1r
 Cf044fahZmMKPG7NDJiQttL10x5a7b/0W5jpS3T3O+gxPh/kHjHy7Ch3Boyw7goCteQX
 ber6/ZtDK0WE98RYybtbxEKR6oGt+WQQo9VR9WOIxXvc8/EePlURAhIG8AI9BJbilkD2
 JZcFirA/OmL0DJ1yXtN/Ci/iJ7OfW2WR/8tGeExFGdLFxCRx2dBXcZRXajLxRv7N3Iei
 y2Dw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746597148; x=1747201948;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=zUph2eJfjRU5LRIgILOXt5tg1ObHrZ7bzV2/Pvh/h2s=;
 b=X5epnCdpzBDlz1yKRPa11ujxzMJMBvSUSGyvfkVrbXBPLGMJST17wr7BCMYEli2TYE
 mbWDi9hlEPZX0yjhzYcL1NefQ/IKMmu5vxS/i+6yVT+3H3txwdhHXTr51ACo3bo2kM0b
 nzOikxuPTgSFpgyH+4hTokOuqj75Tdh4KWtQV3MsxOg4W5FoZ9ZMjXXkPgbHRoO+PCe0
 pKXpWh1NbVHl/JusZwzPjs05pUQOYxwBXKRIs2nusQW5BvYON4j9hZPjq5+FxygY5k+5
 aD6BhLu1Vsr8Ywj41qnUsrZ4CA9kiQM/UUj6LjRKmvNNieW9XUxeaSZWyQGI4/Ak5+vz
 cRRQ==
X-Gm-Message-State: AOJu0Yw870ZoBitjduhNeKV7f82diPe389CZadGe9qY1aYwRSWYgsz57
 lobwv7zqM+pxTTSlwCQzhlctJh93tPxnQS5B93XXrRXWRoRDVVJ1ERKMFQ==
X-Gm-Gg: ASbGnctTyqWyaZu/bXC/uYBnUu5hs5j1J5m+XesnCr4Bi4CCw4VyT4WK52gTWHgdUkR
 84k0R8BLaBPhtvSHD2UIAlPNP6pYYBpP2eMVEyspOqXvrLpVIXw8CSgSxzjL1Gpi2Y+xIOjiEwL
 qtp8HLL7O0ronaHoQvc2XM6Ow7adxOmh/zZTMhJax0Sd0+bxiBsGFNA3JSwP79qx0mwRXr7GOfn
 Mcb1v8YPEJ1JAujnNAtFK2SpwG1VjcTw6iGEbZDbRCmlCMtwIg8f6DGCzA/KcdXFuKk9QtX22Tx
 1KfiP54wct71lSJA2Lzif+gApDyCkSe5qjAA90rw3qaj2Q==
X-Google-Smtp-Source: AGHT+IEqtDly2JU01WMGOzCkviCnoJ2geXhHbZ43NvSfg5/ze/kKO5mvrYDl9AArzmo/W8Bj+545dg==
X-Received: by 2002:a05:622a:1924:b0:48a:f7d7:f9f8 with SMTP id
 d75a77b69052e-49225b36a3fmr33275921cf.14.1746597148253; 
 Tue, 06 May 2025 22:52:28 -0700 (PDT)
Received: from localhost.localdomain ([2600:4808:a053:1800::7c1b])
 by smtp.gmail.com with ESMTPSA id
 d75a77b69052e-49220f8329bsm9640451cf.5.2025.05.06.22.52.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 06 May 2025 22:52:27 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/4] Add stb-image-resize.
Date: Wed,  7 May 2025 01:43:08 -0400
Message-ID: <cover.1746593989.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::829;
 envelope-from=aurtzy@HIDDEN; helo=mail-qt1-x829.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: aurtzy <aurtzy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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@HIDDEN cura@HIDDEN vv@HIDDEN libretro-dolphin-emu@HIDDEN dolphin-emu@HIDDEN slade@HIDDEN csfml@HIDDEN extremetuxracer@HIDDEN schiffbruch@HIDDEN marble-marcher@HIDDEN mars@HIDDEN qgis@HIDDEN speed-dreams@HIDDEN stb-rect-pack@HIDDEN stb-image-resize2@HIDDEN python-pyjanitor@HIDDEN libtcod@HIDDEN
--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
-- 
2.49.0




------------=_1749732065-12398-1--



Last modified: Thu, 12 Jun 2025 12:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.