Ticket #22642: playerstage2.diff
File playerstage2.diff, 5.7 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
playerstage-player/files/patch-CMakeLists.txt
1 --- utils/playerjoy/CMakeLists.txt.orig 2009-07-13 21:48:56.000000000 -0500 2 +++ utils/playerjoy/CMakeLists.txt 2009-11-22 07:22:56.000000000 -0600 3 @@ -4,7 +4,7 @@ 4 MESSAGE (STATUS "playerjoy will not be built - termios and joystick are not supported under Windows") 5 ELSE (PLAYER_OS_WIN) 6 IF (BUILD_PLAYERCC) 7 - INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/client_libs ${PROJECT_BINARY_DIR}/client_libs) 8 + INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/client_libs ${PROJECT_BINARY_DIR}/client_libs @PREFIX@/include) 9 10 LINK_DIRECTORIES (${PLAYERCC_EXTRA_LINK_DIRS}) 11 PLAYER_ADD_EXECUTABLE (playerjoy playerjoy.cc) 12 --- utils/playerprint/CMakeLists.txt.orig 2009-07-13 09:03:44.000000000 -0500 13 +++ utils/playerprint/CMakeLists.txt 2009-11-22 08:11:54.000000000 -0600 14 @@ -18,7 +18,7 @@ 15 INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/replace) 16 ENDIF (NOT HAVE_GETTIMEOFDAY) 17 18 - INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/client_libs ${PROJECT_BINARY_DIR}/client_libs) 19 + INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/client_libs ${PROJECT_BINARY_DIR}/client_libs @PREFIX@/include) 20 21 LINK_DIRECTORIES (${PLAYERCC_EXTRA_LINK_DIRS}) 22 PLAYER_ADD_EXECUTABLE (playerprint playerprint.cc ${getoptSrc} ${usleepSrc} ${gettimeofdaySrc}) 23 --- utils/playerprop/CMakeLists.txt.orig 2009-07-13 09:03:44.000000000 -0500 24 +++ utils/playerprop/CMakeLists.txt 2009-11-22 08:21:09.000000000 -0600 25 @@ -8,7 +8,7 @@ 26 INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/replace) 27 SET (playerreplaceLib playerreplace) 28 ENDIF (NOT HAVE_GETOPT) 29 - INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/client_libs ${PROJECT_BINARY_DIR}/client_libs) 30 + INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/client_libs ${PROJECT_BINARY_DIR}/client_libs @PREFIX@/include) 31 32 LINK_DIRECTORIES (${PLAYERCC_EXTRA_LINK_DIRS}) 33 PLAYER_ADD_EXECUTABLE (playerprop playerprop.cpp ${getoptSrc}) -
playerstage-player/Portfile
Property changes on: playerstage-player/files/patch-CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style + native
1 1 # $Id$ 2 2 3 PortSystem 1.0 4 PortGroup cmake 1.0 5 3 6 name playerstage-player 4 version 2.0.4 5 revision 2 7 version 3.0.0 6 8 categories science 7 9 platforms darwin 8 10 maintainers ai.sri.com:vincent … … 18 20 master_sites sourceforge:playerstage 19 21 20 22 distname player-${version} 21 use_bzip2 yes22 checksums sha1 96ae46abe9a81cab045b2a9ae6479a44fc6f2ac223 23 24 worksrcdir player-${version} 24 checksums md5 5beee8655754559d5b80d9fcfbd3dd69 \ 25 sha1 5f24d7cd0565f98bf7a2615694304cf90e8fb679 \ 26 rmd160 3a07213b51e8cc9ccd68a75c539a0fb9056b5127 27 28 # Some of the utils can't find the boost headers... 29 patchfiles patch-CMakeLists.txt 30 post-patch { 31 reinplace "s|@PREFIX@|${prefix}|g" \ 32 ${worksrcpath}/utils/playerjoy/CMakeLists.txt \ 33 ${worksrcpath}/utils/playerprint/CMakeLists.txt \ 34 ${worksrcpath}/utils/playerprop/CMakeLists.txt 35 } 25 36 26 37 depends_build port:libtool port:pkgconfig 38 27 39 depends_lib port:gtk2 \ 28 40 port:jpeg \ 29 41 port:libpng \ … … 31 43 port:tiff \ 32 44 port:boost \ 33 45 port:gsl \ 34 port:python25 \ 35 port:swig-python 36 37 configure.env PYTHON=python2.5 38 39 use_parallel_build no 46 port:python26 \ 47 port:swig-python \ 48 port:swig-ruby -
playerstage-stage/Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.0 4 PortGroup cmake 1.0 5 PortGroup archcheck 1.0 6 3 7 name playerstage-stage 4 version 2.0.38 version 3.2.2 5 9 categories science 6 10 platforms darwin 7 11 maintainers ai.sri.com:vincent … … 16 20 homepage http://playerstage.sourceforge.net 17 21 master_sites sourceforge:playerstage 18 22 19 distname stage-${version} 20 use_bzip2 yes 21 checksums sha1 2595fa2b004cc81fcdd89d1630bffa55304c7522 23 distname Stage-${version}-Source 24 25 checksums md5 ca93c7c9746354679829092640c49ec6 \ 26 sha1 783e16c179c76a65b64ad352c500f8ef6f3f1f2c \ 27 rmd160 c0143cbcb5365110f7990fee27c3537cdad3a433 28 29 depends_build port:pkgconfig \ 30 port:fltk 31 32 depends_lib port:playerstage-player \ 33 port:libtool \ 34 port:libpng \ 35 port:jpeg 22 36 23 worksrcdir stage-${version} 37 archcheck.files lib/libfltk.a \ 38 lib/libplayercore.dylib \ 39 lib/libltdl.dylib \ 40 lib/libpng.dylib \ 41 lib/libjpeg.dylib 24 42 25 depends_lib port:playerstage-player 43 # fltk is 32-bit only. 44 universal_variant no 45 if {${build_arch} == "x86_64"} { 46 configure.build_arch i386 47 } elseif {${build_arch} == "ppc64"} { 48 configure.build_arch ppc 49 }