![]() |
#16 | ||
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,798
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Hi,
Quote:
No one is asking for "hand-holding". If it is not immediately clear how to build a release package for Mac OS X, please include even a rough README_MacOSX.txt file that at least outlines the sequence of steps needed. Please also include any scripts of makefiles you are currently using. Quote:
I do not think that is too much to ask for any OpenSource / GPL project. Thank you. KevinH |
||
![]() |
![]() |
![]() |
#17 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,798
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Hi,
Quote:
KevinH Last edited by KevinH; 11-11-2011 at 11:02 AM. Reason: fix typo |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 998
Join Date: Nov 2011
Device: kobo
|
Quote:
Thanks! BTW, the documentation also says run calibredb shouldn't it be calibre-debug then or is it platform dependent ? Thank you very much, could print debug info from the __init__.py that starts here for me ![]() Last edited by fab672000; 11-11-2011 at 11:32 AM. |
|
![]() |
![]() |
![]() |
#19 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I think you misunderstood the intent of our responses - the intent was to avoid, for both the OP and ourselves a tremendous amount of hassle if the recommended method met his needs, which it did. Hence the focus on explaining the recommended approach vs. trying to solve the build from scratch problems.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@KevinH: The scripts used to build calibre are included in the source tarball. The difficulty lies in setting up the OS environment for it. Run
python setup.py build python setup.py osx32_freeze to build the app bundle. It will fail, you will have to fix the errors one by one by setting up the dev environment on OS X. |
![]() |
![]() |
![]() |
#22 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 998
Join Date: Nov 2011
Device: kobo
|
Quote:
I did setup calibre_develop_from, as shown below: [fab]~/devl $ set | grep CALIBRE CALIBRE_DEVELOP_FROM=/Users/fab/devl/calibre/src [fab]~/devl/calibre/src $ pwd /Users/fab/devl/calibre/src and tried running commands like: python startup.py -g it always complain that it doesn't find the import libs, looks like calibre-debug would set these import libs for me ... I'd just like to get a more precise understanding here of what calibre-debug does for me... |
|
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
Generally just run calibre or calibre-debug from an environment with the environment variable set. If you want Calibre's python environment to execute a script like startup.py you'd use this command: calibre -e startup.py |
|
![]() |
![]() |
![]() |
#24 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 998
Join Date: Nov 2011
Device: kobo
|
@Idolse: thank you now I understand, these tools are binaries, I originally thought they would only be scripts that would setup the environment but it apparently does much more as it has python embedded.
Just being curious what calibre-debug does more for debug than calibre: Does calibre-debug embeds debugger capabilities permitting to have breakpoints as an example, or is the debug version only permits to run unitary scripts facilities within the calibre env only ? Anyone having successfully setup a PyDev w/calibre env for OS X ? Last edited by fab672000; 11-11-2011 at 12:34 PM. |
![]() |
![]() |
![]() |
#25 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,798
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Hi,
Thanks for the tip. I will give it a go and try to document the build requirements and set-up (Qt, Python 2.7, other graphics libs?, etc) and will write up a README so that others can give it a try if they want too. Kevin Quote:
|
|
![]() |
![]() |
![]() |
#26 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
Read here for pydev: https://www.mobileread.com/forums/sho...ighlight=pydev Personally I just use debug statements and check the calibre-debug output, and comment them out or delete them when I'm done. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is OSX Lion buggy? | unboggling | Apple Devices | 99 | 09-14-2011 12:27 PM |
Problem building Calibre from source on Ubuntu 10.10 | rozen | Calibre | 1 | 03-28-2011 02:02 AM |
Building Calibre from source | al35 | Calibre | 3 | 03-24-2010 02:22 PM |
Having problems building calibre 0.15.4 | angevin | Calibre | 11 | 06-12-2009 07:54 PM |
Building calibre backend only? | jesse | Calibre | 2 | 03-15-2009 05:32 PM |