04-22-2012, 04:11 PM | #1 |
Enthusiast
Posts: 42
Karma: 79826
Join Date: Apr 2012
Device: kindle
|
Why is Calibre 223 MB!?
Calibre is a freaking huge application, and yet it doesn't really have much content inside it, does it? What in the world makes it such a huge application?
Just wondering Bob |
04-22-2012, 05:11 PM | #2 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
Advert | |
|
04-23-2012, 07:18 AM | #3 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
The windows version probably brings its own copy of Python plus tons of third party libraries
The linux tar.xz is 24M, and 147M uncompressed. The translations alone are 57M, they look like this: Code:
#: /home/kovid/work/calibre/src/calibre/devices/bambook/driver.py:352 #: /home/kovid/work/calibre/src/calibre/devices/bambook/driver.py:354 #: /home/kovid/work/calibre/src/calibre/devices/hanvon/driver.py:115 #: /home/kovid/work/calibre/src/calibre/devices/hanvon/driver.py:126 #: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:426 #: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:458 #: /home/kovid/work/calibre/src/calibre/devices/usbms/driver.py:335 #: /home/kovid/work/calibre/src/calibre/devices/usbms/driver.py:356 msgid "Removing books from device..." msgstr "Bücher vom Gerät entfernen ..." |
04-23-2012, 09:26 AM | #4 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Oh! Uncompressed.
That, with lots of alternate Locale's supported. (Interestingly is that Windows version is 126M uncompressed) Gone are the days when you only got a program in a single language (or in many cases, a single OS) It is a good thing that Hard drives are US$100 a Tera Byte. A week without Starbucks and I can afford another drive. |
04-23-2012, 10:00 PM | #5 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The translations do not look like that. Binary calibre releases contain compiled translations in .mo format. And those in turn are stored in a zip file resources/localization/locales.zip which is 6.2 MB. The size of a calibre install comes from one thing and one thing alone, the need to bundle all dependencies, since calibre uses cross platform libraries not available on the OS. Actual calibre code and resources (icons/fonts/translations/etc) total about 60MB on disk after installation.
I especially liked the OP's claim that "calibre does so little". |
Advert | |
|
04-26-2012, 04:22 PM | #6 | |
Member
Posts: 16
Karma: 4950
Join Date: Mar 2012
Device: Kindle Keyboard
|
Quote:
I agree. There are so many great features to your software. I thank you for all the time and effort you put into it. |
|
04-27-2012, 02:47 AM | #7 |
Enthusiast
Posts: 42
Karma: 79826
Join Date: Apr 2012
Device: kindle
|
Uh, I didn't say "calibre does so little.". See, look, it's right up there a few inches. I was just asking why it was so large. I am using the Mac version. I don't mean to denigrate the program, just wondering what all is in there that takes 223 freaking MB.
|
04-27-2012, 04:27 AM | #8 | |
The Grand Mouse 高貴的老鼠
Posts: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
About half is support frameworks - Python and QT mainly. Another third are python resources - python library and Python/QT interface. No attempt is made to strip these frameworks and libraries down to just the parts that are used in calibre. Nor should there be such an attempt. |
|
04-27-2012, 04:36 AM | #9 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually calibre includes only those parts of Qt (and PyQt) that it uses. For example the SQL drivers are left out (calibre uses python's sql support). calibre uses almost all of the python stdlib and several other python packages, but even there docs/tests etc are stripepd out and the only the least space intensive form of the python files (compiled to optimized bytecode) are included in the binary releases.
|
04-27-2012, 04:45 AM | #10 | |
The Grand Mouse 高貴的老鼠
Posts: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
|
|
04-27-2012, 07:34 AM | #11 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Calibre's use of python is what makes it extendable and maintainable, something that the Sigil maintainer does not have the advantage of. Upgrades and updates are much harder for him and his crew.
|
04-28-2012, 01:21 AM | #12 |
Wizard
Posts: 2,895
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
It could be 5G, I would download it without delay. It is worth it. Just to be able to email books to my kindle. And find that book I downloaded 2 years ago, set in Australia.
|
05-04-2012, 11:24 AM | #13 |
Enthusiast
Posts: 42
Karma: 79826
Join Date: Apr 2012
Device: kindle
|
"Well, you did say "it doesn't really have much content".
I just meant that to my knowledge it didn't store the content, as in BOOKS, in the application. |
05-04-2012, 11:34 AM | #14 |
The Grand Mouse 高貴的老鼠
Posts: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Patch: Calibre adds tags to identify ebook formats created by calibre. | siebert | Calibre | 1 | 07-18-2011 02:07 PM |
Kindle and Calibre user with problem importing large library into Calibre | pleabargain | Calibre | 1 | 12-07-2010 10:19 AM |
mobileread.com is worth $223,150 | Sandyy | General Discussions | 8 | 07-27-2010 06:52 AM |
Sony PRS-505/SC only $223.99 at Dell Expires 27 Aug 2009 | Madam Broshkina | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-24-2009 05:27 PM |
PRS 505LC New for $223 delivered | advocate2 | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 08-04-2009 09:27 PM |