git: ab02d4e82eae - main - net/libgweather4: update to 4.4.4

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 11 Jun 2025 10:07:46 UTC
The branch main has been updated by bapt:

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

commit ab02d4e82eaeb8ca23af487a984e941d6ff16692
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2025-06-11 07:49:13 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-11 10:07:04 +0000

    net/libgweather4: update to 4.4.4
    
    PR:     286697
---
 net/libgweather4/Makefile                            | 20 ++++++++++----------
 net/libgweather4/distinfo                            |  6 +++---
 net/libgweather4/files/patch-libgweather_meson.build | 11 +++++++++++
 net/libgweather4/pkg-plist                           |  3 ++-
 4 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/net/libgweather4/Makefile b/net/libgweather4/Makefile
index 0b84b509a19c..5c44cb54ac48 100644
--- a/net/libgweather4/Makefile
+++ b/net/libgweather4/Makefile
@@ -1,29 +1,29 @@
 PORTNAME=	libgweather
-PORTVERSION=	4.2.0
-PORTREVISION=	3
+PORTVERSION=	4.4.4
 CATEGORIES=	net gnome
 MASTER_SITES=	GNOME
-MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	gnome
 PKGNAMESUFFIX=	4
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Library to access online weather information
-WWW=		https://www.gnome.org/
+WWW=		https://gitlab.gnome/GNOME/libgweather
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	gi-docgen:textproc/py-gi-docgen
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR}
 LIB_DEPENDS=	libgeocode-glib-2.so:net/geocode-glib2 \
-		libsoup-3.0.so:devel/libsoup3
-
-PORTSCOUT=	limitw:1,even
+		libsoup-3.0.so:devel/libsoup3 \
+		libjson-glib-1.0.so:devel/json-glib
 
 USES=		gettext gnome localbase meson pkgconfig python:build \
 		shebangfix tar:xz vala:build
-USE_GNOME=	gtk30 libxml2 pygobject3 introspection:build
+USE_GNOME=	glib20 gtk30 libxml2 introspection:build pygobject3
 USE_LDCONFIG=	yes
+SHEBANG_FILES=	build-aux/meson/gen_locations_variant.py
+
+MESON_ARGS=	-Dtests=false
 
 GLIB_SCHEMAS=	org.gnome.GWeather4.enums.xml \
 		org.gnome.GWeather4.gschema.xml
diff --git a/net/libgweather4/distinfo b/net/libgweather4/distinfo
index f359d17cea6f..cfc1e59a3cb0 100644
--- a/net/libgweather4/distinfo
+++ b/net/libgweather4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675446266
-SHA256 (gnome/libgweather-4.2.0.tar.xz) = af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203
-SIZE (gnome/libgweather-4.2.0.tar.xz) = 2752164
+TIMESTAMP = 1731000631
+SHA256 (gnome/libgweather-4.4.4.tar.xz) = 7017677753cdf7d1fdc355e4bfcdb1eba8369793a8df24d241427a939cbf4283
+SIZE (gnome/libgweather-4.4.4.tar.xz) = 2843040
diff --git a/net/libgweather4/files/patch-libgweather_meson.build b/net/libgweather4/files/patch-libgweather_meson.build
new file mode 100644
index 000000000000..3f8d9bbbcca4
--- /dev/null
+++ b/net/libgweather4/files/patch-libgweather_meson.build
@@ -0,0 +1,11 @@
+--- libgweather/meson.build.orig	2023-09-16 11:21:48 UTC
++++ libgweather/meson.build
+@@ -24,7 +24,7 @@ add_project_arguments(c_compiler.get_supported_argumen
+ 
+   # We guarantee that our code base does not fail these
+   '-Werror=format=2',
+-  '-Werror=implicit-function-declaration',
++#  '-Werror=implicit-function-declaration',
+   '-Werror=init-self',
+   '-Werror=missing-include-dirs',
+ ]), language: 'c')
diff --git a/net/libgweather4/pkg-plist b/net/libgweather4/pkg-plist
index f72f7cbf2761..f8f16e30c699 100644
--- a/net/libgweather4/pkg-plist
+++ b/net/libgweather4/pkg-plist
@@ -7,7 +7,7 @@ include/libgweather-4.0/libgweather/gweather.h
 lib/girepository-1.0/GWeather-4.0.typelib
 lib/libgweather-4.so
 lib/libgweather-4.so.0
-lib/libgweather-4.so.0.200.0
+lib/libgweather-4.so.0.400.4
 lib/libgweather-4/Locations.bin
 libdata/pkgconfig/gweather4.pc
 share/doc/libgweather-4.0/RedHatDisplay-Black.woff
@@ -284,6 +284,7 @@ share/locale/ja/LC_MESSAGES/libgweather-4.0-locations.mo
 share/locale/ja/LC_MESSAGES/libgweather-4.0.mo
 share/locale/ka/LC_MESSAGES/libgweather-4.0-locations.mo
 share/locale/ka/LC_MESSAGES/libgweather-4.0.mo
+share/locale/kab/LC_MESSAGES/libgweather-4.0.mo
 share/locale/kk/LC_MESSAGES/libgweather-4.0-locations.mo
 share/locale/kk/LC_MESSAGES/libgweather-4.0.mo
 share/locale/kn/LC_MESSAGES/libgweather-4.0-locations.mo