GNU bug report logs - #26356
[PATCH] gnu: Add intel-gpu-tools.

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 4 Apr 2017 07:17:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26356 in the body.
You can then email your comments to 26356 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26356; Package guix-patches. (Tue, 04 Apr 2017 07:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 04 Apr 2017 07:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: guix-patches <at> gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH] gnu: Add intel-gpu-tools.
Date: Tue,  4 Apr 2017 09:15:11 +0200
* gnu/packages/admin.scm (intel-gpu-tools): New variable.
---
 gnu/packages/admin.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 52 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 41b0da4c4..696178a30 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2015 Eric Dvorsak <eric <at> dvorsak.fr>
 ;;; Copyright © 2016 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix <at> thebird.nl>
-;;; Copyright © 2016 Ricardo Wurmus <rekado <at> elephly.net>
+;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2016 Peter Feigl <peter.feigl <at> nexoid.at>
 ;;; Copyright © 2016 John J. Foerch <jjfoerch <at> earthlink.net>
@@ -67,10 +67,12 @@
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages pciutils)
+  #:use-module (gnu packages libunwind)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages libftdi)
   #:use-module (gnu packages image)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages python)
   #:use-module (gnu packages man)
   #:use-module (gnu packages autotools)
@@ -1997,3 +1999,52 @@ with all the commands and parameters identified for your viewing pleasure.
 With sedsed you can master any sed script.  No more secrets, no more hidden
 buffers.")
     (license license:expat)))
+
+(define-public intel-gpu-tools
+  (package
+    (name "intel-gpu-tools")
+    (version "1.18")
+    (source
+     (origin (method git-fetch)
+             (uri (git-reference
+                   (url "https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git")
+                   (commit (string-append name "-" version))))
+             (sha256
+              (base32
+               "12kigx2k9wpsnzdjrdhwbp1vgiiv2ndrxbs0ll52y51hm0yq0iln"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; many of the tests try to load kernel modules
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autogen
+           (lambda _
+             ;; Don't run configure in this phase
+             (setenv "NOCONFIGURE" "1")
+             (zero? (system* "sh" "autogen.sh")))))))
+    (inputs
+     `(("util-macros" ,util-macros)
+       ("libdrm" ,libdrm)
+       ("libpciaccess" ,libpciaccess)
+       ("kmod" ,kmod)
+       ("procps" ,procps)
+       ("cairo" ,cairo)
+       ("libunwind" ,libunwind)
+       ("libxrandr" ,libxrandr)
+       ("glib" ,glib)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/")
+    (synopsis "Tools for development and testing of the Intel DRM driver")
+    (description "Intel GPU Tools is a collection of tools for development and
+testing of the Intel DRM driver.  There are many macro-level test suites that
+get used against the driver, including xtest, rendercheck, piglit, and
+oglconform, but failures from those can be difficult to track down to kernel
+changes, and many require complicated build procedures or specific testing
+environments to get useful results.  Therefore, Intel GPU Tools includes
+low-level tools and tests specifically for development and testing of the
+Intel DRM Driver.")
+    (license license:expat)))
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#26356; Package guix-patches. (Tue, 04 Apr 2017 15:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 26356 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>, 26356 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: Re: bug#26356: [PATCH] gnu: Add intel-gpu-tools.
Date: Tue, 04 Apr 2017 17:28:30 +0200
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> * gnu/packages/admin.scm (intel-gpu-tools): New variable.
> ---
>  gnu/packages/admin.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 52 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 41b0da4c4..696178a30 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -8,7 +8,7 @@
>  ;;; Copyright © 2015 Eric Dvorsak <eric <at> dvorsak.fr>
>  ;;; Copyright © 2016 Leo Famulari <leo <at> famulari.name>
>  ;;; Copyright © 2016 Pjotr Prins <pjotr.guix <at> thebird.nl>
> -;;; Copyright © 2016 Ricardo Wurmus <rekado <at> elephly.net>
> +;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado <at> elephly.net>
>  ;;; Copyright © 2016, 2017 Efraim Flashner <efraim <at> flashner.co.il>
>  ;;; Copyright © 2016 Peter Feigl <peter.feigl <at> nexoid.at>
>  ;;; Copyright © 2016 John J. Foerch <jjfoerch <at> earthlink.net>
> @@ -67,10 +67,12 @@
>    #:use-module (gnu packages texinfo)
>    #:use-module (gnu packages groff)
>    #:use-module (gnu packages pciutils)
> +  #:use-module (gnu packages libunwind)
>    #:use-module (gnu packages libusb)
>    #:use-module (gnu packages libftdi)
>    #:use-module (gnu packages image)
>    #:use-module (gnu packages xorg)
> +  #:use-module (gnu packages xdisorg)
>    #:use-module (gnu packages python)
>    #:use-module (gnu packages man)
>    #:use-module (gnu packages autotools)
> @@ -1997,3 +1999,52 @@ with all the commands and parameters identified for your viewing pleasure.
>  With sedsed you can master any sed script.  No more secrets, no more hidden
>  buffers.")
>      (license license:expat)))
> +
> +(define-public intel-gpu-tools
> +  (package
> +    (name "intel-gpu-tools")
> +    (version "1.18")
> +    (source
> +     (origin (method git-fetch)
> +             (uri (git-reference
> +                   (url "https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git")
> +                   (commit (string-append name "-" version))))

I managed to get a tarball by constructing this URL:

https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/snapshot/intel-gpu-tools-1.18.tar.gz

The rest LGTM!

> +             (sha256
> +              (base32
> +               "12kigx2k9wpsnzdjrdhwbp1vgiiv2ndrxbs0ll52y51hm0yq0iln"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f ; many of the tests try to load kernel modules
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'autogen
> +           (lambda _
> +             ;; Don't run configure in this phase
> +             (setenv "NOCONFIGURE" "1")
> +             (zero? (system* "sh" "autogen.sh")))))))
> +    (inputs
> +     `(("util-macros" ,util-macros)
> +       ("libdrm" ,libdrm)
> +       ("libpciaccess" ,libpciaccess)
> +       ("kmod" ,kmod)
> +       ("procps" ,procps)
> +       ("cairo" ,cairo)
> +       ("libunwind" ,libunwind)
> +       ("libxrandr" ,libxrandr)
> +       ("glib" ,glib)))
> +    (native-inputs
> +     `(("autoconf" ,autoconf)
> +       ("automake" ,automake)
> +       ("libtool" ,libtool)
> +       ("pkg-config" ,pkg-config)))
> +    (home-page "https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/")
> +    (synopsis "Tools for development and testing of the Intel DRM driver")
> +    (description "Intel GPU Tools is a collection of tools for development and
> +testing of the Intel DRM driver.  There are many macro-level test suites that
> +get used against the driver, including xtest, rendercheck, piglit, and
> +oglconform, but failures from those can be difficult to track down to kernel
> +changes, and many require complicated build procedures or specific testing
> +environments to get useful results.  Therefore, Intel GPU Tools includes
> +low-level tools and tests specifically for development and testing of the
> +Intel DRM Driver.")
> +    (license license:expat)))
> -- 
> 2.12.2
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26356; Package guix-patches. (Tue, 04 Apr 2017 20:43:01 GMT) Full text and rfc822 format available.

Message #11 received at 26356 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 26356 <at> debbugs.gnu.org
Subject: Re: bug#26356: [PATCH] gnu: Add intel-gpu-tools.
Date: Wed, 05 Apr 2017 22:41:57 +0200
Marius Bakke <mbakke <at> fastmail.com> writes:

>> +(define-public intel-gpu-tools
>> +  (package
>> +    (name "intel-gpu-tools")
>> +    (version "1.18")
>> +    (source
>> +     (origin (method git-fetch)
>> +             (uri (git-reference
>> +                   (url "https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git")
>> +                   (commit (string-append name "-" version))))
>
> I managed to get a tarball by constructing this URL:
>
> https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/snapshot/intel-gpu-tools-1.18.tar.gz

Aren’t these tarballs generated on demand and may thus have different
embedded timestamps?

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to guix-patches <at> gnu.org:
bug#26356; Package guix-patches. (Tue, 04 Apr 2017 20:47:01 GMT) Full text and rfc822 format available.

Message #14 received at 26356 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 26356 <at> debbugs.gnu.org
Subject: Re: bug#26356: [PATCH] gnu: Add intel-gpu-tools.
Date: Tue, 04 Apr 2017 22:45:57 +0200
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Marius Bakke <mbakke <at> fastmail.com> writes:
>
>>> +(define-public intel-gpu-tools
>>> +  (package
>>> +    (name "intel-gpu-tools")
>>> +    (version "1.18")
>>> +    (source
>>> +     (origin (method git-fetch)
>>> +             (uri (git-reference
>>> +                   (url "https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git")
>>> +                   (commit (string-append name "-" version))))
>>
>> I managed to get a tarball by constructing this URL:
>>
>> https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/snapshot/intel-gpu-tools-1.18.tar.gz
>
> Aren’t these tarballs generated on demand and may thus have different
> embedded timestamps?

I've come across very few servers that do this (actually only the Google
Android repositories). At least, the tarball downloaded earlier and one
from just now have the same SHA256:

03ff3cc2d8009e821a07c83a1ed44fdcb0d27e1a958d15ec87e6f0e2c194ed70  intel-gpu-tools-1.18(1).tar.gz
03ff3cc2d8009e821a07c83a1ed44fdcb0d27e1a958d15ec87e6f0e2c194ed70  intel-gpu-tools-1.18.tar.gz
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26356; Package guix-patches. (Tue, 04 Apr 2017 21:04:02 GMT) Full text and rfc822 format available.

Message #17 received at 26356 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 26356 <at> debbugs.gnu.org
Subject: Re: bug#26356: [PATCH] gnu: Add intel-gpu-tools.
Date: Tue, 04 Apr 2017 23:03:29 +0200
Marius Bakke <mbakke <at> fastmail.com> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Marius Bakke <mbakke <at> fastmail.com> writes:
>>
>>>> +(define-public intel-gpu-tools
>>>> +  (package
>>>> +    (name "intel-gpu-tools")
>>>> +    (version "1.18")
>>>> +    (source
>>>> +     (origin (method git-fetch)
>>>> +             (uri (git-reference
>>>> +                   (url "https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git")
>>>> +                   (commit (string-append name "-" version))))
>>>
>>> I managed to get a tarball by constructing this URL:
>>>
>>> https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/snapshot/intel-gpu-tools-1.18.tar.gz
>>
>> Aren’t these tarballs generated on demand and may thus have different
>> embedded timestamps?
>
> I've come across very few servers that do this (actually only the Google
> Android repositories). At least, the tarball downloaded earlier and one
> from just now have the same SHA256:
>
> 03ff3cc2d8009e821a07c83a1ed44fdcb0d27e1a958d15ec87e6f0e2c194ed70  intel-gpu-tools-1.18(1).tar.gz
> 03ff3cc2d8009e821a07c83a1ed44fdcb0d27e1a958d15ec87e6f0e2c194ed70  intel-gpu-tools-1.18.tar.gz

I’ve got the same.  Maybe it’s cached?  In the past I encountered
servers that would just generate a new tarball after a while.  IIRC it
happened with the mercurial web interface and also with gitweb (e.g. on
https://git.elephly.net).

I don’t know if cgit is any different.  I’ll try downloading this again
tomorrow.  If the file is still the same I’ll assume that it’s stable
and will use the tarball URL instead.

Thanks for checking!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 07 Apr 2017 21:24:01 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Fri, 07 Apr 2017 21:24:02 GMT) Full text and rfc822 format available.

Message #22 received at 26356-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 26356-done <at> debbugs.gnu.org
Subject: Re: bug#26356: [PATCH] gnu: Add intel-gpu-tools.
Date: Fri, 07 Apr 2017 23:23:43 +0200
> I don’t know if cgit is any different.  I’ll try downloading this again
> tomorrow.  If the file is still the same I’ll assume that it’s stable
> and will use the tarball URL instead.

Pushed with the tarball URL.

Thanks for the review!

-- 
Ricardo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 May 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.