I started working on an ebuild but couldn't get it to install and got bored. Signed-off-by: Sam James <sam@gentoo.org>
Created attachment 786008 [details] gpsbabel-1.8.0.ebuild
...apparently bumped in https://github.com/gentoo/gentoo/commit/2a3a85a81407a68676476346377bb9ba20e66e4c (based on https://github.com/gentoo/gentoo/pull/28324) However: > -- Could NOT find Qt6SerialPort (missing: Qt6SerialPort_DIR) > CMake Error at gui/CMakeLists.txt:27 (find_package): > Found package configuration file: > > /usr/lib64/cmake/Qt6/Qt6Config.cmake > > but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT > FOUND. Reason given by package: > > Failed to find required Qt component "SerialPort". > > Expected Config file at > "/usr/lib64/cmake/Qt6SerialPort/Qt6SerialPortConfig.cmake" does NOT exist - I didn't select Qt6 nor does the ebuild specify any Qt6 deps. - mycmakeargs (that should be local) needs pinning to Qt5 or the ebuild more work to support Qt6 in addition
Also, qtserialport is clearly required, be it Qt5 or Qt6, but is missing in the ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=612ad41ff7c2e1766aa2e9e807f142fe256b1ce6 commit 612ad41ff7c2e1766aa2e9e807f142fe256b1ce6 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2023-01-30 08:12:52 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-01-30 08:19:39 +0000 sci-geosciences/gpsbabel: drop use gui, add use qt6 Though the build system provides separate targets for the gui and cli tools, the cmake configure files do not reflect this and they will search for qt unconditionally. Patching is non-trivial because the source files for the gui and for the cli are not completely separated. The package does support qt6 but the upstream cmake files do not provide a means of selecting which to use and will choose a version automagically. A simple patch is enough to fix this. Closes: https://bugs.gentoo.org/852836 Closes: https://bugs.gentoo.org/892559 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../gpsbabel-1.8.0-no-automagic-qt5-qt6.patch | 34 +++++++++++++++ ...babel-1.8.0.ebuild => gpsbabel-1.8.0-r1.ebuild} | 48 ++++++++++++++-------- 2 files changed, 64 insertions(+), 18 deletions(-)