From unknown Mon Jun 23 11:25:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#72302 <72302@debbugs.gnu.org> To: bug#72302 <72302@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add drm-info. Reply-To: bug#72302 <72302@debbugs.gnu.org> Date: Mon, 23 Jun 2025 18:25:01 +0000 retitle 72302 [PATCH] gnu: Add drm-info. reassign 72302 guix-patches submitter 72302 Wilko Meyer severity 72302 normal tag 72302 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 19:10:56 2024 Received: (at submit) by debbugs.gnu.org; 25 Jul 2024 23:10:56 +0000 Received: from localhost ([127.0.0.1]:38003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX7br-0005Wu-Ld for submit@debbugs.gnu.org; Thu, 25 Jul 2024 19:10:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:60328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX7bp-0005Wm-1f for submit@debbugs.gnu.org; Thu, 25 Jul 2024 19:10:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sX7bg-0003p8-JP for guix-patches@gnu.org; Thu, 25 Jul 2024 19:10:44 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sX7be-0007ZN-RT for guix-patches@gnu.org; Thu, 25 Jul 2024 19:10:44 -0400 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1721949039; bh=eA4RVccRqr+VpdXRvtcVdLYS5Bq1tc2FgXlnFAMZBYg=; h=From:To:Cc:Subject:Date; b=XH+658Y3VhKPbDlScRTKYlIYiFJokwl0Bn3+0+8UllVNR0edk+weJDgrKahTbx4W+ gAaB10bvcXez7mhkJilPYv0xSfyQJS4IQLSHPX0ZaXg4OCDg7OwyIaxqOAMkklZR8F ao9B2YQB3UAdDwYGyXeDrgAkSwqOhK6Y9RVRM4eg= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add drm-info. Date: Fri, 26 Jul 2024 01:06:05 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=95.216.196.112; envelope-from=w@wmeyer.eu; helo=mail.wmeyer.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Wilko Meyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/freedesktop.scm (drm-info): New variable. Change-Id: I02a0bdcbb49644de9884038cd36bf6d8482f84ae --- Hi Guix, Needed drm_info today while debugging a /dev/dri/card* related issue. As the tool isn't yet available in guix, here's a patch adding it. FTR: There's a comment in gnu/packages/hardware.scm on l261 referring to it with a comment saying: ;; Not packaged in Guix (TODO). which could be removed after applying this patch. I would've done it myself and included the removal in this patch, but wasn't too sure on how to handle the commit messages right for such a case. Cheers! gnu/packages/freedesktop.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 222ea0fb0b..05b016f802 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2022 Samuel Culpepper ;;; Copyright © 2024 aurtzy ;;; Copyright © 2024 Dariqq +;;; Copyright © 2024 Wilko Meyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -2475,6 +2476,31 @@ (define-public desktop-file-utils @end table") (license license:gpl2+))) +(define-public drm-info + (package + (name "drm-info") + (version "2.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/emersion/drm_info.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fc1rd3c16ddzbdpcj473ykszipzblj98lk376slk63v7mqvc1qm")))) + (build-system meson-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list libdrm json-c)) + (home-page "https://gitlab.freedesktop.org/emersion/drm_info") + (synopsis "Dump DRM device info") + (description "Displaying and dumping information on Direct +Rendering Manager devices.") + (license license:expat))) + (define-public xdg-user-dirs (package (name "xdg-user-dirs") base-commit: 07293655b77619b61bd25abe692d0218c3d8142b -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 02:45:56 2024 Received: (at 72302-done) by debbugs.gnu.org; 30 Jul 2024 06:45:56 +0000 Received: from localhost ([127.0.0.1]:46811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYgcN-0003oX-M5 for submit@debbugs.gnu.org; Tue, 30 Jul 2024 02:45:56 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81]:60388 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYgcL-0003nP-LR for 72302-done@debbugs.gnu.org; Tue, 30 Jul 2024 02:45:55 -0400 Received: from m (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowAAXqxkGjKhmC+ELAg--.35636S2; Tue, 30 Jul 2024 14:45:29 +0800 (CST) From: Zheng Junjie To: Wilko Meyer Subject: Re: [bug#72302] [PATCH] gnu: Add drm-info. In-Reply-To: (Wilko Meyer's message of "Fri, 26 Jul 2024 01:06:05 +0200") References: Date: Tue, 30 Jul 2024 14:45:24 +0800 Message-ID: <87cymvz8cb.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: rQCowAAXqxkGjKhmC+ELAg--.35636S2 X-Coremail-Antispam: 1UD129KBjvJXoW7tFykAFW5JF1rGw4DAw45GFg_yoW8KF1xpr WrC3WYka48Gr4fKwsxWF42kF4Sq34fGF15Cwn7Xw4xKr45XFyrtrW2kFW5Cr17Zr17Ca17 u3WrXryDWFWUAFJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvKb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVW8Jr0_Cr1UM2vj62AExVA0xI801c8C04v26x02cVCv0xWle2I2 62IYc4CY6c8Ij28IcVAaY2xG8wASzI0EjI02j7AqF2xKxwAqx4xG64xvF2IEw4CE5I8CrV C2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE 7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbV WUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF 67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42 IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF 0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxh VjvjDU0xZFpf9x07jt4SwUUUUU= X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72302-done Cc: 72302-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Wilko Meyer writes: > * gnu/packages/freedesktop.scm (drm-info): New variable. > > Change-Id: I02a0bdcbb49644de9884038cd36bf6d8482f84ae > --- > Hi Guix, > > Needed drm_info today while debugging a /dev/dri/card* related > issue. As the tool isn't yet available in guix, here's a patch adding > it. > > FTR: There's a comment in gnu/packages/hardware.scm on l261 referring > to it with a comment saying: > > ;; Not packaged in Guix (TODO). > > which could be removed after applying this patch. I would've done it > myself and included the removal in this patch, but wasn't too sure on > how to handle the commit messages right for such a case. > > Cheers! > > gnu/packages/freedesktop.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm > index 222ea0fb0b..05b016f802 100644 > --- a/gnu/packages/freedesktop.scm > +++ b/gnu/packages/freedesktop.scm > @@ -38,6 +38,7 @@ > ;;; Copyright =C2=A9 2022 Samuel Culpepper > ;;; Copyright =C2=A9 2024 aurtzy > ;;; Copyright =C2=A9 2024 Dariqq > +;;; Copyright =C2=A9 2024 Wilko Meyer > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -2475,6 +2476,31 @@ (define-public desktop-file-utils > @end table") > (license license:gpl2+))) >=20=20 > +(define-public drm-info > + (package > + (name "drm-info") > + (version "2.6.0") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.freedesktop.org/emersion/drm_info.git") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0fc1rd3c16ddzbdpcj473ykszipzblj98lk376slk63v7mqvc1qm")))) > + (build-system meson-build-system) > + (native-inputs > + (list pkg-config)) > + (inputs > + (list libdrm json-c)) > + (home-page "https://gitlab.freedesktop.org/emersion/drm_info") > + (synopsis "Dump DRM device info") > + (description "Displaying and dumping information on Direct > +Rendering Manager devices.") > + (license license:expat))) > + > (define-public xdg-user-dirs > (package > (name "xdg-user-dirs") > > base-commit: 07293655b77619b61bd25abe692d0218c3d8142b Enable libpci and man-pages option, and pushed. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmaojAQACgkQO1qpk+Gi 3/Ai6BAArKtbMm0QQuNmUA40fRpNIOUJk6lgiZIfJLjE1hOG4idWIYPJ+ia4picS Pldvjmub7dBQNp6x4IPYCK+dExdD0rofvDGYBMSQzhbHBYB5JXsufY4h/ibvD5qy 9LVa6xl3vvoBiwI9iHCzLSYVB+7gU7IlH44QKq/9jAcxXCk8bfHR9XFW0IFtsJUu ah3KYJAe1fBNo96JO9dNUG8/0R7JseMsdHXWLCikbh6Tp5KeKpHTPfTEYToUlDGL INHbTkHt6oqKSG5V7ENW7hnEukRg72Xe/nJjuenCclcWJLKvCBlUc7X+ix46gsHh +vg0pVk/BUwX/I1eyTyOh3RaW+S4XIqphn/I5IyASLUeGt0xongEDKX5NS7WkBUH BxPq2Fm7h/51bYk27laOY8+GV/kBnRKrIIt/6FoNY58XKm2B/tvkmZyyJ2NuUV0q aQq0snMsIziVDsYKfjF3pA0ZxzrMpMeLXUC2339xN4dEDpRLsIbMajQNwkD93ZVa UknVXdMvjW9QFUDx5gbM8f0HyaRTiC7SQLopolh8HlN1qP0i3U9uelmTs3Onuok0 z6yqL2bmmElrB6Hzu0+m6zsxOyJbhryQPIod4KeBoe56zl80YuLfc7LYO9pF6Ar4 bCNpBjjdnymEgD6FfW2RlOpig2xp79AXr02P98ki413/1XofRY8= =G/zA -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 11:25:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Aug 2024 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator