summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* qt5-build.eclass: try to avoid SSE2 where unavailableSam James2024-07-021-0/+3
| | | | | | | | | | Rather overdue, but we got there eventually. Closes: https://bugs.gentoo.org/773199 Bug: https://bugs.gentoo.org/552942 Bug: https://bugs.gentoo.org/648004 Bug: https://bugs.gentoo.org/775650 Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: qtbase: Bump _QT5_GENTOOPATCHSET_REV=6 for 5.15.14Andreas Sturmlechner2024-05-301-3/+3
| | | | | | | | Patch dropped (upstreamed) since _QT5_GENTOOPATCHSET_REV=5: Match deadcode elimination with cpu feature check Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Move append-ldflags and filter-lto to src_prepareAndreas Sturmlechner2024-01-101-9/+9
| | | | | Closes: https://bugs.gentoo.org/919789 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: use test-flags-CCLD for -Wl,--undefined-versionSam James2024-01-031-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: qtbase: Bump _QT5_GENTOOPATCHSET_REV=5 for 5.15.12Andreas Sturmlechner2024-01-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | New patches since _QT5_GENTOOPATCHSET_REV=4: Allan Sandfeld Jensen (3): Match deadcode elimination with cpu feature check Sync qt_scale_image_argb32_on_argb32_sse2 and qt_scale_image_32bit Avoid SSE2 punning Thiago Macieira (1): qsimd: Don't force RDRND on if __AVX2__ Ulf Hermann (1): Gui: Always declare qt_memfill{32|64} as function pointers on x86 See also: https://invent.kde.org/qt/qt/qtbase/-/merge_requests/295 https://invent.kde.org/qt/qt/qtbase/-/merge_requests/297 https://invent.kde.org/qt/qt/qtbase/-/merge_requests/298 Bug: https://bugs.gentoo.org/704392 Bug: https://bugs.gentoo.org/707390 Bug: https://bugs.gentoo.org/777480 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: filter-ltoAndreas Sturmlechner2023-12-121-0/+3
| | | | | | | | | | Closes: https://bugs.gentoo.org/650488 Closes: https://bugs.gentoo.org/692078 Closes: https://bugs.gentoo.org/713850 Closes: https://bugs.gentoo.org/908419 Closes: https://bugs.gentoo.org/652158 Closes: https://bugs.gentoo.org/919043 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: guard -Wl,--undefined-version with tc-ld-is-lldSam James2023-10-181-1/+1
| | | | | | | | Older binutils doesn't support this flag, so just guard it to make life easier for people. Bug: https://bugs.gentoo.org/915203 Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: workaround undefined qt_version_tag (LLD 17)Alfred Wingate2023-10-151-0/+6
| | | | | | | | Bug: https://bugreports.qt.io/browse/QTBUG-111514 Bug: https://bugs.gentoo.org/915203 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33302 Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: Rename qt5_tools_oos_quirk -> qt5_configure_oos_quirkAndreas Sturmlechner2023-07-081-38/+23
| | | | | | | | | | ...and turn it into a public helper, as it serves more than just qttools. The initial review missed the fact that qtlocation is not part of qttools, so push the quirks back into the ebuilds, calling the newly publicised function. Bug: https://bugs.gentoo.org/910066 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add qt5_syncqt_version()Andreas Sturmlechner2023-07-081-0/+19
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Import out-of-source quirks from qdoc/qtlocationAndreas Sturmlechner2023-07-081-2/+37
| | | | | | | | We probably won't get this fixed in Qt5 cycle anymore. Standardises the quirk via new internal helper function qt5_tools_oos_quirk() to avoid qt5_qmake usage in ebuilds. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Fix order of patchsets including depending sedAndreas Sturmlechner2023-04-131-11/+13
| | | | | | | - downstream patches are based on top of KDE's patchset - downstream patch affects qmake bootstrapping modifications Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Set _QT5_GENTOOPATCHSET_REV=4 for >=Qt5Base-5.15.9Andreas Sturmlechner2023-04-131-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-3/+3
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass: standardize prologue/epilogueDavid Seifert2023-03-171-6/+10
| | | | | Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert <soap@gentoo.org>
* qt5-build.eclass: Set _QT5_GENTOOPATCHSET_REV=3 for >=Qt5Base-5.15.8Andreas Sturmlechner2023-01-081-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Set _QT5_GENTOOPATCHSET_REV=2 for >=Qt5Base-5.15.7Andreas Sturmlechner2022-11-291-6/+14
| | | | | | | - Apply gentoo-patchset before running sed over configure - _QT5_GENTOOPATCHSET_REV shall always be applied Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Support sed regardless if $MAKE is quoted or notAndreas Sturmlechner2022-07-231-1/+1
| | | | | Bug: https://bugs.gentoo.org/792804 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Merge _QT5_GENTOOPATCHSET_REV handling into main blockAndreas Sturmlechner2022-07-231-6/+5
| | | | | | Dropping pre-5.15.5 SRC_URI support. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add _QT5_GENTOOPATCHSET_REV qtbase patchset logicAndreas Sturmlechner2022-06-191-0/+14
| | | | | | Usage may be extended to other QT5_MODULEs in the future. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Support future double-digit Qt-5.15 patch releasesAndreas Sturmlechner2022-06-191-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop support for Qt 5.15.2Andreas Sturmlechner2022-04-181-51/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-10/+10
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* qt5-build.eclass: Change SLOTing in 5.15.3Andreas Sturmlechner2022-03-211-1/+19
| | | | | | | | | | | - 0 for binary only (user-facing) tools not tied to specific Qt major version - 5 (clean) for binary only/unversioned plugins/files-only/non-private headers - 5/$(ver_cut 1-2) for everything else; unless overridden by ebuild - No change for 5.15.2 ebuilds dev-qt/qtxmlpatterns was added to clean "5" slot because development is dead. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: New helper function: qt5_symlink_binary_to_path()Andreas Sturmlechner2022-03-211-0/+10
| | | | | | | | | Symlink necessary tools to /usr/bin According to upstream discussion on Qt6 recommended tools to be in PATH. See also: https://lists.qt-project.org/pipermail/development/2020-November/040626.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Re-add support for Qt 5.15.2 official tarballsAndreas Sturmlechner2022-03-211-3/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add support for Qt 5.15.3 (and future) tarballsAndreas Sturmlechner2022-03-211-10/+35
| | | | | | KDE Qt5PatchCollection patches will be applied on top of v5.15.3-lts-lgpl Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Update comment regarding MODULE_VERSION downpatchingAndreas Sturmlechner2022-03-211-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: remove kernel_FreeBSDDavid Seifert2022-01-041-8/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* qt5-build.eclass: Drop EAPI-7 support and obsolete quirksAndreas Sturmlechner2021-10-171-12/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Downpatch version of live to 5.15.2 tooAndreas Sturmlechner2021-09-081-3/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Introduce QT5_PV for intra-dev-qt depsAndreas Sturmlechner2021-09-081-2/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Always run qt5_tools_configure for QT5_MODULE=qttoolsAndreas Sturmlechner2021-09-081-5/+20
| | | | | | | | | | | Run qt5_qmake directly inside qt5_tools_configure(), copy the resulting qttools-config.pri into QT5_BUILD_DIR again. Add linguist-tools handling. Closes: https://bugs.gentoo.org/728278 Closes: https://bugs.gentoo.org/811147 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Support EAPI-8Andreas Sturmlechner2021-08-251-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Use kde.org eclass for snapshots and live ebuildsAndreas Sturmlechner2021-08-251-30/+24
| | | | | | | | | - Drop unused src_unpack phase - Snapshots are identified by having KDE_ORG_COMMIT set pre-inherit - All live ebuilds and snapshots except qtwebengine inherit kde.org.eclass - SRC_URI, src_unpack handling is done by kde.org.eclass for them Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete conditional for dev-qt/qtwebengineAndreas Sturmlechner2021-08-251-13/+0
| | | | | | | dev-qt/qtwebengine conditional code already moved into ebuild. Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Rename MY_P to _QT5_P and fix eclassdoc warningAndreas Sturmlechner2021-08-251-3/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add eclassdoc for QT5_BUILD_TYPEAndreas Sturmlechner2021-08-251-3/+10
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop _alpha/_beta/_rc tarball supportAndreas Sturmlechner2021-08-251-7/+0
| | | | | | No more such pre-releases happening for Qt5. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop QT5_MINOR_VERSION (fixes eclassdoc)Andreas Sturmlechner2021-08-251-3/+0
| | | | | | No more usage as qt5-build.eclass supports Qt 5.15 branch exclusively. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: switch sources to KDE upstream for 5.15 live buildsJimi Huotari2021-08-251-7/+6
| | | | | | | | | | The KDE community has started [1] maintaining a repository with patches for the open-source Qt 5.15 branch. 1. https://mail.kde.org/pipermail/distributions/2021-April/000984.html Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Limit qtchooser config install to <qtcore-5.15.2-r10Andreas Sturmlechner2021-08-251-16/+17
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: standardize "EAPI not supported" messageDavide Pesavento2021-07-091-4/+3
| | | | Signed-off-by: Davide Pesavento <pesa@gentoo.org>
* qt5-build.eclass: mark VIRTUALX_REQUIRED as @PRE_INHERITSam James2021-03-311-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: Make dev-qt/qttest dependency work for qtwebengine snapshotAndreas Sturmlechner2021-02-051-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add missing RESTRICT+=" !test? ( test )"Andreas Sturmlechner2021-02-051-2/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete pre-5.15.2 quirkAndreas Sturmlechner2021-01-101-3/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2Andreas Sturmlechner2020-11-251-4/+3
| | | | | | Qt 5.15.2 and above will depend on dev-qt/qtchooser selectively. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete pre-Qt-5.15 quirksAndreas Sturmlechner2020-10-181-7/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop dev branch support, closing with 5.15.9999Andreas Sturmlechner2020-10-181-6/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>