summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md1
-rw-r--r--control11
-rwxr-xr-xcontrol.sh15
m---------pcre20
-rw-r--r--ted.h2
6 files changed, 18 insertions, 13 deletions
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`.
<tr><td>2.7.4</td> <td>find/replace and LSP bug fixes</td> <td>2024 Sep 8</td></tr>
<tr><td>2.7.5</td> <td>LSP bug fix</td> <td>2024 Dec 7</td></tr>
<tr><td>2.7.6</td> <td>Fix new LSP bug introduced by 2.7.5</td> <td>2024 Dec 8</td></tr>
+<tr><td>2.7.7</td> <td>Add prepareRename support, fix IDE hover</td> <td>2024 Dec 8</td></tr>
</table>
## 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 <pommicket@gmail.com>
-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 <pommicket@gmail.com>
+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
-Subproject 96f0653589705061ec8d9eb9d14cfb7ef7101a1
+Subproject 2dce7761b1831fd3f82a9c2bd5476259d945da4
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