Bug 693352

Summary: mygui pc file include location broken
Product: [Fedora] Fedora Reporter: Rudolf Kastl <che666>
Component: myguiAssignee: Guido Grazioli <guido.grazioli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bruno, guido.grazioli, kevin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mygui-3.0.1-7.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 04:06:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rudolf Kastl 2011-04-04 12:04:39 UTC
Description of problem:
the packaged mygui version in f15 (probably also affects f14) has a broken .pc file which prevents compiling against that library in a proper way.

the .pc file has:
Cflags: -I${includedir} -I${includedir}/MyGUI 

while the include dir is:
/usr/include/MYGUI

(note: upper/lower case problem)

Version-Release number of selected component (if applicable):
mygui-3.0.1-5.fc15.x86_64

Comment 1 Rudolf Kastl 2011-04-04 12:29:53 UTC
another problem in the same file:

Libs: -L${libdir} -L${libdir}/MYGUI -lMyGUIEngine -lMyGUI.Ogr
ePlatform  -luuid

should be:
Libs: -L${libdir} -L${libdir}/MYGUI -lMyGUIEngine -lMyGUI.OgrePlatform  -luuid

note:
one has to get rid of the carriage return

Comment 2 Kevin Fenzi 2011-05-03 02:58:43 UTC
Scratch build with patch added: 
http://koji.fedoraproject.org/koji/taskinfo?taskID=3045962

Does this fix the issue? Do we need just rawhide?
Bruno: Would you like to fix this? Or shall I?

Comment 3 Fedora Update System 2011-05-03 05:49:08 UTC
mygui-3.0.1-7.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mygui-3.0.1-7.fc15

Comment 4 Bruno Wolff III 2011-05-03 05:51:20 UTC
The fix looked reasonable, so I applied it to F15 and F16.
There shouldn't be a lot of downstream ramifications as mygui was packaged as part of an effort to package dungeonhack. But the dungeonhack project has been kind of meandering for the last year, so the latter never happened. So I don't expect much in Fedora to be using it at this point.

Comment 5 Fedora Update System 2011-05-05 04:44:51 UTC
Package mygui-3.0.1-7.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mygui-3.0.1-7.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/mygui-3.0.1-7.fc15
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-05-09 04:06:19 UTC
mygui-3.0.1-7.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.