pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 27 19:07:43 UTC 2025

Modified Files:
        pkgsrc/devel/gdbus-codegen: distinfo
        pkgsrc/devel/gdbus-codegen/patches: patch-meson.build
        pkgsrc/devel/glib2: Makefile Makefile.common PLIST distinfo
        pkgsrc/devel/glib2/patches: patch-meson.build

Log Message:
glib2 glib2-tools gdbus-codegen: updated to 2.84.2

Overview of changes in GLib 2.84.2, 2025-05-20

* Bugs fixed:
  - Backport “gclosure: fix ATOMIC_CHANGE_FIELD to read vint
    atomically” to glib-2-84
  - Backport “Windows: fix wrong typelib path” to glib-2-84
  - Backport "gstring: carefully handle gssize parameters"
  - Backport “Update macOS job for new CI runner” to glib-2-84
  - Backport “gdate: Call tzset before localtime_r” to glib-2-84
  - Backport -Wsign-conversion fixes for g_get_locale_variants() from
    to glib-2-84
  - Backport “glocalfile: Disable faccessat()-based query_exists on
    Android” to glib-2-84

Overview of changes in GLib 2.84.1, 2025-04-03

* Fix test failure when building against gobject-introspection ≥1.83.4

* Bugs fixed:
  - 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10:
    fatal error: netlink/netlink_route.h: No such file or directory (Philip
    Withnall)
  - test failure with gobject-introspection 1.83.4: warning: element
    doc:format from state 3 is unknown, ignoring (Philip Withnall)
  - gio/trash does not handle special characters well
  - `g_cancellable_connect()` documentation incorrect (Marco Trevisan
    (Treviño))
  - g_cancellable_connect(): is it safe to unref cancellable from
    callback? (Marco Trevisan (Treviño))
  - Crash with some registry key values in GWin32AppInfo (Philip Withnall)
  - Memory sanitizer fixes
  - gobject: Be consistent in using atomic logic to handle the
    GParamSpecPool
  - gsettings: Port docs to gi-docgen format, add missing annotations and
    make various improvements
  - tests: Don't install runner scripts without installed_tests
  - Update French translation
  - Update Catalan translation
  - Update Turkish translation
  - Updated Danish translation
  - Update Persian translation
  - docs: Document GSignalFlags members added after 2.0
  - Update Indonesian translation
  - tests: Add a test for g_object_freeze_notify() being called too often
  - gfileinfo: Slightly expand docs for
    g_file_info_get_attribute_as_string()
  - gi: Dynamically set doc-format
  - tests: Various fixes to create temporary files in /tmp rather than the
    build directory
  - gdbusnameowning: Convert docs to gi-docgen linking syntax
  - giounix-private: Fix macro for checking for epoll_create1()
  - Fix LGPL in header
  - gutils: make documentation of g_set_prgname() clearer
  - docs: Add some detail
  - Update Romanian translation
  - gspawn-win32: Fix potential integer overflows in argv handling
  - gvarianttype: Improve docs on type validation

* Translation updates:
  - Catalan (Jordi Mas)
  - Danish (Ask Hjorth Larsen)
  - French (Vincent Chatelain)
  - Indonesian (Andika Triwidada)
  - Persian (Danial Behzadi)
  - Romanian (Antonio Marin)
  - Turkish (Sabri Ünal)

Overview of changes in GLib 2.84.0, 2025-03-06

* Bugs fixed:
  - Update Slovenian (sl) translation in glib
  - Update Korean translation
  - tests: Minor fixes to reference and stream-rw_all tests
  - gdebugcontrollerdbus: Fix a minor typo in a code example in the docs
  - Update Hungarian translation

* Translation updates:
  - Hungarian (Balázs Úr)
  - Korean (Changwoo Ryu)
  - Slovenian (Martin)


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/gdbus-codegen/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/gdbus-codegen/patches/patch-meson.build
cvs rdiff -u -r1.308 -r1.309 pkgsrc/devel/glib2/Makefile
cvs rdiff -u -r1.123 -r1.124 pkgsrc/devel/glib2/Makefile.common
cvs rdiff -u -r1.161 -r1.162 pkgsrc/devel/glib2/PLIST
cvs rdiff -u -r1.333 -r1.334 pkgsrc/devel/glib2/distinfo
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/glib2/patches/patch-meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gdbus-codegen/distinfo
diff -u pkgsrc/devel/gdbus-codegen/distinfo:1.54 pkgsrc/devel/gdbus-codegen/distinfo:1.55
--- pkgsrc/devel/gdbus-codegen/distinfo:1.54    Tue Feb 25 08:01:27 2025
+++ pkgsrc/devel/gdbus-codegen/distinfo Tue May 27 19:07:43 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.54 2025/02/25 08:01:27 adam Exp $
+$NetBSD: distinfo,v 1.55 2025/05/27 19:07:43 adam Exp $
 
-BLAKE2s (glib-2.82.5.tar.xz) = df5246ae5db9e872088e0002bd782670e362b306a2a45295a119d711c8ec9f43
-SHA512 (glib-2.82.5.tar.xz) = a6b035c32a42b9d6f4c031a29da405848002619654b58c9205f2f78dbb9698cd5866f31ab213adc04aa214d2c48840a9592c0a1e9201e6851ebd435635f393ae
-Size (glib-2.82.5.tar.xz) = 5554704 bytes
-SHA1 (patch-meson.build) = 0ada9671c442670137330ea3b01f3d8e4aecaffd
+BLAKE2s (glib-2.84.2.tar.xz) = 907fddcb7ff2c1b8fd8fac1c74a0b318200517fdb84552e74ba8445ccaec2df3
+SHA512 (glib-2.84.2.tar.xz) = 430928d7d7a442fc3927ca943f2569035fe8768768a0ebc6720ae1ef152b56fc5f8d4215d21b4828cc2f39a8632c907ed2c52a0c8566da1c533a2e049a1a121f
+Size (glib-2.84.2.tar.xz) = 5617588 bytes
+SHA1 (patch-meson.build) = 03229e9f8302c09907e7b5f6366f16505efc3ad5

Index: pkgsrc/devel/gdbus-codegen/patches/patch-meson.build
diff -u pkgsrc/devel/gdbus-codegen/patches/patch-meson.build:1.4 pkgsrc/devel/gdbus-codegen/patches/patch-meson.build:1.5
--- pkgsrc/devel/gdbus-codegen/patches/patch-meson.build:1.4    Tue Oct 22 09:50:39 2024
+++ pkgsrc/devel/gdbus-codegen/patches/patch-meson.build        Tue May 27 19:07:43 2025
@@ -1,9 +1,9 @@
-$NetBSD: patch-meson.build,v 1.4 2024/10/22 09:50:39 adam Exp $
+$NetBSD: patch-meson.build,v 1.5 2025/05/27 19:07:43 adam Exp $
 
 Turn into a meson.build file which meson will accept, and
 subsitute some variables.
 
---- meson.build.orig   2024-10-17 11:08:41.000000000 +0000
+--- meson.build.orig   2025-05-20 16:22:25.000000000 +0000
 +++ meson.build
 @@ -15,6 +15,10 @@
  # You should have received a copy of the GNU Lesser General Public
@@ -23,7 +23,7 @@ subsitute some variables.
 -gdbus_codegen_conf.set('VERSION', glib_version)
 -gdbus_codegen_conf.set('MAJOR_VERSION', major_version)
 -gdbus_codegen_conf.set('MINOR_VERSION', minor_version)
--gdbus_codegen_conf.set('PYTHON', python.full_path())
+-gdbus_codegen_conf.set('PYTHON', python_shebang)
 -gdbus_codegen_conf.set('DATADIR', glib_datadir)
 +gdbus_codegen_conf.set('VERSION', '@VERSION@')
 +gdbus_codegen_conf.set('MAJOR_VERSION', '@MAJOR_VERSION@')

Index: pkgsrc/devel/glib2/Makefile
diff -u pkgsrc/devel/glib2/Makefile:1.308 pkgsrc/devel/glib2/Makefile:1.309
--- pkgsrc/devel/glib2/Makefile:1.308   Tue Oct 22 09:50:38 2024
+++ pkgsrc/devel/glib2/Makefile Tue May 27 19:07:42 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.308 2024/10/22 09:50:38 adam Exp $
+# $NetBSD: Makefile,v 1.309 2025/05/27 19:07:42 adam Exp $
 
 .include "Makefile.common"
 
@@ -48,7 +48,6 @@ REPLACE_PYTHON+=      gio/tests/gengiotypefun
 REPLACE_PYTHON+=       gio/tests/memory-monitor-dbus.py.in
 REPLACE_PYTHON+=       gio/tests/memory-monitor-portal.py.in
 REPLACE_PYTHON+=       gio/tests/static-link.py
-REPLACE_PYTHON+=       glib/gtester-report.in
 REPLACE_PYTHON+=       glib/update-gtranslit.py
 REPLACE_PYTHON+=       gobject/tests/mkenums.py
 
@@ -68,6 +67,12 @@ FILES_SUBST+=                GLIB_SCHEMAS_DIR=${PREFIX
 
 BUILD_DEFS+=           VARBASE
 
+SUBST_CLASSES+=                python
+SUBST_MESSAGE.python=  Replace PYTHON.
+SUBST_STAGE.python=    pre-configure
+SUBST_FILES.python=    glib/gtester-report.in
+SUBST_SED.python=      -e 's,@PYTHON@,${PYTHONBIN},'
+
 SUBST_CLASSES+=                xdg
 SUBST_MESSAGE.xdg=     Adjust XDG_DATA_DIRS so schemas and pixbuf loaders are found
 SUBST_STAGE.xdg=       pre-configure

Index: pkgsrc/devel/glib2/Makefile.common
diff -u pkgsrc/devel/glib2/Makefile.common:1.123 pkgsrc/devel/glib2/Makefile.common:1.124
--- pkgsrc/devel/glib2/Makefile.common:1.123    Tue Feb 25 08:01:26 2025
+++ pkgsrc/devel/glib2/Makefile.common  Tue May 27 19:07:42 2025
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.123 2025/02/25 08:01:26 adam Exp $
+# $NetBSD: Makefile.common,v 1.124 2025/05/27 19:07:42 adam Exp $
 # used by devel/gdbus-codegen/Makefile
 # used by devel/glib2/Makefile
 # used by devel/glib2-tools/Makefile
 
-DISTNAME=      glib-2.82.5
+DISTNAME=      glib-2.84.2
 PKGNAME=       ${DISTNAME:S/glib/glib2/}
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/devel/glib2/PLIST
diff -u pkgsrc/devel/glib2/PLIST:1.161 pkgsrc/devel/glib2/PLIST:1.162
--- pkgsrc/devel/glib2/PLIST:1.161      Tue Feb 25 08:01:26 2025
+++ pkgsrc/devel/glib2/PLIST    Tue May 27 19:07:42 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.161 2025/02/25 08:01:26 adam Exp $
+@comment $NetBSD: PLIST,v 1.162 2025/05/27 19:07:42 adam Exp $
 ${PLIST.nococoa}bin/gapplication
 bin/gdbus
 bin/gi-compile-repository
@@ -323,22 +323,22 @@ include/glib-2.0/gobject/gvaluetypes.h
 lib/glib-2.0/include/glibconfig.h
 lib/libgio-2.0.so
 lib/libgio-2.0.so.0
-lib/libgio-2.0.so.0.8200.5
+lib/libgio-2.0.so.0.8400.2
 lib/libgirepository-2.0.so
 lib/libgirepository-2.0.so.0
-lib/libgirepository-2.0.so.0.8200.5
+lib/libgirepository-2.0.so.0.8400.2
 lib/libglib-2.0.so
 lib/libglib-2.0.so.0
-lib/libglib-2.0.so.0.8200.5
+lib/libglib-2.0.so.0.8400.2
 lib/libgmodule-2.0.so
 lib/libgmodule-2.0.so.0
-lib/libgmodule-2.0.so.0.8200.5
+lib/libgmodule-2.0.so.0.8400.2
 lib/libgobject-2.0.so
 lib/libgobject-2.0.so.0
-lib/libgobject-2.0.so.0.8200.5
+lib/libgobject-2.0.so.0.8400.2
 lib/libgthread-2.0.so
 lib/libgthread-2.0.so.0
-lib/libgthread-2.0.so.0.8200.5
+lib/libgthread-2.0.so.0.8400.2
 lib/pkgconfig/gio-2.0.pc
 lib/pkgconfig/gio-unix-2.0.pc
 lib/pkgconfig/girepository-2.0.pc
@@ -352,8 +352,8 @@ ${PLIST.nococoa}libexec/gio-launch-deskt
 share/aclocal/glib-2.0.m4
 share/aclocal/glib-gettext.m4
 share/aclocal/gsettings.m4
-share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.8200.5-gdb.py
-share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.8200.5-gdb.py
+share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.8400.2-gdb.py
+share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.8400.2-gdb.py
 share/gettext/its/gschema.its
 share/gettext/its/gschema.loc
 share/glib-2.0/dtds/gresource.dtd

Index: pkgsrc/devel/glib2/distinfo
diff -u pkgsrc/devel/glib2/distinfo:1.333 pkgsrc/devel/glib2/distinfo:1.334
--- pkgsrc/devel/glib2/distinfo:1.333   Tue Feb 25 08:01:26 2025
+++ pkgsrc/devel/glib2/distinfo Tue May 27 19:07:42 2025
@@ -1,17 +1,15 @@
-$NetBSD: distinfo,v 1.333 2025/02/25 08:01:26 adam Exp $
+$NetBSD: distinfo,v 1.334 2025/05/27 19:07:42 adam Exp $
 
-BLAKE2s (glib-2.82.5.tar.xz) = df5246ae5db9e872088e0002bd782670e362b306a2a45295a119d711c8ec9f43
-SHA512 (glib-2.82.5.tar.xz) = a6b035c32a42b9d6f4c031a29da405848002619654b58c9205f2f78dbb9698cd5866f31ab213adc04aa214d2c48840a9592c0a1e9201e6851ebd435635f393ae
-Size (glib-2.82.5.tar.xz) = 5554704 bytes
+BLAKE2s (glib-2.84.2.tar.xz) = 907fddcb7ff2c1b8fd8fac1c74a0b318200517fdb84552e74ba8445ccaec2df3
+SHA512 (glib-2.84.2.tar.xz) = 430928d7d7a442fc3927ca943f2569035fe8768768a0ebc6720ae1ef152b56fc5f8d4215d21b4828cc2f39a8632c907ed2c52a0c8566da1c533a2e049a1a121f
+Size (glib-2.84.2.tar.xz) = 5617588 bytes
 SHA1 (patch-gio_gcredentialsprivate.h) = f719ae41a9eb1d2f04d866b246fa5176543f2df9
 SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 9bd0befe0dd547f6f2d818e52bee14e31a017ac7
-SHA1 (patch-gio_giomodule.c) = 8e12ba27d0f13f43cff9a4e2301edf67aba0d1fe
 SHA1 (patch-gio_glib-compile-schemas.c) = 4fc8e8ba62bef01762007ebf21569053374808d0
 SHA1 (patch-gio_gresource-tool.c) = ad0e59f48f5f98ea66be568dbe2e5a5d1ac602fc
 SHA1 (patch-gio_gunixcredentialsmessage.c) = c13119ddd6262db7c03e53857e987f0c495d3312
 SHA1 (patch-gio_gunixmounts.c) = c5d6f75c9b77078682ba171243108cb850b0faab
 SHA1 (patch-gio_inotify_inotify-kernel.c) = 78544b4c32ef3b44e8721b1c07407f46a9e8c8a4
-SHA1 (patch-gio_meson.build) = 317da05e008d7bbdbc4c02c3057e8bef514fafae
 SHA1 (patch-gio_tests_meson.build) = a65475efdc24347d79d01a75f351d57b3e487316
 SHA1 (patch-glib_gatomic.c) = deb2e74010523ad41ce141aa2f49b807ba2672e6
 SHA1 (patch-glib_gatomic.h) = d1c39c3594a5c89d196349e5eafb5512795f55f8
@@ -25,5 +23,5 @@ SHA1 (patch-glib_tests_thread.c) = 84f46
 SHA1 (patch-gmodule_gmodule.c) = b5105399d693d3e127abfde9b32e643b8150aa94
 SHA1 (patch-gobject_glib-mkenums.in) = c177cf9b1ea81542665240678f47f68351a3760d
 SHA1 (patch-gobject_meson.build) = a3953d33ba7e906ff1df024221ac3ab32f6c0c66
-SHA1 (patch-meson.build) = 3003871e42f3844f89e0e65e16fd242088ef153a
+SHA1 (patch-meson.build) = 85873953b8221438a75d6da910978938e1d8cddb
 SHA1 (patch-meson.options) = da8fb4d6933865c7b1382a7e254137d351806027

Index: pkgsrc/devel/glib2/patches/patch-meson.build
diff -u pkgsrc/devel/glib2/patches/patch-meson.build:1.23 pkgsrc/devel/glib2/patches/patch-meson.build:1.24
--- pkgsrc/devel/glib2/patches/patch-meson.build:1.23   Tue Oct 22 09:50:39 2024
+++ pkgsrc/devel/glib2/patches/patch-meson.build        Tue May 27 19:07:43 2025
@@ -1,4 +1,4 @@
-$NetBSD: patch-meson.build,v 1.23 2024/10/22 09:50:39 adam Exp $
+$NetBSD: patch-meson.build,v 1.24 2025/05/27 19:07:43 adam Exp $
 
 - On Darwin, optionally use Cocoa (needed for X11 users).
 
@@ -10,13 +10,11 @@ $NetBSD: patch-meson.build,v 1.23 2024/1
 - Tolerate getxattr not existing (smartOS)
   https://gitlab.gnome.org/GNOME/glib/merge_requests/888
 
-- Define a newer POSIX, as we build this package with -std=gnu99
-
 - Check also for sys/ptrace.h header file.
 
---- meson.build.orig   2024-10-17 11:08:41.000000000 +0000
+--- meson.build.orig   2025-05-20 16:22:25.000000000 +0000
 +++ meson.build
-@@ -418,6 +418,7 @@ headers = [
+@@ -438,6 +438,7 @@ headers = [
    'sys/mount.h',
    'sys/param.h',
    'sys/prctl.h',
@@ -24,7 +22,7 @@ $NetBSD: patch-meson.build,v 1.23 2024/1
    'sys/resource.h',
    'sys/select.h',
    'sys/statfs.h',
-@@ -983,7 +984,7 @@ if host_system == 'darwin'
+@@ -1010,7 +1011,7 @@ if host_system == 'darwin'
                                        #error "Detected GNUstep, not Cocoa"
                                        #endif''',
                                     name : 'Mac OS X Cocoa support')
@@ -33,7 +31,7 @@ $NetBSD: patch-meson.build,v 1.23 2024/1
    if glib_have_cocoa
      glib_conf.set('HAVE_COCOA', true)
      osx_ldflags += ['-Wl,-framework,Foundation', '-Wl,-framework,AppKit']
-@@ -2345,18 +2346,17 @@ if host_system != 'windows' and get_opti
+@@ -2379,18 +2380,17 @@ if host_system != 'windows' and get_opti
  
    # try glibc
    if cc.has_function('getxattr') and cc.has_header('sys/xattr.h')
@@ -54,16 +52,16 @@ $NetBSD: patch-meson.build,v 1.23 2024/1
    if cc.compiles(glib_conf_prefix + '''
                   #include <stdio.h>
                   #ifdef HAVE_SYS_TYPES_H
-@@ -2457,7 +2457,7 @@ endif
+@@ -2491,7 +2491,7 @@ endif
  
  glib_conf.set('HAVE_PROC_SELF_CMDLINE', have_proc_self_cmdline)
  
 -python = import('python').find_installation()
 +python = import('python').find_installation('@PYTHONBIN@')
  
- python_version = python.language_version()
- python_version_req = '>=3.7'
-@@ -2467,7 +2467,7 @@ endif
+ # Sets the shebang on script files. This has been changed many times including
+ # using env, the absolute path to the Python executable, and using both python
+@@ -2510,7 +2510,7 @@ python_test_libraries_built = meson.proj
  
  # Determine which user environment-dependent files that we want to install
  bash = find_program('bash', required : false)
@@ -72,13 +70,3 @@ $NetBSD: patch-meson.build,v 1.23 2024/1
  bash_comp_dep = dependency('bash-completion', version: '>=2.0', required: false)
  have_sh = find_program('sh', required : false).found() # For glib-gettextize
  have_pkg_config = find_program('pkg-config', required: false).found()
-@@ -2477,8 +2477,7 @@ env_program = find_program('env', requir
- 
- # FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578
- if host_system == 'sunos'
--  glib_conf.set('_XOPEN_SOURCE_EXTENDED', 1)
--  glib_conf.set('_XOPEN_SOURCE', 2)
-+  glib_conf.set('_POSIX_C_SOURCE',200809)
-   glib_conf.set('__EXTENSIONS__',1)
- endif
- 



Home | Main Index | Thread Index | Old Index