diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 21:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 21:03:51 +0000 |
commit | c4d92ab721dfc646b4a58429d965e9446294ce26 (patch) | |
tree | 8c0c331362f99c256c191229ac424b1cc8698005 /x11-misc/xflux-gui/files | |
parent | 5565fb7867ee9faddf046e42a0a3a1a207803938 (diff) |
gentoo auto-resync : 04:12:2022 - 21:03:51
Diffstat (limited to 'x11-misc/xflux-gui/files')
-rw-r--r-- | x11-misc/xflux-gui/files/xflux-gui-1.2.0-disable-gschemas-compiled.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/x11-misc/xflux-gui/files/xflux-gui-1.2.0-disable-gschemas-compiled.patch b/x11-misc/xflux-gui/files/xflux-gui-1.2.0-disable-gschemas-compiled.patch deleted file mode 100644 index dc14be17339b..000000000000 --- a/x11-misc/xflux-gui/files/xflux-gui-1.2.0-disable-gschemas-compiled.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 674d17b100f7b8a471d65b61749ca892567f8d58 Mon Sep 17 00:00:00 2001 -From: Conrad Kostecki <conrad@kostecki.com> -Date: Fri, 16 Aug 2019 16:02:59 +0200 -Subject: [PATCH] setup.py: add posbility to disable compilation of gschema - -When you install fluxgui, it also compiles the gschema, which is for -most distros fine. But on source distros like Gentoo, which do the -compilation of gschema separately, this will lead to a file collision, -as packages unter Gentoo are not allowed to install such files. - -So we introduce a new env variable called DISABLE_GSCHEMA_COMPILED which -needs to be set to disable this behaviour. - -Closes: https://github.com/xflux-gui/fluxgui/issues/124 -Signed-off-by: Conrad Kostecki <conrad@kostecki.com> ---- - setup.py | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/setup.py b/setup.py -index 8a8fa14..4bd404d 100755 ---- a/setup.py -+++ b/setup.py -@@ -76,9 +76,10 @@ def run(self): - super().run() - - # Compile '*.gschema.xml' to update or create 'gschemas.compiled'. -- info("compiling gsettings schemas") -- gschema_dir = os.path.join(self.install_dir, gschema_dir_suffix) -- self.spawn(["glib-compile-schemas", gschema_dir]) -+ if os.environ.get('DISABLE_GSCHEMAS_COMPILED', None) is None: -+ info("compiling gsettings schemas") -+ gschema_dir = os.path.join(self.install_dir, gschema_dir_suffix) -+ self.spawn(["glib-compile-schemas", gschema_dir]) - - setup(name = "f.lux indicator applet", - version = "1.2.1~pre", |