https://bugs.kde.org/show_bug.cgi?id=411429

            Bug ID: 411429
           Summary: Dimg test doesn't compile with latest imagemagick
           Product: digikam
           Version: 6.2.0
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: clement...@gmail.com
  Target Milestone: ---

SUMMARY
Doesn't compile with latest imagemagick

STEPS TO REPRODUCE
1. emerge digikam

OBSERVED RESULT
/var/tmp/portage/media-gfx/digikam-6.2.0/work/digikam-6.2.0/core/tests/dimg/magi
ckloader.cpp: In function ‘int main(int, char**)’:
/var/tmp/portage/media-gfx/digikam-6.2.0/work/digikam-6.2.0/core/tests/dimg/magi
ckloader.cpp:142:45: error: ‘const MagickInfo’ {aka ‘const struct
MagickCore::_M
agickInfo’} has no member named ‘module’; did you mean ‘_module’?
         QString module = QLatin1String(inf->module);
                                             ^~~~~~
                                             _module

EXPECTED RESULT
Compiles

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.4
Kernel Version: 4.19.66-gentoo
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2500K CPU @ 3.30GHz
Memory: 15.6 GiB of RAM

media-gfx/imagemagick-7.0.8.60

ADDITIONAL INFORMATION

Caused by this commit:
https://github.com/ImageMagick/ImageMagick/commit/3175621ed5442e8f353e0f9db1da5a7bfb07b928

Problem on our side still in latest master:
https://invent.kde.org/kde/digikam/blob/master/core/tests/dimg/magickloader.cpp#L142

We could just rename module to magick_module but then it won't compile with
older imagemagick. Might need some macro trickery to support both new and old.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to