Balló György pushed to branch main at Arch Linux / Packaging / Packages /
tangram
Commits:
4d0f894e by Balló György at 2025-03-25T02:08:27+01:00
upgpkg: 3.3-2: Fix gettext domain
- - - - -
4 changed files:
- .SRCINFO
- PKGBUILD
- + tangram-gettext.patch
- − tangram-live-thumbnail.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = tangram
pkgdesc = Browser for your pinned tabs
pkgver = 3.3
- pkgrel = 1
+ pkgrel = 2
url = https://apps.gnome.org/Tangram/
arch = any
license = GPL-3.0-only
@@ -21,9 +21,9 @@ pkgbase = tangram
depends = webkitgtk-6.0
source = git+https://github.com/sonnyp/Tangram.git#tag=v3.3
source = git+https://github.com/sonnyp/troll.git
- source = tangram-live-thumbnail.patch
+ source = tangram-gettext.patch
b2sums =
b991837ce3aee766d56e4fa0a2d3eac58effb87184749118c5fa16d5bfb034f91519f8262bac4071893c10f0fdd1ae3988f0a1e9a0d7c53d61b1f70125babeaa
b2sums = SKIP
- b2sums =
8caf4d3b9d9ba6ae3ef08a0234014c0601c1049bffed3257c342c887856d8bcb7f71ba93c9c1dd33e8006ab78bbc5de8a5534a69bc28314c890acf2197490ea4
+ b2sums =
b2d514ce42895a44f2d7ce8cbfdb231009c40de8a11ed9653b77f86ed34e9ccc861e46f39549e7f1117585ab6f9aa6219be0ba82a3a7c3e84c7b6f31b74b9bbd
pkgname = tangram
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=tangram
pkgver=3.3
-pkgrel=1
+pkgrel=2
pkgdesc='Browser for your pinned tabs'
arch=(any)
url='https://apps.gnome.org/Tangram/'
@@ -28,11 +28,13 @@ makedepends=(
source=(
"git+https://github.com/sonnyp/Tangram.git#tag=v$pkgver"
git+https://github.com/sonnyp/troll.git
- tangram-live-thumbnail.patch
+ tangram-gettext.patch
+)
+b2sums=(
+
b991837ce3aee766d56e4fa0a2d3eac58effb87184749118c5fa16d5bfb034f91519f8262bac4071893c10f0fdd1ae3988f0a1e9a0d7c53d61b1f70125babeaa
+ SKIP
+
b2d514ce42895a44f2d7ce8cbfdb231009c40de8a11ed9653b77f86ed34e9ccc861e46f39549e7f1117585ab6f9aa6219be0ba82a3a7c3e84c7b6f31b74b9bbd
)
-b2sums=('b991837ce3aee766d56e4fa0a2d3eac58effb87184749118c5fa16d5bfb034f91519f8262bac4071893c10f0fdd1ae3988f0a1e9a0d7c53d61b1f70125babeaa'
- 'SKIP'
-
'8caf4d3b9d9ba6ae3ef08a0234014c0601c1049bffed3257c342c887856d8bcb7f71ba93c9c1dd33e8006ab78bbc5de8a5534a69bc28314c890acf2197490ea4')
prepare() {
cd Tangram
@@ -41,8 +43,8 @@ prepare() {
git submodule set-url troll "$srcdir/troll"
git -c protocol.file.allow=always submodule update
- # https://github.com/sonnyp/Tangram/pull/311
- git apply -3 ../tangram-live-thumbnail.patch
+ # https://github.com/sonnyp/Tangram/pull/318
+ git apply -3 ../tangram-gettext.patch
}
build() {
=====================================
tangram-gettext.patch
=====================================
@@ -0,0 +1,17 @@
+From 614910be5e499a9c265cc6bef6f439103e8d03a5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
+Date: Thu, 6 Feb 2025 04:11:07 +0100
+Subject: [PATCH] Fix gettext domain
+
+It should be `re.sonny.Tangram` instead of `Tangram`.
+---
+ po/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/po/meson.build b/po/meson.build
+index 7f27e92..8929d77 100644
+--- a/po/meson.build
++++ b/po/meson.build
+@@ -1 +1 @@
+-i18n.gettext(meson.project_name(), preset: 'glib', args: ['--no-wrap'])
++i18n.gettext(app_id, preset: 'glib', args: ['--no-wrap'])
=====================================
tangram-live-thumbnail.patch deleted
=====================================
@@ -1,24 +0,0 @@
-From 62a34d144ed70df0341533c1b8503a1abbf3db08 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
-Date: Mon, 4 Nov 2024 12:03:59 +0100
-Subject: [PATCH] Enable live thumbnail for all tabs
-
-Without this, the thumbnail is refreshed only for the selected tab. It also
causes that only the first thumbnail is visible when the application is
launched. Setting the live-thumbnail property to True for all tabs solves the
problem.
-
-Reference:
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.TabOverview.html
----
- src/tabs.js | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/tabs.js b/src/tabs.js
-index fb6dfeb..13c8b35 100644
---- a/src/tabs.js
-+++ b/src/tabs.js
-@@ -64,6 +64,7 @@ export function Tabs({
- webview.instance_id = instance.id;
-
- const tab_page = tab_view.append(webview);
-+ tab_page.set_live_thumbnail(true);
-
- webview.bind_property(
- "favicon",
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/tangram/-/commit/4d0f894e7fb914a728c45758452b5a8553c25b1c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/tangram/-/commit/4d0f894e7fb914a728c45758452b5a8553c25b1c
You're receiving this email because of your account on gitlab.archlinux.org.