Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18799 - Install dristat of the xfree-drm package
Summary: Install dristat of the xfree-drm package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-05 07:51 UTC by Mathias Hasselmann
Modified: 2003-05-28 17:44 UTC (History)
1 user (show)

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


Attachments
The new portage script (xfree-drm-4.3.0-r2.ebuild,1.64 KB, text/plain)
2003-04-05 07:52 UTC, Mathias Hasselmann
Details
The modified changelog (ChangeLog,3.07 KB, text/plain)
2003-04-05 07:52 UTC, Mathias Hasselmann
Details
The fixed portage script (xfree-drm-4.3.0-r2.ebuild,2.13 KB, text/plain)
2003-04-06 05:59 UTC, Mathias Hasselmann
Details
Another changelog (ChangeLog,3.38 KB, text/plain)
2003-04-06 06:02 UTC, Mathias Hasselmann
Details
Merges the files needed to build dristat, patches dristat.c to use them (xfree-drm-4.3.0-dristat-fixup.patch,84.82 KB, patch)
2003-04-06 06:03 UTC, Mathias Hasselmann
Details | Diff
insopts -m0755 (digest-xfree-drm-4.3.0-r2,61 bytes, text/plain)
2003-04-06 06:10 UTC, Mathias Hasselmann
Details
The portage script again. (xfree-drm-4.3.0-r2.ebuild,2.15 KB, text/plain)
2003-04-06 06:13 UTC, Mathias Hasselmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Hasselmann 2003-04-05 07:51:43 UTC
I've modified the xfree-drm portage script to build and install the dristat
tool. Useful for diagnostics.

Reproducible: Always
Steps to Reproduce:
Comment 1 Mathias Hasselmann 2003-04-05 07:52:24 UTC
Created attachment 10222 [details]
The new portage script
Comment 2 Mathias Hasselmann 2003-04-05 07:52:56 UTC
Created attachment 10223 [details]
The modified changelog
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-06 04:49:45 UTC
thanks, will update.
Comment 4 Mathias Hasselmann 2003-04-06 05:56:47 UTC
Cool. Well was kind of lazzy when changing the portage script: Just applied the changes I needed to build dristat from CVS, but didn't test it. So I didn't realize dristat.c needs some files to compile not included in drm-trunk.tar.gz. Don't know how you create that file. Therefore I just copied the files from CVS and created a patch merging those files and adjusting dristat.c.

Whilest being in the portage script I've also adjusted it to read a DRI_MODULES enviroment variable for the modules to build. If not set a warning is displayed and Makefile.linux is scanned for modules available. Btw, why does the Makefile patch strike out gamma.o tdfx.o for x86?

Also fixed: You have to pass MODS to the make if you do not want it to build all modules during installation. Fixed.

My ebuild didn't show up in portage yet, so it's ok to stick with -r2, I guess.
Comment 5 Mathias Hasselmann 2003-04-06 05:59:10 UTC
Created attachment 10265 [details]
The fixed portage script

* apply xfree-drm-4.3.0-dristat-fixup.patch
* DRI_MODULES
* passing MODS=${DRI_MODULES) to "make install"
Comment 6 Mathias Hasselmann 2003-04-06 06:02:29 UTC
Created attachment 10266 [details]
Another changelog
Comment 7 Mathias Hasselmann 2003-04-06 06:03:26 UTC
Created attachment 10267 [details, diff]
Merges the files needed to build dristat, patches dristat.c to use them
Comment 8 Mathias Hasselmann 2003-04-06 06:10:59 UTC
Created attachment 10268 [details]
insopts -m0755

forgot "insopts -m0755" for dristat
Comment 9 Mathias Hasselmann 2003-04-06 06:13:18 UTC
Created attachment 10269 [details]
The portage script again.

The portage script again: Adds "insopts -m0755" for "dristat". 10268 just is
the digest file (drag-n-drop sux ;-)
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-06 06:23:59 UTC
-r1 is ppc only.  the other one is x86 only
Comment 11 Michael Fitzpatrick 2003-04-24 14:47:04 UTC
I've added dristat to xfree-drm-4.3.0-r2
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-28 17:44:42 UTC
is xfree-drm-4.3.0-r2 more what you expected?