From b4b31b0662bbf4a7e26ccae58dbe409e4f67ca3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
Date: Wed, 3 Mar 2021 19:39:07 +0100
Subject: [PATCH] Fix psensor - Missing dependency

Currently installing psensor fails with the following message:

The following packages have unmet dependencies:
 psensor : Depends: libxnvctrl0 but it is not installable

libxnvctrl0 is built from package nvidia-settings in Debian,
which is not built in trisquel
---
 helpers/make-psensor | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 helpers/make-psensor

diff --git a/helpers/make-psensor b/helpers/make-psensor
new file mode 100644
index 000000000..65d30eaee
--- /dev/null
+++ b/helpers/make-psensor
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+#    Copyright (C) 2020  Pablo Correa Gómez <ablocorrea@hotmail.com>
+#
+#    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 '/libxnvctrl-dev/d' -i debian/control
+
+changelog "Removed libxnvctrl0 dependency not present in Trisquel"
+
+compile
-- 
GitLab