[neon/backports-noble/libsdl3-image-noble/Neon/unstable] debian: initial backport for freerdp3 in noble
Carlos De Maine
null at kde.org
Wed Aug 5 21:12:00 BST 2026
Git commit c8da02e3d6151c7746995fa2efcb824ddec8e6de by Carlos De Maine.
Committed on 05/08/2026 at 20:11.
Pushed by carlosdem into branch 'Neon/unstable'.
initial backport for freerdp3 in noble
A +12 -0 debian/.gitignore
A +628 -0 debian/changelog
A +79 -0 debian/control
A +133 -0 debian/copyright
A +1 -0 debian/docs
A +4 -0 debian/gbp.conf
A +4 -0 debian/libsdl3-image-dev.install
A +2 -0 debian/libsdl3-image-doc.examples
A +3 -0 debian/libsdl3-image-doc.manpages
A +3 -0 debian/libsdl3-image-tests.install
A +1 -0 debian/libsdl3-image0.install
A +62 -0 debian/libsdl3-image0.symbols
A +1 -0 debian/not-installed
A +112 -0 debian/rules
A +3 -0 debian/salsa-ci.yml
A +1 -0 debian/source/format
A +2 -0 debian/source/lintian-overrides
A +18 -0 debian/tests/control
A +43 -0 debian/tests/installed-tests
A +52 -0 debian/tests/libsdl3-image-dev
A +5 -0 debian/upstream/metadata
A +28 -0 debian/upstream/signing-key.asc
A +12 -0 debian/watch
A +12 -0 debian/watch.devel
A +9 -0 debian/watch.git
https://invent.kde.org/neon/backports-noble/libsdl3-image-noble/-/commit/c8da02e3d6151c7746995fa2efcb824ddec8e6de
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..45717cd
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,12 @@
+/*.debhelper.log
+/*.substvars
+/.debhelper/
+/autoreconf.after
+/autoreconf.before
+/debhelper-build-stamp
+/files
+/libsdl3-image0/
+/libsdl3-image-dev/
+/libsdl3-image-doc/
+/libsdl3-image-tests/
+/tmp/
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eaf6794
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,628 @@
+libsdl3-image (3.2.4+ds-1) unstable; urgency=medium
+
+ * New upstream stable release
+ * d/p/Revert-Fixed-partial-alpha-in-ICO-and-CUR-images.patch:
+ Remove workaround, no longer necessary
+ * Standards-Version: 4.7.2 (no changes required)
+
+ -- Simon McVittie <smcv at debian.org> Tue, 04 Mar 2025 10:00:27 +0000
+
+libsdl3-image (3.2.2+ds-2) unstable; urgency=medium
+
+ * Revert .ico, .cur alpha change pending investigation
+
+ -- Simon McVittie <smcv at debian.org> Mon, 03 Mar 2025 19:32:32 +0000
+
+libsdl3-image (3.2.2+ds-1) unstable; urgency=medium
+
+ * New upstream stable release
+ * d/control: Depend on SDL 3.2.6 as per CMakeLists.txt
+
+ -- Simon McVittie <smcv at debian.org> Mon, 03 Mar 2025 11:03:01 +0000
+
+libsdl3-image (3.2.0+ds-2) unstable; urgency=medium
+
+ * d/control, d/copyright: Update upstream URLs
+ * d/libsdl3-image0.symbols: Make all symbols generate a dependency
+ on 3.2.0.
+ We want to be sure that everything is using the stable 3.2.0 ABI,
+ and not some earlier ABI from a development snapshot.
+ * d/control: Require the stable version of SDL3
+
+ -- Simon McVittie <smcv at debian.org> Tue, 04 Feb 2025 13:08:29 +0000
+
+libsdl3-image (3.2.0+ds-1) unstable; urgency=medium
+
+ * New upstream stable release (Closes: #1093723)
+ * d/watch: Fix handling of +ds suffix
+ * d/watch: Only watch for stable releases
+
+ -- Simon McVittie <smcv at debian.org> Mon, 03 Feb 2025 13:58:52 +0000
+
+libsdl3-image (3.1.1+ds-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ * d/copyright: Update
+ * d/patches: Drop patches, applied upstream
+ * d/docs: README.txt was renamed to README.md
+
+ -- Simon McVittie <smcv at debian.org> Thu, 23 Jan 2025 18:49:55 +0000
+
+libsdl3-image (3.1.0+ds-2) unstable; urgency=medium
+
+ * d/salsa-ci.yml: Add
+ * d/p/nanosvg.h-update-from-mainstream.patch,
+ d/p/Expand-PNG_COLOR_TYPE_GRAY_ALPHA-to-RGBA.patch,
+ d/p/cmake-don-t-create-relocatable-packages-by-default-with-n.patch,
+ d/p/update-README.txt-for-online-documentation-url.patch:
+ Add some bug fixes from upstream
+
+ -- Simon McVittie <smcv at debian.org> Sun, 19 Jan 2025 17:25:27 +0000
+
+libsdl3-image (3.1.0+ds-1) unstable; urgency=medium
+
+ * New upstream preview release
+ * d/libsdl3-image0.symbols: Update for ABI break.
+ IMG_Init() and IMG_Quit() were removed.
+ * Upload to unstable, now that we have a preview release.
+ As with SDL3 itself, please note that this is not targeted for
+ trixie at this stage (see #1086720).
+
+ -- Simon McVittie <smcv at debian.org> Wed, 08 Jan 2025 16:25:24 +0000
+
+libsdl3-image (3~git20241102~b1c8ec7+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL3 3.1.6 prerelease
+
+ -- Simon McVittie <smcv at debian.org> Mon, 04 Nov 2024 18:19:21 +0000
+
+libsdl3-image (3~git20240925~6f45843+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL3 3.1.3 prerelease
+ * d/control: Build-depend on a contemporary SDL3
+
+ -- Simon McVittie <smcv at debian.org> Fri, 04 Oct 2024 18:05:52 +0100
+
+libsdl3-image (3~git20240915~6f04db8+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ - d/control: (Build-)Depend on a corresponding libsdl3 snapshot
+
+ -- Simon McVittie <smcv at debian.org> Tue, 17 Sep 2024 21:05:20 +0100
+
+libsdl3-image (3~git20240828~0901204+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ - d/control: (Build-)Depend on a corresponding libsdl3 snapshot
+ * d/rules: Update build option names
+ * Standards-Version: 4.7.0 (no changes required)
+
+ -- Simon McVittie <smcv at debian.org> Tue, 03 Sep 2024 21:29:19 +0100
+
+libsdl3-image (3~git20240726~2a27018+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/control: (Build-)Depend on a corresponding libsdl3 snapshot
+ * d/libsdl3-image0.symbols: Update
+ * Update list of man pages to install
+
+ -- Simon McVittie <smcv at debian.org> Tue, 30 Jul 2024 17:01:28 +0100
+
+libsdl3-image (3~git20240508~ff62eb6+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL 3.1.2
+ - Depend on a corresponding SDL3 prerelease
+ * d/rules: Build man pages if and only if -doc package is built
+
+ -- Simon McVittie <smcv at debian.org> Thu, 20 Jun 2024 14:52:12 +0100
+
+libsdl3-image (3~git20240319~18b2816+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * Depend on a corresponding SDL3 prerelease
+ * d/libsdl3-image0.symbols: Update (multiple ABI breaks)
+
+ -- Simon McVittie <smcv at debian.org> Mon, 25 Mar 2024 18:42:55 +0000
+
+libsdl3-image (3~git20240129~750f1c1+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/control: Build-depend on matching libsdl3-dev
+ * d/libsdl3-image0.symbols: Update for AVIF writing support.
+ It's part of the ABI, even though in this particular build, it will
+ always fail at runtime.
+ * d/rules: Explicitly enable features that we want enabled
+
+ -- Simon McVittie <smcv at debian.org> Tue, 30 Jan 2024 10:08:45 +0000
+
+libsdl3-image (3~git20240118~c47680c+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+
+ -- Simon McVittie <smcv at debian.org> Mon, 22 Jan 2024 12:35:31 +0000
+
+libsdl3-image (3~git20240115~6d91bf7+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+
+ -- Simon McVittie <smcv at debian.org> Mon, 15 Jan 2024 18:10:36 +0000
+
+libsdl3-image (3~git20240101~1a35931+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/copyright: Update
+
+ -- Simon McVittie <smcv at debian.org> Tue, 02 Jan 2024 17:32:34 +0000
+
+libsdl3-image (3~git20231130~25a57e2+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+
+ -- Simon McVittie <smcv at debian.org> Thu, 07 Dec 2023 18:49:58 +0000
+
+libsdl3-image (3~git20230930~e1e15ae+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/rules: Use package version instead of version from git
+
+ -- Simon McVittie <smcv at debian.org> Mon, 02 Oct 2023 14:52:56 +0100
+
+libsdl3-image (3~git20230912~1053ea1+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+
+ -- Simon McVittie <smcv at debian.org> Tue, 19 Sep 2023 18:20:27 +0100
+
+libsdl3-image (3~git20230831~37a4b80+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/p/Update-test-template.test.in-for-build-system-changes.patch:
+ Drop patch, applied upstream
+ * d/.gitignore: Also ignore d/libsdl3-image-doc/
+
+ -- Simon McVittie <smcv at debian.org> Mon, 04 Sep 2023 11:51:43 +0100
+
+libsdl3-image (3~git20230808~b298bad+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/gbp.conf: Stop filtering imported tarballs.
+ Please use uscan instead, which will automatically produce a filtered
+ +dfsg tarball based on debian/copyright.
+ * d/.gitignore: Update for SDL3
+ * d/watch: Use a +ds suffix for the orig tarball.
+ To the best of my knowledge, everything we exclude is (meant to be)
+ Free Software, we just don't want to keep track of files that are
+ irrelevant to Debian (especially the vendored subprojects).
+ * d/p/Update-test-template.test.in-for-build-system-changes.patch:
+ Add patch to fix as-installed testing
+ * d/rules: Re-enable XCF loading, fixed upstream
+
+ -- Simon McVittie <smcv at debian.org> Wed, 09 Aug 2023 20:03:02 +0100
+
+libsdl3-image (3~git20230805~e141fec+dfsg-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/watch: Include the truncated sha1 in the version number.
+ This makes it easier to keep track of which version we're packaging.
+ * d/libsdl3-image-dev.install: Update for changed header name
+ * d/control: Require a matching libsdl3-dev.
+ The API is not stable, so we should only build combinations that are
+ believed to work together.
+
+ -- Simon McVittie <smcv at debian.org> Mon, 07 Aug 2023 20:46:01 +0100
+
+libsdl3-image (3~git20230717+dfsg-1) experimental; urgency=medium
+
+ * Snapshot of new upstream major version with incompatible API and ABI
+ * This snapshot is only suitable for Debian experimental, and is provided
+ to facilitate early testing. The ABI is not expected to be stable
+ until the first stable release of SDL 3.x, which is expected to be
+ labelled as SDL 3.2.0.
+
+ -- Simon McVittie <smcv at debian.org> Tue, 18 Jul 2023 22:03:03 +0100
+
+libsdl2-image (2.6.3+dfsg-2) unstable; urgency=medium
+
+ * d/upstream/metadata: Add Repository field
+ * d/tests: Run Xvfb with -noreset to make the test more reliable.
+ See #981201.
+ * d/tests: Instruct xvfb-run to choose a server number automatically
+ * d/p/Update-README.txt.patch:
+ Add patch from upstream to point to the SDL2-specific documentation.
+ The SDL_image wiki namespace now refers to the SDL3 version under
+ development.
+ * d/watch: Only watch for 2.x versions.
+ The upstream 'main' branch now targets SDL 3 (under development), and
+ should be packaged separately as a libsdl3-image source package.
+
+ -- Simon McVittie <smcv at debian.org> Sat, 15 Jul 2023 18:05:40 +0100
+
+libsdl2-image (2.6.3+dfsg-1) unstable; urgency=medium
+
+ [ Simon McVittie ]
+ * New upstream stable release
+ - Fix loading of 4-bit .ico, .cur files
+ * Drop patches that were applied upstream
+ * Remove version constraints unnecessary since Debian 10
+ * Update standards version to 4.6.2 (no changes needed)
+ * d/copyright: Update
+
+ [ Debian Janitor ]
+ * d/upstream/metadata: Add
+
+ -- Simon McVittie <smcv at debian.org> Thu, 09 Feb 2023 09:14:01 +0000
+
+libsdl2-image (2.6.2+dfsg-2) unstable; urgency=medium
+
+ * d/watch: Update for Github website changes
+ * d/p/Fix-wrong-size-malloc-and-minor-memleak.patch,
+ d/p/Replace-free-usage-with-SDL_free.patch:
+ Add minor memory leak fix from upstream release-2.6.x branch
+
+ -- Simon McVittie <smcv at debian.org> Fri, 28 Oct 2022 18:16:50 +0100
+
+libsdl2-image (2.6.2+dfsg-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Simon McVittie <smcv at debian.org> Mon, 29 Aug 2022 21:32:22 +0100
+
+libsdl2-image (2.6.0+dfsg-1) unstable; urgency=medium
+
+ * New upstream release
+ * d/libsdl2-image-2.0-0.symbols: Use stable release for new symbols.
+ We don't need to keep track of which specific prerelease introduced
+ each symbol, now that we have a new stable release.
+ * d/watch: Only look for stable releases
+ * d/rules: Enable full compiler hardening
+ * Switch branch for upload to unstable
+
+ -- Simon McVittie <smcv at debian.org> Sat, 09 Jul 2022 14:55:05 +0100
+
+libsdl2-image (2.5.2+dfsg-1) experimental; urgency=medium
+
+ * New upstream prerelease
+ * d/watch: Don't download Windows binaries, etc.
+ * d/watch: Download prereleases for experimental
+ * Add myself to Uploaders
+ * Drop all patches, included in the new release
+ * d/libsdl2-image-dev.install: Install the new CMake metadata
+ * d/tests: Exercise a CMake build
+
+ -- Simon McVittie <smcv at debian.org> Fri, 17 Jun 2022 10:58:16 +0100
+
+libsdl2-image (2.5.1+dfsg-2) experimental; urgency=medium
+
+ * Team upload
+ * Standards-Version: 4.6.1 (no changes required)
+ * d/patches: Add nanosvg fixes from upstream git
+ * d/rules, d/tests/installed-tests: Assert that we support all the
+ expected formats (everything supported upstream except AVIF and JXL)
+
+ -- Simon McVittie <smcv at debian.org> Mon, 30 May 2022 16:41:27 +0100
+
+libsdl2-image (2.5.1+dfsg-1+newqueue) experimental; urgency=medium
+
+ * Team upload
+ * Move automated test into a new libsdl2-image-tests package.
+ This means it can be moved back to the paths canonically used by
+ installed-tests without breaking multiarch co-installability, and
+ ginsttest-runner does not need to be told to search a non-default
+ directory.
+ * Install showanim and showimage sample programs as manual tests.
+ Their names are too namespace-polluting to be on $PATH, so put them in
+ /usr/libexec/installed-tests/SDL2_image alongside the automated tests.
+
+ -- Simon McVittie <smcv at debian.org> Thu, 26 May 2022 13:10:36 +0100
+
+libsdl2-image (2.5.1+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream prerelease
+ - Fix loading PCX files that need alignment between rows
+ * Revert addition of libsdl2-image-tests to avoid getting stuck in NEW
+ * d/watch: Download releases from Github
+ * d/copyright: Remove exclusion patterns that are no longer needed
+ * d/watch: Don't download prereleases by default
+
+ -- Simon McVittie <smcv at debian.org> Thu, 26 May 2022 12:37:56 +0100
+
+libsdl2-image (2.5.0~git20220525+g2b8e888+dfsg-2) experimental; urgency=medium
+
+ * Team upload
+ * Move automated test into a new libsdl2-image-tests package.
+ This means it can be moved back to the paths canonically used by
+ installed-tests without breaking multiarch co-installability, and
+ ginsttest-runner does not need to be told to search a non-default
+ directory.
+ * Install showanim and showimage sample programs as manual tests.
+ Their names are too namespace-polluting to be on $PATH, so put them in
+ /usr/libexec/installed-tests/SDL2_image alongside the automated tests.
+
+ -- Simon McVittie <smcv at debian.org> Wed, 25 May 2022 17:38:45 +0100
+
+libsdl2-image (2.5.0~git20220525+g2b8e888+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ - Fix test failure on s390x and other big-endian architectures
+ * Bump required libsdl2-dev to 2.0.9
+ * d/.gitignore: Add
+ * d/copyright: Update
+
+ -- Simon McVittie <smcv at debian.org> Wed, 25 May 2022 17:05:00 +0100
+
+libsdl2-image (2.5.0~git20220524+g7eb9ae3+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ * d/copyright: Update
+ * Build and install tests
+ * Run installed tests using autopkgtest
+ * Move installed-tests to libsdl2-image-dev for now.
+ Adding libsdl2-image-tests will require passing the NEW queue.
+
+ -- Simon McVittie <smcv at debian.org> Tue, 24 May 2022 18:12:39 +0100
+
+libsdl2-image (2.5.0~git20220517.gcec4127+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ * Update symbols file
+
+ -- Simon McVittie <smcv at debian.org> Thu, 19 May 2022 12:39:32 +0100
+
+libsdl2-image (2.5.0~git20220516.g99e0e81+dfsg-1-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ * d/gbp.conf, d/copyright: Stop removing IMG_UIImage.m.
+ It was deleted upstream.
+
+ -- Simon McVittie <smcv at debian.org> Mon, 16 May 2022 14:24:18 +0100
+
+libsdl2-image (2.5.0~git20220512.g686ad26+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ - d/copyright: Update
+ - d/rules: Update dependency options
+ - Update symbols
+ * Disable AVIF support for now
+
+ -- Simon McVittie <smcv at debian.org> Thu, 12 May 2022 19:50:27 +0100
+
+libsdl2-image (2.5.0~git20220508.g406fd40+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ - Update symbols file with new ABI from development branch
+ * Disable JPEG XL support for now.
+ libjxl is only available in experimental and doesn't look as though it's
+ necessarily fully API-stable.
+
+ -- Simon McVittie <smcv at debian.org> Mon, 09 May 2022 17:03:51 +0100
+
+libsdl2-image (2.0.6~20220415.g915b794+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream snapshot
+
+ -- Simon McVittie <smcv at debian.org> Wed, 20 Apr 2022 18:36:32 +0100
+
+libsdl2-image (2.0.6~20220301.g3c8c09d3+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream snapshot
+ * Add -dev dependencies that are listed in the .pc file
+
+ -- Simon McVittie <smcv at debian.org> Wed, 02 Mar 2022 20:33:34 +0000
+
+libsdl2-image (2.0.6~20220107.g656ef58+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream snapshot
+ * d/copyright: Update
+ * d/libsdl2-image-2.0-0.symbols: Add QOI decoder
+ * d/libsdl2-image-2.0-0.symbols: Ignore removal of IMG_InitJPG, etc.
+ These were never intended to be public, and are not in the header file.
+ Upstream commit f0b3945 changed their visibility to hidden.
+
+ -- Simon McVittie <smcv at debian.org> Fri, 07 Jan 2022 13:55:38 +0000
+
+libsdl2-image (2.0.6~20211214.g704e516+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * Branch for experimental
+ * New upstream snapshot
+ - Drop patches, applied upstream
+ - d/copyright: Update.
+ The LGPL parts of IMG_png.c have been relicensed by their author.
+ - d/libsdl2-image-2.0-0.symbols: Ignore removal of private nsvg symbols.
+ This is deliberate, as per upstream commit 31ce11c5.
+ * d/copyright, d/gbp.conf: Filter more generated/vendored files.
+ If we're repacking the tarball *anyway*, we might as well exclude these
+ too. They'll be restored by dh_autoreconf.
+
+ -- Simon McVittie <smcv at debian.org> Tue, 14 Dec 2021 20:27:11 +0000
+
+libsdl2-image (2.0.5+dfsg1-3) unstable; urgency=medium
+
+ * Team upload
+ * d/p/showimage-Add-a-quit-option.patch:
+ Add patch to add a -quit option to the showimage example.
+ This allows it to be used as a non-interactive smoke-test.
+ * d/tests: Add an autopkgtest using the modified showimage.
+ Taken from the libsdl2-image package in the Steam Runtime.
+ * Add a .symbols file
+ * Re-export upstream signing key without extra signatures.
+ * Drop transition for old debug package migration.
+ * d/rules: Rely on debhelper compat 12 for dh_makeshlibs.
+ With a .symbols file, the version passed to dh_makeshlibs is only a
+ fallback.
+ debhelper compat level 12 defaults to generating dependencies on the
+ current upstream version, which is what's in stable. More relaxed
+ dependencies aren't particularly useful, because we don't support
+ skipping a release anyway.
+ * d/rules: Remove unnecessary override for dh_compress.
+ debhelper compat level 12 doesn't compress examples anyway.
+ * Use debhelper compat level 13.
+ Drop dh_missing --fail-missing override: this is now the default.
+ * Standards-Version: 4.6.0 (no changes required)
+
+ -- Simon McVittie <smcv at debian.org> Thu, 28 Oct 2021 19:20:29 +0100
+
+libsdl2-image (2.0.5+dfsg1-2) unstable; urgency=medium
+
+ * Cherry-pick upstream fix for CVE-2019-13616. (Closes: #940934)
+
+ -- Felix Geyer <fgeyer at debian.org> Mon, 03 Feb 2020 23:02:06 +0100
+
+libsdl2-image (2.0.5+dfsg1-1) unstable; urgency=medium
+
+ * New upstream version, fixing various security issues: (Closes: #932754)
+ - CVE-2019-5051
+ - CVE-2019-5052
+ - CVE-2019-7635
+ - CVE-2019-12216
+ - CVE-2019-12217
+ - CVE-2019-12218
+ - CVE-2019-12219
+ - CVE-2019-12220
+ - CVE-2019-12221
+ - CVE-2019-12222
+ * Switch to debhelper compat level 12.
+
+ -- Felix Geyer <fgeyer at debian.org> Tue, 23 Jul 2019 23:15:23 +0200
+
+libsdl2-image (2.0.4+dfsg1-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Drop CVE-2018-3977.patch, applied upstream.
+ * Verify signature of upstream tarball.
+
+ -- Felix Geyer <fgeyer at debian.org> Sun, 03 Feb 2019 11:59:26 +0100
+
+libsdl2-image (2.0.3+dfsg1-3) unstable; urgency=high
+
+ * Non-maintainer upload with permission of maintainers.
+ * CVE-2018-3977: Prevent a potential buffer overflow on a corrupt or
+ maliciously-crafted XCF file. (Closes: #912617)
+
+ -- Chris Lamb <lamby at debian.org> Sun, 04 Nov 2018 23:34:39 +0000
+
+libsdl2-image (2.0.3+dfsg1-2) unstable; urgency=medium
+
+ [ Manuel A. Fernandez Montecelo ]
+ * Bump Policy Standards-Version to 4.2.1 (no changes needed)
+ * d/watch:
+ - Set to version=4
+ - Update +dsfg mangling to correctly detect upstream version
+ * Switch to debhelper compat level v11
+ * d/copyright: use https in format URL
+ * d/control: Set "Rules-Requires-Root: no"
+
+ -- Chris Lamb <lamby at debian.org> Sun, 04 Nov 2018 23:34:37 +0000
+
+libsdl2-image (2.0.3+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release, fixing various security issues:
+ - CVE-2017-12122
+ - CVE-2017-14440
+ - CVE-2017-14441
+ - CVE-2017-14442
+ - CVE-2017-14448
+ - CVE-2017-14449
+ - CVE-2017-14450
+ * Requires libsdl2 >= 2.0.8
+
+ -- Felix Geyer <fgeyer at debian.org> Sun, 04 Mar 2018 15:50:05 +0100
+
+libsdl2-image (2.0.2+dfsg1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream version 2.0.2+dfsg1.
+ * Bump SHLIBVER, as INTERFACE_AGE has been reset in configure.in.
+ * Remove patches backported from upstream.
+ * Fix shlib symlink.
+ * Move the dbgsym-migration parameter to the dh_strip call.
+
+ -- Fabian Greffrath <fabian at debian.org> Fri, 10 Nov 2017 13:46:09 +0100
+
+libsdl2-image (2.0.1+dfsg-4) unstable; urgency=medium
+
+ [ Manuel A. Fernandez Montecelo ]
+ * d/copyright: Fix missing "General" in LGPL license
+
+ [ Felix Geyer ]
+ * Fix CVE-2017-2887: buffer overflow in the XCF property handling.
+ (Closes: #878266)
+
+ -- Felix Geyer <fgeyer at debian.org> Wed, 18 Oct 2017 22:09:02 +0200
+
+libsdl2-image (2.0.1+dfsg-3) unstable; urgency=medium
+
+ * Bump Policy Standards-Version to 4.0.0 (no changes needed)
+ * Update Vcs-* URLs
+ * Switch to debhelper compat level v10
+ - dh flags --parallel are not needed
+ - autoreconf is invoked by default
+ * Use automatic dbgsym packages, drop -dbg
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org> Mon, 31 Jul 2017 23:43:58 +0200
+
+libsdl2-image (2.0.1+dfsg-2) unstable; urgency=low
+
+ * Team upload.
+ * d/rules: Update shlib and .so symlink to the current version
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Wed, 27 Jan 2016 09:34:58 +0100
+
+libsdl2-image (2.0.1+dfsg-1) unstable; urgency=low
+
+ * Team upload.
+ [ Manuel A. Fernandez Montecelo ]
+ * Build-Depends on pkg-config
+ * Bump Policy Standards-Version to 3.9.6 (no changes needed)
+
+ [ Gianfranco Costamagna ]
+ * New upstream release (Closes: #812620).
+ * Use Files-Excluded copyright keyword to exclude autogenerated
+ files from tarball.
+ * Remove patch about big endian build fix, it should be fixed upstream.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Mon, 25 Jan 2016 10:12:59 +0100
+
+libsdl2-image (2.0.0+dfsg-3) unstable; urgency=low
+
+ * Really regenerate autoconf files. The upstream autogen.sh doesn't
+ work properly. Thanks to Pino Toscano for the patch.
+ - Fixes FTBFS on hurd.
+
+ -- Felix Geyer <fgeyer at debian.org> Sun, 08 Sep 2013 11:16:14 +0200
+
+libsdl2-image (2.0.0+dfsg-2) unstable; urgency=low
+
+ * Tighten libsdl2-dev dependency to 2.0.0 and bump the shlibver to 2.0.0,
+ thanks to Gianfranco Costamagna for the patch.
+ * Fix FTBFS on big endian architectures.
+ - Add fix_ftbfs_big_endian.patch
+
+ -- Felix Geyer <fgeyer at debian.org> Sun, 25 Aug 2013 11:26:16 +0200
+
+libsdl2-image (2.0.0+dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add a watch file.
+ * Remove external/ from upstream tarball.
+ * Document miniz.h license in debian/copyright.
+
+ -- Felix Geyer <fgeyer at debian.org> Wed, 21 Aug 2013 09:44:44 +0200
+
+libsdl2-image (2.0.0~rc1+dfsg-1) unstable; urgency=low
+
+ * Initial release. (Closes: #710698)
+ * Filter upstream tarball to remove precompiled binaries that don't
+ ship with the corresponding source code.
+
+ -- Felix Geyer <fgeyer at debian.org> Fri, 12 Jul 2013 17:38:44 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dffad6b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,79 @@
+Source: libsdl3-image
+Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.debian.org>
+Uploaders: Felix Geyer <fgeyer at debian.org>, Manuel A. Fernandez Montecelo <mafm at debian.org>, Simon McVittie <smcv at debian.org>
+Section: libs
+Priority: optional
+Rules-Requires-Root: no
+Build-Depends: cmake (>= 3.16),
+ debhelper-compat (= 13),
+ libsdl3-dev (>= 3.2.6),
+ libjpeg-dev,
+ libpng-dev,
+ libtiff-dev,
+ libwebp-dev,
+ ninja-build,
+ pkgconf,
+ zlib1g-dev
+Standards-Version: 4.7.2
+Homepage: https://github.com/libsdl-org/SDL_image
+Vcs-Browser: https://salsa.debian.org/sdl-team/libsdl3-image
+Vcs-Git: https://salsa.debian.org/sdl-team/libsdl3-image.git
+
+Package: libsdl3-image0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: Image loading library for Simple DirectMedia Layer 3, libraries
+ This is a simple library to load images of various formats as SDL surfaces. It
+ supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
+ WEBP, XPM, XV.
+ .
+ This package contains the shared library.
+
+Package: libsdl3-image-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: ${misc:Depends},
+ libjpeg-dev,
+ libpng-dev,
+ libsdl3-dev (>= 3.2.6),
+ libsdl3-image0 (= ${binary:Version}),
+ libtiff-dev,
+ libwebp-dev,
+Description: Image loading library for Simple DirectMedia Layer 3, development files
+ This is a simple library to load images of various formats as SDL surfaces. It
+ supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
+ WEBP, XPM, XV.
+ .
+ This package contains the development files.
+
+Package: libsdl3-image-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Build-Profiles: <!nodoc>
+Depends:
+ ${misc:Depends},
+Description: Image loading library for Simple DirectMedia Layer 3 - documentation
+ This is a simple library to load images of various formats as SDL surfaces. It
+ supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
+ WEBP, XPM, XV.
+ .
+ This package contains the reference manual and examples.
+
+Package: libsdl3-image-tests
+Build-Profiles: <!noinsttest>
+Architecture: any
+Section: misc
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libsdl3-image0 (= ${binary:Version}),
+Description: Image loading library for Simple DirectMedia Layer 3 - tests
+ This is a simple library to load images of various formats as SDL surfaces. It
+ supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
+ WEBP, XPM, XV.
+ .
+ This package contains automated and manual tests.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b1a20cc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,133 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: SDL_image
+Upstream-Contact: Sam Lantinga <slouken at libsdl.org>
+Source: https://github.com/libsdl-org/SDL_image/releases
+Files-Excluded: .github
+ .gitmodules
+ VisualC
+ Xcode
+ external
+ src/IMG_ImageIO.m
+
+Files: *
+Copyright: 1997-2025 Sam Lantinga
+ 1990, 1991, 1993 David Koblas
+ 1996 Torsten Martinsen
+ 1998 Philippe Lavoie
+ 2002-2004 Maxim Shemanarev
+ 2013-2014 Mikko Mononen
+ 2022 Collabora Ltd.
+License: zlib/libpng and HPND-like and zlib-like-permissive
+
+Files: src/miniz.h
+Copyright: in public domain
+License: Unlicense
+
+Files: src/qoi.h
+Copyright: 2021 Dominic Szablewski
+License: Expat
+
+Files: src/stb_image.h
+Copyright: 2017 Sean Barrett
+License: Expat or Unlicense
+
+Files: src/tiny_jpeg.h
+Copyright: in public domain
+License: tinyjpeg
+
+Files: debian/*
+Copyright: 2013, Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
+ 2013, Felix Geyer <fgeyer at debian.org>
+ 2016, Gianfranco Costamagna <locutusofborg at debian.org>
+ 2023-2024 Collabora Ltd.
+License: LGPL-2+
+
+Files: debian/tests/*
+Copyright: 2019 Collabora Ltd.
+License: zlib/libpng
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files(the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions :
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+License: HPND-like
+ Permission to use, copy, modify, and distribute this software
+ and its documentation for any purpose and without fee is hereby
+ granted, provided that the above copyright notice appear in all
+ copies and that both that copyright notice and this permission
+ notice appear in supporting documentation. This software is
+ provided "as is" without express or implied warranty.
+
+License: Unlicense
+ This is free and unencumbered software released into the public domain.
+ .
+ Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+ software, either in source code form or as a compiled binary, for any purpose,
+ commercial or non-commercial, and by any means.
+ .
+ In jurisdictions that recognize copyright laws, the author or authors of this
+ software dedicate any and all copyright interest in the software to the public
+ domain. We make this dedication for the benefit of the public at large and to
+ the detriment of our heirs and successors. We intend this dedication to be an
+ overt act of relinquishment in perpetuity of all present and future rights to
+ this software under copyright law.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: tinyjpeg
+ This software is in the public domain. Where that dedication is not
+ recognized, you are granted a perpetual, irrevocable license to copy and
+ modify this file as you see fit.
+
+License: zlib/libpng
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+License: zlib-like-permissive
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely.
+
+License: LGPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or (at
+ your option) any later version.
+ .
+ On Debian systems, the complete text of version 2 of the GNU Lesser
+ General Public License can be found in '/usr/share/common-licenses/LGPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..ecc856f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+pristine-tar = True
+debian-branch = debian/latest
+upstream-branch = upstream/latest
diff --git a/debian/libsdl3-image-dev.install b/debian/libsdl3-image-dev.install
new file mode 100644
index 0000000..cab1051
--- /dev/null
+++ b/debian/libsdl3-image-dev.install
@@ -0,0 +1,4 @@
+usr/include/SDL3_image/SDL_image.h
+usr/lib/*/cmake/SDL3_image
+usr/lib/*/libSDL3_image.so
+usr/lib/*/pkgconfig/sdl3-image.pc
diff --git a/debian/libsdl3-image-doc.examples b/debian/libsdl3-image-doc.examples
new file mode 100644
index 0000000..1c0926c
--- /dev/null
+++ b/debian/libsdl3-image-doc.examples
@@ -0,0 +1,2 @@
+examples/showanim.c
+examples/showimage.c
diff --git a/debian/libsdl3-image-doc.manpages b/debian/libsdl3-image-doc.manpages
new file mode 100644
index 0000000..6f22c05
--- /dev/null
+++ b/debian/libsdl3-image-doc.manpages
@@ -0,0 +1,3 @@
+usr/share/man/man3/IMG_*.3
+usr/share/man/man3/IMG_*.3type
+usr/share/man/man3/SDL_IMAGE_*.3
diff --git a/debian/libsdl3-image-tests.install b/debian/libsdl3-image-tests.install
new file mode 100644
index 0000000..f7f3fb6
--- /dev/null
+++ b/debian/libsdl3-image-tests.install
@@ -0,0 +1,3 @@
+usr/bin/show* usr/libexec/installed-tests/SDL3_image
+usr/libexec/installed-tests/SDL3_image
+usr/share/installed-tests/SDL3_image
diff --git a/debian/libsdl3-image0.install b/debian/libsdl3-image0.install
new file mode 100644
index 0000000..d7191cb
--- /dev/null
+++ b/debian/libsdl3-image0.install
@@ -0,0 +1 @@
+usr/lib/*/libSDL3_image.so.0*
diff --git a/debian/libsdl3-image0.symbols b/debian/libsdl3-image0.symbols
new file mode 100644
index 0000000..307ceaa
--- /dev/null
+++ b/debian/libsdl3-image0.symbols
@@ -0,0 +1,62 @@
+libSDL3_image.so.0 libsdl3-image0 #MINVER#
+* Build-Depends-Package: libsdl3-image-dev
+ IMG_FreeAnimation at SDL3_image_0.0.0 3.2.0
+ IMG_Load at SDL3_image_0.0.0 3.2.0
+ IMG_LoadAVIF_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadAnimation at SDL3_image_0.0.0 3.2.0
+ IMG_LoadAnimationTyped_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadAnimation_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadBMP_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadCUR_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadGIFAnimation_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadGIF_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadICO_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadJPG_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadJXL_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadLBM_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadPCX_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadPNG_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadPNM_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadQOI_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadSVG_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadSizedSVG_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadTGA_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadTIF_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadTexture at SDL3_image_0.0.0 3.2.0
+ IMG_LoadTextureTyped_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadTexture_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadTyped_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadWEBPAnimation_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadWEBP_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadXCF_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadXPM_IO at SDL3_image_0.0.0 3.2.0
+ IMG_LoadXV_IO at SDL3_image_0.0.0 3.2.0
+ IMG_Load_IO at SDL3_image_0.0.0 3.2.0
+ IMG_ReadXPMFromArray at SDL3_image_0.0.0 3.2.0
+ IMG_ReadXPMFromArrayToRGB888 at SDL3_image_0.0.0 3.2.0
+ IMG_SaveAVIF at SDL3_image_0.0.0 3.2.0
+ IMG_SaveAVIF_IO at SDL3_image_0.0.0 3.2.0
+ IMG_SaveJPG at SDL3_image_0.0.0 3.2.0
+ IMG_SaveJPG_IO at SDL3_image_0.0.0 3.2.0
+ IMG_SavePNG at SDL3_image_0.0.0 3.2.0
+ IMG_SavePNG_IO at SDL3_image_0.0.0 3.2.0
+ IMG_Version at SDL3_image_0.0.0 3.2.0
+ IMG_isAVIF at SDL3_image_0.0.0 3.2.0
+ IMG_isBMP at SDL3_image_0.0.0 3.2.0
+ IMG_isCUR at SDL3_image_0.0.0 3.2.0
+ IMG_isGIF at SDL3_image_0.0.0 3.2.0
+ IMG_isICO at SDL3_image_0.0.0 3.2.0
+ IMG_isJPG at SDL3_image_0.0.0 3.2.0
+ IMG_isJXL at SDL3_image_0.0.0 3.2.0
+ IMG_isLBM at SDL3_image_0.0.0 3.2.0
+ IMG_isPCX at SDL3_image_0.0.0 3.2.0
+ IMG_isPNG at SDL3_image_0.0.0 3.2.0
+ IMG_isPNM at SDL3_image_0.0.0 3.2.0
+ IMG_isQOI at SDL3_image_0.0.0 3.2.0
+ IMG_isSVG at SDL3_image_0.0.0 3.2.0
+ IMG_isTIF at SDL3_image_0.0.0 3.2.0
+ IMG_isWEBP at SDL3_image_0.0.0 3.2.0
+ IMG_isXCF at SDL3_image_0.0.0 3.2.0
+ IMG_isXPM at SDL3_image_0.0.0 3.2.0
+ IMG_isXV at SDL3_image_0.0.0 3.2.0
+ SDL3_image_0.0.0 at SDL3_image_0.0.0 3.2.0
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..78a2e3e
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1 @@
+usr/share/licenses/SDL3_image/LICENSE.txt
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0017ac0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,112 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+
+include /usr/share/dpkg/default.mk
+
+built_binaries := $(shell dh_listpackages)
+
+confflags = -DSDLIMAGE_REVISION=$(DEB_VERSION_UPSTREAM_REVISION)
+confflags += -DSDLIMAGE_STRICT=ON
+confflags += -DSDLIMAGE_VENDORED=OFF
+
+ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS))$(filter %-tests,$(built_binaries)),nocheck)
+confflags += -DSDLIMAGE_TESTS=ON
+endif
+
+ifneq ($(filter %-doc,$(built_binaries)),)
+confflags += -DSDLIMAGE_INSTALL_MAN=ON
+endif
+
+ifneq ($(filter %-tests,$(built_binaries)),)
+confflags += -DSDLIMAGE_SAMPLES=ON
+confflags += -DSDLIMAGE_SAMPLES_INSTALL=ON
+confflags += -DSDLIMAGE_TESTS_INSTALL=ON
+endif
+
+# using libjpeg and libpng is straightforward in Debian
+confflags += -DSDLIMAGE_BACKEND_STB=OFF
+
+# doesn't seem to be in demand yet
+confflags += -DSDLIMAGE_AVIF=OFF
+confflags += -DSDLIMAGE_AVIF_SAVE=OFF
+
+confflags += -DSDLIMAGE_BMP=ON
+
+confflags += -DSDLIMAGE_GIF=ON
+
+confflags += -DSDLIMAGE_JPG=ON
+confflags += -DSDLIMAGE_JPG_SAVE=ON
+
+# doesn't seem to be stable yet
+confflags += -DSDLIMAGE_JXL=OFF
+
+confflags += -DSDLIMAGE_LBM=ON
+
+confflags += -DSDLIMAGE_PCX=ON
+
+confflags += -DSDLIMAGE_PNG=ON
+confflags += -DSDLIMAGE_PNG_SAVE=ON
+
+confflags += -DSDLIMAGE_PNM=ON
+
+confflags += -DSDLIMAGE_QOI=ON
+
+confflags += -DSDLIMAGE_SVG=ON
+
+confflags += -DSDLIMAGE_TGA=ON
+
+confflags += -DSDLIMAGE_TIF=ON
+
+confflags += -DSDLIMAGE_WEBP=ON
+
+confflags += -DSDLIMAGE_XCF=ON
+
+confflags += -DSDLIMAGE_XPM=ON
+
+confflags += -DSDLIMAGE_XV=ON
+
+# features -- disable building as plugins, otherwise dh_shlibs
+# cannot keep track of what we depend on
+confflags += -DSDLIMAGE_DEPS_SHARED=OFF
+
+# Assert that we support all the formats that we think we should support
+export SDL_IMAGE_TEST_REQUIRE_LOAD_AVIF=0
+export SDL_IMAGE_TEST_REQUIRE_LOAD_BMP=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_CUR=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_GIF=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_ICO=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_JPG=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_JXL=0
+export SDL_IMAGE_TEST_REQUIRE_LOAD_LBM=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_PCX=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_PNG=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_PNM=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_QOI=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_SVG=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_TGA=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_TIF=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_WEBP=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_XCF=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_XPM=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_XV=1
+
+export SDL_IMAGE_TEST_REQUIRE_SAVE_JPG=1
+export SDL_IMAGE_TEST_REQUIRE_SAVE_PNG=1
+
+%:
+ dh $@ --buildsystem=cmake+ninja
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(confflags)
+
+override_dh_installchangelogs:
+ dh_installchangelogs -- CHANGES.txt
+
+# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
+# quite right for installed-tests
+override_dh_fixperms:
+ dh_fixperms -Xusr/libexec/installed-tests
+ifneq ($(filter %-tests,$(built_binaries)),)
+ chmod --recursive --changes a+rX,u+w,og-w debian/*-tests/usr/libexec/installed-tests
+endif
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..8424db4
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,3 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..5bc5e88
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# A signing key exists, but we can't use it until there's a signed release
+debian-watch-could-verify-download debian/upstream/signing-key.asc [debian/watch]
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..32137ca
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,18 @@
+Tests: libsdl3-image-dev
+Restrictions: allow-stderr, superficial
+Depends:
+ build-essential,
+ cmake,
+ debconf,
+ file,
+ libsdl3-image-dev,
+ ninja-build,
+ pkgconf,
+ xauth,
+ xvfb,
+
+Tests: installed-tests
+Restrictions: allow-stderr, superficial
+Depends:
+ gnome-desktop-testing,
+ libsdl3-image-tests,
diff --git a/debian/tests/installed-tests b/debian/tests/installed-tests
new file mode 100755
index 0000000..c1a4959
--- /dev/null
+++ b/debian/tests/installed-tests
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+set -eu
+
+namespace=SDL3_image/
+
+if [ -z "${HOME-}" ] || ! [ -w "${HOME}" ]; then
+ export HOME="${AUTOPKGTEST_TMP}"
+fi
+
+export SDL_AUDIO_DRIVER=dummy
+export SDL_VIDEO_DRIVER=dummy
+cd "$AUTOPKGTEST_TMP"
+
+# Assert that we support all the formats that we think we should support
+export SDL_IMAGE_TEST_REQUIRE_LOAD_AVIF=0
+export SDL_IMAGE_TEST_REQUIRE_LOAD_BMP=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_CUR=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_GIF=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_ICO=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_JPG=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_JXL=0
+export SDL_IMAGE_TEST_REQUIRE_LOAD_LBM=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_PCX=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_PNG=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_PNM=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_QOI=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_SVG=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_TGA=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_TIF=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_WEBP=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_XPM=1
+export SDL_IMAGE_TEST_REQUIRE_LOAD_XV=1
+
+export SDL_IMAGE_TEST_REQUIRE_SAVE_JPG=1
+export SDL_IMAGE_TEST_REQUIRE_SAVE_PNG=1
+
+if [ -z "$(ginsttest-runner -l "$namespace")" ]; then
+ echo "Error: no installed-tests found matching $namespace" >&2
+ exit 1
+fi
+
+exec ginsttest-runner --tap "$namespace"
diff --git a/debian/tests/libsdl3-image-dev b/debian/tests/libsdl3-image-dev
new file mode 100755
index 0000000..3bf9fe2
--- /dev/null
+++ b/debian/tests/libsdl3-image-dev
@@ -0,0 +1,52 @@
+#!/bin/sh
+# Copyright 2019 Collabora Ltd.
+# SPDX-License-Identifier: Zlib
+# (see "zlib/libpng" in debian/copyright)
+
+set -eux
+
+if [ -n "${AUTOPKGTEST_ARTIFACTS-}" ]; then
+ WORKDIR="$AUTOPKGTEST_ARTIFACTS"
+else
+ WORKDIR="$(mktemp -d)"
+ trap 'cd /; rm -fr "$WORKDIR"' 0 INT QUIT ABRT PIPE TERM
+fi
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+ CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+ CROSS_COMPILE=
+fi
+
+# This is shipped in the debconf package
+cp /usr/share/pixmaps/debian-logo.png "$WORKDIR"
+cp ./examples/showimage.c "$WORKDIR"
+mkdir "$WORKDIR/cmake"
+cp ./cmake/test/CMakeLists.txt "$WORKDIR/cmake"
+cp ./cmake/test/main.c "$WORKDIR/cmake"
+
+cd "$WORKDIR"
+
+# Deliberately word-splitting pkg-config's output:
+# shellcheck disable=SC2046
+"${CROSS_COMPILE}gcc" -oshowimage showimage.c $("${CROSS_COMPILE}pkgconf" --cflags --libs sdl3-image)
+
+set -- ./showimage
+
+if [ -z "${TEST_INTERACTIVE-}" ]; then
+ echo "(export TEST_INTERACTIVE=1 for an interactive test)"
+ set -- xvfb-run -a -s '-screen 0 1280x1024x24 -noreset' "$@" -quit
+fi
+
+set -- "$@" -save debian-logo.bmp debian-logo.png
+
+"$@"
+
+file debian-logo.bmp
+
+if [ -z "${DEB_HOST_GNU_TYPE:-}" ]; then
+ mkdir cmake/_build
+ ( cd cmake/_build; cmake -GNinja -DTEST_SHARED=ON -DTEST_STATIC=OFF .. )
+ ninja -C cmake/_build
+ ./cmake/_build/main_shared
+fi
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b6cc7a2
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/libsdl-org/SDL_image/issues
+Bug-Submit: https://github.com/libsdl-org/SDL_image/issues/new
+Repository: https://github.com/libsdl-org/SDL_image.git
+Repository-Browse: https://github.com/libsdl-org/SDL_image
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..6edaeb6
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,28 @@
+pub dsa1024 2001-01-05 [SCA]
+ 1528635D8053A57F77D1E08630A59377A7763BE6
+uid Sam Lantinga <slouken at libsdl.org>
+sub elg1024 2001-01-05 [E]
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQGiBDpWOb0RBADQwd3d9mzt6KzqlsgXf9mikBuMbpKzYs1SBKYpdzUs9sRY0CnH
+vCQTrL5sI57yKLnqEl6SbIiE75ZwrSWwvUDFFTh35Jew5nPZwv64en2kw2y4qrnJ
+kBZCHDSU4KgfUZtoJ25Tmeru5MLNbXxCOoMszO5L5OchwMrGMtmFLRA/bwCgy5Th
+d1/vJo+bej9tbgv++SJ05o0D/3MPK7EBoxWkQ0I+ScqOsvSMRQXWc/hXy4lyIp8e
+xJByBApkv0LiiT3KlPpq/K2gTlDlCZ/JTt6Rv8Ug0g47R3a0aoz9kfc15UjHdiap
+UOfF9MWmmbw59Lyx6+y2e0/C5xWzNOR1G4G5y4RZL/GXrp67xz/0fEhI85R+eASq
+AEfSBAC5ZxwnBwyl+h+PXeJYKrPQjSUlgtSAkKp7PNBywwlue1LcSb7j4cc+cmgH
+QMVuM883LPE59btNzFTAZjlzzIMiaXf5h9EkDARTGQ1wFiO3V5vIbVLh4kAoNfpT
+egy7bYn3UrlbKg3V2DbCdEXm1zQufZzK7T0yenA5Ps8xXX7mNrQhU2FtIExhbnRp
+bmdhIDxzbG91a2VuQGxpYnNkbC5vcmc+iFcEExECABcFAjpWOb0FCwcKAwQDFQMC
+AxYCAQIXgAAKCRAwpZN3p3Y75t9RAJ4/thyz/TDdI3CruKwszF2RuHZYeACcDS0W
+70JNeJ+jhA9a5j220K3d3bO5AQ0EOlY5wxAEAPvjB0B5RNAj8hBF/Lq78w5rJ1/f
+5RqWXmdfxApuEE/9OEFXUSUXms9f/IWvySdyf48Pk4t2h8b8i7F0f3R+tcCp6m0P
+t1BSNHYumfmtonTy5FHqpwBVlEi7I0s5mD3kxO+k8PQbATHH5smFnoz2UTc+MzQj
+UdtTzXUkUgqvf9zTAAMGA/9Y/h6rhi3YYXeI6SmbXqcmzsQKzaWVhLew67szejnY
+sKIJ1ja4MefYlthCXgmIBriNftxIGtBI0Pcmzwpn0eknRNK6NgpmESbGKCWh59Je
+iAK5hdBPe47LSFVct5zSO9vQhRDyLzhzPPtB3XeoKTUkLWxBSLbeZVwcHPIK/wLa
+l4hGBBgRAgAGBQI6VjnDAAoJEDClk3endjvmxmUAn3Ne6Z3UULpie8RJP15RBt6K
+2MWFAJ9hK/Ls/FeBJ9d50qxmYdZ2RrTXNg==
+=UAuY
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f2188b6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,12 @@
+version=4
+# Upstream releases official source tarballs, so we use
+# those in preference to git tags
+opts="\
+ compression=xz, \
+ dversionmangle=s/[+~](?:ds|dfsg)[0-9]*$//;s/\+(?:git)?[0-9]+(?:\+g[0-9a-f]*)?$//, \
+ downloadurlmangle=s#/tag/#/download/#;s#((?:prerelease|preview|release)-?@ANY_VERSION@)$#$1/SDL3_image-$2.tar.gz#, \
+ filenamemangle=s#(?:prerelease|preview|release)-?@ANY_VERSION@#SDL3_image-$1.tar.gz#, \
+ pgpmode=none, \
+ repack, \
+ repacksuffix=+ds" \
+https://github.com/libsdl-org/SDL_image/tags .*/releases/tag/(?:release)-?@ANY_VERSION@
diff --git a/debian/watch.devel b/debian/watch.devel
new file mode 100644
index 0000000..fa60cef
--- /dev/null
+++ b/debian/watch.devel
@@ -0,0 +1,12 @@
+version=4
+# Upstream releases official source tarballs, so we use
+# those in preference to git tags
+opts="\
+ compression=xz, \
+ dversionmangle=s/[+~](?:ds|dfsg)[0-9]*$//;s/\+(?:git)?[0-9]+(?:\+g[0-9a-f]*)?$//, \
+ downloadurlmangle=s#/tag/#/download/#;s#((?:prerelease|preview|release)-?@ANY_VERSION@)$#$1/SDL3_image-$2.tar.gz#, \
+ filenamemangle=s#(?:prerelease|preview|release)-?@ANY_VERSION@#SDL3_image-$1.tar.gz#, \
+ pgpmode=none, \
+ repack, \
+ repacksuffix=+ds" \
+https://github.com/libsdl-org/SDL_image/tags .*/releases/tag/(?:prerelease|preview|release)-?@ANY_VERSION@
diff --git a/debian/watch.git b/debian/watch.git
new file mode 100644
index 0000000..24f6ade
--- /dev/null
+++ b/debian/watch.git
@@ -0,0 +1,9 @@
+version=4
+
+opts="\
+ mode=git, \
+ compression=gzip, \
+ dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)(?:\+(?:dfsg|ds)[0-9]*)//, \
+ pretty=3~git%cd~%h+ds" \
+https://github.com/libsdl-org/SDL_image \
+HEAD
More information about the Neon-commits
mailing list