diff --git a/1.12.1-0.tar.gz b/1.12.1-0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..12d805e33afe9fef971a07bfc4836d7e716f9b61 Binary files /dev/null and b/1.12.1-0.tar.gz differ diff --git a/README.en.md b/README.en.md index 704628a11311611de55ae1e8897ba5269a9dded9..0f5e66961d1434d9067328bd1645d0d47677dbfe 100644 --- a/README.en.md +++ b/README.en.md @@ -1,22 +1,26 @@ # pluginlib #### Description -pluginlib package that belongs to THE ROS-COMM + +The pluginlib package provides tools for writing and dynamically loading plugins using the ROS build infrastructure. To work, these tools require plugin providers to register their plugins in the package.xml of their package. pluginlib is a C++ library for loading and unloading plugins from within a ROS package. Plugins are dynamically loadable classes that are loaded from a runtime library (i.e. shared object, dynamically linked library). With pluginlib, one does not have to explicitly link their application against the library containing the classes -- instead pluginlib can open a library containing exported classes at any point without the application having any prior awareness of the library or the header file containing the class definition. Plugins are useful for extending/modifying application behavior without needing the application source code. #### Software Architecture -Software architecture description + +Pluginlib includes The Plugin Description File and Registering/Exporting a Plugin Class #### Installation -1. xxxx -2. xxxx -3. xxxx +1. Dowload RPM + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/pluginlib-1.12.1-1.oe1.aarch64.rpm + +2. Install RPM + +sudo rpm -ivh pluginlib-1.12.1-1.oe1.aarch64.rpm #### Instructions -1. xxxx -2. xxxx -3. xxxx +Exit the pluginlib file under the /opt/ros/melodic/devel_isolated/ directory , Prove that the software installation is successful #### Contribution diff --git a/README.md b/README.md index 1d39435a4fa458041084426dfc72de2d0011563a..80304ae00d6e1879897f73b08275b073af823093 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,27 @@ # pluginlib #### 介绍 -pluginlib package that belongs to THE ROS-COMM +pluginlib软件包提供了使用ROS构建基础结构编写和动态加载插件的工具。这些工具需要插件提供者才能在其程序包的package.xml中注册其插件才能正常工作。 +pluginlib是一个C ++库,用于从ROS包中加载和卸载插件。插件是从运行时库(即共享对象,动态链接库)加载的可动态加载的类。使用pluginlib,不必将其应用程序显式链接到包含类的库,而是pluginlib可以随时打开包含导出类的库,而无需应用程序事先知道包含类定义的库或头文件。插件可用于扩展/修改应用程序行为,而无需应用程序源代码。 #### 软件架构 软件架构说明 +Pluginlib 包含注册/导出插件的类和插件描述xml文件 #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 下载rpm包 + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/pluginlib-1.12.1-1.oe1.aarch64.rpm + +2. 安装rpm包 + +sudo rpm -ivh pluginlib-1.12.1-1.oe1.aarch64.rpm #### 使用说明 -1. xxxx -2. xxxx -3. xxxx +安装完成以后,在/opt/ros/melodic/devel_isolated/目录下有pluginlib/文件夹证明安装成功 #### 参与贡献 diff --git a/pluginlib.spec b/pluginlib.spec new file mode 100644 index 0000000000000000000000000000000000000000..023f8ff3aeda4386b78c39086b3fe00e9a66f2a6 --- /dev/null +++ b/pluginlib.spec @@ -0,0 +1,136 @@ +Name: pluginlib +Version: 1.12.1 +Release: 2 +Summary: This is ROS melodic pluginlib Package +License: GPL +URL: https://github.com/ros-gbp/pluginlib-release/archive/release/melodic/pluginlib +Source0: https://github.com/ros-gbp/pluginlib-release/archive/release/melodic/pluginlib/1.12.1-0.tar.gz +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: python-devel +BuildRequires: python-setuptools +#Requires: python-empy +BuildRequires: openssl-devel +#BuildRequires: gcc-gfortran +#BuildRequires: openblas-devel +#BuildRequires: sqlite-devel +#BuildRequires: fftw-devel +BuildRequires: boost-devel +#BuildRequires: python3-devel +#BuildRequires: boost-python3-devel + +%description +This is ROS melodic pluginlib Package. + +%prep +%setup +#cd catkin-0.7.26/ + + + + +#%build + +#pwd +#mkdir build/ +#cd build/ && cmake .. + + + +%install +pwd + +#mkdir -p build/ +#cd build/ +#cmake .. +#cd .. + +cd src/ +cd 3rdparty/ + +cd empy-3.3.4/ +python setup.py install --user +cd .. + +cd six-1.15.0/ +python setup.py install --user +cd .. + +cd setuptools_scm-4.1.2/ +python setup.py install --user +cd .. + +cd python-dateutil-2.8.1/ +python setup.py install --user +cd .. + +cd pyparsing-2.4.7/ +python setup.py install --user +cd .. + +cd docutils-0.16/ +python setup.py install --user +cd .. + +cd catkin_pkg-0.4.22/ +python setup.py install --user +cd .. + + +cd console_bridge/ +mkdir build/ +cd build/ +cmake .. +make +make install +cd .. +cd .. + +cd poco/ +mkdir cmake-build/ +mkdir cmake-release/ +cd cmake-build/ +cmake .. +make -j8 +make install +cd .. +cd .. + + +cd tinyxml2/ +mkdir build +cd build +cmake .. +make -j5 +make install +cd .. +cd .. + + + +cd .. +cd .. + + + +#compile +./src/catkin/bin/catkin_make_isolated + + +#install +mkdir -p %{buildroot}/opt/ros/melodic/ +cp -r devel_isolated/* %{buildroot}/opt/ros/melodic/ + +echo %{buildroot} + + +%files +#%defattr(-,root,root) +#/opt/ros/melodic/* +/opt/ros/melodic/* +#/usr/lib/share/catkin/cmake/* + +%changelog +* Thu May 28 2020 openEuler Buildteam - 19.4-1 +- Package init +