1 |
maillog: 07/12/2004-19:59:05(+0000): Ferris McCormick types |
2 |
> On Mon, 6 Dec 2004, Donnie Berkholz wrote: |
3 |
> |
4 |
> > Hey everyone, |
5 |
> > |
6 |
> > If anybody has good reasons why -r4 shouldn't be unleashed upon the |
7 |
> > unsuspecting ~arch users, respond to this (on-list please) before 0000 |
8 |
> > UTC Wednesday. Why then? Well, my finals will be over, so I'll have time |
9 |
> > to deal with the expected deluge of reports. |
10 |
> > |
11 |
> |
12 |
> Sparc tests fine under the following conditions: |
13 |
> |
14 |
> 1. ebuild taken from cvs at 13:06 (GMT) |
15 |
> 2. USE flags thus: |
16 |
> =========================== |
17 |
> lacewing root # PKGDIR=${PD} emerge -pkv xorg-x11 |
18 |
> |
19 |
> These are the packages that I would merge, in order: |
20 |
> |
21 |
> Calculating dependencies ...done! |
22 |
> [binary R ] x11-base/xorg-x11-6.8.0-r4 (-3dfx) (-3dnow) +bitmap-fonts |
23 |
> -cjk -debug +dlloader -dmx -doc -font-server +hardened +insecure-drivers |
24 |
> -ipv6 -minimal (-mmx) +nls +opengl +pam -sdk (-sse) -static |
25 |
> +truetype-fonts +type1-fonts (-uclibc) -xprint +xv [1] |
26 |
> =========================== |
27 |
> |
28 |
> 3. Because of the +dlloader, necessarily the patches from Bug 61063 were |
29 |
> applied. |
30 |
> 4. This version of X is hardened. |
31 |
> 5. The (deprecated) keyboard driver is still required. kbd shifts keys as |
32 |
> it always has. |
33 |
> |
34 |
> 6. NOTE: The two 'is_kernel' tests produce error messages, but (for me, |
35 |
> at any rate) ebuild operation is correct anyway. I have not |
36 |
> investigated further, but as I recall, the messages were: |
37 |
> [: wrong number of arguments (for the check kernel-2.2.x) |
38 |
> Command '*' not understood |
39 |
|
40 |
This is what I had in my overlay while testing the ebuild yesterday. |
41 |
The linux-info.eclass kernel_is() should only return an exit code so its |
42 |
output should not be looked at. I.e. those "[" and "$(" are not needed. |
43 |
|
44 |
--- /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild 2004-12-07 13:23:15.000000000 +0900 |
45 |
+++ ./xorg-x11-6.8.0-r4.ebuild 2004-12-07 17:59:24.000000000 +0900 |
46 |
@@ -670,7 +674,7 @@ |
47 |
fi |
48 |
|
49 |
if ( [ -e "${ROOT}/usr/src/linux" ] \ |
50 |
- && [ ! $(kernel_is "2" "2") ] ) \ |
51 |
+ && ! ( kernel_is "2" "2" ) ) \ |
52 |
|| [ "$(uname -r | cut -d. -f1,2)" != "2.2" ]; then |
53 |
echo "#define HasLinuxInput YES" >> ${HOSTCONF} |
54 |
fi |
55 |
@@ -794,7 +798,7 @@ |
56 |
echo "#define ModuleAsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF} |
57 |
fi |
58 |
if ( [ -e "${ROOT}/usr/src/linux" ] \ |
59 |
- && !( $(kernel_is "2" "6") ) ) \ |
60 |
+ && !( kernel_is "2" "6" ) ) \ |
61 |
|| [ "$(uname -r | cut -d. -f1,2)" != "2.6" ]; then |
62 |
einfo "Building for kernels less than 2.6 requires special treatment" |
63 |
echo "#define UseDeprecatedKeyboardDriver YES" >> ${HOSTCONF} |
64 |
|
65 |
|
66 |
-- |
67 |
\ Georgi Georgiev \ Don't lose Your head To gain a minute You \ |
68 |
/ chutz@×××.net / need your head Your brains are in it. -- / |
69 |
\ +81(90)6266-1163 \ Burma Shave \ |