Ticket #25309: peekabot-0.7.2.patch
File peekabot-0.7.2.patch, 7.7 KB (added by staffan@…, 14 years ago) |
---|
-
peekabot/Portfile
4 4 PortSystem 1.0 5 5 6 6 name peekabot 7 version 0.7. 17 version 0.7.2 8 8 categories science devel 9 9 maintainers gimaker.se:staffan \ 10 10 openmaintainer 11 description A 3D visualization tool for robotics 12 long_description peekabot is a distributed real-time 3D visualization \ 13 tool for robotics researchers and developers written \ 14 in C++. Its purpose is to simplify the visualization \ 15 needs faced by roboticists daily. 11 description peekabot meta-package 12 long_description This package installs both the peekabot client and \ 13 server packages. peekabot is a 3D visualization tool \ 14 for robotics. 16 15 homepage http://www.peekabot.org/ 17 16 platforms darwin 18 master_sites sourceforge19 use_bzip2 yes20 use_parallel_build yes21 17 22 checksums md5 af4640416fa678766182305975bc0797 \ 23 sha1 b3065fa6b325db76a9494d1265fde6c6164d9cbe \ 24 rmd160 3765a57ebd622d5dac7049ec7d742841ec9e6fcd 18 depends_lib port:peekabot-server \ 19 port:peekabot-client 25 20 26 depends_lib port:boost \ 27 port:xercesc \ 28 port:fltk \ 29 port:libpng \ 30 port:freetype 21 use_configure no 22 fetch {} 23 checksum {} 24 build {} 25 26 destroot { 27 # Install a dummy file to keep MacPorts from complaining that the destroot 28 # directory is empty. 29 xinstall -d ${destroot}${prefix}/share/${name} 30 system "touch ${destroot}${prefix}/share/${name}/dummy.txt" 31 } 32 33 if {[info exists supported_archs]} { 34 supported_archs noarch 35 } -
peekabot-client/files/patch-disable_compression.diff
1 === modified file 'src/client/ServerConnection.cc' 2 --- src/client/ServerConnection.cc 2009-06-26 08:09:49 +0000 3 +++ src/client/ServerConnection.cc 2010-06-16 15:00:01 +0000 4 @@ -307,7 +307,7 @@ 5 assert( uncomp_len > 0 ); 6 7 // Compress data? 8 - if( uncomp_len > 128 ) 9 + if( false && uncomp_len > 128 ) 10 { 11 // require at least 5% compression, or it's not worth the effort 12 boost::scoped_array<boost::uint8_t> comp( 13 -
peekabot-client/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 57215 2009-09-07 17:38:30Z toby@macports.org $ 3 4 PortSystem 1.0 5 6 name peekabot-client 7 version 0.7.2 8 categories science devel 9 maintainers gimaker.se:staffan \ 10 openmaintainer 11 description The peekabot client library 12 long_description peekabot is a distributed real-time 3D visualization \ 13 tool for robotics researchers and developers written \ 14 in C++. Its purpose is to simplify the visualization \ 15 needs faced by roboticists daily. 16 homepage http://www.peekabot.org/ 17 platforms darwin 18 master_sites sourceforge:peekabot 19 distfiles peekabot-${version}.tar.bz2 20 use_bzip2 yes 21 use_parallel_build yes 22 worksrcdir peekabot-${version} 23 dist_subdir peekabot 24 25 checksums md5 091f588e3b1931de2454539c797f7526 \ 26 sha1 f4d42249059af92db8b70fd12c48c9c3e990cd95 \ 27 rmd160 24861d4dc9dcf87f41c2ddb159a709958d1a7f65 28 29 depends_lib port:boost 30 31 configure.args --disable-server 32 33 # Disable compression since using it produces a mysterious memory fault 34 # that I cannot figure out why it occurs 35 patchfiles patch-disable_compression.diff -
peekabot-server/files/patch-xercesc3.diff
1 === modified file 'src/XercesParser.cc' 2 --- src/XercesParser.cc 2009-03-23 18:18:47 +0000 3 +++ src/XercesParser.cc 2010-06-16 15:00:39 +0000 4 @@ -282,7 +282,7 @@ 5 } 6 7 void XercesParser::XercesHandler::characters(const XMLCh* const chars, 8 - const unsigned int length) 9 + const XMLSize_t length) 10 { 11 update_line_info(); 12 13 14 === modified file 'src/XercesParser.hh' 15 --- src/XercesParser.hh 2009-05-20 14:07:50 +0000 16 +++ src/XercesParser.hh 2010-06-16 15:00:39 +0000 17 @@ -105,7 +105,7 @@ 18 19 virtual void characters( 20 const XMLCh* const chars, 21 - const unsigned int length); 22 + const XMLSize_t length); 23 24 virtual void error( 25 const xercesc::SAXParseException& exception) 26 -
peekabot-server/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 57215 2009-09-07 17:38:30Z toby@macports.org $ 3 4 PortSystem 1.0 5 6 name peekabot-server 7 version 0.7.2 8 categories science devel 9 maintainers gimaker.se:staffan \ 10 openmaintainer 11 description The peekabot visualization server 12 long_description peekabot is a distributed real-time 3D visualization \ 13 tool for robotics researchers and developers written \ 14 in C++. Its purpose is to simplify the visualization \ 15 needs faced by roboticists daily. 16 homepage http://www.peekabot.org/ 17 platforms darwin 18 master_sites sourceforge:peekabot 19 distfiles peekabot-${version}.tar.bz2 20 use_bzip2 yes 21 use_parallel_build yes 22 worksrcdir peekabot-${version} 23 dist_subdir peekabot 24 25 checksums md5 091f588e3b1931de2454539c797f7526 \ 26 sha1 f4d42249059af92db8b70fd12c48c9c3e990cd95 \ 27 rmd160 24861d4dc9dcf87f41c2ddb159a709958d1a7f65 28 29 depends_lib port:boost \ 30 port:xercesc3 \ 31 port:fltk \ 32 port:libpng \ 33 port:freetype 34 35 # Disable the universal build since we can't compile in 64-bit mode, see below. 36 universal_variant no 37 38 configure.args --disable-client-lib 39 40 # Patch it up to make it compatible with the API changes in Xerces-C++ 3.x 41 patchfiles patch-xercesc3.diff 42 43 # Force a 32-bit on 64-bit machines since FLTK 1.1.x does not build on x86_64 44 if {${build_arch} == "x86_64"} { 45 configure.build_arch i386 46 }