Compare commits
No commits in common. "f66326f98482633b29e82ad7f990aeac8dc68854" and "58ab8bcb4d17b3b5c4a7a88e2ad82a5288210be8" have entirely different histories.
f66326f984
...
58ab8bcb4d
BIN
1.0.0.tar.gz
Normal file
BIN
1.0.0.tar.gz
Normal file
Binary file not shown.
BIN
1.0.2.tar.gz
BIN
1.0.2.tar.gz
Binary file not shown.
@ -17,15 +17,15 @@ CONSOLE_BRIDGE_LOG_NONE
|
||||
|
||||
1. Dowload RPM
|
||||
|
||||
wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/20.09:/Epol/standard_aarch64/aarch64/console_bridge-1.0.0-1.oe1.aarch64.rpm
|
||||
wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/console_bridge-2.5.6-1.oe1.aarch64.rpm
|
||||
|
||||
2. Install RPM
|
||||
|
||||
sudo rpm -ivh console_bridge-1.0.0-1.oe1.aarch64.rpm
|
||||
sudo rpm -ivh console_bridge-2.5.6-1.oe1.aarch64.rpm
|
||||
|
||||
#### Instructions
|
||||
|
||||
Exit the console_bridge directory under the /usr/local/ directory , Prove that the software installation is successful
|
||||
Exit the console_bridge file under the /opt/ros/melodic/devel_isolated/ directory , Prove that the software installation is successful
|
||||
|
||||
#### Contribution
|
||||
|
||||
|
||||
20
README.md
20
README.md
@ -1,34 +1,26 @@
|
||||
### console_bridge
|
||||
|
||||
# rospack
|
||||
|
||||
#### 介绍
|
||||
console_bridge 是独立于ROS的纯CMake(即:非catkin和非rosbuild程序包),它提供的记录调用与rosconsole中发现的记录相同,但适用于不一定使用ROS的应用程序
|
||||
rospack是一个命令行工具,用于检索有关文件系统上可用的ROS软件包的信息。它实现了各种各样的命令,从在文件系统中定位ROS软件包,列出可用软件包到计算软件包的依赖关系树。ROS生成系统中还使用它来计算软件包的生成信息。
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
该库允许将消息记录在标准输出和基于日志级别的标准输出错误中:
|
||||
CONSOLE_BRIDGE_LOG_DEBUG
|
||||
CONSOLE_BRIDGE_LOG_INFO
|
||||
CONSOLE_BRIDGE_LOG_WARN
|
||||
CONSOLE_BRIDGE_LOG_ERROR
|
||||
CONSOLE_BRIDGE_LOG_NONE
|
||||
|
||||
rospack有关堆栈的等效工具,请参见rosstack。
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. 下载rpm包
|
||||
|
||||
wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/20.09:/Epol/standard_aarch64/aarch64/console_bridge-1.0.0-1.oe1.aarch64.rpm
|
||||
wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/rospack-2.5.6-1.oe1.aarch64.rpm
|
||||
|
||||
2. 安装rpm包
|
||||
|
||||
sudo rpm -ivh console_bridge-1.0.0-1.oe1.aarch64.rpm
|
||||
sudo rpm -ivh rospack-2.5.6-1.oe1.aarch64.rpm
|
||||
|
||||
|
||||
#### 使用说明
|
||||
|
||||
安装完成以后,在/usr/local 目录下有console_bridge/文件夹证明安装成功
|
||||
安装完成以后,在/opt/ros/melodic/devel_isolated/目录下有rospack/文件夹证明安装成功
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
|
||||
@ -1,57 +1,39 @@
|
||||
%global realname console_bridge
|
||||
Name: console-bridge
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Lightweight set of macros used for reporting information in libraries
|
||||
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
URL: http://github.com/ros/console_bridge
|
||||
Source0: 1.0.2.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
Name: console_bridge
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
Summary: This is ROS melodic ros_comm's 3rdparty console_bridge
|
||||
License: GPL
|
||||
URL: https://github.com/ros/console_bridge/releases/tag/1.0.0
|
||||
Source0: https://github.com/ros/console_bridge/archive/1.0.0.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: boost-devel
|
||||
|
||||
%description
|
||||
A very lightweight set of macros that can be used for reporting information
|
||||
in libraries. The logged information can be forwarded to other systems.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
This is ROS melodic ros_comm's 3rdparty console_bridge.
|
||||
|
||||
%prep
|
||||
%setup -n %{realname}-%{version}
|
||||
|
||||
%build
|
||||
mkdir build;
|
||||
pushd build
|
||||
%cmake .. -DUSE_GNU_INSTALL_DIRS=ON
|
||||
popd
|
||||
make -C build %{?_smp_mflags}
|
||||
|
||||
%setup
|
||||
|
||||
%install
|
||||
make -C build install DESTDIR=%{buildroot}
|
||||
mkdir build/
|
||||
cd build/
|
||||
cmake ..
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
#install
|
||||
mkdir -p %{buildroot}/usr/local/
|
||||
cp -r install/* %{buildroot}/usr/local/
|
||||
|
||||
%files
|
||||
%{_libdir}/*.so.*
|
||||
%defattr(-,root,root)
|
||||
/usr/local/*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{realname}
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/%{realname}
|
||||
|
||||
%changelog
|
||||
* Thu Apr 27 2023 NiuTao niutao2@huawei.com 1.0.2-1
|
||||
- Refactor spec and update software to 1.0.2
|
||||
* Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com>
|
||||
- Package init
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user