debian/0000775000000000000000000000000012304146215007166 5ustar debian/rules0000775000000000000000000000122412304144555010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND=-Wl,-Bsymbolic-functions ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) export DEB_CFLAGS_MAINT_APPEND=-O3 endif %: dh $@ --with autoreconf # This disable test when building the package. The rationale is that the # tests program are interactive and need a X11 session which is not the # case for autobuilder systems override_dh_auto_test: override_dh_installdocs: dh_installdocs --link-doc=libdrawtk0 override_dh_strip: dh_strip --dbg-package=libdrawtk0-dbg override_dh_compress: dh_compress --exclude=examples debian/copyright0000664000000000000000000001046712304144555011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: drawtk Upstream-Contact: Nicolas Bourdaud Source: http://cnbisrv02.epfl.ch/packages/drawtk Files: * Copyright: 2009-2012, Ecole Polytechnique Federale de Lausanne (EPFL) License: LGPL-3+ Files: debian/* Copyright: 2011-2012, Nicolas Bourdaud 2011, Michael Hanke License: LGPL-3+ Files: doc/* tests/* Copyright: 2009-2012, Ecole Polytechnique Federale de Lausanne (EPFL) License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. Files: tests/navy.png Copyright: 2007, Kasuga Comment: http://commons.wikimedia.org/wiki/File:Wikipe-tan_in_navy_uniform2.png License: LGPL-2.1+ This library 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. . This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2.1 and version 3 of the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. Files: m4/pkg-custom.m4 Copyright: 2004, Scott James Remnant . 2010, Nicolas Bourdaud License: GPL-2+ with special exception This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. License: LGPL-3+ 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 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in `/usr/share/common-licenses/LGPL-3'. debian/changelog0000664000000000000000000000526712304145777011066 0ustar drawtk (2.0-2ubuntu1) trusty; urgency=medium * Fix FTBFS including freetype (LP: #1277213): - new patch fix-freetype-includes.patch -- Leo Iannacone Thu, 27 Feb 2014 00:39:56 +0100 drawtk (2.0-2) unstable; urgency=low * Add bugfix: fix-duplicated-font.patch -- Nicolas Bourdaud Thu, 14 Jun 2012 15:03:39 +0200 drawtk (2.0-1) unstable; urgency=low * New upstream: drawtk-2.0 * Use of dh_autoreconf * Make Vcs-* fields in debian/control points Alioth repository * Install NEWS and AUTHORS files in libdrawtk0 docs * install the examples uncompressed in the examples subfolder * Bump debhelper compatibility level to 9. * Add multiarch support. * Update debian/copyright. * Bump Debian policy version to 3.9.3 -- no changes. -- Nicolas Bourdaud Wed, 16 May 2012 19:36:38 +0200 drawtk (1.0b-1) unstable; urgency=low [ Michael Hanke ] * Switch to source package format 3.0 (quilt). * Only provide an unversioned libdrawtk-dev package. * DEP5 compliant debian/copyright. * Bump Standards-version to 3.9.2 -- no changes necessary. * Remove unncessary build-dependency on libc6-dev (build-essential). * Tighten build-dependency on debhelper to >= 7.0.50~, due to _override rules. [ Nicolas Bourdaud ] * Add debian/watch (and specify upstream source) * Fix debian/copyright * Add Vcs-Git and Vcs-Browser field in debian/control * Add -dbg package * install docs or examples in the doc folder of libdrawtk0, symlink the other doc folder to it. NEWS, AUTHORS and README are now installed. * Use dpkg-buildflags to set compilation flags * Upload sponsored by Michael Hanke * Initial release. (Closes: #646948) -- Nicolas Bourdaud Fri, 04 Nov 2011 12:01:43 +0100 drawtk (1.0-1) lucid; urgency=low * Disable test when building debian packages * Force -O3 compilation flag when noopt is not set -- Nicolas Bourdaud Tue, 18 Oct 2011 14:16:19 +0200 drawtk (1.0-0) lucid; urgency=low * Relicence into LGPL3+ * Adds support for video * Fix font pattern matching * new example: errmon.c * Add symbol file * Use debhelper instead of cdbs for creating the debian package * Use hash for faster texture lookup -- Nicolas Bourdaud Mon, 8 August 2011 09:44:00 +0200 drawtk (0.0-0) lucid; urgency=low * Remove depency_libs from libtool files (*.la). -- Nicolas Bourdaud Fri, 18 May 2011 16:11:00 +0200 drawtk (0.0) unstable; urgency=low * Initial Release. -- Nicolas Bourdaud Fri, 11 May 2011 13:31:00 +0200 debian/libdrawtk0.docs0000664000000000000000000000001512304144555012104 0ustar NEWS AUTHORS debian/symbols0000664000000000000000000000257012304144555010612 0ustar libdrawtk.so.0 libdrawtk0 #MINVER# dtk_addtime@Base 0.0 dtk_bgcolor@Base 0.0 dtk_clear_screen@Base 0.0 dtk_close@Base 0.0 dtk_create_arrow@Base 0.0 dtk_create_circle@Base 0.0 dtk_create_circle_str@Base 2.0 dtk_create_complex_shape@Base 0.0 dtk_create_composite_shape@Base 0.0 dtk_create_cross@Base 0.0 dtk_create_image@Base 0.0 dtk_create_line@Base 0.0 dtk_create_rectangle_2p@Base 0.0 dtk_create_rectangle_hw@Base 0.0 dtk_create_shape@Base 0.0 dtk_create_string@Base 0.0 dtk_create_triangle@Base 0.0 dtk_create_window@Base 0.0 dtk_destroy_font@Base 0.0 dtk_destroy_shape@Base 0.0 dtk_destroy_texture@Base 0.0 dtk_difftime_ms@Base 0.0 dtk_difftime_ns@Base 0.0 dtk_difftime_s@Base 0.0 dtk_difftime_us@Base 0.0 dtk_draw_shape@Base 0.0 dtk_get_color@Base 0.0 dtk_gettime@Base 0.0 dtk_load_font@Base 0.0 dtk_load_image@Base 0.0 dtk_load_video_file@Base 1.0 dtk_load_video_gst@Base 1.0 dtk_load_video_tcp@Base 1.0 dtk_load_video_test@Base 1.0 dtk_load_video_udp@Base 1.0 dtk_make_current_window@Base 0.0 dtk_move_shape@Base 0.0 dtk_nanosleep@Base 0.0 dtk_process_events@Base 0.0 dtk_relmove_shape@Base 0.0 dtk_relrotate_shape@Base 0.0 dtk_rotate_shape@Base 0.0 dtk_set_event_handler@Base 0.0 dtk_setcolor_shape@Base 2.0 dtk_texture_getsize@Base 0.0 dtk_update_screen@Base 0.0 dtk_video_exec@Base 1.0 dtk_video_getstate@Base 1.0 dtk_window_getsize@Base 0.0 debian/libdrawtk-dev.install0000664000000000000000000000012412304144555013317 0ustar /usr/include/* /usr/lib/*/libdrawtk.so /usr/lib/*/pkgconfig/* /usr/share/man/man3/* debian/libdrawtk0.install0000664000000000000000000000003212304144555012621 0ustar /usr/lib/*/libdrawtk.so.* debian/watch0000664000000000000000000000023412304144555010223 0ustar # format version number, currently 3; this line is compulsory! version=3 http://cnbisrv02.epfl.ch/packages/drawtk/drawtk-(\d+\.\d+[[:lower:]]?)\.tar\.bz2 debian/libdrawtk-dev.docs0000664000000000000000000000005112304144555012600 0ustar debian/tmp/usr/share/doc/drawtk/examples debian/compat0000664000000000000000000000000212304144555010371 0ustar 9 debian/patches/0000775000000000000000000000000012304146214010614 5ustar debian/patches/maverick-dsc-patch0000777000000000000000000000000012304146214017025 2backport.patchustar debian/patches/backport.patch0000664000000000000000000000375512304144555013462 0ustar --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +7 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Section: libs Priority: extra Maintainer: Nicolas Bourdaud -Build-Depends: debhelper (>= 9), dh-autoreconf, +Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, libsdl1.2-dev, libfreeimage-dev, libfreetype6-dev, libfontconfig-dev, libgl1-mesa-dev | libgl-dev, libgstreamer-plugins-base0.10-dev Standards-Version: 3.9.3 @@ -12,8 +12,6 @@ Package: libdrawtk0 Architecture: any -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to simple and efficient 2D drawings This package provides an C library to perform efficient 2D drawings. The @@ -24,7 +22,6 @@ Package: libdrawtk0-dbg Section: debug Architecture: any -Multi-Arch: same Depends: libdrawtk0 (= ${binary:Version}), ${misc:Depends} Description: Library to simple and efficient 2D drawings (debugging symbols) This package provides an C library to perform efficient 2D drawings. The @@ -37,7 +34,6 @@ Package: libdrawtk-dev Section: libdevel Architecture: any -Multi-Arch: same Depends: libdrawtk0 (= ${binary:Version}), ${misc:Depends} Description: Library to simple and efficient 2D drawings (development files) This package provides an C library to perform efficient 2D drawings. The --- a/debian/libdrawtk-dev.install +++ b/debian/libdrawtk-dev.install @@ -1,4 +1,4 @@ /usr/include/* -/usr/lib/*/libdrawtk.so -/usr/lib/*/pkgconfig/* +/usr/lib/libdrawtk.so +/usr/lib/pkgconfig/* /usr/share/man/man3/* --- a/debian/libdrawtk0.install +++ b/debian/libdrawtk0.install @@ -1 +1 @@ -/usr/lib/*/libdrawtk.so.* +/usr/lib/libdrawtk.so.* --- a/debian/rules +++ b/debian/rules @@ -4,9 +4,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export DEB_LDFLAGS_MAINT_APPEND=-Wl,-Bsymbolic-functions ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - export DEB_CFLAGS_MAINT_APPEND=-O3 + export CFLAGS+=-O3 endif debian/patches/squeeze-dsc-patch0000777000000000000000000000000012304146214016705 2backport.patchustar debian/patches/fix-duplicated-font.patch0000664000000000000000000000143512304144555015514 0ustar Description: bugfix segmentation fault when using duplicated font If a font object was created with the same font description as another font created previously, the new duplicated font was not properly created: NULL was returned. This patch fixes the duplicated font creation. Origin: upstream, http://cnbisrv02.epfl.ch/cgit/drawtk.git/commit/?id=573b3b Author: Nicolas Bourdaud Last-Update: 2012-06-14 Applied-Upstream: yes --- a/src/fonttex.c +++ b/src/fonttex.c @@ -256,7 +256,8 @@ // Load the font bitmap pthread_mutex_lock(&(tex->lock)); - if (!tex->data) { + font = tex->aux; + if (!font) { if ( ((font = malloc(sizeof(struct dtk_font))) == NULL) || alloc_image_data(tex, MAPWIDTH, MAPHEIGHT, FONT_MXLVL, 8) ) debian/patches/natty-dsc-patch0000777000000000000000000000000012304146214016363 2backport.patchustar debian/patches/lucid-dsc-patch0000777000000000000000000000000012304146214016324 2backport.patchustar debian/patches/oneiric-dsc-patch0000777000000000000000000000000012304146214016654 2backport.patchustar debian/patches/fix-freetype-includes.patch0000664000000000000000000000121412304145777016063 0ustar Description: Fix build failure with freetype 2.5.1 Author: Juhani Numminen Bug-Debian: http://bugs.debian.org/733365 Bug-Ubuntu: https://launchpad.net/bugs/1277213 --- src/fonttex.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/src/fonttex.c +++ b/src/fonttex.c @@ -21,10 +21,10 @@ #endif #include -#include -#include -#include -#include +#include FT_FREETYPE_H +#include FT_GLYPH_H +#include FT_OUTLINE_H +#include FT_TRIGONOMETRY_H #include #include debian/patches/series0000664000000000000000000000006612304145777012050 0ustar fix-duplicated-font.patch fix-freetype-includes.patch debian/control0000664000000000000000000000414112304145777010605 0ustar Source: drawtk Section: libs Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Nicolas Bourdaud Build-Depends: debhelper (>= 9), dh-autoreconf, libsdl1.2-dev, libfreeimage-dev, libfreetype6-dev, libfontconfig-dev, libgl1-mesa-dev | libgl-dev, libgstreamer-plugins-base0.10-dev Standards-Version: 3.9.3 Vcs-Git: git://anonscm.debian.org/pkg-exppsy/drawtk.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-exppsy/drawtk.git Homepage: http://cnbi.epfl.ch/software/drawtk.html Package: libdrawtk0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to simple and efficient 2D drawings This package provides an C library to perform efficient 2D drawings. The drawing is done by OpenGL allowing fast and nice rendering of basic shapes, text, images and videos. It has been implemented as a thin layer that hides the complexity of the OpenGL library. Package: libdrawtk0-dbg Section: debug Architecture: any Multi-Arch: same Depends: libdrawtk0 (= ${binary:Version}), ${misc:Depends} Description: Library to simple and efficient 2D drawings (debugging symbols) This package provides an C library to perform efficient 2D drawings. The drawing is done by OpenGL allowing fast and nice rendering of basic shapes, text, images and videos. It has been implemented as a thin layer that hides the complexity of the OpenGL library. . This package provides the debugging symbols for the library. Package: libdrawtk-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libdrawtk0 (= ${binary:Version}), ${misc:Depends} Description: Library to simple and efficient 2D drawings (development files) This package provides an C library to perform efficient 2D drawings. The drawing is done by OpenGL allowing fast and nice rendering of basic shapes, text, images and videos. It has been implemented as a thin layer that hides the complexity of the OpenGL library. . This package contains the files needed to compile and link programs which use drawtk. debian/source/0000775000000000000000000000000012304146214010465 5ustar debian/source/options0000664000000000000000000000003612304144555012110 0ustar extend-diff-ignore = ".dummy" debian/source/format0000664000000000000000000000001412304144555011701 0ustar 3.0 (quilt)