On 6/19/2018 6:23 AM, mark mitchell wrote:
Version 10.7.6 at
https://drive.google.com/drive/u/0/folders/0B5_zuEeNEicQY1U0dFRYWTZqblU
should have the suggested changes. I'd be glad to fix any other issues.


Mark,
attached modified version to solve some minor issues
and to use a standard 10.7.6 version.

The remaining issue is that help/documentation should not be under
/usr/bin/documentation

$ cygport engauge.cygport list
/usr/bin/documentation/engauge.qch
/usr/bin/documentation/engauge.qhc
/usr/bin/engauge.exe
/usr/share/doc/engauge/LICENSE
/usr/share/doc/engauge/README.md


I suggest
/usr/share/doc/engauge/engauge.qch
/usr/share/doc/engauge/engauge.qhc

or
/usr/share/engauge/engauge.qch
/usr/share/engauge/engauge.qhc

I assume you need to set some variable
to allow the binary find them in the new place

Regards
Marco
inherit qt5-qmake

VERSION=10.7.6

SRC_URI="http://github.com/markummitchell/engauge-digitizer/archive/v${VERSION}.zip";
SRC_DIR="engauge-digitizer-${VERSION}"
NAME="engauge"
RELEASE=1
CATEGORY="Math"
LOG_DIR=/tmp
LOG4CPP_HOME=${S}/dev/cygport/log4cpp_null
FFTW_HOME=/usr
CYGQMAKE5_ARGS="CONFIG+=cygport CONFIG+=log4cpp_null"
SUMMARY="Convert graph images to numeric data"
DESCRIPTION="Engauge Digitizer digitizes images of graphs into numbers"
HOMEPAGE="http://github.com/markummitchell/engauge-digitizer";
PATCH_URI="
        engauge-no-undefined.patch
        engauge-webkit.patch
"

DIFF_EXCLUDES="engauge.qch engauge.qhc"

src_compile() {
              cd ${B}
              qt5_qmake_compile
              cd ${S}/help
              dos2unix build
              ./build
              cp -r ../bin/documentation ${B}/bin
}

src_install() {
              dobin ${B}/bin/engauge.exe
              cp -r ${B}/bin/documentation ${D}/usr/bin
              rm ${D}/usr/bin/documentation/.gitignore
}

Reply via email to