update qwt to 6.2.0
This commit is contained in:
parent
4d8177f2ad
commit
573bea3c75
BIN
6.1.3.tar.gz
BIN
6.1.3.tar.gz
Binary file not shown.
BIN
qwt-6.2.0.tar.bz2
Normal file
BIN
qwt-6.2.0.tar.bz2
Normal file
Binary file not shown.
44
qwt-libsuffix.patch
Normal file
44
qwt-libsuffix.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
diff -rupN --no-dereference qwt-6.2.0/qwtfunctions.pri qwt-6.2.0-new/qwtfunctions.pri
|
||||||
|
--- qwt-6.2.0/qwtfunctions.pri 2021-07-18 13:19:33.644367625 +0200
|
||||||
|
+++ qwt-6.2.0-new/qwtfunctions.pri 2022-11-29 15:38:14.943070118 +0100
|
||||||
|
@@ -12,7 +12,12 @@
|
||||||
|
defineReplace(qwtLibraryTarget) {
|
||||||
|
|
||||||
|
unset(LIBRARY_NAME)
|
||||||
|
+
|
||||||
|
+ greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
+ LIBRARY_NAME = $${1}-qt$${QT_MAJOR_VERSION}
|
||||||
|
+ } else {
|
||||||
|
LIBRARY_NAME = $$1
|
||||||
|
+ }
|
||||||
|
|
||||||
|
mac:contains(QWT_CONFIG, QwtFramework) {
|
||||||
|
|
||||||
|
@@ -36,7 +41,11 @@ defineReplace(qwtLibraryTarget) {
|
||||||
|
defineTest(qwtAddLibrary) {
|
||||||
|
|
||||||
|
LIB_PATH = $$1
|
||||||
|
+ greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
+ LIB_NAME = $${2}-qt$${QT_MAJOR_VERSION}
|
||||||
|
+ } else {
|
||||||
|
LIB_NAME = $$2
|
||||||
|
+ }
|
||||||
|
|
||||||
|
mac:contains(QWT_CONFIG, QwtFramework) {
|
||||||
|
|
||||||
|
diff -rupN qwt-6.2.0/src/src.pro qwt-6.2.0-new/src/src.pro
|
||||||
|
--- qwt-6.2.0/src/src.pro 2022-11-29 15:38:15.365070601 +0100
|
||||||
|
+++ qwt-6.2.0-new/src/src.pro 2022-11-29 15:45:42.295600411 +0100
|
||||||
|
@@ -31,7 +31,11 @@ contains(QWT_CONFIG, QwtDll) {
|
||||||
|
|
||||||
|
# we increase the SONAME for every minor number
|
||||||
|
|
||||||
|
- QWT_SONAME=libqwt.so.$${VER_MAJ}.$${VER_MIN}
|
||||||
|
+ greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
+ QWT_SONAME=libqwt-qt$${QT_MAJOR_VERSION}.so.$${VER_MAJ}.$${VER_MIN}
|
||||||
|
+ } else {
|
||||||
|
+ QWT_SONAME=libqwt.so.$${VER_MAJ}.$${VER_MIN}
|
||||||
|
+ }
|
||||||
|
QMAKE_LFLAGS *= $${QMAKE_LFLAGS_SONAME}$${QWT_SONAME}
|
||||||
|
QMAKE_LFLAGS_SONAME=
|
||||||
|
}
|
||||||
12
qwt-no_rpath.patch
Normal file
12
qwt-no_rpath.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -rupN --no-dereference qwt-6.2.0/designer/designer.pro qwt-6.2.0-new/designer/designer.pro
|
||||||
|
--- qwt-6.2.0/designer/designer.pro 2021-07-18 13:19:33.632367371 +0200
|
||||||
|
+++ qwt-6.2.0-new/designer/designer.pro 2022-11-29 15:38:15.087070282 +0100
|
||||||
|
@@ -98,7 +98,7 @@ contains(QWT_CONFIG, QwtDesigner) {
|
||||||
|
# compile the path for finding the Qwt library
|
||||||
|
# into the plugin. Not supported on Windows !
|
||||||
|
|
||||||
|
- QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
|
||||||
|
+ #QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
|
||||||
|
qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt)
|
||||||
|
|
||||||
|
contains(QWT_CONFIG, QwtDll) {
|
||||||
12
qwt-pkgconfig.patch
Normal file
12
qwt-pkgconfig.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -rupN --no-dereference qwt-6.2.0/src/src.pro qwt-6.2.0-new/src/src.pro
|
||||||
|
--- qwt-6.2.0/src/src.pro 2021-07-18 13:19:33.628367286 +0200
|
||||||
|
+++ qwt-6.2.0-new/src/src.pro 2022-11-29 15:38:15.226070441 +0100
|
||||||
|
@@ -82,7 +82,7 @@ contains(QWT_CONFIG, QwtPkgConfig) {
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
|
||||||
|
QMAKE_PKGCONFIG_FILE = Qt$${QT_MAJOR_VERSION}$${QMAKE_PKGCONFIG_NAME}
|
||||||
|
- QMAKE_PKGCONFIG_REQUIRES = Qt5Widgets Qt5Concurrent Qt5PrintSupport
|
||||||
|
+ QMAKE_PKGCONFIG_REQUIRES = Qt$${QT_MAJOR_VERSION}Widgets Qt$${QT_MAJOR_VERSION}Concurrent Qt$${QT_MAJOR_VERSION}PrintSupport
|
||||||
|
|
||||||
|
contains(QWT_CONFIG, QwtSvg) {
|
||||||
|
QMAKE_PKGCONFIG_REQUIRES += Qt5Svg
|
||||||
58
qwt-qt_install_paths.patch
Normal file
58
qwt-qt_install_paths.patch
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
diff -rupN --no-dereference qwt-6.2.0/qwtbuild.pri qwt-6.2.0-new/qwtbuild.pri
|
||||||
|
--- qwt-6.2.0/qwtbuild.pri 2021-07-18 13:19:33.656367878 +0200
|
||||||
|
+++ qwt-6.2.0-new/qwtbuild.pri 2022-11-29 15:38:14.786069938 +0100
|
||||||
|
@@ -14,7 +14,7 @@
|
||||||
|
CONFIG += qt
|
||||||
|
CONFIG += warn_on
|
||||||
|
CONFIG += no_keywords
|
||||||
|
-CONFIG += silent
|
||||||
|
+# CONFIG += silent
|
||||||
|
CONFIG -= depend_includepath
|
||||||
|
|
||||||
|
# CONFIG += sanitize
|
||||||
|
diff -rupN --no-dereference qwt-6.2.0/qwtconfig.pri qwt-6.2.0-new/qwtconfig.pri
|
||||||
|
--- qwt-6.2.0/qwtconfig.pri 2021-07-18 13:19:33.656367878 +0200
|
||||||
|
+++ qwt-6.2.0-new/qwtconfig.pri 2022-11-29 15:38:14.787069939 +0100
|
||||||
|
@@ -19,7 +19,7 @@ QWT_VERSION = $${QWT_VER_MAJ}.$${QW
|
||||||
|
QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
|
||||||
|
|
||||||
|
unix {
|
||||||
|
- QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION
|
||||||
|
+ # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION
|
||||||
|
# QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -28,9 +28,9 @@ win32 {
|
||||||
|
# QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION-qt-$$QT_VERSION
|
||||||
|
}
|
||||||
|
|
||||||
|
-QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc
|
||||||
|
-QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include
|
||||||
|
-QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib
|
||||||
|
+QWT_INSTALL_DOCS = $$[QT_INSTALL_DOCS]/html
|
||||||
|
+QWT_INSTALL_HEADERS = $$[QT_INSTALL_HEADERS]/qwt
|
||||||
|
+QWT_INSTALL_LIBS = $$[QT_INSTALL_LIBS]
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Designer plugin
|
||||||
|
@@ -42,7 +42,8 @@ QWT_INSTALL_LIBS = $${QWT_INSTALL_P
|
||||||
|
# runtime environment of designer/creator.
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
-QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer
|
||||||
|
+#QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer
|
||||||
|
+QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PLUGINS]/designer
|
||||||
|
|
||||||
|
# linux distributors often organize the Qt installation
|
||||||
|
# their way and QT_INSTALL_PREFIX doesn't offer a good
|
||||||
|
@@ -63,8 +64,8 @@ QWT_INSTALL_PLUGINS = $${QWT_INSTALL_P
|
||||||
|
# with every Qt upgrade.
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
-QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
|
||||||
|
-# QWT_INSTALL_FEATURES = $$[QT_INSTALL_PREFIX]/features
|
||||||
|
+#QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
|
||||||
|
+QWT_INSTALL_FEATURES = $$[QMAKE_MKSPECS]/features
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Build the static/shared libraries.
|
||||||
608
qwt.spec
608
qwt.spec
@ -1,282 +1,362 @@
|
|||||||
Name: ros-foxy-ros-qwt
|
# trim changelog included in binary rpms
|
||||||
Version: 6.1.3
|
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
||||||
Release: 0
|
|
||||||
Summary: This is ROS2 foxy gazebo Package
|
%bcond_without qt5
|
||||||
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
|
Name: qwt
|
||||||
Source0: https://github.com/gazebosim/qwt/refs/tags/6.1.3.tar.gz
|
Summary: Qt Widgets for Technical Applications
|
||||||
BuildRequires: gcc-c++
|
Version: 6.2.0
|
||||||
BuildRequires: cmake
|
Release: 3%{?dist}
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-setuptools
|
License: LGPLv2 with exceptions
|
||||||
BuildRequires: python3-pytest
|
URL: http://qwt.sourceforge.net
|
||||||
BuildRequires: asio-devel
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
BuildRequires: tinyxml2-devel
|
|
||||||
BuildRequires: git
|
## upstream patches
|
||||||
BuildRequires: qt5-devel
|
|
||||||
BuildRequires: bullet-devel
|
## upstreamable patches
|
||||||
BuildRequires: gmock-devel
|
# Use QT_INSTALL_ paths instead of custom prefix
|
||||||
BuildRequires: suitesparse-devel
|
Patch51: qwt-qt_install_paths.patch
|
||||||
BuildRequires: lua-devel
|
# Add qt suffix to libraries to make them parallel-installable
|
||||||
BuildRequires: protobuf-devel
|
Patch52: qwt-libsuffix.patch
|
||||||
BuildRequires: cairo-devel
|
# Kill rpath
|
||||||
BuildRequires: gflags-devel
|
Patch53: qwt-no_rpath.patch
|
||||||
BuildRequires: freeglut-devel
|
# Fix incorrect requires in pkgconfig files
|
||||||
BuildRequires: libXt-devel
|
Patch54: qwt-pkgconfig.patch
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXrandr-devel
|
BuildRequires: make
|
||||||
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: python-numpy
|
|
||||||
#BuildRequires: freeimage-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is ROS2 foxy gazebo Package.
|
The Qwt library contains GUI Components and utility classes which are primarily
|
||||||
|
useful for programs with a technical background.
|
||||||
|
Besides a 2D plot widget it provides scales, sliders, dials, compasses,
|
||||||
|
thermometers, wheels and knobs to control or display values, arrays
|
||||||
|
or ranges of type double.
|
||||||
|
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Developer documentation for %{name}
|
||||||
|
BuildArch: noarch
|
||||||
|
%description doc
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if %{with qt5}
|
||||||
|
%package qt5
|
||||||
|
Summary: Qt5 Widgets for Technical Applications
|
||||||
|
BuildRequires: pkgconfig(Qt5Concurrent) pkgconfig(Qt5PrintSupport) pkgconfig(Qt5Widgets)
|
||||||
|
BuildRequires: pkgconfig(Qt5OpenGL) pkgconfig(Qt5Svg)
|
||||||
|
BuildRequires: pkgconfig(Qt5Designer)
|
||||||
|
Provides: qwt6-qt5 = %{version}-%{release}
|
||||||
|
Provides: qwt6-qt5%{_isa} = %{version}-%{release}
|
||||||
|
%description qt5
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package qt5-devel
|
||||||
|
Summary: Development files for %{name}-qt5
|
||||||
|
Provides: qwt6-qt5-devel = %{version}-%{release}
|
||||||
|
Provides: qwt6-qt5-devel%{_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
|
||||||
|
%description qt5-devel
|
||||||
|
%{summary}.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with qt6}
|
||||||
|
%package qt6
|
||||||
|
Summary: Qt6 Widgets for Technical Applications
|
||||||
|
BuildRequires: pkgconfig(Qt6Concurrent) pkgconfig(Qt6PrintSupport) pkgconfig(Qt6Widgets)
|
||||||
|
BuildRequires: pkgconfig(Qt6OpenGL) pkgconfig(Qt6Svg)
|
||||||
|
BuildRequires: pkgconfig(Qt6Designer)
|
||||||
|
Provides: qwt6-qt6 = %{version}-%{release}
|
||||||
|
Provides: qwt6-qt6%{_isa} = %{version}-%{release}
|
||||||
|
%description qt6
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package qt6-devel
|
||||||
|
Summary: Development files for %{name}-qt6
|
||||||
|
Provides: qwt6-qt6-devel = %{version}-%{release}
|
||||||
|
Provides: qwt6-qt6-devel%{_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-qt6%{?_isa} = %{version}-%{release}
|
||||||
|
%description qt6-devel
|
||||||
|
%{summary}.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%autosetup -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%if %{with qt5}
|
||||||
|
mkdir %{_target_platform}-qt5
|
||||||
|
pushd %{_target_platform}-qt5
|
||||||
|
%{qmake_qt5} QWT_CONFIG+=QwtPkgConfig ..
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with qt6}
|
||||||
|
mkdir %{_target_platform}-qt6
|
||||||
|
pushd %{_target_platform}-qt6
|
||||||
|
%{qmake_qt6} QWT_CONFIG+=QwtPkgConfig ..
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd 3rdparty/
|
%if %{with qt5}
|
||||||
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}-qt5
|
||||||
|
%endif
|
||||||
|
%if %{with qt6}
|
||||||
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}-qt6
|
||||||
|
%endif
|
||||||
|
|
||||||
cd empy-3.3.4/
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
python3 setup.py install --user
|
mkdir -p %{buildroot}%{_mandir}
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd six-1.15.0/
|
# Move docs to proper dirs
|
||||||
python3 setup.py install --user
|
%if %{with qt5}
|
||||||
cd ..
|
# Last build "wins"
|
||||||
|
rm -rf %{buildroot}%{_defaultdocdir}/%{name}/html %{buildroot}%{_mandir}/*
|
||||||
|
mv %{buildroot}%{_qt5_docdir}/html/html %{buildroot}%{_defaultdocdir}/%{name}/html
|
||||||
|
mv %{buildroot}%{_qt5_docdir}/html/man/man3 %{buildroot}%{_mandir}/
|
||||||
|
|
||||||
cd setuptools_scm-4.1.2/
|
%if %{with qt6}
|
||||||
python3 setup.py install --user
|
# Last build "wins"
|
||||||
cd ..
|
rm -rf %{buildroot}%{_defaultdocdir}/%{name}/html %{buildroot}%{_mandir}/*
|
||||||
|
mv %{buildroot}%{_qt6_docdir}/html/html %{buildroot}%{_defaultdocdir}/%{name}/html
|
||||||
cd python-dateutil-2.8.1/
|
mv %{buildroot}%{_qt6_docdir}/html/man/man3 %{buildroot}%{_mandir}/
|
||||||
python3 setup.py install --user
|
%endif
|
||||||
cd ..
|
%endif
|
||||||
|
|
||||||
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
|
%files doc
|
||||||
#cd setuptools-50.0.0 need detel setuptools
|
%doc %{_defaultdocdir}/%{name}/
|
||||||
#python3 setup.py install --user
|
%{_mandir}/man3/*
|
||||||
#cd ..
|
|
||||||
|
|
||||||
####cpp 相关依赖库
|
%if %{with qt5}
|
||||||
export BUILD_PLATFORM=`uname -m`
|
%files qt5
|
||||||
if (($BUILD_PLATFORM=="aarch64"))
|
%license COPYING
|
||||||
then
|
%doc README
|
||||||
BUILD_PLATFORM="arm"
|
%{_qt5_libdir}/libqwt-qt5.so.6*
|
||||||
fi
|
%{_qt5_plugindir}/designer/libqwt_designer_plugin.so
|
||||||
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
|
%files qt5-devel
|
||||||
/usr/bin/qmake-qt5 qwt.pro
|
%{_qt5_headerdir}/qwt/
|
||||||
make -j8
|
%{_qt5_libdir}/libqwt-qt5.so
|
||||||
make install
|
%{_qt5_archdatadir}/mkspecs/features/qwt*
|
||||||
cd ..
|
%{_qt5_libdir}/pkgconfig/Qt5Qwt6.pc
|
||||||
|
%endif
|
||||||
|
|
||||||
cd ..
|
%if %{with qt6}
|
||||||
|
%files qt6
|
||||||
|
%license COPYING
|
||||||
|
%doc README
|
||||||
|
%{_qt6_libdir}/libqwt-qt6.so.6*
|
||||||
|
%{_qt6_plugindir}/designer/libqwt_designer_plugin.so
|
||||||
|
|
||||||
|
%files qt6-devel
|
||||||
|
%{_qt6_headerdir}/qwt/
|
||||||
|
%{_qt6_libdir}/libqwt-qt6.so
|
||||||
|
%{_qt6_archdatadir}/mkspecs/features/qwt*
|
||||||
|
%{_qt6_libdir}/pkgconfig/Qt6Qwt6.pc
|
||||||
|
%endif
|
||||||
|
|
||||||
# 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
|
%changelog
|
||||||
* Sat Nov 19 2022 openEuler Buildteam <hanhaomin008@126.com> - 6.1.3
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-3
|
||||||
- Fix Package name
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 29 2022 Sandro Mani <manisandro@gmail.com> - 6.2.0-1
|
||||||
|
- Update to 6.2.0
|
||||||
|
- Add qt6 build
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-3
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 13 2020 Marie Loise Nolden <loise@kde.org - 6.1.5-1
|
||||||
|
- Update to 6.1.5 (compatibility to Qt 5.15)
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 06 2020 Sandro Mani <manisandro@gmail.com> - 6.1.4-1
|
||||||
|
- Update to 6.1.4
|
||||||
|
|
||||||
|
* Sat Nov 30 2019 Rex Dieter <rdieter@fedoraproject.org> - 6.1.3-12
|
||||||
|
- make qt4 conditional, no on el8+ (#1773581)
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 6.1.3-9
|
||||||
|
- use %%_qt5_archdatadir/mkspecs
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 6.1.3-7
|
||||||
|
- use %%make_build %%license %%ldconfig_scriptlets
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Mar 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 6.1.3-3
|
||||||
|
- changelog cosmetics (whitespace mostly)
|
||||||
|
|
||||||
|
* Wed Mar 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 6.1.3-2
|
||||||
|
- no_rpath.patch
|
||||||
|
|
||||||
|
* Wed Mar 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 6.1.3-1
|
||||||
|
- qwt-6.1.3 (#1430378)
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.2-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.2-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 6.1.2-3
|
||||||
|
- Rebuilt for GCC 5 C++11 ABI change
|
||||||
|
|
||||||
|
* Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> - 6.1.2-2
|
||||||
|
- rebuild (gcc5)
|
||||||
|
|
||||||
|
* Fri Dec 12 2014 Rex Dieter <rdieter@fedoraproject.org> 6.1.2-1
|
||||||
|
- qwt-6.1.2
|
||||||
|
|
||||||
|
* Mon Dec 01 2014 Rex Dieter <rdieter@fedoraproject.org> - 6.1.1-3
|
||||||
|
- %%build: use %%qmake-qt? macro variant
|
||||||
|
- RFE: Qwt build for Qt5 (#1164515)
|
||||||
|
|
||||||
|
* Tue Oct 28 2014 Rex Dieter <rdieter@fedoraproject.org> 6.1.1-2
|
||||||
|
- do out-of-src build (prep for qt5 build maybe coming someday)
|
||||||
|
|
||||||
|
* Sat Sep 20 2014 Rex Dieter <rdieter@fedoraproject.org> 6.1.1-1
|
||||||
|
- qwt-6.1.1
|
||||||
|
|
||||||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 29 2013 Rex Dieter <rdieter@fedoraproject.org> - 6.1.0-1
|
||||||
|
- qwt-6.1.0
|
||||||
|
- QtDesigner plugin doesn't link to the proper header directory path (#824447)
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Nov 26 2012 Rex Dieter <rdieter@fedoraproject.org> 6.0.1-2
|
||||||
|
- qwtbuild.pri: drop CONFIG+=silent
|
||||||
|
|
||||||
|
* Tue Aug 14 2012 Rex Dieter <rdieter@fedoraproject.org> - 6.0.1-1
|
||||||
|
- qwt-6.0.1 (#697168)
|
||||||
|
- add pkgconfig support
|
||||||
|
|
||||||
|
* Fri Aug 03 2012 Rex Dieter <rdieter@fedoraproject.org> 5.2.2-6
|
||||||
|
- qwt*.pc : +Requires: QtGui QtSvg
|
||||||
|
|
||||||
|
* Thu Aug 02 2012 Rex Dieter <rdieter@fedoraproject.org> 5.2.2-5
|
||||||
|
- pkgconfig support
|
||||||
|
|
||||||
|
* Tue Jul 31 2012 Rex Dieter <rdieter@fedoraproject.org> - 5.2.2-4
|
||||||
|
- Provides: qwt5-qt4(-devel)
|
||||||
|
- pkgconfig-style deps
|
||||||
|
|
||||||
|
- * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Aug 07 2011 Rex Dieter <rdieter@fedoraproject.org> 5.2.2-1
|
||||||
|
- 5.2.2
|
||||||
|
|
||||||
|
* Thu Jul 14 2011 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-3
|
||||||
|
- .spec cosmetics
|
||||||
|
- use %%_qt4_ macros
|
||||||
|
- -doc subpkg here (instead of separately built)
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Apr 16 2010 Frank Büttner <frank-buettner@gmx.net> - 5.2.1-1
|
||||||
|
- update to 5.2.1
|
||||||
|
|
||||||
|
* Fri Feb 05 2010 Frank Büttner <frank-buettner@gmx.net> - 5.2.0-1
|
||||||
|
- fix wrong lib names
|
||||||
|
|
||||||
|
* Fri Feb 05 2010 Frank Büttner <frank-buettner@gmx.net> - 5.2.0-0
|
||||||
|
- update to 5.2.0
|
||||||
|
|
||||||
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 04 2009 Frank Büttner <frank-buettner@gmx.net> - 5.1.1-2
|
||||||
|
- modify path patch
|
||||||
|
|
||||||
|
* Sun Jan 04 2009 Frank Büttner <frank-buettner@gmx.net> - 5.1.1-1
|
||||||
|
- update to 5.1.1
|
||||||
|
|
||||||
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.2-6
|
||||||
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
* Sat Sep 29 2007 Frank Büttner <frank-buettner@gmx.net> - 5.0.2-5
|
||||||
|
- add EPEL support
|
||||||
|
|
||||||
|
* Sat Sep 29 2007 Frank Büttner <frank-buettner@gmx.net> - 5.0.2-4
|
||||||
|
- remove parallel build, because it will fail sometimes
|
||||||
|
|
||||||
|
* Fri Sep 28 2007 Frank Büttner <frank-buettner@gmx.net> - 5.0.2-3
|
||||||
|
- fix some errors in the spec file
|
||||||
|
|
||||||
|
* Fri Jul 06 2007 Frank Büttner <frank-buettner@gmx.net> - 5.0.2-2
|
||||||
|
- fix some errors in the spec file
|
||||||
|
|
||||||
|
* Mon Jun 11 2007 Frank Büttner <frank-buettner@gmx.net> - 5.0.2-1
|
||||||
|
- update to 5.0.2
|
||||||
|
- split doc
|
||||||
|
|
||||||
|
* Tue May 15 2007 Frank Büttner <frank-buettner@gmx.net> - 5.0.1-1
|
||||||
|
- start
|
||||||
|
|||||||
4
qwt.yaml
4
qwt.yaml
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
version_control: git
|
version_control: git
|
||||||
src_repo: https://github.com/gazebosim/qwt
|
src_repo: http://qwt.sourceforge.net
|
||||||
tag_prefix: 6.1.3
|
tag_prefix: 6.2.0
|
||||||
separator: "."
|
separator: "."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user