From: izzy Meyer Subject: Re: Update editors/nedit to Alexander Mai's fork To: David Uhden Collado Cc: ports@openbsd.org, just22@atlantide.mooo.com Date: Thu, 17 Sep 2026 19:01:48 -0500 Hi, Thanks for this port I hit a roadblock however: /usr/ports/editors/nedit git:(master*) $ make ===> Building from scratch nedit-5.7.20260411 ===> nedit-5.7.20260411 depends on: libiconv-* -> libiconv-1.19 ===> nedit-5.7.20260411 depends on: motif-* -> motif-2.3.8p3 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xft Xmu Xpm Xrender Xt c expat fontconfig freetype iconv m z Xm ===> found ICE.12.0 SM.9.0 X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xft.13.0 Xmu.11.1 Xpm.10.0 Xrender.6.0 Xt.11.1 c.104.0 expat.17.1 fontconfig.14.1 freetype.31.1 iconv.7.2 m.10.1 z.7.2 Xm.6.1 ===> Checking files for nedit-5.7.20260411 `/usr/ports/distfiles/dd408440cb392db2258edfef753c57e134cfbbd8.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for nedit-5.7.20260411 ===> Patching for nedit-5.7.20260411 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 32. done ===> Applying OpenBSD patch patch-doc_NEdit_ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- doc/NEdit.ad.orig 2003-09-29 01:03:50.000000000 +1000 |+++ doc/NEdit.ad 2003-12-04 22:25:59.000000000 +1100 -------------------------- Patching file doc/NEdit.ad using Plan A... Hunk #1 succeeded at 8. done ===> Applying OpenBSD patch patch-doc_nc_pod Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: doc/nc.pod |--- doc/nc.pod.orig |+++ doc/nc.pod -------------------------- Patching file doc/nc.pod using Plan A... Hunk #1 failed at 3. Hunk #2 succeeded at 49. Hunk #3 failed at 107. Hunk #4 succeeded at 155 (offset -12 lines). Hunk #5 succeeded at 170 (offset -12 lines). 2 out of 5 hunks failed--saving rejects to doc/nc.pod.rej done ***> patch-doc_nc_pod did not apply cleanly ===> Applying OpenBSD patch patch-doc_nedit_pod Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: doc/nedit.pod |--- doc/nedit.pod.orig |+++ doc/nedit.pod -------------------------- Patching file doc/nedit.pod using Plan A... Hunk #1 succeeded at 48. Hunk #2 succeeded at 145. Hunk #3 succeeded at 263. done ===> Applying OpenBSD patch patch-makefiles_Makefile_openbsd Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: makefiles/Makefile.openbsd |--- makefiles/Makefile.openbsd.orig |+++ makefiles/Makefile.openbsd -------------------------- Patching file makefiles/Makefile.openbsd using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 10. done ===> Applying OpenBSD patch patch-source_file_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/file.c |--- source/file.c.orig |+++ source/file.c -------------------------- Patching file source/file.c using Plan A... Hunk #1 succeeded at 1373 (offset -3 lines). Hunk #2 succeeded at 1389 (offset -3 lines). Hunk #3 succeeded at 1401 (offset -3 lines). done ===> Applying OpenBSD patch patch-source_highlightData_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/highlightData.c |--- source/highlightData.c.orig |+++ source/highlightData.c -------------------------- Patching file source/highlightData.c using Plan A... Hunk #1 succeeded at 266. done ===> Applying OpenBSD patch patch-source_nc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/nc.c |--- source/nc.c.orig |+++ source/nc.c -------------------------- Patching file source/nc.c using Plan A... Hunk #1 succeeded at 110 (offset -2 lines). Hunk #2 succeeded at 742 (offset -36 lines). Hunk #3 succeeded at 814 (offset -2 lines). done ===> Applying OpenBSD patch patch-source_preferences_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add .pp to the list of extensions for Pascal source files. | |Index: source/preferences.c |--- source/preferences.c.orig |+++ source/preferences.c -------------------------- Patching file source/preferences.c using Plan A... Hunk #1 succeeded at 761 (offset 2 lines). Hunk #2 succeeded at 790 (offset 2 lines). done ===> Applying OpenBSD patch patch-util_misc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: util/misc.c |--- util/misc.c.orig |+++ util/misc.c -------------------------- Patching file util/misc.c using Plan A... Hunk #1 succeeded at 1488. done ===> Failed patches: patch-doc_nc_pod *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2949 '/usr/ports/pobj/nedit-5.7.20260411/.patch_done': @if cd /usr/ports/editors/...) *** Error 2 in /usr/ports/editors/nedit (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'all': @lock=nedit-5.7.20260411; export _LOCKS_HELD=...) Did you mean to remove this patch file? Upon removing it, the build seems to be able to continue, even to the point of rolling up a package. After this change, heres some other stuff I ran: /usr/ports/editors/nedit git:(master*) $ make port-lib-depends-check /usr/ports/editors/nedit git:(master*) $ portcheck editors/nedit Appreciated, On Thu, 27 Aug 2026 00:57:00 +0000 David Uhden Collado wrote: > Hello, > > I'd like to propose switching the editors/nedit port from the old > SourceForge NEdit 5.7 source tree to the nedit-classic fork maintained > by Alexander Mai: > > https://github.com/alx210/nedit-classic > > This is the same developer behind EMWM and the related Motif > applications such as XFile, XImaging, and emwm-utils. His NEdit fork > is based directly on the classic Motif NEdit code and keeps the > traditional interface and behavior rather than replacing it with a > different toolkit or substantially different editor. > > The current OpenBSD port still uses the original NEdit 5.7 release > from 2017. The proposed patch instead tracks a recent nedit-classic > snapshot from April 11, 2026: > > dd408440cb392db2258edfef753c57e134cfbbd8 > > The main advantage of this fork is that it continues development of > the classic Motif version while adding functionality useful on modern > X11 desktops. Upstream specifically carries experimental support for > MWM workspace management and optional Xft font support. This also > makes it a natural companion to the updated Motif library and EMWM > ports. > > The fork otherwise remains recognizably NEdit 5.7 and preserves its > existing client/server model, Motif interface, macro system, syntax > highlighting, and other established behavior. > > For the port, I changed HOMEPAGE and the distfile source to the > nedit-classic GitHub repository and use a dated package version for > the selected upstream commit. > > I also adjusted the OpenBSD makefile patch so the Motif library is > resolved correctly through LOCALBASE and explicitly pass LOCALBASE and > X11BASE through MAKE_ENV. > > The documentation build is now performed explicitly with pod2man after > the main build, while installation remains controlled by the port. The > obsolete separate nedit_patterns distfile and associated packaged > files are no longer included. > > The package description has also been updated to identify this as the > classic fork and document its MWM workspace compatibility and Xft > support. > > My main reason for proposing the switch is similar to the Motif > update: the existing NEdit 5.7 release has been static for many > years, while nedit-classic provides a current continuation of the > same traditional Motif codebase by a developer who is actively > working on the surrounding Motif desktop ecosystem. > > Thank you for your time and consideration. > > Best regards, > David -- iz (she/her) > I say mundane things > so the uninteresting > just might get noticed. izder456 (dot) neocities (dot) org