Register Guidelines E-Books Today's Posts Search

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
Enthusiast
bsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one hand
 
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
bsabiston is offline   Reply With Quote
Old 04-22-2012, 05:11 PM   #2
theducks
Well trained by Cats
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: 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
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 offline   Reply With Quote
Advert
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: 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 ..."
So tons of comments for every little string times 70+ languages = huge.
frostschutz is offline   Reply With Quote
Old 04-23-2012, 09:26 AM   #4
theducks
Well trained by Cats
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: 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.
theducks is offline   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: 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".
kovidgoyal is online now   Reply With Quote
Advert
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
Enthusiast
bsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one hand
 
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.
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: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
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 online now   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: 43,858
Karma: 22666666
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 online now   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: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
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 online now   Reply With Quote
Old 04-27-2012, 07:34 AM   #11
mrmikel
Color me gone
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: 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.
mrmikel is offline   Reply With Quote
Old 04-28-2012, 01:21 AM   #12
Sydney's Mom
Wizard
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,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.
Sydney's Mom is offline   Reply With Quote
Old 05-04-2012, 11:24 AM   #13
bsabiston
Enthusiast
bsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one handbsabiston can read with one hand
 
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.
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: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
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 online now   Reply With Quote
Reply


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 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


All times are GMT -4. The time now is 03:56 AM.


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