Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2023 09:38:44 GMT
From:      =?utf-8?Q?Romain=20Tarti=C3=A8re?= <romain@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0cfd877749dd - main - x11/tilix: Update to 1.9.5
Message-ID:  <202304220938.33M9ci3H029935@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by romain:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0cfd877749dd91f983301016775bc26e999ade1f

commit 0cfd877749dd91f983301016775bc26e999ade1f
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2023-04-22 09:05:02 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2023-04-22 09:38:01 +0000

    x11/tilix: Update to 1.9.5
---
 x11/tilix/Makefile                                 |  6 ++--
 x11/tilix/distinfo                                 |  8 +++--
 x11/tilix/files/patch-data_meson.build             | 36 ++++------------------
 x11/tilix/files/patch-meson.build                  | 30 ++++++++++++++++++
 .../patch-source_gx_tilix_prefeditor_prefdialog.d  | 11 +++++++
 x11/tilix/pkg-plist                                | 21 +++++++++++++
 6 files changed, 76 insertions(+), 36 deletions(-)

diff --git a/x11/tilix/Makefile b/x11/tilix/Makefile
index 54ccacf160f0..892264d254b9 100644
--- a/x11/tilix/Makefile
+++ b/x11/tilix/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	tilix
-PORTVERSION=	1.9.4
-PORTREVISION=	2
+PORTVERSION=	1.9.5
 CATEGORIES=	x11
 
 MAINTAINER=	romain@FreeBSD.org
@@ -12,13 +11,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	cmake:devel/cmake-core \
 		po4a-translate:textproc/po4a \
+		${LOCALBASE}/libdata/pkgconfig/undead.pc:devel/undead \
 		${LOCALBASE}/libdata/pkgconfig/vted-3.pc:x11-toolkits/gtkd
 LIB_DEPENDS=	libdruntime-ldc-shared.so:lang/ldc \
 		libharfbuzz.so:print/harfbuzz \
 		libsecret-1.so:security/libsecret \
 		libunwind.so:devel/libunwind
 
-USES=		gettext gnome meson pkgconfig shebangfix
+USES=		desktop-file-utils gettext gnome meson pkgconfig shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	gnunn1
 USE_GNOME=	cairo gdkpixbuf2 librsvg2 vte3
diff --git a/x11/tilix/distinfo b/x11/tilix/distinfo
index 55feb9ed194b..66fc2d98adbb 100644
--- a/x11/tilix/distinfo
+++ b/x11/tilix/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1640633390
-SHA256 (gnunn1-tilix-1.9.4_GH0.tar.gz) = 2a9482770391d11d5edc8351d426c700c2cc6c194a30391ef2ae25bb7095b59b
-SIZE (gnunn1-tilix-1.9.4_GH0.tar.gz) = 968142
+TIMESTAMP = 1682131118
+SHA256 (gnunn1-tilix-1.9.5_GH0.tar.gz) = e25335a3f7ab06779b957d08ffaf7698c966c3b5179d002f82ce41c692fc0b89
+SIZE (gnunn1-tilix-1.9.5_GH0.tar.gz) = 1005604
+SHA256 (2101.diff) = a9fdc841f9f98a75b6e09ec007556c7e3c074eb24c2cb397a234dd69666bc488
+SIZE (2101.diff) = 2169
diff --git a/x11/tilix/files/patch-data_meson.build b/x11/tilix/files/patch-data_meson.build
index 9ee96ba411a5..8d0e2056d170 100644
--- a/x11/tilix/files/patch-data_meson.build
+++ b/x11/tilix/files/patch-data_meson.build
@@ -1,47 +1,23 @@
 https://github.com/gnunn1/tilix/pull/2074
 https://github.com/gnunn1/tilix/pull/2081
 
---- data/meson.build.orig	2021-12-27 19:49:46 UTC
+--- data/meson.build.orig	2023-04-22 01:48:27 UTC
 +++ data/meson.build
-@@ -11,7 +11,6 @@ install_data(
- 
- # Install the desktop file
- desktop_file = i18n.merge_file(
--    '@0@.desktop'.format(project_id),
-     output: '@BASENAME@',
-     input: 'pkg/desktop/@0@.desktop.in'.format(project_id),
-     po_dir: meson.source_root() / 'po',
-@@ -35,25 +34,24 @@ endif
+@@ -32,7 +32,8 @@ endif
  
  # Merge release information into MetaInfo file
  tilix_metainfo_name = '@0@.appdata.xml'.format(project_id)
 -appstreamcli = find_program('appstreamcli')
--metainfo_with_releases = custom_target('metainfo-news-merge',
 +appstreamcli = find_program('appstreamcli', required: false)
 +if appstreamcli.found()
-+  metainfo_with_releases = custom_target('metainfo-news-merge',
+ metainfo_with_releases = custom_target('metainfo-news-merge',
      input : ['../NEWS', 'metainfo/@0@.in'.format(tilix_metainfo_name)],
      output : ['untranslated-@0@.appdata.xml'.format(project_id)],
-     command : [appstreamcli, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
--)
-+  )
- 
--# Install the MetaInfo file
--metainfo_file = i18n.merge_file(
--    tilix_metainfo_name,
-+  # Install the MetaInfo file
-+  metainfo_file = i18n.merge_file(
-     output: tilix_metainfo_name,
-     input: metainfo_with_releases,
-     po_dir: meson.source_root() / 'po',
-     install: true,
-     install_dir: datadir / 'metainfo'
--)
-+  )
+@@ -49,7 +50,6 @@ metainfo_file = i18n.merge_file(
+ )
  
--# Validate MetaInfo file
+ # Validate MetaInfo file
 -if appstreamcli.found()
-+  # Validate MetaInfo file
    test (
      'Validate metainfo file',
      appstreamcli,
diff --git a/x11/tilix/files/patch-meson.build b/x11/tilix/files/patch-meson.build
new file mode 100644
index 000000000000..d3a5179abef4
--- /dev/null
+++ b/x11/tilix/files/patch-meson.build
@@ -0,0 +1,30 @@
+--- meson.build.orig	2022-02-22 16:31:19 UTC
++++ meson.build
+@@ -101,6 +101,7 @@ vted_dep = dependency('vted-3', version: '>=3.8.5')
+ xlib_dep = dependency('x11')
+ libunwind_dep = dependency('libunwind')
+ libsecret_dep = dependency('libsecret-1', required: false)
++undead_dep = dependency('undead', version: '>=1.0.9')
+ 
+ subdir('po')
+ subdir('data')
+@@ -113,7 +114,8 @@ executable('tilix',
+                     vted_dep,
+                     xlib_dep,
+                     libunwind_dep,
+-                    libsecret_dep],
++                    libsecret_dep,
++                    undead_dep],
+     d_args: d_extra_args,
+     d_module_versions: ['StdLoggerDisableTrace'],
+     link_args: d_link_args,
+@@ -125,7 +127,8 @@ tilix_test_exe = executable('tilix_test',
+     include_directories : [sources_dir],
+     dependencies : [gtkd_dep,
+                     vted_dep,
+-                    xlib_dep],
++                    xlib_dep,
++                    undead_dep],
+     d_args: d_extra_args,
+     link_args: d_link_args,
+     d_unittest: true
diff --git a/x11/tilix/files/patch-source_gx_tilix_prefeditor_prefdialog.d b/x11/tilix/files/patch-source_gx_tilix_prefeditor_prefdialog.d
new file mode 100644
index 000000000000..0b080a45e80c
--- /dev/null
+++ b/x11/tilix/files/patch-source_gx_tilix_prefeditor_prefdialog.d
@@ -0,0 +1,11 @@
+--- source/gx/tilix/prefeditor/prefdialog.d.orig	2023-04-22 04:00:09 UTC
++++ source/gx/tilix/prefeditor/prefdialog.d
+@@ -957,7 +957,7 @@ class ShortcutPreferences : Box { (private)
+             return;
+         }
+ 
+-        import std.xml: DocumentParser, ElementParser, Element, XMLException;
++        import undead.xml: DocumentParser, ElementParser, Element, XMLException;
+ 
+         try {
+             DocumentParser parser = new DocumentParser(ui);
diff --git a/x11/tilix/pkg-plist b/x11/tilix/pkg-plist
index 676ad4d6609d..9fb28205f943 100644
--- a/x11/tilix/pkg-plist
+++ b/x11/tilix/pkg-plist
@@ -1,5 +1,26 @@
 bin/tilix
 man/man1/tilix.1.gz
+man/ca/man1/tilix.1.gz
+man/cs/man1/tilix.1.gz
+man/de/man1/tilix.1.gz
+man/en_GB/man1/tilix.1.gz
+man/es/man1/tilix.1.gz
+man/fr/man1/tilix.1.gz
+man/hr/man1/tilix.1.gz
+man/it/man1/tilix.1.gz
+man/nb_NO/man1/tilix.1.gz
+man/nl/man1/tilix.1.gz
+man/oc/man1/tilix.1.gz
+man/pl/man1/tilix.1.gz
+man/pt/man1/tilix.1.gz
+man/pt_BR/man1/tilix.1.gz
+man/pt_PT/man1/tilix.1.gz
+man/ro/man1/tilix.1.gz
+man/ru/man1/tilix.1.gz
+man/sr/man1/tilix.1.gz
+man/tr/man1/tilix.1.gz
+man/uk/man1/tilix.1.gz
+man/zh_Hant/man1/tilix.1.gz
 share/applications/com.gexperts.Tilix.desktop
 share/dbus-1/services/com.gexperts.Tilix.service
 share/icons/hicolor/scalable/apps/com.gexperts.Tilix.svg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304220938.33M9ci3H029935>