misc: restore libxnvctrl for nvidia hardware detection
This commit is contained in:
parent
d815cecda4
commit
59c07048d4
7 changed files with 19 additions and 24 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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).
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue