From d240e9d8212f9164eb03c64172e69f68b298a134 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Fri, 25 Nov 2022 22:19:41 +0100 Subject: [PATCH] replaced fixed mpl-data path in matplotlib __init__.py file, maybe fixes T234 --- AppImageBuilder.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index 6851229..74dba41 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -49,9 +49,12 @@ AppDir: - python3-pyqtgraph - python3-tk exclude: - - usr/share/man - - usr/share/doc - + - libavahi-client3 + - libavahi-common-data + - libavahi-common3 + after_bundle: | + echo "MONSTER SED FOLLOWING..." + sed -i s,\'/usr/share/matplotlib/mpl-data\',"f\"\{os.environ.get\('APPDIR'\,'/'\)\}/usr/share/matplotlib/mpl-data\"", ${TARGET_APPDIR}/usr/lib/python3/dist-packages/matplotlib/__init__.py runtime: version: "continuous" env: