LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2021, 10:52 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Ebook --> something useful


I have this 19th century book for reference in the form of an ebook. People are suggesting are suggesting crazy utilities slackware doesn't have. What's the lazy was of un-ebooking the thing?
 
Old 03-21-2021, 11:07 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I have this 19th century book for reference in the form of an ebook.
Where?

What format is it in? EPUB? Then it's just a zip archive, full of XHTML, CSS, images and some metadata. Sigil is the main tool to work with EPUBs, and it's available in Slackware (Alien Bob, Slackonly).

Otherwise, you can probably convert it to EPUB with Calibre.

Last edited by shruggy; 03-21-2021 at 12:06 PM.
 
Old 03-21-2021, 11:21 AM   #3
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,558

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Calibre is awesome. On my phone I use FBReader, but it's qt4, which won't work with current. But if you want to read an ebook on desktop/laptop, definitely check out Calibre. There's a dugan slackbuild out there. Alien Bob has a package, too. I think ruario had one, as well?
 
Old 03-21-2021, 11:38 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Original Poster
Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Thx for the speedy reply. I grabbed that from slackware.nl.
Code:
bash-5.1$ ldd /usr/bin/sigil |grep found
	libQtSvg.so.4 => not found
	libQtWebKit.so.4 => not found
	libQtXmlPatterns.so.4 => not found
	libQtGui.so.4 => not found
	libQtXml.so.4 => not found
	libQtNetwork.so.4 => not found
	libQtCore.so.4 => not found
It's wearisome. Apparently they're all part of Qt-4.8.7? Slackware is doing Qt5 now, isn't it?
 
Old 03-21-2021, 12:01 PM   #5
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
Okular also can read epub files and comes with slackware
 
Old 03-21-2021, 12:09 PM   #6
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Rep: Reputation: 29
Have You tried Pandoc?
 
Old 03-21-2021, 12:19 PM   #7
BradReed
Member
 
Registered: Apr 2015
Location: Earth
Distribution: Slackware-current
Posts: 106

Rep: Reputation: 55
Quote:
Originally Posted by shruggy View Post
Where?

What format is it in? EPUB? Then it's just a zip archive, full of XHTML, CSS, images and some metadata. Sigil is the main tool to work with EPUBs, and it's available in Slackware (Alien Bob, Slackonly).

Otherwise, you can probably convert it to EPUB with Calibre.
Calibre's ebook-editor is probably better maintained than Sigil these days, but both are great tools.
 
Old 03-21-2021, 12:25 PM   #8
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Calibre handles most ebook formats (AZW3, EPUB, MOBI, FB2 and a few others) and you can convert to pdf or docx or txt if you find those file formats more convenient.
Personally, I find that the lazy way of handling ebooks is to read them as ebooks. For the EPUB format, EPubreader is a smooth plugin available for Firefox and chrome-based browsers

BTW, latest stable sigil version (1.4.3) builds fine with qt5 and the SBo buildscript. Just version-bump, and (due to changes in the source tree) edit line 97 in the buildscript to:
Code:
  install -D -m 0644 src/Resource_Files/icon/app_icons_orig/app_icon_${i}.png \
Don't forget the dependencies (and dependencies for dependencies), though.

Last edited by kgha; 03-21-2021 at 01:46 PM.
 
Old 03-21-2021, 02:46 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Original Poster
Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Thanks for all the suggestions
  • Calibre I had once. It kept trying to take over my world and giving me a hard time because I just wanted to read one epub.
  • Pandoc I never heard of
  • Okular I had once for pdfs but I felt it sucked. Perhaps that's because kde doesn't live here.
  • Alien's Sigil wants QT4. So I grabbed the git, added a DESTDIR variable and installed it. But my Sigil throws errors aplenty.

So I'll bite the bullet, install one of calibre or okular tomorrow and convert this. It's a boring tome by a guy I fundamentally disagree with but his research sources are comparable with mine, and therefore worth a look We're on the same page on his main point.
 
Old 03-21-2021, 03:15 PM   #10
kaott
Member
 
Registered: Mar 2020
Posts: 63

Rep: Reputation: Disabled
A somewhat minimal dependency epub reader is mupdf.

You might give that a try. There is a slackbuild http://slackbuilds.org/repository/14.2/office/mupdf/ that I have used with success.
 
1 members found this post helpful.
Old 03-21-2021, 06:17 PM   #11
Slurker
LQ Newbie
 
Registered: Dec 2013
Location: Denmark
Distribution: Slackware, Debian
Posts: 23

Rep: Reputation: Disabled
Hope some bright fella would slackify this:

https://johnfactotum.github.io/foliate/
 
Old 03-21-2021, 07:33 PM   #12
longus
Member
 
Registered: Dec 2008
Posts: 49

Rep: Reputation: 3
Foliate seems interesting, but i am unable to compile it on 14.2.
 
Old 03-21-2021, 07:48 PM   #13
Slurker
LQ Newbie
 
Registered: Dec 2013
Location: Denmark
Distribution: Slackware, Debian
Posts: 23

Rep: Reputation: Disabled
Quote:
Originally Posted by longus View Post
Foliate seems interesting, but i am unable to compile it on 14.2.
I'm using it in Debian and I really like it. Hope it'll be easy to run/install in 15

Last edited by Slurker; 03-21-2021 at 07:50 PM.
 
Old 03-21-2021, 09:18 PM   #14
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
BTW it isn't really hard to install old apps that haven't yet or wont ever be updated to QT5 by isolating them and their required dependency libraries in /opt. The main reason I keep around older systems is to be able to copy from them. There is a 32 bit KDE v3 app I use regularly that I use on Current updated as of yesterday. I'm thankful slackpkg+ clean system doesn't mess with /opt if it isn't in /var/log/packages.
 
1 members found this post helpful.
Old 03-22-2021, 09:33 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Original Poster
Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Let me bring this vaguely back on topic. Ebook--> Something Useful.

This is a newish day here. I installed okular, ran 'ldd |grep found' on it, and was met by an impressive list on 'don't have' items. I deemed it unlikely that kdelibs would have them all. As okular doesn't have conversion capabilities for epub, I decided to fight with calibre instead.

Calibre from Alien Bob was compiled against icu4c-65, whereas I had 68.2. I thought it was worth a shot symlinking my way out of that, but that failed. I happened to have icu4c-65.1 installed in last September's current, and copied some libraries into /usr/lib64 as required, but that bombed when one of the python scripts cried foul referencing, I gather libicuuc.so. My earliest iso was last September's which had icu4c-67.1 , so my cheating options were limited.

In the end, I opted for kaott's recommendation of mupdf which opened it, and allowed me to see it wasn't the boring 19th century tome I thought it was. So after all that fighting and farting about, my ebook is junk, and a problem to be solved with 'rm'.

So it's not really "Ebook--> Something Useful," it's "Ebook = junk." Thanks to all who contributed their thoughts.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Turn a WebP Graphic File Into Something Useful in Linux LXer Syndicated Linux News 0 12-20-2015 11:22 AM
Something depends on something else but something else is to be installed javascriptninja Linux - Newbie 3 02-05-2012 04:22 PM
gzip: is it possible to get something useful from 3 broken gz files? eantoranz Linux - Software 1 11-09-2011 09:38 PM
Something like this would be useful Mike941 Linux - Newbie 4 09-20-2008 04:43 AM
Converting .asx to something useful IncredibleKarma Linux - Software 6 11-25-2007 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration