git: 7eef387e9dda - main - x11/tilda: update to 2.0.0

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Wed, 26 Jun 2024 19:52:26 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7eef387e9dda69a1c2a89290f3e1f473de73f143

commit 7eef387e9dda69a1c2a89290f3e1f473de73f143
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-06-26 19:49:15 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-06-26 19:51:19 +0000

    x11/tilda: update to 2.0.0
    
    Full changelog: https://github.com/lanoxx/tilda/releases/tag/tilda-2.0.0
    
    Port changes:
     * remove patches, fixed by upstream
---
 x11/tilda/Makefile                         |  3 +--
 x11/tilda/distinfo                         |  6 +++---
 x11/tilda/files/patch-src_tilda_terminal.c | 11 -----------
 x11/tilda/files/patch-tilda.c              | 28 ----------------------------
 x11/tilda/pkg-plist                        |  4 ++++
 5 files changed, 8 insertions(+), 44 deletions(-)

diff --git a/x11/tilda/Makefile b/x11/tilda/Makefile
index 2a75cfb3acea..8a89ea1e1a69 100644
--- a/x11/tilda/Makefile
+++ b/x11/tilda/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	tilda
-PORTVERSION=	1.5.0
+PORTVERSION=	2.0.0
 DISTVERSIONPREFIX=	${PORTNAME}-
-PORTREVISION=	3
 CATEGORIES=	x11
 
 MAINTAINER=	rodrigo@FreeBSD.org
diff --git a/x11/tilda/distinfo b/x11/tilda/distinfo
index 8de47fa9c0c2..b3c3f8c31235 100644
--- a/x11/tilda/distinfo
+++ b/x11/tilda/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1585171171
-SHA256 (lanoxx-tilda-tilda-1.5.0_GH0.tar.gz) = f664c17daca2a2900f49de9eb65746ced03c867b02144149ef21260cbcd61039
-SIZE (lanoxx-tilda-tilda-1.5.0_GH0.tar.gz) = 484754
+TIMESTAMP = 1719301622
+SHA256 (lanoxx-tilda-tilda-2.0.0_GH0.tar.gz) = ff9364244c58507cd4073ac22e580a4cded048d416c682496c1b1788ee8a30df
+SIZE (lanoxx-tilda-tilda-2.0.0_GH0.tar.gz) = 532550
diff --git a/x11/tilda/files/patch-src_tilda_terminal.c b/x11/tilda/files/patch-src_tilda_terminal.c
deleted file mode 100644
index d0df3b7b7af7..000000000000
--- a/x11/tilda/files/patch-src_tilda_terminal.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/tilda_terminal.c.orig	2022-10-30 15:03:03 UTC
-+++ src/tilda_terminal.c
-@@ -530,7 +530,7 @@
-          */
-         flags |= G_SPAWN_FILE_AND_ARGV_ZERO;
-     } else {
--        argv = malloc(1 * sizeof(void *));
-+        argv = malloc(2 * sizeof(void *));
-         argv[0] = default_command;
-         argv[1] = NULL;
-     }
diff --git a/x11/tilda/files/patch-tilda.c b/x11/tilda/files/patch-tilda.c
deleted file mode 100644
index 8589d9f64076..000000000000
--- a/x11/tilda/files/patch-tilda.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- src/tilda.c.orig	2018-02-08 19:55:42 UTC
-+++ src/tilda.c
-@@ -12,6 +12,7 @@
-  * You should have received a copy of the GNU Library General Public
-  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
-  */
-+#include <fcntl.h>
- #define _POSIX_SOURCE /* feature test macro for signal functions */
- #define _XOPEN_SOURCE /* feature test macro for popen */
- 
-@@ -52,7 +53,7 @@
- #include <sys/stat.h>
- #include <sys/file.h>
- #include <errno.h>
--#include <sys/dir.h>
-+#include <dirent.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <string.h>
-@@ -230,7 +231,7 @@ nomatch:
- static GSList *getPids() {
-     GSList *pids = NULL;
-     FILE *ps_output;
--    const gchar ps_command[] = "ps -C tilda -o pid=";
-+    const gchar ps_command[] = "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 8af01d03d15e..1e1dc0758a15 100644
--- a/x11/tilda/pkg-plist
+++ b/x11/tilda/pkg-plist
@@ -5,6 +5,7 @@ share/applications/tilda.desktop
 %%PORTDOCS%%%%DOCSDIR%%/HACKING.md
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/TODO.md
+share/applications/tilda-dbus.desktop
 share/locale/bg/LC_MESSAGES/tilda.mo
 share/locale/ca/LC_MESSAGES/tilda.mo
 share/locale/cs/LC_MESSAGES/tilda.mo
@@ -13,6 +14,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
@@ -25,7 +27,9 @@ 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/man/man1/tilda.1.gz
 share/metainfo/tilda.appdata.xml
 share/pixmaps/tilda.png