From 9ebad89eabbbe0049c061c5c1971344bb4a004dc Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 24 Apr 2008 18:07:07 +0200 Subject: Added pythonmagick --- .../files/pythonmagick-0.6-gentoo_misc_fixes.patch | 23 ++++++++++++++++++++++ .../pythonmagick/files/pythonmagick_build.patch | 10 ++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch create mode 100644 dev-python/pythonmagick/files/pythonmagick_build.patch (limited to 'dev-python/pythonmagick/files') diff --git a/dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch b/dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch new file mode 100644 index 0000000..9455110 --- /dev/null +++ b/dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch @@ -0,0 +1,23 @@ +--- SConstruct.orig 2006-10-18 00:57:28.000000000 +0200 ++++ SConstruct 2006-10-18 00:58:26.000000000 +0200 +@@ -20,16 +20,17 @@ + IM_LIB_PATH='/usr/lib/' + GD_LIBS=['Magick','Magick++','Wand'] + PYTHON_INCLUDE='/usr/include/python2.4' +- BOOST_PYTHON_LIB=['libboost_python-gcc'] +- CPP_FLAGS=['-DBOOST_PYTHON_STATIC_LIB','-O2'] ++ BOOST_PYTHON_LIB=['libboost_python'] ++ CPP_FLAGS=['-DBOOST_PYTHON_STATIC_LIB'] + + # setup the environment + env=Environment( + LIBPATH=['./',BOOSTLIBPATH, IM_LIB_PATH], + CPPPATH=[BOOST, PYTHON_INCLUDE] + IM_INCLUDE_PATH, +- RPATH=['./',BOOSTLIBPATH], ++ RPATH=[BOOSTLIBPATH], + CPPFLAGS=CPP_FLAGS + ) ++env.SConsignFile() + + def fix_includes(target,source,env): + for t in target: diff --git a/dev-python/pythonmagick/files/pythonmagick_build.patch b/dev-python/pythonmagick/files/pythonmagick_build.patch new file mode 100644 index 0000000..f06b92b --- /dev/null +++ b/dev-python/pythonmagick/files/pythonmagick_build.patch @@ -0,0 +1,10 @@ +--- SConstruct.old 2008-04-23 01:23:33.983934532 +0200 ++++ SConstruct 2008-04-23 01:24:04.783235908 +0200 +@@ -31,6 +31,7 @@ + CPPFLAGS='-march=prescott -O2 -pipe -fomit-frame-pointer'.split()+CPP_FLAGS + ) + env.SConsignFile() ++env.ParseConfig('pkg-config --cflags --libs Magick++') + + def fix_includes(target,source,env): + for t in target: -- cgit v1.2.3-70-g09d2