| Message ID | 20250719143417.144660-1-Stefan.Nickl@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/1] package/qt6/qt6positioning: New package | expand |
Hi Stefan, Good to see more people working on adding Qt 6 packages to buildroot! Bernd Kuhls added this package a while back, which I later ported to Qt 6.9.1 here: https://patchwork.ozlabs.org/project/buildroot/patch/20250610122924.431830-3-roykollensvendsen@gmail.com/ If you see any areas of improvements please feel free to build on top of Bernds patch. Regards, Roy lør. 19. juli 2025 kl. 16:34 skrev <stefan.nickl@gmail.com>: > From: Stefan Nickl <Stefan.Nickl@gmail.com> > > Signed-off-by: Stefan Nickl <Stefan.Nickl@gmail.com> > --- > package/qt6/Config.in | 1 + > package/qt6/qt6positioning/Config.in | 9 ++++++ > .../qt6/qt6positioning/qt6positioning.hash | 11 +++++++ > package/qt6/qt6positioning/qt6positioning.mk | 31 +++++++++++++++++++ > 4 files changed, 52 insertions(+) > create mode 100644 package/qt6/qt6positioning/Config.in > create mode 100644 package/qt6/qt6positioning/qt6positioning.hash > create mode 100644 package/qt6/qt6positioning/qt6positioning.mk > > diff --git a/package/qt6/Config.in b/package/qt6/Config.in > index 10594691cf..d0105db28d 100644 > --- a/package/qt6/Config.in > +++ b/package/qt6/Config.in > @@ -52,6 +52,7 @@ source "package/qt6/qt6languageserver/Config.in" > source "package/qt6/qt6mqtt/Config.in" > source "package/qt6/qt6multimedia/Config.in" > source "package/qt6/qt6opcua/Config.in" > +source "package/qt6/qt6positioning/Config.in" > source "package/qt6/qt6quick3d/Config.in" > source "package/qt6/qt6quicktimeline/Config.in" > source "package/qt6/qt6scxml/Config.in" > diff --git a/package/qt6/qt6positioning/Config.in > b/package/qt6/qt6positioning/Config.in > new file mode 100644 > index 0000000000..d3caa044e5 > --- /dev/null > +++ b/package/qt6/qt6positioning/Config.in > @@ -0,0 +1,9 @@ > +config BR2_PACKAGE_QT6POSITIONING > + bool "qt6positioning" > + help > + Qt is a cross-platform application and UI framework for > + developers using C++. > + > + This package corresponds to the qt6positioning module. > + > + https://doc.qt.io/qt-6/qtpositioning-index.html > diff --git a/package/qt6/qt6positioning/qt6positioning.hash > b/package/qt6/qt6positioning/qt6positioning.hash > new file mode 100644 > index 0000000000..1a8f1282cc > --- /dev/null > +++ b/package/qt6/qt6positioning/qt6positioning.hash > @@ -0,0 +1,11 @@ > +# Hash from: > https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtpositioning-everywhere-src-6.8.1.tar.xz.sha256 > +sha256 > <https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtpositioning-everywhere-src-6.8.1.tar.xz.sha256+sha256> > e310e7232591d4beb1785bfff8ff3e77430bdf5e9a17f56694b732f5267df78d > qtpositioning-everywhere-src-6.8.1.tar.xz > + > +# Hashes for license files: > +sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce > LICENSES/BSD-3-Clause.txt > +sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 > LICENSES/GFDL-1.3-no-invariants-only.txt > +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 > LICENSES/GPL-2.0-only.txt > +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 > LICENSES/GPL-3.0-only.txt > +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 > LICENSES/LGPL-3.0-only.txt > +sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 > LICENSES/LicenseRef-Qt-Commercial.txt > +sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 > LICENSES/Qt-GPL-exception-1.0.txt > diff --git a/package/qt6/qt6positioning/qt6positioning.mk > b/package/qt6/qt6positioning/qt6positioning.mk > new file mode 100644 > index 0000000000..82483e0ef0 > --- /dev/null > +++ b/package/qt6/qt6positioning/qt6positioning.mk > @@ -0,0 +1,31 @@ > > +################################################################################ > +# > +# qt6positioning > +# > > +################################################################################ > + > +QT6POSITIONING_VERSION = $(QT6_VERSION) > +QT6POSITIONING_SITE = $(QT6_SITE) > +QT6POSITIONING_SOURCE = > qtpositioning-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6POSITIONING_VERSION).tar.xz > +QT6POSITIONING_INSTALL_STAGING = YES > +QT6POSITIONING_SUPPORTS_IN_SOURCE_BUILD = NO > + > +QT6POSITIONING_CMAKE_BACKEND = ninja > + > +QT6POSITIONING_LICENSE = \ > + GPL-2.0+ or LGPL-3.0, \ > + GPL-3.0, GFDL-1.3 no invariants (docs) > + > +QT6POSITIONING_LICENSE_FILES = \ > + LICENSES/GPL-2.0-only.txt \ > + LICENSES/GPL-3.0-only.txt \ > + LICENSES/LGPL-3.0-only.txt \ > + LICENSES/GFDL-1.3-no-invariants-only.txt > + > +QT6POSITIONING_CONF_OPTS = \ > + -DQT_HOST_PATH=$(HOST_DIR) \ > + -DBUILD_WITH_PCH=OFF \ > + -DQT_BUILD_EXAMPLES=OFF \ > + -DQT_BUILD_TESTS=OFF > + > +$(eval $(cmake-package)) > -- > 2.50.1 > >
Hi Roy, > Good to see more people working on adding Qt 6 packages to buildroot! Thanks! > Bernd Kuhls added this package a while back, which I later ported to Qt 6.9.1 here: > https://patchwork.ozlabs.org/project/buildroot/patch/20250610122924.431830-3-roykollensvendsen@gmail.com/ > > If you see any areas of improvements please feel free to build on top of Bernds patch. About that, my plans were actually a bit different. I have already prepared an update to 6.8.3 (latest LTS version) that I wanted to send out as soon as qtpositioning 6.8.1 was merged, plus a minor bugfix (qt6quick3d missing a BR2_PACKAGE_QT6BASE_CONCURRENT dependency). Do you think we could defer skipping to the next non-LTS for a while, maybe until after 2025.08 is released? Regards, Stefan
Hi Stefan, ons. 23. jul. 2025, 17:16 skrev <stefan.nickl@gmail.com>: > Hi Roy, > > Good to see more people working on adding Qt 6 packages to buildroot! > Thanks! > > > Bernd Kuhls added this package a while back, which I later ported to Qt > 6.9.1 here: > > > https://patchwork.ozlabs.org/project/buildroot/patch/20250610122924.431830-3-roykollensvendsen@gmail.com/ > > > > If you see any areas of improvements please feel free to build on top of > Bernds patch. > > About that, my plans were actually a bit different. > We should try to not ignore Bernds work but build on top of it. His original patch was made for 6.8.x by the way. You will also find some areas of improvement by comparing your patches. I have already prepared an update to 6.8.3 (latest LTS version) that I > wanted to send out as soon as qtpositioning 6.8.1 was merged, plus a > minor bugfix (qt6quick3d missing a BR2_PACKAGE_QT6BASE_CONCURRENT > dependency). > > Do you think we could defer skipping to the next non-LTS for a while, > maybe until after 2025.08 is released? > My goal has been to keep main up to date with the latest available Qt 6 version. The buildroot LTS releases will be maintained longer than before, so using the Qt6 LTS releases for those could make sense. On the other hand, aren't those for commercial users only, at some point? We should find a solution where we can keep main up to date but still be able support Qt6 in the LTS releases of buildroot. There may be some guidelines for this in the manual(?) Please post your series and the maintainers will decide on the best path forward. > Regards, > Stefan >
> > Hi Roy, > > > Bernd Kuhls added this package a while back, which I later ported to Qt 6.9.1 here: > > > https://patchwork.ozlabs.org/project/buildroot/patch/20250610122924.431830-3-roykollensvendsen@gmail.com/ > > > > > > If you see any areas of improvements please feel free to build on top of Bernds patch. > > About that, my plans were actually a bit different. > > We should try to not ignore Bernds work but build on top of it. His original patch was made for 6.8.x by the way. You will also find some areas of improvement by comparing your patches. I was not aware of your or Bernd's work. I can see your upcoming qt patches in the patchwork web interface, but nothing qt-related when I click on Bernd's name. > > I have already prepared an update to 6.8.3 (latest LTS version) that I > > wanted to send out as soon as qtpositioning 6.8.1 was merged, plus a > > minor bugfix (qt6quick3d missing a BR2_PACKAGE_QT6BASE_CONCURRENT > > dependency). > > > > Do you think we could defer skipping to the next non-LTS for a while, > > maybe until after 2025.08 is released? > > My goal has been to keep main up to date with the latest available Qt 6 version. The buildroot LTS releases will be maintained longer than before, so using the Qt6 LTS releases for those could make sense. On the other hand, aren't those for commercial users only, at some point? It seems you're right, I had assumed they would continue to make patch releases available post-6.8.3, but apparently they cut that off when 6.9 came out: https://www.qt.io/blog/commercial-lts-qt-6.8.4-released > We should find a solution where we can keep main up to date but still be able support Qt6 in the LTS releases of buildroot. > > There may be some guidelines for this in the manual(?) > > Please post your series and the maintainers will decide on the best path forward. Learning that LTS patch releases are only made public until the next minor release has defeated my previous strategy, so there's no longer a point to it and I'll just upgrade to 6.9.x when that hits master. Thanks for your work!
diff --git a/package/qt6/Config.in b/package/qt6/Config.in index 10594691cf..d0105db28d 100644 --- a/package/qt6/Config.in +++ b/package/qt6/Config.in @@ -52,6 +52,7 @@ source "package/qt6/qt6languageserver/Config.in" source "package/qt6/qt6mqtt/Config.in" source "package/qt6/qt6multimedia/Config.in" source "package/qt6/qt6opcua/Config.in" +source "package/qt6/qt6positioning/Config.in" source "package/qt6/qt6quick3d/Config.in" source "package/qt6/qt6quicktimeline/Config.in" source "package/qt6/qt6scxml/Config.in" diff --git a/package/qt6/qt6positioning/Config.in b/package/qt6/qt6positioning/Config.in new file mode 100644 index 0000000000..d3caa044e5 --- /dev/null +++ b/package/qt6/qt6positioning/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_QT6POSITIONING + bool "qt6positioning" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt6positioning module. + + https://doc.qt.io/qt-6/qtpositioning-index.html diff --git a/package/qt6/qt6positioning/qt6positioning.hash b/package/qt6/qt6positioning/qt6positioning.hash new file mode 100644 index 0000000000..1a8f1282cc --- /dev/null +++ b/package/qt6/qt6positioning/qt6positioning.hash @@ -0,0 +1,11 @@ +# Hash from: https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtpositioning-everywhere-src-6.8.1.tar.xz.sha256 +sha256 e310e7232591d4beb1785bfff8ff3e77430bdf5e9a17f56694b732f5267df78d qtpositioning-everywhere-src-6.8.1.tar.xz + +# Hashes for license files: +sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt +sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt +sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt +sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt diff --git a/package/qt6/qt6positioning/qt6positioning.mk b/package/qt6/qt6positioning/qt6positioning.mk new file mode 100644 index 0000000000..82483e0ef0 --- /dev/null +++ b/package/qt6/qt6positioning/qt6positioning.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# qt6positioning +# +################################################################################ + +QT6POSITIONING_VERSION = $(QT6_VERSION) +QT6POSITIONING_SITE = $(QT6_SITE) +QT6POSITIONING_SOURCE = qtpositioning-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6POSITIONING_VERSION).tar.xz +QT6POSITIONING_INSTALL_STAGING = YES +QT6POSITIONING_SUPPORTS_IN_SOURCE_BUILD = NO + +QT6POSITIONING_CMAKE_BACKEND = ninja + +QT6POSITIONING_LICENSE = \ + GPL-2.0+ or LGPL-3.0, \ + GPL-3.0, GFDL-1.3 no invariants (docs) + +QT6POSITIONING_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/GFDL-1.3-no-invariants-only.txt + +QT6POSITIONING_CONF_OPTS = \ + -DQT_HOST_PATH=$(HOST_DIR) \ + -DBUILD_WITH_PCH=OFF \ + -DQT_BUILD_EXAMPLES=OFF \ + -DQT_BUILD_TESTS=OFF + +$(eval $(cmake-package))