summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-settings-legacy/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-16 15:52:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-16 15:52:07 +0100
commit65c73b332292cf97e537ae4c345cf352dc53fe5e (patch)
treef0e94d135fb31ceaa4b6634480fd22179c8b3cf3 /x11-misc/nvidia-settings-legacy/files
parentee301fa587e961154b4a0094772893680c456bf7 (diff)
x11-drivers/nvidia-drivers : reorganise things so we support multiple versions
Diffstat (limited to 'x11-misc/nvidia-settings-legacy/files')
-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
3 files changed, 0 insertions, 52 deletions
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;