added the debian folder from the official debian package with small adjustments
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 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3ed18aa
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,212 @@
+ftgl (2.1.3~rc5-6polyextr~oneiric) oneiric; urgency=low
+
+ * Fixed a bug with spaces in the text as reported on http://blog.ulrichard.ch/?p=64
+
+ -- Richard Ulrich <richi@paraeasy.ch> Thu, 26 Jan 2012 21:19:02 +0000
+
+ftgl (2.1.3~rc5-5polyextr~oneiric) oneiric; urgency=low
+
+ * Added build dependency for cmake
+
+ -- Richard Ulrich <richi@paraeasy.ch> Wed, 09 Nov 2011 22:09:02 +0000
+
+ftgl (2.1.3~rc5-4polyextr~oneiric) oneiric; urgency=low
+
+ * Changes for polygon extraction
+
+ -- Richard Ulrich <richi@paraeasy.ch> Wed, 09 Nov 2011 22:09:02 +0000
+
+ftgl (2.1.3~rc5-3ubuntu1) oneiric; urgency=low
+
+ * Build-depend on doxygen-latex. Closes: #616215. LP: #749191.
+
+ -- Matthias Klose <doko@ubuntu.com> Thu, 01 Sep 2011 22:09:02 +0000
+
+ftgl (2.1.3~rc5-3) unstable; urgency=low
+
+ * Change package format to 3.0 (quilt).
+ * debian/control:
+ + epstopdf was moved to texlive-font-utils, build-depending on it
+ instead of texlive-extra-utils (Closes: #562315).
+ + Set policy to 3.8.3.
+ + Add ${misc:Depends} to all package dependencies.
+
+ -- Sam Hocevar <sho@debian.org> Sun, 03 Jan 2010 14:00:17 +0100
+
+ftgl (2.1.3~rc5-2) unstable; urgency=low
+
+ * debian/rules:
+ + Make the package parralel-build safe. Thanks to Paul Wise for the hint.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 16 Jun 2008 14:32:00 +0000
+
+ftgl (2.1.3~rc5-1) unstable; urgency=low
+
+ * New development snapshot.
+ * API is now stable, uploading to unstable.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 15 Jun 2008 17:12:15 +0200
+
+ftgl (2.1.3~rc4-1) experimental; urgency=low
+
+ * New development snapshot.
+ * debian/control:
+ + Set policy to 3.8.0.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 09 Jun 2008 11:56:12 +0000
+
+ftgl (2.1.3~rc3-2) experimental; urgency=low
+
+ * debian/control:
+ + Build-depend on texlive-latex-recommended and texlive-fonts-recommended
+ so that a4.sty, a4wide.sty and the appropriate fonts are present.
+ + Build-depend on ghostscript because texlive-extra-utils only recommends
+ it (despite shipping eps2pdf).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 12 May 2008 11:55:15 +0000
+
+ftgl (2.1.3~rc3-1) experimental; urgency=low
+
+ * New development snapshot.
+ * debian/control: build-depend on doxygen, imagemagick, texlive-latex-base,
+ texlive-base-bin, texlive-extra-utils to build documentation
+ (Closes: #480048).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 11 May 2008 22:27:30 +0000
+
+ftgl (2.1.3~rc2-1) experimental; urgency=low
+
+ * New development snapshot. Fixes a few upstream bugs.
+
+ * debian/control: build-depend on libcppunit-dev to fix an FTBFS
+ (Closes: #479356).
+ * debian/libftgl-dev.examples: add the simple demos as examples.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 07 May 2008 07:24:51 +0000
+
+ftgl (2.1.3~rc1-1) experimental; urgency=low
+
+ * Snapshot from upstream's development tree, targeted at experimental so
+ that people can try dynamically linking with libftgl.
+ * Ship full HTML documentation (Closes: #257155).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 30 Apr 2008 12:15:11 +0000
+
+ftgl (2.1.2-4) unstable; urgency=low
+
+ * New maintainer (Closes: #471983).
+
+ * debian/control:
+ + Do not build-depend on g++ (Closes: #268594).
+ + Changed 'libglut3-dev | glutg3-dev' build-dependency to freeglut3-dev
+ (Closes: #394492).
+ + Uncapitalised short description.
+ + Set policy to 3.7.3.
+ + Add Vcs control fields.
+
+ * debian/rules:
+ + Use debian/compat instead of DH_COMPAT.
+ + Use quilt for patch management.
+
+ * debian/patches/000_package_version.diff:
+ + New patch. Fix the version string in .pc files (Closes: #274400).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sat, 12 Apr 2008 09:00:51 +0000
+
+ftgl (2.1.2-3) unstable; urgency=low
+
+ * src/FTVectoriser.cpp, unix/config.guess, unix/config.sub: patch and
+ update for GNU/kFreeBSD. Thanks Petr Salinger. closes: bug#340720
+ * include/FTTextureGlyph.h: funny bug. Remove class qualification
+ from static method declaration. Thanks Martin Michlmayr. closes:
+ bug#355744
+ * unix/ftgl.pc.in: hack to include -I/usr/include/FTGL in the include
+ flags. Thanks Jonathan Brandmeyer. closes: bug#257660
+ * debian/control: {build}-depend on libGLU.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Fri, 28 Apr 2006 11:44:43 -0600
+
+ftgl (2.1.2-2) unstable; urgency=low
+
+ * debian/control: (build-)?depend on xlibmesa-gl-dev | libgl-dev.
+ Thanks Matthias. Closes: bug#311282.
+ * debian/rules: build a _pic library, just like the X packages do.
+ (closes: bug# 315330)
+ * Please note that the previous change means that the packages that
+ build shared libraries which include FTGL are _broken_ now. These
+ include gem and vtk, perhaps blender.
+ * debian/control: change libstdc++-dev dependency to g++. g++ is an
+ actual package, libstdc++-dev is a virtual one.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Sat, 02 Jul 2005 18:39:41 -0600
+
+ftgl (2.1.2-1) unstable; urgency=low
+
+ * New Upstream Release.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Mon, 20 Dec 2004 21:07:44 -0600
+
+ftgl (2.0.9-1) unstable; urgency=low
+
+ * New upstream release
+ * Ack NMU (closes: bug#226956)
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Mon, 17 May 2004 15:43:09 -0600
+
+ftgl (2.0.7-1.1) unstable; urgency=low
+
+ * NMU: recompiled with -fPIC, which is needed for building gem
+ (closes: #226956)
+
+ -- Guenter Geiger (Debian/GNU) <geiger@debian.org> Sun, 29 Feb 2004 17:38:49 +0100
+
+ftgl (2.0.7-1) unstable; urgency=low
+
+ * New Upstream Release.
+ * Fix a couple of build problems (I wonder how this went unnoticed) (closes:
+ bug#215000)
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Wed, 19 Nov 2003 18:34:10 -0600
+
+ftgl (2.0.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * First upload.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Thu, 17 Jul 2003 21:09:05 +0200
+
+ftgl (1.4-2) unstable; urgency=low
+
+ * Put headers in /usr/include
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Wed, 01 Jan 2003 15:50:59 +0100
+
+ftgl (1.4-1) unstable; urgency=low
+
+ * New Upstream Release.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Wed, 25 Dec 2002 01:07:17 +0100
+
+ftgl (1.3.1-1) unstable; urgency=low
+
+ * New Upstream Release.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Thu, 14 Feb 2002 09:58:12 +0100
+
+ftgl (1.2-1) unstable; urgency=low
+
+ * New Upstream Release.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Wed, 7 Nov 2001 11:01:25 +0100
+
+ftgl (1.1-1) unstable; urgency=low
+
+ * New Upstream Release.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Wed, 31 Oct 2001 15:54:30 +0100
+
+ftgl (1.0.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Marcelo E. Magallon <mmagallo@debian.org> Sun, 28 Oct 2001 19:26:54 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..924277e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+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
+
+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.1.3~rc1)
+Replaces: ftgl-dev (<< 2.1.3~rc1)
+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:
+ as polygons, outlines, bitmaps and textures.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libftgl.
+
+Package: libftgl2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc: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/copyright b/debian/copyright
new file mode 100644
index 0000000..9250931
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Sam Hocevar <sam@zoy.org> on Wed, 30 Apr
+2008 12:29:11 +0000.
+
+It was downloaded from <http://ftgl.sf.net/>.
+
+Copyright (c) 2001-2004 Henry Maddocks <henryj@paradise.net.nz>
+ 2008 Sam Hocevar <sam@zoy.org>
+ 2008 Éric Beets <ericbeets@free.fr>
+
+Licensing information:
+
+ 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.
+
diff --git a/debian/doc-base.package b/debian/doc-base.package
new file mode 100644
index 0000000..56b602a
--- /dev/null
+++ b/debian/doc-base.package
@@ -0,0 +1,9 @@
+Document: ftgl
+Title: FTGL developer documentation
+Author: henryj@paradise.net.nz
+Abstract: This manual describes the FTGL API
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libftgl-dev/html/index.html
+Files: /usr/share/doc/libftgl-dev/html/*.html
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..ba6c8ac
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,5 @@
+AUTHORS
+BUGS
+NEWS
+README
+TODO
diff --git a/debian/libftgl-dev.dirs b/debian/libftgl-dev.dirs
new file mode 100644
index 0000000..101d5aa
--- /dev/null
+++ b/debian/libftgl-dev.dirs
@@ -0,0 +1,3 @@
+usr/lib
+usr/include/ftgl
+usr/share/doc/ftgl-dev/html
diff --git a/debian/libftgl-dev.examples b/debian/libftgl-dev.examples
new file mode 100644
index 0000000..1acb80a
--- /dev/null
+++ b/debian/libftgl-dev.examples
@@ -0,0 +1,2 @@
+demo/simple.cpp
+demo/c-demo.c
diff --git a/debian/libftgl-dev.install b/debian/libftgl-dev.install
new file mode 100644
index 0000000..6bd1909
--- /dev/null
+++ b/debian/libftgl-dev.install
@@ -0,0 +1,7 @@
+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
diff --git a/debian/libftgl2.dirs b/debian/libftgl2.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libftgl2.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libftgl2.install b/debian/libftgl2.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libftgl2.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f86b61a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,91 @@
+#!/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
+
+CFLAGS = -Wall -g
+
+DTMPDIR = $(CURDIR)/debian/tmp
+
+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
+# ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+ touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+# $(MAKE) CFLAGS="$(CFLAGS)"
+ mkdir -p $(CURDIR)/build-debian
+ (cd $(CURDIR)/build-debian; cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=1 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:STRING=Release ..)
+
+ (cd $(CURDIR)/build-debian; $(MAKE) )
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ rm -rf $(CURDIR)/build-debian
+ [ ! -f Makefile ] || $(MAKE) distclean
+ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ (cd $(CURDIR)/build-debian; $(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.1.3~rc5)'
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure