First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 79467
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ferris McCormick <fmccor@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ferris McCormick <fmccor@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sunffb-xaa-6.8.1.patch Patch to activate 'xaa' support in sunffb driver for Creator/Elite graphics. patch Ferris McCormick 2005-01-25 07:16 0000 85.78 KB Details | Diff
sunffb-xaa-6.8.1.patch Apply xorg Bug 1891 xaa-for-sunffb patch to sunffb, activate with USE=xaa patch Ferris McCormick 2005-01-29 07:05 0000 85.51 KB Details | Diff
xorg-x11-6.8.1.904-sparc.patch Apply xorg Bug xaa-for-sunffb and Bug 1259 convert-sunleo patches to .904 ebuild patch Ferris McCormick 2005-02-03 10:25 0000 126.11 KB Details | Diff
xorg-x11-6.8.2-r1-sparc.patch xaa, sunleo patch for xorg-x11-6.8.2-r1 patch Ferris McCormick 2005-03-09 10:32 0000 126.11 KB Details | Diff
xorg-x11-6.8.2-r2-sparc.patch xaa, sunleo patch for xorg-x11-6.8.2-r2 patch Ferris McCormick 2005-06-12 11:03 0000 125.68 KB Details | Diff
xorg-x11-6.8.2-r3-sparc.patch xaa, sunleo patch for 6.8.2-r3 patch Ferris McCormick 2005-09-16 04:39 0000 125.68 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 79467 depends on: Show dependency tree
Bug 79467 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-25 07:11 0000
Tracking for xorg-x11-6.8.<post 0-r4> status, leading up to 6.8.2.  Just going
into test for me.

------- Comment #1 From Ferris McCormick 2005-01-25 07:16:07 0000 -------
Created an attachment (id=49479) [edit]
Patch to activate 'xaa' support in sunffb driver for Creator/Elite graphics.

This patch corresponds to patch 48609 on Bug 63994, and see that bug for
explanation and references.

Notice that this version only applies the changes to sunffb, because the fixes
to fb to take care of [r,g,b] <--> [b,g,r] problems are included in the master
patch set for this version of xorg-x11.

------- Comment #2 From Ferris McCormick 2005-01-25 10:38:08 0000 -------
Now ~sparc for testing.  It builds, installs, and runs for me without incident
(hardened).

------- Comment #3 From Ferris McCormick 2005-01-29 07:05:57 0000 -------
Created an attachment (id=49831) [edit]
Apply xorg Bug 1891 xaa-for-sunffb patch to sunffb, activate with USE=xaa

Do not add ~sparc keyword to the ebuild, as that is now in portage.

------- Comment #4 From Ferris McCormick 2005-02-02 10:20:18 0000 -------
Here are my notes for 6.8.1.903 (6.8.2_rc3) testing.  This is copied verbatim
from my email, same subject.
I include it here for tracking and doculemtation purposes.
==========================================================

>> Donnie Berkholz wrote:
>
>>>> I just committed it with KEYWORDS="-*" because I need some brave
>>>> testers. I already tested every possibility of which I could think of
>>>> version changes resulting in an upgrade to 6.8.1.903 and things seem to
>>>> be working fine now.
>>>>
>>>> The most significant change is that it migrates all of /usr/X11R6 to
>>>> /usr and symlinks /usr/X11R6 -> /usr.


I have installed this release candidate on a couple sparc systems, and
note the following:

1. (Previously noted) A couple font directories (cyrillic, ukr) were
    never made into symbolic links before, and right now they must be
    removed by hand;
2. (Previously noted) A couple orphan symbolic links:
    a. /usr/include/X11/X11 --> ../X11R6/include/X11
    b. /usr/include/GL/GL   --> ../X11R6/include/GL (I think; I removed it
       before writing this note.)
3. For some reason, /usr/include/GL/glu.h does not get installed (it is
    not in /var/tmp/portage/xorg-x11-6.8.1.903/image).  With version
    6.8.1.902, it is in the image directory and is installed. The problem
    seems to be that with ...903, nothing which started in
    /usr/X11R6/include/GL is installed, but only files from
    opengl/xorg-x11.
    So, for example, GL/glext.h is present (it is in both GL/include and
    in opengl/xorg-x11/include originally), but GL/glu.h is not installed
    because it is only in include/GL to begin with.
    This might be sparc only; I cannot verify.

    I note that for one install, this file (glu.h) was automatically
    moved to /usr/include/GL/glu.h, but apparently from
    /usr/X11R6/include/GL, because it is definitely not in the image
    for .903.

4. (Sparc only) For this test, I forced the sunffb/xaa patch to
    be installed unconditionally because at some point it will be
    part of the mainstream patch set.  This is just a one-line
    change to the ebuild: This, for anyone interested:

--- xorg-x11-6.8.1.903.ebuild-  2005-02-02 17:54:13.000000000 +0000
+++ xorg-x11-6.8.1.903.ebuild   2005-02-02 17:55:08.000000000 +0000
@@ -487,6 +487,7 @@
         cd ${WORKDIR}
         EPATCH_SUFFIX="patch" \
         epatch ${PATCHDIR}
+       epatch $(FILESDIR)/092_Xserver_sunffb_xaa_extension.diff
         cd ${S}
  }

Otherwise, everything seems fine.  Except for poine -3.-, nothing
really troubling.  I haven't figured out what is going on with the
GL include files yet, but the libraries seem to be OK.

Bookkeeping notes:
=================
a. On both systems, I use x11-base/opengl-update-2.1_pre4

b. Use flags for the build/install:
[binary   R   ] x11-base/xorg-x11-6.8.1.903  (-3dfx) (-3dnow)
+bitmap-fonts -cjk -debug +dlloader -dmx -doc -font-server +hardened
-insecure-drivers -ipv6 -minimal (-mmx) +nls +opengl +pam -sdk (-sse)
-static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv [1]

Total size of downloads: 0 kB
Portage overlays:
  [1] /usr/local/portage

c. This is two installs from one build: First install was from
    emerge -buv xorg-x11;
    Second from 'emerge -kuv xorg-x11'

d. Both systems use sunffb graphics driver; one for Elite3d-m3, one for
    Creator3D, series 2 (ffb2+).

e. This note was written on U2-SMP (ffb2+) running xorg-x11-6.8.1.903
    (modified by hand as suggested above).

------- Comment #5 From Ferris McCormick 2005-02-03 10:25:25 0000 -------
Created an attachment (id=50269) [edit]
Apply xorg Bug xaa-for-sunffb and Bug 1259 convert-sunleo patches to .904
ebuild

This patch applies freedesktop's patches for these bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=1259  (convert sunleo to use fb)
https://bugs.freedesktop.org/show_bug.cgi?id=1891  (xaa for sunffb)
It applies them to xorg-x11-6.8.1.904.ebuild, and activates xaa for sunffb only
if USE=xaa

.904 (RC4) is supposed to be the last candidate release before 6.8.2.  Please
note that with this release, all that
is left of /usr/X11R6 is  X11R6 -> ../usr/.  If you wish to test this version,
please read the ChangeLog first.

To apply the patch:  Download it to your favorite directory, then in
.../portage/x11-base/xorg-x11, execute
patch -z- -b -p0 < {path-to-xorg-x11-6.8.1.904.patch}
and verify that in ...xorg/x11/files you have
092_Xserver_sunffb_xaa_extension.diff
and  sunleo-conversion-2.patch

For reference, .904 is running fine for me on U60-SMP(afb), U2-SMP(cfb2+).  Use
flags for build are:
 x11-base/xorg-x11-6.8.1.904  (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug
+dlloader -dmx -doc -font-server +hardened -insecure-drivers -ipv6 -minimal
(-mmx) +nls +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts
(-uclibc) +xaa -xprint +xv

------- Comment #6 From Ferris McCormick 2005-02-03 10:36:24 0000 -------
Um, the patch name is "xorg-x11-6.8.1.904-sparc.patch" of course, so the
instructions should read:
patch -b -z- -p0  < {path-to-xorg-x11-6.8.1.904-sparc.patch}

Sorry for my rotten proofreading.

------- Comment #7 From Ferris McCormick 2005-02-12 08:31:09 0000 -------
The official release xorg-x11-6.8.2 builds and runs (dlloader+hardened) on
sparc (ffb2+) systems,
both kernel 2.4.xx and kernel 2.6.6.

Neither the sunleo patch nor the patch to convert sunffb to use xaa is included
yet, so
if you need either of these, you must apply it yourself.  See the patch in
attachment 50269 [edit] above.

------- Comment #8 From Donnie Berkholz 2005-02-12 13:27:14 0000 -------
If you could open up a bug for me on those patches, it would be helpful. One
bug per patch, with Keywords: Inclusion and tell me exactly what you want done
with it. I keep seeing them brought up here but I don't know exactly what you
want.

------- Comment #9 From Ferris McCormick 2005-02-15 09:10:25 0000 -------
Sorry for the delay.
Background (see also Comment 5):
The patch corresponds to two Resolved xorg bugs at freedesktop:
https://bugs.freedesktop.org/show_bug.cgi?id=1891
https://bugs.freedesktop.org/show_bug.cgi?id=1259

The second (1259) is required for sunleo users, but there are very few of them.  If they need
this, they almost certainly have applied it already themselves.

The first (1891) adds xaa support to sunffb (Creator/Elite) driver.  Right now, it is completely optional.
It is available for testing, evaluation, and playing libSDL-based games.  It should not
become standard yet, because a side effect of it is to remove DRM support from sunffb.  (If kernel-2.6.xx ever
becomes stable for sparc, this will not be an issue because no kernel beyond 2.6.6 supports DRM for ffb anyway.)

Both of these are scheduled for release by freedesktop; ajax should able to provide a schedule.
Because of this anticipated xorg incorporation of the patches and because of their non-critical nature (rarely used or in evaluation),
I do not see a compelling need for Gentoo to incorporate them.

If you like, I can open bugs for them to track them or so you can add them to your patch set.  The sunffb-xaa patch now
should remain optional, though (controlled by your proposed xaa-sparc local USE flag) for example.

(I have never said exactly what I want because what at this point is nothing. :-)  Since I have been
living with them for a while, I tend to fall into the lawyer trap of assuming the judge
cares as much about my case as I do.)

------- Comment #10 From Donnie Berkholz 2005-02-15 13:37:24 0000 -------
OK, I'm going to ignore them until/unless you open bugs for them.

------- Comment #11 From Ferris McCormick 2005-03-09 10:32:42 0000 -------
Created an attachment (id=53024) [edit]
xaa, sunleo patch for xorg-x11-6.8.2-r1

Updated xorg-x11-6.8.2-r1.ebuild patch to apply sunleo, xaa patch for 6.8.2-r1.

------- Comment #12 From Ferris McCormick 2005-03-09 10:36:48 0000 -------
6.8.2-r1 will be moving to stable about the 11th of March in order to address
the security bug 83598.  The actual change from
6.8.2 is very small (in xpm, change two 'unsigned int i; --> int i;' so that 'i
> 0' test actually means something.).

------- Comment #13 From Ferris McCormick 2005-03-10 14:32:31 0000 -------
xorg-x11-6.8.2-r1 is now stable for sparc (Bug 83598).  Please track here.

------- Comment #14 From Ferris McCormick 2005-06-12 11:03:47 0000 -------
Created an attachment (id=61119) [edit]
xaa, sunleo patch for xorg-x11-6.8.2-r1

Corresponding patch for sunleo, sunffb drivers for xorg-x11-6.8.2-r2.  Same
instructions for installation:

patch -p0 -b -z- < {path-to}/xorg-x11-6.8.2-r2-sparc.patch

Note that if this patch is installed, the sunffb-xaa change is built
unconditionally; there is no local 'xaa' use flag to control this.

------- Comment #15 From Ferris McCormick 2005-06-16 21:15:39 0000 -------
(From update of attachment 61119 [edit])
Fix description.

------- Comment #16 From Ferris McCormick 2005-09-16 04:39:30 0000 -------
Created an attachment (id=68572) [edit]
xaa, sunleo patch for 6.8.2-r3

Same patch, updated to apply to xorg-x11-6.8.2-r3.ebuild (instructions as
before, there will be a note from the 'patch -b -z- -p0 < ...' to the effect
that the changes to the ebuild are offset by a couple lines, but it applies
correctly).

------- Comment #17 From Joshua Baergen (RETIRED) 2005-09-19 19:35:09 0000 -------
Committed to 6.8.2-r5.

------- Comment #18 From Donnie Berkholz 2005-10-12 19:42:43 0000 -------
Is there any reason this is still open?

------- Comment #19 From Gustavo Zacarias (RETIRED) 2006-08-02 07:58:38 0000 -------
I think not, closing.

First Last Prev Next    No search results available      Search page      Enter new bug