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 08-13-2009, 06:21 PM   #31
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,494
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
cancelled

Last edited by roger64; 08-13-2009 at 06:26 PM.
roger64 is offline   Reply With Quote
Old 08-13-2009, 06:44 PM   #32
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by roger64 View Post
You're right.

I just read the google code page here which is the first hit when you type on google "sigil install linux". I thought it was enough. Maybe, it could also be completed with libqt4-dev.
http://code.google.com/p/sigil/wiki/...onInstructions
Am I the only one who sees the word "run" bolded? Or the link to the exact page with building instructions: "Instructions on compiling Sigil can be found on the BuildingFromSource wiki page."? It's the very next sentence after the list of libraries required to run Sigil. "libqt4-dev" is not required to run Sigil, but is required to build it. This would be the reason why it's not listed in the libraries required for running, but is listed in the libraries required for building.

Also, none of this text is in the INSTALL.txt file included in the source package you downloaded. That file only has the text from the BuildingFromSource page, since with the source package you'll be... building from source.

I honestly don't know how to make all of this more explicit for new users. I guess I'll have to try.

Last edited by Valloric; 08-13-2009 at 06:51 PM.
Valloric is offline   Reply With Quote
Old 08-13-2009, 06:56 PM   #33
Teyrnon
Groupie
Teyrnon has a complete set of Star Wars action figures.Teyrnon has a complete set of Star Wars action figures.Teyrnon has a complete set of Star Wars action figures.Teyrnon has a complete set of Star Wars action figures.
 
Posts: 188
Karma: 384
Join Date: Jun 2009
Device: jetBook, Kindle DX
Quote:
Originally Posted by Valloric View Post
I honestly don't know how to make all of this more explicit for new users. I guess I'll have to try.
It's very clear from the README.txt and INSTALL.txt. If someone can't be bothered to review the files included in the zip file I don't know that there's anything that can be done to help that person short of binary packages.
Teyrnon is offline   Reply With Quote
Old 08-14-2009, 03:31 AM   #34
krischik
Addict
krischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheese
 
krischik's Avatar
 
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
MacPorts progress.

Quote:
Originally Posted by Valloric View Post
Hopefully the package maintainers will pick up on it soon. There's already a package on MacPorts.
But there is a little problem here - MacPorts is not universal by default - which means that MacPorts users usually don't have the ppc version of QT installed.

Now it seems that Sigil v0.1.2 tries to create a universal-binary by default. I had not have the time to look for a No-Universal option yet - so this is not a bug report - it's just an progress info.

Martin
krischik is offline   Reply With Quote
Old 08-14-2009, 06:18 AM   #35
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,316
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Valloric View Post
You are free to do so, but this is rather unnecessary. Making a deb with checkinstall is useful when the install process puts many different files in many different places. Sigil's install process installs only one file: "sigil", which is placed in /usr/local/bin (this path can be changed, see the build instructions for more info).
The advantage is that of using the distribution's package system, which means you have a centralized database of installed packages, a centralized way of installing and uninstalling, of querying the version installed, etc.

At the moment you may have a single file (which I just copy in ~/bin, by the way), but later on you may want to install man pages, samples, templates, HTML help pages, command-line helper apps... It's a good practice to use "sudo checkinstall" rather than "sudo make install".
Jellby is offline   Reply With Quote
Old 08-14-2009, 09:04 AM   #36
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by Jellby View Post
The advantage is that of using the distribution's package system, which means you have a centralized database of installed packages, a centralized way of installing and uninstalling, of querying the version installed, etc.

At the moment you may have a single file (which I just copy in ~/bin, by the way), but later on you may want to install man pages, samples, templates, HTML help pages, command-line helper apps... It's a good practice to use "sudo checkinstall" rather than "sudo make install".
Oh I agree, it's good practice. But currently for Sigil I think there is little point. Of course, no harm would come from using it.

Although in general I have heard that checkinstall instills one very bad practice in users: the distribution of packages created with it, when those packages are meant for the machine where it was first run. People think that the created package is just like those from the repos, and this creates problems.
Valloric is offline   Reply With Quote
Old 08-14-2009, 09:07 AM   #37
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by krischik View Post
But there is a little problem here - MacPorts is not universal by default - which means that MacPorts users usually don't have the ppc version of QT installed.

Now it seems that Sigil v0.1.2 tries to create a universal-binary by default. I had not have the time to look for a No-Universal option yet - so this is not a bug report - it's just an progress info.
If you want the build process to create just the architecture type of the machine it is running on, remove this line from the root CMakeLists.txt file:
Code:
set( CMAKE_OSX_ARCHITECTURES "ppc;i386" )
Valloric is offline   Reply With Quote
Old 08-14-2009, 10:04 AM   #38
krischik
Addict
krischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheese
 
krischik's Avatar
 
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
Thumbs up

Quote:
Originally Posted by Valloric View Post
If you want the build process to create just the architecture type of the machine it is running on, remove this line from the root CMakeLists.txt file:
Thanks - that saves me a lot of searching.
krischik is offline   Reply With Quote
Old 08-14-2009, 12:22 PM   #39
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,494
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Smile

@Valloric

Producing a deb package for Sigil

I send you a zip file including:

1- a rtf file called "Compilation" which is the exact text log of the first two commands. You may note one explicit error at 19%, which seems to have no importance, but who knows?
2- a rtf file called "checkinstall" which is the exact text log of the checkinstall command I used. Please note that I included the four needed dependencies to run the program (but not the last one, libqt4-dev, which is not needed afaik)
3- a deb package which should run fine on 32 bits systems for distros using debs like Debian, all Ubuntus, Mint...

The checkinstall program is also able to produce rpm or slack packages but I have not enough experience with these distros to dare produce it.

My distro is Ubuntu jaunty 32 bits.

Hope this may be of use to you.
Attached Files
File Type: zip sigil-1.0.2 deb-i386.zip (515.0 KB, 174 views)
roger64 is offline   Reply With Quote
Old 08-14-2009, 01:35 PM   #40
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by roger64 View Post
Hope this may be of use to you.
Thank you for trying to help roger64, but for security and quality assurance reasons I will not distribute binaries from random people on the internet.

And checkinstall is not meant to be used to produce packages that are to be installed on computers other than the one used to make the package. The deb and rpm packages you normally install from your distribution's package repository are created with a lot more care and precision. It is not an easy or simple process by any means. For more information on creating distributable debs, take a look here. Just creating debs alone is rather complicated. Rpms AFAIK have their own complex procedures.

Those things aside, just providing deb and rpm packages would not be fair to the other Linux users whose distributions do not use them. There are many other package types. Providing some and not others would still leave a lot of people unhappy, and I just don't have the resources or the time to make a dozen different package types.

As I've noted in (several) previous posts, many (major) software projects provide only source archives for Linux. From GCC, GIMP, Inkscape etc. These people have met the same hurdles I have met, and have a lot more manpower available. Their solution is to provide sources, which users can then compile themselves or leave it to the package maintainers to handle for them.

Sigil will do so as well. This is final.

This decision is not the product of laziness, lack of skill or malice. Simply a consequence of Sigil being a one-man-project, and a hobby project at that. That being said, many larger projects still provide only source archives for Linux. I've said this too many times now, and I'm starting to sound like a broken record.

I hope I've made my point clear. If I haven't, well... I gave it my best shot.
Valloric is offline   Reply With Quote
Old 08-14-2009, 02:17 PM   #41
Teyrnon
Groupie
Teyrnon has a complete set of Star Wars action figures.Teyrnon has a complete set of Star Wars action figures.Teyrnon has a complete set of Star Wars action figures.Teyrnon has a complete set of Star Wars action figures.
 
Posts: 188
Karma: 384
Join Date: Jun 2009
Device: jetBook, Kindle DX
Quote:
Originally Posted by Valloric View Post
I hope I've made my point clear. If I haven't, well... I gave it my best shot.
I would suggest that those who really must have a binary package for whatever reason might get involved with the community of their preferred distribution and see if they can't get Sigil considered for addition to that distro's repositories or whatever.
Teyrnon is offline   Reply With Quote
Old 08-15-2009, 02:25 AM   #42
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,494
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Smile

You decide. You are the -final- author and boss.

For the sake of objectivity and for the information of our readers, I need to correct a misconception about the technical value of checkinstall built deb packages stemming from our previous posts. This will be my last shot.

Quote:
Originally Posted by Valloric View Post
.../...
And checkinstall is not meant to be used to produce packages that are to be installed on computers other than the one used to make the package. The deb and rpm packages you normally install from your distribution's package repository are created with a lot more care and precision. It is not an easy or simple process by any means. For more information on creating distributable debs, take a look here. Just creating debs alone is rather complicated. Rpms AFAIK have their own complex procedures.
.../...
To write that "checkinstall is not meant to be used to produce packages that are to be installed on computers other than the one used to make the package" is a misconception.

The situation is just not so one-sided as you wrote it. I explain this:

First, let's put aside please the trust and security reasons. This is another and different question. A most important one, for sure, but another one. Let's speak only here about the technical value of a package made with checkinstall.

Checkinstall can technically be trusted, even for distribution purposes. It's part of the Ubuntu communautary documentation. Look here: https://help.ubuntu.com/community/CheckInstall which speaks of "allowing for easy package removal or distribution".
It has indeed some limitations,
- 32bits or 64 bits version
- same version of same distribution specially when there are dependencies
- same architecture (i386 or Sparc,...) written in the deb package.
If available, I agree that an official package is to be preferred
- available for several architectures
- respect for specific distribution rules (recommended paths, icon menus, patches...)

So, for the above-mentioned reasons, the checkinstall built deb package I sent you can technically be trusted and it will successfully and safely run on all 32 bits i386 computers using Ubuntu jaunty and not only on my computer where it has been compiled and built.

It's somewhat more limited than what I wrote before and I apologize for this, but it's still significant and of much wider use than what you wrote. So, all done for the double misconception I wanted to correct.

To conclude, you wrote that to compile your program is trivial. Well, to create a working deb package with checkinstall including the needed dependencies is just as trivial. It's, to use your own words, “as simple as” replacing :
sudo make install
by
sudo checkinstall -D --requires="libqt4-gui,libqt4-svg,libqt4-webkit,libqt4-xml”
Note: for black magic reasons, no whitespace between package names, only comas.

This was my best shot too. Thank you for giving me the opportunity to understand better checkinstall and for having taken the time to reply.

Your random servant.

P.S. Zelda. Still OK like this? Nobody to be hurt?

Last edited by roger64; 08-16-2009 at 04:28 AM.
roger64 is offline   Reply With Quote
Old 08-15-2009, 04:57 PM   #43
jotas
Connoisseur
jotas has a complete set of Star Wars action figures.jotas has a complete set of Star Wars action figures.jotas has a complete set of Star Wars action figures.jotas has a complete set of Star Wars action figures.jotas has a complete set of Star Wars action figures.
 
jotas's Avatar
 
Posts: 73
Karma: 414
Join Date: Jul 2009
Location: virtual
Device: who knows?
Hi,

I'm just new to Sigil, and using it for some hours for comparing with various editing and conversion tools supporting .epub. Looks really great and simple. Congratulations.

A simple question, sorry, but I was not able to find it in the forum (using search) or with first-look program options:

- How can I add a cover image? To show as cover, not in text, for all software and hardware .epub readers.

- And, how much must the size for this image? I noted that Sigil does not change or resize the images, so later in viewers they are too small, or too big.

- I have a strange problem: when saving/loading files, I can load again the .epub exported files, but not the original .sgf one (???) Hangs forever loading with high cpu usage, both are about 4,83 MB size.

By the way, I vote also for .RTF and .MOBI (.PRC) input and conversion. Later you can even consider .LRF, if not too tricky, considering the latest Sony news.

Thanks! Regards!

Last edited by jotas; 08-16-2009 at 06:37 AM.
jotas is offline   Reply With Quote
Old 08-15-2009, 05:26 PM   #44
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,526
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Is there a way in 0.1.2 to make any of the paragraphs have no indent? Also, can the extra space between paragraphs be removed or not added in in the first place?

I have not looked at the tickets so this may already be there. But is there going to also be a CSS editor eventually built in?
JSWolf is offline   Reply With Quote
Old 08-16-2009, 04:40 AM   #45
krischik
Addict
krischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheese
 
krischik's Avatar
 
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
Talking MacPorts released

Sigil 0.1.2 for MacPost has been released for MacPorts. Please discuss in the MacPorts Thread.

Martin
krischik 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
Sigil 0.2.4 Valloric Sigil 16 09-09-2010 12:04 PM
Sigil 0.2.3 Valloric Sigil 16 06-25-2010 11:59 AM
Sigil 0.2.1 Valloric Sigil 23 06-22-2010 03:52 AM
Sigil Marc_liest Software 19 06-01-2010 01:59 AM
Sigil v0.1.5 Valloric Sigil 66 12-01-2009 07:55 PM


All times are GMT -4. The time now is 07:46 AM.


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