[MacPorts] #52471: kmymoney4(-devel): currently fail to build due to qqpgpme

MacPorts noreply at macports.org
Wed Oct 5 23:29:23 CEST 2016


#52471: kmymoney4(-devel): currently fail to build due to qqpgpme
----------------------------------------+------------------
  Reporter:  mk@…                       |      Owner:  mk@…
      Type:  defect                     |     Status:  new
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:
Resolution:                             |   Keywords:
      Port:  kmymoney4,kmymoney4-devel  |
----------------------------------------+------------------

Comment (by mk@…):

 Despite this:
 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 153452)
 +++ Portfile    (working copy)
 @@ -45,7 +45,8 @@

  patch.dir           ${workpath}/${distname}
  patch.pre_args      -p1
 -patchfiles          patch-mainRaster.diff
 +patchfiles          patch-mainRaster.diff \
 +                    patch-CMakeLists_QGPGME.txt.diff
  #
  # OK, let's try building with documentation and see whether we end up
 with meinproc crashing again:
  #
 Index: files/patch-CMakeLists_QGPGME.txt.diff
 ===================================================================
 --- files/patch-CMakeLists_QGPGME.txt.diff      (nonexistent)
 +++ files/patch-CMakeLists_QGPGME.txt.diff      (working copy)
 @@ -0,0 +1,18 @@
 +*** kmymoney-4.7.2/CMakeLists.txt      Sat Apr 25 19:20:16 2015
 +--- kmymoney-4.7.2/CMakeLists.txt      Wed Oct  5 23:14:44 2016
 +***************
 +*** 70,75 ****
 +--- 70,82 ----
 +  endif (WIN32)
 +  # needed by libkgpgfile
 +  find_package(QGpgme REQUIRED)
 ++
 ++ # This is specific for MacPorts, as it ships a newer version of gpgme
 (1.7.0)
 ++ if (QGPGME_FOUND)
 ++   set(GPGME_INCLUDES "%PREFIX%/include/kde4")
 ++   include_directories(${GPGME_INCLUDES})
 ++ endif (QGPGME_FOUND)
 ++
 +  find_package(KdepimLibs REQUIRED)
 +  find_package(SharedMimeInfo REQUIRED)
 +
 }}}
 I still get above error concerning not being able to find
 {{{gpgmepp_export.h}}}, although the file is installed by
 {{{port:gpgme}}}:
 {{{
 $ port contents gpgme | grep _export
   /opt/local/include/gpgme++/gpgmepp_export.h
 }}}
 Well, and the to-be-used file is actually using "++" instead of "pp":
 {{{
 $ ls /opt/local/include/kde4/gpgme++/gpgme*_export.h
 /opt/local/include/kde4/gpgme++/gpgme++_export.h
 }}}
 What can/should be done about this! René, you described this situation
 already...

-- 
Ticket URL: <https://trac.macports.org/ticket/52471#comment:7>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list