diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-05-02 19:31:17 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2012-05-02 19:31:17 +0000 |
commit | 03e1ebc4c3165b408c44a4df2b68aeb6c0f591f9 (patch) | |
tree | c6bcaadddecf1079ae4ebe18b9105d118cd80e9a /graphics/lprof-devel | |
parent | 15e3ac91e4c7afb742472f807950402c5d12abef (diff) | |
download | ports-03e1ebc4c3165b408c44a4df2b68aeb6c0f591f9.tar.gz ports-03e1ebc4c3165b408c44a4df2b68aeb6c0f591f9.zip |
Notes
Diffstat (limited to 'graphics/lprof-devel')
6 files changed, 103 insertions, 6 deletions
diff --git a/graphics/lprof-devel/files/patch-src-3rdparty-vigra-CMakeLists.txt b/graphics/lprof-devel/files/patch-src-3rdparty-vigra-CMakeLists.txt new file mode 100644 index 000000000000..afea80b75a2e --- /dev/null +++ b/graphics/lprof-devel/files/patch-src-3rdparty-vigra-CMakeLists.txt @@ -0,0 +1,15 @@ +--- src/3rdparty/vigra/CMakeLists.txt 2008-02-19 18:01:35.000000000 -0300 ++++ src/3rdparty/vigra/CMakeLists.txt 2012-05-01 10:38:31.000000000 -0300 +@@ -1,6 +1,9 @@ +-SET_DIRECTORY_PROPERTIES( +- PROPERTIEs +- INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include;${PNG_INCLUDE_DIR};${JPEG_INCLUDE_DIR};${TIFF_INCLUDE_DIR}" ++INCLUDE_DIRECTORIES( ++ BEFORE ++ ${CMAKE_CURRENT_SOURCE_DIR}/include ++ ${PNG_INCLUDE_DIR} ++ ${JPEG_INCLUDE_DIR} ++ ${TIFF_INCLUDE_DIR} + ) + + SET(IMPEX_SOURCES diff --git a/graphics/lprof-devel/files/patch-src-CMakeLists.txt b/graphics/lprof-devel/files/patch-src-CMakeLists.txt index f564ba957e14..7cbccbd27908 100644 --- a/graphics/lprof-devel/files/patch-src-CMakeLists.txt +++ b/graphics/lprof-devel/files/patch-src-CMakeLists.txt @@ -1,11 +1,32 @@ ---- src/CMakeLists.txt.orig 2008-02-20 00:01:32.000000000 +0300 -+++ src/CMakeLists.txt 2008-05-24 05:13:22.000000000 +0400 -@@ -129,7 +129,7 @@ +--- src/CMakeLists.txt 2008-02-19 18:01:32.000000000 -0300 ++++ src/CMakeLists.txt 2012-05-01 11:00:11.000000000 -0300 +@@ -129,7 +129,7 @@ ENDFOREACH(lprof_inc_dir) # Normally these are set for us. Since we're overriding the normal include path we've got to add them ourselves, but it's # probably a good idea to be explicit about what we use anyway. -SET(lprof_qt_incs "${QT_INCLUDE_DIR};${QT_QT_INCLUDE_DIR};${QT_QTCORE_INCLUDE_DIR};${QT_QTGUI_INCLUDE_DIR};${QT_QTSVG_INCLUDE_DIR};${QT_QT3SUPPORT_INCLUDE_DIR};${QT_QTASSISTANT_INCLUDE_DIR}") -+SET(lprof_qt_incs "${QT_QT_INCLUDE_DIR};${QT_QTCORE_INCLUDE_DIR};${QT_QTGUI_INCLUDE_DIR};${QT_QT3SUPPORT_INCLUDE_DIR};${QT_QTASSISTANT_INCLUDE_DIR};${QT_INCLUDE_DIR}") ++SET(lprof_qt_incs "${QT_QT_INCLUDE_DIR};${QT_QTCORE_INCLUDE_DIR};${QT_QTGUI_INCLUDE_DIR};${QT_QTSVG_INCLUDE_DIR};${QT_QT3SUPPORT_INCLUDE_DIR};${QT_QTASSISTANT_INCLUDE_DIR}") IF(NOT LIBVIGRAIMPEX_FOUND) +@@ -143,9 +143,18 @@ ELSE(NOT LIBVIGRAIMPEX_FOUND) + # Static/nonstatic flag should've been added by find script + ENDIF(NOT LIBVIGRAIMPEX_FOUND) + +-SET_DIRECTORY_PROPERTIES( +- PROPERTIES +- INCLUDE_DIRECTORIES "${lprof_inc_dirs};${lprof_qt_incs};${ARGYLL_INCLUDE_DIRS};${impex_include};${LIBUSB_INCLUDE_DIR};${X11_INCLUDE_DIR};${ZLIB_INCLUDE_DIR};${JPEG_INCLUDE_DIR};${TIFF_INCLUDE_DIR};${CMAKE_CURRENT_BINARY_DIR};${WINDDK_INCLUDE_DIR}" ++INCLUDE_DIRECTORIES( ++ BEFORE ++ ${lprof_inc_dirs} ++ ${lprof_qt_incs} ++ ${ARGYLL_INCLUDE_DIRS} ++ ${impex_include} ++ ${LIBUSB_INCLUDE_DIR} ++ ${X11_INCLUDE_DIR} ++ ${ZLIB_INCLUDE_DIR} ++ ${JPEG_INCLUDE_DIR} ++ ${TIFF_INCLUDE_DIR} ++ ${CMAKE_CURRENT_BINARY_DIR} + ) + diff --git a/graphics/lprof-devel/files/patch-src-ICCtoIT8-CMakeLists.txt b/graphics/lprof-devel/files/patch-src-ICCtoIT8-CMakeLists.txt new file mode 100644 index 000000000000..a5bfe89dc3d9 --- /dev/null +++ b/graphics/lprof-devel/files/patch-src-ICCtoIT8-CMakeLists.txt @@ -0,0 +1,17 @@ +--- src/ICCtoIT8/CMakeLists.txt 2008-02-19 18:02:10.000000000 -0300 ++++ src/ICCtoIT8/CMakeLists.txt 2012-05-01 10:37:22.000000000 -0300 +@@ -7,9 +7,11 @@ ADD_EXECUTABLE(icc2it8 + ${ICC2IT8_SOURCES} + ) + +-SET_DIRECTORY_PROPERTIES( +- PROPERTIES +- INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/lcms/include;${CMAKE_SOURCE_DIR}/src/liblprof;${ARGYLL_INCLUDE_DIRS}" ++INCLUDE_DIRECTORIES( ++ BEFORE ++ ${CMAKE_SOURCE_DIR}/src/lcms/include ++ ${CMAKE_SOURCE_DIR}/src/liblprof ++ ${ARGYLL_INCLUDE_DIRS} + ) + + TARGET_LINK_LIBRARIES(icc2it8 liblprof lcmslocal ${COMMON_PLATFORM_LIBS}) diff --git a/graphics/lprof-devel/files/patch-src-argyll-CMakeLists.txt b/graphics/lprof-devel/files/patch-src-argyll-CMakeLists.txt index 32da1baca9f7..613187fee31f 100644 --- a/graphics/lprof-devel/files/patch-src-argyll-CMakeLists.txt +++ b/graphics/lprof-devel/files/patch-src-argyll-CMakeLists.txt @@ -1,5 +1,20 @@ ---- src/argyll/CMakeLists.txt.orig 2008-09-08 00:27:28.000000000 +0400 -+++ src/argyll/CMakeLists.txt 2008-09-08 00:27:28.000000000 +0400 +--- src/argyll/CMakeLists.txt 2008-02-19 18:02:10.000000000 -0300 ++++ src/argyll/CMakeLists.txt 2012-05-01 11:02:19.000000000 -0300 +@@ -5,9 +5,11 @@ ENDFOREACH(argyll_inc_dir) + + SET(ARGYLL_INCLUDE_DIRS "${ARGYLL_INCLUDE_DIRS}" CACHE PATH "Argyll cms include directories" FORCE) + +-SET_DIRECTORY_PROPERTIES( +- PROPERTIES +- INCLUDE_DIRECTORIES "${ARGYLL_INCLUDE_DIRS};${LIBUSB_INCLUDE_DIR};${CMAKE_SOURCE_DIR}/src/moncalqt;${WINDDK_INCLUDE_DIR}" ++INCLUDE_DIRECTORIES( ++ BEFORE ++ ${ARGYLL_INCLUDE_DIRS} ++ ${LIBUSB_INCLUDE_DIR} ++ ${CMAKE_SOURCE_DIR}/src/moncalqt + ) + + SET(ARGYLL_SOURCES @@ -83,3 +83,21 @@ PROPERTIES COMPILE_FLAGS "${argyll_flags}" diff --git a/graphics/lprof-devel/files/patch-src-lcms-CMakeLists.txt b/graphics/lprof-devel/files/patch-src-lcms-CMakeLists.txt new file mode 100644 index 000000000000..141efe565674 --- /dev/null +++ b/graphics/lprof-devel/files/patch-src-lcms-CMakeLists.txt @@ -0,0 +1,14 @@ +--- src/lcms/CMakeLists.txt 2008-02-19 18:02:38.000000000 -0300 ++++ src/lcms/CMakeLists.txt 2012-05-01 10:36:07.000000000 -0300 +@@ -1,8 +1,6 @@ +-# Note that this will override the basic include path, which we want since there might be a stock +-# lcms.h in the OS. +-SET_DIRECTORY_PROPERTIES( +- PROPERTIES +- INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include" ++INCLUDE_DIRECTORIES( ++ BEFORE ++ ${CMAKE_CURRENT_SOURCE_DIR}/include + ) + + SET(LCMSLOCAL_SOURCES diff --git a/graphics/lprof-devel/files/patch-src-liblprof-CMakeLists.txt b/graphics/lprof-devel/files/patch-src-liblprof-CMakeLists.txt new file mode 100644 index 000000000000..21efa7bf032c --- /dev/null +++ b/graphics/lprof-devel/files/patch-src-liblprof-CMakeLists.txt @@ -0,0 +1,15 @@ +--- src/liblprof/CMakeLists.txt 2008-02-19 18:02:38.000000000 -0300 ++++ src/liblprof/CMakeLists.txt 2012-05-01 10:35:39.000000000 -0300 +@@ -18,7 +18,9 @@ ADD_LIBRARY(liblprof + ${LIBLPROF_SOURCES} + ) + +-SET_DIRECTORY_PROPERTIES( +- PROPERTIES +- INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/lcms/include;${ARGYLL_INCLUDE_DIRS}" ++INCLUDE_DIRECTORIES( ++ BEFORE ++ ${CMAKE_SOURCE_DIR}/src/lcms/include ++ ${ARGYLL_INCLUDE_DIRS} + ) ++ |