From 777604d02a9b768e51ceb8569d2848e55f86981d Mon Sep 17 00:00:00 2001
From: Luis Guzman <ark@switnet.org>
Date: Sun, 7 Nov 2021 21:48:28 -0600
Subject: [PATCH] Remove xfce4 plugins dependency for nvidia-settings

---
 helpers/make-xfce4-sensors-plugin | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 helpers/make-xfce4-sensors-plugin

diff --git a/helpers/make-xfce4-sensors-plugin b/helpers/make-xfce4-sensors-plugin
new file mode 100644
index 000000000..b027da39e
--- /dev/null
+++ b/helpers/make-xfce4-sensors-plugin
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+#    Copyright (C) 2021  Luis Guzman <ark@switnet.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+
+. ./config
+
+sed -i '/libxnvctrl-dev/d' debian/control
+sed -i '/enable-xnvctrl/d' debian/rules
+
+changelog "Remove nvidia-settings dependency."
+
+compile
-- 
GitLab