Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Looking for a djvu viewer without qt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Tue Jun 10, 2014 10:36 am    Post subject: [SOLVED] Looking for a djvu viewer without qt Reply with quote

Hello List, I am looking for a lightweight djvu viewer and I can't find one so I decided to post here cause I suppose that I'm searching in the wrong places (I can't imagine that every viewer will require either the QT libraries or a big piece of Gnome). The standard clients I found so far are

djview: This one requires QT which I don't want to compile just to view sporadically some djvu document
evince: This one has a lot of Gnome dependencies also too heavy on my system running X + fvwm essentially. I do have the gtk libraries installed so I'm leaning towards this viewer.
fbpdf: This one only uses app-text/djvu which I do have installed (it doesn't seem to require the viewer nor the Qt components) but the problem is that switching to console doesn't seem practical. Also it's not on the portage tree and I'd have to maintain the ebuild.

Do you know of any client only needing X? I have all the libraries in app-text/djvu so currently I'm converting to PS and viewing with gv...


Last edited by potuz on Fri Jun 13, 2014 10:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Tue Jun 10, 2014 11:24 am    Post subject: Re: Looking for a djvu viewer without qt Reply with quote

potuz wrote:
Do you know of any client only needing X?

potuz ... well, generally some sort of graphic toolkit is used along with X, app-text/apvlv[djvu] may be what you're looking for ...

Code:
# equery depgraph -Al app-text/apvlv
 * Searching for apvlv in app-text ...

 * dependency graph for app-text/apvlv-0.1.4
 [  0]  app-text/apvlv-0.1.4  x86
 [  1]  app-text/poppler-0.24.5  x86  [cairo xpdf-headers(+)]
 [  1]  x11-libs/gtk+-2.24.23  x86
 [  1]  app-text/djvu-3.5.25.3  x86
 [  1]  virtual/pkgconfig-0  x86
 [  1]  sys-devel/make-3.82-r4  x86
 [  1]  dev-util/cmake-2.8.12.2  x86
 [  1]  sys-apps/findutils-4.4.2-r1  x86
[ app-text/apvlv-0.1.4 stats: packages (8), max depth (1) ]

HTH & best ... khay
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Thu Jun 12, 2014 2:50 am    Post subject: Re: Looking for a djvu viewer without qt Reply with quote

khayyam wrote:
potuz wrote:
Do you know of any client only needing X?

potuz ... well, generally some sort of graphic toolkit is used along with X, app-text/apvlv[djvu] may be what you're looking for ...

Code:
# equery depgraph -Al app-text/apvlv
 * Searching for apvlv in app-text ...

 * dependency graph for app-text/apvlv-0.1.4
 [  0]  app-text/apvlv-0.1.4  x86
 [  1]  app-text/poppler-0.24.5  x86  [cairo xpdf-headers(+)]
 [  1]  x11-libs/gtk+-2.24.23  x86
 [  1]  app-text/djvu-3.5.25.3  x86
 [  1]  virtual/pkgconfig-0  x86
 [  1]  sys-devel/make-3.82-r4  x86
 [  1]  dev-util/cmake-2.8.12.2  x86
 [  1]  sys-apps/findutils-4.4.2-r1  x86
[ app-text/apvlv-0.1.4 stats: packages (8), max depth (1) ]

HTH & best ... khay

Thanks Khayyam for the tip! I may have a wrong USE combination but indeed could install app-text/apvlv +djvu, the ebuild only checks for app-text/djvu as your post shows without checking for app-text/djview (the one that needs Qt). However, I could not manage to open a single djvu file so I suppose that the libraries (like QT or so) are a runtime dependency that the ebuild is not checking. I didn't have much time to check if there was some configuration that I may be missing, but it just looks as if the application is only recognizing pdf files.

EDIT: I guess there's a problem with the ebuild, I compiled from source passing the option to cmake explicitly and I can view djvu files fine! thanks again for the tip, this is precisely what I needed. I'll correct the ebuild and submit the bug report
Back to top
View user's profile Send private message
fau
n00b
n00b


Joined: 01 Apr 2010
Posts: 74

PostPosted: Thu Jun 12, 2014 8:53 am    Post subject: Reply with quote

Zathura
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Jun 12, 2014 10:30 am    Post subject: Re: Looking for a djvu viewer without qt Reply with quote

potuz wrote:
EDIT: I guess there's a problem with the ebuild, I compiled from source passing the option to cmake explicitly and I can view djvu files fine! thanks again for the tip, this is precisely what I needed. I'll correct the ebuild and submit the bug report

potuz ... you're welcome. You might want to post a link to the bug here and mark the thread [SOLVED].

fau wrote:
Zathura

With the app-text/zathura-djvu plugin ... but it has a dependency on gtk+:3, dev-libs/girara, etc, so quite a lot of dependencies. Also, this will pull in sys-apps/dbus which not everyone wants on their system.

best ... khay
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Jun 12, 2014 4:23 pm    Post subject: Reply with quote

app-text/apvlv

There are more listed here: https://wiki.archlinux.org/index.php/List_of_applications/Documents#PDF_and_DjVu
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Fri Jun 13, 2014 10:32 pm    Post subject: [SOLVED]Re: Looking for a djvu viewer without qt Reply with quote

khayyam wrote:
potuz wrote:
EDIT: I guess there's a problem with the ebuild, I compiled from source passing the option to cmake explicitly and I can view djvu files fine! thanks again for the tip, this is precisely what I needed. I'll correct the ebuild and submit the bug report

potuz ... you're welcome. You might want to post a link to the bug here and mark the thread [SOLVED].

I couldn't figure out what's wrong with the Ebuild. I thought at first that it was the use of the cmake-utils eclass, but at least I couldn't fix it. I am marking this thread as solved though cause apvlv works fantastically.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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