git: db739c0e3510 - main - devel/gitg: update to 41 and unbreak

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 10:49:23 UTC
The branch main has been updated by tagattie:

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

commit db739c0e3510f564fe2fba015e5de0d1f8982abe
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-07-23 10:45:54 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-07-23 10:49:15 +0000

    devel/gitg: update to 41 and unbreak
    
    While here:
    - Add missing dependencies to appease stage-qa warnings
    - Remove no-op post-patch target
    
    PR:             272362
    Approved by:    kwm (maintainer timeout, >2 weeks)
    MFH:            2023Q3
---
 devel/gitg/Makefile  | 12 ++++--------
 devel/gitg/distinfo  |  6 +++---
 devel/gitg/pkg-plist |  8 ++------
 3 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/devel/gitg/Makefile b/devel/gitg/Makefile
index ed2909c55f87..78e4d5dda994 100644
--- a/devel/gitg/Makefile
+++ b/devel/gitg/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gitg
-PORTVERSION=	3.32.1
-PORTREVISION=	7
+PORTVERSION=	41
 CATEGORIES=	devel deskutils gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -21,8 +20,9 @@ LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
 		libgee-0.8.so:devel/libgee \
 		libgit2.so:devel/libgit2 \
 		libgit2-glib-1.0.so:devel/libgit2-glib \
+		libjson-glib-1.0.so:devel/json-glib \
 		libpeas-1.0.so:devel/libpeas \
-		libgtkspell3-3.so:textproc/gtkspell3 \
+		libgspell-1.so:textproc/gspell \
 		libdazzle-1.0.so:x11-toolkits/libdazzle \
 		libsecret-1.so:security/libsecret
 RUN_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
@@ -32,7 +32,7 @@ PORTSCOUT=	limitw:1,even
 
 USES=		compiler:c11 desktop-file-utils gettext gnome localbase \
 		meson pathfix pkgconfig python:build tar:xz vala:build
-USE_GNOME=	cairo gtk30 gtksourceview3 intltool introspection
+USE_GNOME=	cairo gdkpixbuf2 gtk30 gtksourceview4 intltool introspection
 
 USE_LDCONFIG=	yes
 GLIB_SCHEMAS=	org.gnome.gitg.gschema.xml
@@ -45,10 +45,6 @@ PYTHON_USES=	python
 PYTHON_MESON_TRUE=	python
 PYTHON_USE=	GNOME=pygobject3
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|0.27.0|0.28.0|g' \
-		${WRKSRC}/meson.build
-
 post-install-PYTHON-on:
 	(cd ${STAGEDIR}${PREFIX} \
 		&& ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
diff --git a/devel/gitg/distinfo b/devel/gitg/distinfo
index 9dd41c165810..040258d69c22 100644
--- a/devel/gitg/distinfo
+++ b/devel/gitg/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1564345809
-SHA256 (gnome/gitg-3.32.1.tar.xz) = 24a4aabf8a42aa2e783e1fb5996ebb3c2a82a01b9689269f1329517ef124ef5a
-SIZE (gnome/gitg-3.32.1.tar.xz) = 10613836
+TIMESTAMP = 1688431278
+SHA256 (gnome/gitg-41.tar.xz) = 7fb61b9fb10fbaa548d23d7065babd72ad63e621de55840c065ce6e3986c4629
+SIZE (gnome/gitg-41.tar.xz) = 10604696
 SHA256 (gnome/1978973b1284.patch) = f95bc608916e1b7e254d8267065c407b636128fa20b1981ee5cc0766fbfb9f66
 SIZE (gnome/1978973b1284.patch) = 1135
diff --git a/devel/gitg/pkg-plist b/devel/gitg/pkg-plist
index 0da7dce8927e..9d7c3d9b6ef9 100644
--- a/devel/gitg/pkg-plist
+++ b/devel/gitg/pkg-plist
@@ -23,13 +23,8 @@ share/gir-1.0/Gitg-1.0.gir
 share/gir-1.0/GitgExt-1.0.gir
 %%DATADIR%%/icons/hicolor/scalable/actions/diff-symbolic.svg
 share/glade/catalogs/gitg-glade.xml
-share/icons/hicolor/16x16/apps/org.gnome.gitg.png
-share/icons/hicolor/22x22/apps/org.gnome.gitg.png
-share/icons/hicolor/24x24/apps/org.gnome.gitg.png
-share/icons/hicolor/256x256/apps/org.gnome.gitg.png
-share/icons/hicolor/32x32/apps/org.gnome.gitg.png
-share/icons/hicolor/48x48/apps/org.gnome.gitg.png
 share/icons/hicolor/scalable/apps/org.gnome.gitg-symbolic.svg
+share/icons/hicolor/scalable/apps/org.gnome.gitg.svg
 share/locale/as/LC_MESSAGES/gitg.mo
 share/locale/bg/LC_MESSAGES/gitg.mo
 share/locale/bs/LC_MESSAGES/gitg.mo
@@ -57,6 +52,7 @@ share/locale/ko/LC_MESSAGES/gitg.mo
 share/locale/lt/LC_MESSAGES/gitg.mo
 share/locale/lv/LC_MESSAGES/gitg.mo
 share/locale/ml/LC_MESSAGES/gitg.mo
+share/locale/ms/LC_MESSAGES/gitg.mo
 share/locale/nb/LC_MESSAGES/gitg.mo
 share/locale/ne/LC_MESSAGES/gitg.mo
 share/locale/nl/LC_MESSAGES/gitg.mo