This commit is contained in:
davidhan008 2023-03-18 20:50:49 +08:00
parent ad071a324c
commit b8b56513dc
5 changed files with 459 additions and 16 deletions

BIN
6.1.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,23 +1,98 @@
# qwt
# ros2_qwt
#### Description
Qwt - Qt Widgets for Technical Applications.
The basic software package of ros2.
#### Software Architecture
Software architecture description
https://github.com/gazebosim/qwt
input:
```
qwt-6.1.3/
├── CHANGES-6.1
├── COPYING
├── doc
├── examples
├── INSTALL
├── lib
├── playground
├── qwtbuild.pri
├── qwtconfig.pri
├── qwtfunctions.pri
├── qwt.prf
├── qwt.pro
├── README
├── src
└── textengines
```
#### Installation
1. xxxx
2. xxxx
3. xxxx
1. Download RPM
aarch64:
```
wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/openEuler_22.03_LTS_standard_aarch64/aarch64/qwt/ros-foxy-ros-qwt-6.1.3-0.oe2203.aarch64.rpm
```
x86_64:
```
wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/openEuler_22.03_LTS_standard_x86_64/x86_64/qwt/ros-foxy-ros-qwt-6.1.3-0.oe2203.x86_64.rpm
```
2. Install RPM
aarch64:
```
sudo rpm -ivh --nodeps --force ros-foxy-ros-qwt-6.1.3-0.oe2203.aarch64.rpm
```
x86_64:
```
sudo rpm -ivh --nodeps --force ros-foxy-ros-qwt-6.1.3-0.oe2203.x86_64.rpm
```
#### Instructions
1. xxxx
2. xxxx
3. xxxx
Dependence installation:
```
sh /opt/ros/foxy/install_dependence.sh
```
Exit the following output file under the /opt/ros/foxy/ directory,Prove that the software installation is successful.
output:
```
qwt/
└── share
├── ament_index
│   └── resource_index
├── colcon-core
│   └── packages
└── qwt
├── cmake
├── environment
├── hook
├── local_setup.bash
├── local_setup.dsv
├── local_setup.sh
├── local_setup.zsh
├── package.bash
├── package.dsv
├── package.ps1
├── package.sh
├── package.xml
└── package.zsh
```
#### Contribution
1. Fork the repository

View File

@ -1,24 +1,98 @@
# qwt
# ros2_qwt
#### 介绍
Qwt - Qt Widgets for Technical Applications.
The basic software package of ros2.
#### 软件架构
软件架构说明
https://github.com/gazebosim/qwt
文件内容:
```
qwt-6.1.3/
├── CHANGES-6.1
├── COPYING
├── doc
├── examples
├── INSTALL
├── lib
├── playground
├── qwtbuild.pri
├── qwtconfig.pri
├── qwtfunctions.pri
├── qwt.prf
├── qwt.pro
├── README
├── src
└── textengines
```
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
1. 下载rpm包
aarch64:
```
wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/openEuler_22.03_LTS_standard_aarch64/aarch64/qwt/ros-foxy-ros-qwt-6.1.3-0.oe2203.aarch64.rpm
```
x86_64:
```
wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/openEuler_22.03_LTS_standard_x86_64/x86_64/qwt/ros-foxy-ros-qwt-6.1.3-0.oe2203.x86_64.rpm
```
2. 安装rpm包
aarch64:
```
sudo rpm -ivh --nodeps --force ros-foxy-ros-qwt-6.1.3-0.oe2203.aarch64.rpm
```
x86_64:
```
sudo rpm -ivh --nodeps --force ros-foxy-ros-qwt-6.1.3-0.oe2203.x86_64.rpm
```
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
依赖环境安装:
```
sh /opt/ros/foxy/install_dependence.sh
```
安装完成以后,在/opt/ros/foxy/目录下如下输出,则表示安装成功。
输出:
```
qwt/
└── share
├── ament_index
│   └── resource_index
├── colcon-core
│   └── packages
└── qwt
├── cmake
├── environment
├── hook
├── local_setup.bash
├── local_setup.dsv
├── local_setup.sh
├── local_setup.zsh
├── package.bash
├── package.dsv
├── package.ps1
├── package.sh
├── package.xml
└── package.zsh
```
#### 参与贡献
1. Fork 本仓库

289
qwt.spec Normal file
View File

@ -0,0 +1,289 @@
Name: ros-foxy-ros-qwt
Version: 6.1.3
Release: 0
Summary: This is ROS2 foxy gazebo Package
License: Public Domain and Apache-2.0 and BSD and MIT and BSL-1.0 and LGPL-2.1-only and MPL-2.0 and GPL-3.0-only and GPL-2.0-or-later and MPL-1.1 and IJG and Zlib and OFL-1.1
URL: https://github.com/gazebosim/qwt
Source0: https://github.com/gazebosim/qwt/refs/tags/6.1.3.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: asio-devel
BuildRequires: tinyxml2-devel
BuildRequires: git
BuildRequires: qt5-devel
BuildRequires: bullet-devel
BuildRequires: gmock-devel
BuildRequires: suitesparse-devel
BuildRequires: lua-devel
BuildRequires: protobuf-devel
BuildRequires: cairo-devel
BuildRequires: gflags-devel
BuildRequires: freeglut-devel
BuildRequires: libXt-devel
BuildRequires: libX11-devel
BuildRequires: libXrandr-devel
BuildRequires: libXaw-devel
BuildRequires: assimp-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: yaml-cpp-devel
BuildRequires: libatomic
BuildRequires: lz4-devel
BuildRequires: sphinx
BuildRequires: bullet-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: fltk-devel
BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: gtest-devel
BuildRequires: yaml-cpp-devel
BuildRequires: libjpeg-devel
BuildRequires: swig
BuildRequires: python3-psutil
#BuildRequires: freeimage-devel
BuildRequires: libXaw-devel
BuildRequires: libcurl-devel
BuildRequires: libtar-devel
BuildRequires: tbb-devel
#BuildRequires: cppzmq-devel
BuildRequires: rubygem-sqlite3
BuildRequires: hdf5-devel
BuildRequires: graphviz-devel
BuildRequires: libusb
BuildRequires: libzip-devel
BuildRequires: sqlite-devel
BuildRequires: jsoncpp-devel
BuildRequires: openal-soft-devel
BuildRequires: openblas-devel
BuildRequires: lapack-devel
BuildRequires: freeglut-devel
BuildRequires: libatomic
BuildRequires: zlib
BuildRequires: zeromq-devel
BuildRequires: openeuler-lsb
BuildRequires: ruby-devel
BuildRequires: rubygem-rexml
#BuildRequires: freeimage-devel
%description
This is ROS2 foxy gazebo Package.
%prep
%setup
%install
cd 3rdparty/
cd empy-3.3.4/
python3 setup.py install --user
cd ..
cd six-1.15.0/
python3 setup.py install --user
cd ..
cd setuptools_scm-4.1.2/
python3 setup.py install --user
cd ..
cd python-dateutil-2.8.1/
python3 setup.py install --user
cd ..
cd pyparsing-2.4.7/
python3 setup.py install --user
cd ..
cd docutils-0.16/
python3 setup.py install --user
cd ..
cd catkin_pkg-0.4.22/
python3 setup.py install --user
cd ..
#ros2
cd distlib-0.3.3/
python3 setup.py install --user
cd ..
cd attrs-21.2.0
python3 setup.py install --user
cd ..
cd more-itertools-5.0.0
python3 setup.py install --user
cd ..
cd zipp-1.0.0
python3 setup.py install --user
cd ..
cd wheel-0.33.0
python3 setup.py install --user
cd ..
cd toml-0.10.2
python3 setup.py install --user
cd ..
cd importlib_metadata-3.8.0
python3 setup.py install --user
cd ..
cd py-1.11.0
python3 setup.py install --user
cd ..
cd packaging-21.3
python3 setup.py install --user
cd ..
cd iniconfig-1.1.1
python3 setup.py install --user
cd ..
cd pluggy-1.0.0
python3 setup.py install --user
cd ..
cd typing_extensions-3.7.4
python3 setup.py install --user
cd ..
cd pytest-6.2.5
python3 setup.py install --user
cd ..
cd coverage-5.4
python3 setup.py install --user
cd ..
cd pytest-cov-3.0.0
python3 setup.py install --user
cd ..
cd pytest-repeat-0.9.1
python3 setup.py install --user
cd ..
cd pytest-rerunfailures-10.2
python3 setup.py install --user
cd ..
cd pytest-runner-5.3.1
python3 setup.py install --user
cd ..
cd PyYAML-5.4
python3 setup.py install --user
cd ..
#cd setuptools-50.0.0
#python3 setup.py install --user
#cd ..
cd argcomplete-1.11.1
python3 setup.py install --user
cd ..
cd notify2-0.3.1
python3 setup.py install --user
cd ..
cd lark-1.0.0
python3 setup.py install --user
cd ..
# for 21.03 python3.8
#cd setuptools-50.0.0
#python3 setup.py install --user
#cd ..
#cd Cython-0.29.24
#python3 setup.py install --user
#cd ..
#cd numpy-1.19.2
#python3 setup.py install --user
#cd ..
# for factory python3.10
#cd setuptools-50.0.0 need detel setuptools
#python3 setup.py install --user
#cd ..
cd Cython-0.29.24
python3 setup.py install --user
cd ..
cd numpy-1.21.2
python3 setup.py install --user
cd ..
####cpp 相关依赖库
export BUILD_PLATFORM=`uname -m`
if (($BUILD_PLATFORM=="aarch64"))
then
BUILD_PLATFORM="arm"
fi
cd gts-0.7.6
./configure --prefix=$PWD/../../workspace/install/ --build=$BUILD_PLATFORM --enable-shared
make -j8
make install
cd ..
cd qwt-6.1.3
/usr/bin/qmake-qt5 qwt.pro
make -j8
make install
cd ..
cd ..
# for colcon build tools
cd build_tools
export BUILD_WORSPCE=$PWD
./colcon/colcon-core/bin/colcon build --paths colcon/* --merge-install
source install/local_setup.sh
cd ..
# for workspace
cd workspace
colcon build --merge-install
cp ../install_dependence.sh install/
cp -r ../build_tools/install/bin install/
cp -r ../build_tools/install/lib install/
cp -r ../build_tools/install/share install/
####
# 对install内部的变量名称进行替换
#
####
SRC_PATH=$PWD/install
DST_PATH=/opt/ros/foxy
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
SRC_PATH=$BUILD_WORSPCE/install
DST_PATH=/opt/ros/foxy
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
####
# install
#
####
mkdir -p %{buildroot}/opt/ros/foxy/
cp -r install/* %{buildroot}/opt/ros/foxy/
#cp install/share/gazebo-11/setup.sh %{buildroot}/opt/ros/foxy/share/gazebo/local_setup.bash
%files
%defattr(-,root,root)
/opt/ros/foxy/*
%changelog
* Sat Nov 19 2022 openEuler Buildteam <hanhaomin008@126.com> - 6.1.3
- Fix Package name

5
qwt.yaml Normal file
View File

@ -0,0 +1,5 @@
---
version_control: git
src_repo: https://github.com/gazebosim/qwt
tag_prefix: 6.1.3
separator: "."