From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvQOI-0001i8-RX for guix-patches@gnu.org; Tue, 04 Apr 2017 11:29:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvQOE-0002AO-UZ for guix-patches@gnu.org; Tue, 04 Apr 2017 11:29:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34403) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvQOE-0002A4-AO for guix-patches@gnu.org; Tue, 04 Apr 2017 11:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cvQOE-0000iO-4s for guix-patches@gnu.org; Tue, 04 Apr 2017 11:29:02 -0400 Subject: bug#26356: [PATCH] gnu: Add intel-gpu-tools. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170404071511.9895-1-rekado@elephly.net> References: <20170404071511.9895-1-rekado@elephly.net> Date: Tue, 04 Apr 2017 17:28:30 +0200 Message-ID: <87bmscb3a9.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus , 26356@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus 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 =C2=A9 2015 Eric Dvorsak > ;;; Copyright =C2=A9 2016 Leo Famulari > ;;; Copyright =C2=A9 2016 Pjotr Prins > -;;; Copyright =C2=A9 2016 Ricardo Wurmus > +;;; Copyright =C2=A9 2016, 2017 Ricardo Wurmus > ;;; Copyright =C2=A9 2016, 2017 Efraim Flashner > ;;; Copyright =C2=A9 2016 Peter Feigl > ;;; Copyright =C2=A9 2016 John J. Foerch > @@ -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 fo= r your viewing pleasure. > With sedsed you can master any sed script. No more secrets, no more hid= den > 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/in= tel-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-to= ols-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 developme= nt 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 ke= rnel > +changes, and many require complicated build procedures or specific testi= ng > +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))) > --=20 > 2.12.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljju54ACgkQoqBt8qM6 VPpaegf/Uzll3nEdLN1sPxTKw8NRFr2pTfL0dHVX4tEbTy008RBA8wku9zJruW2y +CqaWGvNWkxjPLKbaJNnK7/+OVIjbmnX7e7p7g5qEC3YkwsBJqA9H0OJussr7JYX /vJ3gdIr/dCHRVcxlhEeqP4Jlh7WeVrNyQ9novb4Zww5FaWkcjE3/bH/PxUvkdOX 5rIvb81QvbgeMwyf16/BL5BSy8hyTUGEAdVVszCgD0l1o0AQch5mldB/stIE6KBc Dns/ntz4TLTuWjNY19NSyeT6Kd+PCc3yOlSQK8b3WRwVS/MOro+7QAO+2NmsOmBj eA6aFMMv5YLZ/zSul18EkCPSXqPjdg== =2r8P -----END PGP SIGNATURE----- --=-=-=--