editors/xnedit: Update to 1.5.0

Add patch to not execute binary on build machine.
Add perl build dependency (for man page).
Remove libXpm dependency (no longer used, see changelog below).
Remove USE_DIRENT configuration (used by default now).

version 1.5.0 (2023-07-09)
--------------------------

 - added experimental support for multi-cursor editing
 - added new setting Lock File on Encoding Error
 - added horizontal scrolling via btn6/7
 - added current window size as default values to Initial Window Size dialog
 - added marking to iconified windows in the window menu
 - added persistent search/replace history
 - added CDE dnd integration
 - updated macos makefile
 - improved font width detection
 - improved text rendering performance
 - changed behavior when a file was opened with encoding errors (lock on error)
 - removed file dialog icon view / removed libXpm dependency
 - fixed macro recording of composed characters
 - fixed xnc not detecting the correct virtual desktop of windows
 - fixed new file name not always used in the save file dialog/detaiview
 - fixed possible out-of-bounds read in primary selection
 - fixed line number background clip rectangle
 - fixed case insensitive search not working with non-ASCII characters
 - fixed isrcFind icon size setting
This commit is contained in:
micha 2023-07-12 13:22:10 +00:00
parent 6b160f9800
commit 1225abc38d
3 changed files with 20 additions and 15 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.8 2023/01/29 21:15:58 ryoon Exp $
# $NetBSD: Makefile,v 1.9 2023/07/12 13:22:10 micha Exp $
DISTNAME= xnedit-1.4.1
PKGREVISION= 1
DISTNAME= xnedit-1.5.0
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xnedit/}
@ -11,18 +10,19 @@ COMMENT= Fork of NEdit with Unicode support and antialiased text
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c99
USE_TOOLS= pkg-config yacc
USE_TOOLS= perl pkg-config yacc
# Redefinition of macros bcopy and bzero (at leat on NetBSD 9.3)
FORTIFY_SUPPORTED= no
WRKSRC= ${WRKDIR}/xnedit
BUILD_TARGET= generic
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PREFIX}/share/doc/xnedit
# Use POSIX struct dirent (instead of BSD struct direct)
CFLAGS+= -DUSE_DIRENT
# Workaround for bugs in IRIX Motif library
CFLAGS.IRIX+= -DNO_XMIM
CFLAGS.IRIX+= -DNO_XMIM
# Workaround for bugs in Solaris Motif library
CFLAGS.SunOS+= -DROWCOLPATCH
CFLAGS.SunOS+= -DROWCOLPATCH
LDFLAGS.Darwin+= -liconv
@ -33,6 +33,10 @@ SUBST_MESSAGE.fix-cflags= Fixing Makefile.generic.
SUBST_FILES.fix-cflags= makefiles/Makefile.generic
SUBST_SED.fix-cflags= -e 's,CFLAGS=,CFLAGS+=,'
# Perl is required only for this step
post-build:
cd ${WRKSRC} && ${MAKE} ${MAKE_FLAGS} VERSION="XNEdit ${PKGVERSION_NOREV}" docs
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/source/xnedit ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/source/xnc ${DESTDIR}${PREFIX}/bin
@ -43,7 +47,7 @@ do-install:
.for f in README.md ReleaseNotes
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/xnedit
.endfor
.for f in NEdit.ad faq.txt xnedit.txt
.for f in NEdit.ad faq.txt xnedit.html xnedit.txt
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/xnedit
.endfor
@ -55,7 +59,6 @@ do-install:
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXrender/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2022/01/28 11:50:12 micha Exp $
@comment $NetBSD: PLIST,v 1.2 2023/07/12 13:22:10 micha Exp $
bin/xnc
bin/xnedit
man/man1/xnc.1
@ -7,4 +7,5 @@ share/doc/xnedit/NEdit.ad
share/doc/xnedit/README.md
share/doc/xnedit/ReleaseNotes
share/doc/xnedit/faq.txt
share/doc/xnedit/xnedit.html
share/doc/xnedit/xnedit.txt

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.2 2022/07/11 12:34:58 micha Exp $
$NetBSD: distinfo,v 1.3 2023/07/12 13:22:10 micha Exp $
BLAKE2s (xnedit-1.4.1.tar.gz) = 89047c36e383e51b5d7487a050949deb0144e6ad20a54980d7605f6483ed602d
SHA512 (xnedit-1.4.1.tar.gz) = 9409e1e4e7ffe65d6b07e3614a7d48b11cf75dce8a41ab4bd647c3bed96167563ea567dc2fe323a6cf917a57e715e8db7a222142931032c9b133dd40be9aba7c
Size (xnedit-1.4.1.tar.gz) = 1509723 bytes
BLAKE2s (xnedit-1.5.0.tar.gz) = 8e65d105db8dbac23aaedce52435cc5c877b42367467113196cfe3edefc5ebd5
SHA512 (xnedit-1.5.0.tar.gz) = 89dd847aed649bc31a1f9d5eca8ace42e189bb5038f1fdd58526eeb7167dfa179bd8f51901d585f565b483d40eb15c0f8807308805c42afecc918ed9c38d6264
Size (xnedit-1.5.0.tar.gz) = 1519422 bytes
SHA1 (patch-Makefile) = 065037b9d82dd35f33253899869f3e85db17834b