Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115816 - Proper modular X fix
Summary: Proper modular X fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 112427
  Show dependency tree
 
Reported: 2005-12-16 15:57 UTC by Joël
Modified: 2005-12-18 17:19 UTC (History)
1 user (show)

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


Attachments
Proper fix for modular X (ati-drivers-8.20.8-r1.ebuild,7.94 KB, text/plain)
2005-12-18 14:34 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joël 2005-12-16 15:57:24 UTC
With xorg-server-0.99.4-r2, the ati-drivers-8.20.8 ebuild puts fglrx modules in /usr/X11R6/lib/modules instead of /usr/X11R6/lib/xorg/modules.

A quick workaround is:

--- /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.20.8.ebuild      2005-12-11 04:55:47.000000000 +0100
+++ ati-drivers-8.20.8.ebuild   2005-12-17 00:53:36.588544192 +0100
@@ -46,6 +46,7 @@
                   [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ]
                then
                        BASE_NAME="${BASE_NAME}90"
+                       xlibdir="xorg"
                else
                        BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0"
                fi

But I don't know if this breaks something for other people.

Thanks
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2005-12-17 06:16:34 UTC
Quick change of platform in bugzilla. Sorry about the email.
Comment 2 Jory A. Pratt 2005-12-18 14:34:22 UTC
Created attachment 75043 [details]
Proper fix for modular X

This is proper fix for modular X. I am gonna assign to lu_zero so we can get it pushed into the tree.
Comment 3 Jory A. Pratt 2005-12-18 14:36:06 UTC
Assigning to lu_zero to push to tree unless he states otherwise.
Comment 4 Joël 2005-12-18 14:50:57 UTC
Thanks !

By the way, I think there's a second path-related issue in this ebuild: The ${X11_IMPLEM} variable equals 'x11' and not 'xorg-x11', so the 'sed' command produces a zero-byte /usr/lib/opengl/ati/lib/libGL.la, which in turn causes bug #112427.
Comment 5 Joël 2005-12-18 15:06:26 UTC
Nice, your new ebuild seems to solve bug #112427 as well :-)

Just one thing though: in the "/usr/lib/opengl/ati/" directory, it creates a symlink called "extensions" which points to "../xorg-x11/extensions" which does not exist.
Comment 6 Jory A. Pratt 2005-12-18 17:19:18 UTC
Fixed in CVS.