05-10-2011, 07:48 AM | #1 |
Connoisseur
Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
Calibre and GNU GPL
Hi guys,
From what I understand a project becomes GPL when the output contains sections of the program's code--correct me if I'm wrong. So I would like to ask if the files that Calibre outputs, specifically the mobi and prc files, contain any Calibre-specific GPL'd code in them. I probably sound a bit nutty, but I just wanted to double check that no portions of Calibre's actual source code got output into the files it makes. Any help would be great Stodder |
05-10-2011, 08:05 AM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I really doubt it. Embedding Python code into ebook files doesn't make any sense.
|
Advert | |
|
05-10-2011, 08:10 AM | #3 |
award-winning bozo
Posts: 258
Karma: 172703
Join Date: Sep 2009
Location: Philadelphia
Device: Kobo Libra 2
|
No. Consider - Calibre supports copying DRM'ed books which, by definition, Calibre does not and cannot alter.
|
05-10-2011, 08:27 AM | #4 |
Connoisseur
Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
Thanks for the responses. I just wanted to be sure, as I'm not a programmer and can't check for myself or see what's not visible to the end user.
As for DRM and Calibre, I did not know that Calibre could copy DRM'd books. |
05-10-2011, 08:29 AM | #5 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
Advert | |
|
05-10-2011, 08:32 AM | #6 |
Connoisseur
Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
As a matter of interest, can you even tell if a file was made with Calibre? Or Mobipocket, or any of these software packages?
|
05-10-2011, 08:32 AM | #7 |
Connoisseur
Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
|
05-10-2011, 09:11 AM | #8 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Some DRMed formats can have the metadata updated *.
The GPL license does not extend to calibre produced ebook files. I believe calibre's MOBI output puts the calibre version in the metadata *. Use ebook-meta to see. * Can't remember off the top of my head and I'm not at my computer to check. Last edited by user_none; 05-10-2011 at 09:13 AM. Reason: Move * to correct sentence |
05-10-2011, 09:27 AM | #9 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
For example: <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (0.7.28) [http://calibre-ebook.com]</dc:contributor> <meta content="2010-12-07T07:18:36.758000+00:00" name="calibre:timestamp"/> <meta content="Pride and Prejudice" name="calibre:title_sort"/> This is quite an old conversion so things might have been changed in 0.8. I usually edit out the <meta content ... > lines but keep the <dc:contributor ...> Update: There's also an entry in the OPF's XML namespace section - xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" Last edited by Agama; 05-10-2011 at 09:45 AM. Reason: Further info |
|
05-10-2011, 09:40 AM | #10 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
The OP seems to be worried that the GPL is "viral" and will somehow infect an e-book so that it can be copied/used/distributed by everyone. If that was really a concern, with respect to conversions, you couldn't use Calibre for much of anything as most e-books are copyrighted by third parties. As to his specific question "I would like to ask if the files that calibre outputs, specifically the mobi and prc files, contain any Calibre-specific GPL'd code in them." The answer has just the tiniest bit of gray. In some circumstances, html/xml/xhtml/css will be considered "code," particularly when integrated into other code. By necessity, calibre, puts in some formatting and/or html/xml/xhtml/css content into recipe-created e-books (in particular) and during other conversions. Calibre's "code" is all subject to the GPL and in some very limited circumstances, the code added, for example by a recipe, might be considered to be subject to the GPL. I suspect the likelihood that this would fall within the scope of the GPL, and that it would cause the OP any trouble to be less than the likelihood of being struck by a meteorite in the next 5 seconds, but it's always interesting to explore the limits of the horrible hypothetical. IOW, he's got absolutely nothing to worry about, and he should ignore the FUD that is spread by others about the GPL. |
|
05-10-2011, 10:41 AM | #11 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Up until recently, Baen e-books, all had Calibre fingerprints on them |
|
05-10-2011, 11:58 AM | #12 | |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
In regard to the first link, even though things like style sheets are added by calibre to some ebook types they do not constitute a substantial amount of the output. |
|
05-10-2011, 02:38 PM | #13 | |
Wizard
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
As other posters said, Calibre can even write metadata to some DRMed files, because in some formats metadata is not encrypted. Calibre can even work with DRMed files, even remove DRM. But for that you need third party plugins. Kovid doesn't provide any help with DRM removal (he even says so in his signature). But, the plugin infrastructure in Calibre is so well designed, that various other hackers can develop plugins for many, many things. Here on this forum I can't provide better instructions, and besides, I have no personal experience with DRM removal using Calibre plugins. I have very limited experience from removal DRM in general (I removed from a book I have purchased). If you were to google for better answer, you might want to ask aprentice alf. |
|
05-10-2011, 03:18 PM | #14 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
For the record, from one of those FAQ questions: Quote:
It's just that I find the subject interesting. I can imagine a hypothetical (and that's all it is) where a recipe author spends hundreds of hours authoring a complex recipe to produce complex output for displaying some complex data. His recipe extensively copies his work into the output. Then an evil entity comes along and copies that output. Under the right circumstances, there might (I emphasize the "might) be a GPL claim. Time for me to take off the Devil's advocate robes and do some real work |
||
05-10-2011, 04:38 PM | #15 |
Connoisseur
Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
Thank you everyone for taking my question seriously and answering with thoughtful responses. I've had some great experiences on this forum, and appreciate the opinions
Do you think, just as a safeguard, Calibre should have a written "ebook exemption" added to its licensing? For example, some GPL fonts have a "font exemption", wherein these specific exempted fonts can be embedded without hypothetically turning their overall project into a GPL project. I think the whole output thing is a lot simpler when the output is non-code. I.e. using OpenOffice.org to print out a letter on a physical piece of paper. There's no gray there, right? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GNU MAC Changer | yokos | iRex | 10 | 04-20-2009 04:49 PM |
GNU nano text editor (like pico) | bobj | iRex | 0 | 06-27-2008 10:38 PM |
GNU Chess Reloaded | yokos | iRex | 18 | 11-14-2007 08:17 AM |
Gnu Chess | design256 | iRex | 48 | 06-07-2007 09:29 AM |