Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2012, 12:37 AM   #1
markvb
Junior Member
markvb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
Can I use Calibre's CLI tools for an app?

I wonder if Calibre's licence allow's developers to create apps that make use of calibre's CLI tools such as ebook-convert.
markvb is offline   Reply With Quote
Old 04-14-2012, 01:08 AM   #2
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, you can, as long as you do not distribute calibre with your app. If you do that, you have to open source your app.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-14-2012, 01:44 AM   #3
markvb
Junior Member
markvb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
So I can use Calibre's CLI tools, but if I include any part of calibre source code, I have to open source my app.

If I do not include any calibre source code, and I just ask my users to install Calibre before using my app, I do not have to open source it.

Is that right?

I plan to open source my app anyway, that's just to make sure I understood you.

Thank you
markvb is offline   Reply With Quote
Old 04-14-2012, 03:23 AM   #4
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's a bit of a gray area. The GPL specifies that if an GPLed component is an "essential" part of your software then your software must be GPLed. Whether that applies to the case of asking your users to install calibre separately is not entirely clear.
kovidgoyal is offline   Reply With Quote
Old 04-15-2012, 09:13 PM   #5
markvb
Junior Member
markvb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
Nice, Im going to open source it no matter what it doesn't really matter.

Im not a Python nor Qt expert, and Im finding it difficult to extract the ebook-convert tool from Calibre's codebase and bundle it as a separate command line tool that can be used independently.

Has this been done before? If not, could you give me any hint as from where to start?
markvb is offline   Reply With Quote
Advert
Old 04-15-2012, 10:00 PM   #6
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You cant extract ebook-convert, you'll have to bundle all of calibre, for example ebook-convert uses Qt for SVG rasterization and rendering HTML covers in epub.

Last edited by kovidgoyal; 04-15-2012 at 10:14 PM.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set the index of the file using calibre CLI kindleren Conversion 3 02-21-2012 09:53 PM
Is it possible to compile Calibre without QT, but still use it's command line tools? rogerx Calibre 11 08-29-2011 02:41 AM
Struggling with CLI Paulinafrica Calibre 4 01-08-2011 02:04 PM
Issue with german translation of CLI tools Manichean Calibre 4 10-24-2010 11:52 AM
prs505 cli ees Calibre 3 01-10-2009 03:27 AM


All times are GMT -4. The time now is 12:57 PM.


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