Skip to content

Commit

Permalink
AppImage improvements (libxcb-cursor0, cleaning) (#382)
Browse files Browse the repository at this point in the history
* AppImage: Include libxcb-cursor0

* AppImage: Update PySide6 paths to clean

See #378 (comment)
  • Loading branch information
DavidoTek authored Apr 23, 2024
1 parent 46a3778 commit 9f72d6a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ script:
- cp pupgui2 AppDir/usr/lib/python3.10/site-packages -r
- cp share AppDir/usr -r
- python3 -m pip install --ignore-installed --prefix=/usr --no-cache-dir --root=AppDir -r ./requirements.txt
- rm -rf AppDir/usr/lib/python3.10/site-packages/PySide6/Qt/qml/
- rm -rf AppDir/usr/lib/python3.10/site-packages/PySide6/examples/
- rm -rf AppDir/usr/lib/python3.10/site-packages/PySide6/Qt/resources/
- rm -rf AppDir/usr/lib/python3.10/site-packages/PySide6/Qt/translations/qtwebengine_locales/
- rm -f AppDir/usr/lib/python3.10/site-packages/PySide6/{assistant,designer,linguist,lrelease,lupdate}
- rm -f AppDir/usr/lib/python3.10/site-packages/PySide6/{Qt3D*,QtBluetooth*,QtCharts*,QtConcurrent*,QtDataVisualization*,QtDBus*,QtDesigner*,QtHelp*,QtMultimedia*,QtNetwork*,QtOpenGL*,QtPositioning*,QtPrintSupport*,QtQml*,QtQuick*,QtRemoteObjects*,QtScxml*,QtSensors*,QtSerialPort*,QtSql*,QtStateMachine*,QtSvg*,QtTest*,QtWeb*,QtXml*}
- rm -rf AppDir/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/
- rm -f AppDir/usr/local/lib/python3.10/dist-packages/PySide6/{assistant,designer,linguist,lrelease,lupdate}
- rm -f AppDir/usr/local/lib/python3.10/dist-packages/PySide6/{Qt3D*,QtBluetooth*,QtCharts*,QtConcurrent*,QtDataVisualization*,QtDBus*,QtDesigner*,QtHelp*,QtMultimedia*,QtNetwork*,QtOpenGL*,QtPositioning*,QtPrintSupport*,QtQml*,QtQuick*,QtRemoteObjects*,QtScxml*,QtSensors*,QtSerialPort*,QtSql*,QtStateMachine*,QtSvg*,QtTest*,QtWeb*,QtXml*}
- shopt -s extglob
- rm -rf AppDir/usr/lib/python3.10/site-packages/PySide6/Qt/lib/!(libQt6OpenGL*|libQt6XcbQpa*|libQt6Wayland*|libQt6Egl*|libicudata*|libicuuc*|libicui18n*|libQt6DBus*|libQt6Network*|libQt6Qml*|libQt6Core*|libQt6Gui*|libQt6Widgets*|libQt6Svg*|libQt6UiTools*)
- rm -rf AppDir/usr/local/lib/python3.10/dist-packages/PySide6/Qt/lib/!(libQt6OpenGL*|libQt6XcbQpa*|libQt6Wayland*|libQt6Egl*|libicudata*|libicuuc*|libicui18n*|libQt6DBus*|libQt6Network*|libQt6Qml*|libQt6Core*|libQt6Gui*|libQt6Widgets*|libQt6Svg*|libQt6UiTools*)


AppDir:
Expand All @@ -39,6 +36,7 @@ AppDir:
- libk5crypto3
- libkrb5-3
- libgssapi-krb5-2
- libxcb-cursor0
exclude: []

runtime:
Expand Down

0 comments on commit 9f72d6a

Please sign in to comment.