From 9133602ed9cca826cbb03caf02fc5cc88933c93d Mon Sep 17 00:00:00 2001 From: Regolith Linux Date: Wed, 24 Jul 2024 00:38:00 -0700 Subject: [PATCH] fix: prevent picom autostart for regolith compat --- debian/patches/regolith-pruning.diff | 33 ++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 34 insertions(+) create mode 100644 debian/patches/regolith-pruning.diff create mode 100644 debian/patches/series diff --git a/debian/patches/regolith-pruning.diff b/debian/patches/regolith-pruning.diff new file mode 100644 index 0000000000..0dbf08cf0e --- /dev/null +++ b/debian/patches/regolith-pruning.diff @@ -0,0 +1,33 @@ +Index: picom/meson_options.txt +=================================================================== +--- picom.orig/meson_options.txt ++++ picom/meson_options.txt +@@ -1,5 +1,5 @@ + option('sanitize', type: 'boolean', value: false, description: 'Build with sanitizers enabled (deprecated)') +-option('config_file', type: 'boolean', value: true, description: 'Enable config file support') ++option('config_file', type: 'boolean', value: false, description: 'Enable config file support') + option('regex', type: 'boolean', value: true, description: 'Enable regex support in window conditions') + + option('vsync_drm', type: 'boolean', value: false, description: 'Enable support for using drm for vsync') +@@ -9,7 +9,7 @@ option('dbus', type: 'boolean', value: t + + option('xrescheck', type: 'boolean', value: false, description: 'Enable X resource leak checker (for debug only)') + +-option('compton', type: 'boolean', value: true, description: 'Install backwards compat with compton') ++option('compton', type: 'boolean', value: false, description: 'Install backwards compat with compton') + + option('with_docs', type: 'boolean', value: false, description: 'Build documentation and man pages') + +Index: picom/meson.build +=================================================================== +--- picom.orig/meson.build ++++ picom/meson.build +@@ -73,7 +73,7 @@ subdir('man') + + install_data('bin/picom-trans', install_dir: get_option('bindir')) + install_data('picom.desktop', install_dir: 'share/applications') +-install_data('picom.desktop', install_dir: get_option('sysconfdir') / 'xdg' / 'autostart') ++# install_data('picom.desktop', install_dir: get_option('sysconfdir') / 'xdg' / 'autostart') + + if get_option('compton') + install_data('compton.desktop', install_dir: 'share/applications') diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000..175ff593e2 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +regolith-pruning.diff