07-07-2011, 03:23 AM | #1 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
New in using open source
Please i would like to know more about how to begin modifying the Calibre web interface so i can built my own instant, i need to know the .py that i need begin modifying and all the details for a good programming. thanks a lot
|
07-07-2011, 07:39 AM | #2 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Read http://manual.calibre-ebook.com/develop.html for setting up a development environment for calibre
This http://doc.bazaar.canonical.com/latest/en/user-guide/ might also be helpful for you. Read http://diveintopython.org/ for learning about python. For the web interface calibre uses cherrypy. You will find the necessary files in src/routes. However, you can connect to calibre directly using another language for the web interface. Search for the PHP interface by CHaley. |
Advert | |
|
07-08-2011, 02:10 AM | #3 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Jul 2011
Device: none
|
Great ok i'll start doing the steps i already finish setting the environement and installing the source code, why whould i learn more about bazaar ? will i use it other then setting the environement and updating my source codE ?
|
07-08-2011, 06:07 AM | #4 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
07-16-2011, 03:37 PM | #5 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
So, I'm just wondering if anyone has made a good ePub of this book? Perhaps I should just buy a real paper version of the book! P.S. Which version of Python does calibre use? Last edited by Agama; 07-16-2011 at 03:46 PM. Reason: Added P.S. |
|
Advert | |
|
07-16-2011, 04:09 PM | #6 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
07-17-2011, 09:19 AM | #7 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Do I need to install Python 2.7 from the python.org site or is this already installed as part of calibre? I have read the calibre manual section on setting up a development environment and can see that I need to use Bazaar to get the calibre source code, but this does not mention Python.
|
07-17-2011, 09:25 AM | #8 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Simply follow the instructions in the manual, you don't need to do anything not mentioned there, including installing python.
|
07-17-2011, 09:29 AM | #9 | |
Grand Sorcerer
Posts: 11,704
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
However, your development environment might require a local installation of python to give meaningful error messages. I know that eclipse+pydev does, and I strongly suspect that aptana does. |
|
07-17-2011, 09:41 AM | #10 |
Wizard
Posts: 3,025
Karma: 11196738
Join Date: Oct 2010
Location: Piper College
Device: Samsung A21
|
Perhaps you know this already, in which case please disregard my comments. In order for software to be called Open Source it needs to come with the source code for free. Anyone who is so inclined can modify the code and put their own name on the result and call it their own as long as the result is also open code. I do not believe that Calibre is open source since it does not come with the source code free, its what would be referred to as freeware, which does not come with the source code but the end result is free.
|
07-17-2011, 09:43 AM | #11 |
Grand Sorcerer
Posts: 11,704
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Calibre source code is most certainly free and changeable by anyone. See http://manual.calibre-ebook.com/develop.html.
|
07-17-2011, 09:44 AM | #12 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre is open source (licensed under GNU GPLv3) and you have access to its source code. That access is what makes it possible to setup a development environment for it in the first place.
|
07-17-2011, 09:50 AM | #13 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
The whole point of this thread is assisting a person who is setting up the development environment so they can run from source and test their own patches to the source code. Please avoid creating false rumors.
Last edited by DoctorOhh; 07-17-2011 at 09:54 AM. |
07-17-2011, 10:13 AM | #14 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
I've got as far as the Bazaar site and was about to download the Standalone version but noticed that it has Python 2.6 bundled. However, calibre requires 2.7 - so should I download the Python-based Bazaar installer? (which then requires me to install all dependencies myself - whatever that means!)
|
07-17-2011, 10:16 AM | #15 | |
Grand Sorcerer
Posts: 11,704
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Yes, it has its own copy of python, and yes, calibre has its own copy, and yes, you will likely install python. However, it is worth it (to me) to burn some disk space to get ease of update -- each of the tools can be updated without affecting the other. In addition, getting standalone installers deals with prerequisites. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IQ Is the IQ open source? | alexish | PocketBook | 1 | 01-30-2011 07:22 PM |
Open Source? | cipri | PocketBook | 6 | 11-10-2010 04:04 PM |
Open source | bradrice | Kindle Formats | 2 | 12-21-2009 09:30 AM |
Open source lrs2lrf | kovidgoyal | LRF | 14 | 07-25-2008 09:17 PM |
TrueCrypt V2.0 Open-Source | Alexander Turcic | Lounge | 1 | 06-21-2004 02:02 PM |