debian/0000755000000000000000000000000012232733157007173 5ustar debian/docs0000644000000000000000000000000711743235140010036 0ustar readme debian/control0000644000000000000000000000141612232731537010600 0ustar Source: agg Priority: optional Maintainer: Andrea Veri Build-Depends: debhelper (>= 9), autoconf, automake1.11, libsdl1.2-dev, libfreetype6-dev, pkg-config, libtool, libx11-dev Standards-Version: 3.9.3 Section: libs Homepage: http://www.antigrain.com Package: libagg-dev Section: libdevel Conflicts: libagg23-dev Architecture: any Depends: ${misc:Depends} Description: AntiGrain Geometry graphical toolkit (development files) Anti-Grain Geometry (AGG) is a general purpose graphical toolkit written completely in standard and platform independent C++. It can be used in many areas of computer programming where high quality 2D graphics is an essential part of the project. . This package contains the development files for building applications using agg. debian/copyright0000644000000000000000000000345011747776551011147 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: agg Upstream-Contact: Maxim Shemanarev Source: http://www.antigrain.com Files: * Copyright: 2002-2006 Maxim Shemanarev License: GPL-2+ Files: include/platform/mac/agg_mac_pmap.h src/platform/mac/agg_platform_support.cpp Copyright: 2002-2006 Maxim Shemanarev 2004 2003 Hansruedi Baer License: GPL-2+ Files: src/platform/sdl/agg_platform_support.cpp Copyright: 2002-2006 Maxim Shemanarev 2004 Mauricio Piacentini License: GPL-2+ Files: src/platform/BeOS/agg_platform_support.cpp Copyright: 2002-2006 Maxim Shemanarev 2004 Stephan Assmus License: GPL-2+ Files: src/platform/AmigaOS/agg_platform_support.cpp Copyright: 2002-2006 Maxim Shemanarev 2004 Steven Solie License: GPL-2+ Files: debian/* Copyright: 2012 Andrea Veri License: GPL-2+ License: GPL-2+ This package 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 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 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 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000011744527277010506 5ustar debian/source/format0000644000000000000000000000001411744527277011714 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011763361000010612 5ustar debian/patches/07-autogen-noconfigure.patch0000644000000000000000000000077311750000444016042 0ustar Author: Andrea Veri Description: Disable configure's run from the autogen file. Index: agg-2.5+dfsg1/autogen.sh =================================================================== --- agg-2.5+dfsg1.orig/autogen.sh 2007-10-11 00:06:16.000000000 +0200 +++ agg-2.5+dfsg1/autogen.sh 2012-05-01 16:57:37.916862783 +0200 @@ -18,6 +18,6 @@ automake --foreign --add-missing --ignore-deps # and finally invoke our new configure -./configure $* +[ -n "$NOCONFIGURE" ] || ./configure $* # end debian/patches/02-maintainer-mode.patch0000644000000000000000000000101011750002311015104 0ustar Author: Andrea Veri Description: Use AM_MAINTAINER_MODE, to avoid re-running autotools except when explicitely called in debian/rules. diff -urNad agg-2.5+dfsg~/configure.in agg-2.5+dfsg/configure.in --- agg-2.5+dfsg~/configure.in 2007-07-21 19:58:06.966030999 -0500 +++ agg-2.5+dfsg/configure.in 2007-07-21 19:58:33.595695250 -0500 @@ -2,7 +2,7 @@ AC_CANONICAL_TARGET AC_CONFIG_HEADERS(include/config.h) AM_INIT_AUTOMAKE(agg, 2.5.0) - +AM_MAINTAINER_MODE dnl Checks for programs. AC_PROG_CC debian/patches/08-fix-kfreebsd-ftbfs.patch0000644000000000000000000000105211750035246015537 0ustar Author: Andrea Veri Description: Patch to prevent a FTBFS on kfreebsd-* Index: agg-2.5+dfsg1/src/Makefile =================================================================== --- agg-2.5+dfsg1.orig/src/Makefile 2007-10-11 00:06:16.000000000 +0200 +++ agg-2.5+dfsg1/src/Makefile 2012-05-01 21:30:08.492401874 +0200 @@ -1,4 +1,9 @@ -include ../Makefile.in.$(shell uname) +PLATFORM=$(shell uname) +ifeq (GNU/kFreeBSD,$(PLATFORM)) + PLATFORM=Linux +endif + +include ../Makefile.in.$(PLATFORM) CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./ debian/patches/series0000644000000000000000000000034411763362071012041 0ustar 01-disable-gpc.patch 02-maintainer-mode.patch 03-pkg-config-pic.patch 04-no-rpath.patch 05-fix-recursion-crash.patch 06-fix-missing-includes.patch 07-autogen-noconfigure.patch 08-fix-kfreebsd-ftbfs.patch 09-fix-hurd-ftbfs.patch debian/patches/05-fix-recursion-crash.patch0000644000000000000000000000172211750002322015745 0ustar Author: Brian Murray Description: Avoid a crash caused by an infinite recursion when drawing extremely long lines. (LP #344849) diff -urNad agg-2.5+dfsg1~/include/agg_rasterizer_cells_aa.h agg-2.5+dfsg1/include/agg_rasterizer_cells_aa.h --- agg-2.5+dfsg1~/include/agg_rasterizer_cells_aa.h 2007-10-10 15:06:16.000000000 -0700 +++ agg-2.5+dfsg1/include/agg_rasterizer_cells_aa.h 2009-04-02 18:34:07.000000000 -0700 @@ -333,6 +333,12 @@ { int cx = (x1 + x2) >> 1; int cy = (y1 + y2) >> 1; + + // Bail if values are so large they are likely to wrap + if ((std::abs(x1) >= std::numeric_limits::max()/2) || (std::abs(y1) >= std::numeric_limits::max()/2) || + (std::abs(x2) >= std::numeric_limits::max()/2) || (std::abs(y2) >= std::numeric_limits::max()/2)) + return; + line(x1, y1, cx, cy); line(cx, cy, x2, y2); } debian/patches/01-disable-gpc.patch0000644000000000000000000000077011747776616014260 0ustar Author: Andrea Veri Description: Disable GPC at build time. diff -urNad debian.source~/Makefile.am debian.source/Makefile.am --- debian.source~/Makefile.am 2007-10-10 16:13:11.000000000 +0200 +++ debian.source/Makefile.am 2007-10-10 16:26:51.000000000 +0200 @@ -1,4 +1,7 @@ +SUBDIRS = src font_freetype font_win32_tt include examples +if ENABLE_GPC SUBDIRS = gpc src font_freetype font_win32_tt include examples +endif pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libagg.pc debian/patches/03-pkg-config-pic.patch0000644000000000000000000000101311747776616014674 0ustar Author: Unknown Description: Correct library name from agg to agg_pic for link diff -urNad agg-2.3~/libagg.pc.in agg-2.3/libagg.pc.in --- agg-2.3~/libagg.pc.in 2005-02-18 03:27:48.000000000 +0100 +++ agg-2.3/libagg.pc.in 2006-03-01 18:08:26.906950512 +0100 @@ -6,5 +6,5 @@ Name: libagg Description: Anti Grain Geometry - A High Quality Rendering Engine for C++ Version: @VERSION@ -Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg +Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg_pic Cflags: -I${includedir} debian/patches/06-fix-missing-includes.patch0000644000000000000000000000114211750000500016104 0ustar Author: Dane Springmeyer Description: Add missing includes for fix compile. (LP #393923) diff -pruN -x '*~' agg-2.5+dfsg1.orig/include/agg_rasterizer_cells_aa.h agg-2.5+dfsg1/include/agg_rasterizer_cells_aa.h --- agg-2.5+dfsg1.orig/include/agg_rasterizer_cells_aa.h 2007-10-11 00:06:16.000000000 +0200 +++ agg-2.5+dfsg1/include/agg_rasterizer_cells_aa.h 2010-08-23 01:51:07.000000000 +0200 @@ -40,7 +40,8 @@ #define AGG_RASTERIZER_CELLS_AA_INCLUDED #include -#include +#include +#include #include "agg_math.h" #include "agg_array.h" debian/patches/09-fix-hurd-ftbfs.patch0000644000000000000000000000100211763361063014713 0ustar Author: Barry deFreese Description: Patch to prevent a FTBFS on GNU/Hurd. Index: agg-2.5+dfsg1/src/Makefile =================================================================== --- agg-2.5+dfsg1.orig/src/Makefile 2012-06-04 23:05:40.000000000 +0000 +++ agg-2.5+dfsg1/src/Makefile 2012-06-04 23:08:30.000000000 +0000 @@ -3,6 +3,10 @@ PLATFORM=Linux endif +ifeq (GNU,$(PLATFORM)) + PLATFORM=Linux +endif + include ../Makefile.in.$(PLATFORM) CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./ debian/patches/04-no-rpath.patch0000644000000000000000000000074711747776616013645 0ustar Author: Unknown Description: Disable hard coded rpath during linking diff -urNad agg-2.4~/libagg.pc.in agg-2.4/libagg.pc.in --- agg-2.4~/libagg.pc.in 2006-07-10 11:27:16.000000000 +0200 +++ agg-2.4/libagg.pc.in 2006-07-10 11:28:51.000000000 +0200 @@ -6,5 +6,5 @@ Name: libagg Description: Anti Grain Geometry - A High Quality Rendering Engine for C++ Version: @VERSION@ -Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg_pic +Libs: -L${libdir} -lagg_pic Cflags: -I${includedir} debian/rules0000755000000000000000000000362111747776754010301 0ustar #!/usr/bin/make -f FLAVOURS := pic nonpic CONFIGURE_ARGS_COMMON := --prefix=/usr --disable-examples --x-includes=/usr/include --x-libraries=/usr/lib CONFIGURE_ARGS_pic := -with-pic CONFIGURE_ARGS_nonpic := --disable-gpc DESTDIR_nonpic := debian/libagg-dev DESTDIR_pic := debian/tmp-pic builddir = $(patsubst %,obj-%,$(1)) define do-flavour configure-$(1): configure-$(1)-stamp : configure-$(1)-stamp: rm -rf $(CURDIR)/$(builddir) mkdir -p $(CURDIR)/$(builddir) find $(CURDIR)/* -maxdepth 0 -not -path '$(CURDIR)/obj-*' | \ xargs cp -rlf -t $(CURDIR)/$(builddir) cd $(builddir) && env NOCONFIGURE=1 sh autogen.sh && ./configure $(CONFIGURE_ARGS_COMMON) $(CONFIGURE_ARGS_$(1)) $(shell dpkg-buildflags --export=configure) touch $$@ build-$(1): build-$(1)-stamp : build-$(1)-stamp: configure-$(1) $(MAKE) -C $(builddir) touch $$@ install-$(1): install-$(1)-stamp : install-$(1)-stamp: build-$(1) $(MAKE) -C $(builddir) install DESTDIR=$(CURDIR)/$(DESTDIR_$(1)) touch $$@ endef $(foreach f,$(FLAVOURS),$(eval $(call do-flavour,$(f)))) %: dh $@ override_dh_auto_build: $(foreach f,$(FLAVOURS),build-$(f)) : override_dh_auto_install: $(foreach f,$(FLAVOURS),install-$(f)) install -m644 $(DESTDIR_pic)/usr/lib/libaggfontfreetype.a \ $(CURDIR)/debian/libagg-dev/usr/lib/libaggfontfreetype_pic.a install -m644 $(DESTDIR_pic)/usr/lib/libaggplatformsdl.a \ $(CURDIR)/debian/libagg-dev/usr/lib/libaggplatformsdl_pic.a install -m644 $(DESTDIR_pic)/usr/lib/libaggplatformX11.a \ $(CURDIR)/debian/libagg-dev/usr/lib/libaggplatformX11_pic.a install -m644 $(DESTDIR_pic)/usr/lib/libagg.a \ $(CURDIR)/debian/libagg-dev/usr/lib/libagg_pic.a # Remove .so / .la files find $(CURDIR)/debian/libagg-dev/usr/lib/ -name "*.so*" | xargs rm find $(CURDIR)/debian/libagg-dev/usr/lib/ -name "*.la" | xargs rm override_dh_auto_clean: rm -rf $(foreach f,$(FLAVOURS),obj-$(f)) rm -rf $(DESTDIR_pic) dh_auto_clean debian/compat0000644000000000000000000000000211744527331010373 0ustar 9 debian/changelog0000644000000000000000000001604612232731525011051 0ustar agg (2.5+dfsg1-9) unstable; urgency=low * Build-Depend on automake1.11, seems agg is still building fine with this automake release. (Closes: #724347) -- Andrea Veri Sat, 26 Oct 2013 14:18:09 +0200 agg (2.5+dfsg1-8) unstable; urgency=low * debian/patches/09-fix-hurd-ftbfs.patch: - added to prevent a FTBFS on GNU/Hurd. Credits goes to Barry deFreese. (Closes: #676149) -- Andrea Veri Tue, 05 Jun 2012 12:40:56 +0200 agg (2.5+dfsg1-7) unstable; urgency=low * debian/patches/08-fix-kfreebsd-ftbfs.patch: - added to prevent a FTBFS on kfreebsd-*. (Closes: #671069) -- Andrea Veri Tue, 01 May 2012 21:31:31 +0200 agg (2.5+dfsg1-6) unstable; urgency=low * debian/rules: - refreshed to build pic files again. Thanks to Pino Toscano for the patch. (Closes: #671017) * debian/copyright: - updated to Copyright Format 1.0; use more fine grained Copyright for files. Thanks to Jari Aalto for the patch! (Closes: #671000) * debian/patches/07-autogen-noconfigure.patch: - added to disable configure's run on the autogen file. -- Andrea Veri Tue, 01 May 2012 17:22:49 +0200 agg (2.5+dfsg1-5) unstable; urgency=low * Moved to Source Format Quilt. * General package's cleanup: - bumped Standards-Version to latest. - refreshed all the patches. - added ${misc:Depends}. - rewrite debian/rules and adapt it to DH9. -- Andrea Veri Sat, 21 Apr 2012 14:55:23 +0200 agg (2.5+dfsg1-4) unstable; urgency=low * debian/patches/06_fix_missing_includes.dpatch: Fix missing includes for a successful build. Thanks to Artur Rona for taking the time to forward this patch from Ubuntu. (Closes: #575620) * debian/patches/05_fix_recursion_crash.dpatch: patch updated to avoid compilation issues. * debian/control: - updating my e-mail since my old address is no longer available. - Bumped Standards-Version to latest 3.9.2. - removing DMUA, it's no longer needed now. -- Andrea Veri Fri, 22 Jul 2011 16:55:28 +0200 agg (2.5+dfsg1-3) unstable; urgency=low * debian/patches/05_fix_recursion_crash: - grabbed from Ubuntu, so we can finally keep this package in sync. Thanks to Brian Murray for the work on it. * debian/patches/series: - refreshed. * debian/control: - added DM tag. - bumped standards-versions to 3.8.3 * debian/compat: - bumped to level 7 matching dh version. * debian/changelog: - added missing copyright holders. -- Andrea Veri Fri, 20 Nov 2009 19:10:21 +0100 agg (2.5+dfsg1-2) unstable; urgency=low * I decided to take care of this package again. Therefore I can close the 'O' bug I opened before. (Closes: #536171) * debian/control: - changed my mail address - bumped debhelper to level 7 - bumped Standards-version to 3.8.2 - removed Xs-Vcs field for now, I'll maintain this package on bzr later on. * debian/rules: - pass '--x-includes=/usr/include --x-libraries=/usr/lib' to both makefile and configure preventing a FTBFS when processing '-L@x_libraries@' on amd64. Thanks to Chris Lamb who worked on this too. (Closes: #534041) - added a clean rule for gcp/Makefile.in for a cleaner diff. - clean rule updated preventing a lintian warning * debian/copyright: - added some informations about Debian packaging's copyright, which is licensed under the GPL license, preventing lintian to complain about a missing '/usr/share/common-licenses/GPL' line. * debian/compat: - bumped compatibility level to 6 -- Andrea Veri Thu, 30 Jul 2009 23:26:42 +0200 agg (2.5+dfsg1-1) unstable; urgency=low * debian/rules: clean rule now runs before unpatching, added some commands to remove autotools generated stuff not deleted by make distclean itself. Addding --disable-gpc value to autogen.sh variables to disable gpc definitely. * patches/01_no_gpc.dpatch: removed, replacing it with a new patch * patches/01_disable_gpc.dpatch: patch added for checking whether gpc is enabled and then changing SUBDIRS value inside Makefile.am file. * re-adding the gpc folder previously deleted with its Makefile.am only (no copyright issues for this file only) preventing a FTBFS after applying the new patch. * patches/02_maintainer_mode.dpatch: patch added to prevent a FTBFS if the package get built twice in a row. Thanks to Luis Rodrigo Gallardo Cruz for helping out on this and reporting a fix into debian BTS. Updated patches/00list to match the new patch as well. (Closes: #424091) * debian/copyright: updated to match current agg license, now moved to GPL. (Closes: #436695) -- Andrea Veri Sun, 07 Oct 2007 21:51:55 +0200 agg (2.5+dfsg-1) unstable; urgency=low * Deleting gpc source dir, which is not-free, so cannot be distributed with the package. Moving version to dfsg. Thanks to Rene Engelhard for the report. (Closes: #431987) -- Andrea Veri Tue, 03 Jul 2007 23:33:08 +0200 agg (2.5-1) unstable; urgency=low * New upstream release. * New maintainer. I gonna take care of this package from now on. * Previous versions's co-maintainers won't appear more in uploaders field in debian/control. * Added XS-Vcs-Bzr field that points directly to the bzr branch in launchpad where this package will be maintained. -- Andrea Veri Mon, 18 Jun 2007 11:16:40 +0100 agg (2.4+20060719-3) unstable; urgency=low * upload to unstable -- Rene Engelhard Sun, 22 Oct 2006 15:16:27 +0200 agg (2.4+20060719-2) experimental; urgency=low * --disable-examples * add missed pkg-config, libtool and libx11-dev to Build-Depends * build and install _pic again -- Rene Engelhard Fri, 20 Oct 2006 13:12:00 +0200 agg (2.4+20060719-1) experimental; urgency=low * update to the "new" agg 2.4 from June 19th.... (closes: #391936) * use auto* build - add autoconf, automake, libsdl1.2-dev, libfreetype6-dev to Build-Depends - rework rules This installs agg_font_freetype.h, so closes: #382351 * temporary disable libagg.pc returning -lagg_pic, libagg_pic.a building needs some more rework -- Rene Engelhard Fri, 20 Oct 2006 11:51:14 +0200 agg (2.4-1) unstable; urgency=low * new upstream release * add patch from Petr Salinger to fix FTBFS on GNU/kFreeBSD, thanks (closes: #374944) * Standards-Version: 3.7.2 (no changes needed) -- Rene Engelhard Mon, 24 Jul 2006 16:08:17 +0200 agg (2.3-3) unstable; urgency=low * make pkg-config return -lagg_pic, thanks Cedric Borgese (closes: #351359) -- Rene Engelhard Wed, 1 Mar 2006 18:06:22 +0100 agg (2.3-2) unstable; urgency=low * build libagg_pic.a... -- Rene Engelhard Tue, 29 Nov 2005 02:02:41 +0100 agg (2.3-1) unstable; urgency=low * Initial release -- Rene Engelhard Tue, 22 Nov 2005 23:03:50 +0100