[nvidia-kmod] Update to 381.09 beta
by Leigh Scott
commit d4885077e73f7d43133d11ecf64ddfba7aff6dd5
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Apr 7 11:12:39 2017 +0100
Update to 381.09 beta
kernel_4.10.patch | 382 ------------------------------------------------------
kernel_4.11.patch | 125 ++++++++++++++++++
nvidia-kmod.spec | 7 +-
3 files changed, 130 insertions(+), 384 deletions(-)
---
diff --git a/kernel_4.11.patch b/kernel_4.11.patch
new file mode 100644
index 0000000..09daf25
--- /dev/null
+++ b/kernel_4.11.patch
@@ -0,0 +1,125 @@
+--- a/kernel/nvidia-drm/nvidia-drm-drv.c
++++ b/kernel/nvidia-drm/nvidia-drm-drv.c
+@@ -48,6 +48,8 @@
+ #include <drm/drm_auth.h>
+ #endif
+
++#include <linux/version.h>
++
+ static struct nvidia_drm_device *dev_list = NULL;
+
+ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
+@@ -398,7 +400,11 @@
+ return 0;
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ static int nvidia_drm_unload(struct drm_device *dev)
++#else
++static void nvidia_drm_unload(struct drm_device *dev)
++#endif
+ {
+ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
+ struct NvKmsKapiDevice *pDevice = NULL;
+@@ -412,7 +418,11 @@
+
+ if (!nvidia_drm_modeset_enabled(dev))
+ {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ return 0;
++#else
++ return;
++#endif
+ }
+
+ mutex_lock(&nv_dev->lock);
+@@ -445,7 +455,11 @@
+
+ #endif /* NV_DRM_ATOMIC_MODESET_AVAILABLE */
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ return 0;
++#else
++ return;
++#endif
+ }
+
+ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
+@@ -542,7 +556,9 @@
+ void *data,
+ struct drm_file *file_priv)
+ {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0)
+ struct nvidia_drm_device *nv_dev = dev->dev_private;
++#endif
+ struct drm_nvidia_get_client_capability_params *params = data;
+
+ switch (params->capability)
+
+--- a/kernel/nvidia-drm/nvidia-drm-gem.c
++++ b/kernel/nvidia-drm/nvidia-drm-gem.c
+@@ -31,6 +31,8 @@
+
+ #include "nv-mm.h"
+
++#include <linux/version.h>
++
+ static struct nvidia_drm_gem_object *nvidia_drm_gem_new
+ (
+ struct drm_file *file_priv,
+@@ -511,11 +513,19 @@
+ * Note that nvidia_drm_vma_fault() can be called for different or same
+ * ranges of the same drm_gem_object simultaneously.
+ */
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ static int nvidia_drm_vma_fault(struct vm_area_struct *vma,
+ struct vm_fault *vmf)
++#else
++static int nvidia_drm_vma_fault(struct vm_fault *vmf)
++#endif
+ {
+ unsigned long address = nv_page_fault_va(vmf);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ struct drm_gem_object *gem = vma->vm_private_data;
++#else
++ struct drm_gem_object *gem = vmf->vma->vm_private_data;
++#endif
+ struct nvidia_drm_gem_object *nv_gem =
+ DRM_GEM_OBJECT_TO_NV_GEM_OBJECT(gem);
+ unsigned long page_offset, pfn;
+@@ -526,7 +536,11 @@
+
+ page_offset = vmf->pgoff - drm_vma_node_start(&gem->vma_node);
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ ret = vm_insert_pfn(vma, address, pfn + page_offset);
++#else
++ ret = vm_insert_pfn(vmf->vma, address, pfn + page_offset);
++#endif
+
+ switch (ret) {
+ case 0:
+--- a/kernel/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel/nvidia-drm/nvidia-drm-linux.c
+@@ -20,6 +20,8 @@
+ * DEALINGS IN THE SOFTWARE.
+ */
+
++#include <linux/version.h>
++
+ #include <linux/module.h>
+ #include <linux/slab.h>
+ #include <linux/err.h>
+@@ -185,7 +187,11 @@
+ module_exit(nv_linux_drm_exit);
+
+ #if defined(MODULE_LICENSE)
++#if LINUX_VERSION_CODE > KERNEL_VERSION(4, 10, 0)
++ MODULE_LICENSE("Dual MIT/GPL");
++#else
+ MODULE_LICENSE("MIT");
++#endif
+ #endif
+ #if defined(MODULE_INFO)
+ MODULE_INFO(supported, "external");
+
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index d84fb75..49ec009 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -8,7 +8,7 @@
Name: nvidia-kmod
Epoch: 1
-Version: 378.13
+Version: 381.09
# Taken over by kmodtool
Release: 1%{?dist}
Summary: NVIDIA display driver kernel module
@@ -19,7 +19,7 @@ URL: http://www.nvidia.com/
Source11: nvidia-kmodtool-excludekernel-filterfile
Patch0: nv-linux-arm.patch
Patch1: nv-linux-arm2.patch
-Patch2: kernel_4.10.patch
+Patch2: kernel_4.11.patch
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: i686 x86_64 armv7hl
@@ -73,6 +73,9 @@ done
%changelog
+* Fri Apr 07 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1:381.09-1
+- Update to 381.09 beta
+
* Sun Mar 05 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1:378.13-1
- Update to 378.13
7 years, 7 months
[xorg-x11-drv-nvidia] Update to 381.09 beta
by Leigh Scott
commit c15da85d2529cc42e9ea2ccc27e5578104e32062
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Apr 7 10:49:10 2017 +0100
Update to 381.09 beta
.gitignore | 3 +++
sources | 6 +++---
xorg-x11-drv-nvidia.spec | 7 +++++--
3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f50e33c..6d86284 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,6 @@ NVIDIA-Linux-x86_64-358.16.run
/NVIDIA-Linux-x86-378.13.run
/NVIDIA-Linux-x86_64-378.13.run
/NVIDIA-Linux-armv7l-gnueabihf-378.13.run
+/NVIDIA-Linux-x86-381.09.run
+/NVIDIA-Linux-x86_64-381.09.run
+/NVIDIA-Linux-armv7l-gnueabihf-381.09.run
diff --git a/sources b/sources
index d785f35..17deac2 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-dd1077750af9a067739ec291fb24175f NVIDIA-Linux-x86-378.13.run
-56dbaa7347e12f425d11164cfc2f46d0 NVIDIA-Linux-x86_64-378.13.run
-34c4ed565c7c6f5aad208f2292e54413 NVIDIA-Linux-armv7l-gnueabihf-378.13.run
+aa16257e2ab1c28724479165afc187cc NVIDIA-Linux-x86-381.09.run
+0a306b62fbf080943fd0559e12a7ddeb NVIDIA-Linux-x86_64-381.09.run
+01a30db744e0792ba8dd28202b37820e NVIDIA-Linux-armv7l-gnueabihf-381.09.run
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 8088eba..a389942 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -22,8 +22,8 @@
Name: xorg-x11-drv-nvidia
Epoch: 1
-Version: 378.13
-Release: 2%{?dist}
+Version: 381.09
+Release: 1%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -623,6 +623,9 @@ fi ||:
%{_nvidia_libdir}/libGLX_nvidia.so
%changelog
+* Fri Apr 07 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1:381.09-1
+- Update to 381.09 beta
+
* Tue Mar 14 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1:378.13-2
- Link libGLX_indirect.so.0 to libGLX_mesa.so.0
7 years, 7 months
[libva-intel-driver] Update to 1.8.0
by Nicolas Chauvet
commit cdd88f9314dff5496925d0154b347d329cf2e164
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Apr 7 10:42:09 2017 +0200
Update to 1.8.0
.gitignore | 1 +
libva-intel-driver.spec | 29 ++++++++++++++++++-----------
sources | 2 +-
3 files changed, 20 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4eacf39..c4530f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
libva-intel-driver-*.tar.bz2
+libva-intel-driver-*.tar.gz
diff --git a/libva-intel-driver.spec b/libva-intel-driver.spec
index 05ee9dd..c2f45f2 100644
--- a/libva-intel-driver.spec
+++ b/libva-intel-driver.spec
@@ -1,18 +1,19 @@
#global _with_gen4asm 1
Name: libva-intel-driver
-Version: 1.7.3
-Release: 3%{?dist}
+Version: 1.8.0
+Release: 1%{?dist}
Summary: HW video decode support for Intel integrated graphics
-Group: System Environment/Libraries
License: MIT and EPL
-URL: http://freedesktop.org/wiki/Software/vaapi
-Source0: http://www.freedesktop.org/software/vaapi/releases/%{name}/%{name}-%{vers...
-Patch0: libva-intel-driver-1.7.3-glvnd-fix.patch
+URL: https://01.org/linuxmedia
+Source0: https://github.com/01org/intel-vaapi-driver/archive/%{version}.tar.gz#/%{...
ExclusiveArch: %{ix86} x86_64 ia64
-#BuildRequires: libtool
+BuildRequires: libtool
+
+#Renamed when moved to 01.org
+Provides: intel-vaapi-driver = %{version}-%{release}
%{?_with_gen4asm:BuildRequires: pkgconfig(intel-gen4asm)}
BuildRequires: pkgconfig(libudev)
@@ -35,7 +36,7 @@ HW video decode support for Intel integrated graphics.
%prep
-%autosetup -p1
+%autosetup -p1 -n intel-vaapi-driver-%{version}
%{?_with_gen4asm:
#Move pre-built (binary) asm code
for f in src/shaders/vme/*.g?b ; do
@@ -48,12 +49,12 @@ done
%build
-#autoreconf -vif
+autoreconf -vif
%configure --disable-static
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=%{buildroot} INSTALL="install -p"
+%make_install INSTALL="install -p"
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
%{?_with_gen4asm:
@@ -69,6 +70,12 @@ gendiff . .prebuilt
%changelog
+* Fri Apr 07 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 1.8.0-1
+- Update to 1.8.0
+- Move to 01.org
+- Add Virtual Provides as the project change it's name
+- Drop Group
+
* Sun Mar 19 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.7.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index d08fbd7..a447926 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5b266e605905a3676b63b8bc93a2ffc8 libva-intel-driver-1.7.3.tar.bz2
+86d49ea797b54631fad1f5e1c985c3d9 libva-intel-driver-1.8.0.tar.gz
7 years, 7 months
[smplayer] Update smplayer to 17.4.0
by Sérgio M. Basto
commit 91779d9359e8a7f150f7c1e084b94fcfff6a31a7
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Apr 6 13:23:54 2017 +0100
Update smplayer to 17.4.0
.gitignore | 2 ++
smplayer.spec | 9 ++++++---
sources | 4 ++--
3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4a821a6..b3d5f40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,5 @@ smtube-16.3.0.tar.bz2
/smplayer-17.2.0.tar.bz2
/smplayer-17.3.0.tar.bz2
/smplayer-themes-17.2.0.tar.bz2
+/smplayer-17.4.0.tar.bz2
+/smplayer-themes-17.3.0.tar.bz2
diff --git a/smplayer.spec b/smplayer.spec
index 1f2cfc8..01fb53d 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -1,9 +1,9 @@
Name: smplayer
-Version: 17.3.0
+Version: 17.4.0
%global smtube_ver 17.1.0
-%global smplayer_themes_ver 17.2.0
+%global smplayer_themes_ver 17.3.0
%global smplayer_skins_ver 15.2.0
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: A graphical frontend for mplayer and mpv
Group: Applications/Multimedia
@@ -208,6 +208,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Thu Apr 06 2017 Sérgio Basto <sergio(a)serjux.com> - 17.4.0-1
+- Update smplayer to 17.4.0
+
* Mon Mar 20 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 17.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index 6893350..5bd8f8e 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-6464e11f8515584575aa998d634cc70f smplayer-17.3.0.tar.bz2
+cccd906708cf91b8fc19595783d30fe6 smplayer-17.4.0.tar.bz2
baefe662fe60d78ecc313c5499f01495 smtube-17.1.0.tar.bz2
-efeff79766388c876cdb7410445dedc6 smplayer-themes-17.2.0.tar.bz2
+33c063c5a80c5b1625f51ddbb7bfd3a1 smplayer-themes-17.3.0.tar.bz2
57e165cf9a95808fafd179e5322b7f15 smplayer-skins-15.2.0.tar.bz2
7 years, 7 months