Skip to content

Commit

Permalink
Update DisplayLink and evdi drivers
Browse files Browse the repository at this point in the history
This patch updates the package to the latest release from DisplayLink and the
evdi github repo.

It removes patches that are no longer needed.

Signed-off-by: Michael L. Young <[email protected]>
  • Loading branch information
elguero committed Aug 12, 2023
1 parent ae671a7 commit 203de20
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 536 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Versions
#

DAEMON_VERSION := 5.7.0-61.129
DOWNLOAD_ID := 5416 # This id number comes off the link on the displaylink website
VERSION := 1.13.1
RELEASE := 2
DAEMON_VERSION := 5.8.0-63.33
DOWNLOAD_ID := 5591 # This id number comes off the link on the displaylink website
VERSION := 1.14.1
RELEASE := 1

#
# Dependencies
Expand Down Expand Up @@ -127,7 +127,7 @@ $(EVDI_DEVEL):

$(DAEMON_PKG):
wget --no-verbose -O $(DAEMON_PKG) \
"https://www.synaptics.com/sites/default/files/exe_files/2023-04/DisplayLink USB Graphics Software for Ubuntu5.7-EXE.zip"
"https://www.synaptics.com/sites/default/files/exe_files/2023-08/DisplayLink USB Graphics Software for Ubuntu5.8-EXE.zip"

$(EVDI_PKG):
wget --no-verbose -O v$(VERSION).tar.gz \
Expand Down
20 changes: 11 additions & 9 deletions displaylink.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%{!?_daemon_version:%global _daemon_version 5.7.0-61.129}
%{!?_version:%global _version 1.13.1}
%{!?_release:%global _release 2}
%{!?_daemon_version:%global _daemon_version 5.8.0-63.33}
%{!?_version:%global _version 1.14.1}
%{!?_release:%global _release 1}

# Disable RPATH since DisplayLinkManager contains this.
# Fedora 35 enforces this check and will stop rpmbuild from
Expand Down Expand Up @@ -37,8 +37,6 @@ Source7: %{name}.logrotate
Source8: displaylink-udev-extractor.sh
Source9: evdi.conf

Patch0: evdi-el-fixes-1.13.1.diff

BuildRequires: gcc-c++
BuildRequires: libdrm-devel
BuildRequires: make
Expand All @@ -61,7 +59,7 @@ Requires: xorg-x11-server-Xorg >= 1.16
Conflicts: mutter < 3.32
Conflicts: xorg-x11-server-Xorg = 1.20.1

Provides: bundled(libevdi) = 1.13.1
Provides: bundled(libevdi) = %{version}

%description
This adds support for HDMI/VGA adapters built upon the DisplayLink DL-6xxx,
Expand All @@ -84,12 +82,10 @@ mkdir -p evdi-%{version}
mv displaylink-driver-%{_daemon_version}/evdi.tar.gz evdi-%{version}
cd evdi-%{version}
gzip -dc evdi.tar.gz | tar -xvvf -
%patch -P0 -p1

%else
%setup -q -T -D -a 0
cd evdi-%{version}
%patch -P0 -p1
%endif

sed -i 's/\r//' README.md
Expand Down Expand Up @@ -158,7 +154,7 @@ cp -a x86-ubuntu-1604/DisplayLinkManager %{buildroot}%{_libexecdir}/%{name}/
%endif

# Firmwares
cp -a ella-dock-release.spkg firefly-monitor-release.spkg ridge-dock-release.spkg %{buildroot}%{_libexecdir}/%{name}/
cp -a ella-dock-release.spkg firefly-monitor-release.spkg navarro-dock-release.spkg ridge-dock-release.spkg %{buildroot}%{_libexecdir}/%{name}/

# systemd/udev
cp -a %{SOURCE1} %{buildroot}%{_unitdir}/
Expand Down Expand Up @@ -237,6 +233,7 @@ done
%{_libexecdir}/%{name}/firefly-monitor-release.spkg
%{_libexecdir}/%{name}/libevdi.so
%{_libexecdir}/%{name}/libevdi.so.%{version}
%{_libexecdir}/%{name}/navarro-dock-release.spkg
%{_libexecdir}/%{name}/ridge-dock-release.spkg
%{_libexecdir}/%{name}/udev.sh

Expand All @@ -256,6 +253,11 @@ done
%systemd_postun_with_restart displaylink-driver.service

%changelog
* Sat Aug 12 2023 Michael L. Young <[email protected]> 1.14.1-1
- Update to new DisplayLink 5.8.0 package
- Update to use new evdi 1.14.1
- Remove patches that were merged upstream into evdi 1.14.1

* Sat Jun 24 2023 Michael L. Young <[email protected]> 1.13.1-2
- Minor update to a patch for EL8 builds

Expand Down
Loading

0 comments on commit 203de20

Please sign in to comment.