Package Details: qdigidoc4 4.5.1.4455-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: 20
Popularity: 1.32
First Submitted: 2018-06-13 16:22 (UTC)
Last Updated: 2024-04-19 07:01 (UTC)

Latest Comments

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

fnix commented on 2022-08-18 17:34 (UTC)

Not the peculiarities of every possible system; just those that keep recurring and are hence not particularly rare (which I doubt Qt6 is).

Either way, since the PKGBUILD is ostensibly already fixed with an explicit path to the correct version of Qt, why is it still throwing an error about Qt6?

kaurman commented on 2022-08-18 05:25 (UTC)

Fnix, I think you are missing the point. The suggestion to use clean chroot is nothing personal. It's just that it is very hard to take into account the peculiarities of every possible system. It's just not worth the trouble as readily available solutions exist already, and one can always use an officially supported system.

And yet, over and over again there are complaints about the free pkgbuild not working when it is working just fine. Look at it from the maintainer's point of view;)

fnix commented on 2022-08-18 02:29 (UTC)

So the issue in my case is that the presence of Qt6 (or “garbage”, according to the packager) messes up the paths to Qt5 – which however shouldn't occur in the first place as the correct Qt directory is explicitly defined in PKGBUILD?

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)