diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-apps/intel-gpu-tools |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-apps/intel-gpu-tools')
5 files changed, 137 insertions, 0 deletions
diff --git a/x11-apps/intel-gpu-tools/Manifest b/x11-apps/intel-gpu-tools/Manifest new file mode 100644 index 000000000000..3037f5218967 --- /dev/null +++ b/x11-apps/intel-gpu-tools/Manifest @@ -0,0 +1,7 @@ +AUX intel-gpu-tools-1.12-inttypes.patch 679 SHA256 c4f68517ca729cbde4659fed2bb612d73fe147146d34f2187db677d19df6c7b9 SHA512 d7344bee96c706b077b51e0f01af6de10b0a02ed476919b0dd1383bee703ff97d6bd608a9e731b6f572312745c2484f4039fe8629b9c6cc6cd96abeafbd57e3a WHIRLPOOL dbce703192af55d7f0fb82db55fbcd3ee5026a507173fba4494a05ddff61a9b36f72251d7c0490b06273004b835ae64fe572eac89915cde95a26afbeb21249ef +AUX intel-gpu-tools-1.12-sysmacros.patch 981 SHA256 4a2fe8fb8e360032ed68f11de040962595e7f511aac3fc13c7a2a2f8adaf6a9a SHA512 382094cdf8b3303f0691820e8937c15b978d34cd5c99eb43563ad2556eea261085a052bc3e8f8698b22537981a386ca30c824f80e480548a3b20f45a9e533e7a WHIRLPOOL 409c79bdfe16bc5fe7bc2dbedcb01f0297b7cc805238e0c6db42f72a9a0b60f50927ee75e2741c1e650aa59f3383c9119eba4edfa083b4d6f0d46a84dc4805c8 +DIST intel-gpu-tools-1.15.tar.bz2 1827851 SHA256 dcf256112d2692aa49ce6c6d17a898f60b3709b98c2f1c4592b23d22371462bd SHA512 407f7c4ce72babbbd3ed08fc77719f88321b56745601b588bb6dce1a659786215e6d1b121af748087746df6f7da1bfd3ae8f9a898173eede5d5bb4a5b24b4559 WHIRLPOOL f06c522587cb389f519939e2a2bcfe832f6b5f59f440722443fe0098fe15d9a2a7b83c3a92c330890c5bfc24a5c75f3cb963a39e9b58f9bde926e4448bf9fc6e +EBUILD intel-gpu-tools-1.15.ebuild 1310 SHA256 6075600a37e625b95563c337dd82070aebd23190cd817aab7a98ce2dcf8f403c SHA512 aab618d20956444222de42e8bb27130e6a6f76e2d83555da0fc6e450ed8f8304778366d9533e519e3c01760ec5027d1e83faf55de4de77e373bdf3d90503abc4 WHIRLPOOL 1d0f3a0754ef9fb00d4dc4fbdb7cf890d2731fd4cc6e606a533194e28f212d6a581e4939b53cbeb89b5474e2efa33142a5bd31cf89363e40ca5b4e25fa3578c5 +MISC ChangeLog 4681 SHA256 557dd61c5c127ee266bcd1606a74241aa90b29b3b890878fa1c7908332e4a5ae SHA512 1434763661882bbb15c50d6adbbea31e34d649e2ccb56daa671c69a1217bf3c9495fe33b8560612b2ea836bd8dc893accf1be7a807c85cb609e29ea870a8e66e WHIRLPOOL 564bb1069d9f08bd8dcedd440c3c74dd8ed9526b9a04b9f9773e54c25f98a26bd6720f40cf5f3ee066658c56ba1518d0e4883e35d38b0c09face5055b9b67813 +MISC ChangeLog-2015 4437 SHA256 9a2d40fdd72185d44e8ffbad3ccfa6da7bba346bdc159339dcaf975a5595a03f SHA512 91f716186ff89714874c297d7482a355d41b64a1a0e1a7b44b03dbb064f263dbe68f3180f65de6d03ac9ffb83f9e0a1184ff141e85094530c35d3629da81c048 WHIRLPOOL 0521b08ec3b02017937c16f3342d4dcd77c8137bdf7a3d37d9a28bb5e141cd6dfed963d22083592292c4e0f979643b839fb1a16ec8a62ea3be9d89e4170b4b6b +MISC metadata.xml 403 SHA256 c5933c2c78db44671949f9befb68ecfb08c9543e5a1a698c49572de3d334354a SHA512 a4a315caf4f2ac38b6cfb0bac96776bddc4be6c79abe3a9dff8473a2443fbca7dd569df04abc9557160951e4894ac49f83f925a2fbc7f0a0e1df7924169a2a0a WHIRLPOOL 0fff29c117a4299ee1c4faa2540947c168e16fa0d0b4d48b04076935368497e68115faa7d30d1bd4f421f84a02cbca076cc92efe92b7aa16b3a98f4c583b01d8 diff --git a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch new file mode 100644 index 000000000000..02a97c48d121 --- /dev/null +++ b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-inttypes.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/582430 + +From d24f4a5c5fe45e2fad8942acc137f87cd8f35ea5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 21 Jun 2016 14:37:38 -0400 +Subject: [PATCH] include inttypes.h for PRI defines + +Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96620 +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + lib/igt_fb.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/igt_fb.c b/lib/igt_fb.c +index 61205f345707..ba29eae5cabd 100644 +--- a/lib/igt_fb.c ++++ b/lib/igt_fb.c +@@ -28,6 +28,7 @@ + #define _GNU_SOURCE + #include <stdio.h> + #include <math.h> ++#include <inttypes.h> + + #include "drmtest.h" + #include "igt_fb.h" +-- +2.8.2 + diff --git a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch new file mode 100644 index 000000000000..c805c120f552 --- /dev/null +++ b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.12-sysmacros.patch @@ -0,0 +1,35 @@ +https://bugs.gentoo.org/581080 + +From 3e8cc82d371b23303cd4f30e4bcc9c5ecb10ad11 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 21 Jun 2016 14:24:42 -0400 +Subject: [PATCH] pull in headers for major/minor/makedev funcs + +Use the portable autoconf helper to figure out which header to include +for these funcs. Linux C libs are moving to not implicitly include them +via sys/types.h anymore, and other OS's have long required you to pull +in the right header directly. + +Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96618 +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + configure.ac | 1 + + lib/igt_sysfs.c | 9 +++++++++ + tools/aubdump.c | 8 +++++++- + 3 files changed, 17 insertions(+), 1 deletion(-) + +--- a/tools/aubdump.c ++++ b/tools/aubdump.c +@@ -38,6 +38,9 @@ + #include <errno.h> + #include <sys/mman.h> + #include <dlfcn.h> ++#ifdef __linux__ ++#include <sys/sysmacros.h> ++#endif + #include <i915_drm.h> + + #include "intel_aub.h" +-- +2.8.2 + diff --git a/x11-apps/intel-gpu-tools/intel-gpu-tools-1.15.ebuild b/x11-apps/intel-gpu-tools/intel-gpu-tools-1.15.ebuild new file mode 100644 index 000000000000..75ee7a50d996 --- /dev/null +++ b/x11-apps/intel-gpu-tools/intel-gpu-tools-1.15.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit xorg-2 + +DESCRIPTION="Intel GPU userland tools" +KEYWORDS="amd64 x86" +IUSE="test-programs unwind video_cards_nouveau" +RESTRICT="test" + +DEPEND="dev-libs/glib:2 + >=x11-libs/cairo-1.12.0 + >=x11-libs/libdrm-2.4.64[video_cards_intel,video_cards_nouveau?] + >=x11-libs/libpciaccess-0.10 + unwind? ( sys-libs/libunwind )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.12-inttypes.patch #582430 + "${FILESDIR}"/${PN}-1.12-sysmacros.patch #581080 +) + +src_configure() { + XORG_CONFIGURE_OPTIONS=( + $(use_enable video_cards_nouveau nouveau) + $(use_enable test-programs tests) + $(use_with unwind libunwind) + ) + xorg-2_src_configure +} + +src_install() { + xorg-2_src_install + if use test-programs; then + local testprogram + pushd "${AUTOTOOLS_BUILD_DIR}"/tests >/dev/null || die + for testprogram in $(<multi-tests.txt) $(<single-tests.txt); do + if [[ -f ${testprogram} ]]; then + dobin "${testprogram}" + fi + done + popd >/dev/null + fi +} + +pkg_postinst() { + xorg-2_pkg_postinst + if use test-programs; then + elog "Test programs for DRM driver development were installed. These are not" + elog "designed to run outside their source tree, so may or may not work as" + elog "intended." + fi +} diff --git a/x11-apps/intel-gpu-tools/metadata.xml b/x11-apps/intel-gpu-tools/metadata.xml new file mode 100644 index 000000000000..49b36752d733 --- /dev/null +++ b/x11-apps/intel-gpu-tools/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>x11@gentoo.org</email> + <name>X11</name> +</maintainer> +<use> + <flag name="test-programs">Install test programs for DRM driver development</flag> + <flag name="unwind">Provide automatic stack traces on test failures</flag> +</use> +</pkgmetadata> |