Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xorg-x11/
Date: Tue, 08 May 2018 22:07:07
Message-Id: 1525817209.cd3ab53327dcc8b63148cb2891c9700f2dd12b1c.mattst88@gentoo
1 commit: cd3ab53327dcc8b63148cb2891c9700f2dd12b1c
2 Author: charIes17 <charles17 <AT> arcor <DOT> de>
3 AuthorDate: Fri Dec 15 18:56:03 2017 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue May 8 22:06:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3ab533
7
8 x11-base/xorg-x11: Allow sys-power/acpilight
9
10 Allow to install sys-power/acpilight instead of x11-apps/xbacklight
11
12 Also bump to EAPI=6
13
14 Closes: https://bugs.gentoo.org/622678
15 Closes: https://github.com/gentoo/gentoo/pull/6559
16
17 x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild | 149 +++++++++++++++++++++++++++++++
18 1 file changed, 149 insertions(+)
19
20 diff --git a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild
21 new file mode 100644
22 index 00000000000..04ee6d43506
23 --- /dev/null
24 +++ b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild
25 @@ -0,0 +1,149 @@
26 +# Copyright 1999-2018 Gentoo Foundation
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=6
30 +
31 +DESCRIPTION="An X11 implementation maintained by the X.Org Foundation (meta package)"
32 +HOMEPAGE="https://www.x.org/wiki/"
33 +
34 +LICENSE="metapackage"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
37 +IUSE=""
38 +
39 +# Server
40 +RDEPEND="${RDEPEND}
41 + x11-base/xorg-server[-minimal]"
42 +
43 +# Applications
44 +RDEPEND="${RDEPEND}
45 + x11-apps/appres
46 + x11-apps/bitmap
47 + x11-apps/iceauth
48 + x11-apps/luit
49 + x11-apps/mkfontdir
50 + x11-apps/mkfontscale
51 + x11-apps/sessreg
52 + x11-apps/setxkbmap
53 + x11-apps/smproxy
54 + x11-apps/x11perf
55 + x11-apps/xauth
56 + || ( x11-apps/xbacklight sys-power/acpilight )
57 + x11-apps/xcmsdb
58 + x11-apps/xcursorgen
59 + x11-apps/xdpyinfo
60 + x11-apps/xdriinfo
61 + x11-apps/xev
62 + x11-apps/xf86dga
63 + x11-apps/xgamma
64 + x11-apps/xhost
65 + x11-apps/xinput
66 + x11-apps/xkbcomp
67 + x11-apps/xkbevd
68 + x11-apps/xkbutils
69 + x11-apps/xkill
70 + x11-apps/xlsatoms
71 + x11-apps/xlsclients
72 + x11-apps/xmodmap
73 + x11-apps/xpr
74 + x11-apps/xprop
75 + x11-apps/xrandr
76 + x11-apps/xrdb
77 + x11-apps/xrefresh
78 + x11-apps/xset
79 + x11-apps/xsetroot
80 + x11-apps/xvinfo
81 + x11-apps/xwd
82 + x11-apps/xwininfo
83 + x11-apps/xwud
84 + "
85 +
86 +# Data
87 +RDEPEND="${RDEPEND}
88 + x11-misc/xbitmaps
89 + x11-themes/xcursor-themes
90 + "
91 +
92 +# Utilities
93 +RDEPEND="${RDEPEND}
94 + x11-misc/makedepend
95 + x11-misc/util-macros
96 + "
97 +
98 +# Fonts
99 +RDEPEND="${RDEPEND}
100 + media-fonts/font-adobe-100dpi
101 + media-fonts/font-adobe-75dpi
102 + media-fonts/font-adobe-utopia-100dpi
103 + media-fonts/font-adobe-utopia-75dpi
104 + media-fonts/font-adobe-utopia-type1
105 + media-fonts/font-alias
106 + media-fonts/font-arabic-misc
107 + media-fonts/font-bh-100dpi
108 + media-fonts/font-bh-75dpi
109 + media-fonts/font-bh-lucidatypewriter-100dpi
110 + media-fonts/font-bh-lucidatypewriter-75dpi
111 + media-fonts/font-bh-ttf
112 + media-fonts/font-bh-type1
113 + media-fonts/font-bitstream-100dpi
114 + media-fonts/font-bitstream-75dpi
115 + media-fonts/font-bitstream-speedo
116 + media-fonts/font-bitstream-type1
117 + media-fonts/font-cronyx-cyrillic
118 + media-fonts/font-cursor-misc
119 + media-fonts/font-daewoo-misc
120 + media-fonts/font-dec-misc
121 + media-fonts/font-ibm-type1
122 + media-fonts/font-isas-misc
123 + media-fonts/font-jis-misc
124 + media-fonts/font-micro-misc
125 + media-fonts/font-misc-cyrillic
126 + media-fonts/font-misc-ethiopic
127 + media-fonts/font-misc-meltho
128 + media-fonts/font-misc-misc
129 + media-fonts/font-mutt-misc
130 + media-fonts/font-schumacher-misc
131 + media-fonts/font-screen-cyrillic
132 + media-fonts/font-sony-misc
133 + media-fonts/font-sun-misc
134 + media-fonts/font-util
135 + media-fonts/font-winitzki-cyrillic
136 + media-fonts/font-xfree86-type1
137 +
138 + media-fonts/font-alias
139 + media-fonts/font-util
140 + media-fonts/encodings
141 + "
142 +
143 +DEPEND="${RDEPEND}"
144 +
145 +pkg_preinst() {
146 + # Save xorg.conf because of bug #278268
147 + if [[ -f "${EROOT%/}/etc/X11/xorg.conf" ]]; then
148 + cp "${EROOT%/}/etc/X11/xorg.conf" "${T}" || die
149 + fi
150 +}
151 +
152 +pkg_postinst() {
153 + # Restore saved xorg.conf
154 + if [[ -f "${T}/xorg.conf" ]]; then
155 + cp "${T}/xorg.conf" "${EROOT%/}/etc/X11/xorg.conf" || die
156 + fi
157 +
158 + elog
159 + elog "Please note that the xcursors are in ${EROOT%/}/usr/share/cursors/${PN}."
160 + elog "Any custom cursor sets should be placed in that directory."
161 + elog
162 + elog "If you wish to set system-wide default cursors, please create"
163 + elog "${EROOT%/}/usr/local/share/cursors/${PN}/default/index.theme"
164 + elog "with content: \"Inherits=theme_name\" so that future"
165 + elog "emerges will not overwrite those settings."
166 + elog
167 + elog "Listening on TCP is disabled by default with startx."
168 + elog "To enable it, edit ${EROOT%/}/usr/bin/startx."
169 + elog
170 +
171 + elog "Visit https://wiki.gentoo.org/wiki/Category:X.Org"
172 + elog "for more information on configuring X."
173 + elog
174 +}