prikhi / pencil

DEPRECATED: Multiplatform GUI Prototyping/Wireframing
https://github.com/evolus/pencil
GNU General Public License v2.0
1.92k stars 193 forks source link

Can't Build on Mac OS #116

Open prikhi opened 9 years ago

prikhi commented 9 years ago

From lourenzo on October 09, 2009 00:37:41

What steps will reproduce the problem? 1. Checkout svn on Mac OSX

  1. Enter Build folder
  2. run ./build.sh What is the expected output? What do you see instead? Expected to see the command successfully running, but I see:

Building Linux GTK+ version... cp: ./Linux/xulrunner/_: No such file or directory usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory Processing ./Outputs/Linux/chrome/pencil@evolus.vn/UI/Window.xul... ./replacer.sh: line 4: ./Outputs/Linux/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory mv: rename temp to ./Outputs/Linux/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory Processing ./Outputs/Linux/chrome/pencil@evolus.vn/Common/Pencil.js... ./replacer.sh: line 4: ./Outputs/Linux/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory mv: rename temp to ./Outputs/Linux/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory Processing ./Outputs/Linux/application.ini... ./replacer.sh: line 4: ./Outputs/Linux/application.ini: No such file or directory mv: rename temp to ./Outputs/Linux/application.ini: No such file or directory Compressing... tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors

Building Win32 version... cp: ./Win32/xulrunner/_: No such file or directory usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory Processing ./Outputs/Win32/chrome/pencil@evolus.vn/UI/Window.xul... ./replacer.sh: line 4: ./Outputs/Win32/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory mv: rename temp to ./Outputs/Win32/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory Processing ./Outputs/Win32/chrome/pencil@evolus.vn/Common/Pencil.js... ./replacer.sh: line 4: ./Outputs/Win32/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory mv: rename temp to ./Outputs/Win32/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory Processing ./Outputs/Win32/application.ini... ./replacer.sh: line 4: ./Outputs/Win32/application.ini: No such file or directory mv: rename temp to ./Outputs/Win32/application.ini: No such file or directory Compressing... zip warning: name not matched: *

zip error: Nothing to do! (try: zip -r ../Pencil-1.0-5-win32.zip . -i *) What version of the product are you using? On what operating system? trunk , mac osx 10.5 (leopard) Please provide any additional information below. I'm willing to contribute a mac standalone app, so I wanted to understand the build proccess.

Original issue: http://code.google.com/p/evoluspencil/issues/detail?id=116

prikhi commented 9 years ago

From ryanecr...@gmail.com on December 15, 2009 17:15:49

I would really like to see a standalone mac application. I found this documentation which should be useful. https://developer.mozilla.org/En/XULRunner/Build_Instructions I think the issue is that there is currently no build script for mac / osx

prikhi commented 9 years ago

From jcscoob...@gmail.com on September 23, 2010 16:51:41

I have created a patch that will create a native OS X application. Right now, it has a dependency on the XULRunner being installed but, well, that's fine if you ask me. I'm awaiting user group access so I can bring this up.

prikhi commented 9 years ago

From ryanecr...@gmail.com on September 23, 2010 17:21:23

I recently tried doing this again. I found the mozilla docs helpful in regards to running as an app with firefox (standalone, not plugin). Still couldn't figure out how to build a standalone app bundle though.

To replicate, I just grabbed the linux tarball, unzipped, and then pointed to the relevant application.ini file using the directions here - https://developer.mozilla.org/en/XULRunner_tips#Using_Firefox_3_to_run_XULRunner_applications

prikhi commented 9 years ago

From jcscoob...@gmail.com on September 24, 2010 08:30:42

For those of you monitoring this, check this out: https://code.google.com/p/evoluspencil/issues/detail?id=215 I have uploaded the necessary patches/files to build a standalone Pencil.app. It includes icons for .ep/.epz files in Finder as well. It even works in ways that the other standalone versions don't, like letting you double-click a file in Finder and have it opened/loaded in Pencil.app. Let me know what you think.

prikhi commented 9 years ago

From jcscoob...@gmail.com on September 24, 2010 08:59:54

I went ahead and attached a pre-built Pencil.app that should work. If it does not, you can install the XULRunner for OS X and it will work. (If it doesn't work, update 215 and I'll fix it as I have a minor concern that I might have to include the whole XUL.framework in the .app.)