[xorg-x11-drv-nvidia] Update changelog
by Nicolas Chauvet
commit c492144df86e0a966c253742c7e29251488edee9
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 16:02:25 2018 +0100
Update changelog
xorg-x11-drv-nvidia.spec | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 86d5bc2..9064d80 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -37,7 +37,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
Version: 390.42
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -575,6 +575,15 @@ fi ||:
%{_libdir}/libnvidia-encode.so
%changelog
+* Mon Mar 19 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 3:390.42-2
+- Disable since we rely on OutputClass here
+- Use PrimaryGPU feature since Xorg >= 1.19
+- Use ldconfig_scriptlets macro
+- Disable uneeded ldconfig call from main
+- Disable wayland if gdm is available - See rhbz#1462052
+- Fixup removed f24 support
+- Fixup urls
+
* Tue Mar 13 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 3:390.42-1
- Update to 390.42 release
6 years, 7 months
[xorg-x11-drv-nvidia] Fixup gdm support
by Nicolas Chauvet
commit 9e60f6366a84048df49f7b3bd68adff33cfa23a0
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 15:56:04 2018 +0100
Fixup gdm support
xorg-x11-drv-nvidia.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index a83c8e3..86d5bc2 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -404,7 +404,9 @@ if [ "$1" -eq "1" ]; then
%if 0%{?fedora} || 0%{?rhel} >= 7
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts} /g' /etc/default/grub
%endif
-%if 0%{?fedora} && 0%{?fedora} < 28
+# Until mutter enable egl stream support, we need to disable gdm wayland
+# https://bugzilla.redhat.com/1462052
+%if 0%{?fedora}
if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/' %{_sysconfdir}/gdm/custom.conf
fi
6 years, 7 months
[xorg-x11-drv-nvidia] Disable since we rely on OutputClass here
by Nicolas Chauvet
commit 94ec42ef2ac3ed9ff8be84c38ba8e903c1e9acd1
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:25:06 2018 +0100
Disable since we rely on OutputClass here
xorg-x11-drv-nvidia.spec | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index a2b55d7..a83c8e3 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -434,11 +434,6 @@ fi
%ldconfig_scriptlets libs
%ldconfig_scriptlets cuda-libs
-%if 0%{?rhel} == 6
-%posttrans
-[ -f %{_sysconfdir}/X11/xorg.conf ] || cp -p %{_sysconfdir}/X11/xorg.conf.nvidia %{_sysconfdir}/X11/xorg.conf || :
-%endif
-
%preun
if [ "$1" -eq "0" ]; then
%{_grubby} --remove-args='%{_dracutopts}' &>/dev/null
6 years, 7 months
[xorg-x11-drv-nvidia] Use PrimaryGPU feature since Xorg >= 1.19
by Nicolas Chauvet
commit fc66ddcd33562181aafd2d1bd30fc4436ce53ea1
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:24:23 2018 +0100
Use PrimaryGPU feature since Xorg >= 1.19
xorg-x11-drv-nvidia.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 80007c1..a2b55d7 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -342,7 +342,7 @@ install -p -m 0644 nvidia-application-profiles-%{version}-{rc,key-documentation}
#Install the Xorg configuration files
mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
mkdir -p %{buildroot}%{_datadir}/X11/xorg.conf.d
-%if 0%{?fedora} >= 25
+%if 0%{?fedora} >= 25 || 0%{?rhel} >= 7
install -pm 0644 %{SOURCE10} %{buildroot}%{_datadir}/X11/xorg.conf.d/nvidia.conf
sed -i -e 's|@LIBDIR@|%{_libdir}|g' %{buildroot}%{_datadir}/X11/xorg.conf.d/nvidia.conf
touch -r %{SOURCE10} %{buildroot}%{_datadir}/X11/xorg.conf.d/nvidia.conf
6 years, 7 months
[xorg-x11-drv-nvidia] Use ldconfig_scriptlets macro
by Nicolas Chauvet
commit 81639685389ee8ad0bb4cee610a035609a9bd0b2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:08:04 2018 +0100
Use ldconfig_scriptlets macro
xorg-x11-drv-nvidia.spec | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 10d7ab2..80007c1 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -431,9 +431,8 @@ fi
%{_grubby} --args='%{_dracutopts}' &>/dev/null || :
%endif
-%post libs -p /sbin/ldconfig
-
-%post cuda-libs -p /sbin/ldconfig
+%ldconfig_scriptlets libs
+%ldconfig_scriptlets cuda-libs
%if 0%{?rhel} == 6
%posttrans
@@ -450,9 +449,6 @@ if [ "$1" -eq "0" ]; then
[ -f %{_sysconfdir}/X11/xorg.conf ] && mv %{_sysconfdir}/X11/xorg.conf %{_sysconfdir}/X11/xorg.conf.nvidia_uninstalled &>/dev/null
fi ||:
-%postun libs -p /sbin/ldconfig
-
-%postun cuda-libs -p /sbin/ldconfig
%files
%license nvidiapkg/LICENSE
6 years, 7 months
[xorg-x11-drv-nvidia] Disable uneeded ldconfig call from main
by Nicolas Chauvet
commit 8f9e11dbb9e54f55fc47effc7bb4cc473e8a71ff
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:03:10 2018 +0100
Disable uneeded ldconfig call from main
xorg-x11-drv-nvidia.spec | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index faec47c..10d7ab2 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -399,7 +399,6 @@ if [ "$1" -eq "1" ]; then
fi
%post
-/sbin/ldconfig
if [ "$1" -eq "1" ]; then
%{_grubby} --remove-args='nomodeset' --args='%{_dracutopts}' &>/dev/null
%if 0%{?fedora} || 0%{?rhel} >= 7
@@ -451,8 +450,6 @@ if [ "$1" -eq "0" ]; then
[ -f %{_sysconfdir}/X11/xorg.conf ] && mv %{_sysconfdir}/X11/xorg.conf %{_sysconfdir}/X11/xorg.conf.nvidia_uninstalled &>/dev/null
fi ||:
-%postun -p /sbin/ldconfig
-
%postun libs -p /sbin/ldconfig
%postun cuda-libs -p /sbin/ldconfig
6 years, 7 months
[xorg-x11-drv-nvidia] Disable wayland if gdm is available
by Nicolas Chauvet
commit 679fb78bdd277f1f51c4f79778d982776aea3b73
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:00:58 2018 +0100
Disable wayland if gdm is available
xorg-x11-drv-nvidia.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 1403986..faec47c 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -405,6 +405,11 @@ if [ "$1" -eq "1" ]; then
%if 0%{?fedora} || 0%{?rhel} >= 7
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts} /g' /etc/default/grub
%endif
+%if 0%{?fedora} && 0%{?fedora} < 28
+ if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
+ sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/' %{_sysconfdir}/gdm/custom.conf
+ fi
+%endif
fi || :
%if 0%{?fedora} || 0%{?rhel} >= 7
6 years, 7 months
[xorg-x11-drv-nvidia] Fixup removed f24 support
by Nicolas Chauvet
commit 5e36ca5a854bd1c425716cc3861d4553834e4cdb
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sun Mar 18 16:31:56 2018 +0100
Fixup removed f24 support
xorg-x11-drv-nvidia.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index e8abb03..1403986 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -238,7 +238,7 @@ cp -a \
libnvidia-ptxjitcompiler.so.%{version} \
%{buildroot}%{_libdir}/
-%if 0%{?rhel} || 0%{?fedora} == 24
+%if 0%{?rhel} && 0%{?rhel} < 8
mkdir -p %{buildroot}%{_nvidia_libdir}
cp -a \
libEGL.so.%{version} \
@@ -273,7 +273,7 @@ install -D -p -m 0755 libvdpau_nvidia.so.%{version} %{buildroot}%{_libdir}/vdpau
ln -sf libvdpau_nvidia.so.%{version} %{buildroot}%{_libdir}/vdpau/libvdpau_nvidia.so.1
# GlVND
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 8
ln -s libGLX_nvidia.so.%{version} %{buildroot}%{_libdir}/libGLX_indirect.so.0
# ld.so.conf.d file
install -m 0755 -d %{buildroot}%{_sysconfdir}/ld.so.conf.d/
@@ -384,7 +384,7 @@ fn=%{buildroot}%{_datadir}/appdata/xorg-x11-drv-nvidia.metainfo.xml
%endif
# Install nvidia-fallback
-%if 0%{?rhel} >= 6 || 0%{?fedora}
+%if 0%{?rhel} > 6 || 0%{?fedora}
mkdir -p %{buildroot}%{_unitdir}
install -p -m 0644 %{SOURCE20} %{buildroot}%{_udevrulesdir}
install -p -m 0644 %{SOURCE21} %{buildroot}%{_unitdir}
@@ -505,7 +505,7 @@ fi ||:
%{_datadir}/nvidia-kmod-%{version}/nvidia-kmod-%{version}-%{_target_cpu}.tar.xz
%files libs
-%if 0%{?rhel} || 0%{?fedora} == 24
+%if 0%{?rhel} && 0%{?rhel} < 8
%config %{_sysconfdir}/ld.so.conf.d/nvidia-%{_lib}.conf
%{_nvidia_libdir}/libEGL.so.1
%{_nvidia_libdir}/libEGL.so.%{version}
6 years, 7 months
[kodi-pvr-wmc] Update to latest stable release for Kodi 18
by Mohamed ElMorabity
commit f0ae72bad5757d30f99526d0f77693631ace7bc7
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Mar 19 15:28:00 2018 +0100
Update to latest stable release for Kodi 18
.gitignore | 1 +
gpl-2.0.txt | 339 ------------------------------------------------------
kodi-pvr-wmc.spec | 30 +++--
sources | 2 +-
4 files changed, 15 insertions(+), 357 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 14aa7e4..b906325 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/kodi-pvr-wmc-ed67cfe.tar.gz
/kodi-pvr-wmc-6bf36aa.tar.gz
+/pvr.wmc-e0a9190.tar.gz
diff --git a/kodi-pvr-wmc.spec b/kodi-pvr-wmc.spec
index d008d62..8e2536b 100644
--- a/kodi-pvr-wmc.spec
+++ b/kodi-pvr-wmc.spec
@@ -1,24 +1,21 @@
-%global commit 6bf36aadb9313f5df84569c2bc9ceaa7093b7ebf
-%global short_commit %(c=%{commit}; echo ${c:0:7})
-%global commit_date 20170621
+%global commit e0a9190c516c50dc68c24e8faad5afc4f7644f30
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20180312
%global kodi_addon pvr.wmc
-%global kodi_version 17.0
+%global kodi_version 18.0
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (https://github.com/opdenkamp/xbmc-pvr-addons/)
Epoch: 1
-Version: 1.4.10
-Release: 2%{?dist}
-Summary: Kodi's Windows Media Center client addon
+Version: 2.2.5
+Release: 1%{?dist}
+Summary: WMC PVR for Kodi
-Group: Applications/Multimedia
License: GPLv2+
URL: https://github.com/kodi-pvr/%{kodi_addon}/
-Source0: https://github.com/kodi-pvr/%{kodi_addon}/archive/%{short_commit}/%{name}...
-# GPLv2 license file
-Source1: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
+Source0: https://github.com/kodi-pvr/%{kodi_addon}/archive/%{shortcommit}/%{kodi_a...
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -29,18 +26,15 @@ Requires: kodi >= %{kodi_version}
ExclusiveArch: i686 x86_64
%description
-A PVR client to interface with Windows Media Center's recording and EPG
-services.
+%{summary}.
%prep
%autosetup -n %{kodi_addon}-%{commit}
-cp -p %{SOURCE1} .
-
%build
-%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir}/kodi/ .
+%cmake .
%make_build
@@ -50,12 +44,14 @@ cp -p %{SOURCE1} .
%files
%doc README.md %{kodi_addon}/changelog.txt
-%license gpl-2.0.txt
%{_libdir}/kodi/addons/%{kodi_addon}/
%{_datadir}/kodi/addons/%{kodi_addon}/
%changelog
+* Fri Mar 16 2018 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:2.2.5-1
+- Update to latest stable release for Kodi 18
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> - 1:1.4.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index d0bade0..3bf7c6a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aa23a584edb505f5e4140fca669c0816 kodi-pvr-wmc-6bf36aa.tar.gz
+c040db5f679c9dbcfcd431d8bc2cdad8 pvr.wmc-e0a9190.tar.gz
6 years, 7 months