[GnuPG Logo]    
· English ·        
Links  
   
 
m [Mon, 11 Nov 2024 07:06:13 +0000 (08:06 +0100)]
removed duplicate entry for gpgme from packages/packages.common

Carl Schwan [Wed, 6 Nov 2024 15:22:14 +0000 (16:22 +0100)]
Bump gpgol.js version

* packages/packages.common: Update gpgol.js to version of 2024-11-06

Werner Koch [Wed, 6 Nov 2024 10:59:50 +0000 (11:59 +0100)]
Update GPGME to 1.24.0

cherry-picked from master branch, preserving changes to packages/packages.common

m [Wed, 6 Nov 2024 12:57:45 +0000 (13:57 +0100)]
updated packages.4 to no longer use the beta version of gnupg 2.4.6

Ingo Klöcker [Thu, 31 Oct 2024 14:16:46 +0000 (15:16 +0100)]
Update installer to no longer installed libkleopatra icons

* src/nsis/inst-libkleo.nsi, src/nsis/uninst-libkleo.nsi: Don't install
and uninstall some icons anymore.
--

The key* icons are now embedded in libkleopatra. The other icons were
not used anywhere and have been removed.

Ingo Klöcker [Wed, 30 Oct 2024 15:53:26 +0000 (16:53 +0100)]
Update installer to removal of images

* src/nsis/inst-kleopatra.nsi, src/nsis/uninst-kleopatra.nsi: Don't
install/uninstall some images anymore.
--

The gpg4win images are now embedded in the executable.

The kleopatra_splashscreen.* and kleopatra_wizard.* images have been
removed. They haven't been used by Kleopatra for ages.

Andre Heinecke [Tue, 8 Oct 2024 10:48:59 +0000 (12:48 +0200)]
Add handling for combined short options like -auf

* packages/gen-tarball.sh: Add handling for combined short options.

--
Yes, me lazy. Also I am using this option parser as a reference
and copy it around so remove the tabs and simplify the case
satement.

Andre Heinecke [Tue, 8 Oct 2024 10:42:17 +0000 (12:42 +0200)]
Merge branch 'master' into kf6

* packages/packages.common: Keep --ours version.
* packages/gen-tarball.sh: Integrate master changes.
* patches/qtbase/fix-high-contrast-item-view-selection-color.patch:
  Ignore modification as we do not have the patch.
* packages/kleopatra-24.05-de-full-translation.po,
packages/libkleopatra-24.05-de-full-translation.po: Removed. Not needed
in KF6
*

Andre Heinecke [Tue, 8 Oct 2024 10:19:57 +0000 (12:19 +0200)]
Update custom_l10n packages with respun tarballs

* packages/packages.common (kleopatra, libkleo, mimetreeparser):
Update.

--
This updates the tarballs with the current version of the
gen-tarball.sh script.

Andre Heinecke [Tue, 8 Oct 2024 10:02:21 +0000 (12:02 +0200)]
Ignore errors if custom_l10n is not found at all

* packages/gen-tarball.sh: If the custon l10n file is not
found in a language do not abort.

--
This fixes the packaging of mimetreeparser that does
not have translations in all of the listed languages.

Andre Heinecke [Tue, 8 Oct 2024 09:43:20 +0000 (11:43 +0200)]
Update gen-tarball to auto update more langs

* packages/gen-tarball.sh: Loop over languages when updating with
custon_l10n
(ingore-msgcat-error): Remove option. Always just warn.

--
This extends the gen-tarball script to also update
locatization from KDE svn for other languages then
german. As a test I have tried with french to check
that the all certificates group was also translated.

This also fixes the order in which msgcat merges
in the local translation to correctly extend the
existing translations.

This remove the ignore-msgcat-error option and just
always prints a warning instead.

Carl Schwan [Tue, 8 Oct 2024 08:03:17 +0000 (10:03 +0200)]
Backport Breeze patch to fix menu and popup shadows on Windows

* patches/breeze: The patch in question

Carl Schwan [Tue, 8 Oct 2024 08:00:43 +0000 (10:00 +0200)]
Update tarball for gpgol.js

* packages/packages.common: Sync gpgol.js tarball with latest master
  state

Carl Schwan [Tue, 8 Oct 2024 07:54:18 +0000 (09:54 +0200)]
Bump KDE Gear dependencies to 24.08.1

* packages/packages.common: Bump version from 24.08.0 to 24.08.1

Ingo Klöcker [Wed, 25 Sep 2024 12:50:28 +0000 (14:50 +0200)]
Add missing document-edit icon

Ingo Klöcker [Wed, 25 Sep 2024 12:49:51 +0000 (14:49 +0200)]
findicons.sh: Sort the list of icons after updating it

Ingo Klöcker [Wed, 25 Sep 2024 11:53:59 +0000 (13:53 +0200)]
Improve findicons.sh

* Find icons using Qt's u""_s string literals
* Only look for exactly matching icon names or for icon names followed
  by a dash so that we also include the more generic icon variants
  because sometimes there is no icon for the more specific full icon
  name. Moreover, this excludes icons with short names which happen to
  match the start of a used icon.
* Look for exact matches when checking for already included icons
* Speed it up by grepping all files only twice recursively

Andre Heinecke [Wed, 25 Sep 2024 11:10:10 +0000 (13:10 +0200)]
Add missing icons for KF5 build

* src/included-icons.txt: Add new icons

--
To find the icons I have just executed the script src/findicons.sh
this needs to be run in a build environment where all source pacakges
are extracted under src/playground/install.

The script is horribly inefficent but reliable enough. I jsust start
it and forget about it and in the end of the day it has added
the new icons to included-icons.txt.

Please note that with KF6 we do not yet filter icons with the
tool sune created. In KF6 all icons are combined in a DLL and then
loaded in every process which uses them. Filtering the icons
for KF6 would drastically reduce the size of the libarary and would
improve the load times. That is why I link the corresponding ticket.

To understand the script just look into it.
To use it just run it without arguments after a successful build
of Gpg4win. Probably overnight ^^.

GnuPG-Bug-Id: T4066

Ingo Klöcker [Tue, 24 Sep 2024 13:14:25 +0000 (15:14 +0200)]
Use standard selection colors for item views only for high-contrast mode

The standard selection colors have bad contrast in normal mode. We
need to keep Qt's Windows Vista style colors in normal mode.

GnuPG-bug-id: 7299

Andre Heinecke [Mon, 23 Sep 2024 14:11:25 +0000 (16:11 +0200)]
Update libkleo with respun tarball

* packages/packages.common (libkleo): Update tarball with local
translation.

Andre Heinecke [Mon, 23 Sep 2024 14:08:35 +0000 (16:08 +0200)]
Add local translation file for libkleo

* packages/gen-tarball.sh: Add local translation for libkleo.
* packages/libkleopatra-24.05-de-full-translation.po: New.

--
Add a local translation for libkle as explained in
rev. 35d177b0f0acd50ec906704f612a5c2915fe72dc for kleopatra.

Andre Heinecke [Mon, 23 Sep 2024 13:56:47 +0000 (15:56 +0200)]
Update Kleopatra to pull in the added translations

* packages/packages.common (kleopatra): Regenerate tarball.

--
This was now just the result of:
gen-tarball.sh --ignore-msgcat-error --auto kleopatra

no manual modification of the sources.

Andre Heinecke [Mon, 23 Sep 2024 13:50:51 +0000 (15:50 +0200)]
Add local translations for kleopatra

* packages/gen-tarball.sh: Use a variable local_l10n additionally to
custom-l10n.
* packages/kleopatra-24.05-de-full-translation.po: New.

--
The full translation is a result of extrating the messages
in the current branch and then msgmerge'ing the translations from
the 24.05 repository and the translations from summit and then
manually fixing up missing strings.
This should hopefully only be neccessary because of the
distance between the gpg4win branch and the current kde translations.

New strings which are also in kleopatra master will still also
be added. So hopefully this should not need to be updated
a second time. See the comment in gen-tarball.sh for additional
details.

Werner Koch [Fri, 20 Sep 2024 13:13:06 +0000 (15:13 +0200)]
Update gnupg-2.4, kleo etc to latest snapshots

--

This is gpg4win-4.3.2-beta50.exe

Andre Heinecke [Sat, 7 Sep 2024 07:04:39 +0000 (09:04 +0200)]
appimage: Disable QML for additional pks

* src/appimage/Makefile.am (kcalendarcore, ktextaddons): Disable
QML and quick.

Andre Heinecke [Sat, 7 Sep 2024 07:03:17 +0000 (09:03 +0200)]
Improve nightly target

* Makefile.am (nightly): Build in PLAY subdir and remove
it for the next build.
* configure.ac (BUILD_DATETIME): New, date that can be uses
in  a filename.

Andre Heinecke [Fri, 6 Sep 2024 16:12:28 +0000 (18:12 +0200)]
Add option to update all frontend pkgs to master

* packages/packages.common  (packages/gen-tarball.sh): Add -f
option.

--
This makes it easy to either locally build from master or
to update the repo.

Andre Heinecke [Wed, 4 Sep 2024 15:44:40 +0000 (17:44 +0200)]
Add QML opt patch for Kcalendarcore to appimage

* Makefile.am (EXTRA_DIST): Add patch.
* patches-appimage/kcalendarcore: Symlink windows patch.

Andre Heinecke [Wed, 4 Sep 2024 14:55:50 +0000 (16:55 +0200)]
Fix addition of -x64 to 64 bit builds

* configure.ac (VERSION): Remove -x64 here.
* src/Makefile.am: Add suffix where apropiate.

--
Just adding this to VERSION was wrong, while this
resulted in the correct files the architecture should
not be part of the VERSION. Instead it is now added
to files, as needed.

Andre Heinecke [Wed, 4 Sep 2024 14:42:48 +0000 (16:42 +0200)]
Update EXTRA_DIST patches

* Makefile.am (EXTRA_DIST): Update patches.
--

Andre Heinecke [Wed, 4 Sep 2024 13:58:59 +0000 (15:58 +0200)]
Update GpgOL checksum

* packages/packages.common (gpgol): Fix checksum.

--
This happens when working on different branches, generating
the same tarball with make dist results in the same version
with a different checksum.

Andre Heinecke [Wed, 4 Sep 2024 13:25:49 +0000 (15:25 +0200)]
Move and doc docker-build.sh to top level build.sh

* docker/docker-build.sh, build.sh: Renmaed.
* README: Update accordingly.

--
This should save some typing and make it more prominent
where to start when building Gpg4win.

Andre Heinecke [Wed, 4 Sep 2024 13:15:39 +0000 (15:15 +0200)]
Move Memento.nsh into nsis subdir

* src/Memento.nsh, src/nsis/Memento.nsh: Move file.

--
The EXTRA_DIST sections already contained this path.

Andre Heinecke [Tue, 3 Sep 2024 12:16:36 +0000 (14:16 +0200)]
Update frontend packages

* pacakges.common (kleopatra, libkleo, gpgpass, gpgol.js, gpgme):
Update.

Andre Heinecke [Mon, 2 Sep 2024 19:15:04 +0000 (21:15 +0200)]
docker: Add --from-git build option

* docker/docker-build.sh (--from-git|--git|-g): Add option
to update frontend packages from git.

--
This can be useful to setup CI or just to get a testing
build of the current development state.

For now this updates:
    gpgme
    libkleo
    kleopatra
    gpgol
    gpgoljs
    gpgpass
    gpg4win-tools
    mimetreeparser

To update additional pacakges see packages/gen-tarball.sh.

Andre Heinecke [Mon, 2 Sep 2024 19:09:09 +0000 (21:09 +0200)]
Always modify packages.common in gen-tarball.sh

* packages/gen-tarball.sh (update): Fix removal of old
package.
* pacakges/gen-tarball.sh: Always replace the package
in packages.common

--
This also always prints out the snippet regardless of
uploading the package. Always modifying the packages
list seems logical and resolves the problem that --auto
did both upload and modifiy.

Always modifying the packages.common seems logical and
more transparent even when developing to distinguish failed
downloads and intentional use of snapshots.

Andre Heinecke [Mon, 2 Sep 2024 19:07:44 +0000 (21:07 +0200)]
Improve handling of gpgol.js package name

* packages/gen-tarball.sh (gpgol.js): Normalize name to
gpgoljs

Andre Heinecke [Mon, 2 Sep 2024 18:26:42 +0000 (20:26 +0200)]
docker: Use posix gcc for x64

* docker/gpg4win-bookworm/Dockerfile: Use alternatives
for x64, too.

--
Otherwise building already fails in qtbase/qthread because
win threads has no future.

Andre Heinecke [Mon, 2 Sep 2024 14:48:42 +0000 (16:48 +0200)]
Update kde-gears to 24.08

* packages/packages.common (kmime, kmbox, libkdepim, kpimtextedit):
Update.
* patches/libkdepim/*: Removed upstream patches.
* Makefile.am (EXTRA_DIST): Update accordingly.

--

Andre Heinecke [Mon, 2 Sep 2024 14:46:20 +0000 (16:46 +0200)]
x64: Fix exception library check

* configure.ac: In the error also respect seh exceptions
if found.

--
They were used already but only if the build directory
contained sjlj or dw-2 links from a previous build.

Andre Heinecke [Mon, 2 Sep 2024 14:26:34 +0000 (16:26 +0200)]
Update Version number to 5.0.0

* configure.ac: Bump version to 5.0.0

--
This is helpful to distinguish upcoming release lines:
GnuPG 2.5/2.6 based releases with KF6 (64 bit) -> Gpg4win-5.x
GnuPG 2.4 based with kf5 -> Gpg4win-4.x
GnuPG 2.2 based ->  Gpg4win 3.2.x

Andre Heinecke [Mon, 2 Sep 2024 14:21:47 +0000 (16:21 +0200)]
docker: Add option for w64 build

* docker/docker-build.sh (w64): Add new command line param
* src/build-gpg4win.sh: If provided forward command line of
the script to call autogen.sh

--
This just adds the configure switch to the docker build
as the building / packaging for 64 bit was already done.

GnuPG-Bug-Id: T6508

Andre Heinecke [Mon, 2 Sep 2024 14:19:38 +0000 (16:19 +0200)]
docker: Always use absolute buildroot

* docker/docker-build.sh: Use absolute buildroot.

--
Otherwise invoking the build in docker fails due to
different relative paths.

Andre Heinecke [Mon, 2 Sep 2024 14:16:14 +0000 (16:16 +0200)]
docker: Use maxdepth when copying packages directory

* docker/docker-build.sh: Use maxdepth when rsyncing the
packages.

--
This fixes accdentally copying wrong packges from subdirs
in a dirty pacakges directory.

Andre Heinecke [Wed, 28 Aug 2024 08:17:45 +0000 (10:17 +0200)]
Update GpgOL to 2.5.14

* packages/packages.common (gpgol): Update.

Andre Heinecke [Wed, 21 Aug 2024 12:34:52 +0000 (14:34 +0200)]
Udpdate GpgOL to 2.5.13

* packages/pacakges.common (gpgol): Switch to release.
* NEWS: Add versions.

Andre Heinecke [Fri, 16 Aug 2024 20:50:38 +0000 (22:50 +0200)]
Update KMime to 24.08 beta

* packages/packages.common (KMime): Update since mimetreeparser
master requires it.

--
This is due to an extraordinary circumstance moving
KMime to frameworks.

Andre Heinecke [Fri, 16 Aug 2024 08:30:54 +0000 (10:30 +0200)]
Merge branch 'master' into kf6

Andre Heinecke [Fri, 16 Aug 2024 07:17:36 +0000 (09:17 +0200)]
Merge branch 'master' into kf6

Andre Heinecke [Fri, 16 Aug 2024 06:46:40 +0000 (08:46 +0200)]
Update KF6 to 6.5.0 and frontend packages

* packages/packages.common (KF6, kleopatra, gpgol)
(libkleo, mimetreeparser): Update.
(gpgme): Fix checksum.

Andre Heinecke [Thu, 15 Aug 2024 21:22:26 +0000 (23:22 +0200)]
Improve gen-frameworks.sh to directly update pkgs

* gen-frameworks.sh: Update packages.common instead of writing out.

Andre Heinecke [Thu, 15 Aug 2024 20:40:42 +0000 (22:40 +0200)]
MSI: Update make-msi.guids

* src/make-msi.guids: Update with many new files.

Andre Heinecke [Thu, 15 Aug 2024 20:02:15 +0000 (22:02 +0200)]
Add --update|-u option to gen-tarball.sh

* packages/gen-tarball.sh: Add --update option.

--
This is a convenience option to remove the old package when
gen-tarball.sh succeeds.

Andre Heinecke [Thu, 15 Aug 2024 19:59:02 +0000 (21:59 +0200)]
Update AUTHENTICODE_FILES with diffrent x64 name

* src/gpg4win.mk.in (AUTHENTICODE_FILES): winpthread-1.dll-x64 is
now suffixed -ex instead. Since it is for the ex host.

--
The ex host for 64 bit builds is 32 bit.

Andre Heinecke [Thu, 15 Aug 2024 19:55:47 +0000 (21:55 +0200)]
Add copy of gpg-authcode-sign.sh and use it

* build-aux/authenticode-sign.sh: Removed.
* build-aux/gpg-authcode-sign.sh: New.
* src/Makefile.am (stamp-additional-signfiles): Call AUTHENTICODE_sign.
* src/gpg4win.mk.in (AUTHENTICODE_sign): Use gpg-authcode-sign.sh.

--
Since we can't use an installed gpg-authcode-sign.sh at least
use a similar version as GnuPG uses to have this in common.

Andre Heinecke [Thu, 15 Aug 2024 13:22:14 +0000 (15:22 +0200)]
Mark kio as dependency for gpgpass

* configure.ac (gpgpass): Add kio dependency.

--
This fixes the build order by ensuring kio is built before
gpgpass.

Andre Heinecke [Thu, 15 Aug 2024 10:57:50 +0000 (12:57 +0200)]
Update frontend packages

* packages/packages.common (gpgme, gpgol, libkleo, kleopatra)
(gpgpass, mimetreeparser): Update packages to latest versions.

Andre Heinecke [Tue, 13 Aug 2024 08:31:58 +0000 (10:31 +0200)]
Merge branch 'master' into kf6

Andre Heinecke [Tue, 13 Aug 2024 08:14:16 +0000 (10:14 +0200)]
MSI: Add target to try to link the MSI using WINE

* src/gpg4win.mk.in
(installers/$(MSI_FNAME_PREFIX)-$(VSD_VERSION_FILE)-$(1)-wine.msi): New
(installers/$(MSI_FNAME_PREFIX)-$(VSD_VERSION_FILE)-$(1).msi): Move
to the top of the MSI_template for ordering.

--
This changes nothing regarding the current MSI build. It only
adds another way to link the MSI package that currently results
in an error, likely because of a wine bug, but should work
in theory without a WINHOST.

GnuPG-Bug-Id: T7248

Andre Heinecke [Mon, 12 Aug 2024 08:52:15 +0000 (10:52 +0200)]
Fix make_msi script generation

* nsis/gpg4win.nsi: Mark the initial check for the 64Bit build
define as ignored.

--
The make-msi nsis parser does not handle !if directives
but they are not required for the MSI since this part is
static in the MSI packaging.

Andre Heinecke [Mon, 12 Aug 2024 08:51:09 +0000 (10:51 +0200)]
Fix a patch file name in EXTRA_DIST

* Makefile.am (EXTRA_DIST): Update filename of ecm patch.

Andre Heinecke [Fri, 9 Aug 2024 14:22:49 +0000 (16:22 +0200)]
Update build system to handle both 32 and 64 bit

* autogen.rc: Add the opposite architecture for ex_arch
based on --build-w32 and --build-w64
* configure.ac: Handle x86_64 host compiliers.
Generalize _ex host handling to be either 32bit or 64bit
* m4/gpg4win.m4 (GPG4WIN_RUNTIME_LIBRARY_EX): Renamed
from GPG4WIN_RUNTIME_LIBRARY_X64. Search runtime libs
for EX host.
* src/Makefile.am (gpg4win_pkg_kxmlgui_configure): Do not
hardcode CC value.
* src/nsis/config.nsi.in: Add a BUILD_W64 define.
* src/nsis/gpg4win.nsi,
 src/nsis/inst-gpg4win.nsi,
 src/nsis/inst-gpgex.nsi,
 src/nsis/inst-gpgme.nsi,
 src/nsis/inst-gpgol.nsi,
 src/nsis/inst-libassuan.nsi,
 src/nsis/inst-libgpg-error.nsi,
 src/nsis/installer.nsi,
 src/nsis/uninst-breeze.nsi,
 src/nsis/uninst-gnupg-w32.nsi,
 src/nsis/uninst-gpg4win.nsi,
 src/nsis/uninst-gpgme.nsi,
 src/nsis/uninst-gpgol.nsi,
 src/nsis/uninst-libassuan.nsi: Handle installation and uninstallation
 both when binaries are 64 bit and when they are 32 bit. Make
 additional bin dir confiugrable.
* src/versioninfo.rc.in.in: Do not set file description but
 set a comment including the compiler version.

--
This makes it now possible to call Gpg4win with
./autogen.sh --build-w64 additionally to the old
./autogen.sh --build-w32 and all binaries will be compiled
accordingly. Since Outllook and third party software can rely on the
32bit versions, the logic where we previously shipped 64 bit binaries
additionally to the 32 bit ones is now inverted for 64 bit builds
and 32bit binaries are installed in bin_32.

Variuous changes with explicitly setting the RegView ensure
that updating works from both 32bit and 64bit versions for both
GpgOL and GnuPG.

GnuPG-Bug-Id: T6508

Andre Heinecke [Fri, 9 Aug 2024 14:18:45 +0000 (16:18 +0200)]
Docker: do not create tmp dir for inplace builds

* docker/docker-build.sh: Check if a tempdir is even
required before creating it.

Andre Heinecke [Fri, 9 Aug 2024 14:18:06 +0000 (16:18 +0200)]
Docker: Do rsync generated config files

* docker/docker-build.sh (rsync_gpg4win): Exclude config.status
and config.log

Andre Heinecke [Thu, 8 Aug 2024 15:22:36 +0000 (17:22 +0200)]
Allo multiople package arguments for gen-tarball

* packages/gen-tarball.sh: Loop over packages for updating
multiple packages.

Andre Heinecke [Thu, 8 Aug 2024 15:21:13 +0000 (17:21 +0200)]
Update snapshots and switch gpg4win-tools branch

* packages/packages.common (gpgme, kleopatra, libkleo)
(gpg4win-tools): Update to latest master.
* packages/gen-tarball.sh (gpg4win-tools): Use master again.

--
Gpg4win-tools master can now be built with Qt6.

Andre Heinecke [Wed, 7 Aug 2024 08:33:06 +0000 (10:33 +0200)]
Syntax improvements for README

* README: Try to fit phabricator remarkup better.

Andre Heinecke [Tue, 6 Aug 2024 09:04:10 +0000 (11:04 +0200)]
Rewrite / Update README

* README: Update with more focus on the docker build and
some examples.

--
This also adds some markdown syntax to make it easier to
read in Phabricator.

Andre Heinecke [Tue, 30 Jul 2024 15:37:17 +0000 (17:37 +0200)]
Add additional icons found by findicons.sh

* src/included-icons.txt: Add new icons.

Andre Heinecke [Tue, 30 Jul 2024 13:07:42 +0000 (15:07 +0200)]
Add application-menu icon to list of used icons

* src/included-icons.txt: This is now used in Kleopatras
details dialog.

GnuPG-Bug-Id: T7228

Andre Heinecke [Tue, 30 Jul 2024 07:37:43 +0000 (09:37 +0200)]
Update snapshots for kleo and gpgpass

* packges/packages.common (kleopatra, libkleo, gpgme)
(gpgpass): Update to latest master.

Andre Heinecke [Sun, 28 Jul 2024 20:28:42 +0000 (22:28 +0200)]
Fix build with missing .gnupg-autogen.rc

* src/Makefile.am (stamp-additional-signedfiles): Only
sign if AUTHENTICODE_KEY is set. Read from gnupg-autogen.rc
* src/gpg4win.mk.in (READ_AUTOGEN_template): Handle
not existing ~/.gnupg-autogen.rc file.

--
This allows to either use "none" as AUTHENTICODE_KEY or
skip it if no gnupg-autogen.rc file exists.

Andre Heinecke [Sun, 28 Jul 2024 19:24:56 +0000 (21:24 +0200)]
Patch breeze not to fail without QtNetwork and QtOpenGL

* patches/breeze/0001-Do-not-alias-QtOpenGL-and-QtNetwork.patch: New.

--
This was already added to EXTRA_DIST in a previous commit.

Andre Heinecke [Sun, 28 Jul 2024 19:01:34 +0000 (21:01 +0200)]
Standardize qt packages names

* packages/packages.common: Use the same name as the
tarball in the description.

--
This allows for easier automation

Andre Heinecke [Sun, 28 Jul 2024 18:04:05 +0000 (20:04 +0200)]
Add qt patch to make default style configurable

* Makefile.am (EXTRA_DIST): Add new patch.
* patches/qtbase/configurable-windowstheme.patch: New.
* src/qt.conf: Configure breeze style.

--
This is based on an old Qt5 patch we had to add breeze
as the default style but now it is also read from the
qt.conf so that it is easier to make experiments or
change it for some.

Okular already set the style in the Application
but this would mean changing the style manually
in all our qt applications from pinentry to
keyresolver. So an installation specific configuration
seems more sensible.

GnuPG-Bug-Id: T6932

Andre Heinecke [Sun, 28 Jul 2024 11:51:30 +0000 (13:51 +0200)]
Fix uninstallation

* src/nsis/uninst-gnupg-w32.nsi: Fix name of disable keyboxd script.
* src/nsis/uninst-okular.nsi: Fix plugin paths.

Andre Heinecke [Sun, 28 Jul 2024 11:44:07 +0000 (13:44 +0200)]
Add breeze (the style) package

* configure.ac (breeze): New package.
* packages/gen-tarball.sh (breeze): Add some scripting to
build our own stripped down tarball.
* packages/packages.common (breeze): New package.
* src/nsis/config.nsi.in, src/nsis/inst-sections.nsi: The
usual section stuff.
* src/nsis/inst-breeze.nsi, src/nsis/uninst-breeze.nsi: New.
* src/nsis/inst-kconfigwidgets.nsi,
src/nsis/uninst-kconfigwidgets.nsi: Do not install color files as
they are now installed by breeze.
* src/BreezeDark.colors, src/Breeze.colors: Removed. They
now come from breeze package.

--
This makes the colors available from the style package
and additionally enables Kleopatra to use the style breeze.
Okular already defaults to that style on Windows.

GnuPG-Bug-Id: T6932

Andre Heinecke [Sun, 28 Jul 2024 11:39:36 +0000 (13:39 +0200)]
Install KIconEnginePlugin

* src/nsis/inst-kiconthemes.nsi, src/nsis/uninst-kiconthemes.nsi:
Install / Uninstall KIconEnginePlugin.

--
This fixes loading breeze dark icons on demand.

GnuPG-Bug-Id: T6932

Andre Heinecke [Sun, 28 Jul 2024 11:36:27 +0000 (13:36 +0200)]
Update frameworks to 6.4.0

* Makefile.am (EXTRA_DIST): Add new patch for kcalendarcore
* patches/kcalendarcore/0001-Add-option-to-build-without-QML.patch:
Yet another no qml patch.
* patches/breeze-icons/
0001-Draft-Handle-cross-compiling-for-tools.patch: Refresh.
* packages/pacakges.common: Update frameworks.
* packages/gen-frameworks.sh: Remove ktextaddons which are not
a framework.
* src/Makefile.am (gpg4win_pkg_kcalendarcore_configure):
Add USE_QML=NO

Andre Heinecke [Sun, 28 Jul 2024 11:34:00 +0000 (13:34 +0200)]
docker: Use artifacts as the result dir

* docker/docker-build.sh: Use artifiacts as resutltdir to
avoid confusion with multiple installers directories.

Andre Heinecke [Sun, 28 Jul 2024 07:48:21 +0000 (09:48 +0200)]
Fix gccwrap FILEVERSION

* src/gccwrap.sh.in: Fix version parsing and usage

--
This fixes the version parsing for x64 builds and also
uses different version strings for the rc file (comma
seperated) and for the manifest (period seperated).

Additionally this removes some leftover log messages
from development.

GnuPG-Bug-Id: T6354

Andre Heinecke [Sat, 27 Jul 2024 20:55:19 +0000 (22:55 +0200)]
Add windows VERSIONINFO to all signed binaries

* configure.ac (DISTRIBUTION_TEXT): Replace by PRODUCT_NAME.
(COMPANY_NAME, BUILD_FILEVERSION_TR): New.
(AC_CONFIG_FILES): Configure versioninfo, manifest and gccwrap.sh
* src/Makefile.am (EXTRA_DIST): Add new files.
* src/gpg4win.mk.in (stamp-directories): Install wrapper scripts
to native tools prefix.
* src/gccwrap.sh.in: New. Wrapper around gcc to inject the versioninfo.
* src/versioninfo.rc.in.in: New. template for versioninfo.
* src/gpg4win.w32-manifest.in: New. generic manifest.

--
Since we cannot patch each included library to include
the versioninfo we want it to have in their build system,
we now inject the versioninfo in the linker command by wrapping
gcc and g++. The wrapper script takes some information from
the configuration and build environment and writes out a
versioninfo.rc for each library and executable that is
not already blessed by its own versioninfo file.
This is then compiled with windres and added before calling
the real gcc.

GnuPG-Bug-Id: T6354

Andre Heinecke [Sat, 27 Jul 2024 18:07:09 +0000 (20:07 +0200)]
Ensure that configure stamp is not created on err

* src/gpg4win.mk.in (SPKG_TEMPLATE, SPKGEX_TEMPLATE):
Exit subshell on configure errors.

--
While I do not really see the probem, without the
exit the stamps files would be created on configure
errors. Causing the builder to either have to start a
fresh build or deleting the stamp manually.

Andre Heinecke [Thu, 25 Jul 2024 20:48:30 +0000 (22:48 +0200)]
NSIS: Minor fixes for uninstallation

* src/nsis/uninst-breeze-icons.nsi: Delete the DLL.
* src/nsis/uninst-qtbase.nsi: Remove the scchannelbackend.

Andre Heinecke [Wed, 24 Jul 2024 18:51:42 +0000 (20:51 +0200)]
MSI: Move generic targets out of MSI_template

* src/gpg4win.mk.in (MSI_template): Move the
generic targets for the version wixlib out.

--
With PRODUCT_NAME no longer dependet on the MSI_template
argument we can move the targets out of the macro and
directly write them down to avoid redefining them
for each target.

Andre Heinecke [Wed, 24 Jul 2024 17:35:01 +0000 (19:35 +0200)]
MSI: Replace obsolete PRODUCT macros

* src/gpg4win.mk.in (VSD_PRODUCT, VSD_PRODUCT_PRETTY): Replace by
MSI_FNAME_PREFIX and MSI_PRODUCT respectively.

--
The complex logic with the $$($(1)_PRODUCT) macro was
required to support different products in the same
build run. This was never really used and we even
use different builds for GPD and VSD nowadays.

This simple replacement of $$($(1)_PRODUCT) by
$(MSI_FNAME_PREFIX) and $$($(1)_PRODUCT_PRETTY) by
$(MSI_PRODUCT_NAME) also fixes the issue that the
wixlib target were redefined for several times
causing a bit of error SPAM.

Andre Heinecke [Wed, 24 Jul 2024 14:47:09 +0000 (16:47 +0200)]
Add patch to disable dark mode on old windows

* patches/kguiaddons/
0001-DRAFT-There-is-no-dark-mode-on-old-Windows.patch: New.
* Makefile.am (EXTRA_DIST): Add patch.
* patches/kiconthemes/dark-mode-detection.patch: Add
Windows version check.

--
This disabled the dark mode detection based on the
users personalization configuration. It has no effect
on the High Contrast dark modes used for Accessibility.

As such the patch modifies kguiaddons to leave the
rest of the dark mode detection alone.

GnuPG-Bug-Id: T7214

Andre Heinecke [Wed, 24 Jul 2024 12:36:21 +0000 (14:36 +0200)]
nsis: Fix capitalization of new library names

* src/nsis/inst-kstatusnotifieritem.nsi,
src/nsis/inst-libkdepim.nsi,
src/nsis/inst-qthttpserver.nsi,
src/nsis/uninst-kstatusnotifieritem.nsi,
src/nsis/uninst-libkdepim.nsi,
src/nsis/uninst-qthttpserver.nsi: Fix capitalization.

--
This does not cause an error in NSIS but it
makes the files harder to find and created
a failure when trying to sign the files
as extracted from make-msi.guids

Andre Heinecke [Wed, 24 Jul 2024 12:32:30 +0000 (14:32 +0200)]
MSI: Skip over empty files when codesigning

* src/Makefile.am (stamp-additional-signedfiles): Skip
over empty files.

--
This fixes the case that depending on the compiler
we need either dw2 or sjlj exceptions and ship a
dummy file of the other.

Andre Heinecke [Wed, 24 Jul 2024 12:16:23 +0000 (14:16 +0200)]
Update snapshot packages to latest master

* packages/packages.common: Updaste gpgme, libkleo
mimetreeparser and kleopatra.

Andre Heinecke [Wed, 24 Jul 2024 11:59:42 +0000 (13:59 +0200)]
docker: Copy download tag when copying packages

* docker/docker-build.sh: When copying the packages
from the repository path also copy the tag used
to determine the packages version.

--
This fixes a problem that when the version was
not provided it did not re-download the current
version but always the default.

Andre Heinecke [Wed, 24 Jul 2024 11:57:30 +0000 (13:57 +0200)]
msi: Update AUTHENTICODE_FILES for Qt6 build

* src/gpg4win.mk.in (AUTHENTICODE_FILES): Update binary names.

--
To (hopefully) miss none of the binaries I used the file list
from make-msi.guids

Andre Heinecke [Mon, 22 Jul 2024 22:30:20 +0000 (00:30 +0200)]
MSI: Comment out not working target experiment

* src/gpg4win.mk.in: Comment out code which tried to
avoid multiple target definitions.

--
This was an experiment I did last year and which
accidentally made it into the initial Qt6 WIP commit.
Since then I was confused why it was just broken...

Andre Heinecke [Mon, 22 Jul 2024 22:29:24 +0000 (00:29 +0200)]
docker: Improve result handling for appimages

* src/appimage/build-appimage.sh: Return 0 on success.
* docker/docker-build.sh: Fix copying results.

Andre Heinecke [Mon, 22 Jul 2024 22:24:10 +0000 (00:24 +0200)]
appimage: Fix okluarpart rpath

* src/appimage/build-appimage.sh: Add plugins with depths 1,
which for us is only "parts/okularpart.so"

Andre Heinecke [Mon, 22 Jul 2024 22:23:11 +0000 (00:23 +0200)]
appimage: Use BUILDTYPE and fix VSD build

* src/appimage/build-appimage.sh: Use BUILDTYPE and
adapt the script accordingly.

Andre Heinecke [Mon, 22 Jul 2024 21:59:36 +0000 (23:59 +0200)]
vsd: Add "vsd-versions" target

* Makefile.am (vsd-versions): Add a target to update the
VERSION files and signatures for gnupg-vsd.

--
This should make it less annyoing to stumble over this at
the end of a build and is also a good check that singing
works.

Andre Heinecke [Mon, 22 Jul 2024 21:55:25 +0000 (23:55 +0200)]
docker: rsync .git to buildroot for git builds

* docker/docker-build.sh (rsync_gpg4win): Include .git

--
This provides the information about the beta numbering.

Andre Heinecke [Mon, 22 Jul 2024 21:48:13 +0000 (23:48 +0200)]
appimage: Build without OpenGL, EGL and fontconfig

* Makefile.am (EXTRA_DIST): Add patch.
* docker/appimage/Dockerfile: Remove EGL, OpenGL and
fontconfig devel packages.
* patches-appimage/kcrash/
0001-DRAFT-Do-not-use-OpenGL-if-it-is-not-available.patch: Add
hack to build without OpenGL.
* src/appimage/Makefile.am (appimage_pkg_qtbase_configure): Update
confiugre flags.
(appimage_pkg_poppler_configure): Use generic fontconfig.
* src/Makefile.am (appimage_pkg_qtbase_configure): Move
OpenGL flags together.

--
Checking with LDD the KF5 build did not use system libs
for OpenGL, EGL and fontconfig. To avoid any new dependencies
we also build without them. While OpenGL and EGL seem
obvious, if fontctonfig was not required for KF5, the
current build should work without it, too.

Andre Heinecke [Mon, 22 Jul 2024 13:19:28 +0000 (15:19 +0200)]
Clean up compile flags

* packages/packages.common (scute, gpgol): Update for
most recent find scripts.
* src/Makefile.am: Remove obsolete config flags and
comments.
* src/gpg4win.mk.in: Set PKG_CONFIG_LIBDIR on ex builds, too.
Set --libdir on ex builds explicitly.

--
This should again make the code more easier to read.
The --with-gpg-error-prefix,.. flags etc. were mostly
required because PKG_CONFIG was not set up correctly.
In my case a PKG_CONFIG_LIBDIR set in the outside
environment leaked into the Gpg4win build. The
fewer custom flags we have, the better.

 
   
 
 
  Technical resources for this
service are sponsered by
 
  g10 Code GmbH  

Valid XHTML 1.0!     Peace!     Valid CSS!