SDL_ttf: Removed debian directory

From deef6145fe3a0aea3f99886bc0efb3cddc9d54c7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 11 Jan 2022 11:57:05 -0800
Subject: [PATCH] Removed debian directory

This isn't used directly by any distribution and isn't helpful at this point.
---
 Makefile.am                     |   1 -
 Makefile.in                     |   1 -
 debian/changelog                | 158 --------------------------------
 debian/compat                   |   1 -
 debian/control                  |  40 --------
 debian/copyright                |  39 --------
 debian/docs                     |   1 -
 debian/examples/Makefile        |  17 ----
 debian/libsdl2-ttf-dev.examples |   3 -
 debian/libsdl2-ttf-dev.install  |   4 -
 debian/libsdl2-ttf.install      |   1 -
 debian/rules                    |  21 -----
 debian/source/format            |   1 -
 debian/watch                    |   2 -
 14 files changed, 290 deletions(-)
 delete mode 100644 debian/changelog
 delete mode 100644 debian/compat
 delete mode 100644 debian/control
 delete mode 100644 debian/copyright
 delete mode 100644 debian/docs
 delete mode 100644 debian/examples/Makefile
 delete mode 100644 debian/libsdl2-ttf-dev.examples
 delete mode 100644 debian/libsdl2-ttf-dev.install
 delete mode 100644 debian/libsdl2-ttf.install
 delete mode 100755 debian/rules
 delete mode 100644 debian/source/format
 delete mode 100644 debian/watch

diff --git a/Makefile.am b/Makefile.am
index 8568dd2..663133f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -149,7 +149,6 @@ EXTRA_DIST = CHANGES.txt COPYING.txt README.txt \
 	VisualC			\
 	VisualC-WinRT		\
 	version.rc		\
-	debian			\
 	external		\
 	SDL2_ttf.spec		\
 	SDL2_ttf.spec.in	\
diff --git a/Makefile.in b/Makefile.in
index 35dbab9..3e50b87 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -815,7 +815,6 @@ EXTRA_DIST = CHANGES.txt COPYING.txt README.txt \
 	VisualC			\
 	VisualC-WinRT		\
 	version.rc		\
-	debian			\
 	external		\
 	SDL2_ttf.spec		\
 	SDL2_ttf.spec.in	\
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 7a92bce..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,158 +0,0 @@
-libsdl2-ttf (2.0.18) UNRELEASED; urgency=medium
-
-  * Updated to version 2.0.18
-
- -- Sam Lantinga <slouken@libsdl.org>  Fri, 31 Dec 2021 10:03:03 -0800
-
-libsdl2-ttf (2.0.15) UNRELEASED; urgency=medium
-
-  * Updated to version 2.0.15
-
- -- Sam Lantinga <slouken@libsdl.org>  Fri, 26 Oct 2018 12:05:08 -0800
-
-libsdl2-ttf (2.0.14) UNRELEASED; urgency=medium
-
-  * Updated to version 2.0.14
-
- -- Sam Lantinga <slouken@libsdl.org>  Fri, 29 Jan 2016 12:55:12 -0800
-
-libsdl2-ttf (2.0.13) UNRELEASED; urgency=medium
-
-  * Updated to version 2.0.13
-
- -- Sam Lantinga <slouken@libsdl.org>  Thu, 07 Jan 2016 12:34:06 -0800
-
-libsdl2-ttf (2.0.12) unstable; urgency=low
-
-  * sdl-ttf for SDL2. Initial release.
-
- -- Sam Lantinga <slouken@libsdl.org>  Fri, 15 Feb 2013 13:09:44 -0800
-
-sdl-ttf2.0 (2.0.9-1.1ubuntu1) precise; urgency=low
-
-  * Build for multiarch.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 29 Dec 2011 16:24:00 -0800
-
-sdl-ttf2.0 (2.0.9-1.1) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Explicitly link against libm, fixing FTBFS with --no-undefined.
-    Closes: #556340.
-  * Stop shipping la file. Closes: #631839, 633341.
-
- -- Regis Boudin <regis@debian.org>  Wed, 28 Sep 2011 20:12:07 +0100
-
-sdl-ttf2.0 (2.0.9-1) unstable; urgency=low
-
-  [ Aurelien Jarno ]
-  * debian/control:
-    + Make the package binNMU safe.
-
-  [ Samuel Mimram ]
-  * New upstream release.
-  * Removed no_freetype_internals.dpatch and pixel_mode_mono.dpatch,
-    integrated upstream.
-  * Don't ignore errors when cleaning.
-
- -- Samuel Mimram <smimram@debian.org>  Mon, 23 Jul 2007 14:39:46 +0200
-
-sdl-ttf2.0 (2.0.8-3) unstable; urgency=low
-
-  * Added pixel_mode_mono.dpatch to fix a bug with monochrome bitmaps
-    (thanks Guillaume Cottenceau).
-
- -- Samuel Mimram <smimram@debian.org>  Tue, 22 Aug 2006 17:02:35 +0000
-
-sdl-ttf2.0 (2.0.8-2) unstable; urgency=low
-
-  * Update config.sub and config.guess in order to be able to build on
-    GNU/kFreeBSD, closes: #373147.
-
- -- Samuel Mimram <smimram@debian.org>  Tue, 13 Jun 2006 12:39:37 +0000
-
-sdl-ttf2.0 (2.0.8-1) unstable; urgency=low
-
-  * New upstream release.
-  * Added no_freetype_internals.dpatch in order to avoid using freetype
-    internals (cf. http://www.freetype.org/freetype2/freetype-2.2.0.html),
-    closes: #373108.
-  * Added a watch file.
-  * Updated standards version to 3.7.2, no changes needed.
-
- -- Samuel Mimram <smimram@debian.org>  Mon, 12 Jun 2006 23:04:40 +0000
-
-sdl-ttf2.0 (2.0.7-1) unstable; urgency=low
-
-  * New maintainer.
-  * New upstream release, closes: #318802.
-  * Corrected copyright file, closes: #290203.
-  * Relibtoolized, closes: #269297.
-  * Removed file-opening-fix.dpatch and freetype-fix.dpatch, integrated
-    upstream.
-  * Removed useless call to ldconfig in postinst.
-  * Updated standards version to 3.6.2, no changes needed.
-
- -- Samuel Mimram <smimram@debian.org>  Wed, 23 Nov 2005 22:04:06 +0100
-
-sdl-ttf2.0 (2.0.6-5) unstable; urgency=low
-
-  * debian/control:
-    - Changed Section field of libsdl-ttf2.0-dev from libs to libdevel.
-
- -- Jerome Marant <jerome@debian.org>  Sat, 10 Jan 2004 14:59:22 +0100
-
-sdl-ttf2.0 (2.0.6-4) unstable; urgency=low
-
-  * debian/control:
-    - Bumped Standards-Version to 3.6.1.
-    - Added build-dependency on dpatch.
-  * debian/patches/file-opening-fix.dpatch: new patch providing
-    previous fix from Sam Hocevar.
-  * debian/patches/freetype-fix.dpatch: added patch fixing a build
-    failure with last version of Freetype. Closes: Bug#227015.
-    Thanks Daniel Schepler <schepler@math.berkeley.edu>.
-
- -- Jerome Marant <jerome@debian.org>  Sat, 10 Jan 2004 14:10:04 +0100
-
-sdl-ttf2.0 (2.0.6-3) unstable; urgency=low
-
-  * debian/control:
-    + Set policy to 3.5.10.
-    + Added Sam Hocevar as co-maintainer. 
-  * Backported a fix from HEAD for a crash when opening a font file that
-    does not exist.
-
- -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Sun, 15 Jun 2003 13:15:15 +0200
-
-sdl-ttf2.0 (2.0.6-2) unstable; urgency=low
-
-  * config.{guess,sub}: updated again from versions from
-    autotools-dev. Closes: Bug#183661.
-
- -- Jerome Marant <jerome@debian.org>  Sun,  6 Apr 2003 00:12:06 +0200
-
-sdl-ttf2.0 (2.0.6-1) unstable; urgency=low
-
-  * New upstream release.
-
- -- Jerome Marant <jerome@debian.org>  Thu, 20 Mar 2003 19:39:07 +0100
-
-sdl-ttf2.0 (2.0.5-3) unstable; urgency=low
-
-  * debian/control: changed libsdl-ttf2.0-0 section from devel
-    to libs.
-
- -- Jerome Marant <jerome@debian.org>  Sat,  8 Mar 2003 15:30:56 +0100
-
-sdl-ttf2.0 (2.0.5-2) unstable; urgency=low
-
-  * config.{guess,sub}: updated from versions from autotools-dev.
-
- -- Jerome Marant <jerome@debian.org>  Thu,  6 Mar 2003 21:40:49 +0100
-
-sdl-ttf2.0 (2.0.5-1) unstable; urgency=low
-
-  * Initial Release. Closes: Bug#174871.
-  
- -- Jerome Marant <jerome@debian.org>  Sat,  1 Mar 2003 12:19:52 +0100
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 2c17d8f..0000000
--- a/debian/control
+++ /dev/null
@@ -1,40 +0,0 @@
-Source: libsdl2-ttf
-Section: libs
-Priority: optional
-Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
-Uploaders: Sam Hocevar (Debian packages) <sam+deb@zoy.org>,
-           Sam Lantinga <slouken@libsdl.org>
-Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 8.9.0~),
-               dh-autoreconf,
-               dpkg-dev (>= 1.16.1~),
-               libsdl2-dev (>= 2.0.8),
-               libfreetype6-dev
-Homepage: http://www.libsdl.org/projects/SDL_ttf/
-
-Package: libsdl2-ttf
-Architecture: any
-Multi-Arch: same
-Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends},
-         ${shlibs:Depends}
-Description: TrueType font library for Simple DirectMedia Layer 2.0
- This is a TrueType font library based on FreeType 2. It allows you to use
- TrueType fonts in SDL applications.
- .
- This package contains the shared library.
-
-Package: libsdl2-ttf-dev
-Architecture: any
-Multi-Arch: same
-Section: libdevel
-Depends: ${misc:Depends},
-         libsdl2-ttf (= ${binary:Version}),
-         libc6-dev,
-         libsdl2-dev (>= 2.0.0)
-Description: development files for SDL ttf library (version 2.0)
- SDL_ttf is a sample TrueType font library. It allows you to use
- TrueType fonts in SDL applications.
- .
- This package contains files needed if you wish to use the SDL ttf
- library in your own programs.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index f35e847..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,39 +0,0 @@
-Format: http://dep.debian.net/deps/dep5/
-Upstream-Name: SDL_ttf
-Upstream-Contact: Sam Lantinga <slouken@libsdl.org>
-Source: downloaded from http://www.libsdl.org/projects/SDL_ttf/
-
-Files: *
-Copyright: 2001-2022  Sam Lantinga
-License: zlib/libpng
-
-Files: debian/*
-Copyright: 2003, Jerome Marant <jerome@debian.org>
-License: LGPL-2.1+
-
-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: LGPL-2.1+
- 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.1 of the GNU Lesser
- Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
-
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 71dfd5b..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-README.txt
diff --git a/debian/examples/Makefile b/debian/examples/Makefile
deleted file mode 100644
index 7ec1989..0000000
--- a/debian/examples/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# Makefile for showfont
-
-CC = gcc
-CFLAGS = $(shell sdl2-config --cflags) -Wall -O
-LIBS = $(shell sdl2-config --libs) -lSDL2_ttf
-EXE = showfont #glfont
-
-all: $(EXE)
-
-showfont: showfont.c Makefile
-	$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
-
-glfont: glfont.c Makefile
-	$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
-
-clean:
-	-rm *.o $(EXE)
diff --git a/debian/libsdl2-ttf-dev.examples b/debian/libsdl2-ttf-dev.examples
deleted file mode 100644
index e79038b..0000000
--- a/debian/libsdl2-ttf-dev.examples
+++ /dev/null
@@ -1,3 +0,0 @@
-debian/examples/Makefile
-glfont.c
-showfont.c
diff --git a/debian/libsdl2-ttf-dev.install b/debian/libsdl2-ttf-dev.install
deleted file mode 100644
index d05ca2e..0000000
--- a/debian/libsdl2-ttf-dev.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/include
-usr/lib/*/lib*.a
-usr/lib/*/lib*.so
-usr/lib/*/pkgconfig
diff --git a/debian/libsdl2-ttf.install b/debian/libsdl2-ttf.install
deleted file mode 100644
index 3ddde58..0000000
--- a/debian/libsdl2-ttf.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 1fbe8f2..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
-%:
-	dh $@ --with autoreconf --parallel
-
-override_dh_autoreconf:
-	dh_autoreconf ./autogen.sh
-
-override_dh_auto_configure:
-	dh_auto_configure -- $(confflags)
-
-override_dh_auto_installchangelogs:
-	dh_auto_installchangelogs -- CHANGES
-
-override_dh_compress:
-	dh_compress -Xshowfont.c -Xglfont.c
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 89ae9db..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (native)
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index b816608..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-([0-9\.]*)\.tar\.gz