Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51868 - xfree xbox patches
Summary: xfree xbox patches
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2004-05-23 15:03 UTC by Chris Bainbridge (RETIRED)
Modified: 2006-03-07 12:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
x11-base/xfree/xfree-4.3.0-r5.ebuild (xfree-4.3.0-r5.ebuild,35.04 KB, text/plain)
2004-05-23 15:04 UTC, Chris Bainbridge (RETIRED)
Details
x11-base/xfree/files/xbox_nv_driver.patch (xbox_nv_driver.patch,3.69 KB, patch)
2004-05-23 15:04 UTC, Chris Bainbridge (RETIRED)
Details | Diff
x11-base/xfree/files/xbox_xf86PciInfo.patch (xbox_xf86PciInfo.patch,367 bytes, patch)
2004-05-23 15:05 UTC, Chris Bainbridge (RETIRED)
Details | Diff
xfree-4.3.0-r6.ebuild.patch (xfree-4.3.0-r6.ebuild.patch,645 bytes, patch)
2004-06-30 17:02 UTC, Chris Bainbridge (RETIRED)
Details | Diff
xfree-4.3.0-r6.patch (xfree-4.3.0-r6.patch,1.18 KB, patch)
2004-07-08 05:28 UTC, Chris Bainbridge (RETIRED)
Details | Diff
xbox-XF86Config (xbox-XF86Config,4.45 KB, text/plain)
2004-07-16 02:28 UTC, Chris Bainbridge (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge (RETIRED) gentoo-dev 2004-05-23 15:03:20 UTC
 
Comment 1 Chris Bainbridge (RETIRED) gentoo-dev 2004-05-23 15:04:02 UTC
Created attachment 31905 [details]
x11-base/xfree/xfree-4.3.0-r5.ebuild
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2004-05-23 15:04:29 UTC
Created attachment 31906 [details, diff]
x11-base/xfree/files/xbox_nv_driver.patch
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2004-05-23 15:05:04 UTC
Created attachment 31907 [details, diff]
x11-base/xfree/files/xbox_xf86PciInfo.patch
Comment 4 SpanKY gentoo-dev 2004-05-23 20:16:37 UTC
how about xorg ?
we're trying to downplay (read: not use) xfree and make xorg the default
Comment 5 Chris Bainbridge (RETIRED) gentoo-dev 2004-05-26 19:45:17 UTC
Not yet.. the new nv driver in xorg segfaults; from the code it looks like it will segfault on any framebuffer system, not just xbox. The old driver doesn't run on the new xorg server for some odd reason, it just segfaults as well.
Comment 6 Chris Bainbridge (RETIRED) gentoo-dev 2004-06-30 17:02:58 UTC
Created attachment 34525 [details, diff]
xfree-4.3.0-r6.ebuild.patch
Comment 7 Chris Bainbridge (RETIRED) gentoo-dev 2004-06-30 17:17:15 UTC
If you want you can isolate the patch with:

	if [ "${PROFILE_ARCH}" == "xbox" ]; then
	
Although this isn't really necessary as the patch checks whether its running on an xbox before it takes any actions.
Comment 8 Chris Bainbridge (RETIRED) gentoo-dev 2004-07-08 05:28:45 UTC
Created attachment 34997 [details, diff]
xfree-4.3.0-r6.patch

added default config autodetecting pal/ntsc machines.

The above isolation suggestion has one downside - people will complain that the
GRP binaries dont work if xbox support isnt compiled in.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-08 12:21:32 UTC
Reassigning to us so I don't miss this again. Sorry it slipped by -- I've already got 150 bugs to read through before I even get to what we're CC'd on. I expect to have -r2 ready soon (I've already got many of the patches put together), and it'll have your xbox stuff if it's clean (haven't looked yet).
Comment 10 Chris Bainbridge (RETIRED) gentoo-dev 2004-07-12 06:17:56 UTC
Hey, don't mean to bug you, but could you give me an expected date for the new release? Gentoo xbox support is ready to roll, the one major exception being xfree support. I have to decide whether to put out livecds now and tell people to use an overlay, or to wait.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-12 14:35:52 UTC
I'll try to take another look at this late tonight, after I get off work. Maybe I can just stick it in -r1.

Thanks for being persistent. =)
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-13 15:30:42 UTC
Sorry I didn't get to it last night, I was threatened by a deadline to look at some new nvidia/opengl-update stuff, otherwise it would have been auto-committed this morning. =) Will try again tonight.
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-15 01:17:16 UTC
Where's this xbox-XF86Config supposed to come from? It isn't posted here.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-16 02:00:08 UTC
I've added the two source patches.

Their quality as patches was unimpressive, by the way. Patches should apply from the top of the source, not from random directories within it. Please never do that again, whoever made them. It was a waste of my time going through the patches and finding, then changing all the directories. Also, they were made from different directory levels. Always make patches in parallel levels of descent into a directory structure.

I didn't add the NTSC/PAL logic because the file was never attached. It was also a little broken logic, so please do not commit it. Feel free to reopen this bug with that file attached.

Sorry about any delay on this.

Thanks.
Comment 15 Chris Bainbridge (RETIRED) gentoo-dev 2004-07-16 02:28:14 UTC
Created attachment 35536 [details]
xbox-XF86Config

Sorry about the bad patches, the xbox-linux cvs stuff is disorganised and they
just distribute whole directories seperately rather than splitting into patches
and retaining structure. 

I've attached the default xbox config file. If you don't like the logic, maybe
it could just be copied with an einfo to say ntsc users need to change it?
Comment 16 Chris Bainbridge (RETIRED) gentoo-dev 2004-07-16 02:29:57 UTC
Reopening, can you please add the xbox config.

Thanks for your work on this ebuild.
Comment 17 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-16 02:51:37 UTC
Can't do this til Monday, I'm flying out of town.

Seemant, the ebuild logic for the sample XF86Config and the file itself are still missing. If you want to add this stuff, just toss the file into the appropriate spot in filesdir -- this ebuild never got a files tarball. Please make sure it's binary-safe first, as I know you will.
Comment 18 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-19 22:54:32 UTC
Old patchset was broken, bumped it to 2.1.25.7.
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-03 00:38:26 UTC
Not going to add this X config file, they can generate their own like everyone else.