Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 22 Jun 2017, 08:25
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
DjVu Document Format for Puppy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 11337
Location: Stratford, Ontario

PostPosted: Tue 30 May 2017, 08:05    Post subject:  DjVu Document Format for Puppy  

Project withdrawn due to lack of interest.
Last edited by rcrsn51 on Thu 08 Jun 2017, 00:19; edited 13 times in total
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1153

PostPosted: Tue 30 May 2017, 20:54    Post subject: Re: DjVu Document Format for Puppy  

rcrsn51 wrote:
b. DjView needs genuine libtiff4, not a symlink to a newer version. The DjVuLibre PET will detect this. If required, get libtiff4 from the PET attached below. Some new Puppies, like Slacko 69xx also need libjpeg8.

Evince, which is part of Slacko 69xx, can also open DjVu files.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2733
Location: Worcestershire, UK

PostPosted: Wed 31 May 2017, 02:15    Post subject:  

How do you create these files?? LibreOffice which can create most formats does not seem to support.

I've tried to find an example file on the webpages referenced but there doesn't seem to be one.....

What are the advantages over pdf which is so ubiquitous it is is unlikely to be displaced? The need for 6.64MB of QT-4 makes it a bit Un-Puppy-Like?

I want to try a file with Evince - how do I get one?

Cheers
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8649
Location: qld

PostPosted: Wed 31 May 2017, 03:50    Post subject:  

@rcrsn51
Indeed slacko since 6.3.0 has evince compiled against djvulibre so evince does open .djvu files just fine as Sailor said. I should add a rox mime-type for it.

Thanks for the djvu_writer printer which works with slacko > 6.3. Just had to move it to /usr/lib64/cups/backend/ in the 64 version. Perhaps you can add a pet for slacko 64? (or even mv it in the pinstall.sh if /usr/lib64 exists).

@peebee see here for a djvu sample file. (look for 'Original file' link).
djvu.jpg
 Description   
 Filesize   41.88 KB
 Viewed   355 Time(s)

djvu.jpg


_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11337
Location: Stratford, Ontario

PostPosted: Wed 31 May 2017, 05:31    Post subject:  

peebee wrote:
How do you create these files??

Read parts 3 and 4 above.

Quote:
What are the advantages over pdf which is so ubiquitous it is is unlikely to be displaced?

Go to the DjVuLibre page linked above.

Quote:
The need for 6.64MB of QT-4 makes it a bit Un-Puppy-Like?

Many people already have Qt installed for other apps. Tahrpup has Qt built-in. Does it count as a Puppy?

Quote:
I want to try a file with Evince.

Not all Puppies have a version of evince that can read DjVu. This project is designed to be backwards-compatible.

Thanks for supporting this project. Especially considering the request here.

------------------------

Last edited by rcrsn51 on Wed 31 May 2017, 22:24; edited 2 times in total
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1368
Location: Italy

PostPosted: Wed 31 May 2017, 14:39    Post subject:  

Working from precise for me. No go in wary. djview4 opens djvu files created with djvu-writer in inverted landscape and you have to rotate 180 degrees them.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11337
Location: Stratford, Ontario

PostPosted: Wed 31 May 2017, 14:47    Post subject:  

watchdog wrote:
Working from precise for me.

Excellent. I did my initial testing in Precise.

Quote:
No go in wary. djview4 opens djvu files created with djvu-writer in inverted landscape and you have to rotate 180 degrees them.

Interesting. I will look at this.

[Edit] I checked in Wary 55 and it definitely does NOT work - problems with the version of GLIBC.

But I don't understand your comment about inverted landscape. In what Puppy does that occur? From what application did you print?
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1368
Location: Italy

PostPosted: Wed 31 May 2017, 23:55    Post subject:  

rcrsn51 wrote:

[Edit] I checked in Wary 55 and it definitely does NOT work - problems with the version of GLIBC.


It's not a glibc problem. I tried with glibc upgrade from lucid and tahr but I still have symbols errors. Not compatible binaries.

Quote:
But I don't understand your comment about inverted landscape. In what Puppy does that occur? From what application did you print?


In precise. If a print with the djvu-writer printer a page of an abiword document in landascape manner then when I open it with djview4 it is inverted 180 degrees by default and you have to rotate it.
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1368
Location: Italy

PostPosted: Thu 01 Jun 2017, 01:12    Post subject:  

Not working in lucid: not compatible libraries. Working in slacko 5.7.
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 196
Location: Yugoslavija

PostPosted: Thu 01 Jun 2017, 02:45    Post subject: xenialdog32bit-djvu writer  

xenialdog32bit-djvu writer does not work

there is another virtual djvu printer:


https://www.novell.com/coolsolutions/tools/18551.html
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1368
Location: Italy

PostPosted: Thu 01 Jun 2017, 06:41    Post subject:  

Success opening djvu files with djvulibre and djview4 from centos 5 using puppy 4.31 with glibc upgrade from lucid. In puppy 4.31 djvu-writer does not work but it works in wary (with glibc upgrade to 2.11) and lucid. I suggest to use libraries from centos 5 for later tests.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11337
Location: Stratford, Ontario

PostPosted: Thu 01 Jun 2017, 08:04    Post subject:  

@watchdog: Thanks for testing. DjVu-Writer was built from Debian Squeeze packages so there will always be problems moving it to other platforms. Because djview is a Qt app, it will have more trouble.

If you went into the Debian archives, you might find a version that is more backwards-compatible. But Precise is as far back in Puppy as I care to go.

[Edit] In the archives, I found old versions of djview4 and libqt that worked in Lupu without a glibc upgrade. But Wary still failed.

It appears that the latest Slackos and LxPups from peebee have djvulibre OOTB, so they will work with my DjVu applets, but using evince as the viewer.

@zagreb999: You originally asked for a DjVu virtual printer in LxPup. It would be appropriate to provide a test report on that platform before jumping somewhere else. I cannot comment on printing in XenialDog.

My DjVu-Writer uses the same techniques as the novell script, but built for CUPS.

Last edited by rcrsn51 on Sat 03 Jun 2017, 09:02; edited 2 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11337
Location: Stratford, Ontario

PostPosted: Thu 01 Jun 2017, 10:37    Post subject:  

@watchdog: The business of printing in landscape is a problem. It depends on the source application (geany, abiword, etc), the version of CUPS and/or the version of ghostscript.

I will look at this some more, but I doubt if there is a one-size-fits-all solution.
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1368
Location: Italy

PostPosted: Thu 01 Jun 2017, 14:11    Post subject:  

rcrsn51 wrote:
@watchdog: The business of printing in landscape is a problem. It depends on the source application (geany, abiword, etc), the version of CUPS and/or the version of ghostscript.

I will look at this some more, but I doubt if there is a one-size-fits-all solution.


I have tested working a modded package djvulibre_small-3.5.25-1.pet with only the change of djview4 from centos 5 instead of the original one from debian jessie. It can print and read in portrait mode. This package continues to work as the original one and plus it works for wary (with glibc 2.11 upgrade) and lucid. I was surprised when I tested it and saw it working for lucid even using djvu-writer.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11337
Location: Stratford, Ontario

PostPosted: Thu 01 Jun 2017, 15:42    Post subject:  

A new version of this project is posted above. The DjVu-Writer virtual printer has been removed in favour of a more robust procedure. See the Update notes.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0682s ][ Queries: 15 (0.0123s) ][ GZIP on ]