if MACOSX_PKG
package: all pkg-info/macosx/synfig-core.info
[ -d pkg_root ] && $(RMDIR) pkg_root || true
- make install prefix="`pwd`/pkg_root"
+ make install-strip prefix="`pwd`/pkg_root"
$(srcdir)/config/package pkg_root pkg-info/macosx/synfig-core.info -r $(srcdir)/pkg-info/macosx/core-resources
endif
endif
output Patching libtool...
patch config/ltmain.sh config/ltmain.patch
) || true
-
-false &&
-{
+false && {
# Something went wrong...
set +x
output Failure.
AC_MSG_RESULT([ *** PNG Output target disabled])
TARGET_PNG="no"
AM_CONDITIONAL(HAVE_LIBPNG,false)
-],[-lz])
+],[-lz -L${exec_prefix}/lib])
AC_CHECK_LIB(jpeg, main,[
JPEG_LIBS="-ljpeg"
AC_MSG_RESULT([ *** JPEG Output target disabled])
TARGET_JPEG="no"
AM_CONDITIONAL(HAVE_LIBJPEG,false)
-],[])
+],[-L${exec_prefix}/lib])
dnl AC_CHECK_HEADERS(jpeglib.h,[],[
AC_SUBST(CONFIG_DEPS)
AC_SUBST(ETL_CFLAGS)
-SYNFIG_LIBS="$VIMAGE_LIBS $LIBXMLPP_LIBS $ETL_LIBS $OPENEXR_LIBS $LIBSIGC_LIBS"
-SYNFIG_CFLAGS="$LIBXMLPP_CFLAGS $ETL_CFLAGS $OPENEXR_CFLAGS $LIBSIGC_CFLAGS $CONFIG_CFLAGS -DSYNFIG_NO_DEPRECATED"
+SYNFIG_LIBS="$VIMAGE_LIBS $LIBXMLPP_LIBS $ETL_LIBS $LIBSIGC_LIBS"
+SYNFIG_CFLAGS="$LIBXMLPP_CFLAGS $ETL_CFLAGS $LIBSIGC_CFLAGS $CONFIG_CFLAGS -DSYNFIG_NO_DEPRECATED"
CONFIG_CFLAGS="`echo $CONFIG_CFLAGS | sed s/-mno-cygwin//g | sed s/-mwindows//g`"
SYNFIG_CFLAGS="`echo $SYNFIG_CFLAGS | sed s/-mno-cygwin//g | sed s/-mwindows//g`"
#!/bin/sh
#OPTIONS="--disable-optimization --enable-debug"
-
+export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
OPTIONS=""
#OPTIONS="$OPTIONS --enable-timelimit=120"
#OPTIONS="$OPTIONS --enable-optimization=2"
#OPTIONS="$OPTIONS --disable-optimization"
OPTIONS="$OPTIONS --disable-debug"
#OPTIONS="$OPTIONS --with-vimage"
+OPTIONS="$OPTIONS --without-openexr"
CC=gcc
CXX=g++
echo ../configure $OPTIONS CC="$CC" CXX="$CXX"
-../configure $OPTIONS CC="$CC" CXX="$CXX" || exit 1
+../configure $OPTIONS CC="$CC" CXX="$CXX" MACOS_DEPLOYMENT_TARGET=10.4 || exit 1
make package $MAKEFLAGS
#ifdef BE_FRUGAL_WITH_GUIDS
if(!guid_)
{
- guid_.make_unique();
+ const_cast<GUID&>(guid_).make_unique();
assert(guid_);
assert(!global_node_map().count(guid_));
- global_node_map()[guid_]=this;
+ global_node_map()[guid_]=const_cast<Node*>(this);
}
#endif
#endif
#ifdef __APPLE__
-#define isnan __isnan
+#define isnan __isnanf
#endif
#endif
+++ /dev/null
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@synfigincludedir@
-
-Name: synfig
-Description: Synfig Core
-Requires: @CONFIG_DEPS@
-Version: 0.61.00-29
-Libs: -L${libdir} @CONFIG_LIBS@
-Cflags: @CONFIG_CFLAGS@ -I@synfigincludedir@