Page MenuHome GnuPG

gpg4win: Make the AppImage build work with the new Docker-based build script
Testing, NormalPublic

Description

We want to be able to build an AppImage equivalent of Gpg4win 5.x as easy as a build of Gpg4win 5.x.

Revisions and Commits

rKLEOPATRA Kleopatra
rW Gpg4win

Event Timeline

ikloecker created this task.
ikloecker moved this task from Backlog to WIP on the gpd5x board.

Just so that its not overlooked and you are meaning something different. But I had the Qt6 / KF6 branch working with the --appimage parameter.

aheinecke: Yeah, but I did quite some changes to build.sh for a real out-of-source build (w/o copying files)

Building an AppImage including Kleopatra and Okular works now (again) in the gpg4win-5-branch.


ikloecker changed the task status from Open to Testing.Feb 10 2025, 3:19 PM
ikloecker moved this task from WIP to QA on the gpd5x board.

Needs to be tested/verified by other developers. In short you do

./autogen.sh
cd packages
./download.sh
cd ..
./build.sh --appimage --builddir=...

If you omit the --builddir=... option then ~/b/SRCDIRNAME-appimage will be used.

FWIW, for gpd and vsd we should use a different icon (blue head for gpd and red head for vsd)

Okay. We now replace the standard Breeze icon of kleopatra with the red head for vsd and with a new blue head for gpd. The replacements are used for the About action and in the About dialog, but kwin (X11) insists on using the standard icon as window icon. And the system tray also shows the standard symbolic Breeze icon instead of the replacements. strace shows that the replacement icons embedded in the AppImage are loaded. No idea why kwin and the system tray still use the standard icons.

Screenshot of default build with VSD icon:

Screenshot of default build with GPD icon:

I think the blue icon needs to be improved.

currently not testable. some urls in download.sh are broken (404):

line 89: downloading https://fukuchi.org/works/qrencode//qrencode-4.1.1.tar.gz failed
line 90: checking qrencode-4.1.1.tar.gz failed
line 241: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qtbase-everywhere-src-6.7.3.tar.xz failed
line 242: checking qtbase-6.7.3.tar.xz failed
line 249: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qttools-everywhere-src-6.7.3.tar.xz failed
line 250: checking qttools-6.7.3.tar.xz failed
line 257: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qtsvg-everywhere-src-6.7.3.tar.xz failed
line 258: checking qtsvg-6.7.3.tar.xz failed
line 265: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qttranslations-everywhere-src-6.7.3.tar.xz failed
line 266: checking qttranslations-6.7.3.tar.xz failed
line 273: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qthttpserver-everywhere-src-6.7.3.tar.xz failed
line 274: checking qthttpserver-6.7.3.tar.xz failed
line 281: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qtwebsockets-everywhere-src-6.7.3.tar.xz failed
line 282: checking qtwebsockets-6.7.3.tar.xz failed
line 289: downloading http://download.qt.io/official_releases/qt//6.7/6.7.3/submodules/qtwayland-everywhere-src-6.7.3.tar.xz failed
line 290: checking qtwayland-6.7.3.tar.xz failed
some files failed to download or checksums are not matching

after https://dev.gnupg.org/rW14d86c01819ef3ddbc7f03b34e821e367cea3b02 only qrencode is left:

line 89: downloading https://fukuchi.org/works/qrencode//qrencode-4.1.1.tar.gz failed
line 90: checking qrencode-4.1.1.tar.gz failed