Ticket #25309: peekabot-0.7.2-take2.patch
File peekabot-0.7.2-take2.patch, 7.5 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 sourceforge 19 use_bzip2 yes 20 use_parallel_build yes 17 distfiles 21 18 22 checksums md5 af4640416fa678766182305975bc0797 \ 23 sha1 b3065fa6b325db76a9494d1265fde6c6164d9cbe \ 24 rmd160 3765a57ebd622d5dac7049ec7d742841ec9e6fcd 19 depends_lib port:peekabot-server \ 20 port:peekabot-client 25 21 26 depends_lib port:boost \ 27 port:xercesc \ 28 port:fltk \ 29 port:libpng \ 30 port:freetype 22 use_configure no 23 build {} 24 supported_archs noarch 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 } -
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 distname peekabot-${version} 19 dist_subdir peekabot 20 master_sites sourceforge:peekabot 21 use_bzip2 yes 22 use_parallel_build yes 23 24 checksums md5 091f588e3b1931de2454539c797f7526 \ 25 sha1 f4d42249059af92db8b70fd12c48c9c3e990cd95 \ 26 rmd160 24861d4dc9dcf87f41c2ddb159a709958d1a7f65 27 28 depends_lib port:boost 29 30 configure.args --disable-server 31 32 # Disable compression since using it produces a mysterious memory fault 33 # that I cannot figure out why it occurs 34 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 distname peekabot-${version} 19 dist_subdir peekabot 20 master_sites sourceforge:peekabot 21 use_bzip2 yes 22 use_parallel_build yes 23 24 checksums md5 091f588e3b1931de2454539c797f7526 \ 25 sha1 f4d42249059af92db8b70fd12c48c9c3e990cd95 \ 26 rmd160 24861d4dc9dcf87f41c2ddb159a709958d1a7f65 27 28 depends_lib port:boost \ 29 port:xercesc3 \ 30 port:fltk \ 31 port:libpng \ 32 port:freetype 33 34 depends_build port:pkgconfig 35 36 # FLTK 1.1.x doesn't build on x86_64 37 supported_archs i386 ppc 38 # Disable the universal build since we can't compile in 64-bit mode, see below. 39 universal_variant no 40 41 configure.args --disable-client-lib 42 43 # Patch it up to make it compatible with the API changes in Xerces-C++ 3.x 44 patchfiles patch-xercesc3.diff