~ruther/guix-local

eceecd8ab40083701aeb6bb905841728a720699b — Ricardo Wurmus 4 years ago 92deae6
gnu: transmission-remote-gtk: Update to 1.4.2.

* gnu/packages/bittorrent.scm (transmission-remote-gtk): Update to 1.4.2.
[source]: Remove patch.
* gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
3 files changed, 3 insertions(+), 66 deletions(-)

M gnu/local.mk
M gnu/packages/bittorrent.scm
D gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch
M gnu/local.mk => gnu/local.mk +0 -1
@@ 1806,7 1806,6 @@ dist_patch_DATA =						\
  %D%/packages/patches/tlf-support-hamlib-4.2+.patch		\
  %D%/packages/patches/transcode-ffmpeg.patch	\
  %D%/packages/patches/transmission-honor-localedir.patch	\
  %D%/packages/patches/transmission-remote-gtk-fix-appstream.patch	\
  %D%/packages/patches/ttf2eot-cstddef.patch			\
  %D%/packages/patches/tup-unbundle-dependencies.patch		\
  %D%/packages/patches/tuxpaint-stamps-path.patch		\

M gnu/packages/bittorrent.scm => gnu/packages/bittorrent.scm +3 -4
@@ 148,17 148,16 @@ DHT, µTP, PEX and Magnet Links.")
(define-public transmission-remote-gtk
  (package
    (name "transmission-remote-gtk")
    (version "1.4.1")
    (version "1.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://github.com/transmission-remote-gtk/"
                           "transmission-remote-gtk/releases/download/"
                           version "/transmission-remote-gtk-" version
                           ".tar.xz"))
       (patches (search-patches "transmission-remote-gtk-fix-appstream.patch"))
                           ".tar.gz"))
       (sha256
        (base32 "1aqjl5rgamgcgqvcldd1gzyfh2xci0m7070924d6vz2qln0q75sr"))))
        (base32 "0qz9wi70qc6vgnaymivc3xz6y86c9hglk6wjv3snnqxpxmp9saay"))))
    (build-system gnu-build-system)
    (native-inputs
     `(("gettext" ,gnu-gettext)

D gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch => gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch +0 -61
@@ 1,61 0,0 @@
Fix a bug related to AppStream:

https://github.com/transmission-remote-gtk/transmission-remote-gtk/issues/95

Patch adapted from upstream source repository:

https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/89259ff90c703c7fe6768b5317803b9aa5b5ab8c

From 89259ff90c703c7fe6768b5317803b9aa5b5ab8c Mon Sep 17 00:00:00 2001
From: Alan <alan-github@eth0.org.uk>
Date: Tue, 17 Nov 2020 01:26:22 +0000
Subject: [PATCH] fix screenshot and add OARS rating so appdata validates

---
 README.md                                           | 5 ++---
 data/io.github.TransmissionRemoteGtk.appdata.xml.in | 5 +++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 4306cc7..d38314b 100644
--- 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>