Gentoo Archives: gentoo-commits

From: Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/xf86-video-intel/, x11-drivers/xf86-video-intel/files/
Date: Sun, 26 Jan 2014 18:05:27
Message-Id: 1390759489.67dd2199847def50220db24e39b1912a8b48fc87.chithead@gentoo
1 commit: 67dd2199847def50220db24e39b1912a8b48fc87
2 Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 18:04:49 2014 +0000
4 Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
5 CommitDate: Sun Jan 26 18:04:49 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=67dd2199
7
8 x11-drivers/xf86-video-intel: remove ebuild that is in portage now
9
10 ---
11 ...15-handle-updates-to-DamageUnregister-API.patch | 24 -------
12 .../xf86-video-intel-2.21.15.ebuild | 74 ----------------------
13 2 files changed, 98 deletions(-)
14
15 diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch
16 deleted file mode 100644
17 index 1dc79ba..0000000
18 --- a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch
19 +++ /dev/null
20 @@ -1,24 +0,0 @@
21 -From 524a45da56e2a052ffafa3887891caa90ba39f76 Mon Sep 17 00:00:00 2001
22 -From: Chris Wilson <chris@×××××××××××××××.uk>
23 -Date: Sat, 05 Oct 2013 17:42:24 +0000
24 -Subject: compat-api: Map changes of DamageUnregister API in 1.14.99.2
25 -
26 -Reported-by: Emmanuel Benisty <benisty.e@×××××.com>
27 -Signed-off-by: Chris Wilson <chris@×××××××××××××××.uk>
28 ----
29 -diff --git a/src/compat-api.h b/src/compat-api.h
30 -index 8eb46ef..244a486 100644
31 ---- a/src/compat-api.h
32 -+++ b/src/compat-api.h
33 -@@ -162,4 +162,8 @@ static inline void FreePixmap(PixmapPtr pixmap)
34 - if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h)
35 - #endif
36 -
37 -+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
38 -+#define DamageUnregister(d, dd) DamageUnregister(dd)
39 -+#endif
40 -+
41 - #endif
42 ---
43 -cgit v0.9.0.2-2-gbebe
44 -
45
46 diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.21.15.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.21.15.ebuild
47 deleted file mode 100644
48 index a5073a7..0000000
49 --- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.21.15.ebuild
50 +++ /dev/null
51 @@ -1,74 +0,0 @@
52 -# Copyright 1999-2014 Gentoo Foundation
53 -# Distributed under the terms of the GNU General Public License v2
54 -# $Header: $
55 -
56 -EAPI=5
57 -
58 -XORG_DRI=dri
59 -inherit linux-info xorg-2
60 -
61 -DESCRIPTION="X.Org driver for Intel cards"
62 -
63 -KEYWORDS="~amd64 ~x86 ~amd64-fbsd -x86-fbsd"
64 -IUSE="glamor +sna +udev uxa xvmc"
65 -
66 -REQUIRED_USE="|| ( glamor sna uxa )"
67 -
68 -RDEPEND="x11-libs/libXext
69 - x11-libs/libXfixes
70 - >=x11-libs/pixman-0.27.1
71 - >=x11-libs/libdrm-2.4.29[video_cards_intel]
72 - glamor? (
73 - x11-libs/glamor
74 - )
75 - sna? (
76 - >=x11-base/xorg-server-1.10
77 - )
78 - udev? (
79 - virtual/udev
80 - )
81 - xvmc? (
82 - x11-libs/libXvMC
83 - >=x11-libs/libxcb-1.5
84 - x11-libs/xcb-util
85 - )
86 -"
87 -DEPEND="${RDEPEND}
88 - >=x11-proto/dri2proto-2.6
89 - x11-proto/resourceproto"
90 -
91 -src_prepare() {
92 - # wrong variable name, fix configure directly to avoid autoreconf
93 - # see bug #490342
94 - sed -e "s/DRI_CFLAGS/DRI1_CFLAGS/g" -i configure
95 - # see bug #496682
96 - epatch "${FILESDIR}/${PN}-2.21.15-handle-updates-to-DamageUnregister-API.patch"
97 - xorg-2_src_prepare
98 -}
99 -
100 -src_configure() {
101 - XORG_CONFIGURE_OPTIONS=(
102 - $(use_enable dri)
103 - $(use_enable glamor)
104 - $(use_enable sna)
105 - $(use_enable uxa)
106 - $(use_enable udev)
107 - $(use_enable xvmc)
108 - )
109 - xorg-2_src_configure
110 -}
111 -
112 -pkg_postinst() {
113 - if linux_config_exists \
114 - && ! linux_chkconfig_present DRM_I915_KMS; then
115 - echo
116 - ewarn "This driver requires KMS support in your kernel"
117 - ewarn " Device Drivers --->"
118 - ewarn " Graphics support --->"
119 - ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
120 - ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
121 - ewarn " i915 driver"
122 - ewarn " [*] Enable modesetting on intel by default"
123 - echo
124 - fi
125 -}