Closed jagajaga closed 8 years ago
These deps were used:
buildInputs = [ cmake ccid qttools pkgconfig pcsclite qttranslations
hicolor_icon_theme libdigidocpp opensc shared_mime_info
openldap gettext desktop_file_utils esteidcerts ];
Seems like downloading TSL files fails
Generating TSL.qrc, tl-mp.xml, EE.xml
Is this build envirenment offline? Probably you can create patch and bundle latest TSL files.
https://ec.europa.eu/information_society/policy/esignature/trusted-list/tl-mp.xml -> tl-mp.xml
sr.riik.ee/tsl/estonian-tsl.xml -> EE.xml
TSL.qrc:
<RCC><qresource prefix="TSL"><file>tl-mp.xml</file><file>EE.xml</file></qresource></RCC>
@metsma yes, it's an offline sandboxed build (using https://NixOS.org/nix). I will try this hint, thanks for the solution.
buildInputs = [ cmake ccid qttools pkgconfig pcsclite qttranslations hicolor_icon_theme libdigidocpp opensc shared_mime_info openldap gettext desktop_file_utils esteidcerts ];
add fonts-liberation also to runtime dependency for best UI experience
and esteidcerts is deprecated requirement
@metsma I need to put these files in a root directory of a project or somewhere else?
You can probably comment out
https://github.com/open-eid/qdigidoc/blob/master/client/CMakeLists.txt#L3-L10
and replace
https://github.com/open-eid/qdigidoc/blob/master/client/CMakeLists.txt#L23
set( RC_FILES images/images.qrc ${CMAKE_CURRENT_BINARY_DIR}/tr.qrc ${CMAKE_CURRENT_BINARY_DIR}/TSL.qrc )
with
set( RC_FILES images/images.qrc ${CMAKE_CURRENT_BINARY_DIR}/tr.qrc TSL.qrc )
and add files to qdigidoc/client folder
Built was successful. Thank you.
But now I'm getting runtime error: Failed to load PKCS#11 module opensc-pkcs11.so
.
opensc-pkcs11.so
what do I need to patch to provide my own path to this library?
BTW qesteidutil
works fine on my machine (built manually surely).
Fixed by providing LD_LIBRARY_PATH : /path/to/lib/pkcs11/
.
Updated https://github.com/open-eid/qdigidoc/wiki/DeveloperTips wiki, feel free to improve
Thank you.
Hello! Trying to build the 3.12.0.1442 version. But it failed.