1 |
On Saturday 28 Jan 2012 13:30:50 Philip Webb wrote: |
2 |
> 120128 Sergei Trofimovich wrote: |
3 |
> >> Is there an alternative which doesn't require eg 'kdelibs' or similar ? |
4 |
> >> In my netbook, Xpdf is the only method I have of reading PDFs, |
5 |
> >> as I use Fluxbox & don't have KDE installed at all. |
6 |
> > |
7 |
> > It should not stop you from trying okular (kdelibs based) |
8 |
> |
9 |
> Well no ! -- I don't want to have any KDE in my netbook : |
10 |
> I use a lot of KDE apps on my desktop, incl Okular, but not in the netbook. |
11 |
> |
12 |
> > and evince (libgnome based). They are really neat. |
13 |
> > For lightweight variants you might like to look |
14 |
> > at app-text/epdfview and app-text/gsview. |
15 |
> |
16 |
> Thanks for this & other comments + advice. |
17 |
> |
18 |
> I've installed Evince Epdfview Zathura. Evince looks as usable as Xpdf |
19 |
> & Epdfview is also simple & effective; Zathura works, but relies largely |
20 |
> on keys (ok) & the index toggles, which is not quite as usable. |
21 |
> Epdfview has the advantage over Evince that it needs no deps, |
22 |
> so that's what I may use in my netbook. |
23 |
> |
24 |
> I also noticed a note in my homemade list of installed pkgs |
25 |
> that I had to patch Xpdf to avoid the slow-start problem, |
26 |
> so I'm satisfied that it cb consigned to history. |
27 |
|
28 |
Hmm ... tried to emerge epdfview and it failed: :-( |
29 |
|
30 |
# emerge -uaDv epdfview |
31 |
|
32 |
These are the packages that would be merged, in order: |
33 |
|
34 |
Calculating dependencies... done! |
35 |
[ebuild N ] app-text/epdfview-0.1.6-r1 USE="cups nls -test" 397 kB |
36 |
|
37 |
[snip ...] |
38 |
|
39 |
IJob.cxx: In static member function ‘static void* |
40 |
ePDFView::IJob::dispatcher(void*)’: |
41 |
IJob.cxx:62:1: warning: no return statement in function returning non-void |
42 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
43 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
44 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
45 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
46 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
47 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
48 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
49 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
50 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobFind.o -MD -MP -MF |
51 |
".deps/libepdfview_a-JobFind.Tpo" -c -o libepdfview_a-JobFind.o `test -f |
52 |
'JobFind.cxx' || echo './'`JobFind.cxx; \ |
53 |
then mv -f ".deps/libepdfview_a-JobFind.Tpo" ".deps/libepdfview_a-JobFind.Po"; |
54 |
else rm -f ".deps/libepdfview_a-JobFind.Tpo"; exit 1; fi |
55 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
56 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
57 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
58 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
59 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
60 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
61 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
62 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
63 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobLoad.o -MD -MP -MF |
64 |
".deps/libepdfview_a-JobLoad.Tpo" -c -o libepdfview_a-JobLoad.o `test -f |
65 |
'JobLoad.cxx' || echo './'`JobLoad.cxx; \ |
66 |
then mv -f ".deps/libepdfview_a-JobLoad.Tpo" ".deps/libepdfview_a-JobLoad.Po"; |
67 |
else rm -f ".deps/libepdfview_a-JobLoad.Tpo"; exit 1; fi |
68 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
69 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
70 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
71 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
72 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
73 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
74 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
75 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
76 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobRender.o -MD -MP -MF |
77 |
".deps/libepdfview_a-JobRender.Tpo" -c -o libepdfview_a-JobRender.o `test -f |
78 |
'JobRender.cxx' || echo './'`JobRender.cxx; \ |
79 |
then mv -f ".deps/libepdfview_a-JobRender.Tpo" ".deps/libepdfview_a- |
80 |
JobRender.Po"; else rm -f ".deps/libepdfview_a-JobRender.Tpo"; exit 1; fi |
81 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
82 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
83 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
84 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
85 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
86 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
87 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
88 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
89 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobSave.o -MD -MP -MF |
90 |
".deps/libepdfview_a-JobSave.Tpo" -c -o libepdfview_a-JobSave.o `test -f |
91 |
'JobSave.cxx' || echo './'`JobSave.cxx; \ |
92 |
then mv -f ".deps/libepdfview_a-JobSave.Tpo" ".deps/libepdfview_a-JobSave.Po"; |
93 |
else rm -f ".deps/libepdfview_a-JobSave.Tpo"; exit 1; fi |
94 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
95 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
96 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
97 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
98 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
99 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
100 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
101 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
102 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-MainPter.o -MD -MP -MF |
103 |
".deps/libepdfview_a-MainPter.Tpo" -c -o libepdfview_a-MainPter.o `test -f |
104 |
'MainPter.cxx' || echo './'`MainPter.cxx; \ |
105 |
then mv -f ".deps/libepdfview_a-MainPter.Tpo" ".deps/libepdfview_a- |
106 |
MainPter.Po"; else rm -f ".deps/libepdfview_a-MainPter.Tpo"; exit 1; fi |
107 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
108 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
109 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
110 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
111 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
112 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
113 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
114 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
115 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-PagePter.o -MD -MP -MF |
116 |
".deps/libepdfview_a-PagePter.Tpo" -c -o libepdfview_a-PagePter.o `test -f |
117 |
'PagePter.cxx' || echo './'`PagePter.cxx; \ |
118 |
then mv -f ".deps/libepdfview_a-PagePter.Tpo" ".deps/libepdfview_a- |
119 |
PagePter.Po"; else rm -f ".deps/libepdfview_a-PagePter.Tpo"; exit 1; fi |
120 |
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - |
121 |
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - |
122 |
I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - |
123 |
I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - |
124 |
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - |
125 |
I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - |
126 |
I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - |
127 |
I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - |
128 |
DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-PDFDocument.o -MD -MP -MF |
129 |
".deps/libepdfview_a-PDFDocument.Tpo" -c -o libepdfview_a-PDFDocument.o `test |
130 |
-f 'PDFDocument.cxx' || echo './'`PDFDocument.cxx; \ |
131 |
then mv -f ".deps/libepdfview_a-PDFDocument.Tpo" ".deps/libepdfview_a- |
132 |
PDFDocument.Po"; else rm -f ".deps/libepdfview_a-PDFDocument.Tpo"; exit 1; fi |
133 |
PDFDocument.cxx: In member function ‘virtual ePDFView::DocumentPage* |
134 |
ePDFView::PDFDocument::renderPage(gint)’: |
135 |
PDFDocument.cxx:618:62: error: ‘poppler_page_render_to_pixbuf’ was not |
136 |
declared in this scope |
137 |
PDFDocument.cxx: In member function ‘virtual gboolean |
138 |
ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)’: |
139 |
PDFDocument.cxx:231:45: warning: ignoring return value of ‘ssize_t write(int, |
140 |
const void*, size_t)’, declared with attribute warn_unused_result |
141 |
make[3]: *** [libepdfview_a-PDFDocument.o] Error 1 |
142 |
make[3]: Leaving directory `/var/tmp/portage/app-text/epdfview-0.1.6- |
143 |
r1/work/epdfview-0.1.6/src' |
144 |
make[2]: *** [all-recursive] Error 1 |
145 |
make[2]: Leaving directory `/var/tmp/portage/app-text/epdfview-0.1.6- |
146 |
r1/work/epdfview-0.1.6/src' |
147 |
make[1]: *** [all-recursive] Error 1 |
148 |
make[1]: Leaving directory `/var/tmp/portage/app-text/epdfview-0.1.6- |
149 |
r1/work/epdfview-0.1.6' |
150 |
make: *** [all] Error 2 |
151 |
emake failed |
152 |
* ERROR: app-text/epdfview-0.1.6-r1 failed (compile phase): |
153 |
* emake failed |
154 |
* |
155 |
* Call stack: |
156 |
* ebuild.sh, line 85: Called src_compile |
157 |
* environment, line 2093: Called _eapi2_src_compile |
158 |
* phase-helpers.sh, line 577: Called die |
159 |
* The specific snippet of code: |
160 |
* emake || die "emake failed" |
161 |
-- |
162 |
Regards, |
163 |
Mick |