diff --git a/graphic/wxsvg/wxsvg-1.0.8-1-ffmpeg-avutil.h.patch b/graphic/wxsvg/wxsvg-1.0.8-1-ffmpeg-avutil.h.patch new file mode 100644 index 000000000..8c5e2bc5d --- /dev/null +++ b/graphic/wxsvg/wxsvg-1.0.8-1-ffmpeg-avutil.h.patch @@ -0,0 +1,51 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../wxsvg/wxsvg-1.0.8-1-ffmpeg-avutil.h.patch +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. +# --- SDE-COPYRIGHT-NOTE-END --- + +Description: Fix to check for avutil.h in a path where newer versions of ffmpeg install the header +Origin: OpenSDE (http://opensde.org) + +This fix also implies the to explicitely pass -D__STDC_CONSTANT_MACROS to get +the UINT64_C macro from stdint.h which is used in libavutil/common.h. + +Furthermore the check for avutil.h at the old location has been preserver, but +is only used as a fallback when there was libavutil/avutil.h was found. + +--- wxsvg-1.0.8-1/configure.in.orig 2011-03-10 21:22:55.000000000 +0100 ++++ wxsvg-1.0.8-1/configure.in 2011-04-17 16:17:07.364077975 +0200 +@@ -176,8 +176,21 @@ + AM_CONDITIONAL(USE_FFMPEG, [test x$enable_ffmpeg = xyes]) + if test x$enable_ffmpeg = xyes; then + PKG_CHECK_MODULES(FFMPEG, [libavformat >= 50.0.0 libavcodec >= 51.0.0 libavutil >= 49.0.0 libswscale]) +- # check path for old ffmpeg +- AC_CHECK_HEADERS([ffmpeg/avutil.h]) ++ # check path for new ffmpeg ++ # we need to explicitely pass -D__STDC_CONSTANT_MACROS to get the UINT64_C macro from stdint.h which ++ # is used in libavutil/common.h ++ CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" ++ AC_CHECK_HEADERS([libavutil/avutil.h], ++ [], ++ [ ++ # check path for old ffmpeg ++ AC_CHECK_HEADERS([ffmpeg/avutil.h]) ++ ], ++ [[ ++ #ifdef HAVE_STDINT_H ++ # include ++ #endif ++ ]]) + CXXFLAGS="$CXXFLAGS -DUSE_FFMPEG $FFMPEG_CFLAGS" + LIBS="$LIBS $FFMPEG_LIBS" + fi diff --git a/graphic/wxsvg/wxsvg.cache b/graphic/wxsvg/wxsvg.cache new file mode 100644 index 000000000..30a68afd6 --- /dev/null +++ b/graphic/wxsvg/wxsvg.cache @@ -0,0 +1,65 @@ + +[TIMESTAMP] 1302943621 Sat Apr 16 10:47:01 2011 +[BUILDTIME] 35 (5) +[SIZE] 3.46 MB, 202 files + +[DEP] atk +[DEP] autoconf +[DEP] automake +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] cairo +[DEP] coreutils +[DEP] diffutils +[DEP] expat +[DEP] ffmpeg +[DEP] fhs +[DEP] findutils +[DEP] fontconfig +[DEP] freetype +[DEP] gawk +[DEP] gcc +[DEP] gdk-pixbuf +[DEP] glib +[DEP] glibc +[DEP] grep +[DEP] gtk+ +[DEP] jbigkit +[DEP] libart_lgpl23 +[DEP] libice +[DEP] libjpeg +[DEP] libmspack +[DEP] libpng +[DEP] libselinux +[DEP] libsm +[DEP] libtiff +[DEP] libx11 +[DEP] libxau +[DEP] libxcb +[DEP] libxcomposite +[DEP] libxcursor +[DEP] libxdamage +[DEP] libxext +[DEP] libxfixes +[DEP] libxi +[DEP] libxinerama +[DEP] libxrandr +[DEP] libxrender +[DEP] libxxf86vm +[DEP] linux-header +[DEP] m4 +[DEP] make +[DEP] mktemp +[DEP] ncurses +[DEP] pango +[DEP] patch +[DEP] perl +[DEP] pixman +[DEP] pkgconfig +[DEP] sed +[DEP] sysfiles +[DEP] tar +[DEP] util-linux-ng +[DEP] wxwidgets +[DEP] zlib diff --git a/graphic/wxsvg/wxsvg.conf b/graphic/wxsvg/wxsvg.conf new file mode 100644 index 000000000..78dc4644a --- /dev/null +++ b/graphic/wxsvg/wxsvg.conf @@ -0,0 +1,19 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../wxsvg/wxsvg.conf +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# 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; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# we patch configure.in to fix avutil.h detection +hook_add preconf 9 'touch NEWS; autoreconf' + +# UINT64_C in libavutil/common.h +#var_append configprefix ' ' 'CXXFLAGS="-D__STDC_CONSTANT_MACROS"' diff --git a/graphic/wxsvg/wxsvg.desc b/graphic/wxsvg/wxsvg.desc new file mode 100644 index 000000000..a66c69267 --- /dev/null +++ b/graphic/wxsvg/wxsvg.desc @@ -0,0 +1,31 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../wxsvg/wxsvg.desc +[COPY] Copyright (C) 2011 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A C++ library to create, manipulate and render SVG files + +[T] wxSVG is C++ library to create, manipulate and render SVG files. + +[U] http://www.dvdstyler.org/ + +[A] Alex Thuering +[M] Michael Tross + +[C] extra/graphic + +[L] GPL +[S] Stable +[V] 1.0.8-1 +[P] X -----5---- 400.000 + +[D] 2955932074 wxsvg-1.0.8-1.tar.bz2 http://dl.sourceforge.net/sourceforge/wxsvg/