[update] x11/icewm 4.1.0

[email protected]
Newsgroups gmane.os.openbsd.ports
Message-ID <cBwGeXMN3A4W2I0H8MKkmakM8HR3Xjoxfs9gwg9eBbRb0xR8S9fjiiFX29xvo4N0Ed73RG9L78pV4_eJRkJsWuWEUIg_dEuZE9L0aqblLsA=@protonmail.com>
Built/tested on current/amd64 with privsep.

$ cd /usr/ports/x11/icewm/ && make makesum patch update-patches build update-plist package test ; make port-lib-depends-check check-shlib-syms

===>  Regression tests for icewm-4.1.0
Making check in src
gmake[1]: Entering directory '/usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src'
gmake  check-TESTS
gmake[2]: Entering directory '/usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src'
gmake[3]: Entering directory '/usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src'
c++ -DHAVE_CONFIG_H -I. -I..  -include ../config.h -I/usr/local/include -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/opus -I/usr/local/include/gio-unix-2.0 -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DEXEEXT= -O2 -pipe -MT strtest.o -MD -MP -MF .deps/strtest.Tpo -c -o strtest.o strtest.cc
strtest.cc:436:34: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
  436 |     n = strlcpy(d, d + 1, sizeof d);
      |                           ~~~~~~~^
strtest.cc:436:27: note: change size argument to be the size of the destination
  436 |     n = strlcpy(d, d + 1, sizeof d);
      |                           ^~~~~~~~
      |                           sizeof(d)
strtest.cc:440:34: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
  440 |     n = strlcpy(d, d + 1, sizeof d);
      |                           ~~~~~~~^
strtest.cc:440:27: note: change size argument to be the size of the destination
  440 |     n = strlcpy(d, d + 1, sizeof d);
      |                           ^~~~~~~~
      |                           sizeof(d)
strtest.cc:444:34: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
  444 |     n = strlcpy(d, d + 1, sizeof d);
      |                           ~~~~~~~^
strtest.cc:444:27: note: change size argument to be the size of the destination
  444 |     n = strlcpy(d, d + 1, sizeof d);
      |                           ^~~~~~~~
      |                           sizeof(d)
3 warnings generated.
mv -f .deps/strtest.Tpo .deps/strtest.Po
/usr/bin/libtool  --tag=CXX   --mode=link c++ -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/opus -I/usr/local/include/gio-unix-2.0 -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DEXEEXT= -O2 -pipe  -L/usr/local/lib -o strtest strtest.o libice.la 
libtool: link: c++ -o strtest -pthread -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/opus -I/usr/local/include/gio-unix-2.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DEXEEXT= -O2 -pipe strtest.o /usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src/.libs/libice.a
ld: error: undefined symbol: libintl_gettext
>>> referenced by upath.cc
>>>               upath.o:(upath::ensureDirectory()) in archive /usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src/.libs/libice.a
>>> referenced by misc.cc
>>>               misc.o:(warn(char const*, ...)) in archive /usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src/.libs/libice.a
>>> referenced by misc.cc
>>>               misc.o:(fail(char const*, ...)) in archive /usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src/.libs/libice.a
>>> referenced 2 more times
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Error while executing c++ -o strtest -pthread -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/opus -I/usr/local/include/gio-unix-2.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DEXEEXT= -O2 -pipe strtest.o /usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src/.libs/libice.a
gmake[3]: *** [Makefile:1613: strtest] Error 1
gmake[3]: Leaving directory '/usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src'
gmake[2]: *** [Makefile:1995: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src'
gmake[1]: *** [Makefile:2079: check-am] Error 2
gmake[1]: Leaving directory '/usr/ports/pobj/icewm-4.1.0/icewm-4.1.0/src'
gmake: *** [Makefile:594: check-recursive] Error 1
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3114 '/usr/ports/pobj/icewm-4.1.0/.test_done': @cd /usr/ports/pobj/icewm-4.1.0/ic...)
*** Error 2 in /usr/ports/x11/icewm (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'test': @lock=icewm-4.1.0;  export _LOCKS_HELD=" icewm-4....)
--
// Checks had no issue but the tests above give me pause.


# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u icewm                                                                                                                                   
icewm-4.0.0->4.1.0: ok
--

Not sure if I missed anything. Also has test failing.

This okay?

Comments, concerns, and testing welcome.

Hope this helps and may you have a good one.
--
yaydn


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/icewm/Makefile,v
diff -u -p -u -p -r1.118 Makefile
--- Makefile	5 Jan 2026 15:28:55 -0000	1.118
+++ Makefile	7 Aug 2026 05:17:42 -0000
@@ -1,7 +1,7 @@
 # unconditionally uses machine/apmvar.h and related structures/defines
 ONLY_FOR_ARCHS=	${APM_ARCHS}
 
-V=		4.0.0
+V=		4.1.0
 COMMENT=	small and fast window manager
 DISTNAME=	icewm-${V}
 EXTRACT_SUFX=	.tar.lz
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/icewm/distinfo,v
diff -u -p -u -p -r1.59 distinfo
--- distinfo	5 Jan 2026 15:28:55 -0000	1.59
+++ distinfo	7 Aug 2026 05:17:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (icewm-4.0.0.tar.lz) = uLIqLwRgxR+SunhRAr0SJweWamGLuHLJX6bmgB1iDNE=
-SIZE (icewm-4.0.0.tar.lz) = 1897528
+SHA256 (icewm-4.1.0.tar.lz) = Fq0G6kCXPEeJYurofLnZAsRZApO/3xZcebwrIKDAwSo=
+SIZE (icewm-4.1.0.tar.lz) = 1899446
Index: patches/patch-src_icesh_cc
===================================================================
RCS file: /cvs/ports/x11/icewm/patches/patch-src_icesh_cc,v
diff -u -p -u -p -r1.27 patch-src_icesh_cc
--- patches/patch-src_icesh_cc	5 Jan 2026 15:28:55 -0000	1.27
+++ patches/patch-src_icesh_cc	7 Aug 2026 05:17:42 -0000
@@ -3,7 +3,7 @@ Don't do this GNU extension stuff.
 Index: src/icesh.cc
 --- src/icesh.cc.orig
 +++ src/icesh.cc
-@@ -3179,6 +3179,8 @@ void IceSh::doSync()
+@@ -3197,6 +3197,8 @@ void IceSh::doSync()
  
  bool IceSh::colormaps()
  {
@@ -12,7 +12,7 @@ Index: src/icesh.cc
      if ( !isAction("colormaps", 0))
          return false;
  
-@@ -3187,7 +3189,7 @@ bool IceSh::colormaps()
+@@ -3205,7 +3207,7 @@ bool IceSh::colormaps()
  
      tlog("colormaps");
      running = true;
@@ -21,7 +21,7 @@ Index: src/icesh.cc
      while (running) {
          int n = 0;
          Colormap* map = XListInstalledColormaps(display, root, &n);
-@@ -3383,11 +3385,13 @@ void IceSh::monitors()
+@@ -3401,11 +3403,13 @@ void IceSh::monitors()
  
  bool IceSh::guiEvents()
  {
icewm-4.1.0.diff (application/octet-stream, 2 KB)
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/icewm/Makefile,v
diff -u -p -u -p -r1.118 Makefile
--- Makefile	5 Jan 2026 15:28:55 -0000	1.118
+++ Makefile	7 Aug 2026 05:17:42 -0000
@@ -1,7 +1,7 @@
 # unconditionally uses machine/apmvar.h and related structures/defines
 ONLY_FOR_ARCHS=	${APM_ARCHS}
 
-V=		4.0.0
+V=		4.1.0
 COMMENT=	small and fast window manager
 DISTNAME=	icewm-${V}
 EXTRACT_SUFX=	.tar.lz
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/icewm/distinfo,v
diff -u -p -u -p -r1.59 distinfo
--- distinfo	5 Jan 2026 15:28:55 -0000	1.59
+++ distinfo	7 Aug 2026 05:17:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (icewm-4.0.0.tar.lz) = uLIqLwRgxR+SunhRAr0SJweWamGLuHLJX6bmgB1iDNE=
-SIZE (icewm-4.0.0.tar.lz) = 1897528
+SHA256 (icewm-4.1.0.tar.lz) = Fq0G6kCXPEeJYurofLnZAsRZApO/3xZcebwrIKDAwSo=
+SIZE (icewm-4.1.0.tar.lz) = 1899446
Index: patches/patch-src_icesh_cc
===================================================================
RCS file: /cvs/ports/x11/icewm/patches/patch-src_icesh_cc,v
diff -u -p -u -p -r1.27 patch-src_icesh_cc
--- patches/patch-src_icesh_cc	5 Jan 2026 15:28:55 -0000	1.27
+++ patches/patch-src_icesh_cc	7 Aug 2026 05:17:42 -0000
@@ -3,7 +3,7 @@ Don't do this GNU extension stuff.
 Index: src/icesh.cc
 --- src/icesh.cc.orig
 +++ src/icesh.cc
-@@ -3179,6 +3179,8 @@ void IceSh::doSync()
+@@ -3197,6 +3197,8 @@ void IceSh::doSync()
  
  bool IceSh::colormaps()
  {
@@ -12,7 +12,7 @@ Index: src/icesh.cc
      if ( !isAction("colormaps", 0))
          return false;
  
-@@ -3187,7 +3189,7 @@ bool IceSh::colormaps()
+@@ -3205,7 +3207,7 @@ bool IceSh::colormaps()
  
      tlog("colormaps");
      running = true;
@@ -21,7 +21,7 @@ Index: src/icesh.cc
      while (running) {
          int n = 0;
          Colormap* map = XListInstalledColormaps(display, root, &n);
-@@ -3383,11 +3385,13 @@ void IceSh::monitors()
+@@ -3401,11 +3403,13 @@ void IceSh::monitors()
  
  bool IceSh::guiEvents()
  {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.