Bug 8600

Summary: PKG_CHECK_MODULES glib check should be glib-2.0
Product: poppler Reporter: Damien Carbery <damien.carbery>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high    
Version: unspecified   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:
Attachments: Change module check from glib to glib-2.0.

Description Damien Carbery 2006-10-11 04:29:07 UTC
poppler 0.5.4 is looking for 'glib.pc' in the PKG_CHECK_MODULES code.
This breaks the build on my system:
checking for POPPLER_GLIB... sh: glib-config: not found
sh: glib-config: not found
sh: glib-config: not found
configure: error: Package requirements (gdk-2.0 >= 2.4.0 glib >= 2.6) were not met:
Requested 'glib >= 2.6' but version of GLib is 
.

Changing the code to look for glib-2.0.pc makes it work.
-  PKG_CHECK_MODULES(POPPLER_GLIB, gdk-2.0 >= 2.4.0 glib >= 2.6)
+  PKG_CHECK_MODULES(POPPLER_GLIB, gdk-2.0 >= 2.4.0 glib-2.0 >= 2.6)

Attached patch makes this change.
Comment 1 Damien Carbery 2006-10-11 04:29:50 UTC
Created attachment 7349 [details] [review]
Change module check from glib to glib-2.0.
Comment 2 Damien Carbery 2007-08-18 07:39:22 UTC
Bug is fixed in 0.5.9. Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.