Another High-calibre Saturday

calibre, an e-book reader’s best companion, has been upgraded to v. 0.6.5.

In keeping with my history of tips and tricks for installing calibre on Fedora, I offer the following, based on the install I just completed. I’m running Fedora 11, and this worked for me.

I had to install

poppler-devel-0.10.7-2.fc11.i586
poppler-qt4-0.10.7-2.fc11.i586
poppler-qt4-devel-0.10.7-2.fc11.i586

to get calibre to install and have full PDF support. Said packages are available from the Fedora repo.

The install was error-free, following the usual

wget -O- http://calibre.kovidgoyal.net/downloads/calibre-0.6.5.tar.gz | tar xvz
cd calibre*
python setup.py build && sudo python setup.py install
sudo calibre_postinstall

Though you couldn’t tell it, I have completed about 90% of a Fedora RPM for calibre. It handles dependency checking well, and lays down the required files properly. The postinstall section of my RPM needs some work; there’s a nasty blow-up that I need to investigate.

Previous calibre posts, for your reading pleasure, can be had here.

-k-

Higher calibre

calibre, the real deal in e-book management software, has been updated to version 0.6.0. In addition to support for the Kindle DX, there are numerous other enhancements, as detailed in the changelog.

Before you can explore the new shininess, you must build calibre. I’m running Fedora 11 currently; the instructions I posted here still pretty much apply.. A couple of nuances:

To get full PDF functionality, PoDoFo must be installed. These can be had from the Fedora 11 repository, just yum install them:

  1. podofo-libs-0.7.0-2.fc11.i586
  2. podofo-0.7.0-2.fc11.i586
  3. podofo-devel-0.7.0-2.fc11.i586

.
I think only the podofo-devel is a calibre requirement. The versions available from Fedora 11 were sufficiently current for calibre’s needs.

Next, you’ll need some later versions of sip, PyQt, and qt4; these are sufficiently current, and are available from the Fedora Rawhide repo:

  1. sip-4.8.1-1.fc12.i586
  2. sip-devel-4.8.1-1.fc12.i586
  3. qt-4.5.2-3.fc12.i586
  4. qt-x11-4.5.2-3.fc12.i586
  5. qt-devel-4.5.2-3.fc12.i586
  6. phonon-backend-xine-4.3.1-11.fc12.i586
  7. PyQt4-4.5.2-1.fc12.i586
  8. PyQt4-devel-4.5.2-1.fc12.i586

Now, calibre should build and install, on F11 anyhow.

I haven’t had time to explore the shiny newness yet; more details to follow, as the quest begins.

-k-

, ,

If it’s Saturday, I’m installing calibre

calibre 0.5.11 now runs strong and tall on my Linux laptop. I wonder how much I’ll really need to reformat personal content after the Kindle DX is on-board. I think the DX is going to handle my PDF manuals just fine.

I think, though, I’ll keep up with calibre. Who knows? I may hit some creative streak, wherein I’ll publish treatises of original thought and insight, and use the Kindle for something other than a high tech flat rate manual. Maybe. Stranger things have happened. Also, I’m getting closer to getting calibre whipped into an RPM, which will make the upgrade process much simpler. And, yes, if I get a suitable RPM built, I’ll share. That’s also part of the FOSS “payment” process.

-k-

,

A New Weekend Pastime

That would be reinstalling calibre. The calibre maintainer is not in the least shy about releasing frequent updates. Considering the number of different readers, operating systems, and ebook formats that he’s supporting, I’m not shocked at this. In fact, it’s encouraging; much better to have a constantly changing and improving product than a lame duck that “kinda works.”

Part of participation in free and open source software, from a user’s perspective, is a willingness to stay current with the product; yes that requires a little effort. If you’re not willing to invest that time, perhaps FOSS isn’t really for you.

So, I’m running the latest calibre, and next weekend, I’ll bake a fresh one, if it gets updated again. The time involved in building a new version is measured in minutes, not days or weeks. This is a negligible price to pay.

-k-

Calibre install on Fedora 11 Beta

I just completed a from scratch, from source install of calibre on my Fedora 11 beta laptop. As documented a couple of posts back, the laptop was installed using the Fedora 11 live USB install method. Here’s what I had to add, to get calibre to build and install:

For building calibre, I needed the following; just do a yum install; there will be a long list of dependencies brought in:

  1. python-setupdocs
  2. python-setuptools
  3. sip
  4. PyQt4
  5. PyQt4-devel
  6. gcc
  7. gcc-c++

Finally, do this:

export PATH=$PATH:/usr/lib/qt4/bin

Then, python setup.py build should cleanly build calibre.

To install calibre, I had to yum install the following:

  1. python-mechanize
  2. python-clientform
  3. python-lxml
  4. python-dateutil
  5. python-imaging
  6. python-BeautifulSoup

The python setup.py install worked without complaints. The calibre icon appeared in the Fedora menu, and all is well.

For me, calibre segfaults when being called from the Fedora menu, and the “View MOBI” option is selected. “View PDF” works fine. When I invoke calibre from the command line, all the view options work, irrespective of format. Not necessarily a calibre bug; I’ll check out the calibre release notes and trouble ticket, and poke around my setup a bit.

-k-

, ,

A High-calibre Upgrade Bonus

Fedora 11 includes an upgrade to python 2.6. This is a good thing: I can now install the latest, greatest calibre. calibre is a tool for managing e-book libraries, and is the descendant of the libprs500 software suite, which I used with success on the Sony e-reader.

With the Sony, I would have been totally in the weeds without libprs500. There was no way short of using a Windows computer to get one’s own content onto the device. libprs500 kept my Windows-free streak alive. After getting my Kindle, I thought the libprs/calibre tools wouldn’t be needed any longer, since the Kindle shows up as yet another USB storage device.

I had a previous version of calibre installed, pre Fedora upgrade. It is much more robust than the libprs500, and the graphical interface is much neater and cleaner.

After sending several PDFs and other documents to Amazon’s conversion service, I have not been overly impressed with the quality and readability of the converted items. libprs/calibre’s MOBI conversions are typically much better than anything else I’ve tried.

So, with part of the Kindle allure being the possibility of having a lot of sysadmin manuals on one easy-to-use device, I’m back on the calibre bandwagon.

I always install calibre from source on my Fedora systems; there are a lot of dependencies to install for calibre to work. I use the time tested method of build, install, run, let stuff blow up as missing dependencies are found, install missing dependencies. Repeat process until everything comes up cleanly.

Maybe I’ll take a shot at making a Fedora RPM for calibre, if for no other reason than to be ready for the next upgrade to Fedora.

-k-

, , ,