mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
+ Experiment with snappy / snapcraft
This commit is contained in:
parent
dcf30f06d4
commit
4f3a35e650
@ -2,28 +2,46 @@
|
||||
|
||||
export LC_ALL="en.utf-8"
|
||||
|
||||
export PATH="$SNAP/bin:$SNAP/usr/bin:$PATH"
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu"
|
||||
export PATH="$SNAP/bin:$SNAP/usr/bin"
|
||||
export LD_LIBRARY_PATH="$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu"
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu/mesa:$LD_LIBRARY_PATH"
|
||||
|
||||
export JAVA_HOME="$SNAP/usr/lib/jvm/default-java"
|
||||
export PATH="$SNAP/usr/lib/jvm/default-java/bin:$SNAP/usr/lib/jvm/default-java/jre/bin:$PATH"
|
||||
export JAVA_HOME="$SNAP/usr/lib/jvm/java-8-openjdk-amd64"
|
||||
export PATH="$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH"
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/bin/../lib/amd64/jli:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/../lib/amd64/jli:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/jli:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/pulseaudio:$LD_LIBRARY_PATH"
|
||||
|
||||
export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
|
||||
export JRE_LIB="$SNAP/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64"
|
||||
export LD_LIBRARY_PATH="$JRE_LIB:$JRE_LIB/jli:$LD_LIBRARY_PATH"
|
||||
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu/mesa:$SNAP/usr/lib/x86_64-linux-gnu/dri:$LD_LIBRARY_PATH"
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu/gtk-2.0/modules:$SNAP/usr/lib/x86_64-linux-gnu/gtk-2.0:$LD_LIBRARY_PATH"
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/pulseaudio:$LD_LIBRARY_PATH"
|
||||
|
||||
export LD_LIBRARY_PATH="$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH"
|
||||
|
||||
export GDK_PIXBUF_MODULEDIR="$SNAP/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0"
|
||||
export GDK_PIXBUF_MODULE_FILE="$SNAP/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache"
|
||||
|
||||
export JAVA_HOME="$SNAP/usr/lib/jvm/default-java"
|
||||
export APP_ROOT="$SNAP/filebot"
|
||||
|
||||
export APP_DATA="$SNAP_USER_DATA/data"
|
||||
export APP_CACHE="$SNAP_USER_DATA/cache"
|
||||
|
||||
export FONTCONFIG_FILE=$SNAP/fonts.conf
|
||||
export FONTCONFIG_FILE="$SNAP/fonts.conf"
|
||||
export LIBGL_DEBUG=verbose
|
||||
export G_MESSAGES_DEBUG=all
|
||||
|
||||
# export JAVA_OPTS="-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel -Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel"
|
||||
export GTK_MODULES="gail:atk-bridge:unity-gtk-module"
|
||||
export GTK2_MODULES="overlay-scrollbar"
|
||||
export GTK_MODULES=""
|
||||
export GTK2_MODULES=""
|
||||
|
||||
# start filebot
|
||||
$JAVA_HOME/bin/java -Dunixfs=false -DuseGVFS=true -Dapplication.update=skip -Dapplication.deployment=usc -Dnet.filebot.UserFiles.fileChooser=JavaFX "-Dapplication.dir=$APP_DATA" "-Dapplication.cache=$APP_CACHE/ehcache.disk.store" "-Djava.io.tmpdir=$APP_CACHE/java.io.tmpdir" "-Dnet.filebot.AcoustID.fpcalc=$SNAP/usr/bin/fpcalc" $JAVA_OPTS -jar "$APP_ROOT/FileBot.jar" "$@"
|
||||
glxgears
|
||||
|
||||
export JAVA_OPTS="-Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel"
|
||||
|
||||
java -Djava.library.path=$LD_LIBRARY_PATH -Dunixfs=false -DuseGVFS=false -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.xrender=true -Djava.net.useSystemProxies=true -Dapplication.update=skip -Dapplication.deployment=usc -Dnet.filebot.UserFiles.fileChooser=JavaFX "-Dapplication.dir=$APP_DATA" "-Dapplication.cache=$APP_CACHE/ehcache.disk.store" "-Djava.io.tmpdir=$APP_CACHE/java.io.tmpdir" "-Dnet.filebot.AcoustID.fpcalc=$SNAP/usr/bin/fpcalc" $JAVA_OPTS -jar "$APP_ROOT/FileBot.jar" "$@"
|
||||
|
112
installer/snappy/loaders.cache
Normal file
112
installer/snappy/loaders.cache
Normal file
@ -0,0 +1,112 @@
|
||||
# GdkPixbuf Image Loader Modules file
|
||||
# Automatically generated file, do not edit
|
||||
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.32.2
|
||||
#
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
|
||||
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
|
||||
"image/x-xbitmap" ""
|
||||
"xbm" ""
|
||||
"#define " "" 100
|
||||
"/*" "" 50
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
|
||||
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
|
||||
"image/tiff" ""
|
||||
"tiff" "tif" ""
|
||||
"MM *" " z " 100
|
||||
"II* " " z" 100
|
||||
"II* \020 CR\002 " " z zzz z" 0
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
|
||||
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
|
||||
"image/gif" ""
|
||||
"gif" ""
|
||||
"GIF8" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
|
||||
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
|
||||
"image/x-xpixmap" ""
|
||||
"xpm" ""
|
||||
"/* XPM */" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
|
||||
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
|
||||
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
|
||||
"bmp" ""
|
||||
"BM" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
|
||||
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
|
||||
"image/x-tga" ""
|
||||
"tga" "targa" ""
|
||||
" \001\001" "x " 100
|
||||
" \001\t" "x " 100
|
||||
" \002" "xz " 99
|
||||
" \003" "xz " 100
|
||||
" \n" "xz " 100
|
||||
" \v" "xz " 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
|
||||
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
|
||||
"application/x-navi-animation" ""
|
||||
"ani" ""
|
||||
"RIFF ACON" " xxxx " 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
|
||||
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
|
||||
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
|
||||
"svg" "svgz" "svg.gz" ""
|
||||
" <svg" "* " 100
|
||||
" <!DOCTYPE svg" "* " 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
|
||||
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
|
||||
"image/x-icns" ""
|
||||
"icns" ""
|
||||
"icns" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
|
||||
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
|
||||
"image/png" ""
|
||||
"png" ""
|
||||
"\211PNG\r\n\032\n" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
|
||||
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
|
||||
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
|
||||
"pnm" "pbm" "pgm" "ppm" ""
|
||||
"P1" "" 100
|
||||
"P2" "" 100
|
||||
"P3" "" 100
|
||||
"P4" "" 100
|
||||
"P5" "" 100
|
||||
"P6" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
|
||||
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
|
||||
"image/jpeg" ""
|
||||
"jpeg" "jpe" "jpg" ""
|
||||
"\377\330" "" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
|
||||
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
|
||||
"image/x-quicktime" "image/qtif" ""
|
||||
"qtif" "qif" ""
|
||||
"abcdidsc" "xxxx " 100
|
||||
"abcdidat" "xxxx " 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
|
||||
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
|
||||
"image/x-icon" "image/x-ico" "image/x-win-bitmap" ""
|
||||
"ico" "cur" ""
|
||||
" \001 " "zz znz" 100
|
||||
" \002 " "zz znz" 100
|
||||
|
||||
"/snap/filebot/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so"
|
||||
"wmf" 0 "gdk-pixbuf" "Windows Metafile" ""
|
||||
"image/x-wmf" ""
|
||||
"wmf" "apm" ""
|
||||
"\327\315\306\232" "" 100
|
||||
"\001" "" 100
|
||||
|
||||
|
0
installer/snappy/setup/gui/filebot.desktop
Normal file → Executable file
0
installer/snappy/setup/gui/filebot.desktop
Normal file → Executable file
@ -31,20 +31,24 @@ parts:
|
||||
fonts:
|
||||
plugin: copy
|
||||
files:
|
||||
/usr/share/fonts: /usr/share/fonts
|
||||
/usr/share/fonts: usr/share/fonts
|
||||
fonts.conf: fonts.conf
|
||||
base:
|
||||
plugin: jdk
|
||||
source: .
|
||||
packages:
|
||||
plugin: nil
|
||||
stage-packages:
|
||||
- libgnome2-0
|
||||
- gvfs
|
||||
- mediainfo
|
||||
- libmediainfo0v5
|
||||
- libchromaprint-tools
|
||||
- language-pack-en
|
||||
- openjdk-8-jre
|
||||
- openjfx
|
||||
- fontconfig
|
||||
- libcanberra-gtk-module
|
||||
- libcanberra-gtk0
|
||||
- libcanberra-gtk3-0
|
||||
- overlay-scrollbar
|
||||
- jayatana
|
||||
- gvfs
|
||||
- mesa-utils
|
||||
loaders:
|
||||
plugin: copy
|
||||
files:
|
||||
loaders.cache: usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
stage-packages:
|
||||
- libwmf0.2-7-gtk
|
||||
- librsvg2-common
|
||||
- libgdk-pixbuf2.0-0
|
||||
|
Loading…
Reference in New Issue
Block a user