バグ #1364 » 1364-2-get-execso.patch
| deployment/appimage/Dockerfile | ||
|---|---|---|
|
make "DESTDIR=$APPDIR" install && \
|
||
|
cp -v BSDL COPYING* GPL LEGAL README* $APPDIR/usr/lib/ruby
|
||
|
# use exec.so to run commands placed outside of the AppImage
|
||
|
# see https://github.com/darealshinji/AppImageKit-checkrt/pull/11
|
||
|
RUN mkdir $APPDIR/usr/optional \
|
||
|
&& wget -q -O $APPDIR/usr/optional/exec.so https://github.com/mikutter/execso/releases/download/2019-08-20/exec-x86_64-gnu-linux.so
|
||
|
COPY AppRun mikutter.desktop gen_appimage.sh /
|
||
|
ENV VOLUME /volume
|
||
| deployment/appimage/gen_appimage.sh | ||
|---|---|---|
|
mkdir -p $APPDIR/usr/share/mikutter
|
||
|
cp -av "$BUILD_DIR"/{.bundle,core,mikutter.rb,Gemfile,LICENSE,README} $APPDIR/usr/share/mikutter
|
||
|
echo "--> get exec.so"
|
||
|
# use darealshinji/AppImageKit-checkrt's exec.so to exec xdg-open placed
|
||
|
# outside of the AppImage
|
||
|
# see https://github.com/darealshinji/AppImageKit-checkrt/pull/11
|
||
|
mkdir -p $APPDIR/usr/optional || true
|
||
|
wget -q -O $APPDIR/usr/optional/exec.so https://github.com/darealshinji/AppImageKit-checkrt/releases/download/continuous/exec-x86_64.so
|
||
|
echo "--> copy Typelibs for gobject-introspection gem"
|
||
|
cp -av /usr/lib/girepository-* $APPDIR/usr/lib
|
||