summaryrefslogtreecommitdiff
path: root/debian/patches/appdata-screenshot-rating.diff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@debian.org>2021-01-11 18:02:20 -0500
committerGravatar Benjamin Barenblat <bbaren@debian.org>2021-01-11 18:02:20 -0500
commit1f0fd42efc02e97508b165782b1e1b2b7cd85857 (patch)
tree60b8ebe52cc9bc9a6901a5107652840fe371d73e /debian/patches/appdata-screenshot-rating.diff
parentac054722940e4d831db7a581972710949d934f67 (diff)
Replace some patches with upstream’s versions
Replace appdataContentRating.diff (added in commit 8009a0229636e2f38c5ecf5a5ef7cfdf0f4cf9b8) with upstream’s commit 89259ff90c703c7fe6768b5317803b9aa5b5ab8c, which also fixes a dead screenshot link. Replace validateAppdata.diff (added in commit 804a762c835b3eba0d32f9910e0ce06f919fd9c) with upstream’s commit 3c7947f310fb9c943fdd3973f6090926375b6e03.
Diffstat (limited to 'debian/patches/appdata-screenshot-rating.diff')
-rw-r--r--debian/patches/appdata-screenshot-rating.diff47
1 files changed, 47 insertions, 0 deletions
diff --git a/debian/patches/appdata-screenshot-rating.diff b/debian/patches/appdata-screenshot-rating.diff
new file mode 100644
index 0000000..4ec6645
--- /dev/null
+++ b/debian/patches/appdata-screenshot-rating.diff
@@ -0,0 +1,47 @@
+From: Alan <alan-github@eth0.org.uk>
+Subject: fix screenshot and add OARS rating so appdata validates
+Origin: upstream, https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/89259ff90c703c7fe6768b5317803b9aa5b5ab8c
+Forwarded: https://github.com/transmission-remote-gtk/transmission-remote-gtk/pull/111
+Applied-Upstream: https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/89259ff90c703c7fe6768b5317803b9aa5b5ab8c
+
+--- a/README.md
++++ b/README.md
+@@ -6,13 +6,12 @@ the Transmission BitTorrent client, using its HTTP RPC protocol.
+
+ # DEPENDENCIES
+
+-The following packages are required dependencies:
++The following packages are required dependencies (debian/ubuntu).
+
+ ```bash
+-autoconf-archive appstream-glib intltool
++libgtk-3-dev automake autoconf gcc libgeoip-dev gettext autoconf-archive libappstream-dev appstream-util libcurl4-openssl-dev libjson-glib-dev
+ ```
+
+-
+ # BUILDING
+
+ Optionally install `libgeoip` and its headers to see the country
+diff --git a/data/io.github.TransmissionRemoteGtk.appdata.xml.in b/data/io.github.TransmissionRemoteGtk.appdata.xml.in
+index fc35a8f..1476c2a 100644
+--- a/data/io.github.TransmissionRemoteGtk.appdata.xml.in
++++ b/data/io.github.TransmissionRemoteGtk.appdata.xml.in
+@@ -7,6 +7,7 @@
+ <translation type="gettext">transmission-remote-gtk</translation>
+ <name>Transmission Remote</name>
+ <developer_name>Transmission Remote Gtk Team</developer_name>
++ <content_rating type="oars-1.1" />
+ <summary>Remotely manage the Transmission BitTorrent client</summary>
+ <url type="homepage">https://github.com/transmission-remote-gtk/transmission-remote-gtk</url>
+ <url type="bugtracker">https://github.com/transmission-remote-gtk/transmission-remote-gtk/issues</url>
+@@ -23,8 +24,8 @@
+ </ul>
+ </description>
+ <screenshots>
+- <screenshot height="576" width="1024" type="default">
+- <image>http://eth0.org.uk/~alan/transmission-remote-gtk-1.1.1.png</image>
++ <screenshot height="512" width="973" type="default">
++ <image>https://community.linuxmint.com/img/screenshots/transmission-remote-gtk.png</image>
+ </screenshot>
+ </screenshots>
+ <releases>