[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kde packages and hurd



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@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?

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)

Reply to: