================================ autotrace:source=0.31.1-1 cvc rdiff autotrace -1 /weasel.rpath.org@wgl:3-devel/0.31.1-1 ================================ 0.31.1-1 Filip Brcic (brcha@xxxxxxxxxxxx) Sun Jun 13 13:42:32 2010 autotrace 0.31.1 autotrace-0.31.1.tar.gz: new autotrace-0.31.1-m4.patch: new --- /dev/null +++ autotrace-0.31.1-m4.patch @@ -0,0 +7 @@ +--- autotrace.m4 ++++ autotrace.m4 +@@ -6,3 +6,3 @@ + dnl +-AC_DEFUN(AM_PATH_AUTOTRACE, ++AC_DEFUN([AM_PATH_AUTOTRACE], + [dnl autotrace-0.31.1-swf-output.patch: new --- /dev/null +++ autotrace-0.31.1-swf-output.patch @@ -0,0 +28 @@ +--- output-swf.c.old 2006-04-01 21:50:06.000000000 -0500 ++++ output-swf.c 2006-04-01 21:50:28.000000000 -0500 +@@ -24,7 +24,6 @@ + #include "spline.h" + #include "color.h" + #include "output-swf.h" +-#include <ming.h> + + #define FPS 24.0 + #define IMGID 1 + +--- output-swf.h.old 2006-04-01 21:50:12.000000000 -0500 ++++ output-swf.h 2006-04-01 21:50:59.000000000 -0500 +@@ -23,6 +23,7 @@ + #define OUTPUTSWF_H + + #include "output.h" ++#include <ming.h> + + int output_swf_writer(FILE* file, at_string name, + int llx, int lly, int urx, int ury, +@@ -31,4 +32,6 @@ + at_msg_func msg_func, + at_address msg_data); + ++void fileOutputMethod(byte b, void *data); ++ + #endif /* Not def: OUTPUTSWF_H */ autotrace.recipe: new --- /dev/null +++ autotrace.recipe @@ -0,0 +50 @@ +# +# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)] +# Distributed under the terms of the GNU General Public License v3 +# + +class Autotrace(AutoPackageRecipe): + name = 'autotrace' + version = '0.31.1' + + buildRequires = [ + 'libexif:devel', 'libpng:devel', 'ming:devel', + 'pstoedit:devel', 'imagemagick:devel', 'pkg-config:devel', + 'libtool:devel', 'libtool:runtime', + ] + runtimeRequires = [ + 'ming:runtime', 'pstoedit:runtime', 'imagemagick:runtime', + ] + buildRequires.extend(runtimeRequires) + + shortDesc = 'Converts Bitmaps to vector-graphics' + longDesc = """ +The aim of the AutoTrace project is the development of a freely +available application with a functionality similar to CorelTrace or +Adobe Streamline. I hope that it will become better than all +commercially available programs. In some aspects it is already +better. AutoTrace is free software. AutoTrace is distributed under the +term of GNU GPL. +""" + url = 'http://autotrace.sourceforge.net/' + licenses = [ 'GPL-2' ] + categories = [ 'Media/Graphics' ] + + def unpack(r): + r.addArchive('mirror://sourceforge/autotrace/') + + r.addPatch('mirror://debian/pool/main/a/autotrace/autotrace_0.31.1-13.diff.gz') + r.addPatch('autotrace-0.31.1-swf-output.patch') + r.addPatch('autotrace-0.31.1-m4.patch') + + def configure(r): + r.Configure( + ' --disable-dependency-tracking' + ' --with-ming' + ' --with-magick' + ' --with-pstoedit' + ) + + def policy(r): + for req in r.runtimeRequires: + r.Requires(req, '%(bindir)s/') autotrace_0.31.1-13.diff.gz: new Committed by: brcha