[neon/backports-noble/libsdl3-ttf-noble/Neon/unstable] debian: initial backport to noble for freerdp3 in forks
Carlos De Maine
null at kde.org
Wed Aug 5 21:14:24 BST 2026
Git commit 10074438d86c50bf831d5223e41b8eb596991c36 by Carlos De Maine.
Committed on 05/08/2026 at 20:14.
Pushed by carlosdem into branch 'Neon/unstable'.
initial backport to noble for freerdp3 in forks
A +12 -0 debian/.gitignore
A +38 -0 debian/build-shaders.sh
A +484 -0 debian/changelog
A +7 -0 debian/clean
A +75 -0 debian/control
A +97 -0 debian/copyright
A +4 -0 debian/gbp.conf
A +1 -0 debian/libsdl3-ttf-dev.docs
A +4 -0 debian/libsdl3-ttf-dev.install
A +3 -0 debian/libsdl3-ttf-doc.examples
A +3 -0 debian/libsdl3-ttf-doc.manpages
A +3 -0 debian/libsdl3-ttf-tests.install
A +1 -0 debian/libsdl3-ttf0.docs
A +2 -0 debian/libsdl3-ttf0.install
A +120 -0 debian/libsdl3-ttf0.symbols
A +4 -0 debian/not-installed
A +25 -0 debian/patches/Clarified-that-you-should-keep-the-IOStream-opened-until-.patch
A +24 -0 debian/patches/Updated-the-version-that-TTF_GetFontWeight-became-availab.patch
A +2 -0 debian/patches/series
A +49 -0 debian/rules
A +3 -0 debian/salsa-ci.yml
A +1 -0 debian/source/format
A +2 -0 debian/source/lintian-overrides
A +12 -0 debian/tests/control
A +52 -0 debian/tests/libsdl3-ttf-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 +8 -0 debian/watch.git
https://invent.kde.org/neon/backports-noble/libsdl3-ttf-noble/-/commit/10074438d86c50bf831d5223e41b8eb596991c36
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..db36239
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,12 @@
+/*.debhelper.log
+/*.substvars
+/.debhelper/
+/autoreconf.after
+/autoreconf.before
+/debhelper-build-stamp
+/files
+/libsdl3-ttf0/
+/libsdl3-ttf-dev/
+/libsdl3-ttf-doc/
+/libsdl3-ttf-tests/
+/tmp/
diff --git a/debian/build-shaders.sh b/debian/build-shaders.sh
new file mode 100755
index 0000000..4fd3353
--- /dev/null
+++ b/debian/build-shaders.sh
@@ -0,0 +1,38 @@
+#!/bin/bash
+# Adapted from upstream's build-shaders.sh to avoid spirvcross dependency
+
+set -e
+
+make-header() {
+ xxd -i "$1" | sed \
+ -e 's/^unsigned /const unsigned /g' \
+ -e 's,^const,static const,' \
+ > "$1.h"
+}
+
+# Requires shadercross CLI installed from SDL_shadercross
+for filename in *.vert.hlsl; do
+ if [ -f "$filename" ]; then
+ glslangValidator -e main -o "${filename/.hlsl/.spv}" -V -D "$filename"
+ make-header "${filename/.hlsl/.spv}"
+
+ # We don't use these on Linux, they just need to exist
+ : > "${filename/.hlsl/.msl}"
+ make-header "${filename/.hlsl/.msl}"
+ : > "${filename/.hlsl/.dxil}"
+ make-header "${filename/.hlsl/.dxil}"
+ fi
+done
+
+for filename in *.frag.hlsl; do
+ if [ -f "$filename" ]; then
+ glslangValidator -e main -o "${filename/.hlsl/.spv}" -V -D "$filename"
+ make-header "${filename/.hlsl/.spv}"
+
+ # We don't use these on Linux, they just need to exist
+ : > "${filename/.hlsl/.msl}"
+ make-header "${filename/.hlsl/.msl}"
+ : > "${filename/.hlsl/.dxil}"
+ make-header "${filename/.hlsl/.dxil}"
+ fi
+done
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b740108
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,484 @@
+libsdl3-ttf (3.2.2+ds-1) unstable; urgency=medium
+
+ * New upstream stable release
+ * d/copyright: Update file exclusions
+ * d/libsdl3-ttf0.symbols: Update
+ * d/p/Updated-the-version-that-TTF_GetFontWeight-became-availab.patch,
+ d/p/Clarified-that-you-should-keep-the-IOStream-opened-until-.patch:
+ Add some post-release documentation fixes from upstream
+ * Standards-Version: 4.7.2 (no changes required)
+
+ -- Simon McVittie <smcv at debian.org> Sun, 06 Apr 2025 14:51:58 +0100
+
+libsdl3-ttf (3.2.0+ds-1) unstable; urgency=medium
+
+ * First upstream stable release (Closes: #1095059)
+ * Depend on SDL 3.2.6 as per CMakeLists.txt
+ * d/libsdl3-ttf0.symbols: Bump version to 3.2.0 for all symbols.
+ Let's make sure all dependent packages that were compiled against
+ the stable release pick up a dependency on the stable release.
+
+ -- Simon McVittie <smcv at debian.org> Mon, 03 Mar 2025 11:03:17 +0000
+
+libsdl3-ttf (3.1.2+ds-1) unstable; urgency=medium
+
+ [ Fabian Greffrath ]
+ * tests: switch from fonts-cantarell to fonts-freefont-otf
+
+ [ Simon McVittie ]
+ * New upstream preview release
+ * d/watch.git: Update
+ * d/libsdl3-ttf0.symbols: Update
+ * d/control: Require SDL 3.2.0 stable release
+ * d/control, d/copyright: Update upstream project URLs
+
+ -- Simon McVittie <smcv at debian.org> Tue, 25 Feb 2025 16:46:56 +0000
+
+libsdl3-ttf (3.1.0+ds-1) unstable; urgency=medium
+
+ * New upstream preview release
+ * d/control: Increase dependency on libharfbuzz-dev as per CMakelists.txt
+ * d/copyright, d/clean: Exclude DXIL and MSL shader files
+ * d/clean, d/build-shaders.sh: Rebuild HLSL shaders using glslang
+ * d/p/debian/examples-Stub-out-support-for-Windows-and-macOS-shader-fo.patch:
+ Drop patch, solved differently in build-shaders.sh
+ * d/rules: Enable strict handling of dependencies
+ * d/rules: Disable colour emoji (plutosvg) for now.
+ plutosvg and its dependency plutovg are not currently packaged in
+ Debian, so enabling this feature would require either packaging
+ them separately, or repacking SDL_ttf to include upstream's vendored
+ copies.
+ * d/libsdl3-ttf0.symbols: Increase minimum required version to 3.1.0.
+ This is the first version that is intended to be ABI-stable, so any
+ dependent package should be generating a dependency on this version
+ and not on older snapshots.
+ Note that ABI of TTF_Direction and TTF_SubStringFlags in this version
+ is not the same as in the snapshots in experimental.
+ * d/tests/libsdl3-ttf-dev: Adjust to new command-line syntax in showfont
+ * d/watch: Watch for upstream preview releases
+ * Upload to unstable, now that we have a preview release.
+ This is not targeted for trixie at this stage: the first version
+ suitable for inclusion in trixie is expected to be 3.2.0
+ (see #1095059).
+
+ -- Simon McVittie <smcv at debian.org> Mon, 03 Feb 2025 18:12:18 +0000
+
+libsdl3-ttf (3~git20250124~a7040ba+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/*.docs: README.txt was renamed to README.md
+ * d/copyright: Exclude docs/hello.c, which contains a hex-dump of a
+ third-party font without obvious source code
+
+ -- Simon McVittie <smcv at debian.org> Fri, 24 Jan 2025 11:57:08 +0000
+
+libsdl3-ttf (3~git20250111~baf2e57+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL3 prerelease 3.1.10
+ * d/salsa-ci.yml: Add
+ * d/copyright:
+ Convenience copy of Noto Sans Mono no longer needs to be excluded
+ * d/p/testgputext-Don-t-crash-if-the-desired-font-cannot-be-fou.patch,
+ d/p/testgputext-Allow-a-font-filename-to-be-given-on-the-comm.patch,
+ d/p/debian/build-Create-a-symlink-to-packaged-Noto-Sans-instead-of-v.patch:
+ Remove patches, applied or obsoleted upstream
+
+ -- Simon McVittie <smcv at debian.org> Sun, 19 Jan 2025 17:26:09 +0000
+
+libsdl3-ttf (3~git20250107~2822076+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL3 prerelease 3.1.8
+ * d/copyright: Update
+ * d/libsdl3-ttf0.symbols: Update
+ * d/libsdl3-ttf-tests.install: Install new testgputext example
+ * d/p/testgputext-Don-t-crash-if-the-desired-font-cannot-be-fou.patch,
+ d/p/testgputext-Allow-a-font-filename-to-be-given-on-the-comm.patch:
+ Add proposed patches to make testgputext more useful as a manual test
+ * d/rules: Regenerate shaders at build-time
+ * d/copyright,
+ d/p/debian/examples-Stub-out-support-for-Windows-and-macOS-shader-fo.patch:
+ Exclude Windows and macOS shader headers, which cannot be regenerated
+ by glslang-tools and are not needed by any Debian architectures
+ * d/copyright,
+ d/p/debian/build-Create-a-symlink-to-packaged-Noto-Sans-instead-of-v.patch:
+ Exclude convenience copy of Noto Sans Mono
+
+ -- Simon McVittie <smcv at debian.org> Wed, 08 Jan 2025 17:36:49 +0000
+
+libsdl3-ttf (3~git20241102~f20defe+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL3 prerelease 3.1.6
+ * Bump SDL3 dependency to 3.1.6 for new APIs used
+ * d/libsdl3-ttf-dev.install: Install all headers
+ * d/libsdl3-ttf0.symbols: Update
+
+ -- Simon McVittie <smcv at debian.org> Mon, 04 Nov 2024 19:14:18 +0000
+
+libsdl3-ttf (3~git20241004~5992548+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot, corresponding to SDL3 prerelease 3.1.3
+ * d/copyright: Update
+ * Update symbols file (many ABI breaks)
+ * d/tests/libsdl3-ttf-dev: Update list of sources for showfont demo
+
+ -- Simon McVittie <smcv at debian.org> Fri, 04 Oct 2024 18:31:41 +0100
+
+libsdl3-ttf (3~git20240906~8cb1095+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/copyright: Update file exclusion rules
+ * Drop patch, applied upstream
+
+ -- Simon McVittie <smcv at debian.org> Tue, 17 Sep 2024 21:08:28 +0100
+
+libsdl3-ttf (3~git20240901~d4b137f+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)
+ * Add proposed patch to build successfully against latest SDL3 snapshot
+
+ -- Simon McVittie <smcv at debian.org> Tue, 03 Sep 2024 21:29:36 +0100
+
+libsdl3-ttf (3~git20240717~5b6171c+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/control: (Build-)Depend on a corresponding libsdl3 snapshot
+ * d/libsdl3-ttf0.symbols: Update
+ * Update list of man pages to install
+
+ -- Simon McVittie <smcv at debian.org> Tue, 30 Jul 2024 17:01:59 +0100
+
+libsdl3-ttf (3~git20240508~1ee075d+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 we are building -doc package
+
+ -- Simon McVittie <smcv at debian.org> Thu, 20 Jun 2024 14:37:29 +0100
+
+libsdl3-ttf (3~git20240320~6e260a2+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ - Depend on a corresponding SDL3 prerelease
+ * d/libsdl3-ttf0.symbols: Update (including upstream ABI breaks)
+
+ -- Simon McVittie <smcv at debian.org> Mon, 25 Mar 2024 18:43:59 +0000
+
+libsdl3-ttf (3~git20240121~f401d29+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/libsdl3-ttf0.symbols: Update
+
+ -- Simon McVittie <smcv at debian.org> Mon, 22 Jan 2024 12:36:18 +0000
+
+libsdl3-ttf (3~git20240115~c61566a+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/copyright: Update
+
+ -- Simon McVittie <smcv at debian.org> Mon, 15 Jan 2024 18:11:04 +0000
+
+libsdl3-ttf (3~git20231107~3958dc2+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/libsdl3-ttf0.symbols: Update for removal of deprecated ABIs
+
+ -- Simon McVittie <smcv at debian.org> Thu, 07 Dec 2023 18:50:23 +0000
+
+libsdl3-ttf (3~git20230930~32637cb+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/rules: Use package version rather than trying to get version from git
+
+ -- Simon McVittie <smcv at debian.org> Mon, 02 Oct 2023 14:53:26 +0100
+
+libsdl3-ttf (3~git20230910~59f55f5+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+
+ -- Simon McVittie <smcv at debian.org> Tue, 19 Sep 2023 18:20:54 +0100
+
+libsdl3-ttf (3~git20230831~f02f313+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/.gitignore: Also ignore debian/libsdl3-ttf-doc/
+
+ -- Simon McVittie <smcv at debian.org> Mon, 04 Sep 2023 11:52:07 +0100
+
+libsdl3-ttf (3~git20230808~d9a4495+ds-1) experimental; urgency=medium
+
+ * New upstream snapshot
+ * d/.gitignore: Update for SDL3
+ * 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/gbp.conf: Stop filtering imported tarballs.
+ Please use uscan instead, which will automatically produce a filtered
+ +ds tarball based on the Files-Excluded in debian/copyright.
+
+ -- Simon McVittie <smcv at debian.org> Wed, 09 Aug 2023 19:49:30 +0100
+
+libsdl3-ttf (3~git20230804~1fe09e6+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-ttf-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:06 +0100
+
+libsdl3-ttf (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 23:47:38 +0100
+
+libsdl2-ttf (2.20.2+dfsg-1) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * d/upstream/metadata: Add
+ * d/control: Remove version constraints unnecessary since Debian 10
+
+ [ Simon McVittie ]
+ * New upstream stable release
+ - Functionally equivalent to 2.20.1+dfsg for Debian's purposes
+ * d/copyright: Update
+ * d/control: Update standards version to 4.6.2 (no changes needed)
+ * d/control: Remove version constraints unnecessary since Debian 11
+ * 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/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-ttf source package.
+
+ -- Simon McVittie <smcv at debian.org> Sat, 15 Jul 2023 18:05:37 +0100
+
+libsdl2-ttf (2.20.1+dfsg-2) unstable; urgency=medium
+
+ * d/watch: Update for Github website changes
+
+ -- Simon McVittie <smcv at debian.org> Fri, 28 Oct 2022 18:19:30 +0100
+
+libsdl2-ttf (2.20.1+dfsg-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Simon McVittie <smcv at debian.org> Mon, 29 Aug 2022 21:05:35 +0100
+
+libsdl2-ttf (2.20.0+dfsg-1) unstable; urgency=medium
+
+ * New upstream release
+ * d/libsdl2-ttf-2.0-0.symbols: Use stable release for recent symbols.
+ We don't need to keep track of which specific prerelease introduced
+ each symbol now that they're in a stable release.
+ * d/watch: Only look for stable releases
+ * Standards-Version: 4.6.1 (no changes required)
+ * d/rules: Enable full compiler hardening
+ * Switch branch for upload to unstable
+
+ -- Simon McVittie <smcv at debian.org> Sat, 09 Jul 2022 14:55:03 +0100
+
+libsdl2-ttf (2.19.2+dfsg-1) experimental; urgency=medium
+
+ * New upstream prerelease
+ * d/watch: Don't download Windows binaries, etc.
+ * d/watch: Accept development prereleases for experimental branch
+ * Add myself to Uploaders
+ * Drop all patches, applied upstream
+ * d/libsdl2-ttf-dev.install: Install the new CMake metadata
+ * d/tests: Exercise a CMake build
+
+ -- Simon McVittie <smcv at debian.org> Fri, 17 Jun 2022 10:56:50 +0100
+
+libsdl2-ttf (2.19.1+dfsg-2) experimental; urgency=medium
+
+ * Team upload
+ * d/patches: Add post-release-candidate fixes from upstream.
+ In particular this fixes an autopkgtest regression for src:pysdl2.
+ * d/watch: Automatically add +dfsg suffix
+ * d/.gitignore: Add
+
+ -- Simon McVittie <smcv at debian.org> Tue, 31 May 2022 13:16:45 +0100
+
+libsdl2-ttf (2.19.1+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream prerelease
+ * 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> Wed, 25 May 2022 20:27:23 +0100
+
+libsdl2-ttf (2.0.18+git20220512.g21ae4c6+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ * Update symbols file.
+ Ignore removal of TTF_SetFontScript, which only existed in experimental.
+
+ -- Simon McVittie <smcv at debian.org> Fri, 13 May 2022 16:30:01 +0100
+
+libsdl2-ttf (2.0.18+git20220508.gaa0659b+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream git snapshot
+ - Drop patches, applied upstream
+ - Update symbols file with new ABI from development branch
+
+ -- Simon McVittie <smcv at debian.org> Mon, 09 May 2022 17:06:08 +0100
+
+libsdl2-ttf (2.0.18+dfsg-3) unstable; urgency=medium
+
+ * Team upload
+ * Add patches from upstream to fix overflows
+ - Integer overflow with crafted/malicious TTF files
+ (Closes: #1010671, CVE-2022-27470)
+ - Buffer overflow if memory allocation fails
+
+ -- Simon McVittie <smcv at debian.org> Sat, 07 May 2022 11:34:44 +0100
+
+libsdl2-ttf (2.0.18+dfsg-2) unstable; urgency=medium
+
+ * Team upload
+ * Upload to unstable
+
+ -- Simon McVittie <smcv at debian.org> Tue, 18 Jan 2022 09:29:57 +0000
+
+libsdl2-ttf (2.0.18+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * d/libsdl2-ttf-2.0-0.symbols: Require v2.0.18 for recent symbols.
+ This simplifies dependency generation a bit; there's no real need to
+ keep track of individual git snapshots.
+
+ -- Simon McVittie <smcv at debian.org> Wed, 12 Jan 2022 09:19:12 +0000
+
+libsdl2-ttf (2.0.18~git20220107.g5d387eb+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * New upstream snapshot
+ * d/copyright: Update
+ * d/*.symbols: Update
+
+ -- Simon McVittie <smcv at debian.org> Fri, 07 Jan 2022 14:07:32 +0000
+
+libsdl2-ttf (2.0.15+git20211215.gf5f6e4a+dfsg-1) experimental; urgency=medium
+
+ * Team upload
+ * Branch for experimental
+ * New upstream snapshot
+ - Update symbols file
+ - d/control: Update build-dependencies
+ - d/copyright: Update
+ - d/rules: Explicitly enable harfbuzz and disable vendored copies
+ * 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> Wed, 15 Dec 2021 13:29:47 +0000
+
+libsdl2-ttf (2.0.15+dfsg1-2) unstable; urgency=medium
+
+ * Team upload
+
+ [ Felix Geyer ]
+ * Switch to debhelper compat level 12
+
+ [ Simon McVittie ]
+ * Add an autopkgtest smoke-test (Closes: #941024)
+ * d/rules: Don't explicitly use --as-needed linker option.
+ It's the default with bullseye toolchains.
+ * d/rules: Stop overriding dh_compress.
+ In debhelper compat level 12, examples are not compressed by default.
+ * d/rules: Remove unnecessary -dbgsym migration path.
+ The migration happened between Debian 9 and Debian 10, and we don't
+ support skipping a release.
+ * Use recommended debhelper compat level 13.
+ Drop dh_missing override, --fail-missing is now the default.
+ * Use a .symbols file to track the ABI.
+ 2.0.15 is available since Debian 10, so I haven't attempted to determine
+ which symbols were already available in older releases.
+ * Re-export upstream signing key without extra signatures.
+ * d/copyright: Add Files-Excluded to document what we remove.
+ This allows a suitably repacked tarball to be downloaded using uscan.
+ * Standards-Version: 4.6.0 (no changes required)
+
+ -- Simon McVittie <smcv at debian.org> Fri, 29 Oct 2021 11:17:38 +0100
+
+libsdl2-ttf (2.0.15+dfsg1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Verify signature of upstream tarball.
+ * Drop fix-ftbfs-892441.patch, fixed upstream. (Closes: #914486)
+
+ -- Felix Geyer <fgeyer at debian.org> Sun, 03 Feb 2019 13:00:22 +0100
+
+libsdl2-ttf (2.0.14+dfsg1-3) unstable; urgency=medium
+
+ * d/patches:
+ - add fix-ftbfs-892441.patch: use pkg-config instead of
+ freetype-config, deprecated and about to be removed (Closes: #892441)
+ * Bump Policy Standards-Version to 4.2.1 (no changes needed)
+ * Switch to debhelper compat level 11
+ * Set "Rules-Requires-Root: no" in d/control
+ * d/copyright: use https in format URL
+ * d/watch:
+ - Switch to version=4
+ - Use https in URL
+ * d/control:
+ - Use https in Homepage URL
+ - Update Vcs-* URLs
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org> Fri, 19 Oct 2018 17:08:11 +0200
+
+libsdl2-ttf (2.0.14+dfsg1-2) 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:19:16 +0200
+
+libsdl2-ttf (2.0.14+dfsg1-1) unstable; urgency=medium
+
+ * New upstream release
+ - d/patches: drop link_libm_ftbfs_binutils-gold, support added upstream
+ - Does not cause the compilation warning upgraded to error
+ (Closes: #812621)
+ - d/rules: update shlib and .so symlink to current version
+ * Bump Policy Standards-Version to 3.9.6 (no changes needed)
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org> Tue, 02 Feb 2016 12:48:36 +0000
+
+libsdl2-ttf (2.0.12+dfsg1-2) unstable; urgency=low
+
+ * Build-Depends on pkg-config
+ * Do not call dh_autoreconf with ./autogen.sh as parameter, to force
+ using new config.{sub,guess} files, which important when having new
+ architectures (Closes: #727437)
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org> Tue, 29 Oct 2013 18:18:49 +0000
+
+libsdl2-ttf (2.0.12+dfsg1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #719643)
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org> Tue, 13 Aug 2013 23:35:27 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..8865931
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+VERSION.txt
+examples/testgputext/shaders/*.dxil
+examples/testgputext/shaders/*.dxil.h
+examples/testgputext/shaders/*.msl
+examples/testgputext/shaders/*.msl.h
+examples/testgputext/shaders/*.spv
+examples/testgputext/shaders/*.spv.h
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..64ddeba
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,75 @@
+Source: libsdl3-ttf
+Section: libs
+Priority: optional
+Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.debian.org>
+Uploaders: Manuel A. Fernandez Montecelo <mafm at debian.org>, Simon McVittie <smcv at debian.org>
+Standards-Version: 4.7.2
+Rules-Requires-Root: no
+Build-Depends: cmake,
+ debhelper-compat (= 13),
+ fonts-noto-mono <!nocheck> <!noinsttest>,
+ glslang-tools,
+ libfreetype-dev,
+ libharfbuzz-dev (>= 2.3.1),
+ libsdl3-dev (>= 3.2.6),
+ pkgconf,
+ xxd,
+Homepage: https://github.com/libsdl-org/SDL_ttf
+Vcs-Browser: https://salsa.debian.org/sdl-team/libsdl3-ttf
+Vcs-Git: https://salsa.debian.org/sdl-team/libsdl3-ttf.git
+
+
+Package: libsdl3-ttf0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: TrueType Font library for Simple DirectMedia Layer 3, libraries
+ Wrapper around FreeType 2.0 library, making possible to use TrueType fonts to
+ render text in SDL applications.
+ .
+ This package contains the shared library.
+
+Package: libsdl3-ttf-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libc6-dev,
+ libfreetype-dev,
+ libharfbuzz-dev,
+ libsdl3-dev (>= 3.2.6),
+ libsdl3-ttf0 (= ${binary:Version})
+Description: TrueType Font library for Simple DirectMedia Layer 3, development files
+ Wrapper around FreeType 2.0 library, making possible to use TrueType fonts to
+ render text in SDL applications.
+ .
+ This package contains the development files.
+
+Package: libsdl3-ttf-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Build-Profiles: <!nodoc>
+Depends:
+ ${misc:Depends},
+Description: TrueType Font library for Simple DirectMedia Layer 3 - documentation
+ Wrapper around FreeType 2.0 library, making possible to use TrueType fonts to
+ render text in SDL applications.
+ .
+ This package contains the reference manual and examples.
+
+Package: libsdl3-ttf-tests
+Build-Profiles: <!noinsttest>
+Architecture: any
+Section: misc
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libsdl3-ttf0 (= ${binary:Version}),
+Description: TrueType Font library for Simple DirectMedia Layer 3 - tests
+ Wrapper around FreeType 2.0 library, making possible to use TrueType fonts to
+ render text in SDL applications.
+ .
+ This package contains manual tests. Automated tests will be added to this
+ package if they become available upstream.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..53cb0e7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,97 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: SDL_ttf
+Upstream-Contact: Sam Lantinga <slouken at libsdl.org>
+Source: https://github.com/libsdl-org/SDL_ttf/releases
+Files-Excluded:
+ .github
+ .gitmodules
+ VisualC
+ Xcode
+ docs/hello.c
+ examples/testgputext/shaders/*.dxil.h
+ examples/testgputext/shaders/*.msl.h
+ external
+
+Files: *
+Copyright:
+ 1997-2025 Sam Lantinga <slouken at libsdl.org>
+ 2022 Collabora Ltd.
+License: Zlib
+
+Files:
+ examples/editbox.c
+Copyright:
+ 1997-2025 Sam Lantinga
+License: Zlib-like-permissive
+
+Files:
+ src/stb_rect_pack.h
+Copyright: 2017 Sean Barrett
+License: Expat or Unlicense
+
+Files: debian/*
+Copyright:
+ 2012-2013 Manuel A. Fernandez Montecelo <mafm at debian.org>
+ 2019-2024 Collabora Ltd.
+License: Zlib
+
+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: 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: Zlib
+ 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.
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-ttf-dev.docs b/debian/libsdl3-ttf-dev.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libsdl3-ttf-dev.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libsdl3-ttf-dev.install b/debian/libsdl3-ttf-dev.install
new file mode 100644
index 0000000..02be512
--- /dev/null
+++ b/debian/libsdl3-ttf-dev.install
@@ -0,0 +1,4 @@
+usr/include/SDL3_ttf/*.h
+usr/lib/*/cmake/SDL3_ttf
+usr/lib/*/libSDL3_ttf.so
+usr/lib/*/pkgconfig/sdl3-ttf.pc
diff --git a/debian/libsdl3-ttf-doc.examples b/debian/libsdl3-ttf-doc.examples
new file mode 100644
index 0000000..736fca0
--- /dev/null
+++ b/debian/libsdl3-ttf-doc.examples
@@ -0,0 +1,3 @@
+examples/glfont.c
+examples/showfont.c
+examples/testapp.c
diff --git a/debian/libsdl3-ttf-doc.manpages b/debian/libsdl3-ttf-doc.manpages
new file mode 100644
index 0000000..d856bcc
--- /dev/null
+++ b/debian/libsdl3-ttf-doc.manpages
@@ -0,0 +1,3 @@
+usr/share/man/man3/SDL_TTF_*.3
+usr/share/man/man3/TTF_*.3
+usr/share/man/man3/TTF_*.3type
diff --git a/debian/libsdl3-ttf-tests.install b/debian/libsdl3-ttf-tests.install
new file mode 100644
index 0000000..48b394a
--- /dev/null
+++ b/debian/libsdl3-ttf-tests.install
@@ -0,0 +1,3 @@
+usr/bin/glfont usr/libexec/installed-tests/SDL3_ttf
+usr/bin/showfont usr/libexec/installed-tests/SDL3_ttf
+usr/bin/testgputext usr/libexec/installed-tests/SDL3_ttf
diff --git a/debian/libsdl3-ttf0.docs b/debian/libsdl3-ttf0.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libsdl3-ttf0.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libsdl3-ttf0.install b/debian/libsdl3-ttf0.install
new file mode 100644
index 0000000..51da1f0
--- /dev/null
+++ b/debian/libsdl3-ttf0.install
@@ -0,0 +1,2 @@
+usr/lib/*/libSDL3_ttf.so.0
+usr/lib/*/libSDL3_ttf.so.?.*
diff --git a/debian/libsdl3-ttf0.symbols b/debian/libsdl3-ttf0.symbols
new file mode 100644
index 0000000..4a279fb
--- /dev/null
+++ b/debian/libsdl3-ttf0.symbols
@@ -0,0 +1,120 @@
+libSDL3_ttf.so.0 libsdl3-ttf0 #MINVER#
+* Build-Depends-Package: libsdl3-ttf-dev
+ SDL3_ttf_0.0.0 at SDL3_ttf_0.0.0 3.2.0
+ TTF_AddFallbackFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_AppendTextString at SDL3_ttf_0.0.0 3.2.0
+ TTF_ClearFallbackFonts at SDL3_ttf_0.0.0 3.2.0
+ TTF_CloseFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_CopyFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_CreateGPUTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_CreateGPUTextEngineWithProperties at SDL3_ttf_0.0.0 3.2.0
+ TTF_CreateRendererTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_CreateRendererTextEngineWithProperties at SDL3_ttf_0.0.0 3.2.0
+ TTF_CreateSurfaceTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_CreateText at SDL3_ttf_0.0.0 3.2.0
+ TTF_DeleteTextString at SDL3_ttf_0.0.0 3.2.0
+ TTF_DestroyGPUTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_DestroyRendererTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_DestroySurfaceTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_DestroyText at SDL3_ttf_0.0.0 3.2.0
+ TTF_DrawRendererText at SDL3_ttf_0.0.0 3.2.0
+ TTF_DrawSurfaceText at SDL3_ttf_0.0.0 3.2.0
+ TTF_FontHasGlyph at SDL3_ttf_0.0.0 3.2.0
+ TTF_FontIsFixedWidth at SDL3_ttf_0.0.0 3.2.0
+ TTF_FontIsScalable at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontAscent at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontDPI at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontDescent at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontDirection at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontFamilyName at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontGeneration at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontHeight at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontHinting at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontKerning at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontLineSkip at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontOutline at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontProperties at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontSDF at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontScript at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontSize at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontStyle at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontStyleName at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFontWeight at SDL3_ttf_0.0.0 3.2.2
+ TTF_GetFontWrapAlignment at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetFreeTypeVersion at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGPUTextDrawData at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGPUTextEngineWinding at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGlyphImage at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGlyphImageForIndex at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGlyphKerning at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGlyphMetrics at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetGlyphScript at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetHarfBuzzVersion at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetNextTextSubString at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetNumFontFaces at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetPreviousTextSubString at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetStringSize at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetStringSizeWrapped at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextColor at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextColorFloat at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextDirection at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextPosition at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextProperties at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextScript at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextSize at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextSubString at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextSubStringForLine at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextSubStringForPoint at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextSubStringsForRange at SDL3_ttf_0.0.0 3.2.0
+ TTF_GetTextWrapWidth at SDL3_ttf_0.0.0 3.2.0
+ TTF_Init at SDL3_ttf_0.0.0 3.2.0
+ TTF_InsertTextString at SDL3_ttf_0.0.0 3.2.0
+ TTF_MeasureString at SDL3_ttf_0.0.0 3.2.0
+ TTF_OpenFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_OpenFontIO at SDL3_ttf_0.0.0 3.2.0
+ TTF_OpenFontWithProperties at SDL3_ttf_0.0.0 3.2.0
+ TTF_Quit at SDL3_ttf_0.0.0 3.2.0
+ TTF_RemoveFallbackFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderGlyph_Blended at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderGlyph_LCD at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderGlyph_Shaded at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderGlyph_Solid at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_Blended at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_Blended_Wrapped at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_LCD at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_LCD_Wrapped at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_Shaded at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_Shaded_Wrapped at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_Solid at SDL3_ttf_0.0.0 3.2.0
+ TTF_RenderText_Solid_Wrapped at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontDirection at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontHinting at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontKerning at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontLanguage at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontLineSkip at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontOutline at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontSDF at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontScript at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontSize at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontSizeDPI at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontStyle at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetFontWrapAlignment at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetGPUTextEngineWinding at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextColor at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextColorFloat at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextDirection at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextEngine at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextFont at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextPosition at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextScript at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextString at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextWrapWhitespaceVisible at SDL3_ttf_0.0.0 3.2.0
+ TTF_SetTextWrapWidth at SDL3_ttf_0.0.0 3.2.0
+ TTF_StringToTag at SDL3_ttf_0.0.0 3.2.0
+ TTF_TagToString at SDL3_ttf_0.0.0 3.2.0
+ TTF_TextWrapWhitespaceVisible at SDL3_ttf_0.0.0 3.2.0
+ TTF_UpdateText at SDL3_ttf_0.0.0 3.2.0
+ TTF_Version at SDL3_ttf_0.0.0 3.2.0
+ TTF_WasInit at SDL3_ttf_0.0.0 3.2.0
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..fbf1f37
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,4 @@
+usr/bin/testapp
+usr/share/licenses/SDL3_ttf/LICENSE.txt
+usr/share/man/man3/UNICODE_BOM_NATIVE.3
+usr/share/man/man3/_TTF_Font.3type
diff --git a/debian/patches/Clarified-that-you-should-keep-the-IOStream-opened-until-.patch b/debian/patches/Clarified-that-you-should-keep-the-IOStream-opened-until-.patch
new file mode 100644
index 0000000..ce3d39c
--- /dev/null
+++ b/debian/patches/Clarified-that-you-should-keep-the-IOStream-opened-until-.patch
@@ -0,0 +1,25 @@
+From: Sam Lantinga <slouken at libsdl.org>
+Date: Wed, 2 Apr 2025 15:15:42 -0700
+Subject: Clarified that you should keep the IOStream opened until the font is
+ closed
+
+(cherry picked from commit c3af16390a8e4e7319e0b63d470136f38920f9b1)
+
+Origin: upstream, 3.2.4, commit:5cabeafaadebcb51d388309478b4ced7657e98f8
+---
+ include/SDL3_ttf/SDL_ttf.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/SDL3_ttf/SDL_ttf.h b/include/SDL3_ttf/SDL_ttf.h
+index a18eb09..cff028f 100644
+--- a/include/SDL3_ttf/SDL_ttf.h
++++ b/include/SDL3_ttf/SDL_ttf.h
+@@ -160,7 +160,7 @@ extern SDL_DECLSPEC TTF_Font * SDLCALL TTF_OpenFont(const char *file, float ptsi
+ * the last indexed size will be the default.
+ *
+ * If `closeio` is true, `src` will be automatically closed once the font is
+- * closed. Otherwise you should close `src` yourself after closing the font.
++ * closed. Otherwise you should keep `src` open until the font is closed.
+ *
+ * When done with the returned TTF_Font, use TTF_CloseFont() to dispose of it.
+ *
diff --git a/debian/patches/Updated-the-version-that-TTF_GetFontWeight-became-availab.patch b/debian/patches/Updated-the-version-that-TTF_GetFontWeight-became-availab.patch
new file mode 100644
index 0000000..3fb8141
--- /dev/null
+++ b/debian/patches/Updated-the-version-that-TTF_GetFontWeight-became-availab.patch
@@ -0,0 +1,24 @@
+From: Sam Lantinga <slouken at libsdl.org>
+Date: Wed, 2 Apr 2025 10:42:04 -0700
+Subject: Updated the version that TTF_GetFontWeight() became available
+
+(cherry picked from commit 8a34a05a37306718105021cead41e23f40617022)
+
+Origin: upstream, 3.2.4, commit:358b4ed331ff54ed2fac7cfb7db9cc3634260915
+---
+ include/SDL3_ttf/SDL_ttf.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/SDL3_ttf/SDL_ttf.h b/include/SDL3_ttf/SDL_ttf.h
+index b723bc7..a18eb09 100644
+--- a/include/SDL3_ttf/SDL_ttf.h
++++ b/include/SDL3_ttf/SDL_ttf.h
+@@ -676,7 +676,7 @@ extern SDL_DECLSPEC bool SDLCALL TTF_GetFontSDF(const TTF_Font *font);
+ * \threadsafety This function should be called on the thread that created the
+ * font.
+ *
+- * \since This function is available since SDL_ttf 3.4.0.
++ * \since This function is available since SDL_ttf 3.2.2.
+ */
+ extern SDL_DECLSPEC int SDLCALL TTF_GetFontWeight(const TTF_Font *font);
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6a8a327
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+Updated-the-version-that-TTF_GetFontWeight-became-availab.patch
+Clarified-that-you-should-keep-the-IOStream-opened-until-.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..315e64a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall
+
+include /usr/share/dpkg/default.mk
+
+built_binaries := $(shell dh_listpackages)
+
+confflags := -DSDLTTF_STRICT=ON
+
+confflags += -DSDLTTF_HARFBUZZ=ON
+confflags += -DSDLTTF_PLUTOSVG=OFF
+confflags += -DSDLTTF_VENDORED=OFF
+confflags += -DSDLTTF_WERROR=OFF
+
+ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS))$(filter %-tests,$(built_binaries)),nocheck)
+confflags += -DSDLTTF_TESTS=ON
+endif
+
+ifneq ($(filter %-tests,$(built_binaries)),)
+confflags += -DSDLTTF_SAMPLES=ON
+confflags += -DSDLTTF_SAMPLES_INSTALL=ON
+confflags += -DSDLTTF_TESTS_INSTALL=ON
+endif
+
+ifneq ($(filter %-doc,$(built_binaries)),)
+confflags += -DSDLTTF_INSTALL_MAN=ON
+endif
+
+%:
+ dh $@ --buildsystem=cmake
+
+override_dh_auto_configure:
+ cd examples/testgputext/shaders && LC_ALL=C bash -ex $(CURDIR)/debian/build-shaders.sh
+ 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..522ffcd
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,12 @@
+Tests: libsdl3-ttf-dev
+Restrictions: allow-stderr, superficial
+Depends:
+ build-essential,
+ cmake,
+ file,
+ fonts-freefont-otf,
+ libsdl3-ttf-dev,
+ ninja-build,
+ pkgconf,
+ xauth,
+ xvfb,
diff --git a/debian/tests/libsdl3-ttf-dev b/debian/tests/libsdl3-ttf-dev
new file mode 100755
index 0000000..6745ece
--- /dev/null
+++ b/debian/tests/libsdl3-ttf-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
+
+cp ./examples/*.c ./examples/*.h "$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" -oshowfont showfont.c editbox.c $("${CROSS_COMPILE}pkgconf" --cflags --libs sdl3-ttf)
+
+set -- ./showfont
+
+if [ -z "${TEST_INTERACTIVE-}" ]; then
+ echo "(export TEST_INTERACTIVE=1 for an interactive test)"
+ set -- xvfb-run -a -s '-screen 0 1280x1024x24 -noreset' "$@" --dump
+fi
+
+set -- "$@" /usr/share/fonts/opentype/freefont/FreeMono.otf
+
+"$@"
+
+if [ -z "${TEST_INTERACTIVE-}" ]; then
+ file glyph-100.bmp
+fi
+
+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..73b6268
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/libsdl-org/SDL_ttf/issues
+Bug-Submit: https://github.com/libsdl-org/SDL_ttf/issues/new
+Repository: https://github.com/libsdl-org/SDL_ttf.git
+Repository-Browse: https://github.com/libsdl-org/SDL_ttf
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..aa49c03
--- /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_ttf-$2.tar.gz#, \
+ filenamemangle=s#(?:prerelease|preview|release)-?@ANY_VERSION@#SDL3_ttf-$1.tar.gz#, \
+ pgpmode=none, \
+ repack, \
+ repacksuffix=+ds" \
+https://github.com/libsdl-org/SDL_ttf/tags .*/releases/tag/(?:prerelease|preview|release)-?@ANY_VERSION@
diff --git a/debian/watch.devel b/debian/watch.devel
new file mode 100644
index 0000000..aa49c03
--- /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_ttf-$2.tar.gz#, \
+ filenamemangle=s#(?:prerelease|preview|release)-?@ANY_VERSION@#SDL3_ttf-$1.tar.gz#, \
+ pgpmode=none, \
+ repack, \
+ repacksuffix=+ds" \
+https://github.com/libsdl-org/SDL_ttf/tags .*/releases/tag/(?:prerelease|preview|release)-?@ANY_VERSION@
diff --git a/debian/watch.git b/debian/watch.git
new file mode 100644
index 0000000..c9d274d
--- /dev/null
+++ b/debian/watch.git
@@ -0,0 +1,8 @@
+version=4
+opts="\
+ mode=git, \
+ compression=gzip, \
+ dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)(?:\+(?:dfsg|ds)[0-9]*)//, \
+ pretty=3.1.0+git%cd~%h+ds" \
+https://github.com/libsdl-org/SDL_ttf \
+HEAD
More information about the Neon-commits
mailing list