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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-22-2012, 04:11 PM   #1
bsabiston
Junior Member
bsabiston began at the beginning.
 
Posts: 5
Karma: 10
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
bsabiston is offline   Reply With Quote
Old 04-22-2012, 05:11 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,278
Karma: 5495472
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by bsabiston View Post
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
Because you went to a Malware site to get your download?
8.47 MSI is 45.8 MB
theducks is online now   Reply With Quote
 
Enthusiast
Old 04-23-2012, 07:18 AM   #3
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 738
Karma: 2030839
Join Date: Sep 2010
Device: iriver Story HD
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 ..."
So tons of comments for every little string times 70+ languages = huge.
frostschutz is online now   Reply With Quote
Old 04-23-2012, 09:26 AM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,278
Karma: 5495472
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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.
theducks is online now   Reply With Quote
Old 04-23-2012, 10:00 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: 25,446
Karma: 4961459
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".
kovidgoyal is offline   Reply With Quote
Old 04-26-2012, 04:22 PM   #6
Jazzy_Jeffaz
Member
Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.Jazzy_Jeffaz is fluent in JavaScript as well as Klingon.
 
Posts: 16
Karma: 4950
Join Date: Mar 2012
Device: Kindle Keyboard
Quote:
Originally Posted by kovidgoyal View Post
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".

I agree. There are so many great features to your software. I thank you for all the time and effort you put into it.
Jazzy_Jeffaz is offline   Reply With Quote
Old 04-27-2012, 02:47 AM   #7
bsabiston
Junior Member
bsabiston began at the beginning.
 
Posts: 5
Karma: 10
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.
bsabiston is offline   Reply With Quote
Old 04-27-2012, 04:27 AM   #8
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,850
Karma: 85467920
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by bsabiston View Post
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.
Well, you did say "it doesn't really have much content".

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.
pdurrant is offline   Reply With Quote
Old 04-27-2012, 04:36 AM   #9
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: 25,446
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by pdurrant View Post
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.
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.
kovidgoyal is offline   Reply With Quote
Old 04-27-2012, 04:45 AM   #10
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,850
Karma: 85467920
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by kovidgoyal View Post
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.
Whoops! Thanks for the correction.
pdurrant is offline   Reply With Quote
Old 04-27-2012, 07:34 AM   #11
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,936
Karma: 1405001
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.
mrmikel is offline   Reply With Quote
Old 04-28-2012, 01:21 AM   #12
Sydney's Mom
I Bleed Cubby Blue
Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.
 
Sydney's Mom's Avatar
 
Posts: 2,448
Karma: 5258059
Join Date: Dec 2008
Location: Chicago
Device: Kindle PW2, Fire HDX and Samsung Tab 2 and Note 8
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.
Sydney's Mom is offline   Reply With Quote
Old 05-04-2012, 11:24 AM   #13
bsabiston
Junior Member
bsabiston began at the beginning.
 
Posts: 5
Karma: 10
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.
bsabiston is offline   Reply With Quote
Old 05-04-2012, 11:34 AM   #14
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,850
Karma: 85467920
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by bsabiston View Post
"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.
Ah - well, no. That would be a very bad idea indeed.
pdurrant is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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, Freebies, and Resources (No Self-Promotion) 1 08-24-2009 05:27 PM
PRS 505LC New for $223 delivered advocate2 Deals, Freebies, and Resources (No Self-Promotion) 0 08-04-2009 09:27 PM


All times are GMT -4. The time now is 02:19 PM.


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