kde packages and hurd
Samuel Thibault
sthibault at debian.org
Mon Oct 3 23:41:04 BST 2022
Hello,
Samuel Thibault, le mar. 20 sept. 2022 22:12:46 +0200, a ecrit:
> Aurélien COUDERC, le mar. 20 sept. 2022 15:23:04 +0200, a ecrit:
> > Le 20 septembre 2022 15:09:08 GMT+02:00, Samuel Thibault <sthibault at debian.org> a écrit :
> > >Each package now has to explicitly add Hurd to the list of supported OS
> > >in metainfo.yaml:
> >
> > Ouch !
> > That's 83 Frameworks source packages, 51 Plasma, however many Gears…
> >
> > I didn't have that in mind and I'm not doing it.
>
> I can understand that indeed...
>
> I'm thinking: perhaps we can patch extra-cmake-modules to take
> KF_IGNORE_PLATFORM_CHECK as an environment variable, as attached, and I
> can easily make the hurd buildd define it to ON?
So how does it look like as a solution? That only requires a very simple
patch in extra-cmake-modules, and setting the environment variable on
the buildds will enable building all kde packages.
Samuel
> --- KDEMetaInfoPlatformCheck.cmake.orig 2022-09-20 20:10:41.000000000 +0000
> +++ KDEMetaInfoPlatformCheck.cmake 2022-09-20 20:11:21.000000000 +0000
> @@ -19,6 +19,9 @@
> #]=======================================================================]
>
> option(KF_IGNORE_PLATFORM_CHECK "Ignore the supported platform check against metainfo.yaml" OFF)
> +if ($ENV{KF_IGNORE_PLATFORM_CHECK} STREQUAL "ON")
> + set(KF_IGNORE_PLATFORM_CHECK ON)
> +endif()
>
> if (NOT "${KF_IGNORE_PLATFORM_CHECK}")
> file(STRINGS metainfo.yaml MetaInfoContents)
More information about the pkg-kde-talk
mailing list