misc: restore libxnvctrl for nvidia hardware detection

This commit is contained in:
Luis Guzmán 2024-05-09 19:20:45 +00:00
parent d815cecda4
commit 59c07048d4
7 changed files with 19 additions and 24 deletions

View file

@ -17,13 +17,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
sed -i '/libxnvctrl-dev/d' debian/control # restore libxnvctrl lib for nvidia hardware detection.
sed -i 's|DBUILD_NVIDIA=ON|DBUILD_NVIDIA=OFF|g' debian/rules
changelog "Remove nvidia-settings dependency." changelog "Restore nvidia-settings dependency."
package package

View file

@ -17,12 +17,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
sed -i '/libxnvctrl-dev/d' debian/control # restore libxnvctrl lib for nvidia hardware detection.
changelog "Remove nvidia-settings dependency." changelog "Restore nvidia-settings dependency."
package package

View file

@ -17,12 +17,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
sed -i '/libxnvctrl-dev/d' debian/control # restore libxnvctrl lib for nvidia hardware detection.
changelog "Remove nvidia-settings dependency." changelog "Restore nvidia-settings dependency."
package package

View file

@ -17,14 +17,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
sed -i '/libxnvctrl-dev/d' debian/control # restore libxnvctrl lib for nvidia hardware detection.
sed -i '/nvidia/s|yes|no|g' debian/rules
rm debian/mate-sensors-applet-nvidia.install
changelog "Remove nvidia-settings dependency." changelog "Restore nvidia-settings dependency."
package package

View file

@ -17,15 +17,15 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
sed '/libxnvctrl-dev/d' -i debian/control # restore libxnvctrl lib for nvidia hardware detection.
#Apply fix ftbfs patch #Apply fix ftbfs patch
patch --no-backup-if-mismatch -p1 < $DATA/fix-ftbfs-debian-patch.patch patch --no-backup-if-mismatch -p1 < $DATA/fix-ftbfs-debian-patch.patch
changelog "Removed libxnvctrl0 dependency not present in Trisquel" changelog "Restore nvidia-settings dependency."
package package

View file

@ -18,11 +18,10 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=3 VERSION=4
. ./config . ./config
sed '/libxnvctrl-dev/d' -i debian/control
echo "gn_args += safe_browsing_mode=0" >> src/core/config/common.pri echo "gn_args += safe_browsing_mode=0" >> src/core/config/common.pri
#Increase parallel restriction (it fails at full speed). #Increase parallel restriction (it fails at full speed).

View file

@ -17,13 +17,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
sed -i '/libxnvctrl-dev/d' debian/control # restore libxnvctrl lib for nvidia hardware detection.
sed -i '/enable-xnvctrl/d' debian/rules
changelog "Remove nvidia-settings dependency." changelog "Restore nvidia-settings dependency."
package package