sync debian/ directory from official Debian package
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
diff --git a/debian/changelog b/debian/changelog
index 92db0ca..f59fa3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,50 @@
-ftgl (2.3.0) unstable; urgency=medium
+ftgl (2.3.0-1) experimental; urgency=medium
- * New Upstream Release.
- (Closes: #531489, #589601, #742469, #760571).
+ * New upstream release
+ - Closes: #531489, #589601, #742469, #760571
+ - drop patch patch-ftglgetlayoutbbox-typo.diff, applied upstream
+ - edit patch fix-pdf-generation to not include Makefile.in, which does
+ not exist in this new release, and Makefile.am which changed slightly
+ - refresh patch patch-relibtoolize-prep.diff
+ - add enable-docs.patch to build docs by default
+ * Add substitute-freetype-config.patch for new versions of freetype
+ which do not ship freetype-config (Closes: #887712)
+ * Add Build-Depends on pkg-config
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sat, 20 Oct 2018 15:54:55 +0200
+
+ftgl (2.1.3~rc5-5) unstable; urgency=medium
+
+ * Add myself to Uploaders
+ * Bump Policy Standards-Version to 4.2.1
+ * Update Vcs-* URLs
+ * Add Homepage field
+ * Drop Conflicts/Replaces on ancient versions of ftgl-dev
+ * Drop unnecessary .dirs files
+ * Switch to debhelper compat level v11 (from 5)
+ - revamp d/rules, reducing it significantly
+ * Add "Rules-Requires-Root: no"
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sun, 30 Sep 2018 17:30:00 +0200
+
+ftgl (2.1.3~rc5-4+nmu1.2) unstable; urgency=medium
+
+ [ Manuel A. Fernandez Montecelo ]
+ * Non-maintainer upload.
+ * Drop transitional package ftgl-dev (Closes: #878529)
+
+ [ Helmut Grohne ]
+ * Fix FTCBFS: Let dh_auto_configure pass cross flags (Closes: #848949)
- -- Frank Heckenbach <f.heckenbach@fh-soft.de> Sun, 14 Oct 2018 21:17:59 +0200
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Wed, 29 Nov 2017 01:08:59 +0100
+
+ftgl (2.1.3~rc5-4+nmu1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add build-arch and build-indep targets, patch by Santiago Vila (Closes:
+ #821983).
+
+ -- Andrey Rahmatullin <wrar@debian.org> Sat, 26 Nov 2016 22:25:04 +0500
ftgl (2.1.3~rc5-5polyextr~xenial) xenial; urgency=medium
@@ -11,6 +52,18 @@ ftgl (2.1.3~rc5-5polyextr~xenial) xenial; urgency=medium
-- Richard Ulrich <richi@paraeasy.ch> Wed, 19 Oct 2016 20:38:43 +0200
+ftgl (2.1.3~rc5-4+nmu1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix FTBFS at generation of pdf doc (Closes: #718100).
+ * Switch to multiarch (Closes: #734159), but don't mark the -dev package
+ as such, as it was not tested as such.
+ * Include debian/watch from Nick Black (Closes: #697863).
+ * Update libtool at build time using dh-autoreconf, in order to fix a
+ build failure on x32 (Daniel Schepler, Closes: #701732).
+
+ -- Yann Dirson <dirson@debian.org> Sun, 05 Jan 2014 17:20:22 +0100
+
ftgl (2.1.3~rc5-10polyextr~quantal) quantal; urgency=low
* Added the cmake finder to the debian/install file
@@ -41,6 +94,19 @@ ftgl (2.1.3~rc5-6polyextr~precise) precise; urgency=low
-- Richard Ulrich <richi@paraeasy.ch> Thu, 26 Jan 2012 21:19:02 +0000
+ftgl (2.1.3~rc5-4) unstable; urgency=low
+
+ * drop doxygen and texlive-* (except texlive-fonts-recommended) and
+ add doxygen-latex as a build dependency (Closes: #616215), patch
+ courtesy of Mònica Ramírez Arceda <monica@probeta.net>.
+ * debian/rules: add required libraries to GLUT_LIBS to build with
+ binutils-gold (Closes: #554413).
+ * debian/patches/patch-ftglgetlayoutbbox-typo.diff: fix a typo in the
+ C bindings, courtesy of Wesley Hirsch (Closes: #580451).
+ * Also, I don’t want this package to be orphaned! (Closes: #648650).
+
+ -- Sam Hocevar <sho@debian.org> Sat, 26 Nov 2011 11:02:46 +0100
+
ftgl (2.1.3~rc5-5polyextr~precise) precise; urgency=low
* Added build dependency for cmake
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..b4de394 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+11
diff --git a/debian/control b/debian/control
index 29b225b..11ea4f3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,15 +2,33 @@ Source: ftgl
Section: libs
Priority: optional
Maintainer: Sam Hocevar <sho@debian.org>
-Build-Depends: debhelper (>= 5.0), quilt, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libfreetype6-dev (>> 2.0.9), freeglut3-dev, libcppunit-dev, doxygen, imagemagick, texlive-latex-base, texlive-base-bin, texlive-font-utils, texlive-latex-recommended, texlive-fonts-recommended, ghostscript, cmake
-Standards-Version: 3.8.3
+Uploaders: Manuel A. Fernandez Montecelo <mafm@debian.org>
+Build-Depends: debhelper (>= 11~),
+ freeglut3-dev,
+ libgl1-mesa-dev | libgl-dev,
+ libglu1-mesa-dev | libglu-dev,
+ libfreetype6-dev (>> 2.0.9),
+ libcppunit-dev,
+ doxygen-latex,
+ ghostscript,
+ imagemagick,
+ pkg-config,
+ texlive-fonts-recommended,
+Standards-Version: 4.2.1
+Homepage: https://sourceforge.net/projects/ftgl/
+Vcs-Git: https://salsa.debian.org/ftgl-team/ftgl.git
+Vcs-Browser: https://salsa.debian.org/ftgl-team/ftgl
+Rules-Requires-Root: no
Package: libftgl-dev
Section: libdevel
Architecture: any
-Depends: libftgl2 (= ${binary:Version}), libfreetype6-dev (>> 2.0.9), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, ${shlibs:Depends}, ${misc:Depends}
-Conflicts: ftgl-dev (<< 2.3.0)
-Replaces: ftgl-dev (<< 2.3.0)
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libftgl2 (= ${binary:Version}),
+ libfreetype6-dev (>> 2.0.9),
+ libgl1-mesa-dev | libgl-dev,
+ libglu1-mesa-dev | libglu-dev,
Description: development files for libftgl
FTGL binds OpenGL and FreeType together in order to offer and easy to use
and flexible text rendering library. It offers several rendering modes:
@@ -20,21 +38,14 @@ Description: development files for libftgl
compile applications or shared objects that use libftgl.
Package: libftgl2
-Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+Pre-Depends: ${misc:Pre-Depends}
Description: library to render text in OpenGL using FreeType
FTGL binds OpenGL and FreeType together in order to offer and easy to use
and flexible text rendering library. It offers several rendering modes:
as polygons, outlines, bitmaps and textures.
.
This package contains the shared library for libftgl.
-
-Package: ftgl-dev
-Section: oldlibs
-Architecture: all
-Depends: libftgl-dev, ${misc:Depends}
-Description: transitional dummy package
- This is a transitional dummy package. If nothing depends on it, this
- package can be safely removed.
-
diff --git a/debian/libftgl-dev.dirs b/debian/libftgl-dev.dirs
deleted file mode 100644
index 101d5aa..0000000
--- a/debian/libftgl-dev.dirs
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/lib
-usr/include/ftgl
-usr/share/doc/ftgl-dev/html
diff --git a/debian/libftgl-dev.examples b/debian/libftgl-dev.examples
index 1acb80a..0fdcb44 100644
--- a/debian/libftgl-dev.examples
+++ b/debian/libftgl-dev.examples
@@ -1,2 +1,2 @@
-demo/simple.cpp
demo/c-demo.c
+demo/simple.cpp
diff --git a/debian/libftgl-dev.install b/debian/libftgl-dev.install
index 69e1c7e..57e56a0 100644
--- a/debian/libftgl-dev.install
+++ b/debian/libftgl-dev.install
@@ -2,8 +2,6 @@ usr/include
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*.pc
-#usr/share/doc/libftgl-dev/html
-#usr/share/doc/libftgl-dev/ftgl.pdf
-#usr/share/doc/libftgl-dev/*.txt
-#/usr/share/cmake-2.8/Modules/FindFTGL.cmake
-#/usr/lib/cmake/FTGL/*.cmake
+usr/share/doc/ftgl/*.txt usr/share/doc/libftgl-dev
+usr/share/doc/ftgl/ftgl.pdf usr/share/doc/libftgl-dev
+usr/share/doc/ftgl/html usr/share/doc/libftgl-dev
diff --git a/debian/libftgl2.dirs b/debian/libftgl2.dirs
deleted file mode 100644
index 6845771..0000000
--- a/debian/libftgl2.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/debian/rules b/debian/rules
index 13caa26..bb54a13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,94 +1,16 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# Passing hardcoded GLUT_LIBS necessary to link demo programs and tests. GLUT
+# doesn't have pkg-config files or other simple mechanisms.
+GLUT_LIBS := -lglut -lGLU -lGL -lm
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+SHLIBVER := 2.1.3~rc5
-CFLAGS = -Wall -g
+%:
+ dh $@
-DTMPDIR = $(CURDIR)/debian/tmp
+override_dh_auto_build:
+ dh_auto_build -- GLUT_LIBS="$(GLUT_LIBS)"
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-CFLAGS += -O0
-else
-CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
- dh_autoreconf
- ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
- touch $@
-
-build-arch: build
-build-indep: build
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
- $(MAKE) CFLAGS="$(CFLAGS)" GLUT_LIBS="$(GLUT_LIBS) -lglut -lGLU -lGL -lm"
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- dh_autoreconf_clean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) install DESTDIR=$(DTMPDIR)
-# mv debian/tmp/usr/share/doc/ftgl debian/tmp/usr/share/doc/libftgl-dev
- dh_install --list-missing --sourcedir=debian/tmp
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -i ChangeLog
- dh_installdocs -i
- dh_installexamples -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -a ChangeLog
- dh_installdocs -a
- dh_installexamples -a
-# dh_installdebconf -a
-# dh_installmenu -a
-# dh_installinfo -a
- dh_installman -a
-# dh_undocumented -a
- dh_link -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
- dh_makeshlibs -p libftgl2 -V 'libftgl2 (>= 2.3.0)'
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure
+override_dh_makeshlibs:
+ dh_makeshlibs -p libftgl2 -V "libftgl2 (>= $(SHLIBVER))"
diff --git a/debian/source/format b/debian/source/format
index 89ae9db..163aaf8 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (native)
+3.0 (quilt)