Blob Blame History Raw
From d766e4f63a34ef1cbd29e7d20c5ceb814361fb23 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@src.gnome.org>
Date: Mon, 13 Sep 2021 00:17:00 +0200
Subject: [PATCH] metainfo: Remove XML namespaces

They breaks merging translations due to gettext bug
https://savannah.gnu.org/bugs/?54472 .

https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/356
---
 data/org.gnome.Terminal.Nautilus.metainfo.xml.in | 6 +-----
 data/org.gnome.Terminal.metainfo.xml.in          | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/data/org.gnome.Terminal.Nautilus.metainfo.xml.in b/data/org.gnome.Terminal.Nautilus.metainfo.xml.in
index bce73491..a28b79f8 100644
--- a/data/org.gnome.Terminal.Nautilus.metainfo.xml.in
+++ b/data/org.gnome.Terminal.Nautilus.metainfo.xml.in
@@ -27,11 +27,7 @@
   of the GNU Free Documentation License along with this program.
   If not, see <https://www.gnu.org/licenses/>.
 -->
-<component
-  xmlns="https://specifications.freedesktop.org/metainfo/1.0"
-  xmlns:xi="http://www.w3.org/2001/XInclude"
-  xmlns:its="http://www.w3.org/2005/11/its"
-  type="addon">
+<component type="addon">
   <id>org.gnome.Terminal.Nautilus</id>
   <extends>org.gnome.Nautilus.desktop</extends>
   <metadata_license>GPL-3.0+ or GFDL-1.3-only</metadata_license>
diff --git a/data/org.gnome.Terminal.metainfo.xml.in b/data/org.gnome.Terminal.metainfo.xml.in
index 6a4e7de5..da5e7d2b 100644
--- a/data/org.gnome.Terminal.metainfo.xml.in
+++ b/data/org.gnome.Terminal.metainfo.xml.in
@@ -27,11 +27,7 @@
   of the GNU Free Documentation License along with this program.
   If not, see <https://www.gnu.org/licenses/>.
 -->
-<component
-  xmlns="https://specifications.freedesktop.org/metainfo/1.0"
-  xmlns:xi="http://www.w3.org/2001/XInclude"
-  xmlns:its="http://www.w3.org/2005/11/its"
-  type="desktop-application">
+<component type="desktop-application">
   <id>org.gnome.Terminal.desktop</id>
   <metadata_license>GPL-3.0+ or GFDL-1.3-only</metadata_license>
   <project_license>GPL-3.0+</project_license>
-- 
2.37.2