From nobody Wed Mar 22 15:42:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PhXly2ZHgz40yv6; Wed, 22 Mar 2023 15:42:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhXlx6Sz6z3GN8; Wed, 22 Mar 2023 15:42:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679499741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YSRjeiZypb8axIklYBPmKvR3lUCkz1Imz4eoCx62S6M=; b=s3dOMqvEkV1XVfAHKAicKiOeDkEyU/cjpQ02llp/Dd97o61VuGN3kkN3IkzCwLep8FaPOh +zrEoU5vB/W22fA4+X78c1UOn3X99sHdGP8a7kZ/N1BAWV70C1ISWnNntBqsSNHMhFleC6 dIuq3NdZK/kFLVq+IS2vPjXJFx8ppgBM53T1TTXPrS7VbAQItqIhgCU3Hb3nrXRarOTEcs 1X/GkPEJ4W7IgC3nGHrM43msDkxZLoqMzeT4QF9qjw2xNbTwUpbZmr2nhCdqgRS9YKFnb8 WfY4nHxAmmqNHBsTOwlijLIne+a83vU/tiso/zpBADShjrD9KmTPDKUj6vyVew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679499741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YSRjeiZypb8axIklYBPmKvR3lUCkz1Imz4eoCx62S6M=; b=T5x92VOy87ZD1++h0jOlsy2buGcGGhPBEIBQ2j10bA+tNvl7vifR2mE4S12Rq5B/M22MPM 5STwsZiq8xU6ZdkoM0PyHzTVxLyWsWPDKf/fOUKJyRVsm1DMvZo2Xv2Kie9v6jJ6YOQ6o9 SizjNHHYL/3WqZZD8/QifU2JDtPBH8+ySsmygUmHpRv7fa36J96V13Kxbzm3TwO+1O2P5W EC9M5Js77sDHPs0t1Q0T4+7STmxW0LIAfwqVZ8l0j6uxeNTyo3M3WrB62IUmliOwXjqJti 95niA0mIFbf5P4WE41wXGNlcZzQZ81Ni7x2AdpaXNYd8CjLQZNZqI89P/qFXGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679499741; a=rsa-sha256; cv=none; b=DqU2GbN+FxlMnHYO6ZJN+mAkyyLIeneBmfMLOAnoGIMaF6liUl1dkD1uvlYfUTICGxJcZB 9iTNUyZnnhWW3bpZ6d2C5ygsF3UZHfoVW23HautkJ8V5x+9Idj5ZK3R04S+o8owe08ISk4 5vgWhhyz13wfQsdJVbx3qNZqIdc029G+uclq77tUD2U6e1ulOd14WXuBeArx33sV80NDKZ WnO/G4ft0E3e2hLykfe2HiLTxgpDFsIEMTrvKhtAIcSu/EnrQspC/js6awijKKWAce+Zdt NFm46NPFqXzA6VAFsqVtqqlCClXqkXPJVq15jxRM+knbuOfW5DdOj/6UQ6WHHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PhXlx5WCbz10Kh; Wed, 22 Mar 2023 15:42:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32MFgL83041414; Wed, 22 Mar 2023 15:42:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32MFgL3o041413; Wed, 22 Mar 2023 15:42:21 GMT (envelope-from git) Date: Wed, 22 Mar 2023 15:42:21 GMT Message-Id: <202303221542.32MFgL3o041413@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: fcf0cc114ab8 - main - devel/glib20: update to 2.76.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fcf0cc114ab8c9868bb926e79340a685c033a42a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=fcf0cc114ab8c9868bb926e79340a685c033a42a commit fcf0cc114ab8c9868bb926e79340a685c033a42a Author: Jan Beich AuthorDate: 2023-03-04 21:31:19 +0000 Commit: Jan Beich CommitDate: 2023-03-22 15:36:28 +0000 devel/glib20: update to 2.76.0 Changes: https://gitlab.gnome.org/GNOME/glib/-/releases/2.76.0 Reported by: GitLab (notify releases) PR: 270087 Exp-run by: antoine Approved by: tcberner --- devel/glib20/Makefile | 6 +++--- devel/glib20/distinfo | 6 +++--- devel/glib20/files/patch-glib_gspawn.c | 25 +++++++++++++------------ devel/glib20/files/patch-glib_meson.build | 15 +++++++-------- devel/glib20/pkg-plist | 12 ++++++++++++ 5 files changed, 38 insertions(+), 26 deletions(-) diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 92157b70acd7..d737e0e1b885 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -1,5 +1,5 @@ PORTNAME= glib -DISTVERSION= 2.74.6 +DISTVERSION= 2.76.0 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME @@ -29,7 +29,7 @@ MESON_ARGS= -Db_lundef=false \ -Ddefault_library=both \ -Dinstalled_tests=false \ -Dlibmount=disabled \ - -Dlocalstatedir=/var \ + -Druntime_dir=/var/run \ -Dselinux=disabled \ -Dxattr=false BINARY_ALIAS= python3=${PYTHON_CMD} @@ -38,7 +38,7 @@ CPE_VENDOR= gnome CONFLICTS_INSTALL= p5-Giovanni -_LIBVERSION= 0.7400.6 +_LIBVERSION= 0.7600.0 PLIST_SUB= LIBVERSION=${_LIBVERSION} OPTIONS_DEFINE= DEBUG GTKDOC FAM_ALTBACKEND MANPAGES NLS TEST diff --git a/devel/glib20/distinfo b/devel/glib20/distinfo index 232cdcdaa15c..e35900e602f7 100644 --- a/devel/glib20/distinfo +++ b/devel/glib20/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1677930464 -SHA256 (gnome/glib-2.74.6.tar.xz) = 069cf7e51cd261eb163aaf06c8d1754c6835f31252180aff5814e5afc7757fbc -SIZE (gnome/glib-2.74.6.tar.xz) = 5217312 +TIMESTAMP = 1678459405 +SHA256 (gnome/glib-2.76.0.tar.xz) = 525bb703b807142e1aee5ccf222c344e8064b21c0c45677ef594e587874c6797 +SIZE (gnome/glib-2.76.0.tar.xz) = 5268620 SHA256 (gnome/f6c40b1d27ed.patch) = 5ec18921942e1be13aad3de6c1ad829a46bf0cbbdbc1c3d1ef2247e4657ec473 SIZE (gnome/f6c40b1d27ed.patch) = 803 diff --git a/devel/glib20/files/patch-glib_gspawn.c b/devel/glib20/files/patch-glib_gspawn.c index b34a4cd8da6a..939ef8168c1f 100644 --- a/devel/glib20/files/patch-glib_gspawn.c +++ b/devel/glib20/files/patch-glib_gspawn.c @@ -1,6 +1,6 @@ ---- glib/gspawn.c.orig 2020-12-17 03:47:11.474608400 -0800 -+++ glib/gspawn.c 2021-02-17 13:58:15.271434000 -0800 -@@ -51,6 +51,12 @@ +--- glib/gspawn.c.orig 2023-03-10 14:33:15 UTC ++++ glib/gspawn.c +@@ -54,6 +54,12 @@ #include /* for syscall and SYS_getdents64 */ #endif @@ -13,9 +13,9 @@ #include "gspawn.h" #include "gspawn-private.h" #include "gthread.h" -@@ -1204,6 +1210,33 @@ filename_to_fd (const char *p) +@@ -1231,6 +1237,33 @@ g_spawn_check_exit_status (gint wait_status, + return g_spawn_check_wait_status (wait_status, error); } - #endif +#ifdef __FreeBSD__ +static int @@ -46,17 +46,18 @@ + /* This function is called between fork() and exec() and hence must be * async-signal-safe (see signal-safety(7)). */ - static int -@@ -1228,6 +1261,12 @@ safe_fdwalk (int (*cb)(void *data, int fd), void *data - - #if 0 && defined(HAVE_SYS_RESOURCE_H) - struct rlimit rl; -+#endif + static gssize +@@ -1432,6 +1465,13 @@ safe_fdwalk (int (*cb)(void *data, int fd), void *data + * may fail on non-Linux operating systems. See safe_fdwalk_with_invalid_fds + * for a slower alternative. + */ + +#ifdef __FreeBSD__ ++ gint res = 0; + if (fdwalk2(cb, data, &res) == 0) + return res; + /* If any sysctl/malloc call fails continue with the fall back method */ - #endif ++#endif #ifdef __linux__ + gint fd; diff --git a/devel/glib20/files/patch-glib_meson.build b/devel/glib20/files/patch-glib_meson.build index 40cc18b594b6..a2852a624916 100644 --- a/devel/glib20/files/patch-glib_meson.build +++ b/devel/glib20/files/patch-glib_meson.build @@ -1,11 +1,10 @@ ---- glib/meson.build.orig 2022-09-17 18:38:17 UTC +--- glib/meson.build.orig 2023-03-10 14:33:15 UTC +++ glib/meson.build -@@ -379,7 +379,7 @@ libglib = library('glib-2.0', - link_args : [noseh_link_args, glib_link_flags, win32_ldflags], - include_directories : configinc, - link_with: [charset_lib, gnulib_lib], -- dependencies : [pcre2, thread_dep, librt] + libintl_deps + libiconv + platform_deps + [gnulib_libm_dependency, libm] + [libsysprof_capture_dep], -+ dependencies : [pcre2, thread_dep, librt] + libintl_deps + libiconv + platform_deps + [gnulib_libm_dependency, libm] + [libsysprof_capture_dep] + libutil, +@@ -422,6 +422,7 @@ libglib = library('glib-2.0', + pcre2, + platform_deps, + thread_dep, ++ libutil, + ], c_args : glib_c_args, objc_args : glib_c_args, - ) diff --git a/devel/glib20/pkg-plist b/devel/glib20/pkg-plist index 4442dc452b5d..67da0c1fd546 100644 --- a/devel/glib20/pkg-plist +++ b/devel/glib20/pkg-plist @@ -90,6 +90,7 @@ include/glib-2.0/gio/ginetsocketaddress.h include/glib-2.0/gio/ginitable.h include/glib-2.0/gio/ginputstream.h include/glib-2.0/gio/gio-autocleanups.h +include/glib-2.0/gio/gio-visibility.h include/glib-2.0/gio/gio.h include/glib-2.0/gio/gioenums.h include/glib-2.0/gio/gioenumtypes.h @@ -215,6 +216,7 @@ include/glib-2.0/glib/giochannel.h include/glib-2.0/glib/gkeyfile.h include/glib-2.0/glib/glib-autocleanups.h include/glib-2.0/glib/glib-typeof.h +include/glib-2.0/glib/glib-visibility.h include/glib-2.0/glib/glist.h include/glib-2.0/glib/gmacros.h include/glib-2.0/glib/gmain.h @@ -224,6 +226,7 @@ include/glib-2.0/glib/gmem.h include/glib-2.0/glib/gmessages.h include/glib-2.0/glib/gnode.h include/glib-2.0/glib/goption.h +include/glib-2.0/glib/gpathbuf.h include/glib-2.0/glib/gpattern.h include/glib-2.0/glib/gpoll.h include/glib-2.0/glib/gprimes.h @@ -265,6 +268,7 @@ include/glib-2.0/glib/gversion.h include/glib-2.0/glib/gversionmacros.h include/glib-2.0/glib/gwin32.h include/glib-2.0/gmodule.h +include/glib-2.0/gmodule/gmodule-visibility.h include/glib-2.0/gobject/gbinding.h include/glib-2.0/gobject/gbindinggroup.h include/glib-2.0/gobject/gboxed.h @@ -274,6 +278,7 @@ include/glib-2.0/gobject/glib-enumtypes.h include/glib-2.0/gobject/glib-types.h include/glib-2.0/gobject/gmarshal.h include/glib-2.0/gobject/gobject-autocleanups.h +include/glib-2.0/gobject/gobject-visibility.h include/glib-2.0/gobject/gobject.h include/glib-2.0/gobject/gobjectnotifyqueue.c include/glib-2.0/gobject/gparam.h @@ -357,6 +362,9 @@ share/gettext/its/gschema.loc %%DATADIR%%-2.0/codegen/codegen_main.py %%DATADIR%%-2.0/codegen/codegen_main.pyc %%DATADIR%%-2.0/codegen/codegen_main.pyo +%%DATADIR%%-2.0/codegen/codegen_md.py +%%DATADIR%%-2.0/codegen/codegen_md.pyc +%%DATADIR%%-2.0/codegen/codegen_md.pyo %%DATADIR%%-2.0/codegen/codegen_rst.py %%DATADIR%%-2.0/codegen/codegen_rst.pyc %%DATADIR%%-2.0/codegen/codegen_rst.pyo @@ -552,6 +560,7 @@ share/gettext/its/gschema.loc %%GTKDOC%%share/gtk-doc/html/gio/api-index-2-70.html %%GTKDOC%%share/gtk-doc/html/gio/api-index-2-72.html %%GTKDOC%%share/gtk-doc/html/gio/api-index-2-74.html +%%GTKDOC%%share/gtk-doc/html/gio/api-index-2-76.html %%GTKDOC%%share/gtk-doc/html/gio/api-index-deprecated.html %%GTKDOC%%share/gtk-doc/html/gio/api-index-full.html %%GTKDOC%%share/gtk-doc/html/gio/application.html @@ -689,6 +698,7 @@ share/gettext/its/gschema.loc %%GTKDOC%%share/gtk-doc/html/glib/api-index-2-70.html %%GTKDOC%%share/gtk-doc/html/glib/api-index-2-72.html %%GTKDOC%%share/gtk-doc/html/glib/api-index-2-74.html +%%GTKDOC%%share/gtk-doc/html/glib/api-index-2-76.html %%GTKDOC%%share/gtk-doc/html/glib/api-index-2-8.html %%GTKDOC%%share/gtk-doc/html/glib/api-index-deprecated.html %%GTKDOC%%share/gtk-doc/html/glib/api-index-full.html @@ -721,6 +731,7 @@ share/gettext/its/gschema.loc %%GTKDOC%%share/gtk-doc/html/glib/glib-Error-Reporting.html %%GTKDOC%%share/gtk-doc/html/glib/glib-File-Utilities.html %%GTKDOC%%share/gtk-doc/html/glib/glib-GDateTime.html +%%GTKDOC%%share/gtk-doc/html/glib/glib-GPathBuf.html %%GTKDOC%%share/gtk-doc/html/glib/glib-GTimeZone.html %%GTKDOC%%share/gtk-doc/html/glib/glib-GUuid.html %%GTKDOC%%share/gtk-doc/html/glib/glib-GVariant.html @@ -835,6 +846,7 @@ share/gettext/its/gschema.loc %%GTKDOC%%share/gtk-doc/html/gobject/api-index-2-70.html %%GTKDOC%%share/gtk-doc/html/gobject/api-index-2-72.html %%GTKDOC%%share/gtk-doc/html/gobject/api-index-2-74.html +%%GTKDOC%%share/gtk-doc/html/gobject/api-index-2-76.html %%GTKDOC%%share/gtk-doc/html/gobject/api-index-2-8.html %%GTKDOC%%share/gtk-doc/html/gobject/api-index-deprecated.html %%GTKDOC%%share/gtk-doc/html/gobject/api-index-full.html