OSX/CI: kipi-plugins fail to build on branch frameworks

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OSX/CI: kipi-plugins fail to build on branch frameworks

Marko Käning
Hi digikam devs,

today I have created a kipi-plugins_master_qt5 Jenkins job for you folks
which does actually succeed on Linux/CI [1]. :)




But when trying to build kipi-plugins also on my OSX/CI system I caught two errors:
---
/Users/marko/WC/KDECI-builds/kf5-qt5/kipi-plugins/sendimages/emailsettings.h:117:30: error: use of undeclared identifier 'HUGE'
        else if(imageSize == HUGE)
                             ^

In file included from /Users/marko/WC/KDECI-builds/kf5-qt5/kipi-plugins/sendimages/imageresize.cpp:50:
/Users/marko/WC/KDECI-builds/kf5-qt5/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.h:39:10: fatal error: 'jpeglib.h' file not found
#include <jpeglib.h>
         ^
---
I’ve attached the gzipped full log.



I have no clue about the first, but the second is surely caused by the fact that
the project locates the jpeg library improperly.
It’s below /opt/local on my OSX/CI system:
---
MVM2:scripts marko$ port contents jpeg
Port jpeg contains:
  /opt/local/bin/cjpeg
  /opt/local/bin/djpeg
  /opt/local/bin/jpegtran
  /opt/local/bin/rdjpgcom
  /opt/local/bin/wrjpgcom
  /opt/local/include/jconfig.h
  /opt/local/include/jerror.h
  /opt/local/include/jmorecfg.h
  /opt/local/include/jpeglib.h
  /opt/local/lib/libjpeg.9.dylib
  /opt/local/lib/libjpeg.a
  /opt/local/lib/libjpeg.dylib
---



Suggestions on how these errors could be fixed?

        Please keep me CC’ed, as I am not subscribed to this ML!

Greets,
Marko


[1] http://build.kde.org/view/FAILED/job/kipi-plugins_master_qt5/2/



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

kipi-plugins.log.gz (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OSX/CI: kipi-plugins fail to build on branch frameworks

Marko Käning

On 14 Mar 2015, at 10:25 , Marko Käning <[hidden email]> wrote:
>        else if(imageSize == HUGE)

This has been resolved in [1].

       

> In file included from /Users/marko/WC/KDECI-builds/kf5-qt5/kipi-plugins/sendimages/imageresize.cpp:50:
> /Users/marko/WC/KDECI-builds/kf5-qt5/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.h:39:10: fatal error: 'jpeglib.h' file not found
> #include <jpeglib.h>
>         ^

This I still have NO solution for, but it’s a widespread issue for quite a
few KDE projects! Everyone just assumes that all will be found in /usr ...

E.g. KFileMetadata once had it - regarding taglib - and David fixed it [2].
I think something similar might need to be done for the jpeg library, which
does not have pkgconfig support at the moment.



> Please keep me CC’ed, as I am not subscribed to this ML!

Now I am. :)





[1] http://quickgit.kde.org/?p=kipi-plugins.git&a=commitdiff&h=28e1342918b2703afeb6f7ed3c661da227612f42


[2] https://mail.kde.org/pipermail/kde-frameworks-devel/2015-January/021396.html
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel