summaryrefslogtreecommitdiff
path: root/app-office/gtg/files/0.5-Revert-meson-plugin-translation-apply-thing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/gtg/files/0.5-Revert-meson-plugin-translation-apply-thing.patch')
-rw-r--r--app-office/gtg/files/0.5-Revert-meson-plugin-translation-apply-thing.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/app-office/gtg/files/0.5-Revert-meson-plugin-translation-apply-thing.patch b/app-office/gtg/files/0.5-Revert-meson-plugin-translation-apply-thing.patch
deleted file mode 100644
index 915e40cadfdc..000000000000
--- a/app-office/gtg/files/0.5-Revert-meson-plugin-translation-apply-thing.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 1809d10663ae3d8f69c04138b66f9b4e66ee14f6 Mon Sep 17 00:00:00 2001
-From: Neui <neuisen@googlemail.com>
-Date: Mon, 15 Nov 2021 01:53:40 +0100
-Subject: [PATCH] Revert meson plugin translation apply thing
-
-Since meson 0.60, the `build_always_stale` option was removed:
-https://github.com/mesonbuild/meson/commit/6b1a80024c79876dc3b75f2b525be24ca8fe671a
-
-However, meson doesn't make such files depend on the translation .po
-files, which is a known bug:
-https://github.com/mesonbuild/meson/issues/2621
-
-So with that option taken away, I tried passing a list to the input
-which includes all .po files, since I saw it only uses the first element
-for the translations, but that fails when trying to generate po files.
-
-Since it seems you can't dynamically add dependencies after the fact,
-this seems like a dead end, so I am reverting this for now to make it
-compile on meson 0.60.
----
- GTG/plugins/meson.build | 4 +---
- docs/contributors/translating.md | 3 +++
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/GTG/plugins/meson.build b/GTG/plugins/meson.build
-index eb20f0b85..556885280 100644
---- a/GTG/plugins/meson.build
-+++ b/GTG/plugins/meson.build
-@@ -24,9 +24,7 @@ foreach plugin : gtg_plugins
- install_dir: plugin_install_dir,
- type: 'desktop',
- args: ['--keyword=name', '--keyword=short-description', '--keyword=description'],
-- build_by_default: true,
-- build_always_stale: true
-- # build always because otherwise new translations won't be applied
-+ build_by_default: true
- )
- subdir(plugin.underscorify())
- endforeach
-diff --git a/docs/contributors/translating.md b/docs/contributors/translating.md
-index 0af3e5f19..184f98843 100644
---- a/docs/contributors/translating.md
-+++ b/docs/contributors/translating.md
-@@ -75,5 +75,8 @@ Make sure to this AFTER COMMITING YOUR CHANGES!
- * During launching, it might complain about certain files not being found in [`po/POTFILES.in`][POTFILES.IN].
- It is safe to remove the lines from that file and re-run until it works.
- It would be useful to comment about that if you're submitting your translation, just in case.
-+* Plugin related strings don't update after updating the translation.
-+ The cause is unknown, but you can delete the plugin files to re-generate
-+ them using the new translations: `rm -f .local_build/GTG/plugins/*.gtg-plugin`
-
- [POTFILES.IN]: ../../po/POTFILES.in