Bug 18799 - Install dristat of the xfree-drm package
Bug#: 18799 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: mathias.hasselmann@gmx.de
Component: Ebuilds
URL: 
Summary: Install dristat of the xfree-drm package
Keywords:  
Status Whiteboard: 
Opened: 2003-04-05 07:51 0000
Description:   Opened: 2003-04-05 07:51 0000
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 From Mathias Hasselmann 2003-04-05 07:52:24 0000 -------
Created an attachment (id=10222) [details]
The new portage script

------- Comment #2 From Mathias Hasselmann 2003-04-05 07:52:56 0000 -------
Created an attachment (id=10223) [details]
The modified changelog

------- Comment #3 From Seemant Kulleen (RETIRED) 2003-04-06 04:49:45 0000 -------
thanks, will update.

------- Comment #4 From Mathias Hasselmann 2003-04-06 05:56:47 0000 -------
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 From Mathias Hasselmann 2003-04-06 05:59:10 0000 -------
Created an attachment (id=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 From Mathias Hasselmann 2003-04-06 06:02:29 0000 -------
Created an attachment (id=10266) [details]
Another changelog

------- Comment #7 From Mathias Hasselmann 2003-04-06 06:03:26 0000 -------
Created an attachment (id=10267) [details]
Merges the files needed to build dristat, patches dristat.c to use them

------- Comment #8 From Mathias Hasselmann 2003-04-06 06:10:59 0000 -------
Created an attachment (id=10268) [details]
insopts -m0755

forgot "insopts -m0755" for dristat

------- Comment #9 From Mathias Hasselmann 2003-04-06 06:13:18 0000 -------
Created an attachment (id=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 From Seemant Kulleen (RETIRED) 2003-04-06 06:23:59 0000 -------
-r1 is ppc only.  the other one is x86 only

------- Comment #11 From Michael Fitzpatrick 2003-04-24 14:47:04 0000 -------
I've added dristat to xfree-drm-4.3.0-r2

------- Comment #12 From Seemant Kulleen (RETIRED) 2003-05-28 17:44:42 0000 -------
is xfree-drm-4.3.0-r2 more what you expected?