From nobody Mon Feb 20 21:13:18 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PLFWf2nPDz3sBvC; Mon, 20 Feb 2023 21:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLFWf2Cc4z3l4Y; Mon, 20 Feb 2023 21:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676927598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/N/6Xh7n1Kozd2WdWJzbipMDMlDoD6CArQCDhibNESc=; b=TPzmmE2VITZj3sYJC4sX1IO3HYK51rJtENj5KLfUUgETZH9QedsA7nd3loS+ouDfCQEkFV 1mhNjJzzof9HxQvEcp6CTIc0TGgtlaw8pqvIHh1GuYJaX3wAFiJeikYNC2Ik5q0f5bkVFG gnhqOo2gwaWdx9Paw7Wo16c/Lzvi5psnN5hzTarUs1n+fWSoCQ3RPc8DA6TZdl/vjrtPVs jnqnL5MO6vunSRhllsmOXuw5L1NZkULJ2hwSByGC9CV9e0yDD0b6YEwo+uLMGnnqSN0Rf5 EkvkLUvDy26xE1sLDI1GarjWxNo/u0dgnlU0oI1jWXRw79j16kpeW3Yn1EBQUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676927598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/N/6Xh7n1Kozd2WdWJzbipMDMlDoD6CArQCDhibNESc=; b=KS3a3az24kL2mdAbAZk5HqG7fdhcAHquk4/piFJs1nWBaGO8mu+ulcx7HF8531X7wP89MO ZpDFifFzMNZ0Ca0L5rjH3HN3xSx/wieOLu+WVAlMZUCLppou2RoofS5uIf+2JHeGcLdZ5D Y3WmSD4dM2oI19+PyQ6eB7nmFsPZiIwZ5xEUPoHXyj68o4wHXbaopO1hSBjVsXFr7V4m+/ sF7wQ9Sr/O6LelQzglspbi52RlGaf0Ojc6BePC36dyZOY0XSrx0lLDpP8TcrccYMydxi/K vl03ScVvXlLzLivD3V4j28la5TMvtaJxjzjFOiNtC28u6xIxvFJyH16ZXXZqHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676927598; a=rsa-sha256; cv=none; b=WeLh3Y9HcUH2QiKZIz29N8Dd24aoAJVo+xT6pjzXkKVxe1IMXJW+Oh/TWoCXds7lqiGxAo dwi3S9Z0TBuIrN8ETWxnpulC0z5sPyMMDvpqeGIIP+wa0TF34lt/qE/3MhfQrdRW+3PGrs 452YqsO6RU4VIaOhTYeLL1O2KRvWezIaU84DpDs2kNYij0F7gVNenFMNg1ew9huJ4jN4vc AX7pckB0ZvGbP+sx4od8pU49L4PqcwBFACL43sBwB6MPv4m1F6vmaVotEI7Aiu0HvmWS5B J4TJdWz+dJve/gMUsDp7xa98FIQiW1HX53o+QOJAnwl0IyLgAj0CQFL2wT7bAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PLFWf1FzKzwGc; Mon, 20 Feb 2023 21:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31KLDIbt080551; Mon, 20 Feb 2023 21:13:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KLDI9e080550; Mon, 20 Feb 2023 21:13:18 GMT (envelope-from git) Date: Mon, 20 Feb 2023 21:13:18 GMT Message-Id: <202302202113.31KLDI9e080550@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: e6a7a2d988f7 - main - x11-wm/fvwm3: Update to 1.0.6a List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6a7a2d988f79154d7912566e26e8a7837aa65df Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6a7a2d988f79154d7912566e26e8a7837aa65df commit e6a7a2d988f79154d7912566e26e8a7837aa65df Author: Felix Palmen AuthorDate: 2023-02-20 12:19:52 +0000 Commit: Felix Palmen CommitDate: 2023-02-20 21:12:57 +0000 x11-wm/fvwm3: Update to 1.0.6a Also switch to PORTVERSION because 1.0.6a is actually newer than 1.0.6 and patch configure.ac to avoid pinning the go version and to drop the compiler warning test that's incompatible with clang 15. Changelog: https://github.com/fvwmorg/fvwm3/releases/tag/1.0.6 https://github.com/fvwmorg/fvwm3/releases/tag/1.0.6a Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D38695 --- x11-wm/fvwm3/Makefile | 16 +++------------- x11-wm/fvwm3/distinfo | 6 +++--- x11-wm/fvwm3/files/patch-configure.ac | 29 +++++++++++++++++++++++++++++ x11-wm/fvwm3/files/patch-pr265291 | 18 ------------------ x11-wm/fvwm3/pkg-plist | 5 +---- 5 files changed, 36 insertions(+), 38 deletions(-) diff --git a/x11-wm/fvwm3/Makefile b/x11-wm/fvwm3/Makefile index 20ec49a24817..2c2670b82724 100644 --- a/x11-wm/fvwm3/Makefile +++ b/x11-wm/fvwm3/Makefile @@ -1,6 +1,5 @@ PORTNAME= fvwm3 -DISTVERSION= 1.0.5 -PORTREVISION= 5 +PORTVERSION= 1.0.6a CATEGORIES= x11-wm MASTER_SITES= https://github.com/fvwmorg/fvwm3/releases/download/${DISTVERSION}/ \ http://fvwm.sourceforge.net/generated/icon_download/:icons @@ -16,7 +15,7 @@ LIB_DEPENDS= libevent.so:devel/libevent \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig -USES= compiler:c11 cpe pkgconfig python:3.7+ readline xorg +USES= autoreconf compiler:c11 cpe pkgconfig python:3.7+ readline xorg USE_XORG= ice sm x11 xext xft xrandr xrender xt CONFLICTS_INSTALL= fvwm @@ -38,7 +37,7 @@ FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= bidi GO_DESC= Build and install modules written in Go -GO_USES= go:1.19,no_targets +GO_USES= go:no_targets GO_CONFIGURE_ENABLE= golang FVWM_ICONS= fvwm_icons-20070101 @@ -73,15 +72,6 @@ XCURSOR_CONFIGURE_ENABLE= xcursor XPM_USE= xorg=xpm XPM_CONFIGURE_OFF= --with-xpm-library=no -.include - -# Clang 15 promoted some warnings to errors. The upstream configure script -# expects one of them to be only a warning. Work around this by explicitly -# disabling the error here. FIXME: Check whether still needed on upgrades. -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 -CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -Wno-error=int-conversion" -.endif - post-patch: @${REINPLACE_CMD} -e 's,/etc/,${LOCALBASE}/etc/,g' \ ${WRKSRC}/bin/fvwm-menu-desktop.in diff --git a/x11-wm/fvwm3/distinfo b/x11-wm/fvwm3/distinfo index 6de2821c6726..8d7d9fec7bfe 100644 --- a/x11-wm/fvwm3/distinfo +++ b/x11-wm/fvwm3/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1664448220 -SHA256 (fvwm3-1.0.5.tar.gz) = c41a7eaf1cbdebcbcc7ffc773bb25cc07879fbce3429633dd0584e8ebc8b1014 -SIZE (fvwm3-1.0.5.tar.gz) = 4538262 +TIMESTAMP = 1676896741 +SHA256 (fvwm3-1.0.6a.tar.gz) = 4665a66133e070b791917b0794cc6df6b754679ebe9130718427db6479bb5b68 +SIZE (fvwm3-1.0.6a.tar.gz) = 4538100 SHA256 (fvwm_icons-20070101.tar.bz2) = 86b0164430a3087f5cb8d55eb43a8676bbce495814b30c6844eb127f952642ab SIZE (fvwm_icons-20070101.tar.bz2) = 330862 diff --git a/x11-wm/fvwm3/files/patch-configure.ac b/x11-wm/fvwm3/files/patch-configure.ac new file mode 100644 index 000000000000..3c86c28ba618 --- /dev/null +++ b/x11-wm/fvwm3/files/patch-configure.ac @@ -0,0 +1,29 @@ +--- configure.ac.orig 2023-01-16 19:48:02 UTC ++++ configure.ac +@@ -86,7 +86,7 @@ if test ! x"$with_golang" = xno; then + sed -e 's/ .*$//') + AC_MSG_CHECKING([whether go version is >= 1.14.x ($go_version)]) + case "$go_version" in +- 1.14*|1.15*|1.16*|1.17*|1.18*|1.19*) ++ 1.14*|1.15*|1.16*|1.17*|1.18*|1.19*|1.2*) + AC_MSG_RESULT([yes - version is: $go_version]) + with_golang="yes" + GO= +@@ -224,17 +224,6 @@ AC_MINIX + # Help finding POSIX functions on some systems + AC_ISC_POSIX + AC_MINIX +- +-# catch -Werror and similar options when running configure +-AC_TRY_COMPILE([#include ], +-[int i; static j; int *p; char *c; +- switch (*p = p = *c) { case 0: printf("%Q", c, p); } +- *c = &i; c = p; +- while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1)); +-], , AC_MSG_ERROR(" +-configure is not able to compile programs with warnings. Please +-remove all offending options like -Werror from the CFLAGS and +-CPPFLAGS variables and run configure again.")) + + # check size of some types + ac_save_CFLAGS="$CFLAGS" diff --git a/x11-wm/fvwm3/files/patch-pr265291 b/x11-wm/fvwm3/files/patch-pr265291 deleted file mode 100644 index 07dacc2d521e..000000000000 --- a/x11-wm/fvwm3/files/patch-pr265291 +++ /dev/null @@ -1,18 +0,0 @@ -Avoid a crash caused by UB (use of uninitialized value). - -Initialize a value to NULL and backport code handling this case from main. -This won't hurt and avoids the crash, although it's probably not the correct -fix. - -Upstream issue: https://github.com/fvwmorg/fvwm3/issues/659 - ---- modules/FvwmIconMan/x.c.orig 2022-09-21 21:44:02 UTC -+++ modules/FvwmIconMan/x.c -@@ -741,6 +741,7 @@ void X_init_manager (int man_id) - if (man->geometry_str) { - fscreen_scr_arg arg; - arg.mouse_ev = NULL; -+ arg.name = NULL; - - geometry_mask = FScreenParseGeometryWithScreen( - man->geometry_str, &man->geometry.x, &man->geometry.y, diff --git a/x11-wm/fvwm3/pkg-plist b/x11-wm/fvwm3/pkg-plist index 2fbf4ac51aad..83fe6fb2310d 100644 --- a/x11-wm/fvwm3/pkg-plist +++ b/x11-wm/fvwm3/pkg-plist @@ -1,6 +1,5 @@ bin/FvwmCommand %%GO%%bin/FvwmPrompt -bin/fvwm-config %%PERL%%bin/fvwm-convert-2.6 bin/fvwm-menu-desktop %%PERL%%bin/fvwm-menu-directory @@ -41,7 +40,6 @@ libexec/fvwm3/%%DISTVERSION%%/FvwmTalk %%MANPAGES%%man/man1/FvwmPrompt.1.gz %%MANPAGES%%man/man1/FvwmRearrange.1.gz %%MANPAGES%%man/man1/FvwmScript.1.gz -%%MANPAGES%%man/man1/fvwm-config.1.gz %%MANPAGES%%man/man1/fvwm-convert-2.6.1.gz %%MANPAGES%%man/man1/fvwm-menu-desktop.1.gz %%MANPAGES%%man/man1/fvwm-menu-directory.1.gz @@ -49,7 +47,6 @@ libexec/fvwm3/%%DISTVERSION%%/FvwmTalk %%MANPAGES%%man/man1/fvwm-perllib.1.gz %%MANPAGES%%man/man1/fvwm-root.1.gz %%MANPAGES%%man/man1/fvwm3.1.gz -%%MANPAGES%%man/man1/fvwm3_manpage_source.1.gz %%MANPAGES%%man/man1/fvwm3all.1.gz %%MANPAGES%%man/man1/fvwm3commands.1.gz %%MANPAGES%%man/man1/fvwm3menus.1.gz @@ -87,7 +84,6 @@ libexec/fvwm3/%%DISTVERSION%%/FvwmTalk %%DATADIR%%/FvwmScript-ScreenDump %%DATADIR%%/FvwmScript-ScreenSetup %%DATADIR%%/FvwmScript-WidgetDemo -%%DATADIR%%/default-config/.stalonetrayrc %%DATADIR%%/default-config/FvwmScript-ConfirmCopyConfig %%DATADIR%%/default-config/FvwmScript-ConfirmQuit %%DATADIR%%/default-config/FvwmScript-DateTime @@ -126,6 +122,7 @@ libexec/fvwm3/%%DISTVERSION%%/FvwmTalk %%DATADIR%%/default-config/images/icons/win/sticky.png %%DATADIR%%/default-config/images/icons/win/title.png %%DATADIR%%/default-config/images/icons/win/top.png +%%DATADIR%%/default-config/stalonetrayrc %%DATADIR%%/fvwm-menu-desktop-config.fpl %%DATADIR%%/fvwm-script-ComExample.pl %%PERL%%%%DATADIR%%/perllib/FVWM/Commands.pm