[Pkg-sdl-commits] [libsdl2-ttf] 02/02: Include debian/ dir for the initial release

Manuel A. Fernandez Montecelo mafm at alioth.debian.org
Tue Aug 13 22:03:01 UTC 2013


This is an automated email from the git hooks/post-receive script.

mafm pushed a commit to branch master
in repository libsdl2-ttf.

commit e49d54a03a2d1221862e01fea66aa1f14be66e30
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Tue Aug 13 22:58:31 2013 +0100

    Include debian/ dir for the initial release
---
 debian/changelog                             |    5 +++
 debian/compat                                |    1 +
 debian/control                               |   50 ++++++++++++++++++++++++++
 debian/copyright                             |   32 +++++++++++++++++
 debian/gbp.conf                              |    7 ++++
 debian/libsdl2-ttf-2.0-0.docs                |    1 +
 debian/libsdl2-ttf-2.0-0.install             |    1 +
 debian/libsdl2-ttf-dev.docs                  |    1 +
 debian/libsdl2-ttf-dev.examples              |    2 ++
 debian/libsdl2-ttf-dev.install               |    4 +++
 debian/patches/link_libm_ftbfs_binutils-gold |   16 +++++++++
 debian/patches/series                        |    1 +
 debian/rules                                 |   42 ++++++++++++++++++++++
 debian/source/format                         |    1 +
 debian/watch                                 |    3 ++
 15 files changed, 167 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a221b9a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+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 22:59:07 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6e4ba7c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: libsdl2-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>
+Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 9~),
+               dh-autoreconf,
+               libfreetype6-dev,
+               libsdl2-dev (>= 2.0.0)
+Homepage: http://www.libsdl.org/projects/SDL_ttf/
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl2-ttf.git
+Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/libsdl2-ttf.git
+
+
+Package: libsdl2-ttf-2.0-0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: TrueType Font library for Simple DirectMedia Layer 2, libraries
+ Sample library which allows to use TrueType fonts in SDL applications.
+ .
+ This package contains the shared library.
+
+Package: libsdl2-ttf-dbg
+Section: debug
+Architecture: any
+Multi-Arch: same
+Priority: extra
+Depends: ${misc:Depends},
+         libsdl2-ttf-2.0-0 (= ${binary:Version})
+Description: TrueType Font library for Simple DirectMedia Layer 2, debugging
+ Sample library which allows to use TrueType fonts in SDL applications.
+ .
+ This package contains the debugging information for the shared library.
+
+Package: libsdl2-ttf-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+         libc6-dev,
+         libsdl2-ttf-2.0-0 (= ${binary:Version}),
+         libsdl2-dev (>= 2.0.0)
+Description: TrueType Font library for Simple DirectMedia Layer 2, development files
+ Sample library which allows to use TrueType fonts in SDL applications.
+ .
+ This package contains the development files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..455b850
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: SDL_ttf
+Upstream-Contact: Sam Lantinga <slouken at libsdl.org>
+Source: http://www.libsdl.org/projects/SDL_ttf/
+
+
+Files: *
+Copyright: 2001-2013 Sam Lantinga <slouken at libsdl.org>
+License: zlib/libpng
+
+
+Files: debian/*
+Copyright: 2012-2013, Manuel A. Fernandez Montecelo <mafm at debian.org>
+License: zlib/libpng
+
+
+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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..9db857e
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+[git-import-orig]
+filter = [ 'debian', 'external', 'VisualC', 'Xcode', 'Xcode-iOS' ]
+filter-pristine-tar = True
diff --git a/debian/libsdl2-ttf-2.0-0.docs b/debian/libsdl2-ttf-2.0-0.docs
new file mode 100644
index 0000000..71dfd5b
--- /dev/null
+++ b/debian/libsdl2-ttf-2.0-0.docs
@@ -0,0 +1 @@
+README.txt
diff --git a/debian/libsdl2-ttf-2.0-0.install b/debian/libsdl2-ttf-2.0-0.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libsdl2-ttf-2.0-0.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/libsdl2-ttf-dev.docs b/debian/libsdl2-ttf-dev.docs
new file mode 100644
index 0000000..71dfd5b
--- /dev/null
+++ b/debian/libsdl2-ttf-dev.docs
@@ -0,0 +1 @@
+README.txt
diff --git a/debian/libsdl2-ttf-dev.examples b/debian/libsdl2-ttf-dev.examples
new file mode 100644
index 0000000..15c3c04
--- /dev/null
+++ b/debian/libsdl2-ttf-dev.examples
@@ -0,0 +1,2 @@
+glfont.c
+showfont.c
diff --git a/debian/libsdl2-ttf-dev.install b/debian/libsdl2-ttf-dev.install
new file mode 100644
index 0000000..d05ca2e
--- /dev/null
+++ b/debian/libsdl2-ttf-dev.install
@@ -0,0 +1,4 @@
+usr/include
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig
diff --git a/debian/patches/link_libm_ftbfs_binutils-gold b/debian/patches/link_libm_ftbfs_binutils-gold
new file mode 100644
index 0000000..2c72079
--- /dev/null
+++ b/debian/patches/link_libm_ftbfs_binutils-gold
@@ -0,0 +1,16 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -36,6 +36,13 @@
+ 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ endif
+ 
++# Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
++#
++# 20120127
++# Fix for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556340
++# FTBFS with binutils-gold
++libSDL_ttf_la_LDFLAGS += -lm
++
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = SDL2_ttf.pc
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fab08e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+link_libm_ftbfs_binutils-gold
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f615a15
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+
+export DEB_CFLAGS_MAINT_APPEND  = -pipe -Wall
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+SHLIBVER = 2.0.0
+
+
+%:
+	dh $@ --with autoreconf --parallel
+
+override_dh_autoreconf:
+	AUTOMAKE="automake --foreign" dh_autoreconf --as-needed ./autogen.sh
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(confflags)
+
+override_dh_install:
+	dh_install --fail-missing -XlibSDL2_ttf.la
+
+override_dh_installchangelogs:
+	dh_installchangelogs -- CHANGES.txt
+
+override_dh_link:
+        # fix lintian warning dev-pkg-without-shlib-symlink
+	dh_link -plibsdl2-ttf-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_ttf-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_ttf-2.0.so
+	dh_link --remaining-packages
+
+override_dh_compress:
+	dh_compress -Xglfont.c -Xshowfont.c
+
+override_dh_strip:
+	dh_strip --dbg-package=libsdl2-ttf-dbg
+
+override_dh_makeshlibs:
+	dh_makeshlibs -V"libsdl2-ttf-2.0-0 (>= $(SHLIBVER))"
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/watch b/debian/watch
new file mode 100644
index 0000000..8881982
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/.dfsg\d+$// \
+  http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-([\d.]+)\.tar\.(?:gz|bz2|xz|lzma)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2-ttf.git



More information about the pkg-sdl-commits mailing list