Subject: bug#54311: closed (Re: bug#54311: [PATCH] gnu: tint2: Update to 17.0.2.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 04 Aug 2022 02:18:02 +0000

Your bug report

#54311: [PATCH] gnu: tint2: Update to 17.0.2.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
54311: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54311
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#54311: [PATCH] gnu: tint2: Update to 17.0.2.
From: 宋文武 <[email-masked]>
To: Jaft <[email-masked]>
Cc: Maxime Devos <[email-masked]>, "[email-masked]" <[email-masked]>
Date: Thu, 04 Aug 2022 10:17:41 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Jaft <[email-masked]> writes:

> Alright; finally got a chance to try this.
>
> Running the file ends up failing due to line 384; it tries to call a
> =top= command (~top -bn5 | grep 'Cpu(s)' | grep -o '[0-9\.]* id' | cut
> -d ' ' -f 1~) but it's not working since "Cpu(s)" isn't anywhere in
> the ~top -bn5~ output. The =regression.py= file was written for Python
> 2 so maybe the command was written for an older version of =top=? But
> I dunno.

Thanks for investigating, pushed now!

Subject: [PATCH] gnu: tint2: Update to 17.0.2.
From: "Wamm K. D" <[email-masked]>
To: [email-masked]
Cc: "Wamm K. D" <[email-masked]>
Date: Wed, 9 Mar 2022 13:34:08 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

---
Noticed that the version currently is ~4 years old from the latest…
 gnu/packages/xdisorg.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 6dc40f0910..f5d981413c 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2021 jgart <[email-masked]>
 ;;; Copyright © 2022 John Kehayias <[email-masked]>
 ;;; Copyright © 2022 Jai Vetrivelan <[email-masked]>
+;;; Copyright © 2022 Wamm K. D. <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1791,15 +1792,15 @@ (define-public rofi-calc
 (define-public tint2
   (package
     (name "tint2")
-    (version "0.14.6")
+    (version "17.0.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://gitlab.com/o9000/" name
-                                  "/repository/archive.tar.gz?ref=" version))
+              (uri (string-append "https://gitlab.com/o9000/" name "/-/archive/"
+                                  version "/" name "-" version ".tar.gz"))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1kwzwxy4myagybm3rc7dgynfgp75742n348qibn1p2an9ggyivda"))))
+                "0k72kjr4rmprbrhs5ik1g7vwdi2lbzvkf5zw28gz6ckd2xz18zzq"))))
     (build-system cmake-build-system)
     (arguments
      '(#:tests? #f                      ;no test target
@@ -1811,7 +1812,7 @@ (define-public tint2
                (("/etc") "${CMAKE_INSTALL_PREFIX}/etc"))
              #t)))))
     (inputs
-     (list gtk+-2
+     (list gtk+
            imlib2
            librsvg
            libxcomposite
-- 
2.34.0