[nvidia-settings-390xx] Initial import, (BZ#5041).
by Richard Shaw
commit 7d864aa1b484bb0091c749694e55626ad6cd6f45
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Mon Oct 8 09:24:02 2018 -0500
Initial import, (BZ#5041).
.gitignore | 1 +
nvidia-settings-390xx.spec | 129 +++++++++++++++++++++++++++++++++++++++++++
nvidia-settings-user.desktop | 12 ++++
nvidia-settings.appdata.xml | 43 +++++++++++++++
sources | 1 +
5 files changed, 186 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ecc25c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nvidia-settings-390.87.tar.bz2
diff --git a/nvidia-settings-390xx.spec b/nvidia-settings-390xx.spec
new file mode 100644
index 0000000..a8a1223
--- /dev/null
+++ b/nvidia-settings-390xx.spec
@@ -0,0 +1,129 @@
+Name: nvidia-settings-390xx
+Version: 390.87
+Release: 1%{?dist}
+Summary: Configure the NVIDIA 390xx series graphics driver
+
+License: GPLv2+
+URL: https://download.nvidia.com/XFree86/nvidia-settings/
+Source0: %{url}/nvidia-settings-%{version}.tar.bz2
+Source1: nvidia-settings-user.desktop
+Source2: nvidia-settings.appdata.xml
+
+ExclusiveArch: i686 x86_64 armv7hl
+
+Conflicts: nvidia-settings
+
+BuildRequires: desktop-file-utils
+BuildRequires: gcc
+BuildRequires: hostname
+
+BuildRequires: gtk2-devel
+%if 0%{?fedora} || 0%{?rhel} > 6
+BuildRequires: gtk3-devel
+BuildRequires: libappstream-glib
+%endif
+BuildRequires: libXxf86vm-devel
+BuildRequires: libXext-devel
+BuildRequires: libXrandr-devel
+BuildRequires: libXv-devel
+BuildRequires: libvdpau-devel
+BuildRequires: m4
+BuildRequires: mesa-libEGL-devel
+BuildRequires: mesa-libGL-devel
+BuildRequires: pkgconfig(dbus-1)
+
+
+%description
+The nvidia-settings utility is a tool for configuring the NVIDIA graphics
+driver. It operates by communicating with the NVIDIA X driver, querying
+and updating state as appropriate.
+
+This communication is done with the NV-CONTROL X extension.
+nvidia-settings is compatible with driver %{version}.
+
+
+%prep
+%autosetup -n nvidia-settings-%{version}
+# We are building from source
+rm -rf src/libXNVCtrl/libXNVCtrl.a
+
+sed -i -e 's|/usr/local|%{_prefix}|g' utils.mk
+sed -i -e 's|/lib$|/%{_lib}|g' utils.mk
+sed -i -e 's|-lXxf86vm|-lXxf86vm -ldl -lm|g' Makefile
+
+
+%build
+# no job control
+export CFLAGS="%{optflags}"
+export LDFLAGS="%{?__global_ldflags}"
+pushd src/libXNVCtrl
+ make \
+ NVDEBUG=1 \
+ NV_VERBOSE=1 \
+ X_CFLAGS="${CFLAGS}"
+
+popd
+make \
+ NVDEBUG=1 \
+ NV_VERBOSE=1 \
+ STRIP_CMD=true NV_KEEP_UNSTRIPPED_BINARIES=1 \
+ X_LDFLAGS="-L%{_libdir}" \
+ CC_ONLY_CFLAGS="%{optflags}"
+(cd src/_out/Linux_*/ ; for i in nvidia-settings libnvidia-gtk{2,3}.so ; do cp $i.unstripped $i; done ; cd -)
+
+
+%install
+%make_install
+
+# Desktop entry for nvidia-settings
+mkdir -p %{buildroot}%{_datadir}/applications
+install -m 0644 doc/nvidia-settings.desktop \
+ %{buildroot}%{_datadir}/applications
+
+sed -i -e 's|__UTILS_PATH__/||' -e 's|__PIXMAP_PATH__/||' \
+ -e 's|nvidia-settings.png|nvidia-settings|' \
+ -e 's|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|System;Settings;|' \
+ %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
+
+desktop-file-validate \
+ %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
+
+# Pixmap installation
+mkdir -p %{buildroot}%{_datadir}/pixmaps
+install -pm 0644 doc/nvidia-settings.png \
+ %{buildroot}%{_datadir}/pixmaps
+
+# User settings installation
+mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart
+install -pm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/nvidia-settings-user.desktop
+desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/nvidia-settings-user.desktop
+
+%if 0%{?fedora}
+# AppData installation
+mkdir -p %{buildroot}%{_metainfodir}
+install -p -m 0644 %{SOURCE2} %{buildroot}%{_metainfodir}
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
+%endif
+
+%ldconfig_scriptlets
+
+
+%files
+%doc doc/*.txt
+%config %{_sysconfdir}/xdg/autostart/nvidia-settings-user.desktop
+%{_bindir}/nvidia-settings
+%{_libdir}/libnvidia-gtk?.so.*
+%if 0%{?fedora} || 0%{?rhel} > 6
+%exclude %{_libdir}/libnvidia-gtk2.so.*
+%endif
+%{_datadir}/pixmaps/nvidia-settings.png
+%{_datadir}/applications/nvidia-settings.desktop
+%if 0%{?fedora}
+%{_metainfodir}/nvidia-settings.appdata.xml
+%endif
+%{_mandir}/man1/nvidia-settings.1.*
+
+
+%changelog
+* Sun Oct 7 2018 Richard Shaw <hobbes1069(a)gmail.com> - 390.87-1
+- Initial packaging of 390.87 series.
diff --git a/nvidia-settings-user.desktop b/nvidia-settings-user.desktop
new file mode 100644
index 0000000..838914b
--- /dev/null
+++ b/nvidia-settings-user.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Exec=nvidia-settings -l
+Icon=nvidia-settings
+Hidden=false
+NoDisplay=false
+Name[en_GB]=nvidia-settings
+Name=nvidia-settings
+Comment[en_GB]=Load user settings
+Comment=Load user settings
+X-GNOME-Autostart-Delay=30
+X-GNOME-Autostart-enabled=true
diff --git a/nvidia-settings.appdata.xml b/nvidia-settings.appdata.xml
new file mode 100644
index 0000000..45b54a9
--- /dev/null
+++ b/nvidia-settings.appdata.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>nvidia-settings.desktop</id>
+ <name>NVIDIA Graphics Drivers Control Panel</name>
+ <summary>Accelerated Linux Graphics Driver Control Panel</summary>
+ <description>
+ <p>
+ The NVIDIA Accelerated Linux Graphics Driver brings accelerated 2D
+ functionality and high-performance OpenGL support to Linux with the
+ use of NVIDIA graphics processing units.
+ </p>
+ <p>
+ These drivers provide optimized hardware acceleration for OpenGL and X
+ applications and support nearly all recent NVIDIA GPU products.
+ The NVIDIA graphics driver uses a Unified Driver Architecture: the single
+ graphics driver supports all modern NVIDIA GPUs.
+ </p>
+ <p>
+ The nvidia-settings utility is a tool for configuring the NVIDIA graphics
+ driver. It operates by communicating with the NVIDIA X driver, querying
+ and updating state as appropriate. This communication is done via the
+ NV-CONTROL, GLX, XVideo, and RandR X extensions.
+ </p>
+ <p>
+ Values such as brightness and gamma, XVideo attributes, temperature, and
+ OpenGL settings can be queried and configured via nvidia-settings.
+ </p>
+ </description>
+ <translation/>
+ <url type="homepage">http://www.nvidia.com/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <developer_name>NVIDIA Corporation</developer_name>
+ <keywords>
+ <keyword>NVIDIA</keyword>
+ <keyword>driver</keyword>
+ <keyword>GeForce</keyword>
+ <keyword>Quadro</keyword>
+ <keyword>Vulkan</keyword>
+ <keyword>OpenGL</keyword>
+ </keywords>
+ <update_contact>nvidia-settings-owner(a)rpmfusion.org</update_contact>
+</component>
diff --git a/sources b/sources
index e69de29..cf0d154 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f75356a74ce19adfd4ca50d8f7811e07 nvidia-settings-390.87.tar.bz2
6 years, 1 month
[faac] Spec file clean up
by Leigh Scott
commit a56ff9841cec8465b89e588568c56635ce3741ef
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Oct 8 10:05:50 2018 +0100
Spec file clean up
faac-1.29.9.2-drm.patch | 24 ++++++++++++++++++++++++
faac.spec | 16 +++++++++++-----
2 files changed, 35 insertions(+), 5 deletions(-)
---
diff --git a/faac-1.29.9.2-drm.patch b/faac-1.29.9.2-drm.patch
new file mode 100644
index 0000000..685b6ce
--- /dev/null
+++ b/faac-1.29.9.2-drm.patch
@@ -0,0 +1,24 @@
+diff --git a/libfaac/Makefile.am b/libfaac/Makefile.am
+index 6211c82..044b372 100644
+--- a/libfaac/Makefile.am
++++ b/libfaac/Makefile.am
+@@ -6,18 +6,14 @@ if CPUSSE
+ common_CFLAGS += -msse2
+ endif
+
+-if USE_DRM
+-lib_LTLIBRARIES = libfaac_drm.la
++lib_LTLIBRARIES = libfaac_drm.la libfaac.la
+ libfaac_drm_la_SOURCES = ${common_SOURCES} ${common_INCLUDES} kiss_fft/kiss_fftr.c kiss_fft/kiss_fft.c kiss_fft/kiss_fft.h
+ EXTRA_libfaac_drm_la_SOURCES = kiss_fft/_kiss_fft_guts.h kiss_fft/kiss_fftr.h kiss_fft/README kiss_fft/README.kiss_fft
+ libfaac_drm_la_LIBADD = ${common_LIBADD}
+ libfaac_drm_la_CFLAGS = ${common_CFLAGS} -DDRM
+-else
+-lib_LTLIBRARIES = libfaac.la
+ libfaac_la_SOURCES = ${common_SOURCES} ${common_INCLUDES}
+ libfaac_la_LIBADD = ${common_LIBADD}
+ libfaac_la_CFLAGS = ${common_CFLAGS}
+-endif
+
+ libfaac_la_LDFLAGS = -no-undefined
+ if MINGW
diff --git a/faac.spec b/faac.spec
index 3ca3ebe..02ef682 100644
--- a/faac.spec
+++ b/faac.spec
@@ -1,14 +1,15 @@
Name: faac
Version: 1.29.9.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Encoder and encoding library for MPEG2/4 AAC
-Group: Applications/Multimedia
License: LGPLv2+
URL: http://www.audiocoding.com/
Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.t...
BuildRequires: libtool
+BuildRequires: autoconf
+Patch0: faac-1.29.9.2-drm.patch
%description
@@ -18,7 +19,6 @@ multichannel and gapless encoding.
%package devel
Summary: Development libraries of the FAAC AAC encoder
-Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@@ -30,11 +30,13 @@ This package contains development files and documentation for libfaac.
%prep
%setup -q
+%patch0 -p1 -b .drm
#fix encoding
/usr/bin/iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && touch -r AUTHORS AUTHORS.conv && /bin/mv -f AUTHORS.conv AUTHORS
%build
+autoreconf -fiv
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -45,13 +47,13 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_install
#Remove libtool archives.
-find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
+find %buildroot -name '*.la' -or -name '*.a' | xargs rm -f
%ldconfig_scriptlets
-%files
+%files
%doc AUTHORS ChangeLog NEWS README TODO docs/*
%license COPYING
%{_bindir}/*
@@ -63,6 +65,10 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
%{_includedir}/*.h
%changelog
+* Mon Oct 08 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.29.9.2-4
+- Enable DRM support (rfbz#5043)
+- Spec file clean up
+
* Sun Aug 19 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.29.9.2-3
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
6 years, 1 month
[wireguard/el7] Release 0.0.20181007
by Robert-André Mauchin
commit fe273b5366bdc5e0197802e5318b591fba85e87f
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Oct 7 18:33:49 2018 +0200
Release 0.0.20181007
.gitignore | 5 +++++
sources | 2 +-
wireguard.spec | 5 ++++-
3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1c70c6a..4d8d20e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,7 @@
/WireGuard-0.0.20180918.tar.xz
/WireGuard-0.0.20180925.tar.xz
+<<<<<<< HEAD
+=======
+/WireGuard-0.0.20181006.tar.xz
+/WireGuard-0.0.20181007.tar.xz
+>>>>>>> 8be4325... Release 0.0.20181007
diff --git a/sources b/sources
index 5de2a6a..5c09344 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b049f5af2a0dae7c12789b0462a9e9f9 WireGuard-0.0.20180925.tar.xz
+b798d35a544ac4578458ee6c7aefa5ed WireGuard-0.0.20181007.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 1a5963a..dc0636a 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,6 +1,6 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20180925
+Version: 0.0.20181007
Release: 1%{?dist}
License: GPLv2
@@ -82,6 +82,9 @@ popd
%changelog
+* Sun Oct 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181007-1
+- Release 0.0.20181007
+
* Tue Sep 25 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20180925-1
- Release 0.0.20180925
6 years, 1 month
[wireguard/f27] Release 0.0.20181007
by Robert-André Mauchin
commit 3b6afca72007ffb507f0170b6a8b9514bd6ea2a4
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Oct 7 18:33:49 2018 +0200
Release 0.0.20181007
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 5 ++++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fce96fc..01232c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/WireGuard-0.0.20180918.tar.xz
/WireGuard-0.0.20180925.tar.xz
/WireGuard-0.0.20181006.tar.xz
+/WireGuard-0.0.20181007.tar.xz
diff --git a/sources b/sources
index 6f75f30..5c09344 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-113975c6fc286c1304dab693e6198859 WireGuard-0.0.20181006.tar.xz
+b798d35a544ac4578458ee6c7aefa5ed WireGuard-0.0.20181007.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 05c426f..d18568d 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,6 +1,6 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20181006
+Version: 0.0.20181007
Release: 1%{?dist}
License: GPLv2
@@ -82,6 +82,9 @@ popd
%changelog
+* Sun Oct 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181007-1
+- Release 0.0.20181007
+
* Sat Oct 06 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181006-1
- Release 0.0.20181006
6 years, 1 month
[wireguard/f28] Release 0.0.20181007
by Robert-André Mauchin
commit 2e6f47d5287f70658d4a0a97493c6cc8be8f97b1
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Oct 7 18:33:49 2018 +0200
Release 0.0.20181007
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 5 ++++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fce96fc..01232c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/WireGuard-0.0.20180918.tar.xz
/WireGuard-0.0.20180925.tar.xz
/WireGuard-0.0.20181006.tar.xz
+/WireGuard-0.0.20181007.tar.xz
diff --git a/sources b/sources
index 6f75f30..5c09344 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-113975c6fc286c1304dab693e6198859 WireGuard-0.0.20181006.tar.xz
+b798d35a544ac4578458ee6c7aefa5ed WireGuard-0.0.20181007.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 05c426f..d18568d 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,6 +1,6 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20181006
+Version: 0.0.20181007
Release: 1%{?dist}
License: GPLv2
@@ -82,6 +82,9 @@ popd
%changelog
+* Sun Oct 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181007-1
+- Release 0.0.20181007
+
* Sat Oct 06 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181006-1
- Release 0.0.20181006
6 years, 1 month
[wireguard/f29] Release 0.0.20181007
by Robert-André Mauchin
commit 9f2e75f814121c4a7dbb6ea770cf4e48161b9094
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Oct 7 18:33:49 2018 +0200
Release 0.0.20181007
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 5 ++++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fce96fc..01232c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/WireGuard-0.0.20180918.tar.xz
/WireGuard-0.0.20180925.tar.xz
/WireGuard-0.0.20181006.tar.xz
+/WireGuard-0.0.20181007.tar.xz
diff --git a/sources b/sources
index 6f75f30..5c09344 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-113975c6fc286c1304dab693e6198859 WireGuard-0.0.20181006.tar.xz
+b798d35a544ac4578458ee6c7aefa5ed WireGuard-0.0.20181007.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 05c426f..d18568d 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,6 +1,6 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20181006
+Version: 0.0.20181007
Release: 1%{?dist}
License: GPLv2
@@ -82,6 +82,9 @@ popd
%changelog
+* Sun Oct 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181007-1
+- Release 0.0.20181007
+
* Sat Oct 06 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181006-1
- Release 0.0.20181006
6 years, 1 month
[wireguard] Release 0.0.20181007
by Robert-André Mauchin
commit 8be43257dfd22e92a9de09b3e2e0d9b3fc60f5a6
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Oct 7 18:33:49 2018 +0200
Release 0.0.20181007
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 5 ++++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fce96fc..01232c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/WireGuard-0.0.20180918.tar.xz
/WireGuard-0.0.20180925.tar.xz
/WireGuard-0.0.20181006.tar.xz
+/WireGuard-0.0.20181007.tar.xz
diff --git a/sources b/sources
index 6f75f30..5c09344 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-113975c6fc286c1304dab693e6198859 WireGuard-0.0.20181006.tar.xz
+b798d35a544ac4578458ee6c7aefa5ed WireGuard-0.0.20181007.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 05c426f..d18568d 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,6 +1,6 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20181006
+Version: 0.0.20181007
Release: 1%{?dist}
License: GPLv2
@@ -82,6 +82,9 @@ popd
%changelog
+* Sun Oct 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181007-1
+- Release 0.0.20181007
+
* Sat Oct 06 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20181006-1
- Release 0.0.20181006
6 years, 1 month