Package Details: autenticacao-gov-pt 3.12.0-2

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.184576
First Submitted: 2015-10-18 15:16 (UTC)
Last Updated: 2024-03-11 23:06 (UTC)

Dependencies (24)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

cvalente commented on 2024-01-10 01:54 (UTC) (edited on 2024-01-10 02:15 (UTC) by cvalente)

Duplicate fonts files:

fdupes -r /usr/share/fonts/pteid/ /usr/share/pteid-mw/fonts/
/usr/share/fonts/pteid/lato/Lato-Regular.ttf
/usr/share/pteid-mw/fonts/Lato-Regular.ttf

Also, the flatpak only has folder under

ls  ./share/pteid-mw/fonts/
Lato-Regular.ttf  MyriadPro-Bold.otf  MyriadPro-Regular.otf

cvalente commented on 2023-12-26 01:52 (UTC)

Outdated.

The current version is 3.11.0 but uses the old openssl version 1.1 and the development has been taking place in that branch.

There's no need for java just for the GUI application

There's also no longer any need for libxerces-c-3.1 The current version works.

There's also a zipfile for every version's source, so no need for git

I've patched the files to build the most current version, depending only on openssl-1.1 as far as specific versions go. This is not fixable as of now without seriously patching the source code.

No more java either. Whoever needs the java bindings can create their own package.

Tested everything but changing address and chave movel digital.

https://pastebin.com/AY0d947b

https://pastebin.com/2VUjfHMF

dllud commented on 2023-01-09 18:22 (UTC) (edited on 2023-01-09 18:22 (UTC) by dllud)

The current version is installing cmake files into /usr/lib/openjpeg-2.3/:

/usr/lib/openjpeg-2.3/OpenJPEGConfig.cmake
/usr/lib/openjpeg-2.3/OpenJPEGTargets-noconfig.cmake
/usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake

These appear to be unnecessary. What's more, they create issues when building anything that uses a CMake build system and depends on openjpeg2. Here's what happens:

CMake Error at /usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake:81 (message):
  The imported target "openjp2" references the file
     "/usr/lib/libopenjp2.so.2.3.1"
  but this file does not exist.

Arch's openjpeg2 is on version 2.5.

Please review all the files installed by your package. Maybe there are other unnecessary files in there.

a36233 commented on 2023-01-02 16:48 (UTC)

@lothar_m have you tried a clean git clone + makepkg? What's the compilation error?

20hvoby5pb commented on 2023-01-02 16:41 (UTC)

Compiled, installed and ran last Friday. No hangups. Just installed it straight from yay. Haven’t tested functionality yet; but the app loaded.

lothar_m commented on 2023-01-02 16:26 (UTC)

As anyone been able to build with the latest PKGBUILD (version 3.8.1, with the openssl-3 patch)? I am still getting the same error, with a fully updated system (openssl 3.0.7-4).

@agrr: Thanks for the feedback. Much appreciated.

a36233 commented on 2022-12-30 14:21 (UTC)

@aggr also any possibility to merge the openssl-3 with 3.9.0 changes?

a36233 commented on 2022-12-30 14:17 (UTC) (edited on 2022-12-30 14:17 (UTC) by a36233)

@aggr thanks for the update. I've changed the default branch to openssl-3. Also repacked the flatpak as AUR package *-bin without kde dependencies, etc.

a36233 commented on 2022-12-30 01:18 (UTC) (edited on 2022-12-30 14:07 (UTC) by a36233)

flatpak image has kde dependencies not really sure why it would be required; I'll have a look to try to repack it as a AUR package. Also there is still upstream issues with the master code branch related to openssl functions redefinitions also not really sure why they do it.

agrr commented on 2022-12-23 16:03 (UTC) (edited on 2022-12-23 19:55 (UTC) by agrr)

Hello Arch users, upstream project developer here.

First, I'd like to inform you that there's a new release out on autenticacao.gov.pt: v3.9.0 with a Flatpak package option (it's labeled as Snap package, AMA's mistake there). It should work also on Arch, feedback is welcome of course on our Github. We were planning to only ship 3.9.0 as flatpak but unfortunately Fedora still needs a native package because of a patched pcsc-lite they have.

@a36233 You're free to still develop a native Arch package but of course you'll have to deal with the changing system libraries like we always did in the past. Case in point: in our Git master we still target openssl 1.1.1 and Arch already upgraded to openssl 3, hence those recent build errors.

One more detail: back in September we released a Ubuntu 22.04 package (v 3.8.1) with openssl 3 support but those changes didn't land in master yet as it was not a priority for us to merge it for all OSs in the 3.9 cycle.

Here's the branch used for that 3.8.1 version, with just 2 commits not in master: https://github.com/amagovpt/autenticacao.gov/commits/openssl-3