Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 07-03-2013, 10:03 AM   #1
Sebadub
Junior Member
Sebadub began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: iPad
Calibre API for Mobi conversion

Is there a way to integrate in 3rd party software, some of the Calibre API? We are interested in offering conversion to Mobi from within our eBook Publisher software. Is there a model in place to benefit of some of the Calibre modules?
Sebadub is offline   Reply With Quote
Old 07-03-2013, 12:18 PM   #2
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,909
Karma: 1217216
Join Date: Jan 2010
Location: France
Device: Many android devices
The first thing to think about is calibre's license, which is GPL V2. Almost any integration of calibre other than using it as a separate binary (e.g., using its command line) will require your app also to be licensed under the same terms. Consequence: you would need to be prepared to publish the source code of your application.
chaley is offline   Reply With Quote
 
Advertisement
Old 07-03-2013, 12:29 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,438
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
GPL v3 not v2 and even if you use the binaries, you will still need to open source your product, as required by the GPL. If you are willing to do that, then you can bundle calibre with your software and use the ebook-convert tool to do the conversions.
kovidgoyal is offline   Reply With Quote
Old 07-03-2013, 12:51 PM   #4
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,909
Karma: 1217216
Join Date: Jan 2010
Location: France
Device: Many android devices
@Kovid: according to http://www.gnu.org/licenses/gpl-faq....prietarySystem someone could distribute calibre along with a proprietary program as long as no claim is made that calibre is "part of" the proprietary program and they "communicate at arms length". This permits someone to ship a calibre "binary" separate from the proprietary app and for the proprietary app to use its command line interface.

Of course, the person must be clear about what they are doing to avoid implicit license inclusion. Quoting from the above link:
Quote:
If people were to distribute GPL-covered software calling it “part of” a system that users know is partly proprietary, users might be uncertain of their rights regarding the GPL-covered software. But if they know that what they have received is a free program plus another program, side by side, their rights will be clear.
chaley is offline   Reply With Quote
Old 07-03-2013, 12:59 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,438
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
See the next paragraph in the FAQ you posted:

Quote:
The difference between this and “incorporating” the GPL-covered software is partly a matter of substance and partly form. The substantive part is this: if the two programs are combined so that they become effectively two parts of one program, then you can't treat them as two separate programs. So the GPL has to cover the whole thing.
It does not matter if you interface with a GPLv3 program by calling a binary or by loading a dll, as long as you present the resulting program as one program the GPL applies.
kovidgoyal is offline   Reply With Quote
Reply

Tags
mobi, mobi conversion

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with conversion .mobi to epub with Calibre Imdman Conversion 13 02-02-2013 12:51 PM
Calibre Conversion to .mobi and Title Khan-Dam Calibre 8 11-12-2011 01:06 PM
chm to mobi conversion on calibre patelviranchi Amazon Kindle 0 08-03-2011 01:41 PM
Yet another pdf to mobi conversion problem (Calibre) Andalusian_Wolf Conversion 8 03-16-2011 11:56 AM
MOBI to LRF: Conversion troubles with Calibre alaouet Calibre 11 02-10-2010 07:27 AM


All times are GMT -4. The time now is 06:04 PM.


MobileRead.com is a privately owned, operated and funded community.