[gnome-software/1877-gnome-software-fails-to-build-with-flatpak-1-14-built-without-libsoup] build: Drop libsoup API version check for flatpak library



commit 813019047d4c02b317f93107baced017d03ad872
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 25 09:40:47 2022 +0200

    build: Drop libsoup API version check for flatpak library
    
    The `soupapiversion` variable had been added in [1], but it did not
    land yet and possibly never will. The flatpak library can be built
    with libcurl instead, which should be detectable somehow too. As there
    is currently no way to know what libsoup version the flatpak library
    had been built with, if any, drop the check in the build script.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1877
    
    [1] https://github.com/flatpak/flatpak/pull/4582

 meson.build | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/meson.build b/meson.build
index eab142201..1acf08468 100644
--- a/meson.build
+++ b/meson.build
@@ -226,14 +226,6 @@ endif
 if get_option('flatpak')
   flatpak = dependency('flatpak', version : '>= 1.9.1')
   ostree = dependency('ostree-1')
-
-  flatpak_soupapiversion = flatpak.get_variable('soupapiversion')
-  if flatpak_soupapiversion == ''
-    flatpak_soupapiversion = '2.4' # Pre libsoup3 support
-  endif
-  if flatpak_soupapiversion != libsoupapiversion
-    error('flatpak was built against a different API of libsoup. @0@ instead of 
@1@.'.format(flatpak_soupapiversion, libsoupapiversion))
-  endif
 endif
 
 if get_option('malcontent')


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