Package Details: autenticacao-gov-pt 3.12.0-3

Git Clone URL: https://aur.archlinux.org/autenticacao-gov-pt.git (read-only, click to copy)
Package Base: autenticacao-gov-pt
Description: Portuguese Citizen Card Application (Portugal eID)
Upstream URL: http://www.cartaodecidadao.pt/
Keywords: autenticacao cartao cartaodecidadao cidadao de gov portugal pt
Licenses: GPL2, LGPL3, custom:EUPL
Conflicts: cartaodecidadao, cartaodecidadao-bin, classpath
Replaces: cartaodecidadao
Submitter: r3pek
Maintainer: a36233
Last Packager: a36233
Votes: 20
Popularity: 0.001394
First Submitted: 2015-10-18 15:16 (UTC)
Last Updated: 2024-07-29 08:48 (UTC)

Latest Comments

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

a36233 commented on 2021-09-30 08:24 (UTC)

@ruifm check your java installation you probably miss jdk{X}-openjdk packages I've updated makedepends and depends to be easier. Double check $ archlinux-java status and set a specific version if needed: $ sudo archlinux-java set java-17-openjdk

ruifm commented on 2021-09-27 16:13 (UTC) (edited on 2021-09-29 08:05 (UTC) by ruifm)

Fails since last change to PKGBUILD with:

g++ -c -pipe -fPIC -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=gnu++11 -fPIC -DPTEID_35 -DEIDMW_PREFIX=/usr/local -DEIDMW_CMN_EXPORT -DEIDMW_EIDLIB_EXPORTS -DEIDMW_JAVA_WRAPPER -I. -I. -I../applayer -I../dialogs -I../common -I../cardlayer -I../eidlib -I/usr/lib/jvm/java-11-openjdk-amd64/include -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux -I/usr/include/PCSC -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux -I/usr/lib/qt/mkspecs/linux-g++ -o eidlibJava_Wrapper.o GeneratedFiles/eidlibJava_Wrapper.cpp
GeneratedFiles/eidlibJava_Wrapper.cpp:178:10: fatal error: jni.h: No such file or directory
  178 | #include <jni.h>
      |          ^~~~~~~
compilation terminated.
make[1]: *** [Makefile:874: eidlibJava_Wrapper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/makepkg/autenticacao-gov-pt/src/autenticacao.gov/pteid-mw-pt/_src/eidmw/eidlibJava_Wrapper'
make: *** [Makefile:401: sub-eidlibJava_Wrapper-make_first-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'autenticacao-gov-pt-3.6.1-1':

degovial commented on 2021-09-25 03:24 (UTC)

@a36233 thank you, it is working now.

a36233 commented on 2021-09-24 19:09 (UTC) (edited on 2021-09-24 19:10 (UTC) by a36233)

@joserebelo thanks for the heads up, i'll test it and if works I'll merge the changes. @degovial that's a known issue, Chave móvel digital module has to be generated with validated key/certificate... Only solution for now is to use pre built binary version present on the https://aur.archlinux.org/packages/autenticacao-gov-pt-bin/ package.

degovial commented on 2021-09-24 18:44 (UTC) (edited on 2021-09-24 18:45 (UTC) by degovial)

On Manjaro, the application does not allow PDF validation with Chave Móvel Digital. Is it an expected behaviour, or am I missing something?

I also installed the optional packages:

https://aur.archlinux.org/autenticacao-gov-pt-pki.git

https://aur.archlinux.org/plugin-autenticacao-gov-pt.git

https://aur.archlinux.org/ecce-gov-pt-certificates.git

joserebelo commented on 2021-07-15 17:55 (UTC) (edited on 2021-07-15 17:58 (UTC) by joserebelo)

@a36233 can we consider dropping the sudo calls in prepare()? They don't seem to be needed anymore:

  • I managed to build/run it on java 16
  • The includes for openjpeg do not seem to be needed
  • The includes for jni can be replaced with the following:
cat >> ${srcdir}/${_pkgname}/pteid-mw-pt/_src/eidmw/eidlibJava_Wrapper/eidlibJava_Wrapper.pro <<EOF
INCLUDEPATH += /usr/lib/jvm/default/include
INCLUDEPATH += /usr/lib/jvm/default/include/linux
EOF

nunonun commented on 2021-02-04 19:32 (UTC)

Thanks, @36233. Compiling with 'makepkg -s -c -f' solves the problem. For those who need, after compiling, just install with 'sudo pacman -U ./autenticacao-gov-pt-3.4.0-1-x86_64.pkg.tar.zst' or right-click the file and select "Open with Software Install".

a36233 commented on 2021-02-04 18:39 (UTC)

@nunonun that's your own (or local) gpg key. if you want to validate it with pacman you need to locally sign it. Otherwise you can just delete the signature and install without validation of the signature, since it was you that generated the file.

PS: to locally sign your key use the -lsign. More info at: https://wiki.archlinux.org/index.php/Pacman/Package_signing

nunonun commented on 2021-02-04 18:33 (UTC) (edited on 2021-02-04 18:34 (UTC) by nunonun)

@36233 I followed your instructions('makepkg --sign -s -c -f' inside the cloned folder) and successfully compiled the package. However, I cannot manage to install it. I tried

$ sudo pacman -U ./autenticacao-gov-pt-3.4.0-1-x86_64.pkg.tar.zst

but after accepting

:: Import PGP key 24780F1B47B32D52, "Unknown Packager"? [Y/n]

I get the following error messages:

error: key "24780F1B47B32D52" could not be looked up remotely error: required key missing from keyring error: './autenticacao-gov-pt-3.4.0-1-x86_64.pkg.tar.zst': unexpected error

I reloaded the signature keys with

$ sudo pacman -Syy && sudo pacman-key --refresh-keys && sudo pacman-key --populate archlinux manjaro

and tried to install the autenticacao-gov-pt pkg.tar.zst package again, but with no avail. Any hint on how can I solve this issue?

a36233 commented on 2021-01-15 17:53 (UTC)

@cbsousa it is working. Just compile it the Arch way (makepkg --sign -s -c -f) at command line.