diff options
Diffstat (limited to 'graphics/digikam')
-rw-r--r-- | graphics/digikam/digikam.SlackBuild | 6 | ||||
-rw-r--r-- | graphics/digikam/libpgf.patch | 33 |
2 files changed, 37 insertions, 2 deletions
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild index 93c6d760f6320..dd492bcb28500 100644 --- a/graphics/digikam/digikam.SlackBuild +++ b/graphics/digikam/digikam.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for digiKam # Copyright 2007-2011 Frank Caraballo <fecaraballo{at}gmail{dot}com> -# Copyright 2013-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=digikam VERSION=${VERSION:-4.14.0} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,6 +74,8 @@ patch -p1 < $CWD/lensfun-0.3.2.patch sed -e '/fno-tree-pre/d' -i CMakeLists.txt cd .. +patch -p0 < $CWD/libpgf.patch + mkdir -p build cd build cmake \ diff --git a/graphics/digikam/libpgf.patch b/graphics/digikam/libpgf.patch new file mode 100644 index 0000000000000..5d2e7498bbe8c --- /dev/null +++ b/graphics/digikam/libpgf.patch @@ -0,0 +1,33 @@ +--- core/libs/dimg/loaders/pgfloader.cpp.orig 2019-03-17 16:52:40.102888509 +0700 ++++ core/libs/dimg/loaders/pgfloader.cpp 2019-03-17 16:52:51.404020146 +0700 +@@ -442,14 +442,6 @@ + } + } + +-#ifdef PGFCodecVersionID +-# if PGFCodecVersionID < 0x061142 +- header.background.rgbtBlue = 0; +- header.background.rgbtGreen = 0; +- header.background.rgbtRed = 0; +-# endif +-#endif +- + pgf.SetHeader(header); + + // NOTE: see bug #273765 : Loading PGF thumbs with OpenMP support through a separated thread do not work properlly with libppgf 6.11.24 +--- core/libs/threadimageio/pgfutils.cpp.orig 2019-03-17 17:07:35.586244318 +0700 ++++ core/libs/threadimageio/pgfutils.cpp 2019-03-17 17:07:47.110376670 +0700 +@@ -262,13 +262,6 @@ + header.mode = ImageModeRGBA; + header.usedBitsPerChannel = 0; // Auto + +-#ifdef PGFCodecVersionID +-# if PGFCodecVersionID < 0x061142 +- header.background.rgbtBlue = 0; +- header.background.rgbtGreen = 0; +- header.background.rgbtRed = 0; +-# endif +-#endif + pgfImg.SetHeader(header); + + // NOTE: see bug #273765 : Loading PGF thumbs with OpenMP support through a separated thread do not work properlly with libppgf 6.11.24 |