summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-settings-legacy
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/nvidia-settings-legacy')
-rw-r--r--x11-misc/nvidia-settings-legacy/Manifest1
-rw-r--r--x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-fno-common.patch22
-rw-r--r--x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-linker.patch22
-rw-r--r--x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy.desktop8
-rw-r--r--x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.154.ebuild97
5 files changed, 0 insertions, 150 deletions
diff --git a/x11-misc/nvidia-settings-legacy/Manifest b/x11-misc/nvidia-settings-legacy/Manifest
deleted file mode 100644
index b4a55135..00000000
--- a/x11-misc/nvidia-settings-legacy/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nvidia-settings-legacy-390.154.tar.gz 1297258 BLAKE2B 16abb2f306684871d7a603b637086f37bc80391f60fd4b3bdb16aca1c5394daf5ddd126d18eb55948ee9e384f144431648d3a6a1d5e4d2e7dff3ce00edbab62b SHA512 cbb6b5f69784f66155a08da786b98de1de8659aa1b42af1a5baca02031e8e21c5d001292188994e01986dd4fca24ec9b7b5fb56491bfab889e7448cdde55f8ba
diff --git a/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-fno-common.patch b/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-fno-common.patch
deleted file mode 100644
index be03fa27..00000000
--- a/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-fno-common.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/src/gtk+-2.x/ctkvdpau.c
-+++ b/src/gtk+-2.x/ctkvdpau.c
-@@ -103,6 +103,8 @@
- const gchar* __video_mixer_attribute_help =
- "This shows the video mixer attributes and any applicable ranges.";
-
-+struct VDPAUDeviceImpl VDPAUDeviceFunctions;
-+
- static int queryOutputSurface(CtkVDPAU *ctk_vdpau, VdpDevice device,
- VdpGetProcAddress *getProcAddress);
-
---- a/src/gtk+-2.x/ctkvdpau.h
-+++ b/src/gtk+-2.x/ctkvdpau.h
-@@ -46,7 +46,7 @@
- (G_TYPE_INSTANCE_GET_CLASS ((obj), CTK_TYPE_VDPAU, CtkVDPAUClass))
-
-
--struct VDPAUDeviceImpl {
-+extern struct VDPAUDeviceImpl {
-
- VdpGetErrorString *GetErrorString;
- VdpGetProcAddress *GetProcAddress;
diff --git a/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-linker.patch b/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-linker.patch
deleted file mode 100644
index de65a598..00000000
--- a/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy-linker.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/utils.mk
-+++ b/utils.mk
-@@ -475,7 +475,7 @@
- define READ_ONLY_OBJECT_FROM_FILE_RULE
- $$(OUTPUTDIR)/$$(notdir $(1)).o: $(1)
- $(at_if_quiet)cd $$(dir $(1)); \
-- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
-+ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \
- $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@)
- $$(call quiet_cmd,OBJCOPY) \
- --rename-section .data=.rodata,contents,alloc,load,data,readonly \
---- a/src/libXNVCtrl/utils.mk
-+++ b/src/libXNVCtrl/utils.mk
-@@ -475,7 +475,7 @@
- define READ_ONLY_OBJECT_FROM_FILE_RULE
- $$(OUTPUTDIR)/$$(notdir $(1)).o: $(1)
- $(at_if_quiet)cd $$(dir $(1)); \
-- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
-+ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \
- $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@)
- $$(call quiet_cmd,OBJCOPY) \
- --rename-section .data=.rodata,contents,alloc,load,data,readonly \
diff --git a/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy.desktop b/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy.desktop
deleted file mode 100644
index 35f8aeee..00000000
--- a/x11-misc/nvidia-settings-legacy/files/nvidia-settings-legacy.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=NVIDIA X Server Settings
-Type=Application
-Comment=NVIDIA Linux X11 Settings Utility
-Exec=nvidia-settings
-TryExec=nvidia-settings
-Icon=nvidia-settings
-Categories=Settings;System;
diff --git a/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.154.ebuild b/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.154.ebuild
deleted file mode 100644
index dd128301..00000000
--- a/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.154.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="NVIDIA Linux X11 Settings Utility"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="https://github.com/NVIDIA/nvidia-settings/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* amd64"
-IUSE=""
-
-QA_PREBUILT=
-
-COMMON_DEPEND="
- x11-libs/gtk+:2
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/gdk-pixbuf-xlib
- media-libs/mesa
- x11-libs/pango[X]
- x11-libs/libXv
- x11-libs/libXrandr
- dev-libs/glib:2
- dev-libs/jansson
- x11-libs/cairo
- >=x11-libs/libvdpau-1.0"
-
-RDEPEND="${COMMON_DEPEND}
- !!x11-misc/nvidia-settings
- ~x11-drivers/nvidia-drivers-legacy-${PV}:${SLOT}"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- x11-base/xorg-proto"
-
-S=${WORKDIR}/nvidia-settings-${PV}
-
-src_prepare() {
- default
- eapply "${FILESDIR}"/"${PN}"-linker.patch
- eapply "${FILESDIR}"/"${PN}"-fno-common.patch
-}
-
-src_compile() {
- emake -C src/ \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- DO_STRIP= \
- LD="$(tc-getCC)" \
- LIBDIR="$(get_libdir)" \
- NVLD="$(tc-getLD)" \
- NV_VERBOSE=1 \
- RANLIB="$(tc-getRANLIB)" \
- build-xnvctrl
-
- emake -C src/ \
- CC="$(tc-getCC)" \
- DO_STRIP= \
- GTK3_AVAILABLE=1 \
- LD="$(tc-getCC)" \
- LIBDIR="$(get_libdir)" \
- NVLD="$(tc-getLD)" \
- NVML_ENABLED=0 \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1
-}
-
-src_install() {
- emake -C src/ \
- DESTDIR="${D}" \
- GTK3_AVAILABLE=1 \
- LIBDIR="${D}/usr/$(get_libdir)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 \
- PREFIX=/usr \
- DO_STRIP= \
- install
-
- insinto /usr/$(get_libdir)
- doins src/libXNVCtrl/libXNVCtrl.a
-
- insinto /usr/include/NVCtrl
- doins src/libXNVCtrl/*.h
-
- doicon doc/nvidia-settings.png
- domenu ${FILESDIR}/${PN}.desktop
-
- dodoc doc/*.txt
-
- rm -rvf ${D}usr/$(get_libdir)/libnvidia-gtk2.so.${PV}
-}