From 408d8b0e8f3e7a7d0d082221e3c5d365c77d0769 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 5 Mar 2025 20:46:36 -0500 Subject: Bump version to 2.7.7 Also add automated control file generation --- Makefile | 2 +- README.md | 1 + control | 11 ----------- control.sh | 15 +++++++++++++++ pcre2 | 2 +- ted.h | 2 +- 6 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 control create mode 100755 control.sh diff --git a/Makefile b/Makefile index 7a01a86..75009d1 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,6 @@ ted.deb: release cp ted.desktop /tmp/ted/usr/share/applications cp ted /tmp/ted$(INSTALL_BIN_DIR)/ cp -r assets themes ted.cfg /tmp/ted$(GLOBAL_DATA_DIR)/ - cp control /tmp/ted/DEBIAN + ./control.sh /tmp/ted > /tmp/ted/DEBIAN/control dpkg-deb --build /tmp/ted mv /tmp/ted.deb ./ diff --git a/README.md b/README.md index ea952ac..9edabd2 100644 --- a/README.md +++ b/README.md @@ -360,6 +360,7 @@ Then run `make.bat release`. 2.7.4 find/replace and LSP bug fixes 2024 Sep 8 2.7.5 LSP bug fix 2024 Dec 7 2.7.6 Fix new LSP bug introduced by 2.7.5 2024 Dec 8 +2.7.7 Add prepareRename support, fix IDE hover 2024 Dec 8 ## License diff --git a/control b/control deleted file mode 100644 index 4483516..0000000 --- a/control +++ /dev/null @@ -1,11 +0,0 @@ -Package: ted -Version: 2.7.6 -Section: text -Priority: optional -Architecture: amd64 -Essential: no -Maintainer: Pommicket -Description: A text editor. -Installed-Size: 3852 -Depends: libsdl2-2.0-0 -Homepage: https://github.com/pommicket/ted diff --git a/control.sh b/control.sh new file mode 100755 index 0000000..f68e2f0 --- /dev/null +++ b/control.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# Script for generating debian control file for ted + +echo 'Package: ted' +printf 'Version: %s\n' $(grep '#define TED_VERSION' ted.h | cut -d'"' -f2) +echo 'Section: text +Priority: optional +Architecture: amd64 +Essential: no +Maintainer: Pommicket +Description: A text editor.' +printf 'Installed-Size: %s\n' $(du -k $1 | tail -n1 | cut -f1) +echo 'Depends: libsdl2-2.0-0 +Homepage: https://github.com/pommicket/ted' diff --git a/pcre2 b/pcre2 index 96f0653..2dce776 160000 --- a/pcre2 +++ b/pcre2 @@ -1 +1 @@ -Subproject commit 96f0653589705061ec8d9eb9d14cfb7ef7101a1a +Subproject commit 2dce7761b1831fd3f82a9c2bd5476259d945da4d diff --git a/ted.h b/ted.h index 44527ea..84fa2ec 100644 --- a/ted.h +++ b/ted.h @@ -22,7 +22,7 @@ extern "C" { #include "command.h" /// Version number -#define TED_VERSION "2.7.6" +#define TED_VERSION "2.7.7" /// Maximum path size ted handles. #define TED_PATH_MAX 1024 /// Config filename -- cgit v1.2.3