[Pkg-privacy-commits] [torbrowser-launcher] 02/02: d/patches: Upgrade to the new spec of AppStream metadata

Roger Shimizu rogershimizu at gmail.com
Mon Dec 25 23:55:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

rosh pushed a commit to branch debian/sid
in repository torbrowser-launcher.

commit 31e2260b7afead0b4a44abb3370309d75e8770d9
Author: Roger Shimizu <rosh at debian.org>
Date:   Tue Dec 26 08:51:20 2017 +0900

    d/patches: Upgrade to the new spec of AppStream metadata
    
    New spec:
     https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
    
    And rename to share/metainfo/torbrowser.appdata.xml
---
 .../patches/0006-Update-AppStream-metadata.patch   | 39 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 40 insertions(+)

diff --git a/debian/patches/0006-Update-AppStream-metadata.patch b/debian/patches/0006-Update-AppStream-metadata.patch
new file mode 100644
index 0000000..b95ddc9
--- /dev/null
+++ b/debian/patches/0006-Update-AppStream-metadata.patch
@@ -0,0 +1,39 @@
+From: Roger Shimizu <rosh at debian.org>
+Date: Sun, 24 Dec 2017 23:18:09 +0900
+Subject: Update AppStream metadata
+Forwarded: https://github.com/micahflee/torbrowser-launcher/pull/302
+
+Upgrade to the new spec of AppStream metadata:
+ - https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
+
+And rename to share/metainfo/torbrowser.appdata.xml
+---
+ share/{appdata => metainfo}/torbrowser.appdata.xml | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+ rename share/{appdata => metainfo}/torbrowser.appdata.xml (93%)
+
+diff --git a/share/appdata/torbrowser.appdata.xml b/share/metainfo/torbrowser.appdata.xml
+similarity index 93%
+rename from share/appdata/torbrowser.appdata.xml
+rename to share/metainfo/torbrowser.appdata.xml
+index 5a5a0bd..5577868 100644
+--- a/share/appdata/torbrowser.appdata.xml
++++ b/share/metainfo/torbrowser.appdata.xml
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!-- Copyright 2014 Micah Lee <micah at micahflee.com> -->
+-<application>
+- <id type="desktop">torbrowser.desktop</id>
++<component>
++ <id>org.torproject.torbrowser.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>MIT</project_license>
+  <name>Tor Browser Launcher</name>
+@@ -26,5 +26,5 @@
+   </screenshot>
+  </screenshots>
+  <url type="homepage">https://github.com/micahflee/torbrowser-launcher</url>
+- <updatecontact>micah at micahflee.com</updatecontact>
+-</application>
++ <update_contact>micah at micahflee.com</update_contact>
++</component>
diff --git a/debian/patches/series b/debian/patches/series
index d26ae6d..76719da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-AppArmor-allow-the-tor-process-to-modify-its-data-di.patch
 0004-AppArmor-add-rules-needed-with-new-mediation-support.patch
 0005-AppArmor-grant-access-to-mostly-innocuous-stuff-Fire.patch
+0006-Update-AppStream-metadata.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git



More information about the Pkg-privacy-commits mailing list