Revert "glib2: use internal pcre2"
authorFlorian Eckert <redacted>
Fri, 16 Feb 2024 09:16:10 +0000 (10:16 +0100)
committerFlorian Eckert <redacted>
Fri, 16 Feb 2024 11:01:46 +0000 (12:01 +0100)
This is must also get revert to get back to working glib2 version 2.74.0

Signed-off-by: Florian Eckert <redacted>
This reverts commit 9f57ef2d6e339231278f36614d9b2fdd275a9339.

libs/glib2/Makefile
libs/glib2/patches/010-pcre.patch

index 27e30a8073fd66f4a9ba2282441da449e297ca45..7dc30ddd7e32754194167d96dd333468ad5fa218 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=glib2
 PKG_VERSION:=2.78.4
-PKG_RELEASE:=2
+PKG_RELEASE:=1
 
 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNOME/glib/$(basename $(PKG_VERSION))
@@ -55,7 +55,7 @@ COMP_ARGS= \
        -Dglib_checks=true \
        -Dlibelf=disabled
 
-MESON_HOST_ARGS += $(COMP_ARGS) -Dxattr=false -Ddefault_library=static -Dnls=disabled -Dforce_fallback_for=libpcre2-8
+MESON_HOST_ARGS += $(COMP_ARGS) -Dxattr=false -Ddefault_library=static -Dnls=disabled
 MESON_ARGS += $(COMP_ARGS) -Dxattr=true -Db_lto=true -Ddefault_library=both -Dnls=$(if $(CONFIG_BUILD_NLS),en,dis)abled
 
 define Build/InstallDev
index b61341cdf2534a17d49753be864b4406c11a06a5..ead8f7f2335466f42b7ec0d0507f3c64a65c6729 100644 (file)
@@ -1,11 +1,8 @@
 --- a/glib/meson.build
 +++ b/glib/meson.build
-@@ -400,8 +400,9 @@ endif
+@@ -402,6 +402,7 @@ pcre2_static_args = []
  
- pcre2_static_args = []
--if use_pcre2_static_flag
-+if pcre2.type_name() == 'internal'
+ if use_pcre2_static_flag
    pcre2_static_args = ['-DPCRE2_STATIC']
 +  pcre2 = pcre2.as_link_whole()
  endif
git clone https://git.99rst.org/PROJECT