git: 96fc707e84f3 - main - x11-wm/jwm: Update to 2.4.2

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Thu, 30 Jun 2022 00:27:05 UTC
The branch main has been updated by nc:

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

commit 96fc707e84f3449210902d147eefc8d25d8c7c7b
Author:     John Grafton <john.grafton@gmail.com>
AuthorDate: 2022-06-29 18:23:44 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-06-30 00:26:43 +0000

    x11-wm/jwm: Update to 2.4.2
    
    Changes: http://joewing.net/projects/jwm/release-2.4.html
    
    PR:     264955
---
 x11-wm/jwm/Makefile                  | 11 ++++++++---
 x11-wm/jwm/distinfo                  |  6 +++---
 x11-wm/jwm/files/patch-example.jwmrc | 30 +++++++++++++++---------------
 3 files changed, 26 insertions(+), 21 deletions(-)

diff --git a/x11-wm/jwm/Makefile b/x11-wm/jwm/Makefile
index 95a595e7fd92..10a800637496 100644
--- a/x11-wm/jwm/Makefile
+++ b/x11-wm/jwm/Makefile
@@ -1,12 +1,12 @@
 # Created by: Babak Farrokhi <babak@farrokhi.net>
 
 PORTNAME=	jwm
-PORTVERSION=	2.3.7
+PORTVERSION=	2.4.2
 PORTREVISION=	1
 CATEGORIES=	x11-wm
-MASTER_SITES=	http://joewing.net/projects/jwm/releases/
+MASTER_SITES= https://github.com/joewing/jwm/releases/download/v${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	john.grafton@gmail.com
 COMMENT=	Joe's Window Manager
 
 LICENSE=	MIT
@@ -30,6 +30,11 @@ FRIBIDI_LIB_DEPENDS=	libfribidi.so:converters/fribidi
 FRIBIDI_CONFIGURE_ENABLE=fribidi
 JPEG_USES=		jpeg
 JPEG_CONFIGURE_ENABLE=	jpeg
+LIB_DEPENDS+=libfontconfig.so:x11-fonts/fontconfig
+LIB_DEPENDS+=libharfbuzz.so:print/harfbuzz
+LIB_DEPENDS+=libglib-2.0.so.0:devel/glib20
+LIB_DEPENDS+=libgobject-2.0.so.0:devel/glib20
+LIB_DEPENDS+=libpango-1.0.so.0:x11-toolkits/pango
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 PNG_LIB_DEPENDS=	libpng.so:graphics/png
diff --git a/x11-wm/jwm/distinfo b/x11-wm/jwm/distinfo
index 31cbb9294bc1..a513ab5e7689 100644
--- a/x11-wm/jwm/distinfo
+++ b/x11-wm/jwm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502711665
-SHA256 (jwm-2.3.7.tar.xz) = 745d2f5df3a4ce9ecc8e75445edb3fbe31dd46c0c26d129cc14de7ad8b665326
-SIZE (jwm-2.3.7.tar.xz) = 350332
+TIMESTAMP = 1656520075
+SHA256 (jwm-2.4.2.tar.xz) = 4e07a21774e9defcdddb3ffaa3e18dfe113dfe168fe0428c5e0da987c95e26e5
+SIZE (jwm-2.4.2.tar.xz) = 316000
diff --git a/x11-wm/jwm/files/patch-example.jwmrc b/x11-wm/jwm/files/patch-example.jwmrc
index 68f47f15e63b..5112b81be796 100644
--- a/x11-wm/jwm/files/patch-example.jwmrc
+++ b/x11-wm/jwm/files/patch-example.jwmrc
@@ -1,24 +1,24 @@
 --- example.jwmrc.orig	2015-09-13 18:02:54 UTC
 +++ example.jwmrc
 @@ -3,7 +3,8 @@
- 
+
      <!-- The root menu. -->
      <RootMenu onroot="12">
--        <Program icon="terminal.png" label="Terminal">xterm</Program>
+-        <Program icon="utilities-terminal" label="Terminal">xterm</Program>
 +        <Program icon="rxvt.png" label="Terminal">rxvt</Program>
 +        <Program icon="xterm.png" label="Terminal">xterm</Program>
-         <Menu icon="folder.png" label="Applications">
-             <Program icon="music.png" label="Audacious">audacious</Program>
-             <Program icon="calculator.png" label="Calculator">xcalc</Program>
-@@ -111,7 +112,10 @@
-          for icons in multiple paths.
-       -->
+         <Menu icon="folder" label="Applications">
+             <Program icon="sound" label="Audacious">audacious</Program>
+             <Program icon="calc" label="Calculator">xcalc</Program>
+@@ -139,6 +140,13 @@
      <IconPath>
--        /usr/share/icons/wm-icons/32x32-aquafusion
-+        $HOME/.icons
-+        %%PREFIX%%/share/icons
-+        %%PREFIX%%/share/pixmaps
-+        %%PREFIX%%/lib/X11/icons
+       /usr/local/share/jwm
      </IconPath>
- 
-     <!-- Virtual Desktops -->
++    <IconPath>
++      $HOME/.icons
++      %%PREFIX%%/share/icons
++      %%PREFIX%%/share/pixmaps
++      %%PREFIX%%/lib/X11/icons
++    </IconPath>
++
+