Ticket #27198: kdelibs4-svn_0.diff
File kdelibs4-svn_0.diff, 4.8 KB (added by michaelld (Michael Dickens), 14 years ago) |
---|
-
files/patch-cmake-modules-FindQt4.cmake.diff
1 --- kdelibs-4.5.3/cmake/modules/FindQt4.cmake.orig 2010-11-23 15:17:37.000000000 -0500 2 +++ kdelibs-4.5.3/cmake/modules/FindQt4.cmake 2010-11-23 15:30:23.000000000 -0500 3 @@ -1178,7 +1178,14 @@ 4 QT_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE AND QT_QTCORE_LIBRARY) 5 SET( QT4_FOUND "YES" ) 6 IF( NOT Qt4_FIND_QUIETLY) 7 - MESSAGE(STATUS "Found Qt-Version ${QTVERSION} (using ${QT_QMAKE_EXECUTABLE})") 8 + MESSAGE(STATUS "Found Qt-Version ${QTVERSION}") 9 + MESSAGE(STATUS " -> QT_QMAKE_EXECUTABLE is ${QT_QMAKE_EXECUTABLE}") 10 + MESSAGE(STATUS " -> QT_INCLUDE_DIR is ${QT_INCLUDE_DIR}") 11 + MESSAGE(STATUS " -> QT_QTCORE_INCLUDE_DIR is ${QT_QTCORE_INCLUDE_DIR}") 12 + MESSAGE(STATUS " -> QT_BINARY_DIR is ${QT_BINARY_DIR}") 13 + MESSAGE(STATUS " -> QT_LIBRARY_DIR is ${QT_LIBRARY_DIR}") 14 + MESSAGE(STATUS " -> QT_PLUGINS_DIR is ${QT_PLUGINS_DIR}") 15 + MESSAGE(STATUS " -> QT_MKSPECS_DIR is ${QT_MKSPECS_DIR}") 16 ENDIF( NOT Qt4_FIND_QUIETLY) 17 ELSE( QT_LIBRARY_DIR AND QT_INCLUDE_DIR AND QT_MOC_EXECUTABLE AND 18 QT_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE AND QT_QTCORE_LIBRARY) -
files/patch-cmake-modules-FindPhonon.cmake.diff
1 --- kdelibs-4.5.3/cmake/modules/FindPhonon.cmake.orig 2010-11-23 15:53:43.000000000 -0500 2 +++ kdelibs-4.5.3/cmake/modules/FindPhonon.cmake 2010-11-23 15:54:39.000000000 -0500 3 @@ -21,9 +21,16 @@ 4 set(PHONON_VERSION "${CMAKE_MATCH_1}") 5 endmacro(_phonon_find_version) 6 7 +MESSAGE(STATUS "Looking for Phonon") 8 +message(STATUS " -> KDE4_INCLUDE_INSTALL_DIR is ${KDE4_INCLUDE_INSTALL_DIR}") 9 +message(STATUS " -> KDE4_LIB_INSTALL_DIR is ${KDE4_LIB_INSTALL_DIR}") 10 +message(STATUS " -> INCLUDE_INSTALL_DIR is ${INCLUDE_INSTALL_DIR}") 11 +message(STATUS " -> QT_LIBRARY_DIR is ${QT_LIBRARY_DIR}") 12 +message(STATUS " -> QT_INCLUDE_DIR is ${QT_INCLUDE_DIR}") 13 + 14 # the dirs listed with HINTS are searched before the default sets of dirs 15 -find_library(PHONON_LIBRARY NAMES phonon HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR}) 16 -find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h HINTS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ${QT_LIBRARY_DIR}) 17 +find_library(PHONON_LIBRARY NAMES phonon HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) 18 +find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h HINTS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) 19 20 if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY) 21 set(PHONON_LIBS ${phonon_LIB_DEPENDS} ${PHONON_LIBRARY}) 22 @@ -31,6 +38,11 @@ 23 _phonon_find_version() 24 endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY) 25 26 +MESSAGE(STATUS "Results of Search for Phonon") 27 +MESSAGE(STATUS " -> PHONON_VERSION is ${PHONON_VERSION}") 28 +MESSAGE(STATUS " -> PHONON_INCLUDE_DIR is ${PHONON_INCLUDE_DIR}") 29 +MESSAGE(STATUS " -> PHONON_LIBRARY is ${PHONON_LIBRARY}") 30 + 31 include(FindPackageHandleStandardArgs) 32 find_package_handle_standard_args(Phonon DEFAULT_MSG PHONON_INCLUDE_DIR PHONON_LIBRARY) 33 -
Portfile
21 21 22 22 depends_build-append port:flex port:gmake 23 23 24 depends_lib-append \ 25 port:bzip2 port:zlib \ 24 depends_lib-append port:bzip2 port:zlib \ 26 25 port:soprano port:cyrus-sasl2 \ 27 26 port:strigi port:gettext \ 28 27 port:pcre port:shared-mime-info \ … … 46 45 default-kde4-xdg-menu-prefix.patch \ 47 46 fix-bundle-icons.patch \ 48 47 workaround-kdeinit4-crash.patch \ 49 patch-cmake-modules-FindKDE4-Internal.cmake.diff 48 patch-cmake-modules-FindKDE4-Internal.cmake.diff \ 49 patch-cmake-modules-FindPhonon.cmake.diff \ 50 patch-cmake-modules-FindQt4.cmake.diff 50 51 51 patch.dir ${workpath}/${distname}52 # patch.dir ${workpath}/${distname} 52 53 patch.pre_args -p1 53 54 54 55 … … 66 67 -DJASPER_LIBRARY=${prefix}/lib/libjasper.dylib \ 67 68 -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \ 68 69 -DPNG_PNG_INCLUDE_DIR=${prefix}/include \ 69 -DQT_PNG_LIBRARY=${prefix}/lib/libpng.dylib \70 70 -DWITH_FAM=OFF 71 71 72 72 if { [file exists ${destroot}${prefix}/lib/kde4/kspell_aspell.so] } {