Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Fixes nvidia/nouveau/intel installation (due package name changes ups…
Browse files Browse the repository at this point in the history
…tream)
  • Loading branch information
karasu committed Mar 16, 2017
1 parent 470d195 commit 4449ddc
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 20 deletions.
1 change: 0 additions & 1 deletion cnchi/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def fill_listbox(self):
self.listbox_rows = {}

# Only add graphic-driver feature if an AMD or Nvidia is detected
# FIXME: Conflict between lib32-nvidia-libgl and lib32-mesa-libgl
if "graphic_drivers" in self.features:
allow = False
if self.detect.amd():
Expand Down
6 changes: 2 additions & 4 deletions cnchi/hardware/modules/bumblebee.py_
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,13 @@ class Bumblebee(Hardware):
""" Get all required packages """
pkgs = ["bumblebee", "mesa", "xf86-video-intel", "nvidia", "nvidia-settings", "bbswitch"]
if os.uname()[-1] == "x86_64":
pkgs.extend(["lib32-nvidia-utils", "lib32-virtualgl", "lib32-mesa-libgl"])
pkgs.extend(["lib32-nvidia-utils", "lib32-virtualgl"])
return pkgs

@staticmethod
def get_conflicts():
""" Get conflicting packages """
pkgs = ["mesa-libgl", "xf86-video-nouveau"]
#if os.uname()[-1] == "x86_64":
# pkgs.append("lib32-mesa-libgl")
pkgs = ["xf86-video-nouveau"]
return pkgs

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion cnchi/hardware/modules/i915.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_packages():
""" Get all required packages """
pkgs = ["xf86-video-intel", "libva-intel-driver", "libtxc_dxtn"]
if os.uname()[-1] == "x86_64":
pkgs.extend(["lib32-mesa", "lib32-mesa-libgl"])
pkgs.extend(["lib32-mesa"])
return pkgs

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion cnchi/hardware/modules/nouveau.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_packages():
""" Get all required packages """
pkgs = ["xf86-video-nouveau"]
if os.uname()[-1] == "x86_64":
pkgs.extend(["lib32-mesa", "lib32-mesa-libgl"])
pkgs.extend(["lib32-mesa"])
return pkgs

@staticmethod
Expand Down
8 changes: 3 additions & 5 deletions cnchi/hardware/modules/nvidia.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,15 @@ def __init__(self):
@staticmethod
def get_packages():
""" Get all required packages """
pkgs = ["nvidia", "nvidia-utils", "nvidia-libgl", "libvdpau"]
pkgs = ["nvidia", "nvidia-utils", "libvdpau"]
if os.uname()[-1] == "x86_64":
pkgs.extend(["lib32-nvidia-libgl", "lib32-libvdpau"])
pkgs.extend(["lib32-libvdpau"])
return pkgs

@staticmethod
def get_conflicts():
""" Get conflicting packages """
pkgs = ["mesa-libgl", "xf86-video-nouveau"]
if os.uname()[-1] == "x86_64":
pkgs.append("lib32-mesa-libgl")
pkgs = ["xf86-video-nouveau"]
return pkgs

@staticmethod
Expand Down
4 changes: 1 addition & 3 deletions cnchi/hardware/modules/nvidia_304xx.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ def get_packages():
@staticmethod
def get_conflicts():
""" Get conflicting packages """
pkgs = ["mesa-libgl", "xf86-video-nouveau"]
#if os.uname()[-1] == "x86_64":
# pkgs.append("lib32-mesa-libgl")
pkgs = ["xf86-video-nouveau"]
return pkgs

@staticmethod
Expand Down
2 changes: 0 additions & 2 deletions cnchi/hardware/modules/nvidia_340xx.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ def get_packages():
def get_conflicts():
""" Get conflicting packages """
pkgs = ["xf86-video-nouveau"]
#if os.uname()[-1] == "x86_64":
# pkgs.append("lib32-mesa-libgl")
return pkgs

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion cnchi/hardware/modules/radeon.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_packages():
""" Get all required packages """
pkgs = ["xf86-video-ati", "libva-vdpau-driver", "libtxc_dxtn"]
if os.uname()[-1] == "x86_64":
pkgs.extend(["lib32-mesa", "lib32-mesa-libgl"])
pkgs.extend(["lib32-mesa"])
return pkgs

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion cnchi/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

""" Set some Cnchi global constants """

CNCHI_VERSION = "0.14.253"
CNCHI_VERSION = "0.14.254"
CNCHI_WEBSITE = "http://www.antergos.com"
CNCHI_RELEASE_STAGE = "production"

Expand Down
2 changes: 1 addition & 1 deletion update.info
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{"version":"0.14.253","files":[
{"version":"0.14.254","files":[
]}

0 comments on commit 4449ddc

Please sign in to comment.