From 635703c68a2e73d4754be702077c8682bc995502 Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Jan 11 2019 09:43:31 +0000 Subject: Move "app-template" to "autobuild/osx" --- diff --git a/autobuild/app-template/Contents/Info.plist b/autobuild/app-template/Contents/Info.plist deleted file mode 100644 index 550f8e9..0000000 --- a/autobuild/app-template/Contents/Info.plist +++ /dev/null @@ -1,76 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - - CFBundleGetInfoString - _VERSION_, © 2001-2008 The Synfig Team - CFBundleShortVersionString - _VERSION_ - CFBundleVersion - _VERSION_ - NSHumanReadableCopyright - © 2001-2008 The Synfig Team - CFBundleIconFile - SynfigStudio - CFBundleDocumentTypes - - - CFBundleTypeExtensions - - sif - SIF - - CFBundleTypeIconFile - sif_file.icns - CFBundleTypeMIMETypes - - image/x-sif - - CFBundleTypeName - Synfig Animation - CFBundleTypeOSTypes - - SIF - - CFBundleTypeRole - Editor - LSIsAppleDefaultForType - - LSItemContentTypes - - org.synfig.sif - - - - CFBundleTypeExtensions - - sifz - SIFZ - - CFBundleTypeIconFile - sif_file.icns - CFBundleTypeMIMETypes - - image/x-compressed-sif - - CFBundleTypeName - Synfig Compressed Animation - CFBundleTypeOSTypes - - SIFZ - - CFBundleTypeRole - Editor - LSIsAppleDefaultForType - - LSItemContentTypes - - org.synfig.sifz - - - - - diff --git a/autobuild/app-template/Contents/MacOS/SynfigStudio b/autobuild/app-template/Contents/MacOS/SynfigStudio deleted file mode 100755 index d4c3928..0000000 --- a/autobuild/app-template/Contents/MacOS/SynfigStudio +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -set -e - -DIR=`dirname "$0"` -cd "$DIR/../Resources" -CWD=`pwd` - -#export DYLD_LIBRARY_PATH="$CWD/lib:$CWD/synfig/lib:$CWD/Library/Frameworks/Python.framework/Versions/3.3/:/Volumes/data/SynfigStudio.app/Contents/Resources/Library/Frameworks/Python.framework/Versions/3.3/Resources/Python.app/Contents/MacOS/:$DYLD_LIBRARY_PATH" - -export GTK_EXE_PREFIX="$CWD" -export GTK_DATA_PREFIX="$CWD/share" - -export GSETTINGS_SCHEMA_DIR="$CWD/share/glib-2.0/schemas/" -export FONTCONFIG_PATH="$CWD/etc/fonts" -export MLT_DATA="$CWD/share/mlt/" -export MLT_REPOSITORY="$CWD/lib/mlt/" - -export PATH="$CWD/bin:$CWD/synfig-production/bin:$PATH" -export SYNFIG_ROOT="$CWD/" -export SYNFIG_MODULE_LIST="$CWD/etc/synfig_modules.cfg" - - -export MAGICK_DIR=`ls -1 -d ${CWD}/lib/ImageMagick* | head -n 1` -export MAGICK_DIR=`basename $MAGICK_DIR` -export MAGICK_DIR_CONFIG=`ls -1 -d ${CWD}/lib/${MAGICK_DIR}/config-* | head -n 1` -export MAGICK_DIR_CONFIG=`basename $MAGICK_DIR_CONFIG` -export MAGICK_DIR_MODULES=`ls -1 -d ${CWD}/lib/${MAGICK_DIR}/modules-* | head -n 1` -export MAGICK_DIR_MODULES=`basename $MAGICK_DIR_MODULES` -export MAGICK_CONFIGURE_PATH="${CWD}/lib/${MAGICK_DIR}/${MAGICK_DIR_CONFIG}/" -export MAGICK_CODER_MODULE_PATH="${CWD}/lib/${MAGICK_DIR}/${MAGICK_DIR_MODULES}/coders/" -export MAGICK_CODER_FILTER_PATH="${CWD}/lib/${MAGICK_DIR}/${MAGICK_DIR_MODULES}/filters/" - -export XDG_DATA_DIRS="$CWD/share/:$XDG_DATA_DIRS" -export GDK_PIXBUF_MODULEDIR="$CWD/lib/gdk-pixbuf-2.0/2.10.0/loaders/" -export GDK_PIXBUF_MODULE_FILE=$HOME/.synfig-gdk-loaders -[ ! -f $HOME/.synfig-gdk-loaders ] || rm -f $HOME/.synfig-gdk-loaders -"$CWD/bin/gdk-pixbuf-query-loaders" > "$GDK_PIXBUF_MODULE_FILE" - -cd "$CWD" -exec "$SYNFIG_ROOT/bin/synfigstudio" "$@" diff --git a/autobuild/app-template/Contents/PkgInfo b/autobuild/app-template/Contents/PkgInfo deleted file mode 100644 index 0c9a484..0000000 --- a/autobuild/app-template/Contents/PkgInfo +++ /dev/null @@ -1 +0,0 @@ -APPLSYNFIG diff --git a/autobuild/app-template/Contents/Resources/SynfigStudio.icns b/autobuild/app-template/Contents/Resources/SynfigStudio.icns deleted file mode 100644 index 3d3d20f..0000000 Binary files a/autobuild/app-template/Contents/Resources/SynfigStudio.icns and /dev/null differ diff --git a/autobuild/app-template/Contents/Resources/sif_file.icns b/autobuild/app-template/Contents/Resources/sif_file.icns deleted file mode 100644 index 3092df6..0000000 Binary files a/autobuild/app-template/Contents/Resources/sif_file.icns and /dev/null differ diff --git a/autobuild/osx/app-template/Contents/Info.plist b/autobuild/osx/app-template/Contents/Info.plist new file mode 100644 index 0000000..550f8e9 --- /dev/null +++ b/autobuild/osx/app-template/Contents/Info.plist @@ -0,0 +1,76 @@ + + + + + CFBundleDevelopmentRegion + English + + CFBundleGetInfoString + _VERSION_, © 2001-2008 The Synfig Team + CFBundleShortVersionString + _VERSION_ + CFBundleVersion + _VERSION_ + NSHumanReadableCopyright + © 2001-2008 The Synfig Team + CFBundleIconFile + SynfigStudio + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + sif + SIF + + CFBundleTypeIconFile + sif_file.icns + CFBundleTypeMIMETypes + + image/x-sif + + CFBundleTypeName + Synfig Animation + CFBundleTypeOSTypes + + SIF + + CFBundleTypeRole + Editor + LSIsAppleDefaultForType + + LSItemContentTypes + + org.synfig.sif + + + + CFBundleTypeExtensions + + sifz + SIFZ + + CFBundleTypeIconFile + sif_file.icns + CFBundleTypeMIMETypes + + image/x-compressed-sif + + CFBundleTypeName + Synfig Compressed Animation + CFBundleTypeOSTypes + + SIFZ + + CFBundleTypeRole + Editor + LSIsAppleDefaultForType + + LSItemContentTypes + + org.synfig.sifz + + + + + diff --git a/autobuild/osx/app-template/Contents/MacOS/SynfigStudio b/autobuild/osx/app-template/Contents/MacOS/SynfigStudio new file mode 100755 index 0000000..d4c3928 --- /dev/null +++ b/autobuild/osx/app-template/Contents/MacOS/SynfigStudio @@ -0,0 +1,41 @@ +#!/bin/sh + +set -e + +DIR=`dirname "$0"` +cd "$DIR/../Resources" +CWD=`pwd` + +#export DYLD_LIBRARY_PATH="$CWD/lib:$CWD/synfig/lib:$CWD/Library/Frameworks/Python.framework/Versions/3.3/:/Volumes/data/SynfigStudio.app/Contents/Resources/Library/Frameworks/Python.framework/Versions/3.3/Resources/Python.app/Contents/MacOS/:$DYLD_LIBRARY_PATH" + +export GTK_EXE_PREFIX="$CWD" +export GTK_DATA_PREFIX="$CWD/share" + +export GSETTINGS_SCHEMA_DIR="$CWD/share/glib-2.0/schemas/" +export FONTCONFIG_PATH="$CWD/etc/fonts" +export MLT_DATA="$CWD/share/mlt/" +export MLT_REPOSITORY="$CWD/lib/mlt/" + +export PATH="$CWD/bin:$CWD/synfig-production/bin:$PATH" +export SYNFIG_ROOT="$CWD/" +export SYNFIG_MODULE_LIST="$CWD/etc/synfig_modules.cfg" + + +export MAGICK_DIR=`ls -1 -d ${CWD}/lib/ImageMagick* | head -n 1` +export MAGICK_DIR=`basename $MAGICK_DIR` +export MAGICK_DIR_CONFIG=`ls -1 -d ${CWD}/lib/${MAGICK_DIR}/config-* | head -n 1` +export MAGICK_DIR_CONFIG=`basename $MAGICK_DIR_CONFIG` +export MAGICK_DIR_MODULES=`ls -1 -d ${CWD}/lib/${MAGICK_DIR}/modules-* | head -n 1` +export MAGICK_DIR_MODULES=`basename $MAGICK_DIR_MODULES` +export MAGICK_CONFIGURE_PATH="${CWD}/lib/${MAGICK_DIR}/${MAGICK_DIR_CONFIG}/" +export MAGICK_CODER_MODULE_PATH="${CWD}/lib/${MAGICK_DIR}/${MAGICK_DIR_MODULES}/coders/" +export MAGICK_CODER_FILTER_PATH="${CWD}/lib/${MAGICK_DIR}/${MAGICK_DIR_MODULES}/filters/" + +export XDG_DATA_DIRS="$CWD/share/:$XDG_DATA_DIRS" +export GDK_PIXBUF_MODULEDIR="$CWD/lib/gdk-pixbuf-2.0/2.10.0/loaders/" +export GDK_PIXBUF_MODULE_FILE=$HOME/.synfig-gdk-loaders +[ ! -f $HOME/.synfig-gdk-loaders ] || rm -f $HOME/.synfig-gdk-loaders +"$CWD/bin/gdk-pixbuf-query-loaders" > "$GDK_PIXBUF_MODULE_FILE" + +cd "$CWD" +exec "$SYNFIG_ROOT/bin/synfigstudio" "$@" diff --git a/autobuild/osx/app-template/Contents/PkgInfo b/autobuild/osx/app-template/Contents/PkgInfo new file mode 100644 index 0000000..0c9a484 --- /dev/null +++ b/autobuild/osx/app-template/Contents/PkgInfo @@ -0,0 +1 @@ +APPLSYNFIG diff --git a/autobuild/osx/app-template/Contents/Resources/SynfigStudio.icns b/autobuild/osx/app-template/Contents/Resources/SynfigStudio.icns new file mode 100644 index 0000000..3d3d20f Binary files /dev/null and b/autobuild/osx/app-template/Contents/Resources/SynfigStudio.icns differ diff --git a/autobuild/osx/app-template/Contents/Resources/sif_file.icns b/autobuild/osx/app-template/Contents/Resources/sif_file.icns new file mode 100644 index 0000000..3092df6 Binary files /dev/null and b/autobuild/osx/app-template/Contents/Resources/sif_file.icns differ