File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ source "$HERE"/apprun-hooks/"linuxdeploy-plugin-gtk.sh"
1616
1717export CAMLIBS=$HERE /usr/lib/libgphoto2/` ls -1 --group-directories-first $HERE /usr/lib/libgphoto2| head -1`
1818
19+ export IOLIBS=$HERE /usr/lib/libgphoto2_port/` ls -1 --group-directories-first $HERE /usr/lib/libgphoto2_port| head -1`
20+
1921export GIO_EXTRA_MODULES=$HERE /usr/lib/gio/modules
2022
2123if [[ ! -z $APPIMAGE ]] ; then
Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ cp -a /var/lib/lensfun-updates/* ../AppDir/usr/share/lensfun
5454mkdir -p ../AppDir/usr/lib/libgphoto2
5555cp -a /usr/lib/x86_64-linux-gnu/libgphoto2/* ../AppDir/usr/lib/libgphoto2
5656
57+ # Include gphoto2 port libraries. We also have to set the IOLIBS
58+ # environment variable in AppRun.wrapped accordingly when starting
59+ # AppImage so that libgphoto2 can find these drivers.
60+ mkdir -p ../AppDir/usr/lib/libgphoto2_port
61+ cp -a /usr/lib/x86_64-linux-gnu/libgphoto2_port/* ../AppDir/usr/lib/libgphoto2_port
62+
5763# Include networking related GIO modules. We also have to set the GIO_EXTRA_MODULES
5864# environment variable in AppRun.wrapped accordingly when starting AppImage
5965# for the GLib's GIO subsystem to use these modules from our bundle.
You can’t perform that action at this time.
0 commit comments