pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
dte: update to 1.11.1
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Fri Dec 15 20:31:43 2023 -0500
Changeset: c457663f729ccf5c411847abd370b43e2247f50d
Added Files:
dte/DESCR
dte/Makefile
dte/PLIST
dte/TODO
dte/distinfo
dte/patches/patch-src_buffer.c
Log Message:
dte: update to 1.11.1
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c457663f729ccf5c411847abd370b43e2247f50d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
dte/DESCR | 16 ++++++++++++++++
dte/Makefile | 23 +++++++++++++++++++++++
dte/PLIST | 8 ++++++++
dte/TODO | 2 ++
dte/distinfo | 6 ++++++
dte/patches/patch-src_buffer.c | 15 +++++++++++++++
6 files changed, 70 insertions(+)
diffs:
diff --git a/dte/DESCR b/dte/DESCR
new file mode 100644
index 0000000000..2366bce748
--- /dev/null
+++ b/dte/DESCR
@@ -0,0 +1,16 @@
+dte is a small and easy to use console text editor.
+
+Features:
+
+ - Multiple buffers/tabs
+ - Unlimited undo/redo
+ - Regex search and replace
+ - Syntax highlighting
+ - Customizable color schemes
+ - Customizable key bindings
+ - Support for all xterm Ctrl/Alt/Shift key codes
+ - Command language with auto-completion
+ - Unicode 11 compatible text rendering
+ - Support for multiple encodings (using iconv)
+ - Jump to definition (using ctags)
+ - Jump to compiler error
diff --git a/dte/Makefile b/dte/Makefile
new file mode 100644
index 0000000000..51d34c2924
--- /dev/null
+++ b/dte/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.5 2023/08/11 08:44:16 nia Exp $
+
+DISTNAME= dte-1.11.1
+CATEGORIES= editors
+MASTER_SITES= https://craigbarnes.gitlab.io/dist/dte/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://craigbarnes.gitlab.io/dte/
+COMMENT= Small and easy to use console text editor
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gmake
+
+MAKE_FILE= GNUmakefile
+
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+= prefix=${PREFIX}
+MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/terminfo.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dte/PLIST b/dte/PLIST
new file mode 100644
index 0000000000..2fd7255dd5
--- /dev/null
+++ b/dte/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/dte
+man/man1/dte.1
+man/man5/dte-syntax.5
+man/man5/dterc.5
+share/applications/dte.desktop
+share/bash-completion/completions/dte
+share/metainfo/dte.appdata.xml
diff --git a/dte/TODO b/dte/TODO
new file mode 100644
index 0000000000..1deda9b432
--- /dev/null
+++ b/dte/TODO
@@ -0,0 +1,2 @@
+testing
+COMMIT_MSG
diff --git a/dte/distinfo b/dte/distinfo
new file mode 100644
index 0000000000..8b1c5d96d7
--- /dev/null
+++ b/dte/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.5 2021/10/26 10:21:26 nia Exp $
+
+BLAKE2s (dte-1.11.1.tar.gz) = 1930bd74fe54962a8a808bf48a171bc19aabedc624b328fa02a1d777d32e7437
+SHA512 (dte-1.11.1.tar.gz) = bdc2100d1d9db8ed24fd5df37154c681625f1d8af66b3e544450f25fa90341d2ff151504b3718e7b2a69ebc28dac41a1841d1024cab9a60c82cc4807b88a4887
+Size (dte-1.11.1.tar.gz) = 415294 bytes
+SHA1 (patch-src_buffer.c) = 2ee75ea8531acb2ed4ab3b8690c360743fc201aa
diff --git a/dte/patches/patch-src_buffer.c b/dte/patches/patch-src_buffer.c
new file mode 100644
index 0000000000..160482dafe
--- /dev/null
+++ b/dte/patches/patch-src_buffer.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+memcpy needs a source
+
+--- src/buffer.c.orig 2023-03-01 23:29:00.000000000 +0000
++++ src/buffer.c
+@@ -459,7 +459,7 @@ String dump_buffer(const Buffer *buffer)
+ char modestr[12];
+ char timestr[64];
+ if (!timespec_to_str(&file->mtime, timestr, sizeof(timestr))) {
+- memcpy(timestr, STRN("[error]") + 1);
++ memcpy(timestr, "[error]", 8);
+ }
+
+ string_sprintf (
Home |
Main Index |
Thread Index |
Old Index