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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2013, 12:38 PM   #1
xingenter
Member Retired
xingenter began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2013
Location: UK
Device: none
Building Sigil from source on Linux


Hi there,

This is my first post on this forum. I'm looking for some advice, please.

I have created a remastered version of Linux Mint 13 (Maya) that's full of tools for writers and publishers of all kinds. To date I have Scrivener, Calibre, Trelby, Celtx, LibreOffice, Kabikaboo, Xmind, SciTE, Amaya, Kompozer, Acrobat Reader, Focuswriter, WriteType and a few others. I am most of the way there with it but I've since discovered Sigil and I'd like to include the latest version. Since my only option is to build from source I started to follow the instructions on the wiki page.
However, when it got to this step:
wget http://download.qt-project.org/offic...64-offline.run ....I killed it because the download was 395M. I don't want my live DVD to grow by that much. My question is: is this download needed after the build is complete or can I get rid of it to save space? If I can, how do I do it?



Mark B
xingenter is offline   Reply With Quote
Old 04-27-2013, 07:45 PM   #2
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 688
Karma: 150000
Join Date: Feb 2010
Device: none
You have to install the Qt-5.0.2 libraries, but don't need the source code. And after the install you can delete the downloaded .run file, of course.

On my Debian Sid box, the Qt5.0.2 directory is about 621 Mb, but you might be able to do without the tools, saving 180 Mb of that.

HTH,
Albert
st_albert is offline   Reply With Quote
Advert
Old 04-27-2013, 08:12 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,468
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you know absolutely that you only need/want Qt 5 for Sigil and nothing else; you can whittle Sigil's entire footprint down to 115-120Mb (maybe less but I'm cautious). Judicious use of ldd/lddtree and the LD_LIBRARY_PATH/QT_DEBUG_PLUGINS environment variables can help you identify what Qt components Sigil needs to function.

I'm tempted to say you may have problems if you wanted to redistribute such a thing, but in fact, a LiveCD/DVD would make it a lot easier to do just that. Older incompatible hardware would probably be the only thing that might break it.

The problem that you're running into is that Qt is intended to be truly shared on a Linux system--by all apps that are based on it. Install it once on a system and then the apps can be easily redistributed in small, easily managed packages.
DiapDealer is offline   Reply With Quote
Old 04-28-2013, 04:04 AM   #4
whenster
Member
whenster began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
Another option would be to install Sigil 0.6.2. Qt5 is not required for 0.6.2.
whenster is offline   Reply With Quote
Old 04-28-2013, 04:17 AM   #5
xingenter
Member Retired
xingenter began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2013
Location: UK
Device: none
Thanks for your ideas

Thanks guys, you have been really helpful.

whenster - I guess installing 0.6.2 is easiest. I don't know what new features or bug fixes I'd be missing by doing that but its worth considering.

DiapDealer - I'm not that technically knowledgable about Linux to know what some of what you said means, I'm afraid. Could you expand what you meant when you said this, please? "I'm tempted to say you may have problems if you wanted to redistribute such a thing..."

Albert - Yes, it does help and might be the best compromise. I've only just discovered Sigil but I've read about it in at least two books on e-publishing and they rave about it. On that basis it seems a pity to leave out such a good tool, doesn't it?



Mark B
xingenter is offline   Reply With Quote
Advert
Old 04-28-2013, 04:22 AM   #6
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by evilmrb View Post
I've only just discovered Sigil but I've read about it in at least two books on e-publishing and they rave about it. On that basis it seems a pity to leave out such a good tool, doesn't it?
Also a pity not to include the latest version!
exaltedwombat is offline   Reply With Quote
Old 04-28-2013, 07:11 AM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,468
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by evilmrb View Post
Could you expand what you meant when you said this, please? "I'm tempted to say you may have problems if you wanted to redistribute such a thing..."
Sorry for the confusion. I only meant that I was tempted to say it, but I would be wrong in this case.


Normally, custom compiling can make it difficult to redistribute an app on Linux (especially when shared libraries are involved), because of different flavors of Linux, different kernels, different versions of shared libraries and such. But in creating a Live DVD, you're controlling all those aspects yourself. So in essence... it makes things somewhat easier. The only thing you have to worry about is whether a user's hardware is up to the task of running all the programs on your live DVD. That shouldn't be a problem with Sigil unless someone has an older processor that doesn't support SSE2 (which should be getting more and more rare).

You could try installing one of my unofficial debian packages of Sigil 0.7.2 (links found in a thread a few posts down). Or at least extract the files from one to get an idea of what you need to minimally include to get Sigil 0.7.2 running on debian-based Linux (I created them on Mint 12 [Ubuntu 11.10]).

Last edited by DiapDealer; 04-28-2013 at 07:23 AM.
DiapDealer is offline   Reply With Quote
Old 04-28-2013, 11:15 AM   #8
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,691
Karma: 54369090
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 DiapDealer View Post
That shouldn't be a problem with Sigil unless someone has an older processor that doesn't support SSE2 (which should be getting more and more rare).
Nah!
They are moving into the realm of 'Classic's'

You want to see 'Classic's'? Go Visit the Computer History Museum in Mountain View. They have a CRAY.
theducks is offline   Reply With Quote
Old 04-29-2013, 03:37 AM   #9
xingenter
Member Retired
xingenter began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2013
Location: UK
Device: none
Installing the deb package

Hello again,

I installed the deb package from the link you gave. It worked without error. I couldn't find a menu item for Sigil so I thought I would test it by creating a launcher on the desktop. I pointed it at /usr/local/share/sigil/sigil and clicked on it. Nothing happened. What did I miss?

As an aside my masterplan was dealt a massive blow yesterday when I read that the creator/maintainer of Remastersys has shut up shop after getting sick of hassle from users. Such a pity as there is nothing else like it.

Thanks again for your help. Much appreciated.

Mark B
xingenter is offline   Reply With Quote
Old 04-29-2013, 05:00 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,468
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Create the shortcut to /usr/local/bin/sigil, but there really should already be an entry for Sigil in the "Office" section of your menu. You can also create shortcuts to Sigil's .desktop file in /usr/local/share/applications.
DiapDealer is offline   Reply With Quote
Old 04-29-2013, 01:18 PM   #11
xingenter
Member Retired
xingenter began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2013
Location: UK
Device: none
DiapDealer,

Oops, you're right. I can't see for looking, I guess. Must be my age.
Thank you so much for your help and advice. Thanks to you and your deb package I now have Sigil working properly.

Next step, world domination.



Mark
xingenter 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
building from source - qt4.8.1? platt Sigil 10 05-21-2012 09:32 AM
Building Sigil under Linux st_albert Sigil 1 08-07-2011 03:19 PM
Problem building Calibre from source on Ubuntu 10.10 rozen Calibre 1 03-28-2011 02:02 AM
Error Building on Ubuntu from latest Bazaar Source RoninTech Calibre 5 04-09-2010 10:01 PM
Building Calibre from source al35 Calibre 3 03-24-2010 02:22 PM


All times are GMT -4. The time now is 11:45 PM.


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