Christian Wiese
14 years ago
6 changed files with 310 additions and 15 deletions
@ -0,0 +1,31 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../djv/djv-0.8.2-disable-build-test.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: Disable to build test applications
|
||||||
|
Origin: OpenSDE (http://opensde.org)
|
||||||
|
|
||||||
|
diff -ruN djv-0.8.2-orig/CMakeLists.txt djv-0.8.2/CMakeLists.txt
|
||||||
|
--- djv-0.8.2-orig/CMakeLists.txt 2009-08-01 00:32:48.000000000 +0200
|
||||||
|
+++ djv-0.8.2/CMakeLists.txt 2011-04-15 14:38:19.176077819 +0200
|
||||||
|
@@ -176,7 +176,7 @@
|
||||||
|
if (NOT djv_build_minimal)
|
||||||
|
|
||||||
|
set(
|
||||||
|
- djv_build_test
|
||||||
|
+ #djv_build_test
|
||||||
|
djv_base
|
||||||
|
djv_image
|
||||||
|
djv_ui
|
@ -0,0 +1,66 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../djv/djv-0.8.2-disable-third-party.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: Disable to build the included third-party applications
|
||||||
|
Origin: OpenSDE (http://opensde.org)
|
||||||
|
|
||||||
|
djv ships with all needed third-party libraries and applications but we # disabled to build/use them because we are using those provided by the
|
||||||
|
system.
|
||||||
|
|
||||||
|
diff -ruN djv-0.8.2-orig/CMakeLists.txt djv-0.8.2/CMakeLists.txt
|
||||||
|
--- djv-0.8.2-orig/CMakeLists.txt 2009-08-01 00:32:48.000000000 +0200
|
||||||
|
+++ djv-0.8.2/CMakeLists.txt 2011-04-15 14:38:19.176077819 +0200
|
||||||
|
@@ -207,7 +207,7 @@
|
||||||
|
|
||||||
|
# Uncomment the following line to use system versions of third-party software:
|
||||||
|
|
||||||
|
-#set(djv_third_party_use_system true)
|
||||||
|
+set(djv_third_party_use_system true)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
|
||||||
|
@@ -262,20 +262,20 @@
|
||||||
|
set(
|
||||||
|
djv_third_party
|
||||||
|
# mesa
|
||||||
|
- glew
|
||||||
|
- zlib
|
||||||
|
- libjpeg
|
||||||
|
- libpng
|
||||||
|
- libtiff
|
||||||
|
- ffmpeg
|
||||||
|
- libquicktime
|
||||||
|
- fltk
|
||||||
|
- ilmbase
|
||||||
|
+# glew
|
||||||
|
+# zlib
|
||||||
|
+# libjpeg
|
||||||
|
+# libpng
|
||||||
|
+# libtiff
|
||||||
|
+# ffmpeg
|
||||||
|
+# libquicktime
|
||||||
|
+# fltk
|
||||||
|
+# ilmbase
|
||||||
|
# ctl
|
||||||
|
- openexr
|
||||||
|
+# openexr
|
||||||
|
# openexr_ctl
|
||||||
|
# openexr_viewers
|
||||||
|
- portaudio
|
||||||
|
+# portaudio
|
||||||
|
)
|
||||||
|
|
||||||
|
else (NOT djv_build_minimal)
|
@ -0,0 +1,31 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../djv/djv-0.8.2-fix-docdir.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 install destination for documentation
|
||||||
|
|
||||||
|
Without this patch djv is installing documentation into $datadir/doc.
|
||||||
|
|
||||||
|
--- djv-0.8.2/doc/CMakeLists.txt.orig 2011-04-15 16:13:54.960077822 +0200
|
||||||
|
+++ djv-0.8.2/doc/CMakeLists.txt 2011-04-15 16:14:27.208077806 +0200
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES ${src}
|
||||||
|
- DESTINATION doc
|
||||||
|
+ DESTINATION doc/djv
|
||||||
|
)
|
||||||
|
|
||||||
|
if (APPLE)
|
@ -0,0 +1,101 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../djv/djv-0.8.2-gcc44.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 compiling with gcc >= 4.4
|
||||||
|
|
||||||
|
diff -ruN djv-0.8.2-orig/bin/softimage-flip/flip.cxx djv-0.8.2/bin/softimage-flip/flip.cxx
|
||||||
|
--- djv-0.8.2-orig/bin/softimage-flip/flip.cxx 2009-05-25 22:46:34.000000000 +0200
|
||||||
|
+++ djv-0.8.2/bin/softimage-flip/flip.cxx 2011-04-15 14:34:14.008078153 +0200
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
#include <sstream>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <fstream>
|
||||||
|
+#include <cstdlib>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
diff -ruN djv-0.8.2-orig/lib/djv_base/error.cxx djv-0.8.2/lib/djv_base/error.cxx
|
||||||
|
--- djv-0.8.2-orig/lib/djv_base/error.cxx 2009-07-05 20:51:48.000000000 +0200
|
||||||
|
+++ djv-0.8.2/lib/djv_base/error.cxx 2011-04-15 14:11:38.280077537 +0200
|
||||||
|
@@ -6,6 +6,8 @@
|
||||||
|
Use is subject to license terms.
|
||||||
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
+
|
||||||
|
#include "error.h"
|
||||||
|
|
||||||
|
#include <djv_base/string.h>
|
||||||
|
diff -ruN djv-0.8.2-orig/lib/djv_base/file_seq.cxx djv-0.8.2/lib/djv_base/file_seq.cxx
|
||||||
|
--- djv-0.8.2-orig/lib/djv_base/file_seq.cxx 2009-06-14 22:32:04.000000000 +0200
|
||||||
|
+++ djv-0.8.2/lib/djv_base/file_seq.cxx 2011-04-15 14:12:43.772077819 +0200
|
||||||
|
@@ -9,6 +9,8 @@
|
||||||
|
#undef DJV_DEBUG
|
||||||
|
//#define DJV_DEBUG
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
+
|
||||||
|
#include "file.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
diff -ruN djv-0.8.2-orig/lib/djv_base/string_fnc.cxx djv-0.8.2/lib/djv_base/string_fnc.cxx
|
||||||
|
--- djv-0.8.2-orig/lib/djv_base/string_fnc.cxx 2009-06-13 04:53:38.000000000 +0200
|
||||||
|
+++ djv-0.8.2/lib/djv_base/string_fnc.cxx 2011-04-15 14:13:53.452078287 +0200
|
||||||
|
@@ -9,6 +9,8 @@
|
||||||
|
#undef DJV_DEBUG
|
||||||
|
//#define DJV_DEBUG
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
+
|
||||||
|
#include "string.h"
|
||||||
|
|
||||||
|
#include <djv_base/math.h>
|
||||||
|
diff -ruN djv-0.8.2-orig/lib/djv_image/glx_offscreen_pbuffer.cxx djv-0.8.2/lib/djv_image/glx_offscreen_pbuffer.cxx
|
||||||
|
--- djv-0.8.2-orig/lib/djv_image/glx_offscreen_pbuffer.cxx 2009-05-25 22:46:34.000000000 +0200
|
||||||
|
+++ djv-0.8.2/lib/djv_image/glx_offscreen_pbuffer.cxx 2011-04-15 14:17:08.460077819 +0200
|
||||||
|
@@ -8,6 +8,8 @@
|
||||||
|
|
||||||
|
//#define DJV_DEBUG
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
+
|
||||||
|
#include "glx_offscreen_private.h"
|
||||||
|
|
||||||
|
#include "glx_private.h"
|
||||||
|
diff -ruN djv-0.8.2-orig/lib/djv_image/io_lut_etc.cxx djv-0.8.2/lib/djv_image/io_lut_etc.cxx
|
||||||
|
--- djv-0.8.2-orig/lib/djv_image/io_lut_etc.cxx 2009-06-13 04:35:06.000000000 +0200
|
||||||
|
+++ djv-0.8.2/lib/djv_image/io_lut_etc.cxx 2011-04-15 14:16:13.556077838 +0200
|
||||||
|
@@ -6,6 +6,8 @@
|
||||||
|
Use is subject to license terms.
|
||||||
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
+
|
||||||
|
#include "io_lut.h"
|
||||||
|
|
||||||
|
#include <djv_image/color.h>
|
||||||
|
diff -ruN djv-0.8.2-orig/lib/djv_image/io_ppm_save.cxx djv-0.8.2/lib/djv_image/io_ppm_save.cxx
|
||||||
|
--- djv-0.8.2-orig/lib/djv_image/io_ppm_save.cxx 2009-06-13 03:06:30.000000000 +0200
|
||||||
|
+++ djv-0.8.2/lib/djv_image/io_ppm_save.cxx 2011-04-15 14:15:02.692075750 +0200
|
||||||
|
@@ -8,6 +8,8 @@
|
||||||
|
|
||||||
|
//#define DJV_DEBUG
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
+
|
||||||
|
#include "io_ppm.h"
|
||||||
|
|
||||||
|
#include <djv_image/gl_data.h>
|
@ -0,0 +1,57 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../djv/djv-0.8.2-rename_test_audio.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: Rename rename audio test tool 'test_audio' to 'djv_test_audio'
|
||||||
|
|
||||||
|
--- djv-0.8.2/tests/audio/CMakeLists.txt.orig 2009-07-18 21:36:30.000000000 +0200
|
||||||
|
+++ djv-0.8.2/tests/audio/CMakeLists.txt 2011-04-15 17:31:18.780078685 +0200
|
||||||
|
@@ -7,29 +7,29 @@
|
||||||
|
${QUICKTIME_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
-add_executable(test_audio ${header} ${src})
|
||||||
|
+add_executable(djv_test_audio ${header} ${src})
|
||||||
|
|
||||||
|
-add_dependencies(test_audio ${djv_ui_dep})
|
||||||
|
+add_dependencies(djv_test_audio ${djv_ui_dep})
|
||||||
|
|
||||||
|
target_link_libraries(
|
||||||
|
- test_audio
|
||||||
|
+ djv_test_audio
|
||||||
|
${djv_ui_lib}
|
||||||
|
${QUICKTIME_LIBRARIES}
|
||||||
|
${PORTAUDIO_LIBRARIES}
|
||||||
|
)
|
||||||
|
|
||||||
|
-target_link_libraries(test_audio ${djv_ui_lib})
|
||||||
|
+target_link_libraries(djv_test_audio ${djv_ui_lib})
|
||||||
|
|
||||||
|
if (djv_install_rpath)
|
||||||
|
set_target_properties(
|
||||||
|
- test_audio PROPERTIES
|
||||||
|
+ djv_test_audio PROPERTIES
|
||||||
|
INSTALL_RPATH "${djv_install_rpath}"
|
||||||
|
)
|
||||||
|
endif (djv_install_rpath)
|
||||||
|
|
||||||
|
-install(TARGETS test_audio RUNTIME DESTINATION bin)
|
||||||
|
+install(TARGETS djv_test_audio RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
- DJV_OSX_INSTALL_BIN(test_audio)
|
||||||
|
+ DJV_OSX_INSTALL_BIN(djv_test_audio)
|
||||||
|
endif (APPLE)
|
||||||
|
|
Loading…
Reference in new issue