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)
Before this commit, paths to GUI config and manual were written to the config file. When running gc after an update, these paths do not exist anymore.
That changes with this commit: Paths are commented out in config file. Nonexisting paths are removed from config file when running beamerpresenter.
Other changes in the code compared to v0.2.3: compatibility with Qt 6.4
Compile time options are set explicitly for clarity.
Option USE_EXTERNAL_RENDERER can now be set using useExternalRenderer
variable. Option USE_QTPDF is disabled because it is only intended as a
backup if MuPDF and Poppler are both not available.
The build system of beamerpresenter has switched from qmake to cmake in
version 0.2.2. The new .nix file has been tested in a VM running
NixOS 21.11.336755.efea022d6fe.