Message ID | DM5PR04MB37727B6BF7C68A4B17C8BF5099E29@DM5PR04MB3772.namprd04.prod.outlook.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6833E27BBEA; Sun, 3 Apr 2022 04:03:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EBC1D27BBE9 for <patchwork@mira.cbaines.net>; Sun, 3 Apr 2022 04:03:14 +0100 (BST) Received: from localhost ([::1]:35756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1naqWI-0005Zk-30 for patchwork@mira.cbaines.net; Sat, 02 Apr 2022 23:03:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1naqW7-0005ZP-15 for guix-patches@gnu.org; Sat, 02 Apr 2022 23:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1naqW5-0007RR-RB for guix-patches@gnu.org; Sat, 02 Apr 2022 23:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1naqW5-0000Ox-N2 for guix-patches@gnu.org; Sat, 02 Apr 2022 23:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54311] [PATCH v2] gnu: tint2: Update to 17.0.2. Resent-From: "Wamm K. D" <jaft.r@outlook.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Apr 2022 03:03:01 +0000 Resent-Message-ID: <handler.54311.B54311.16489549721529@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54311 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 54311@debbugs.gnu.org Cc: "Wamm K. D" <jaft.r@outlook.com>, maximedevos@telenet.be Received: via spool by 54311-submit@debbugs.gnu.org id=B54311.16489549721529 (code B ref 54311); Sun, 03 Apr 2022 03:03:01 +0000 Received: (at 54311) by debbugs.gnu.org; 3 Apr 2022 03:02:52 +0000 Received: from localhost ([127.0.0.1]:47284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1naqVw-0000Oa-7t for submit@debbugs.gnu.org; Sat, 02 Apr 2022 23:02:52 -0400 Received: from mail-bn8nam11olkn2105.outbound.protection.outlook.com ([40.92.20.105]:20768 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaft.r@outlook.com>) id 1naqVu-0000OM-99 for 54311@debbugs.gnu.org; Sat, 02 Apr 2022 23:02:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E2jsXXlpXefNncSWvTgPBU5TjQcBg38YqRyBx6Siy0lAcJfByAnlvzOO+CpOGbpuV4nmxIA1YsT26qF6cztfSzOg4Oao+88XsH63pYNxYoagvWnverLXvhj03WnoOgnlyUy/PpC/LmlXKEplxZU1LVkFD2Ig5EpC+ybjNtcsWzCc9EaDohXRJ6+9bZz266NRLljcCRJjUl0zujZvAolaGa+pWZtuLn7AhModOe7dMHbO578jnKS9Q/D65mQN7TJLd/+Yoee5EeyhIzI+ATzPIvy+YcgSZFgQPStACnOOd0LUwr2vS+vfbSgRqk17qCTnVQ0LXU4n+RmB4RvV3vd61A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jkdYVc9K8J+cXOqfNJBaIvwCJXEN9gDkoicb4DYGZ/8=; b=ZbwrOqJ0SJxLAJjhFmdK0unGv63CPyX8VLXN8VRw3OXQXWTYP5LwUWlraxbgfqLSjOvJEcnbwcT+ZUYulVCVfRoSGOB7ICF9THD1d85Zo+8uNfVJ0KhkgsRQBGZCbFSjWsz6lIZkz47M67/DUgrYqQ9xUDKTiSRN1VsV5hQQjMyMDGxiwIN2HB526BpPT5HYLGYDBRAAbxH1rqBoZe0yx5IdnXmvBVx25YjSvPXexke0rrkYtSV0161xgsRvHoKsT0ChoaBUmmN+PcF2wNNGATQpGHM2RsbremidtwUKQqgFHDw2j8f+75+NTATrLd98yOfFgYH6znsMvQdnkZMOlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jkdYVc9K8J+cXOqfNJBaIvwCJXEN9gDkoicb4DYGZ/8=; b=sUHzrhlxIoQv1FmHM3domIfwNcqNRxr+VutE0cG7BpHRT1qi+g+qXtmSgEpjHSOyf5uzpZqZuIRhkeGGVGsIlagqtEDxTM/PD/Cy/5w5AnFnXR/nRtw0TMwR3pEQnMNc9JkFx74OISQB2ozVk6lZjeqkbXkl+B6eZoTNDlhWYeQVIUrWYosYYZADqEO9TG0TBs5yJNKNXN1bTS7nbEZZ0xuiVfJ/iRvS+PfYMRy2b5A5dNuow7/vYN9otbG7ODCdr793po9jAIo9qUpcciJxT44hzTW9sKOsiA+FxQIx0uWICdqanphqPexDRfw7M9LwFm1doCjO63Y8Sa/TLEW97g== Received: from DM5PR04MB3772.namprd04.prod.outlook.com (2603:10b6:3:fb::14) by SN6PR04MB4973.namprd04.prod.outlook.com (2603:10b6:805:91::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.23; Sun, 3 Apr 2022 03:02:42 +0000 Received: from DM5PR04MB3772.namprd04.prod.outlook.com ([fe80::d92b:d1f:992:5b0c]) by DM5PR04MB3772.namprd04.prod.outlook.com ([fe80::d92b:d1f:992:5b0c%6]) with mapi id 15.20.5123.030; Sun, 3 Apr 2022 03:02:42 +0000 From: "Wamm K. D" <jaft.r@outlook.com> Date: Sat, 2 Apr 2022 22:01:28 -0500 Message-ID: <DM5PR04MB37727B6BF7C68A4B17C8BF5099E29@DM5PR04MB3772.namprd04.prod.outlook.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <23> References: <23> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [EtLWi6ypLXoLqX2SVvL1WjwUys/Yas/I] X-ClientProxiedBy: CH0PR03CA0370.namprd03.prod.outlook.com (2603:10b6:610:119::11) To DM5PR04MB3772.namprd04.prod.outlook.com (2603:10b6:3:fb::14) X-Microsoft-Original-Message-ID: <20220403030128.325-1-jaft.r@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5838943c-3cdb-4932-d961-08da151e6b44 X-MS-Exchange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5PtApsju2ELW6+9bR63q0jp/HtE8LJ9IonDNQqoUkfQm9TaLEwMWDv4xyoQiQQ/PuGBBi7NeBUIcZnuf7WCOVxJdzdaSHPJs9FsexKbAS537neDhOVC4OpYyN1Ka4LbYBCE04GaEuuEHQ+P9NL1EbZHHjZ+EgjIlSraNkOlMufo/MK6qW/HNLpy3tqtXCdANbiBV2U6m/up9U3odozyjTzs6OWpRQcJB0Sl9m2+xDlpglGYYRuDZjeTxRUTJfWkSJ2Hh0gkqFNPBIz5+Pmm59lGl6NdlJye62M3GG+Uf21WuKBa8I6Mtv3dJjg/Y7Q5YkSvmuIx2oStOH1vei49svDzG7IU6wEEfrNlVxi7hQR5EqJoCJK1/1wXq8bTQG1nWpLgf0aoG3G7zGQeeakEY20UtYxyX6Ne4LCEvL93PWjQzGXVRvMncZ8ggREAQFB1pbEYpMvvmGBvhW3hOIyEwhs22CSe1X2Smyt9Ov6OvJr+REHS0tR9ItYD8/xZNCt6MS0EbHmLbQx0k2oE61Fqi2Y5+UKYz62QBfsZgPRCBap7PZoazoBABZsciS4Zw5/yhYoJgw5EUATcHPFhyetxcZvKiVJEjHNhhxABDDUK2YvIG0Id/pGINg+Qs+/ZEph/OJVBdmywxpLpRUC2qvFrr/vpgnSN21mYKj6Dy1i6FFu223HCwf3QizDSaCyBcS6bgBsBMGWJMxVUc59qGqDGPAW8jz5Xgh/YiAxvmqBDRvOTnfcvmICq79baoHn7YvUfQ1rijAoEOio4D20F86s8lEjxYSrAeWSX+A6T+ZbKWbPKPf95gIv1T0W+GRHqsXhOm3TjLz2DfxPeQ9FU82ovEHfTAZZDP1665usnXBMXRX+OIf/6e5MwN30UR1HPKCVk= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5838943c-3cdb-4932-d961-08da151e6b44 X-MS-Exchange-CrossTenant-AuthSource: DM5PR04MB3772.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2022 03:02:42.3909 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4973 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#54311,v2] gnu: tint2: Update to 17.0.2.
|
|
Commit Message
Jaft
April 3, 2022, 3:01 a.m. UTC
--- Here we go, Maxime; I've switched the ~fetch~ method to =git=. I think you're absolutely right about the =fix-installation-prefix= phase not being necessary as "etc" isn't even in the =CMakeLists.txt= file, anymore; I had no issues building with the phase removed, as well. Removing not–running-tests, however, did result in a "make: *** No rule to make target 'test'. Stop." error, however, so I'm guessing that, while the files in that directory are used for testing, they are not incorporated as part of the build process and there still is no target so I've left that in. Hopefully this addresses everything and thanks a ton for looking over this! gnu/packages/xdisorg.scm | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-)
Comments
Let me know if there's any other changes needed but just a reminder that this should be ready, I think.
Wamm K. D schreef op za 02-04-2022 om 22:01 [-0500]: > --- > Here we go, Maxime; I've switched the ~fetch~ method to =git=. > > I think you're absolutely right about the =fix-installation-prefix= phase not > being necessary as "etc" isn't even in the =CMakeLists.txt= file, anymore; I had > no issues building with the phase removed, as well. > > Removing not–running-tests, however, did result in a "make: *** No rule to make > target 'test'. Stop." error, however, so I'm guessing that, while the files in > that directory are used for testing, they are not incorporated as part of the > build process and there still is no target so I've left that in. There's 'regression.py' which has a 'main' and 'run_unit_tests'. Maybe 'regression.py' can be run in the 'check' phase? > > Hopefully this addresses everything and thanks a ton for looking over this! Looks ok (except for 'regression.py' not being run), but for completeneess you might want to run it in a a pure environment (./pre- inst-env guix shell --pure tint2) and look for problems like missing icons or configuration not working or ‘warning: configuration scheme things / file chooser’ things. Greetings, Maxime.
> On Wednesday, May 11, 2022, 04:51:19 AM CDT, Maxime Devos <maximedevos@telenet.be> wrote: > > > > > > There's 'regression.py' which has a 'main' and 'run_unit_tests'. Maybe > 'regression.py' can be run in the 'check' phase? Fair; would you know how to manually call it in that phase? I'm afraid I don't have any experience outside of the check phase automatically calling the designated tests files.
Jaft schreef op do 19-05-2022 om 04:54 [+0000]: > > > > > > There's 'regression.py' which has a 'main' and 'run_unit_tests'. > > Maybe > > 'regression.py' can be run in the 'check' phase? > > Fair; would you know how to manually call it in that phase? I'm > afraid I don't have any experience outside of the check phase > automatically calling the designated tests files. (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "regression.py"))) ; or maybe (invoke "python3" "regression.py")
> On Thursday, May 19, 2022, 08:14:11 AM CDT, Maxime Devos <maximedevos@telenet.be> wrote: > > > > > > (lambda* (#:key tests? #:allow-other-keys) > (when tests? > (invoke "regression.py"))) ; or maybe (invoke "python3" "regression.py") Awesome; thanks a ton, Maxime. I'll try this out.
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.
Jaft <jaft.r@outlook.com> 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!
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d2caee85ec..a7738aac47 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -54,6 +54,7 @@ ;;; Copyright © 2021 jgart <jgart@dismail.de> ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> +;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1790,27 +1791,20 @@ (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)) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.com/o9000/" name "/")) + (commit version))) (sha256 (base32 - "1kwzwxy4myagybm3rc7dgynfgp75742n348qibn1p2an9ggyivda")))) + "123apmgs6x2zfv1q57dyl4mwqf0vsw5ndh5jsg6p3fvhr66l1aja")))) (build-system cmake-build-system) (arguments - '(#:tests? #f ;no test target - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-installation-prefix - (lambda _ - (substitute* "CMakeLists.txt" - (("/etc") "${CMAKE_INSTALL_PREFIX}/etc")) - #t))))) + '(#:tests? #f)) ;no test target (inputs - (list gtk+-2 + (list gtk+ imlib2 librsvg libxcomposite