Skip to content

Commit

Permalink
Merge pull request #1 from autopkg/master
Browse files Browse the repository at this point in the history
Merge from mosen
  • Loading branch information
fabien-michel committed May 19, 2015
2 parents 637df09 + 8c6dc85 commit e1e9896
Show file tree
Hide file tree
Showing 6 changed files with 403 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Esko/EskoDataExchange.pkg.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<string>%RECIPE_CACHE_DIR%/pkgroot/Esko Data Exchange.pkg/Scripts/EskoDataExchange-postinstall</string>
<key>file_content</key>
<string>#!/bin/bash
#!/bin/bash
echo "Running: EskoDataExchange-postinstall"
"/System/Library/CoreServices/FixupResourceForks" -q "/Library/Application Support/Esko-Graphics/DeskPack Plug-In Repository/Esko Data Exchange"
./DTPScript -debug1 -c "$TMPDIR" -AI16 "/Library/Application Support/Esko-Graphics/DeskPack Plug-In Repository/Esko Data Exchange/EskoDataExchange.bundle/Contents/Resources"
Expand All @@ -75,7 +76,13 @@ echo "RESULT_AI17 = $RESULT_AI17"
if [ $RESULT_AI17 = 1 ] || [ $RESULT_AI17 = 3 ] ; then exit 1; fi
if [ $RESULT_AI17 = 4 ]; then exit 1; fi

if [ $[RESULT_AI16 * RESULT_AI17] != 0 ]; then
./DTPScript -debug1 -c "$TMPDIR" -AI18 "/Library/Application Support/Esko-Graphics/DeskPack Plug-In Repository/Esko Data Exchange/EskoDataExchange.bundle/Contents/Resources"
RESULT_AI18="$?"
echo "RESULT_AI18 = $RESULT_AI18"
if [ $RESULT_AI18 = 1 ] || [ $RESULT_AI18 = 3 ] ; then exit 1; fi
if [ $RESULT_AI18 = 4 ]; then exit 1; fi

if [ $[RESULT_AI16 * RESULT_AI17 * RESULT_AI18] != 0 ]; then
echo "Illustrator is not available."
exit 1
fi
Expand Down
130 changes: 130 additions & 0 deletions Linotype/FontExplorerXPluginAI2014.pkg.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>
Package FontExplorer X Pro Plugins as Separate Installable Packages.

Individual plugins are unzipped, then the QT framework components are added to them from the libqt.zip included
in the plugin bundle. These are made into stand alone packages.
</string>
<key>Identifier</key>
<string>com.github.mosen.pkg.FontExplorerXPluginAI2014</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>FontExplorerXPluginAI2014</string>
<key>PKGID</key>
<string>com.github.autopkg.mosen-recipes.fontexplorerxplugins.ai2014</string>
<key>PLUGIN_BUNDLE_CONTENTS</key>
<string>PlugIns.bundle/Contents/Resources</string>
<key>PLUGIN_ARCHIVE_NAME</key>
<string>FontExplorer X for Illustrator CC 2014.aip.zip</string>
<key>PLUGIN_NAME</key>
<string>FontExplorer X for Illustrator CC 2014.aip</string>
<key>PLUGIN_INSTALL_DIR</key>
<string>/Applications/Adobe Illustrator CC 2014/Plug-ins.localized</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.mosen.download.FontExplorerXProPlugins</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/%PLUGIN_BUNDLE_CONTENTS%/%PLUGIN_ARCHIVE_NAME%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Contents/Info.plist</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/%PLUGIN_BUNDLE_CONTENTS%/libqt.zip</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/libqt</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Copier</string>
<key>Arguments</key>
<dict>
<key>source_path</key>
<string>%RECIPE_CACHE_DIR%/libqt/QtCore.framework</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Contents/Frameworks/QtCore.framework</string>
<key>overwrite</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Copier</string>
<key>Arguments</key>
<dict>
<key>source_path</key>
<string>%RECIPE_CACHE_DIR%/libqt/QtGui.framework</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Contents/Frameworks/QtGui.framework</string>
<key>overwrite</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/pkg_root</string>
<key>pkgdir</key>
<string>%RECIPE_CACHE_DIR%</string>
<key>id</key>
<string>%PKGID%</string>
<key>pkgname</key>
<string>%NAME%</string>
<key>version</key>
<string>%version%</string>
<key>chown</key>
<array>
</array>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>
91 changes: 91 additions & 0 deletions Linotype/FontExplorerXPluginID2014.pkg.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>
Package FontExplorer X Pro Plugins as Separate Installable Packages.

Individual plugins are unzipped, then the QT framework components are added to them from the libqt.zip included
in the plugin bundle. These are made into stand alone packages.
</string>
<key>Identifier</key>
<string>com.github.mosen.pkg.FontExplorerXPluginID2014</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>FontExplorerXPluginID2014</string>
<key>PKGID</key>
<string>com.github.autopkg.mosen-recipes.fontexplorerxplugins.id2014</string>
<key>PLUGIN_BUNDLE_CONTENTS</key>
<string>PlugIns.bundle/Contents/Resources</string>
<key>PLUGIN_ARCHIVE_NAME</key>
<string>FontExplorer X for InDesign CC 2014.InDesignPlugin.zip</string>
<key>PLUGIN_NAME</key>
<string>FontExplorer X for InDesign CC 2014.InDesignPlugin</string>
<key>PLUGIN_INSTALL_DIR</key>
<string>/Applications/Adobe InDesign CC 2014/Plug-ins</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.mosen.download.FontExplorerXProPlugins</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/%PLUGIN_BUNDLE_CONTENTS%/%PLUGIN_ARCHIVE_NAME%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Versions/Current/Resources/Info.plist</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/pkg_root</string>
<key>pkgdir</key>
<string>%RECIPE_CACHE_DIR%</string>
<key>id</key>
<string>%PKGID%</string>
<key>pkgname</key>
<string>%NAME%</string>
<key>version</key>
<string>%version%</string>
<key>chown</key>
<array>
</array>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>
130 changes: 130 additions & 0 deletions Linotype/FontExplorerXPluginPS2014.pkg.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>
Package FontExplorer X Pro Plugins as Separate Installable Packages.

Individual plugins are unzipped, then the QT framework components are added to them from the libqt.zip included
in the plugin bundle. These are made into stand alone packages.
</string>
<key>Identifier</key>
<string>com.github.mosen.pkg.FontExplorerXPluginPS2014</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>FontExplorerXPluginPS2014</string>
<key>PKGID</key>
<string>com.github.autopkg.mosen-recipes.fontexplorerxplugins.ps2014</string>
<key>PLUGIN_BUNDLE_CONTENTS</key>
<string>PlugIns.bundle/Contents/Resources</string>
<key>PLUGIN_ARCHIVE_NAME</key>
<string>FontExplorer X for Photoshop CC 2014.plugin.zip</string>
<key>PLUGIN_NAME</key>
<string>FontExplorer X for Photoshop CC 2014.plugin</string>
<key>PLUGIN_INSTALL_DIR</key>
<string>/Applications/Adobe Photoshop CC 2014/Plug-ins</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.mosen.download.FontExplorerXProPlugins</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/%PLUGIN_BUNDLE_CONTENTS%/%PLUGIN_ARCHIVE_NAME%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Contents/Info.plist</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/%PLUGIN_BUNDLE_CONTENTS%/libqt.zip</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/libqt</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Copier</string>
<key>Arguments</key>
<dict>
<key>source_path</key>
<string>%RECIPE_CACHE_DIR%/libqt/QtCore.framework</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Contents/Frameworks/QtCore.framework</string>
<key>overwrite</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Copier</string>
<key>Arguments</key>
<dict>
<key>source_path</key>
<string>%RECIPE_CACHE_DIR%/libqt/QtGui.framework</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkg_root/%PLUGIN_INSTALL_DIR%/%PLUGIN_NAME%/Contents/Frameworks/QtGui.framework</string>
<key>overwrite</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/pkg_root</string>
<key>pkgdir</key>
<string>%RECIPE_CACHE_DIR%</string>
<key>id</key>
<string>%PKGID%</string>
<key>pkgname</key>
<string>%NAME%</string>
<key>version</key>
<string>%version%</string>
<key>chown</key>
<array>
</array>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Linotype/FontExplorerXPlugins.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Only use this if you want to alter the way that plugins are installed.
</string>
<key>Identifier</key>
<string>com.github.mosen.download.FontExplorerXPro</string>
<string>com.github.mosen.download.FontExplorerXProPlugins</string>
<key>Input</key>
<dict>
<key>NAME</key>
Expand Down
Loading

0 comments on commit e1e9896

Please sign in to comment.