4
1

6 Commits 21ca44fa68 ... 421c902927

Autor SHA1 Nachricht Datum
  Waldemar Brodkorb 421c902927 firefox: update to 129.0.2 vor 2 Monaten
  Waldemar Brodkorb 6ad1911de3 libssh: update to 0.11.1 vor 2 Monaten
  Waldemar Brodkorb 1f50163e59 mariadb: update to 10.11.9 vor 2 Monaten
  Waldemar Brodkorb 67581a5041 curl: update to 8.9.1 vor 2 Monaten
  Waldemar Brodkorb f08eb0db4b php: switch to openssl vor 2 Monaten
  Waldemar Brodkorb e02d327563 php: update to 8.3.11 vor 2 Monaten

+ 7 - 2
mk/host-bottom.mk

@@ -61,8 +61,9 @@ ifeq (${HOST_CONFIG_STYLE},cmake)
 endif
 ifeq (${HOST_CONFIG_STYLE},meson)
 	@$(CMD_TRACE) "configuring meson.. "
-	cd ${WRKSRC}; PATH='${HOST_PATH}' \
-		meson --prefix $(STAGING_HOST_DIR)/usr \
+	cd ${WRKSRC}; env PATH='${HOST_PATH}' CPPFLAGS='$(HOST_CPPFLAGS)' \
+		LDFLAGS='$(HOST_LDFLAGS)' CFLAGS='$(HOST_CFLAGS)' \
+		meson setup --prefix $(STAGING_HOST_DIR)/usr \
 		 --pkg-config-path $(STAGING_HOST_DIR)/usr/lib/pkgconfig \
 		 --buildtype release $(HOST_MESON_FLAGS) \
 		$(WRKSRC) $(WRKBUILD) $(MAKE_TRACE)
@@ -109,6 +110,10 @@ ifeq (${HOST_INSTALL_STYLE},auto)
 	cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
 	    DESTDIR='${STAGING_HOST_DIR}' ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
 endif
+ifeq (${HOST_INSTALL_STYLE},meson)
+	DESTDIR='' PATH='$(HOST_PATH)' \
+		ninja -C $(WRKBUILD) install $(MAKE_TRACE)
+endif
 ifeq (${HOST_INSTALL_STYLE},manual)
 	env ${HOST_MAKE_ENV} ${MAKE} host-install $(MAKE_TRACE)
 endif

+ 2 - 2
package/curl/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		curl
-PKG_VERSION:=		8.9.0
+PKG_VERSION:=		8.9.1
 PKG_RELEASE:=		1
-PKG_HASH:=		ff09b2791ca56d25fd5c3f3a4927dce7c8a9dc4182200c487ca889fba1fdd412
+PKG_HASH:=		f292f6cc051d5bbabf725ef85d432dfeacc8711dd717ea97612ae590643801e5
 PKG_DESCR:=		client-side url transfer tool
 PKG_SECTION:=		net/http
 PKG_BUILDDEP:=		zlib

+ 5 - 3
package/firefox/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		firefox
-PKG_VERSION:=		108.0.1
+PKG_VERSION:=		129.0.2
 PKG_RELEASE:=		1
-PKG_HASH:=		9821ac130dad01383e03276bf6cc92d41329d351da1fa7fa238168f8890611ea
+PKG_HASH:=		35a1da121af474833d013ecbc1f77aa55bb35678fe06d438842d320dfab3f344
 PKG_DESCR:=		www browser
 PKG_SECTION:=		app/browser
 PKG_DEPENDS:=		pango libfreetype fontconfig libxcomposite libxcursor
@@ -41,7 +41,9 @@ CONFIGURE_ARGS+=	--prefix=/usr \
 			--disable-audio-backends \
 			--without-wasm-sandboxed-libraries \
 			--disable-profiling \
-			--with-clang-path=/usr/bin/clang-13
+			--disable-crashreporter \
+			--with-clang-path=/usr/bin/clang-18 \
+			--with-libclang-path=/usr/lib/llvm-18/lib
 
 firefox-install:
 	$(INSTALL_DIR) $(IDIR_FIREFOX)/usr/bin

+ 13 - 0
package/firefox/patches/patch-build_moz_configure_flags_configure

@@ -0,0 +1,13 @@
+--- firefox-129.0.2.orig/build/moz.configure/flags.configure	2024-08-19 21:21:42.000000000 +0200
++++ firefox-129.0.2/build/moz.configure/flags.configure	2024-09-08 06:27:20.661198142 +0200
+@@ -72,10 +72,6 @@ def link_libstdcxx_statically(
+             )
+ 
+ 
+-@depends(when=link_libstdcxx_statically)
+-def check_libstdcxx_linkage():
+-    die("Firefox does not support linking statically with libstdc++")
+-
+ 
+ check_and_add_flag(
+     "-mieee",

+ 37 - 0
package/firefox/patches/patch-servo_components_style_traits_values_rs

@@ -0,0 +1,37 @@
+--- firefox-129.0.2.orig/servo/components/style_traits/values.rs	2024-08-19 21:21:51.000000000 +0200
++++ firefox-129.0.2/servo/components/style_traits/values.rs	2024-09-08 06:18:31.271680673 +0200
+@@ -388,11 +388,11 @@ impl Separator for Space {
+     where
+         F: for<'tt> FnMut(&mut Parser<'i, 'tt>) -> Result<T, ParseError<'i, E>>,
+     {
+-        input.skip_whitespace(); // Unnecessary for correctness, but may help try() rewind less.
++        input.skip_whitespace(); // Unnecessary for correctness, but may help try_parse() rewind less.
+         let mut results = vec![parse_one(input)?];
+         loop {
+-            input.skip_whitespace(); // Unnecessary for correctness, but may help try() rewind less.
+-            if let Ok(item) = input.try(&mut parse_one) {
++            input.skip_whitespace(); // Unnecessary for correctness, but may help try_parse() rewind less.
++            if let Ok(item) = input.try_parse(&mut parse_one) {
+                 results.push(item);
+             } else {
+                 return Ok(results);
+@@ -413,14 +413,14 @@ impl Separator for CommaWithSpace {
+     where
+         F: for<'tt> FnMut(&mut Parser<'i, 'tt>) -> Result<T, ParseError<'i, E>>,
+     {
+-        input.skip_whitespace(); // Unnecessary for correctness, but may help try() rewind less.
++        input.skip_whitespace(); // Unnecessary for correctness, but may help try_parse() rewind less.
+         let mut results = vec![parse_one(input)?];
+         loop {
+-            input.skip_whitespace(); // Unnecessary for correctness, but may help try() rewind less.
++            input.skip_whitespace(); // Unnecessary for correctness, but may help try_parse() rewind less.
+             let comma_location = input.current_source_location();
+-            let comma = input.try(|i| i.expect_comma()).is_ok();
+-            input.skip_whitespace(); // Unnecessary for correctness, but may help try() rewind less.
+-            if let Ok(item) = input.try(&mut parse_one) {
++            let comma = input.try_parse(|i| i.expect_comma()).is_ok();
++            input.skip_whitespace(); // Unnecessary for correctness, but may help try_parse() rewind less.
++            if let Ok(item) = input.try_parse(&mut parse_one) {
+                 results.push(item);
+             } else if comma {
+                 return Err(comma_location.new_unexpected_token_error(Token::Comma));

+ 10 - 0
package/firefox/patches/patch-servo_ports_geckolib_cbindgen_toml

@@ -0,0 +1,10 @@
+--- firefox-129.0.2.orig/servo/ports/geckolib/cbindgen.toml	2024-08-19 21:21:52.000000000 +0200
++++ firefox-129.0.2/servo/ports/geckolib/cbindgen.toml	2024-09-08 06:18:31.275680774 +0200
+@@ -360,7 +360,6 @@ renaming_overrides_prefixing = true
+ "Keyframe" = "Keyframe"
+ "nsChangeHint" = "nsChangeHint"
+ "ServoElementSnapshotTable" = "ServoElementSnapshotTable"
+-"Keyframe" = "Keyframe"
+ "ComputedKeyframeValues" = "ComputedKeyframeValues"
+ "OriginFlags" = "OriginFlags"
+ "ServoTraversalFlags" = "ServoTraversalFlags"

+ 1 - 1
package/gdk-pixbuf/Makefile

@@ -23,7 +23,7 @@ $(eval $(call HOST_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-$(PKG_RELEASE))
 $(eval $(call PKG_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
 
 HOST_STYLE:=		auto
-HOST_LDFLAGS+=		-lffi -lz -ldl -lresolv -liconv -lmount
+HOST_LDFLAGS+=		-lz -ldl -lresolv -liconv -lmount -lffi
 HOST_CONFIGURE_ARGS+=	--disable-glibtest \
 			--without-libjpeg \
 			--without-libpng \

+ 13 - 19
package/glib/Makefile

@@ -10,8 +10,8 @@ PKG_EXTRAVER:=		2.78
 PKG_HASH:=		24b8e0672dca120cc32d394bccb85844e732e04fe75d18bb0573b2dbc7548f63
 PKG_DESCR:=		low-level core library that forms the basis of gtk+
 PKG_SECTION:=		libs/misc
-PKG_DEPENDS:=		pcre2 zlib libffi
-PKG_BUILDDEP:=		glib-host util-linux libffi zlib dbus pcre2
+PKG_DEPENDS:=		pcre2 zlib libffi libiconv
+PKG_BUILDDEP:=		glib-host util-linux libffi zlib dbus pcre2 libiconv
 HOST_BUILDDEP:=		pkgconf-host libiconv-host libffi-host python3-host gettext-host util-linux-host
 HOST_BUILDDEP+=		pcre2-host meson-host
 PKG_NEEDS:=		threads intl iconv
@@ -28,29 +28,23 @@ $(eval $(call PKG_template,GLIB,glib,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS
 HOSTWRKBUILD=           $(WRKSRC)
 WRKBUILD=               $(WRKDIR)/$(PKG_NAME)-obj
 
-HOST_CONFIG_STYLE:=	manual
-HOST_STYLE:=		manual
+HOST_STYLE:=		meson
+HOST_INSTALL_STYLE:=	meson
+
 CONFIG_STYLE:=		meson
 BUILD_STYLE:=		meson
 INSTALL_STYLE:=		meson
 
+HOST_MESON_FLAGS:=	--default-library static -Dtests=false -Dxattr=false -Doss_fuzz=disabled
 MESON_FLAGS:=		-Dtests=false -Dxattr=false -Doss_fuzz=disabled
 
-host-configure:
-	(cd $(HOSTWRKBUILD) && PATH='$(HOST_PATH)' meson setup --prefix $(STAGING_HOST_DIR)/usr _build)
-
-host-build:
-	(cd $(HOSTWRKBUILD) && PATH='$(HOST_PATH)' meson compile -C _build)
-
-glib-hostinstall:
-	(cd $(HOSTWRKBUILD) && PATH='$(HOST_PATH)' meson install -C _build)
-
-do-configure:
-	(cd $(WRKBUILD) && PATH='$(HOST_PATH)' meson setup --prefix /usr \
-		--libdir lib --cross-file $(STAGING_HOST_DIR)/etc/meson/cross-compilation.conf -Dtests=false _build)
-
-do-build:
-	(cd $(WRKBUILD) && PATH='$(HOST_PATH)' meson compile -C _build)
+hostpost-install:
+	$(CP) $(HOSTWRKBUILD)/../glib-obj/meson-private/glib-2.0.pc \
+		$(STAGING_HOST_DIR)/usr/lib/pkgconfig
+	$(INSTALL_BIN) $(HOSTWRKBUILD)/../glib-obj/gobject/glib-mkenums \
+		$(STAGING_HOST_DIR)/usr/bin
+	$(INSTALL_BIN) $(HOSTWRKBUILD)/../glib-obj/gobject/glib-genmarshal \
+		$(STAGING_HOST_DIR)/usr/bin
 
 glib-install:
 	$(INSTALL_DIR) $(IDIR_GLIB)/usr/lib

+ 3 - 3
package/glib/patches/patch-meson_build

@@ -1,6 +1,6 @@
---- glib-2.75.2.orig/meson.build	2023-01-06 13:49:52.000000000 +0100
-+++ glib-2.75.2/meson.build	2023-01-22 14:18:11.633406695 +0100
-@@ -513,6 +513,7 @@ if cc.get_id() == 'gcc' or cc.get_id() =
+--- glib-2.78.4.orig/meson.build	2024-01-21 20:48:20.000000000 +0100
++++ glib-2.78.4/meson.build	2024-08-30 10:20:24.877632538 +0200
+@@ -527,6 +527,7 @@ if cc.get_id() == 'gcc' or cc.get_id() =
      '-Werror=missing-include-dirs',
      '-Werror=pointer-arith',
      '-Werror=unused-result',

+ 2 - 0
package/libiconv/Makefile

@@ -21,6 +21,8 @@ include $(ADK_TOPDIR)/mk/package.mk
 $(eval $(call HOST_template,LIBICONV,libiconv,$(PKG_VERSION)-$(PKG_RELEASE)))
 $(eval $(call PKG_template,LIBICONV,libiconv,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
 
+HOST_CONFIGURE_ARGS+=	--enable-static
+
 libiconv-install:
 	$(INSTALL_DIR) $(IDIR_LIBICONV)/usr/lib
 	$(CP) $(WRKINST)/usr/lib/libiconv.so* $(IDIR_LIBICONV)/usr/lib/

+ 2 - 2
package/libssh/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		libssh
-PKG_VERSION:=		0.11.0
+PKG_VERSION:=		0.11.1
 PKG_RELEASE:=		1
-PKG_HASH:=		860e814579e7606f3fc3db98c5807bef2ab60f793ec871d81bcd23acdcdd3e91
+PKG_HASH:=		14b7dcc72e91e08151c58b981a7b570ab2663f630e7d2837645d5a9c612c1b79
 PKG_DESCR:=		secure shell library
 PKG_SECTION:=		libs/crypto
 PKG_DEPENDS:=		zlib libopenssl

+ 1 - 1
package/libtiff/Makefile

@@ -10,7 +10,7 @@ PKG_HASH:=		0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8
 PKG_DESCR:=		library for reading/writing tiff images
 PKG_SECTION:=		libs/image
 PKG_NEEDS:=		c++
-PKG_BUILDDEP:=		zlib xz
+PKG_BUILDDEP:=		zlib
 PKG_URL:=		http://simplesystems.org/libtiff/
 PKG_SITES:=		http://download.osgeo.org/libtiff/
 PKG_LIBNAME:=		libtiff

+ 2 - 2
package/mariadb/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		mariadb
-PKG_VERSION:=		10.11.7
+PKG_VERSION:=		10.11.9
 PKG_RELEASE:=		1
-PKG_HASH:=		5239a245ed90517e96396605cd01ccd8f73cd7442d1b3076b6ffe258110e5157
+PKG_HASH:=		0a00180864cd016187c986faab8010de23a117b9a75f91d6456421f894e48d20
 PKG_DESCR:=		sql client library
 PKG_SECTION:=		libs/db
 PKG_DEPENDS:=		libncurses zlib libevent libpcre boost libfmt libkrb5

+ 2 - 5
package/pcre2/Makefile

@@ -23,14 +23,11 @@ include $(ADK_TOPDIR)/mk/package.mk
 $(eval $(call HOST_template,PCRE2,pcre2,${PKG_VERSION}-${PKG_RELEASE}))
 $(eval $(call PKG_template,PCRE2,pcre2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
 
-HOST_STYLE:=		cmake
+HOST_CONFIG_STYLE:=	cmake
+HOST_CMAKE_FLAGS+=	-DBUILD_SHARED_LIBS=ON
 CONFIG_STYLE:=		cmake
 CMAKE_FLAGS+=		-DBUILD_SHARED_LIBS=ON
 
-pcre2-hostinstall:
-	cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \
-		${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET}
-
 pcre2-install:
 	$(INSTALL_DIR) $(IDIR_PCRE2)/usr/lib
 	$(CP) $(WRKINST)/usr/lib/libpcre2*.so* \

+ 6 - 4
package/php/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		php
-PKG_VERSION:=		8.3.2
+PKG_VERSION:=		8.3.11
 PKG_RELEASE:=		1
-PKG_HASH:=		4ffa3e44afc9c590e28dc0d2d31fc61f0139f8b335f11880a121b9f9b9f0634e
+PKG_HASH:=		b862b098a08ab9bf4b36ed12c7d0d9f65353656b36fb0e3c5344093aceb35802
 PKG_DESCR:=		php language interpreter
 PKG_SECTION:=		dev/lang
 PKG_NEEDS:=		threads
@@ -34,6 +34,8 @@ PKGFB_MOD_CURL:=	curl
 PKGFS_MOD_CURL:=	libcurl
 PKGFD_MOD_FTP:=		ftp support
 PKGFD_MOD_GD:=		gd support
+PKGFB_MOD_GD:=		libpng
+PKGFS_MOD_GD:=		libpng
 PKGFD_MOD_GMP:=		gmp support
 PKGFB_MOD_GMP:=		gmp
 PKGFS_MOD_GMP:=		libgmp
@@ -44,8 +46,8 @@ PKGFD_MOD_MARIADB:=	mariadb support
 PKGFS_MOD_MARIADB:=	libmariadbclient
 PKGFB_MOD_MARIADB:=	mariadb
 PKGFD_MOD_SSL:=		ssl support
-PKGFB_MOD_SSL:=		libressl
-PKGFS_MOD_SSL:=		libressl
+PKGFB_MOD_SSL:=		openssl
+PKGFS_MOD_SSL:=		libopenssl
 PKGFD_MOD_PCNTL:=	process control support
 PKGFD_MOD_SESSION:=	session support
 PKGFD_MOD_SNMP:=	snmp support

+ 1 - 1
package/python-mako/Makefile

@@ -9,7 +9,7 @@ PKG_RELEASE:=		1
 PKG_HASH:=		d60a3903dc3bb01a18ad6a89cdbe2e4eadc69c0bc8ef1e3773ba53d44c3f7a34
 PKG_DESCR:=		fast, expressive, extensible templating engine
 PKG_SECTION:=		dev/tools
-PKG_BUILDDEP:=		python3-host
+HOST_BUILDDEP:=		python3-host python-markupsafe-host
 PKG_SITES:=		https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/
 
 DISTFILES:=             Mako-$(PKG_VERSION).tar.gz

+ 33 - 0
package/python-markupsafe/Makefile

@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:=		python-markupsafe
+PKG_VERSION:=		2.1.5
+PKG_RELEASE:=		1
+PKG_HASH:=		d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b
+PKG_DESCR:=		implements a XML/HTML/XHTML markup safe string
+PKG_SECTION:=		dev/tools
+HOST_BUILDDEP:=		python3-host
+PKG_SITES:=		https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/
+
+DISTFILES:=             MarkupSafe-$(PKG_VERSION).tar.gz
+
+WRKDIST=		$(WRKDIR)/MarkupSafe-$(PKG_VERSION)
+
+include ${ADK_TOPDIR}/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,PYTHON_MAKO,python-markupsafe,${PKG_VERSION}-${PKG_RELEASE}))
+
+include $(ADK_TOPDIR)/mk/python3.mk
+
+HOST_STYLE:=		manual
+
+python-markupsafe-hostinstall:
+	(cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
+		--prefix=$(STAGING_HOST_DIR)/usr)
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk

+ 1 - 1
scripts/prereq.sh

@@ -923,7 +923,7 @@ else
   fi
 
   if [ -n "$NEED_CLANG" ]; then
-    if ! which clang-13 >/dev/null 2>&1; then
+    if ! which clang-18 >/dev/null 2>&1; then
       printf "You need clang-13 to build $NEED_CLANG \n"
       out=1
     fi