diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-16 00:49:58 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-16 00:49:58 +0000 |
commit | 7ec831c8d42e378472ad4619f53e519d017366fd (patch) | |
tree | 8f9b79e19dc1ddaf25996085686761b7b113f1fa /sci-libs/plplot/files | |
parent | profiles/base: Add prefix-guest use mask for new prefix profiles. (diff) | |
download | historical-7ec831c8d42e378472ad4619f53e519d017366fd.tar.gz historical-7ec831c8d42e378472ad4619f53e519d017366fd.tar.bz2 historical-7ec831c8d42e378472ad4619f53e519d017366fd.zip |
Version bump
Package-Manager: portage-2.2.8-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs/plplot/files')
-rw-r--r-- | sci-libs/plplot/files/plplot-5.9.11-config.patch | 769 | ||||
-rw-r--r-- | sci-libs/plplot/files/plplot-5.9.11-multiarch.patch | 50 | ||||
-rw-r--r-- | sci-libs/plplot/files/plplot-5.9.11-ocaml.patch | 34 | ||||
-rw-r--r-- | sci-libs/plplot/files/plplot-5.9.11-octave.patch | 12 |
4 files changed, 865 insertions, 0 deletions
diff --git a/sci-libs/plplot/files/plplot-5.9.11-config.patch b/sci-libs/plplot/files/plplot-5.9.11-config.patch new file mode 100644 index 000000000000..3bbbd6c4754b --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.9.11-config.patch @@ -0,0 +1,769 @@ +Index: scripts/style_source.sh +=================================================================== +--- scripts/style_source.sh (revision 12913) ++++ scripts/style_source.sh (working copy) +@@ -193,7 +193,7 @@ + + export csource_LIST + # Top level directory. +-csource_LIST="config.h.in" ++csource_LIST="plplot_config.h.in" + + # src directory + csource_LIST="$csource_LIST src/*.[ch]" +Index: doc/Doxyfile.in +=================================================================== +--- doc/Doxyfile.in (revision 12913) ++++ doc/Doxyfile.in (working copy) +@@ -660,7 +660,7 @@ + "@CMAKE_SOURCE_DIR@/drivers" \ + "@CMAKE_SOURCE_DIR@/bindings" \ + "@CMAKE_SOURCE_DIR@/include" \ +- "@CMAKE_BINARY_DIR@/config.h" \ ++ "@CMAKE_BINARY_DIR@/plplot_config.h" \ + "@CMAKE_BINARY_DIR@/lib" \ + "@CMAKE_BINARY_DIR@/bindings" \ + "@CMAKE_BINARY_DIR@/include" +Index: doc/CMakeLists.txt +=================================================================== +--- doc/CMakeLists.txt (revision 12913) ++++ doc/CMakeLists.txt (working copy) +@@ -60,7 +60,7 @@ + endforeach(directory ${doxygen_directories}) + # Must append one specific configured file to be consistent with + # the INPUT parameter in Doxyfile(.in). +- list(APPEND doxygen_globs ${CMAKE_BINARY_DIR}/config.h) ++ list(APPEND doxygen_globs ${CMAKE_BINARY_DIR}/plplot_config.h) + #message(STATUS "DEBUG: doxygen_globs = ${doxygen_globs}") + + # RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} works (because that is the +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt (revision 12913) ++++ CMakeLists.txt (working copy) +@@ -121,10 +121,10 @@ + ) + + configure_file( +- ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in +- ${CMAKE_CURRENT_BINARY_DIR}/config.h ++ ${CMAKE_CURRENT_SOURCE_DIR}/plplot_config.h.in ++ ${CMAKE_CURRENT_BINARY_DIR}/plplot_config.h + ) +-# Allow access to the generated config.h for this build. ++# Allow access to the generated plplot_config.h for this build. + add_definitions("-DHAVE_CONFIG_H") + # Install top-level files + +Index: include/plConfig.h.in +=================================================================== +--- include/plConfig.h.in (revision 12913) ++++ include/plConfig.h.in (working copy) +@@ -5,7 +5,7 @@ + // IFS, University of Texas at Austin + // 18-Jul-1994 + // +-// Copyright (C) 2004, 2006, 2007, 2008, 2009 Alan W. Irwin ++// Copyright (C) 2004-2013 Alan W. Irwin + // Copyright (C) 2004 Rafael Laboissiere + // Copyright (C) 2004 Joao Cardoso + // +@@ -24,33 +24,28 @@ + // You should have received a copy of the GNU Library General Public License + // along with PLplot; if not, write to the Free Software + // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +-// +-// + + // Configured (by CMake) macros for PLplot that are required for the +-// core build and the build of the installed +-// examples (and presumably any user applications). Therefore, the +-// configured plConfig.h should be installed. In contrast, +-// config.h.cmake (note, plConfig.h #includes config.h for +-// the core build because HAVE_CONFIG_H is #defined in that case) +-// contains configured macros that are only required for the core +-// build. Therefore, in contrast to plConfig.h, config.h should not +-// be installed. ++// core build and the build of the installed examples (and presumably ++// any user applications). Therefore, the configured plConfig.h ++// should be installed. In contrast, plplot_config.h.in (note, ++// plConfig.h #includes plplot_config.h for the core build because ++// HAVE_CONFIG_H is #defined in that case) contains configured macros ++// that are only required for the core build. Therefore, in contrast ++// to plConfig.h, plplot_config.h should not be installed. + // + // Maintenance issue: in makes no sense to configure duplicate macros +-// for both config.h and plConfig.h. Therefore, when adding a macro ++// for both plplot_config.h and plConfig.h. Therefore, when adding a macro + // decide which file to put it in depending on whether the result is + // needed for the installed examples build or not. Furthermore, move + // configured macros from one file to the other as needed depending on + // that criterion, but do not copy them. +-// +-// + + #ifndef __PLCONFIG_H__ + #define __PLCONFIG_H__ + + #ifdef HAVE_CONFIG_H +-# include <config.h> ++# include <plplot_config.h> + #endif + + // Define if you have c++ accessible stdint.h +Index: config.h.in +=================================================================== +--- config.h.in (revision 12913) ++++ config.h.in (working copy) +@@ -1,311 +0,0 @@ +-// Configured (by CMake) macros for PLplot that are required for the +-// core build but _not_ required for the build of the installed +-// examples (and presumably any user applications). Therefore, the +-// configured config.h should not be installed. In contrast, +-// include/plConfig.h.cmake (note, plConfig.h #includes config.h for +-// the core build because HAVE_CONFIG_H is #defined in that case) +-// contains configured macros that are required for the core build, +-// installed examples build, and build of user applications. +-// Therefore, in contrast to config.h, plConfig.h should be installed. +-// +-// Maintenance issue: in makes no sense to configure duplicate macros +-// for both config.h and plConfig.h. Therefore, when adding a macro +-// decide which file to put it in depending on whether the result is +-// needed for the installed examples build or not. Furthermore, move +-// configured macros from one file to the other as needed depending on +-// that criterion, but do not copy them. +-// +-// +- +-// Location of executables +-#define BIN_DIR "@BIN_DIR@" +- +-// Location of Build tree +-#define BUILD_DIR "@BUILD_DIR@" +- +-// Location of package data files +-#define DATA_DIR "@DATA_DIR@" +- +-// Location of dynamically loaded drivers +-#define DRV_DIR "@DRV_DIR@" +- +-// Name of the default cmap0 palette to use +-#define PL_DEFAULT_CMAP0_FILE "@DEFAULT_CMAP0_FILE@" +- +-// Name of the default cmap1 palette to use +-#define PL_DEFAULT_CMAP1_FILE "@DEFAULT_CMAP1_FILE@" +- +-// Define if support for deprecated plplot functions should be compiled +-#cmakedefine PL_DEPRECATED +- +-// Define if there is support for dynamically loaded drivers +-#cmakedefine ENABLE_DYNDRIVERS +- +-// Define to 1 if you have the <cmath> header file. +-#cmakedefine HAVE_CMATH 1 +- +-// Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. +-// +-#cmakedefine HAVE_DIRENT_H 1 +- +-// Define to 1 if you have the <dlfcn.h> header file. +-#cmakedefine HAVE_DLFCN_H 1 +- +-// Define if [freetype] is available +-#cmakedefine PL_HAVE_FREETYPE +- +-// Define if [shapelib] is available +-#cmakedefine HAVE_SHAPELIB +- +-// Define if [agg] is available +-#cmakedefine HAVE_AGG +- +-// Define to 1 if you have the <glib.h> header file. +-#cmakedefine HAVE_GLIB_H 1 +- +-// Define to 1 if you have the <glib-object.h> header file. +-#cmakedefine HAVE_GLIB_OBJECT_H 1 +- +-// Define to 1 if you have the <gtk/gtk.h> header file. +-#cmakedefine HAVE_GTK_GTK_H 1 +- +-// Define to 1 if you have the <inttypes.h> header file. +-#cmakedefine HAVE_INTTYPES_H 1 +- +-// Define if [incr], [Tcl] is available +-#cmakedefine HAVE_ITCL +- +-// Define to 1 if you have the <itclDecls.h> header file. +-#cmakedefine HAVE_ITCLDECLS_H 1 +- +-// Define if Tk is available +-#cmakedefine ENABLE_tk +- +-// Define if [incr], [Tk] is available +-#cmakedefine HAVE_ITK +- +-// Define to 1 if you have the <jni.h> header file. +-#cmakedefine HAVE_JNI_H 1 +- +-// Define to 1 if you have the <libart_lgpl/libart.h> header file. +-#cmakedefine HAVE_LIBART_LGPL_LIBART_H 1 +- +-// Define to 1 if you have the <libgnomecanvas/libgnomecanvas.h> header file. +-// +-#cmakedefine HAVE_LIBGNOMECANVAS_LIBGNOMECANVAS_H 1 +- +-// Define to 1 if you have the <libgnomeprint/gnome-print.h> header file. +-#cmakedefine HAVE_LIBGNOMEPRINT_GNOME_PRINT_H 1 +- +-// Define if libunicode is available +-#cmakedefine HAVE_LIBUNICODE +- +-// Define to 1 if you have the <math.h> header file. +-#cmakedefine HAVE_MATH_H 1 +- +-// Define to 1 if you have the <memory.h> header file. +-#cmakedefine HAVE_MEMORY_H 1 +- +-// Define to 1 if the function mkstemp is available. +-#cmakedefine PL_HAVE_MKSTEMP 1 +- +-// Define to 1 if the function mkdtemp is available. +-#cmakedefine PL_HAVE_MKDTEMP 1 +- +-// Define to 1 if the function mkfifo is available. +-#cmakedefine PL_HAVE_MKFIFO 1 +- +-// Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. +-#cmakedefine HAVE_NDIR_H 1 +- +-// Define if libpango is available +-#cmakedefine HAVE_PANGO +- +-// Define if popen is available +-#cmakedefine HAVE_POPEN +- +-// Define if _NSGetArgc is available +-#cmakedefine HAVE_NSGETARGC +- +-// Define if pthreads is available +-#cmakedefine PL_HAVE_PTHREAD +- +-// Define if Qhull is available +-#cmakedefine PL_HAVE_QHULL +- +-// Define to 1 if you have the <stdlib.h> header file. +-#cmakedefine HAVE_STDLIB_H 1 +- +-// Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. +-// +-#cmakedefine HAVE_SYS_DIR_H 1 +- +-// Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. +-// +-#cmakedefine HAVE_SYS_NDIR_H 1 +- +-// Define to 1 if you have the <sys/stat.h> header file. +-#cmakedefine HAVE_SYS_STAT_H 1 +- +-// Define to 1 if you have the <sys/types.h> header file. +-#cmakedefine HAVE_SYS_TYPES_H 1 +- +-// Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. +-#cmakedefine HAVE_SYS_WAIT_H 1 +- +-// Define to 1 if you have the <termios.h> header file. +-#cmakedefine HAVE_TERMIOS_H 1 +- +-// Define to 1 if you have the <crt_externs.h> header file. +-#cmakedefine HAVE_CRT_EXTERNS_H 1 +- +-// Define to 1 if the function unlink is available +-#cmakedefine PL_HAVE_UNLINK 1 +- +-// Define to 1 if you have the `vfork' function. +-#cmakedefine HAVE_VFORK 1 +- +-// Define to 1 if you have the <vfork.h> header file. +-#cmakedefine HAVE_VFORK_H 1 +- +-// Include sys/type.h if needed +-#cmakedefine NEED_SYS_TYPE_H +- +-// Name of package +-#define PACKAGE "@PACKAGE@" +- +-// Define if the win32 ltdl implementation should be used +-#cmakedefine LTDL_WIN32 +- +-// Portable definition for PTHREAD_MUTEX_RECURSIVE +-#define PLPLOT_MUTEX_RECURSIVE @PLPLOT_MUTEX_RECURSIVE@ +- +-// Directory containing fonts that are accessible from freetype +-#define PL_FREETYPE_FONT_DIR "@PL_FREETYPE_FONT_DIR@" +- +-// MONO font accessible from freetype +-#define PL_FREETYPE_MONO "@PL_FREETYPE_MONO@" +- +-// MONO_BOLD font accessible from freetype +-#define PL_FREETYPE_MONO_BOLD "@PL_FREETYPE_MONO_BOLD@" +- +-// MONO_BOLD_ITALIC font accessible from freetype +-#define PL_FREETYPE_MONO_BOLD_ITALIC "@PL_FREETYPE_MONO_BOLD_ITALIC@" +- +-// MONO_BOLD_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_MONO_BOLD_OBLIQUE "@PL_FREETYPE_MONO_BOLD_OBLIQUE@" +- +-// MONO_ITALIC font accessible from freetype +-#define PL_FREETYPE_MONO_ITALIC "@PL_FREETYPE_MONO_ITALIC@" +- +-// MONO_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_MONO_OBLIQUE "@PL_FREETYPE_MONO_OBLIQUE@" +- +-// SANS font accessible from freetype +-#define PL_FREETYPE_SANS "@PL_FREETYPE_SANS@" +- +-// SANS_BOLD font accessible from freetype +-#define PL_FREETYPE_SANS_BOLD "@PL_FREETYPE_SANS_BOLD@" +- +-// SANS_BOLD_ITALIC font accessible from freetype +-#define PL_FREETYPE_SANS_BOLD_ITALIC "@PL_FREETYPE_SANS_BOLD_ITALIC@" +- +-// SANS_BOLD_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SANS_BOLD_OBLIQUE "@PL_FREETYPE_SANS_BOLD_OBLIQUE@" +- +-// SANS_ITALIC font accessible from freetype +-#define PL_FREETYPE_SANS_ITALIC "@PL_FREETYPE_SANS_ITALIC@" +- +-// SANS_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SANS_OBLIQUE "@PL_FREETYPE_SANS_OBLIQUE@" +- +-// SCRIPT font accessible from freetype +-#define PL_FREETYPE_SCRIPT "@PL_FREETYPE_SCRIPT@" +- +-// SCRIPT_BOLD font accessible from freetype +-#define PL_FREETYPE_SCRIPT_BOLD "@PL_FREETYPE_SCRIPT_BOLD@" +- +-// SCRIPT_BOLD_ITALIC font accessible from freetype +-#define PL_FREETYPE_SCRIPT_BOLD_ITALIC "@PL_FREETYPE_SCRIPT_BOLD_ITALIC@" +- +-// SCRIPT_BOLD_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SCRIPT_BOLD_OBLIQUE "@PL_FREETYPE_SCRIPT_BOLD_OBLIQUE@" +- +-// SCRIPT_ITALIC font accessible from freetype +-#define PL_FREETYPE_SCRIPT_ITALIC "@PL_FREETYPE_SCRIPT_ITALIC@" +- +-// SCRIPT_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SCRIPT_OBLIQUE "@PL_FREETYPE_SCRIPT_OBLIQUE@" +- +-// SERIF font accessible from freetype +-#define PL_FREETYPE_SERIF "@PL_FREETYPE_SERIF@" +- +-// SERIF_BOLD font accessible from freetype +-#define PL_FREETYPE_SERIF_BOLD "@PL_FREETYPE_SERIF_BOLD@" +- +-// SERIF_BOLD_ITALIC font accessible from freetype +-#define PL_FREETYPE_SERIF_BOLD_ITALIC "@PL_FREETYPE_SERIF_BOLD_ITALIC@" +- +-// SERIF_BOLD_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SERIF_BOLD_OBLIQUE "@PL_FREETYPE_SERIF_BOLD_OBLIQUE@" +- +-// SERIF_ITALIC font accessible from freetype +-#define PL_FREETYPE_SERIF_ITALIC "@PL_FREETYPE_SERIF_ITALIC@" +- +-// SERIF_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SERIF_OBLIQUE "@PL_FREETYPE_SERIF_OBLIQUE@" +- +-// Symbol font accessible from freetype +-#define PL_FREETYPE_SYMBOL "@PL_FREETYPE_SYMBOL@" +- +-// SYMBOL_BOLD font accessible from freetype +-#define PL_FREETYPE_SYMBOL_BOLD "@PL_FREETYPE_SYMBOL_BOLD@" +- +-// SYMBOL_BOLD_ITALIC font accessible from freetype +-#define PL_FREETYPE_SYMBOL_BOLD_ITALIC "@PL_FREETYPE_SYMBOL_BOLD_ITALIC@" +- +-// SYMBOL_BOLD_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SYMBOL_BOLD_OBLIQUE "@PL_FREETYPE_SYMBOL_BOLD_OBLIQUE@" +- +-// SYMBOL_ITALIC font accessible from freetype +-#define PL_FREETYPE_SYMBOL_ITALIC "@PL_FREETYPE_SYMBOL_ITALIC@" +- +-// SYMBOL_OBLIQUE font accessible from freetype +-#define PL_FREETYPE_SYMBOL_OBLIQUE "@PL_FREETYPE_SYMBOL_OBLIQUE@" +- +-// Define as the return type of signal handlers (`int' or `void'). +-#define RETSIGTYPE @RETSIGTYPE@ +- +-// Location of Source tree +-#define SOURCE_DIR "@SOURCE_DIR@" +- +-// Define to 1 if you have the ANSI C header files. +-#cmakedefine STDC_HEADERS 1 +- +-// Overall PLplot version number +-#define PLPLOT_VERSION "@PLPLOT_VERSION@" +- +-// Location of Tcl stuff +-#define TCL_DIR "@TCL_DIR@" +-// Consistent package versions for Itcl and friends found by PLplot +-// If PLplot could not find consistent values these are set to 0.0.0 +-#define PLPLOT_ITCL_VERSION "@PLPLOT_ITCL_VERSION@" +-#define PLPLOT_ITK_VERSION "@PLPLOT_ITK_VERSION@" +-#define PLPLOT_IWIDGETS_VERSION "@PLPLOT_IWIDGETS_VERSION@" +- +-// Define if csa is desired +-#cmakedefine WITH_CSA +- +-// Define if want to use general fill_intersection_polygon approach +-// rather than the traditional code to fill the intersection of a polygon with +-// the clipping limits. +-#cmakedefine USE_FILL_INTERSECTION_POLYGON +- +-// Define to `char *' if <sys/types.h> does not define. +-#cmakedefine caddr_t +- +-// Define to `int' if <sys/types.h> does not define. +-#cmakedefine pid_t +- +-// Define as `fork' if `vfork' does not work. +-#cmakedefine vfork +Index: drivers/plplotcanvas-hacktext.c +=================================================================== +--- drivers/plplotcanvas-hacktext.c (revision 12913) ++++ drivers/plplotcanvas-hacktext.c (working copy) +@@ -31,7 +31,7 @@ + // FIXME: TODO: Clipping + // + +-#include <config.h> ++#include <plplot_config.h> + + #include <math.h> + #include <string.h> +Index: plplot_config.h.in +=================================================================== +--- plplot_config.h.in (revision 0) ++++ plplot_config.h.in (revision 12914) +@@ -0,0 +1,311 @@ ++// Configured (by CMake) macros for PLplot that are required for the ++// core build but _not_ required for the build of the installed ++// examples (and presumably any user applications). Therefore, the ++// configured plplot_config.h should not be installed. In contrast, ++// include/plConfig.h.in (note, the configured plConfig.h result ++// #includes plplot_config.h for the core build because HAVE_CONFIG_H ++// is #defined in that case) contains configured macros that are ++// required for the core build, installed examples build, and build of ++// user applications. Therefore, in contrast to plplot_config.h, ++// plConfig.h should be installed. ++// ++// Maintenance issue: in makes no sense to configure duplicate macros ++// for both plplot_config.h and plConfig.h. Therefore, when adding a macro ++// decide which file to put it in depending on whether the result is ++// needed for the installed examples build or not. Furthermore, move ++// configured macros from one file to the other as needed depending on ++// that criterion, but do not copy them. ++// ++ ++// Location of executables ++#define BIN_DIR "@BIN_DIR@" ++ ++// Location of Build tree ++#define BUILD_DIR "@BUILD_DIR@" ++ ++// Location of package data files ++#define DATA_DIR "@DATA_DIR@" ++ ++// Location of dynamically loaded drivers ++#define DRV_DIR "@DRV_DIR@" ++ ++// Name of the default cmap0 palette to use ++#define PL_DEFAULT_CMAP0_FILE "@DEFAULT_CMAP0_FILE@" ++ ++// Name of the default cmap1 palette to use ++#define PL_DEFAULT_CMAP1_FILE "@DEFAULT_CMAP1_FILE@" ++ ++// Define if support for deprecated plplot functions should be compiled ++#cmakedefine PL_DEPRECATED ++ ++// Define if there is support for dynamically loaded drivers ++#cmakedefine ENABLE_DYNDRIVERS ++ ++// Define to 1 if you have the <cmath> header file. ++#cmakedefine HAVE_CMATH 1 ++ ++// Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. ++// ++#cmakedefine HAVE_DIRENT_H 1 ++ ++// Define to 1 if you have the <dlfcn.h> header file. ++#cmakedefine HAVE_DLFCN_H 1 ++ ++// Define if [freetype] is available ++#cmakedefine PL_HAVE_FREETYPE ++ ++// Define if [shapelib] is available ++#cmakedefine HAVE_SHAPELIB ++ ++// Define if [agg] is available ++#cmakedefine HAVE_AGG ++ ++// Define to 1 if you have the <glib.h> header file. ++#cmakedefine HAVE_GLIB_H 1 ++ ++// Define to 1 if you have the <glib-object.h> header file. ++#cmakedefine HAVE_GLIB_OBJECT_H 1 ++ ++// Define to 1 if you have the <gtk/gtk.h> header file. ++#cmakedefine HAVE_GTK_GTK_H 1 ++ ++// Define to 1 if you have the <inttypes.h> header file. ++#cmakedefine HAVE_INTTYPES_H 1 ++ ++// Define if [incr], [Tcl] is available ++#cmakedefine HAVE_ITCL ++ ++// Define to 1 if you have the <itclDecls.h> header file. ++#cmakedefine HAVE_ITCLDECLS_H 1 ++ ++// Define if Tk is available ++#cmakedefine ENABLE_tk ++ ++// Define if [incr], [Tk] is available ++#cmakedefine HAVE_ITK ++ ++// Define to 1 if you have the <jni.h> header file. ++#cmakedefine HAVE_JNI_H 1 ++ ++// Define to 1 if you have the <libart_lgpl/libart.h> header file. ++#cmakedefine HAVE_LIBART_LGPL_LIBART_H 1 ++ ++// Define to 1 if you have the <libgnomecanvas/libgnomecanvas.h> header file. ++// ++#cmakedefine HAVE_LIBGNOMECANVAS_LIBGNOMECANVAS_H 1 ++ ++// Define to 1 if you have the <libgnomeprint/gnome-print.h> header file. ++#cmakedefine HAVE_LIBGNOMEPRINT_GNOME_PRINT_H 1 ++ ++// Define if libunicode is available ++#cmakedefine HAVE_LIBUNICODE ++ ++// Define to 1 if you have the <math.h> header file. ++#cmakedefine HAVE_MATH_H 1 ++ ++// Define to 1 if you have the <memory.h> header file. ++#cmakedefine HAVE_MEMORY_H 1 ++ ++// Define to 1 if the function mkstemp is available. ++#cmakedefine PL_HAVE_MKSTEMP 1 ++ ++// Define to 1 if the function mkdtemp is available. ++#cmakedefine PL_HAVE_MKDTEMP 1 ++ ++// Define to 1 if the function mkfifo is available. ++#cmakedefine PL_HAVE_MKFIFO 1 ++ ++// Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. ++#cmakedefine HAVE_NDIR_H 1 ++ ++// Define if libpango is available ++#cmakedefine HAVE_PANGO ++ ++// Define if popen is available ++#cmakedefine HAVE_POPEN ++ ++// Define if _NSGetArgc is available ++#cmakedefine HAVE_NSGETARGC ++ ++// Define if pthreads is available ++#cmakedefine PL_HAVE_PTHREAD ++ ++// Define if Qhull is available ++#cmakedefine PL_HAVE_QHULL ++ ++// Define to 1 if you have the <stdlib.h> header file. ++#cmakedefine HAVE_STDLIB_H 1 ++ ++// Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. ++// ++#cmakedefine HAVE_SYS_DIR_H 1 ++ ++// Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. ++// ++#cmakedefine HAVE_SYS_NDIR_H 1 ++ ++// Define to 1 if you have the <sys/stat.h> header file. ++#cmakedefine HAVE_SYS_STAT_H 1 ++ ++// Define to 1 if you have the <sys/types.h> header file. ++#cmakedefine HAVE_SYS_TYPES_H 1 ++ ++// Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. ++#cmakedefine HAVE_SYS_WAIT_H 1 ++ ++// Define to 1 if you have the <termios.h> header file. ++#cmakedefine HAVE_TERMIOS_H 1 ++ ++// Define to 1 if you have the <crt_externs.h> header file. ++#cmakedefine HAVE_CRT_EXTERNS_H 1 ++ ++// Define to 1 if the function unlink is available ++#cmakedefine PL_HAVE_UNLINK 1 ++ ++// Define to 1 if you have the `vfork' function. ++#cmakedefine HAVE_VFORK 1 ++ ++// Define to 1 if you have the <vfork.h> header file. ++#cmakedefine HAVE_VFORK_H 1 ++ ++// Include sys/type.h if needed ++#cmakedefine NEED_SYS_TYPE_H ++ ++// Name of package ++#define PACKAGE "@PACKAGE@" ++ ++// Define if the win32 ltdl implementation should be used ++#cmakedefine LTDL_WIN32 ++ ++// Portable definition for PTHREAD_MUTEX_RECURSIVE ++#define PLPLOT_MUTEX_RECURSIVE @PLPLOT_MUTEX_RECURSIVE@ ++ ++// Directory containing fonts that are accessible from freetype ++#define PL_FREETYPE_FONT_DIR "@PL_FREETYPE_FONT_DIR@" ++ ++// MONO font accessible from freetype ++#define PL_FREETYPE_MONO "@PL_FREETYPE_MONO@" ++ ++// MONO_BOLD font accessible from freetype ++#define PL_FREETYPE_MONO_BOLD "@PL_FREETYPE_MONO_BOLD@" ++ ++// MONO_BOLD_ITALIC font accessible from freetype ++#define PL_FREETYPE_MONO_BOLD_ITALIC "@PL_FREETYPE_MONO_BOLD_ITALIC@" ++ ++// MONO_BOLD_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_MONO_BOLD_OBLIQUE "@PL_FREETYPE_MONO_BOLD_OBLIQUE@" ++ ++// MONO_ITALIC font accessible from freetype ++#define PL_FREETYPE_MONO_ITALIC "@PL_FREETYPE_MONO_ITALIC@" ++ ++// MONO_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_MONO_OBLIQUE "@PL_FREETYPE_MONO_OBLIQUE@" ++ ++// SANS font accessible from freetype ++#define PL_FREETYPE_SANS "@PL_FREETYPE_SANS@" ++ ++// SANS_BOLD font accessible from freetype ++#define PL_FREETYPE_SANS_BOLD "@PL_FREETYPE_SANS_BOLD@" ++ ++// SANS_BOLD_ITALIC font accessible from freetype ++#define PL_FREETYPE_SANS_BOLD_ITALIC "@PL_FREETYPE_SANS_BOLD_ITALIC@" ++ ++// SANS_BOLD_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SANS_BOLD_OBLIQUE "@PL_FREETYPE_SANS_BOLD_OBLIQUE@" ++ ++// SANS_ITALIC font accessible from freetype ++#define PL_FREETYPE_SANS_ITALIC "@PL_FREETYPE_SANS_ITALIC@" ++ ++// SANS_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SANS_OBLIQUE "@PL_FREETYPE_SANS_OBLIQUE@" ++ ++// SCRIPT font accessible from freetype ++#define PL_FREETYPE_SCRIPT "@PL_FREETYPE_SCRIPT@" ++ ++// SCRIPT_BOLD font accessible from freetype ++#define PL_FREETYPE_SCRIPT_BOLD "@PL_FREETYPE_SCRIPT_BOLD@" ++ ++// SCRIPT_BOLD_ITALIC font accessible from freetype ++#define PL_FREETYPE_SCRIPT_BOLD_ITALIC "@PL_FREETYPE_SCRIPT_BOLD_ITALIC@" ++ ++// SCRIPT_BOLD_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SCRIPT_BOLD_OBLIQUE "@PL_FREETYPE_SCRIPT_BOLD_OBLIQUE@" ++ ++// SCRIPT_ITALIC font accessible from freetype ++#define PL_FREETYPE_SCRIPT_ITALIC "@PL_FREETYPE_SCRIPT_ITALIC@" ++ ++// SCRIPT_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SCRIPT_OBLIQUE "@PL_FREETYPE_SCRIPT_OBLIQUE@" ++ ++// SERIF font accessible from freetype ++#define PL_FREETYPE_SERIF "@PL_FREETYPE_SERIF@" ++ ++// SERIF_BOLD font accessible from freetype ++#define PL_FREETYPE_SERIF_BOLD "@PL_FREETYPE_SERIF_BOLD@" ++ ++// SERIF_BOLD_ITALIC font accessible from freetype ++#define PL_FREETYPE_SERIF_BOLD_ITALIC "@PL_FREETYPE_SERIF_BOLD_ITALIC@" ++ ++// SERIF_BOLD_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SERIF_BOLD_OBLIQUE "@PL_FREETYPE_SERIF_BOLD_OBLIQUE@" ++ ++// SERIF_ITALIC font accessible from freetype ++#define PL_FREETYPE_SERIF_ITALIC "@PL_FREETYPE_SERIF_ITALIC@" ++ ++// SERIF_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SERIF_OBLIQUE "@PL_FREETYPE_SERIF_OBLIQUE@" ++ ++// Symbol font accessible from freetype ++#define PL_FREETYPE_SYMBOL "@PL_FREETYPE_SYMBOL@" ++ ++// SYMBOL_BOLD font accessible from freetype ++#define PL_FREETYPE_SYMBOL_BOLD "@PL_FREETYPE_SYMBOL_BOLD@" ++ ++// SYMBOL_BOLD_ITALIC font accessible from freetype ++#define PL_FREETYPE_SYMBOL_BOLD_ITALIC "@PL_FREETYPE_SYMBOL_BOLD_ITALIC@" ++ ++// SYMBOL_BOLD_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SYMBOL_BOLD_OBLIQUE "@PL_FREETYPE_SYMBOL_BOLD_OBLIQUE@" ++ ++// SYMBOL_ITALIC font accessible from freetype ++#define PL_FREETYPE_SYMBOL_ITALIC "@PL_FREETYPE_SYMBOL_ITALIC@" ++ ++// SYMBOL_OBLIQUE font accessible from freetype ++#define PL_FREETYPE_SYMBOL_OBLIQUE "@PL_FREETYPE_SYMBOL_OBLIQUE@" ++ ++// Define as the return type of signal handlers (`int' or `void'). ++#define RETSIGTYPE @RETSIGTYPE@ ++ ++// Location of Source tree ++#define SOURCE_DIR "@SOURCE_DIR@" ++ ++// Define to 1 if you have the ANSI C header files. ++#cmakedefine STDC_HEADERS 1 ++ ++// Overall PLplot version number ++#define PLPLOT_VERSION "@PLPLOT_VERSION@" ++ ++// Location of Tcl stuff ++#define TCL_DIR "@TCL_DIR@" ++// Consistent package versions for Itcl and friends found by PLplot ++// If PLplot could not find consistent values these are set to 0.0.0 ++#define PLPLOT_ITCL_VERSION "@PLPLOT_ITCL_VERSION@" ++#define PLPLOT_ITK_VERSION "@PLPLOT_ITK_VERSION@" ++#define PLPLOT_IWIDGETS_VERSION "@PLPLOT_IWIDGETS_VERSION@" ++ ++// Define if csa is desired ++#cmakedefine WITH_CSA ++ ++// Define if want to use general fill_intersection_polygon approach ++// rather than the traditional code to fill the intersection of a polygon with ++// the clipping limits. ++#cmakedefine USE_FILL_INTERSECTION_POLYGON ++ ++// Define to `char *' if <sys/types.h> does not define. ++#cmakedefine caddr_t ++ ++// Define to `int' if <sys/types.h> does not define. ++#cmakedefine pid_t ++ ++// Define as `fork' if `vfork' does not work. ++#cmakedefine vfork + +Property changes on: plplot_config.h.in +___________________________________________________________________ +Added: svn:keywords +## -0,0 +1 ## ++Author Date Id Revision +\ No newline at end of property +Added: svn:eol-style +## -0,0 +1 ## ++native +\ No newline at end of property diff --git a/sci-libs/plplot/files/plplot-5.9.11-multiarch.patch b/sci-libs/plplot/files/plplot-5.9.11-multiarch.patch new file mode 100644 index 000000000000..8f4512b976fc --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.9.11-multiarch.patch @@ -0,0 +1,50 @@ +diff -up plplot-5.9.11/examples/c++/Makefile.examples.in.multiarch plplot-5.9.11/examples/c++/Makefile.examples.in +--- plplot-5.9.11/examples/c++/Makefile.examples.in.multiarch 2013-04-24 14:36:28.000000000 -0600 ++++ plplot-5.9.11/examples/c++/Makefile.examples.in 2013-12-29 19:48:17.574496673 -0700 +@@ -25,10 +25,7 @@ CXX = @CXX@ + EXEEXT = @EXEEXT@ + + LIB_TAG = @LIB_TAG@ +-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@ +-RPATHCMD = @RPATHCMD@ + @qt_gui_true@QT_MOC_EXECUTABLE = @QT_MOC_EXECUTABLE@ +-@qt_gui_true@qt_RPATHCMD = @qt_RPATHCMD@ + + @wxwidgets_true@PLPLOTWXWIDGETS_EXECUTABLES_list = \ + @wxwidgets_true@ wxPLplotDemo$(EXEEXT) +diff -up plplot-5.9.11/examples/c/Makefile.examples.in.multiarch plplot-5.9.11/examples/c/Makefile.examples.in +--- plplot-5.9.11/examples/c/Makefile.examples.in.multiarch 2012-01-05 06:59:36.000000000 -0700 ++++ plplot-5.9.11/examples/c/Makefile.examples.in 2013-12-29 19:48:17.574496673 -0700 +@@ -25,8 +25,6 @@ CC = @CC@ + EXEEXT = @EXEEXT@ + + LIB_TAG = @LIB_TAG@ +-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@ +-RPATHCMD = @RPATHCMD@ + + @gcw_true@PLPLOTCANVAS_EXECUTABLES_list = \ + @gcw_true@ plplotcanvas_demo$(EXEEXT) \ +diff -up plplot-5.9.11/examples/f95/Makefile.examples.in.multiarch plplot-5.9.11/examples/f95/Makefile.examples.in +--- plplot-5.9.11/examples/f95/Makefile.examples.in.multiarch 2012-02-19 11:33:33.000000000 -0700 ++++ plplot-5.9.11/examples/f95/Makefile.examples.in 2013-12-29 19:48:20.960557580 -0700 +@@ -25,8 +25,6 @@ F95 = @FC@ + EXEEXT = @EXEEXT@ + + LIB_TAG = @LIB_TAG@ +-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@ +-RPATHCMD = @RPATHCMD@ + + EXECUTABLES_list = \ + x00f$(EXEEXT) \ +diff -up plplot-5.9.11/examples/tk/Makefile.examples.in.multiarch plplot-5.9.11/examples/tk/Makefile.examples.in +--- plplot-5.9.11/examples/tk/Makefile.examples.in.multiarch 2013-12-29 19:48:20.961557593 -0700 ++++ plplot-5.9.11/examples/tk/Makefile.examples.in 2013-12-29 19:49:19.876587409 -0700 +@@ -24,8 +24,6 @@ CC = @CC@ + EXEEXT = @EXEEXT@ + + LIB_TAG = @LIB_TAG@ +-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@ +-plplottcltk_Main_RPATHCMD = @plplottcltk_Main_RPATHCMD@ + + EXECUTABLES_list = xtk01$(EXEEXT) + # Second and fourth examples depend on itk. diff --git a/sci-libs/plplot/files/plplot-5.9.11-ocaml.patch b/sci-libs/plplot/files/plplot-5.9.11-ocaml.patch new file mode 100644 index 000000000000..c10710c2e653 --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.9.11-ocaml.patch @@ -0,0 +1,34 @@ +diff -up plplot-5.9.10/bindings/ocaml/CMakeLists.txt.ocaml plplot-5.9.10/bindings/ocaml/CMakeLists.txt +--- plplot-5.9.10/bindings/ocaml/CMakeLists.txt.ocaml 2013-09-28 10:52:20.000000000 -0600 ++++ plplot-5.9.10/bindings/ocaml/CMakeLists.txt 2013-10-24 09:35:47.093185622 -0600 +@@ -155,11 +155,11 @@ if(ENABLE_ocaml) + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo + ) + +- # ocamlc -a -custom builds a *.cma library from *.cmo ++ # ocamlc -a builds a *.cma library from *.cmo + add_custom_command( + OUTPUT + ${CMAKE_CURRENT_BINARY_DIR}/plplot.cma +- COMMAND ${OCAMLC} -a -custom -o ${CMAKE_CURRENT_BINARY_DIR}/plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plplot_core.cmo ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo -dllib -lplplot_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplplot_stubs -ccopt -L${CAMLIDL_LIB_DIR} -cclib -lcamlidl -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src ${ocaml_STATIC_FLAGS} ++ COMMAND ${OCAMLC} -a -o ${CMAKE_CURRENT_BINARY_DIR}/plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plplot_core.cmo ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo -dllib -lplplot_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplplot_stubs -ccopt -L${CAMLIDL_LIB_DIR} -cclib -lcamlidl -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src ${ocaml_STATIC_FLAGS} + DEPENDS + ${CMAKE_CURRENT_BINARY_DIR}/plplot_core.cmo + ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo +diff -up plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt.ocaml plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt +--- plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt.ocaml 2011-10-19 16:46:13.000000000 -0600 ++++ plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt 2013-10-24 09:45:36.884193889 -0600 +@@ -84,11 +84,11 @@ if(ENABLE_ocaml AND OCAML_HAS_CAIRO) + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo + ) + +- # ocamlc -a -custom builds a *.cma library from *.cmo ++ # ocamlc -a builds a *.cma library from *.cmo + add_custom_command( + OUTPUT + ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cma +- COMMAND ${OCAMLC} -a -custom -o ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cma -I ${PATH_TO_PLPLOT_CMA} plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo -dllib -lplcairo_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplcairo_stubs -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src ++ COMMAND ${OCAMLC} -a -o ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cma -I ${PATH_TO_PLPLOT_CMA} plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo -dllib -lplcairo_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplcairo_stubs -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src + DEPENDS + ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} diff --git a/sci-libs/plplot/files/plplot-5.9.11-octave.patch b/sci-libs/plplot/files/plplot-5.9.11-octave.patch new file mode 100644 index 000000000000..f21b4d2c4f8e --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.9.11-octave.patch @@ -0,0 +1,12 @@ +diff -up plplot-5.9.9/plplot_test/test_octave.sh.in.octave plplot-5.9.9/plplot_test/test_octave.sh.in +--- plplot-5.9.9/plplot_test/test_octave.sh.in.octave 2011-10-12 18:43:01.000000000 -0600 ++++ plplot-5.9.9/plplot_test/test_octave.sh.in 2012-01-16 08:29:46.551852247 -0700 +@@ -35,7 +35,7 @@ echo "$TOPDIR" + export LD_LIBRARY_PATH="$TOPDIR"/src:"$TOPDIR"/lib/csa:"$TOPDIR"/lib/nn + + # Launch an Octave script that exercises all the demos +-$octave -f -q -p "$octavedir" <<EOF 2> test.error ++$octave -f -q $octaveopts -p "$octavedir" <<EOF 2> test.error + + # Check verbose_test variable + if (strcmp(getenv("verbose_test"),"on") == 1) |