Prepare for Python 3.12 compatibility as bsddb3 is not officially
compatible with Python 3.10+ and Python 3.12 breaks bsddb3 tests due to
distutils being deprecated
This was achieved using the following command:
sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')
And then manually reverted the following changes:
- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
When intltool is in buildInputs, setup.py reports:
No intltool or version < 0.25.0, build_intl is aborting
which prevents Gramps's desktop and MIME (and AppData) entries from being
generated and installed. When intltool is moved to nativeBuildInputs, these
files are installed under share/ as expected.
The GRAMPS readme indicates there are a number of recommended packages (graphviz, ghostscript,
PyICU and osm-gps-map which was already supported). These default to true.
Should fix#38463
I still get
```
WARNING: grampsgui.py: GTK translations missing, GUI will be broken,
especially for RTL languages!
```
but at least it seems usable.
Motivation for change: GRAMPS was a long way out of date.
Additional information: BSDDB3 unmasked as this is supported by the current Python3 version (commited separately).
Basic functionality works. No plugins yet (TODO: GExiv2, pyICU, webkit,
osmgsmmap).
Gives error messages about errors in GTK installation regarding
localization. No impact other than the messages visible.