Coder Social home page Coder Social logo

opentoonz_installer_osx's Introduction

MacOSX 用 Installer (pkg) 作成スクリプト

依存パッケージ・モジュール

  • Xcode (pkgbuild, productbuild)
  • Qt
  • gsed

スクリプト実行

./app.rb [BUNDLE_PATH] [STUFF_DIR] [VERSION(floatnum)] [MACDEPLOYQT_PATH] [DELETE_RPATH]

上記のように実行時引数で

  • ビルド済バンドルへのパス
  • 本体リポジトリの stuff ディレクトリへのパス
  • pkg のバージョン
  • macdeployqt コマンドのパス
  • 削除しておくrpath(ユーザーに依存しているもの)

を与えて下さい。スクリプト内の途中で外部コマンドの実行に失敗すると途中で止まります。

実際の実行例

./app.rb ~/Workspaces/github/kogaki/toonz/opentoonz/toonz/build/toonz/OpenToonz.app ~/Workspaces/github/kogaki/toonz/opentoonz/stuff 0.0.1 ~/Qt5.9.2/5.9.2/clang_64/bin/macdeployqt ~/Qt5.9.2/5.9.2/clang_64/lib

rpath の確認

otool -l ~/Workspaces/github/kogaki/toonz/opentoonz/toonz/build/toonz/OpenToonz.app/Contents/MacOS/OpenToonz

すると、

Load command 43
          cmd LC_RPATH
      cmdsize 56
         path /Users/keisuke_ogaki/Qt/5.9.2/clang_64/lib/ (offset 12)

のように表示されるので、ユーザーに依存してる部分を消しましょう

opentoonz_installer_osx's People

Contributors

brly avatar hi-king avatar masafumi-inoue avatar shun-iwasawa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

shun-iwasawa

opentoonz_installer_osx's Issues

Upgrading from 1.2.1 to 1.3 RC

When I ran the 1.3RC installer on a Macbook running 10.11.6 (Yosemite), It created the /Applications/OpenToonz/OpenToonz stuff folder but overwrote the contents of /Applications/OpenToonz_1.2.app instead of installing a new /Applications/OpenToonz.app.

If you try to run OpenToonz_1.2.app expecting the old version to work, it throws an error. If you rename OpenToonz_1.2.app to OpenToonz.app it will then start correctly.

NOTE: Originally when I first tried to install the 1.3RC, I had the OpenToonz_1.2.app installed someplace else for development reasons and it somehow detected that one and overwrote it! I had to delete my other copy so it would install correctly under /Applications

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.