Package Details: qdigidoc4 4.8.0.4476-1

Git Clone URL: https://aur.archlinux.org/qdigidoc4.git (read-only, click to copy)
Package Base: qdigidoc4
Description: DigiDoc4 Client is an application for digitally signing and encrypting documents; the software includes functionality to manage Estonian ID-card - change pin codes, update certificates etc.
Upstream URL: https://www.id.ee/
Keywords: esteid
Licenses: LGPL-2.1-or-later
Submitter: kevku
Maintainer: kevku
Last Packager: kevku
Votes: 18
Popularity: 0.92
First Submitted: 2018-06-13 16:22 (UTC)
Last Updated: 2025-06-25 05:09 (UTC)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

zeroconf commented on 2022-08-17 13:06 (UTC) (edited on 2022-08-17 13:07 (UTC) by zeroconf)

AFAIK the PKGBUILD file is fixed against Qt5 and it works in my machine. I've installed it already in several machines and all working! I had also that Qt6 issue initially if you look my previous messages here. Thanks to @kevku the PKGBUILD is fixed in AUR.

Still you can do it also manually:

mkdir /tmp/build-qdigidoc4 && cd /tmp/build-qdigidoc4
wget -q --show-progress https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=qdigidoc4 -O PKGBUILD

check the section build() in file PKGBUILD at downloaded /tmp/build-qdigidoc4/ folder:

build() {
  cd "$srcdir/$pkgname-$pkgver/$pkgname-build"
  export BUILD_NUMBER=${pkgver##*.}
  cmake .. -DCMAKE_C_FLAGS:STRING="${CFLAGS} -ffile-prefix-map=$srcdir=." \
           -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} -ffile-prefix-map=$srcdir=." \
           -DCMAKE_EXE_LINKER_FLAGS:STRING="${LDFLAGS}" \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DCMAKE_INSTALL_LIBDIR="lib" \
           -DCMAKE_INSTALL_SYSCONFDIR="/etc" \
           -DQT_DIR="/usr/lib/cmake/Qt5"
  make
}

In order to define the Qt5 usage, according previous suggestion, there must be the line:

-DQT_DIR="/usr/lib/cmake/Qt5"

As you can see, that line already exist in PKGBUILD at AUR. If you need any other parameter there in PKGBUILD, you can insert these.

Then you can continue:

makepkg -s --install
cd ..
rm -fr build-qdigidoc4

Although such manual installing is not suggested, can be done if no other ways are available.

kevku commented on 2022-08-17 04:22 (UTC) (edited on 2022-08-17 04:22 (UTC) by kevku)

use clean chroot to build. I cant help you with whatever garbage you have installed on your machine.

fnix commented on 2022-08-17 01:10 (UTC)

Any progress? This package is unusable as-is.

fnix commented on 2022-08-08 20:02 (UTC)

Still getting the same error as others before.

CMake Error at CMakeLists.txt:18 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt component "Svg".

  Expected Config file at "/usr/lib64/cmake/Qt6Svg/Qt6SvgConfig.cmake" does
  NOT exist

  Failed to find Qt component "LinguistTools".

  Expected Config file at
  "/usr/lib64/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
  exist

zeroconf commented on 2022-07-21 18:55 (UTC)

Sounds like PKGBUILD was still overwritten somehow. But now it worked (noticed changes in PKGBUILD at AUR) and could compile DigiDoc on two computers for now, some PCs still left. Again - big thanks for patience, quick responses and taking care of code in AUR! I'm really glad, that I did not need to tackle with chroot in order to install DigiDoc.

kaurman commented on 2022-07-21 18:35 (UTC)

Just to clear this up... Where do you get your pkgbuild from, if it isn't from here?

demiluxmed commented on 2022-07-21 18:27 (UTC) (edited on 2022-07-21 19:12 (UTC) by demiluxmed)

With the addition of "-DQT_DIR="/usr/lib/cmake/Qt5"" it worked on my machine.

Did get the same error as zeroconf before.

Thanks for editing the PKGBUILD file! (latest build here)

zeroconf commented on 2022-07-21 17:58 (UTC) (edited on 2022-07-21 18:15 (UTC) by zeroconf)

Tried to add that -DQT_DIR="/usr/lib/cmake/Qt5" before final "y" entering during install into ~/.cache/yay/qdigidoc4/PKGBUILD file into build section:

build() {
  cd "$srcdir/$pkgname-$pkgver/$pkgname-build"
  export BUILD_NUMBER=${pkgver##*.}
  cmake .. -DCMAKE_C_FLAGS:STRING="${CFLAGS} -ffile-prefix-map=$srcdir=." \
           -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} -ffile-prefix-map=$srcdir=." \
           -DCMAKE_EXE_LINKER_FLAGS:STRING="${LDFLAGS}" \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DCMAKE_INSTALL_LIBDIR="lib" \
           -DCMAKE_INSTALL_SYSCONFDIR="/etc" \
           -DQT_DEFAULT_MAJOR_VERSION=5
           -DQT_DIR="/usr/lib/cmake/Qt5"
  make
}

... did not help, still same error :(

Actually that folder exists, checked:

ls /usr/lib/cmake/Qt5/
Qt5Config.cmake  Qt5ConfigVersion.cmake  Qt5ModuleLocation.cmake

Even Qt6 folder exist

ls /usr/lib/cmake/Qt6/
3rdparty                                  FindWrapOpenSSL.cmake             QtBuildInternals                          QtPluginConfig.cmake.in
config.tests                              FindWrapOpenSSLHeaders.cmake      QtCMakeHelpers.cmake                      QtPluginDependencies.cmake.in
FindATSPI2.cmake                          FindWrapPCRE2.cmake               QtCMakePackageVersionFile.cmake.in        QtPluginHelpers.cmake
FindCups.cmake                            FindWrapPNG.cmake                 QtCMakeVersionHelpers.cmake               QtPlugins.cmake.in
FindDB2.cmake                             FindWrapRt.cmake                  QtCompilerFlags.cmake                     QtPostProcess.cmake
FindDirectFB.cmake                        FindWrapSystemFreetype.cmake      QtCompilerOptimization.cmake              QtPostProcessHelpers.cmake
Finddouble-conversion.cmake               FindWrapSystemHarfbuzz.cmake      QtConfigDependencies.cmake.in             QtPrecompiledHeadersHelpers.cmake
FindGLESv2.cmake                          FindWrapSystemJpeg.cmake          QtCopyFileIfDifferent.cmake               QtPriHelpers.cmake
FindGSSAPI.cmake                          FindWrapSystemMd4c.cmake          QtDbusHelpers.cmake                       QtPrlHelpers.cmake
FindGTK3.cmake                            FindWrapSystemPCRE2.cmake         QtDeferredDependenciesHelpers.cmake       QtProcessConfigureArgs.cmake
FindInterbase.cmake                       FindWrapSystemPNG.cmake           QtDocsHelpers.cmake                       QtPublicCMakeHelpers.cmake
FindLibb2.cmake                           FindWrapSystemZLIB.cmake          QtExecutableHelpers.cmake                 QtPublicCMakeVersionHelpers.cmake
FindLibmng.cmake                          FindWrapZLIB.cmake                QtFeature.cmake                           QtPublicDependencyHelpers.cmake
FindLibproxy.cmake                        FindWrapZSTD.cmake                QtFeatureCommon.cmake                     QtPublicFinalizerHelpers.cmake
FindLibsystemd.cmake                      FindWrapVulkan.cmake              QtFileConfigure.txt.in                    QtPublicFindPackageHelpers.cmake
FindLibudev.cmake                         FindWrapVulkanHeaders.cmake       QtFindPackageHelpers.cmake                QtPublicPluginHelpers.cmake
FindMtdev.cmake                           FindWrapWebP.cmake                QtFindWrapConfigExtra.cmake.in            QtPublicTargetHelpers.cmake
FindMySQL.cmake                           FindXKB_COMMON_X11.cmake          QtFindWrapHelper.cmake                    QtPublicWalkLibsHelpers.cmake
FindOracle.cmake                          FindXRender.cmake                 QtFinishPkgConfigFile.cmake               QtPublicWasmToolchainHelpers.cmake
FindPostgreSQL.cmake                      ios                               QtFinishPrlFile.cmake                     QtQmakeHelpers.cmake
FindPPS.cmake                             libexec                           QtFlagHandlingHelpers.cmake               QtResourceHelpers.cmake
FindSlog2.cmake                           macos                             QtFrameworkHelpers.cmake                  QtRpathHelpers.cmake
FindTslib.cmake                           modulecppexports.h.in             QtGenerateExtPri.cmake                    QtSanitizerHelpers.cmake
FindWaylandkms.cmake                      modulecppexports_p.h.in           QtGenerateLibHelpers.cmake                QtScopeFinalizerHelpers.cmake
FindWrapAtomic.cmake                      ModuleDescription.json.in         QtGenerateLibPri.cmake                    QtSeparateDebugInfo.cmake
FindWrapBacktrace.cmake                   PkgConfigLibrary.pc.in            QtGlobalStateHelpers.cmake                QtSeparateDebugInfo.Info.plist.in
FindWrapBrotli.cmake                      platforms                         QtHeadersClean.cmake                      QtSetup.cmake
FindWrapBundledFreetypeConfigExtra.cmake  Qt3rdPartyLibraryConfig.cmake.in  QtInstallHelpers.cmake                    QtSimdHelpers.cmake
FindWrapBundledHarfbuzzConfigExtra.cmake  Qt3rdPartyLibraryHelpers.cmake    QtJavaHelpers.cmake                       QtSingleRepoTargetSetBuildHelpers.cmake
FindWrapBundledLibjpegConfigExtra.cmake   Qt6Config.cmake                   QtLalrHelpers.cmake                       QtStandaloneTestsConfig.cmake.in
FindWrapBundledLibpngConfigExtra.cmake    Qt6ConfigExtras.cmake             QtModuleConfig.cmake.in                   QtSyncQtHelpers.cmake
FindWrapBundledPcre2ConfigExtra.cmake     Qt6ConfigVersion.cmake            QtModuleDependencies.cmake.in             QtTargetHelpers.cmake
FindWrapBundledZLIBConfigExtra.cmake      Qt6ConfigVersionImpl.cmake        QtModuleHelpers.cmake                     QtTestHelpers.cmake
FindWrapDBus1.cmake                       Qt6Dependencies.cmake             QtModuleToolsConfig.cmake.in              qt.toolchain.cmake
FindWrapDoubleConversion.cmake            Qt6Targets.cmake                  QtModuleToolsDependencies.cmake.in        QtToolchainHelpers.cmake
FindWrapFreetype.cmake                    Qt6VersionlessTargets.cmake       QtModuleToolsVersionlessTargets.cmake.in  QtToolHelpers.cmake
FindWrapHarfbuzz.cmake                    QtAndroidHelpers.cmake            QtNoLinkTargetHelpers.cmake               QtWasmHelpers.cmake
FindWrapIconv.cmake                       QtAppHelpers.cmake                QtPkgConfigHelpers.cmake                  QtWrapperScriptHelpers.cmake
FindWrapJasper.cmake                      QtAutogenHelpers.cmake            QtPlatformAndroid.cmake                   QtWriteArgsFile.cmake
FindWrapJpeg.cmake                        QtBuild.cmake                     QtPlatformSupport.cmake
FindWrapOpenGL.cmake                      QtBuildInformation.cmake          QtPlatformTargetHelpers.cmake

This PKGBUILD file gets overwritten when updating or installing (regardless of clean build answer), so there is needed to catch up the right moment, when to write that last row into build section in that file in order to ensure it is kept there for installation.

kevku commented on 2022-07-21 17:44 (UTC)

try -DQT_DIR="/usr/lib/cmake/Qt5"

zeroconf commented on 2022-07-21 17:34 (UTC) (edited on 2022-07-21 17:44 (UTC) by zeroconf)

I'm not using any script in AUR (sorry, not familiar with that), just mentioned one existing eID installation script, that actually has same commands, what we usually type to CLI. I currently try to install directly in CLI and it does not work as of broken dependency. This is broken not only for me.