Bug 189371

Summary: install script errors
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: gimpAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-20 14:48:44 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 Orion Poplawski 2006-04-19 15:41:04 UTC
Description of problem:

Installing 2:2.2.11-0.fc5.1 from updates-testing gives the following errors:

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

repeated 4 times each.  Error is coming from /usr/sbin/xsane-install-gimp-plugin
which calls /usr/bin/gimptool-2.0 --gimpplugindir, which does:

++ pkg-config --cflags gtk+-2.0
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found


Looks like some missing Requires(pre/post), or better yet fix gimptool-2.0 to
not call pkg-config unless it needs to (it doesn't for --gimpplugindir and
--version).

Comment 1 Nils Philippsen 2006-04-20 14:48:44 UTC
fixed in gimp-2.2.11-0.fc5.3 -- the included gimptool should no longer call
pkgconfig if not needed.