Bug 304841

Summary: Please use opengl-games-utils DRI checking wrapper
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: gl-117Assignee: Steven Pritchard <steve>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: triage
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: bzcl34nup
Fixed In Version: 1.3.2-7.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-30 20:10:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans de Goede 2007-09-25 12:00:36 UTC
In preperation for the Games Live DVD, I've created a small bash script which
resides in opengl-games-utils, which is meant to be used as a wrapper around
OpenGL games. If DRI is available this wrapper does nothing, if it isn't it will
show an error dialog, explaining about Free Software and 3D drivers and then exit.

The idea here is that an error dialog is better then trying to click the quit
menu option while the mouse is jumping from the right edge of the screen to the
left edge (mouse navigation is anything but easy at 3 fps).

This is esp. important for the Games Live DVD, as there people will not have
those other <beep> drivers available.

Adding the wrapper is _really_ easy:

1) Add: "Requires: opengl-games-utils"
2) Add to %install:
"ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper"
3) Add "%{_bindir}/%{name}-wrapper" to %files
4) Change the .desktop file Exec entry from "%{name}" to "%{name}-wrapper"

This all assumes your main binary name == %{name}, otherwise adapt as necessary.

If you already have a wrapper script for one reason or the other, you can
incorperate the checkDriOk function directly into your wrapper, no need todo a
wrapper wrapper, see vegastrike's vegastrike-wrapper.sh CVS file as example.

Comment 1 Steven Pritchard 2007-10-18 22:05:36 UTC
I'd be completely OK with someone taking care of this for me, since I have no
idea when I'll get around to it right now.  (And at this rate, if it isn't done
very soon, it won't make F8 final.)

Comment 2 Bug Zapper 2008-04-04 13:54:30 UTC
Based on the date this bug was created, it appears to have been reported
during the development of Fedora 8. In order to refocus our efforts as
a project we are changing the version of this bug to '8'.

If this bug still exists in rawhide, please change the version back to
rawhide.
(If you're unable to change the bug's version, add a comment to the bug
and someone will change it for you.)

Thanks for your help and we apologize for the interruption.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 3 Hans de Goede 2008-04-04 14:23:32 UTC
This bug is still present in current rawhide changing version back to rawhide.
Also the .desktop file contains the forbidden Categories Application and
X-Fedora, and lacks further refinement of the Games Category, I believe a proper
Categories field for this apps .desktop would be:

Categories=Games;Simulation;

All in all it looks like this package needs some love, Steve? If you're too busy
to get around to this let me know and I'll fix it. (Assuming cvs extras has
rights on this).



Comment 4 Steven Pritchard 2008-07-03 21:14:03 UTC
(In reply to comment #3) 
> All in all it looks like this package needs some love, Steve? If you're too
busy
> to get around to this let me know and I'll fix it. (Assuming cvs extras has
> rights on this).

Sorry, I seem to have missed this comment when you made it.

For the record, you always have my permission to update/modify any of my
packages as needed.  I wouldn't mind an email (or a bugzilla ticket comment)
when it happens though, just so I know.

In any case, this should all be fixed in 1.3.2-7 (in rawhide, building now).  If
everything looks good, I can push updates to F-8 and F-9.

Comment 5 Fedora Update System 2008-07-03 23:59:58 UTC
gl-117-1.3.2-7.fc8 has been submitted as an update for Fedora 8

Comment 6 Hans de Goede 2008-07-04 04:50:01 UTC
Looks good now, what about also issuing this as an update for F-9 ?


Comment 7 Fedora Update System 2008-07-06 06:16:52 UTC
gl-117-1.3.2-7.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gl-117'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-6151

Comment 8 Fedora Update System 2008-07-30 20:09:58 UTC
gl-117-1.3.2-7.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.