File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 container :
1313 image : ghcr.io/grumpycoders/pcsx-redux-build:latest
14- options : --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined
1514 env :
1615 TEST_RESULTS : /tmp/test-results
1716 steps :
Original file line number Diff line number Diff line change @@ -36,22 +36,17 @@ RUN apt install -y xvfb
3636RUN apt install -y python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace
3737RUN apt install -y glibc-tools lcov
3838RUN apt install -y file
39-
40- # AppImage dependencies
41- RUN apt install -y libfuse2t64
42- RUN apt install -y fuse
43-
4439WORKDIR /tmp
45- RUN wget https://github.com/AppImage/appimagetool /releases/download/continuous/appimagetool-x86_64.AppImage && \
40+ RUN wget https://github.com/AppImage/AppImageKit /releases/download/continuous/appimagetool-x86_64.AppImage && \
4641 chmod +x /tmp/appimagetool-x86_64.AppImage && \
4742 cd /opt && /tmp/appimagetool-x86_64.AppImage --appimage-extract && \
4843 mv squashfs-root appimage-tool.AppDir && \
4944 ln -s /opt/appimage-tool.AppDir/AppRun /usr/bin/appimagetool && \
5045 rm /tmp/appimagetool-x86_64.AppImage
5146WORKDIR /
52- RUN wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/ appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
53- RUN chmod +x appimage-builder-x86_64.AppImage
54- RUN mv appimage-builder-x86_64.AppImage /usr/local/bin/ appimage-builder
47+ RUN pip3 install --break-system-packages appimage-builder pydpkg
48+ COPY appimage-dpkg.patch / appimage-dpkg.patch
49+ RUN patch -p 1 < appimage-dpkg.patch
5550RUN apt install -y imagemagick-6.q16 gtk-update-icon-cache appstream
5651RUN apt install -y squashfs-tools zip zsync
5752
Original file line number Diff line number Diff line change 1+ diff --git a/appimagebuilder/modules/deploy/apt/package.py b/appimagebuilder/modules/deploy/apt/package.py
2+ index 792a724d..6b59d3a3 100644
3+ --- a/usr/local/lib/python3.12/dist-packages/appimagebuilder/modules/deploy/apt/package.py
4+ +++ b/usr/local/lib/python3.12/dist-packages/appimagebuilder/modules/deploy/apt/package.py
5+ @@ -13,7 +13,7 @@
6+ import urllib
7+ from pathlib import Path
8+
9+ - from packaging import version
10+ + from pydpkg import Dpkg
11+
12+
13+ class Package:
14+ @@ -76,7 +76,7 @@ def __str__(self):
15+
16+ def __gt__(self, other):
17+ if isinstance(other, Package):
18+ - return version.parse(self.version) > version.parse(other.version)
19+ + return Dpkg.compare_versions(self.version, other.version) > 0
20+
21+ def __hash__(self):
22+ return self.__str__().__hash__()
You can’t perform that action at this time.
0 commit comments