44 Commits

Author SHA1 Message Date
Andreas Cord-Landwehr
5c15e3d0cb reuse_license_checksums: simplify code by using only SPDX identifiers
Legacy Yocto identifier support can be dropped because of Yocto's
switch to SPDX identifiers.
2023-10-01 16:02:05 +00:00
Andreas Cord-Landwehr
6afcc7c34b reuse_license_checksums: use md5sum from poky's MIT-CMU 2023-09-30 14:15:02 +02:00
Justin Hammond
8d32ec2187 Bump KF5 frameworks to 5.109.0 2023-08-24 17:38:22 +08:00
Michel Zink
2882880331 Change cmake options to support multilib feature
Platforms which uses the multilib feature can not use this layer because
the libdir variable will be change by the multilib bbclass.
Using STAGING_LIBDIR_NATIVE instead is more reliable.
2023-04-18 21:13:48 +02:00
Andreas Cord-Landwehr
85c0f7ffb4 kauth.bbclass: only add dependencies for target recipes
This change avoids propagation of target specific dependencies when
class is inherited in native packages.
2023-04-08 08:56:56 +02:00
Andreas Cord-Landwehr
c3c8584978 cmake_kf5: support langdale's CMake version 2023-01-12 18:55:50 +01:00
Andreas Cord-Landwehr
0650add995 Introduce kcmutils class
kcmutils now uses a mandatory runtime dependency during build, which for
convenienc is provided by this new class.
2022-09-19 20:41:00 +02:00
Andreas Cord-Landwehr
0dedee4dbd Inherit pckgconfig for all cmake_kf5 recipes
This ensures that with Kirkstone the pckconfig executable is available
for all packages, which is required for several ECM calls.
2022-05-28 16:51:03 +02:00
Andreas Cord-Landwehr
bcf1d831ea Use append syntax for classes
The preferred way for bitbake classes is the append syntax because it
does not interact with the += syntax in derived recipes.
2022-05-28 11:52:38 +02:00
Andreas Cord-Landwehr
6301203a0c Port to new desktoptojson crosscompilation behavior 2022-04-14 11:30:19 +02:00
Andreas Cord-Landwehr
b030c4b498 Fix variable expansion in conditional overrides
When using conditional override syntax, this should only be combined
with the append/prepend/remove operators. This commit rewrites the
claas-native and class-target overrides such that it does not replace
any recipe set values of EXTRA_OECMAKE (reading the removed syntax it is
very counter-intuitive, but sadly really happens). The problem was:

EXTRA_OECMAKE:class-target += " foo" # from class
EXTRA_OECMAKE += " baa" # from recipe

to be evaluated to EXTRA_OECMAKE = " foo". By this change, the values
are appended as expected, even if the recipe is not using conditional
overrides for the value assignment.
2022-04-14 11:23:39 +02:00
Andreas Cord-Landwehr
f90a19fee0 Add CC0-1.0 to QA check whitelist 2022-01-09 11:29:43 +01:00
Andreas Cord-Landwehr
07210ebb7a Update to KF 5.90.0 2022-01-09 11:25:17 +01:00
Andreas Cord-Landwehr
a9f5eab05e Update licenses in REUSE checksum database 2021-11-14 10:52:30 +01:00
Hannah Kiekens
c941a21cfe Switch to new bitbake override syntax 2021-10-28 17:39:13 +02:00
Andreas Cord-Landwehr
f08ba7d35c Add LicenseRef-KDE-Accepted-GPL to reuse check helper 2021-09-12 19:40:40 +02:00
Andreas Cord-Landwehr
6506fe57df Add GPL checksums to license helper class 2021-09-12 18:44:02 +02:00
Andreas Cord-Landwehr
f1a2631d9f Update license statements of libraries 2021-06-20 11:29:37 +02:00
Andreas Cord-Landwehr
ead9805392 Support multiple checksums per license 2021-02-07 13:27:19 +01:00
Andreas Cord-Landwehr
1ddbf82198 Disable license check per default 2021-02-07 10:03:23 +01:00
Andreas Cord-Landwehr
14920ec41e Revisit REUSE checksum generator tool
- implement automatic checksum generator for arbitrary license
  expressions using &, | and braces
- implement warnings if source package has more licenses than
  stated in recipe
2021-02-07 09:48:58 +01:00
Andreas Cord-Landwehr
e248665881 Make project REUSE compatible
The change was performed as follows:
- it was checked that the COPYING.MIT license was present with the
  initial commit and such each contributor was awere of the license
- mail was around to all previous contributors to check this assumption
  (mail was not replied by Hannah and Sebastian); every reply was a
  confirmation of the assumed MIT licensing
- all copyright information were recovered from the respective Git
  commits
- reuse lint was to used to check the REUSE conformance
2020-09-26 18:29:02 +02:00
Andreas Cord-Landwehr
e62d548821 Introduce class for LIC_FILES_CHKSM computation
For all REUSE compatible repositories we can expect that the
license file is stored under LICENSES/ and has the canonical form.
Based on this information, the file checksums can be computed
automatically.
2020-09-12 18:21:54 +02:00
Volker Krause
013caa0ef2 Update to KDE Frameworks 5.64.0 2019-12-03 22:32:07 +01:00
Volker Krause
5aaf18e9ec Update to KDE Frameworks 5.60.0 2019-08-09 20:16:42 +02:00
Volker Krause
717a6e1d3e Update to KDE Frameworks 5.59.0 2019-06-28 19:44:09 +02:00
Volker Krause
5c95f585bf Port native tools to use KF5_HOST_TOOLING
The previous hack of just copying the native tools into the target sysroot
has several limitations:
- it no longer works with relative RPATHs being used
- it fails in the case of kpackage where we need the same tools for host
  and target
2019-02-16 13:32:41 +01:00
Volker Krause
3148b4fc4b Refactor ki18n dependency handling 2019-02-10 10:52:28 +01:00
Volker Krause
63d4f58feb Add kdoctools class
Allows us to maintain the necessary bits in a single place, rather than
in multiple recipes in meta-kde.
2019-02-08 14:05:52 +01:00
Volker Krause
3c228f8ee5 Update to frameworks 5.44.0 2018-03-24 12:22:39 +01:00
Volker Krause
88d58571d3 Update to KDE Frameworks 5.43.0 2018-02-12 20:19:46 +01:00
Volker Krause
2c0a636c11 Generalize the cmake file pattern a bit 2018-01-18 19:04:35 +01:00
Volker Krause
26733d6bfe Move more common file patterns to the KF5 class
Makes the individual recipes easier to maintain.
2017-10-29 19:31:30 +01:00
Volker Krause
aa85f0a191 Move handling of D-Bus files to the KF5 class 2017-10-29 19:16:23 +01:00
Volker Krause
408dd9bc36 Update to KF 5.38.0 2017-09-16 12:14:06 +02:00
Volker Krause
5a24d7b849 Enable building of translations for target recipes 2017-09-03 19:23:48 +02:00
Volker Krause
af7f38d769 Move ECM to tier 1, and give it a more descriptive name 2017-08-02 18:53:31 +02:00
Volker Krause
3385fb91d4 Improve handling of host tools
Summary:
We now no longer need the corresponding native variants of the frameworks
added as explicit dependencies, the target ones take care of this. The
approach is inspired by how the Wayland recipe handles its code generator.

This also uncovered an issue with KAuth, which can't build its host tools
yet. This uses the target version as a placeholder for now, to not block
the build of everything else.

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D7023
2017-08-02 18:40:10 +02:00
Volker Krause
321066379c Move handling of cmake/qmake dev files to the KF5 class
Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D7019
2017-07-31 20:47:39 +02:00
Volker Krause
e29f976fac Add KConfig recipe
Summary:
Based on Johan's work branch. This also disables unit tests for all
frameworks, tests aren't executable for cross-builds anyway, and KConfig
tries to run the target kconfig_compiler there.

The native version can still further improved by allowing a QtCore-only
build of KConfig, as we are only interested in the kconfig_compiler.

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D6987
2017-07-30 14:12:32 +02:00
Volker Krause
9c973e8940 Enable building native variants of the KF5 packages too
Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D6985
2017-07-30 14:05:08 +02:00
Volker Krause
ee7c296202 Make ECM a dependency for all frameworks
Summary:
Also, add a temporary workaround for ECM requiring lrelease/lconvert host
tools if the KF5 sources include translations (which they do when using
tags). We of course need to fix that eventually, but right now that just
prevents anything from building.

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Subscribers: #frameworks

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6976
2017-07-30 13:52:06 +02:00
Sébastien Taylor
8344521ab1 Updated how package version works and updated to current 5.19.0 KF5. 2017-07-27 12:09:21 +02:00
Johan Thelin
b5cafb1520 Added class to patch cmake-files before do_install 2017-07-27 12:09:21 +02:00