From 73916b289b031900935a8ac094b1c80dc183991c Mon Sep 17 00:00:00 2001 From: landry Date: Thu, 30 May 2024 17:09:41 +0000 Subject: [PATCH] x11/tilda: update to 2.0.0. see https://github.com/lanoxx/tilda/releases/tag/tilda-2.0.0 --- x11/tilda/Makefile | 7 +++---- x11/tilda/distinfo | 4 ++-- x11/tilda/patches/patch-src-tilda_c | 21 ------------------- .../patches/patch-src_tilda-lock-files_c | 12 +++++++++++ x11/tilda/pkg/PLIST | 4 ++++ 5 files changed, 21 insertions(+), 27 deletions(-) delete mode 100644 x11/tilda/patches/patch-src-tilda_c create mode 100644 x11/tilda/patches/patch-src_tilda-lock-files_c diff --git a/x11/tilda/Makefile b/x11/tilda/Makefile index 045379baec10..31abd6758bfe 100644 --- a/x11/tilda/Makefile +++ b/x11/tilda/Makefile @@ -2,9 +2,8 @@ COMMENT= drop-down terminal emulator GH_ACCOUNT= lanoxx GH_PROJECT= tilda -GH_TAGNAME= tilda-1.5.0 -DISTNAME= tilda-1.5.0 -REVISION= 0 +GH_TAGNAME= tilda-2.0.0 +DISTNAME= ${GH_TAGNAME} CATEGORIES= x11 @@ -25,7 +24,7 @@ RUN_DEPENDS= devel/desktop-file-utils USE_GMAKE= Yes -AUTOCONF_VERSION= 2.69 +AUTOCONF_VERSION= 2.71 AUTOMAKE_VERSION= 1.15 AUTORECONF= ./autogen.sh CONFIGURE_STYLE= autoreconf diff --git a/x11/tilda/distinfo b/x11/tilda/distinfo index 56f62bf3fcf1..33abf5b94bcb 100644 --- a/x11/tilda/distinfo +++ b/x11/tilda/distinfo @@ -1,2 +1,2 @@ -SHA256 (tilda-1.5.0.tar.gz) = 9mTBfayiopAPSd6etldGztA8hnsCFEFJ7yEmDLzWEDk= -SIZE (tilda-1.5.0.tar.gz) = 484754 +SHA256 (tilda-2.0.0.tar.gz) = /5NkJExYUHzUBzrCLlgKTN7QSNQWxoJJbBsXiO6KMN8= +SIZE (tilda-2.0.0.tar.gz) = 532550 diff --git a/x11/tilda/patches/patch-src-tilda_c b/x11/tilda/patches/patch-src-tilda_c deleted file mode 100644 index 8c9031597eaa..000000000000 --- a/x11/tilda/patches/patch-src-tilda_c +++ /dev/null @@ -1,21 +0,0 @@ -Index: src/tilda.c ---- src/tilda.c.orig -+++ src/tilda.c -@@ -13,8 +13,6 @@ - * You should have received a copy of the GNU Library General Public - * License along with this library. If not, see . - */ --#define _POSIX_SOURCE /* feature test macro for signal functions */ --#define _XOPEN_SOURCE /* feature test macro for popen */ - - /* - * This message is shown in a modal dialog when tilda starts and there is a problem parsing the configuration file. -@@ -232,7 +230,7 @@ nomatch: - static GSList *getPids() { - GSList *pids = NULL; - FILE *ps_output; -- const gchar ps_command[] = "ps -C tilda -o pid="; -+ const gchar ps_command[] = "/usr/bin/pgrep tilda"; - gchar buf[16]; /* Really shouldn't need more than 6 */ - - if ((ps_output = popen (ps_command, "r")) == NULL) { diff --git a/x11/tilda/patches/patch-src_tilda-lock-files_c b/x11/tilda/patches/patch-src_tilda-lock-files_c new file mode 100644 index 000000000000..5c8896d44aeb --- /dev/null +++ b/x11/tilda/patches/patch-src_tilda-lock-files_c @@ -0,0 +1,12 @@ +Index: src/tilda-lock-files.c +--- src/tilda-lock-files.c.orig ++++ src/tilda-lock-files.c +@@ -217,7 +217,7 @@ static struct lock_info *islockfile (const gchar *file + static GSList *getPids() { + GSList *pids = NULL; + FILE *ps_output; +- const gchar ps_command[] = "ps -C tilda -o pid="; ++ const gchar ps_command[] = "/usr/bin/pgrep tilda"; + gchar buf[16]; /* Really shouldn't need more than 6 */ + + if ((ps_output = popen (ps_command, "r")) == NULL) { diff --git a/x11/tilda/pkg/PLIST b/x11/tilda/pkg/PLIST index 6101a414c1b6..420cbe13d17a 100644 --- a/x11/tilda/pkg/PLIST +++ b/x11/tilda/pkg/PLIST @@ -1,4 +1,6 @@ @bin bin/tilda +@man man/man1/tilda.1 +share/applications/tilda-dbus.desktop share/applications/tilda.desktop share/doc/tilda/ share/doc/tilda/README.md @@ -10,6 +12,7 @@ share/locale/el/LC_MESSAGES/tilda.mo share/locale/en_GB/LC_MESSAGES/tilda.mo share/locale/es/LC_MESSAGES/tilda.mo share/locale/fr/LC_MESSAGES/tilda.mo +share/locale/hr/LC_MESSAGES/tilda.mo share/locale/hu/LC_MESSAGES/tilda.mo share/locale/it/LC_MESSAGES/tilda.mo share/locale/lt/LC_MESSAGES/tilda.mo @@ -22,6 +25,7 @@ share/locale/sk/LC_MESSAGES/tilda.mo share/locale/sl/LC_MESSAGES/tilda.mo share/locale/sv/LC_MESSAGES/tilda.mo share/locale/tr/LC_MESSAGES/tilda.mo +share/locale/uk/LC_MESSAGES/tilda.mo share/locale/zh_CN/LC_MESSAGES/tilda.mo share/locale/zh_TW/LC_MESSAGES/tilda.mo share/metainfo/