Bug 5900

Summary: packaging bug: dependency on freetype version is missing
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: gimpAssignee: Valery Inozemtsev <shrek>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: mike, shrek
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 28382    

Description Ivan Zakharyaschev 2005-01-19 21:19:44 MSK
gimp2-2.2.2-alt1

Here's the description from Gimp's message at startup:

FreeType version too old!

The GIMP requires FreeType version 2.1.7 or later.
Installed FreeType version is 2.1.4.

Somehow you or your software packager managed
to install The GIMP with an older FreeType version.

Please upgrade to FreeType version 2.1.7 or later.


And indeed, my configuration is as follows:

$ rpm -q gimp2   
gimp2-2.2.2-alt1
$ rpm -qa '*freetype*'
freetype-1.3.1-alt4
freetype2-2.1.4-alt3
$ rpm -q gimp2 --requires | fgrep freetype
libfreetype.so.6  
$ rpm -q libfreetype.so.6 --whatprovides
freetype2-2.1.4-alt3


Solved the issue by installing freetype2-2.1.9-alt2.
Steps to Reproduce:
1. Install gimp2-2.2.2-alt1 and freetype2-2.1.4-alt3
2. Start gimp

Actual Results:  
It shows an error message window and doesn't start.

Expected Results:  
Gimp starts.
Comment 1 Anatoly Yakushin 2006-01-16 00:47:27 MSK
Давно поправлено
Comment 2 Ivan Zakharyaschev 2013-01-19 16:45:16 MSK
The solution was probably not general enough:

we have again problems with gimp wanting precisely the version of a lib it wants --  https://bugzilla.altlinux.org/show_bug.cgi?id=28382 .

If the formal dependencies of the RPM package were automatically derived from the library version checking code of gimp, we would not have such problems anymore after doing "apt-get install gimp" (updating only one package).
Comment 3 Michael Shigorin 2013-08-15 17:16:58 MSK
gimp-2.8.6-alt1 не возмущён.