Commit Graph
755213 Commits
Author SHA1 Message Date
Ionen Wolkens e57e9078e5 dev-qt/qtwebengine: prefixify widevine search path (qt6)
Allows dropping a workaround in qutebrowser. And yes, wrt -w, the line
we are changing literally has "Gentoo" in an upstream comment.

Also move qt6-build_src_prepare up given modifying files before
patches tend to be messy.

No revbump given use case is rather uncommon.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:04 -04:00
Ionen Wolkens b1cbadc147 dev-qt/qtwebengine: make pkgcheck happier (qt6)
ebuild needs more real refactoring (will do in a separate revbump),
but at least address pkgcheck's warnings in this one

wrt src_unpack (which triggers indirect git-r3 usage), not quite
sure what the debug check was doing (repeated) there, and (currently)
no patchset to unpack so can just drop the whole thing. For patchsets
this may be better handled in qt6-build given it is the one inheriting
git-r3.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:04 -04:00
Ionen Wolkens 0321009080 dev-qt/qtbase: various adjustments to run tests
* fix building tests with gcc-13 (backport)
* set both TZ and LC_TIME needed by a few tests (p.m. vs pm)
* skip a few tests with extra needs for simplicity
* skip flaky tests depending on environment/compiler that do not
  appear to be real issues (e.g. checks mounted filesystems)
* skip a few tests failing on x86 chroot that do not "seem" to have
  consequences, needs more looking into but ultimately want more of
  a baseline rather than pursue everything right now
* skip building a test with -Werror=strict-aliasing issues, not
  important but saves tinderbox noise (ideally should fix, but well)
* skip tests broken without qtbase already being installed
  (these also have issues with out-of-source build, but given
  they are broken either way no reason to use IN_SOURCE=1)
* delete bunch of test binaries and files being installed
  when tests are enabled (unfortunately not aware of a better
  way, upstream may be installing first and using standalone
  tests or so)
* set required use, could alternatively skip a few tests based
  on USE but this would get further troublesome to maintain
* do not try to use docker-compose if found

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:04 -04:00
Ionen Wolkens 0926103d59 dev-qt/qtbase: fix build with USE=oci8
Albeit was almost tempted to just remove the USE as this
will likely cause more problems down the line.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:03 -04:00
Ionen Wolkens 424c9f5509 dev-qt/qtwebengine: various adjustments for tests (qt6)
* use -j1 (similarly to when I tried to use python-xdist on
  qutebrowser which uses qtwebengine, parallel tests don't
  seem to work so well here either)
* skip tests that need network
* skip cert test, not looked too closely but likely missing
  something or (maybe) expirations are causing issues
* export various variables to stop it from using the system's
  qtwebengine (otherwise fails if not installed)

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:03 -04:00
Ionen Wolkens 8eb85e6dd5 dev-qt/qtdeclarative: restrict tests (qt6)
Mostly had this figured out but the real issue is when
qtdeclarative is not installed, and this is a far worse
case than qttools or qtbase's few tests to skip.

QML imports are in general pretty messy to run from
tests as-is.

May revisit if the situation improves, albeit given believe
upstream installs before running tests it may not.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:03 -04:00
Ionen Wolkens d1bb1449a6 dev-qt/qttools: restrict tests (qt6)
Insists on running tools from the system (fails if qttools
is not installed), and even if force the paths (using qt.conf,
or seds), it still has problem finding support files and most
tests fail. Getting all this to work properly would likely
be too messy.

There's also an annoyance with FetchContent, albeit it'd be
easy to handle.

wrt clang, qdoc seems to produce correct output with >=clang-16
but the ordering is slightly altered (believed to be due to
.cpp parsing being bit different) and cause some tests to
fail simple diff comparison -- may not be worth worrying about.

Originally was skipping a lot of tests, but it was utltimately
not meaningful anymore (aka tools were not really tested).

May revisit if the situation improves, albeit given believe
upstream installs before running tests it may not.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:03 -04:00
Ionen Wolkens 71fb2633a9 dev-qt/qtwayland: skip failing test + two that need compositor (qt6)
seatv4 is perhaps due to newer libwayland, or the use of offscreen
rendering. But do not believe this would be used with any of the
mostly modern compositors we have packaged if I understand this
right, and so have not looked into this further (tst_seatv7 does pass).

Not fully looked into but the two others seem to be actually trying
to use a compositor (also opengl surfaces). We could run tinywl but
given the majority of other tests do not need that it does not seem
all that worth it (plus would likely be flaky).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:03 -04:00
Ionen Wolkens f23e96ede8 dev-qt/qtquick3d: skip incompatible test (qt6)
Attempts to import a test .dae file but that requires
collada which is hard-disabled in our system copy.

May need revisiting in assimp if someone needs this.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:03 -04:00
Ionen Wolkens 9589bce760 dev-qt/qtpositioning: do not install test files (qt6)
If someone knows a sane way to stop Qt6 from installing
these (this happens with almost every components, but
eclass deletes tests/ by default at least), please tell me.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:02 -04:00
Ionen Wolkens b60aa01cd9 dev-qt/qtmultimedia: skip tests that fail in sandbox (qt6)
Imagine may be more that will need skipping. In my case one
test tried to use NVENC/CUDA but there may be more on systems
that support e.g. vaapi (unlike mine).

Unfortunately have not found a way to tell qtmultimedia to
use a dummy audio input/output wrt the other tests.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:02 -04:00
Ionen Wolkens 3f8d3f4f33 dev-qt/qtlocation: skip broken test, do not install test files (qt6)
Broken test could be worked around with a symlink,
but feel it is not really worth extra ebuild churn.

wrt test files, if someone knows a sane way to stop Qt6 from
installing these (this happens with almost every components,
but eclass deletes tests/ by default at least), please tell me.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:02 -04:00
Ionen Wolkens baafb143ab dev-qt/qt5compat: use -j1 for tests (qt6)
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:02 -04:00
Ionen Wolkens 8f36d8900a dev-qt/qtbase: use eclass' mkspecs variable for consistency
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:02 -04:00
Ionen Wolkens e3da45c4b8 dev-qt/*: add github upstream metadata for qt6 packages
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:01 -04:00
Ionen Wolkens 5f7ab1d035 dev-qt/*: streamline style a bit across qt6 ebuilds
Misc minor adjustments / sorting, but more commonly:

* use same RDEPEND + DEPEND ordering everywhere, bit of both
  order is used all across and sometime inverted in Qt5's so
  let's match skel.ebuild to avoid confusion
* use explicit :6 slots, not necessary with =PV but this is more
  about normalizing usage when multiple slots exist (plus *cough*
  qa-vdb won't complaint anymore)

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:01 -04:00
Ionen Wolkens 7c34d9a493 dev-qt/*: import qt6 live ebuilds from ::qt
As-is, no changes in this commit which is mostly the same
as the current in-tree ebuilds.

Maintaining these in two different repos feels like just a hassle
(to me), and would rather have everything in one place so I can
change live and release ebuilds simultaneously as needed, plus not
have to sync metadata or eclass changes either (plus chiitoo has
::gentoo commit access now).

May move packages if I happen to work on them, albeit I have no
intention to really touch Qt5 or LXQt (anyone working on these
are free to the same if they want, or keep current workflow).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:01 -04:00
Ionen Wolkens a5ce592859 qt6-build.eclass: prevent passing -O2 after user's C(XX)FLAGS
Skip on qttranslation given it is the only that compiles
nothing, and so gives a unused option warning.

Closes: https://bugs.gentoo.org/911822
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:01 -04:00
Ionen Wolkens dfbaf6bd8d qt6-build.eclass: filter-lto globally
Been using LTO by default when testing packages and, while
working on Qt6 test support, just kept running into more and
more components hitting test failures only with LTO.

Formerly added this directly in ebuilds, but at this point
feel this warrent a global filter until can figure out what's
wrong.

Technically needs revbumps but Qt 6.5.3 is not that far away
and that will take care of rebuilds.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:01 -04:00
Ionen Wolkens 09ab680319 qt6-build.eclass: add QT6_MKSPECSDIR for consistency, drop TESTSDIR
qtbase ebuild currently sets /mkspecs itself instead, chances are may
never need the variable but there's no need to have an odd one out

TESTSDIR was unused, and currently installs to /usr/tests which
we are deleting anyway -- and would give QA if that failed (note
changing the path can be messy given qtbase will keep telling
other packages to use old paths until it is itself updated).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:01 -04:00
Ionen Wolkens 2d5ab5b4b6 qt6-build.eclass: support+unrestrict tests, export src_test+install
Qt5's may be a lost cause at this point wrt bug #457182, but can
do this fairly easily for Qt6 going forward (or at least for most
components, qtbase, qttools, and qtdeclarative are messier).

About src_install, it was defined but not exported. Not an issue
before but now we need it for cleanups.

Bug: https://bugs.gentoo.org/457182
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:00 -04:00
Ionen Wolkens 031107b6fe qt6-build.eclass: add cmake to @PROVIDES
Essentially a wrapper to cmake.eclass and may as well advertise
the various things from it as usable (currently already using e.g.
"mycmakeargs" rather than some private "myconf" like qt5-build).

Should be no reasons to call phases directly, but CMAKE_SKIP_TESTS
and BUILD_DIR (rather than the removed QT6_BUILD_DIR) can be useful.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:00 -04:00
Ionen Wolkens 881667ea1d qt6-build.eclass: drop virtualx
Currently unused given ebuilds were not wired for tests,
and hardly needed either way with QT_QPA_PLATFORM=offscreen.

If need arise, ebuild should inherit virtualx directly.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:00 -04:00
Ionen Wolkens c3f83f4acf qt6-build.eclass: drop IUSE=debug and QT6_{VERSION_MINOR,BUILD_DIR}
All these are currently unused by both the eclass and consumers.

* IUSE=debug:
This was used by qt5-build but is no-op here. There's a commented
out debug feature in qtwebengine:6, but if that is ever used it
should just add its own IUSE.

* QT6_VERSION_MINOR:
Undocumented and assume may be a unused left-over from writing
the case ${PV}. Dropping saves a $(ver_cut) fork in global scope.
Could add properly if ever felt needed, but for now...

* QT6_BUILD_DIR:
cmake.eclass' BUILD_DIR should be used instead, this variable is
 essentially just guessing what cmake will use and could be wrong
if an ebuild changes anything from cmake defaults.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:00 -04:00
Ionen Wolkens e9214c34e6 qt6-build.eclass: tidy eclass a bit
No functional changes here unless (at most) consumers were misusing
internals, so kept as a single commit for convenience.

Rough overview:
* streamline use of quotes
* minor descriptions adjustments
* replace MY_P with QT6_P (MY_* tend to be reserved for ebuilds),
  and then unset it to avoid pkgcheck undocumented variables warnings
* use readonly keyword with assignments to avoid maintaining two
  lists of variables
* re-order qt6_prepare_env, and keep separate blocks for QT6_*
  variables referenced by other variables to avoid mis-ordering
* avoid calling $(get_libdir) twice for nothing by re-using LIBDIR
* rename internal qt6_prepare_env to _qt6-build_prepare_env
* swap SLOT from ver_cut to ${PV%.*}, both to be consistent with usage
  in SRC_URI but also to optimize (less subshells in global scope)

Note have no intention to keep in-sync with qt5-build, considering
it legacy and Qt5 just needs to keep working until it can go

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05 09:01:00 -04:00
Craig Andrews 1dbde129e0 www-apps/radarr: drop 5.0.0.7952
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:25 -04:00
Craig Andrews 74c5087cd2 www-apps/radarr: add 5.0.1.7993
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:25 -04:00
Craig Andrews 7b1d3d26c7 net-misc/proxytunnel: add 1.11
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:25 -04:00
Craig Andrews 72099ba331 www-apps/prowlarr: drop 1.8.4.3884
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:25 -04:00
Craig Andrews bce55bdab6 www-apps/prowlarr: add 1.8.5.3896
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:25 -04:00
Craig Andrews 746c2c99f8 net-libs/ngtcp2: add 0.19.0
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:24 -04:00
Craig Andrews 12f0d6e85c net-libs/nghttp3: add 0.15.0
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:24 -04:00
Craig Andrews 5496e203cb www-apps/lidarr: drop 1.4.0.3554
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:24 -04:00
Craig Andrews 4fb027541f www-apps/lidarr: add 1.4.1.3566
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:24 -04:00
Craig Andrews 5e95f71489 www-apps/jackett: drop 0.21.709
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:24 -04:00
Craig Andrews 6fb2691a27 www-apps/jackett: add 0.21.747
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2023-09-05 08:53:23 -04:00
Hans de Graaff 020c1d32e5 app-crypt/xca: add 2.4.0_p20230526
This is an upstream snapshot that does compile against openssl-3 but
also has known defects. Currently masked for testing.

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2023-09-05 14:08:30 +02:00
Hans de Graaff 1acd137d4b profiles/package.mask: mask xca snapshot for testing
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2023-09-05 14:07:26 +02:00
Hans de Graaff bca2e7248a dev-util/selenium-manager: disable more tests
Disable more tests that either want to download things or depend on
browsers not listed in BDEPEND.

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2023-09-05 14:06:14 +02:00
David Seifert 41d90ee6ec package.mask: Last rite app-crypt/tpm2-tss-engine
Signed-off-by: David Seifert <soap@gentoo.org>
2023-09-05 14:01:28 +02:00
Sam James 1e6cce0567 dev-lang/R: Stabilize 4.3.1 amd64, #913676
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-05 12:53:34 +01:00
Andrew Ammerlaan 7fc55ec682 sci-libs/libqalculate: update upstream metadata
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2023-09-05 13:14:55 +02:00
Andrew Udvare 4b9c9e62dc sci-calculators/qalculate-gtk: add 4.7.0
Signed-off-by: Andrew Udvare <audvare@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31892
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2023-09-05 13:13:58 +02:00
Andrew Udvare 3545ef5011 sci-libs/libqalculate: add 4.7.0
Signed-off-by: Andrew Udvare <audvare@gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2023-09-05 13:13:57 +02:00
luzpaz 31f584392c sci-libs/spr: fix https:// schema in HOMEPAGE url
As reported in https://repology.org/repository/gentoo/problems

Signed-off-by: luzpaz <luzpaz@users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/32254
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2023-09-05 13:10:17 +02:00
Michael Mair-Keimberger 93e2c61cd9 dev-python/qiskit-aer: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32623
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2023-09-05 12:41:23 +02:00
Alexander Puck Neuwirth 934ca520c4 sci-physics/lhapdf: Fix setup.py
plus fix for USE="doc"

Closes: https://bugs.gentoo.org/912579
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/32548
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2023-09-05 12:35:35 +02:00
Sam James 66a641194d dev-libs/modsecurity: Stabilize 3.0.10 arm, #913673
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-05 11:01:20 +01:00
Sam James 348b242086 dev-libs/modsecurity: Stabilize 3.0.10 amd64, #913673
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-05 11:01:19 +01:00
Sam James c36a863f05 dev-libs/modsecurity: Stabilize 3.0.10 arm64, #913673
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-05 11:01:18 +01:00