pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xnedit: Update to 1.4.0
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Mon Jan 17 18:21:28 2022 +0100
Changeset: e2c236f0c8a03d0d53fd23004717fd235965f1aa
Modified Files:
xnedit/Makefile
xnedit/PLIST
xnedit/distinfo
xnedit/patches/patch-makefiles_Makefile.netbsd
Log Message:
xnedit: Update to 1.4.0
version 1.4.0 (2022-01-09)
--------------------------
- updated C, C++ and Java syntax highlighting
- added Lua syntax highlighting
- added OCaml syntax highlighting
- added support for DESTDIR parameter in the make install target
- added ansi escape sequence color rendering
- added color chooser
- added warning before overriding existing files
- added encoding error list
- added possibility to close tabs with middle mouse button
- tab position can be changed with dnd in the same window now
- improved file dialog(Ctrl+L shortcut, support for absolute file names)
- fixed Edit Lower-case/Upper-case with non-ASCII characters
- removed "Cannot get X Input Manager" error message
version 1.3.3 (2021-08-18)
--------------------------
- fixed potential buffer overflow in server/client mode
- fixed half-visible button in "Save Files" dialog
- fixed search history recall in alternate "Replace All" dialog
- added cygwin support
version 1.3.2 (2021-06-13)
--------------------------
- font dialog: use font family as name if the full name is not available
- fixed slow performance in some cases when Highlight Cursor Line is enabled
- fixed Highlight Cursor Line state in new documents
- fixed cursor line highlighting if wrap mode is 'None'
- fixed crash in font dialog when size is changed and no item is selected
- fixed build on Solaris 10
version 1.3.1 (2021-05-29)
--------------------------
- fixed encoding detection
- fixed font selector
- fixed cursor rendering when wrap mode is 'none'
- fixed color initialization in split pane
- fixed saving nedit.iconSize setting
- fixed filedialog pathbar not separating directories with 1-char names
- removed support for legacy .nedit config file
- changed env NEDIT_HOME to XNEDIT_HOME
- added cygwin Makefile
version 1.3.0 (2021-05-19)
--------------------------
- added cursor line highlighting
- added indent rainbow
- added support for EditorConfig
- added option for displaying the current encoding in the window title
- added default encoding preference
- added preference for toolbar icon size
- added separate line number background color
- improved input method usage
- fixed Drag'n'Drop not working with some file managers
- fixed Paste Column not working correctly with multibyte characters
- fixed message dialog button inconsistency
- fixed flickering line numbers while typing
- fixed compiling with REPLACE_SCOPE option
- fixed input via keypad
- fixed UTF-8 decoding
- fixed cursor rendering near multibyte characters
version 1.2.2 (2021-01-18)
--------------------------
- added possibility to scroll with mouse wheel while selecting text
- fixed rendering issue when the window is resized
- fixed that Revert to Saved could skip the first two bytes in some cases
- minor code cleanup
version 1.2.1 (2020-11-14)
--------------------------
- added alternative textfield widget for the search/replace dialog
with better unicode support.
- added shortcuts for selecting files in the filedialog detail view
- added text zoom functionality to the help window
- fixed bom setting not always applied in the save file dialog
- fixed line number drawing without Xrender.
- fixed file open not working with detail view after changing the directory
- some code cleanup
version 1.2.0 (2020-03-08)
--------------------------
- added simple encoding detection
- added option to change encoding on "Revert to Saved"
- added dialog for inserting unicode codepoints (replaces "Insert Ctrl Code")
- added detail view to the file dialog
- added menu entry for resetting font zoom (caused by ctrl +/- or mouse wheel)
- added support for opening files by drag'n'drop to the main window (xdnd)
- added new dialog for saving files on window-close
- fixed paste from primary selection on macOS
- fixed encoding conversion bug
- some code cleanup
version 1.1.1 (2019-08-18)
--------------------------
- fixed zoom shortcuts not useable with numpad
- fixed external commands not working when using xnedit background mode (xnc)
- improved font selector (sorted font list)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e2c236f0c8a03d0d53fd23004717fd235965f1aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
xnedit/Makefile | 25 ++++++++++++++-----------
xnedit/PLIST | 3 ++-
xnedit/distinfo | 8 ++++----
xnedit/patches/patch-makefiles_Makefile.netbsd | 7 ++++---
4 files changed, 24 insertions(+), 19 deletions(-)
diffs:
diff --git a/xnedit/Makefile b/xnedit/Makefile
index 033da47360..fb79627bc1 100644
--- a/xnedit/Makefile
+++ b/xnedit/Makefile
@@ -4,11 +4,11 @@ DISTNAME= xnedit-${VERS}
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xnedit/}
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= micha%NetBSD.org@localhost
HOMEPAGE= https://sourceforge.net/projects/xnedit/
COMMENT= Fork of NEdit with Unicode support and antialiased text
LICENSE= gnu-gpl-v2
-VERS= 1.1.0
+VERS= 1.4.0
USE_LANGUAGES= c99
@@ -19,11 +19,13 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PREFIX}/share/doc/xnedit
SUBST_CLASSES+= fix-include
SUBST_STAGE.fix-include= pre-configure
SUBST_MESSAGE.fix-include= Fixing include Xft.h.
-SUBST_FILES.fix-include= util/fontsel.c
-SUBST_FILES.fix-include+= source/textP.h
+SUBST_FILES.fix-include= source/nedit.h
+SUBST_FILES.fix-include+= source/rangeset.h
+SUBST_FILES.fix-include+= source/text.h
SUBST_FILES.fix-include+= source/textDisp.h
-SUBST_FILES.fix-include+= source/nedit.h
-#SUBST_FILES.fix-include+= Microline/XmL/XmL.c
+SUBST_FILES.fix-include+= source/textP.h
+SUBST_FILES.fix-include+= util/colorchooser.c
+SUBST_FILES.fix-include+= util/fontsel.c
SUBST_SED.fix-include= -e 's,Xft/Xft.h>,X11/&,'
do-install:
@@ -33,22 +35,23 @@ do-install:
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xnedit.1
${INSTALL_MAN} ${WRKSRC}/doc/xnc.man \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xnedit-nc.1
-.for f in README ReleaseNotes
+.for f in README.md ReleaseNotes
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/xnedit
.endfor
-.for f in faq.txt NEdit.ad
+.for f in NEdit.ad faq.txt xnedit.txt
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/xnedit
.endfor
.include "../../converters/libiconv/buildlink3.mk"
-# Not needed. Indirect dependency included via libXft
+.include "../../devel/pcre/buildlink3.mk"
+# Not needed (indirect dependency of libXft)
#.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
-# Doesn't work with modular X (and is wrong anyway according to documentation)
-#.include "../../mk/x11.buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.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"
diff --git a/xnedit/PLIST b/xnedit/PLIST
index ab2c19bf09..12eb9bd8a6 100644
--- a/xnedit/PLIST
+++ b/xnedit/PLIST
@@ -4,6 +4,7 @@ bin/xnedit
man/man1/xnedit-nc.1
man/man1/xnedit.1
share/doc/xnedit/NEdit.ad
-share/doc/xnedit/README
+share/doc/xnedit/README.md
share/doc/xnedit/ReleaseNotes
share/doc/xnedit/faq.txt
+share/doc/xnedit/xnedit.txt
diff --git a/xnedit/distinfo b/xnedit/distinfo
index 4f11072b35..215b961539 100644
--- a/xnedit/distinfo
+++ b/xnedit/distinfo
@@ -1,6 +1,6 @@
$NetBSD$
-RMD160 (xnedit-1.1.0.tar.gz) = f88f2ab4f6ab342f6f0f73e29a62b868e1880744
-SHA512 (xnedit-1.1.0.tar.gz) = 68afc6b11dd05671c7dbdd8baafa350d76cb38df4c4126bfc2087d84fd57ab73682653cf623b912dca336936a012701bd99de496ceb69c9591a00bcb693b95d4
-Size (xnedit-1.1.0.tar.gz) = 1438473 bytes
-SHA1 (patch-makefiles_Makefile.netbsd) = ac2af4da7e0af0d36567b0a3036d32c589065a3f
+BLAKE2s (xnedit-1.4.0.tar.gz) = 6d36770d496e3e7fed8c907bf86073e0bba5e77f264565d2d8740d1096982fee
+SHA512 (xnedit-1.4.0.tar.gz) = eba465679984290b5ff1c0584c78fadf78d96b6daef8e78b772bee4e6b4278c025c5f2b22f0688ed3f8bcdea6d54cb6154727cf0d7c53372d908d7d1fb80a401
+Size (xnedit-1.4.0.tar.gz) = 1509634 bytes
+SHA1 (patch-makefiles_Makefile.netbsd) = c739f640987cfed40cc673d3fcb68e3fe94d3b6f
diff --git a/xnedit/patches/patch-makefiles_Makefile.netbsd b/xnedit/patches/patch-makefiles_Makefile.netbsd
index b54ad2b3ac..1140b61f65 100644
--- a/xnedit/patches/patch-makefiles_Makefile.netbsd
+++ b/xnedit/patches/patch-makefiles_Makefile.netbsd
@@ -1,5 +1,6 @@
$NetBSD$
-# Add system X11 include directory.
+
+Add system X11 include directory.
--- makefiles/Makefile.netbsd.orig 2019-04-04 14:42:00.000000000 +0000
+++ makefiles/Makefile.netbsd
@@ -8,8 +9,8 @@ $NetBSD$
# add -DHAVE__XMVERSIONSTRING to CFLAGS
#
-CFLAGS=-O -I/usr/pkg/include -I/usr/pkg/include/X11 -I/usr/X11R7/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM `pkg-config --cflags xft fontconfig`
--LIBS= -L/usr/X11R7/lib -R/usr/X11R7/lib -liconv -lm -lXm -lXt -lSM -lICE -lX11 -lXrender -lXpm -lXext `pkg-config --libs xft fontconfig`
+-LIBS= -L/usr/X11R7/lib -R/usr/X11R7/lib -lpcre -liconv -lm -lXm -lXt -lSM -lICE -lX11 -lXrender -lXpm -lXext `pkg-config --libs xft fontconfig`
+CFLAGS+=-DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
-+LIBS= ${LDFLAGS} ${MOTIFLIB} -liconv -lm -lXm -lXt -lSM -lICE -lX11 -lXrender -lXpm -lXext -lXft
++LIBS= ${LDFLAGS} ${MOTIFLIB} -lpcre -liconv -lm -lXm -lXt -lSM -lICE -lX11 -lXrender -lXpm -lXext -lXft
include Makefile.common
Home |
Main Index |
Thread Index |
Old Index