Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636656 - media-gfx/fim-0.5_rc3 version bump
Summary: media-gfx/fim-0.5_rc3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-05 19:16 UTC by turtle
Modified: 2018-03-24 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (fim-0.5_rc3.ebuild,2.40 KB, text/plain)
2017-11-05 19:16 UTC, turtle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description turtle 2017-11-05 19:16:09 UTC
Created attachment 502748 [details]
ebuild

Greetings I noticed the FIM version on Gentoo is quite old and decided to see if I could compile fim-0.5_rc3 with:
Poppler 0.57.0
Libexif 0.6.21-r1
gcc x86_64-pc-linux-gnu-6.4.0

I only ran into to two small issues so I thought I would pass this info along.
The first was in FbiStuffJpeg.cpp around line 182
the line "nsp->setVariable(string("EXIF_") + title,value);"
Would cause an error:
"FbiStuffJpeg.cpp:182:36: error: ambiguous overload for ‘operator+’ (operand types are ‘fim::string’ and ‘const fim_char_t* {ak
a const char*}’)
  nsp->setVariable(string("EXIF_") + title,value);"

The second was in FbiStuffPdf.cpp:
In function ‘void* fim::pdf_init(FILE*, const fim_char_t*, unsigned int, fim::ida_image_info*, int)’:
FbiStuffPdf.cpp:202:116: error: no matching function for call to ‘SplashOutputDev::SplashOutputDev(SplashColorMode&, int, bool
, Guchar*&, GBool&, bool)’
         ds->od = new SplashOutputDev(gSplashColorMode, /*4*/3, gFalse, gBgColor, bitmapTopDown,gFalse/*antialias*/);


I can confirm if I comment out those lines the compilation succeeds, and FIM works on x86_64.
Hope this saves someone some time.
Cheers
Comment 1 Larry the Git Cow gentoo-dev 2018-03-24 15:32:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeded3688ae9bda56646423b6993965d128a17b0

commit aeded3688ae9bda56646423b6993965d128a17b0
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2018-03-24 15:29:43 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2018-03-24 15:31:47 +0000

    media-gfx/fim: version bump to 0.5_rc3
    
    Add graphics as another maintainer.
    
    Closes: https://bugs.gentoo.org/636656

 media-gfx/fim/Manifest                       |   1 +
 media-gfx/fim/files/fim-0.5_rc3-jpeg.patch   |  13 ++++
 media-gfx/fim/files/fim-0.5_rc3-libsdl.patch |  27 +++++++
 media-gfx/fim/fim-0.5_rc3.ebuild             | 105 +++++++++++++++++++++++++++
 media-gfx/fim/metadata.xml                   |  24 +++---
 5 files changed, 161 insertions(+), 9 deletions(-)