git: 6562545dc4b7 - main - devel/template-glib: update to 3.40.0

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 29 Mar 2026 14:22:17 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6562545dc4b7bd5152ff612746533a491ebe04c7

commit 6562545dc4b7bd5152ff612746533a491ebe04c7
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2026-03-29 05:56:45 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-03-29 14:20:13 +0000

    devel/template-glib: update to 3.40.0
    
    Update to 3.40.0
    
      ==============
      Version 3.40.0
      ==============
    
      Stable release for GNOME 50.0
    
      ==============
      Version 3.39.0
      ==============
    
      Release for GNOME 50 Beta
    
       * Allow loading and comparing enums during eval
       * Allow null gpointer to gchararray cast
       * Add a new silencing expression node using {% %}
       * Allow object comparison by pointer
       * Translation updates
    
      ==============
      Version 3.38.0
      ==============
    
      This is a stable release for GNOME 49.0
    
       * Allow GObject Introspection to automatically cast various numerics into
         the arguments of a call-site when the will fit in the destination type
         and size.
       * Use gi-doc for documentation.
    
      ==============
      Version 3.37.1
      ==============
    
      Release for GNOME 49 Beta
    
       * Add `.mangle()` for strings to make it simpler to convert
         ClassName to class_name.
       * Fix calls to a function in a GIRepository like GLib.strsplit
       * Add support for GStrv in GI parameter types
       * Allow comparing GStrv for == and != comparison
       * Fix handling for null branches
    
      ==============
      Version 3.37.0
      ==============
    
      Release for GNOME 49 Alpha
    
       • Port to libgirepository-2.0
       • Improve testsuite for ASAN/LSAN findings
    
    Fix LICENSE
    
    Switch to USES= gettext-tools
    
    Add USE_LDCONFIG=yes (truckman)
    
    PR:             294100
---
 devel/template-glib/Makefile  | 8 +++++---
 devel/template-glib/distinfo  | 6 +++---
 devel/template-glib/pkg-plist | 6 +++++-
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/devel/template-glib/Makefile b/devel/template-glib/Makefile
index 82e363c1fb2c..5efe514853e2 100644
--- a/devel/template-glib/Makefile
+++ b/devel/template-glib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	template-glib
-PORTVERSION=	3.36.3
+PORTVERSION=	3.40.0
 CATEGORIES=	devel
 MASTER_SITES=	GNOME
 
@@ -7,12 +7,14 @@ MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Templating library for GLib
 WWW=		https://gitlab.gnome.org/GNOME/template-glib
 
-LICENSE=	LGPL21
+LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	valac:lang/vala
 
-USES=		bison compiler:c11 gettext gnome meson pkgconfig tar:xz
+USES=		bison compiler:c11 gettext-tools gnome meson pkgconfig \
+		tar:xz
 USE_GNOME=	glib20 introspection
+USE_LDCONFIG=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/template-glib/distinfo b/devel/template-glib/distinfo
index 2b1da1f69962..9eb29e138ca1 100644
--- a/devel/template-glib/distinfo
+++ b/devel/template-glib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741162281
-SHA256 (template-glib-3.36.3.tar.xz) = d528b35b2cf90e07dae50e25e12fbadb0eb048f57fd5151cf9f6e98cce1df20e
-SIZE (template-glib-3.36.3.tar.xz) = 65620
+TIMESTAMP = 1774708844
+SHA256 (template-glib-3.40.0.tar.xz) = e533ec2f6c24cc6df66ac55ac824fadd1b4a5f433a11cbf3a6b25815c0cfcfd5
+SIZE (template-glib-3.40.0.tar.xz) = 66368
diff --git a/devel/template-glib/pkg-plist b/devel/template-glib/pkg-plist
index 83b53d0de988..053735488398 100644
--- a/devel/template-glib/pkg-plist
+++ b/devel/template-glib/pkg-plist
@@ -13,9 +13,11 @@ include/template-glib-1.0/tmpl-version.h
 lib/girepository-1.0/Template-1.0.typelib
 lib/libtemplate_glib-1.0.so
 lib/libtemplate_glib-1.0.so.0
-lib/libtemplate_glib-1.0.so.0.3600.3
+lib/libtemplate_glib-1.0.so.0.4000.0
 libdata/pkgconfig/template-glib-1.0.pc
 share/gir-1.0/Template-1.0.gir
+share/locale/ar/LC_MESSAGES/template-glib.mo
+share/locale/bg/LC_MESSAGES/template-glib.mo
 share/locale/ca/LC_MESSAGES/template-glib.mo
 share/locale/cs/LC_MESSAGES/template-glib.mo
 share/locale/da/LC_MESSAGES/template-glib.mo
@@ -33,6 +35,8 @@ share/locale/id/LC_MESSAGES/template-glib.mo
 share/locale/it/LC_MESSAGES/template-glib.mo
 share/locale/ka/LC_MESSAGES/template-glib.mo
 share/locale/kab/LC_MESSAGES/template-glib.mo
+share/locale/kk/LC_MESSAGES/template-glib.mo
+share/locale/kw/LC_MESSAGES/template-glib.mo
 share/locale/lt/LC_MESSAGES/template-glib.mo
 share/locale/nl/LC_MESSAGES/template-glib.mo
 share/locale/pl/LC_MESSAGES/template-glib.mo