[64729] trunk/dports/devel/orocos-kdl

nox at macports.org nox at macports.org
Mon Mar 15 06:12:14 PDT 2010


Revision: 64729
          http://trac.macports.org/changeset/64729
Author:   nox at macports.org
Date:     2010-03-15 06:12:13 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
Update orocos-kdl to 1.0.2

Changes:
> * fix Bug 713 - Weighted DLS solver: Weight matrix doc, applied
>   Attachment 522, from Adolfo
> * Applied 0001-Add-functions-to-match-Vector2-interface-to-Vector.patch,
>   from Stephen
> * Applied 0001-Correct-const-ness-of-quaternion-function-in-Frame.patch,
>   from Stephen
> * Only build bindings if SIP_IS_GOOD
> * fix wrong initial size in jacobian
> * fix tests
> * try to fix compilation of kdl in win32 with mingw
> * Fix building the bindings with cmake 2.4 and cmake 2.6
> * Fix for Bug 743: Python bindings crash when printing a Jacobian, use a
>   stringstream instead of charbuffer
> * fix multiplication bug, thanks Baris for reporting
> * fix installation problems due to: Default path behavior has changed
>   between CMake 2.8 and 2.6., thanks Stephen for the patch

Modified Paths:
--------------
    trunk/dports/devel/orocos-kdl/Portfile

Removed Paths:
-------------
    trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff

Modified: trunk/dports/devel/orocos-kdl/Portfile
===================================================================
--- trunk/dports/devel/orocos-kdl/Portfile	2010-03-15 13:12:00 UTC (rev 64728)
+++ trunk/dports/devel/orocos-kdl/Portfile	2010-03-15 13:12:13 UTC (rev 64729)
@@ -5,8 +5,7 @@
 PortGroup       cmake 1.0
 
 name            orocos-kdl
-version         1.0.1
-revision        2
+version         1.0.2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel
 maintainers     nox openmaintainer
@@ -28,19 +27,15 @@
 distname        ${name}-${version}-src
 use_bzip2       yes
 
-checksums       md5     eb17a59cb124e4deb676398f990fb406 \
-                sha1    649e0b6f1b41140b1bed8724d8ef478871e5d388 \
-                rmd160  6107eb5f2b81494939b9525f41eda58f64e4e9ae
+checksums       md5     4f786fcf415d2db64681ad487c25f419 \
+                sha1    dd06fe5bff8dfa1940fc80cd2b2f84ce25bea4e7 \
+                rmd160  c98d51f8f2039d54acd4ef5fd95981b6f228c95f
 
 worksrcdir      kdl-${version}
 
 post-patch {
     reinplace {s/SIP_VERSION GREATER/SIP_VERSION STRGREATER/} \
         ${worksrcpath}/config/FindSIPandPython.cmake
-    reinplace {s at src/orocos-kdl\.pc at orocos-kdl.pc@} \
-        ${worksrcpath}/src/CMakeLists.txt
-    reinplace {s@\.in src/bindings/rtt/@.in @} \
-        ${worksrcpath}/src/bindings/rtt/CMakeLists.txt
 }
 
 depends_lib \
@@ -62,8 +57,12 @@
     -DOROCOS_TARGET=macosx
 
 variant python26 description "Enable Python 2.6 bindings" {
-    patchfiles-append \
-        patch-src-bindings-python-CMakeLists.txt.diff
+    post-patch {
+        reinplace {s:\*\.sip:PyKDL/&:} \
+            ${worksrcpath}/src/bindings/python/CMakeLists.txt
+        reinplace {/#set/s:.*:INSTALL(FILES \${SIP_FILES} DESTINATION share/sip/PyKDL):} \
+            ${worksrcpath}/src/bindings/python/CMakeLists.txt
+    }
 
     depends_lib-append \
         port:py26-sip \
@@ -71,14 +70,6 @@
 
     configure.args-append \
         -DPYTHON_BINDINGS=1
-
-    post-destroot {
-        set fw ${prefix}/Library/Frameworks/Python.framework/Versions/2.6
-        set pylib ${prefix}/lib/python2.6/site-packages/PyKDL.so
-        xinstall -d ${destroot}${fw}/lib/python2.6/site-packages
-        move ${destroot}${pylib} \
-            ${destroot}${fw}/lib/python2.6/site-packages
-    }
 }
 
 livecheck.type  regex

Deleted: trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff
===================================================================
--- trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff	2010-03-15 13:12:00 UTC (rev 64728)
+++ trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff	2010-03-15 13:12:13 UTC (rev 64729)
@@ -1,11 +0,0 @@
---- src/bindings/python/CMakeLists.txt.orig	2010-02-12 15:06:14.000000000 +0100
-+++ src/bindings/python/CMakeLists.txt	2010-02-12 15:06:56.000000000 +0100
-@@ -65,6 +65,7 @@
- 
- # Step 4: install built libs to python's site packages
- INSTALL(FILES ${BINDINGS_LIBS} DESTINATION ${PYTHON_INSTDIR})
-+INSTALL(FILES ${SIP_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sip/PyKDL)
- 
- 
- ENDIF(HAVE_PYTHON)
-\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100315/7d693fea/attachment.html>


More information about the macports-changes mailing list