![]() |
#1 |
lorem ipsum ...
![]() Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Building for OS X
Hello,
I want to build an application bundle for OS X. Regarding the setup command python setup.py osx This appears to invoke vmware to run a virtual machine. What is being run here? Also, what is the role of the freeze commands? ![]() -r http://rhaleblian.wordpress.com/dsli...e-nintendo-ds/ Last edited by rhaleblian; 09-02-2011 at 02:07 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot build an OS X bundle directly from the source code. If you want to build calibre from source, I suggest using a linux vm. Building calibre on OS X/windows is a highly non-trivial excercise.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
lorem ipsum ...
![]() Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Hi Kovid.
I'm building under a linux VM, as the docs were quite clear on that (yes, someone read the docs). Building for a linux target via setup.py is working fine. > You cannot build an OS X bundle directly from the source code Is this to say there are steps that are not encapsulated in a step in setup.py? Is it being done by hand? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes. You need a properly setup OS X environment to be able to build calibre, which must be setup by hand.
|
![]() |
![]() |
![]() |
#5 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Moderator Notice
Thread Moved. The development thread is for calibre development not OS builds. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
lorem ipsum ...
![]() Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Thanks for clarifying the situation, Kovid.
It's true that I never mentioned here that I was modifying code. Otherwise I would have no reason to want to build Calibre, though. A little backstory: I suggest Calibre to users of dslibris (http://sourceforge.net/projects/ndslibris/), a book reader for the DS, since they need to use EPUB. Using Calibre myself on OS X, I started playing around with a prototype that follows the Apple idiom for the application menu. Having partially done that, I wanted to embed the changes into a bundle, without lookasides to a development area. So in this case it's no biggie to not be able to build an app bundle. Now, I would sign on to documenting what the OS X build platform prerequisite is, and ways to possibly streamline it, but that would require some initial explanation from someone. --cheers, ray Last edited by rhaleblian; 09-17-2011 at 11:38 AM. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you wish to modify calibre code there is no need to build calibre, follow the instructions here: http://manual.calibre-ebook.com/develop.html
|
![]() |
![]() |
![]() |
#8 |
lorem ipsum ...
![]() Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Yep, read that. I was serious about having read the documentation.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
building a neswpaper | fbrzvnrnd | Conversion | 2 | 08-28-2011 02:38 AM |
DR1000 Building Hello World 4.0 | otromanolo | iRex Developer's Corner | 54 | 04-17-2011 06:38 AM |
The Skunk is in the building | bob e skunky | Introduce Yourself | 10 | 12-05-2010 05:43 AM |
DR800 Building ctb | dima_tr | iRex Developer's Corner | 6 | 06-30-2010 04:47 AM |