Last active
August 29, 2015 14:09
-
-
Save chunyang/0bc1a67f6b57fc37d317 to your computer and use it in GitHub Desktop.
PKGBUILD for yarp 2.3.22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur a/yarp-2.3.22/src/libYARP_dev/src/ControlBoardInterfacesImpl.cpp b/yarp-2.3.22/src/libYARP_dev/src/ControlBoardInterfacesImpl.cpp | |
--- a/yarp-2.3.22/src/libYARP_dev/src/ControlBoardInterfacesImpl.cpp 2013-07-26 07:48:52.000000000 -0500 | |
+++ b/yarp-2.3.22/src/libYARP_dev/src/ControlBoardInterfacesImpl.cpp 2014-11-15 15:28:48.261795839 -0600 | |
@@ -25,6 +25,30 @@ | |
return false; | |
} | |
+bool StubImplPositionControl2Raw::NOT_YET_IMPLEMENTED(const char *func) | |
+{ | |
+ if (func) | |
+ fprintf(stderr, "%s:", func); | |
+ else | |
+ fprintf(stderr, "Function "); | |
+ | |
+ fprintf(stderr, "not yet implemented\n"); | |
+ | |
+ return false; | |
+} | |
+ | |
+bool StubImplPositionDirectRaw::NOT_YET_IMPLEMENTED(const char *func) | |
+{ | |
+ if (func) | |
+ fprintf(stderr, "%s:", func); | |
+ else | |
+ fprintf(stderr, "Function "); | |
+ | |
+ fprintf(stderr, "not yet implemented\n"); | |
+ | |
+ return false; | |
+} | |
+ | |
bool StubImplEncodersRaw::NOT_YET_IMPLEMENTED(const char *func) | |
{ | |
if (func) | |
diff -Naur a/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemInputStream.h b/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemInputStream.h | |
--- a/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemInputStream.h 2013-07-26 07:48:52.000000000 -0500 | |
+++ b/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemInputStream.h 2014-11-15 15:28:48.268462505 -0600 | |
@@ -23,6 +23,8 @@ | |
#include <ace/Shared_Memory_SV.h> | |
#endif | |
+#include <ace/Lib_Find.h> | |
+ | |
#include <yarp/os/Semaphore.h> | |
#include <yarp/os/Thread.h> | |
#include <yarp/os/Time.h> | |
diff -Naur a/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemOutputStream.h b/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemOutputStream.h | |
--- a/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemOutputStream.h 2013-07-26 07:48:52.000000000 -0500 | |
+++ b/yarp-2.3.22/src/libYARP_OS/include/yarp/os/impl/ShmemOutputStream.h 2014-11-15 15:28:48.268462505 -0600 | |
@@ -23,6 +23,8 @@ | |
#include <ace/Shared_Memory_SV.h> | |
#endif | |
+#include <ace/Lib_Find.h> | |
+ | |
#include <yarp/os/Semaphore.h> | |
#include <yarp/os/Thread.h> | |
#include <yarp/os/Time.h> | |
diff -Naur a/yarp-2.3.22/src/libYARP_OS/src/Network.cpp b/yarp-2.3.22/src/libYARP_OS/src/Network.cpp | |
--- a/yarp-2.3.22/src/libYARP_OS/src/Network.cpp 2013-07-26 07:48:52.000000000 -0500 | |
+++ b/yarp-2.3.22/src/libYARP_OS/src/Network.cpp 2014-11-15 15:28:48.268462505 -0600 | |
@@ -38,6 +38,7 @@ | |
#ifdef YARP_HAS_ACE | |
#include <ace/config.h> | |
#include <ace/String_Base.h> | |
+#include <ace/Init_ACE.h> | |
#endif | |
using namespace yarp::os::impl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Victor Noël | |
pkgname=yarp | |
pkgver=2.3.22 | |
pkgrel=1 | |
pkgdesc="Yet Another Robot Platform" | |
url="http://eris.liralab.it/yarp/" | |
license=('GPL') | |
arch=('i686' 'x86_64') | |
makedepends=('cmake') | |
depends=('ace' 'gtkmm' 'gsl') | |
options=(!libtool) | |
source=(http://downloads.sourceforge.net/yarp0/$pkgname-$pkgver.tar.gz | |
ace.patch) | |
build() { | |
cd $srcdir/$pkgname-$pkgver/ | |
cd $srcdir | |
patch -Np1 -i ace.patch | |
rm -rf build-$pkgname-$pkgver | |
mkdir build-$pkgname-$pkgver | |
cd build-$pkgname-$pkgver | |
cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCREATE_GUIS=TRUE -DCREATE_SHARED_LIBRARY=TRUE -DCREATE_LIB_MATH=TRUE | |
make | |
} | |
package() { | |
cd $srcdir/build-$pkgname-$pkgver | |
make DESTDIR=$pkgdir install | |
} | |
md5sums=('8955613ad9655df23d58f014ce60d3fa' | |
'46dc89fc91ce2c9f01c167d25921a67e') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment