[BUG] cant use CEGUI-OGRE-0.7.1.pc and CEGUI-OPENGL-0.7.1.pc

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

gozza
Just popping in
Just popping in
Posts: 1
Joined: Fri Nov 06, 2009 05:22

[BUG] cant use CEGUI-OGRE-0.7.1.pc and CEGUI-OPENGL-0.7.1.pc

Postby gozza » Fri Nov 06, 2009 05:33

the pkgconfig files in cegui-0.7.1 dont work on my gentoo linux system.
it turns out that its still looking for CEGUI rather than the new naming scheme CEGUI-0.7.1 and it will always error out saying that it cannot find the CEGUI.pc file.

changing the .pc files to the following works for me:
CEGUI-OGRE-0.7.1.pc - Requires: OGRE >= 1.6.0,CEGUI-@VERSION@ = @VERSION@
CEGUI-OPENGL-0.7.1.pc - Requires: CEGUI-@VERSION@ = @VERSION@


patch:

Code: Select all

diff -rupN a/cegui/CEGUI-OGRE.pc.in b/cegui/CEGUI-OGRE.pc.in
--- a/cegui/CEGUI-OGRE.pc.in   2009-10-16 00:46:37.000000000 +1100
+++ b/cegui/CEGUI-OGRE.pc.in   2009-11-06 14:42:27.000000000 +1100
@@ -7,5 +7,5 @@ datafiles=@datarootdir@/@PACKAGE@
 Name: CEGUI Ogre Renderer
 Description: Ogre based renderer module for CEGUI.
 Version: @VERSION@
-Requires: OGRE >= 1.6.0,CEGUI = @VERSION@
+Requires: OGRE >= 1.6.0,CEGUI-@VERSION@ = @VERSION@
 Libs: -lCEGUIOgreRenderer@cegui_bsfx@
diff -rupN a/cegui/CEGUI-OPENGL.pc.in b/cegui/CEGUI-OPENGL.pc.in
--- a/cegui/CEGUI-OPENGL.pc.in   2009-10-16 00:46:37.000000000 +1100
+++ b/cegui/CEGUI-OPENGL.pc.in   2009-11-06 14:42:45.000000000 +1100
@@ -7,5 +7,5 @@ datafiles=@datarootdir@/@PACKAGE@
 Name: CEGUI OpenGL Renderer
 Description: OpenGL based renderer module for CEGUI.
 Version: @VERSION@
-Requires: CEGUI = @VERSION@
+Requires: CEGUI-@VERSION@ = @VERSION@
 Libs: -lCEGUIOpenGLRenderer@cegui_bsfx@



i submitted ebuild and patch fixes on the gentoo bug database as well
http://bugs.gentoo.org/show_bug.cgi?id=291953


as far as i can tell its the same problem in svn

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [BUG] cant use CEGUI-OGRE-0.7.1.pc and CEGUI-OPENGL-0.7.1.pc

Postby CrazyEddie » Thu Dec 03, 2009 09:58

Hi,

This is a Gentoo / portage specific issue (i.e. our regular copies of the .pc files do not have the version suffix and are not affected). Basically, in Gentoo, parts of the distribution are patched when emerged to allow slotted installs, clearly this particular point got missed (by me too, since I was doing some testing for them!).

Thanks,

CE.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 10 guests