On Saturday 28 Jan 2012 13:30:50 Philip Webb wrote: > 120128 Sergei Trofimovich wrote: > >> Is there an alternative which doesn't require eg 'kdelibs' or similar ? > >> In my netbook, Xpdf is the only method I have of reading PDFs, > >> as I use Fluxbox & don't have KDE installed at all. > > > > It should not stop you from trying okular (kdelibs based) > > Well no ! -- I don't want to have any KDE in my netbook : > I use a lot of KDE apps on my desktop, incl Okular, but not in the netbook. > > > and evince (libgnome based). They are really neat. > > For lightweight variants you might like to look > > at app-text/epdfview and app-text/gsview. > > Thanks for this & other comments + advice. > > I've installed Evince Epdfview Zathura. Evince looks as usable as Xpdf > & Epdfview is also simple & effective; Zathura works, but relies largely > on keys (ok) & the index toggles, which is not quite as usable. > Epdfview has the advantage over Evince that it needs no deps, > so that's what I may use in my netbook. > > I also noticed a note in my homemade list of installed pkgs > that I had to patch Xpdf to avoid the slow-start problem, > so I'm satisfied that it cb consigned to history.
Hmm ... tried to emerge epdfview and it failed: :-( # emerge -uaDv epdfview These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-text/epdfview-0.1.6-r1 USE="cups nls -test" 397 kB [snip ...] IJob.cxx: In static member function ‘static void* ePDFView::IJob::dispatcher(void*)’: IJob.cxx:62:1: warning: no return statement in function returning non-void if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobFind.o -MD -MP -MF ".deps/libepdfview_a-JobFind.Tpo" -c -o libepdfview_a-JobFind.o `test -f 'JobFind.cxx' || echo './'`JobFind.cxx; \ then mv -f ".deps/libepdfview_a-JobFind.Tpo" ".deps/libepdfview_a-JobFind.Po"; else rm -f ".deps/libepdfview_a-JobFind.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobLoad.o -MD -MP -MF ".deps/libepdfview_a-JobLoad.Tpo" -c -o libepdfview_a-JobLoad.o `test -f 'JobLoad.cxx' || echo './'`JobLoad.cxx; \ then mv -f ".deps/libepdfview_a-JobLoad.Tpo" ".deps/libepdfview_a-JobLoad.Po"; else rm -f ".deps/libepdfview_a-JobLoad.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobRender.o -MD -MP -MF ".deps/libepdfview_a-JobRender.Tpo" -c -o libepdfview_a-JobRender.o `test -f 'JobRender.cxx' || echo './'`JobRender.cxx; \ then mv -f ".deps/libepdfview_a-JobRender.Tpo" ".deps/libepdfview_a- JobRender.Po"; else rm -f ".deps/libepdfview_a-JobRender.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-JobSave.o -MD -MP -MF ".deps/libepdfview_a-JobSave.Tpo" -c -o libepdfview_a-JobSave.o `test -f 'JobSave.cxx' || echo './'`JobSave.cxx; \ then mv -f ".deps/libepdfview_a-JobSave.Tpo" ".deps/libepdfview_a-JobSave.Po"; else rm -f ".deps/libepdfview_a-JobSave.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-MainPter.o -MD -MP -MF ".deps/libepdfview_a-MainPter.Tpo" -c -o libepdfview_a-MainPter.o `test -f 'MainPter.cxx' || echo './'`MainPter.cxx; \ then mv -f ".deps/libepdfview_a-MainPter.Tpo" ".deps/libepdfview_a- MainPter.Po"; else rm -f ".deps/libepdfview_a-MainPter.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-PagePter.o -MD -MP -MF ".deps/libepdfview_a-PagePter.Tpo" -c -o libepdfview_a-PagePter.o `test -f 'PagePter.cxx' || echo './'`PagePter.cxx; \ then mv -f ".deps/libepdfview_a-PagePter.Tpo" ".deps/libepdfview_a- PagePter.Po"; else rm -f ".deps/libepdfview_a-PagePter.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DQT_SHARED - I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 - I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 - I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 - I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore - I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 - I/usr/include/gdk-pixbuf-2.0 -march=native -O2 -pipe -Wall -Wno-long-long - DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-PDFDocument.o -MD -MP -MF ".deps/libepdfview_a-PDFDocument.Tpo" -c -o libepdfview_a-PDFDocument.o `test -f 'PDFDocument.cxx' || echo './'`PDFDocument.cxx; \ then mv -f ".deps/libepdfview_a-PDFDocument.Tpo" ".deps/libepdfview_a- PDFDocument.Po"; else rm -f ".deps/libepdfview_a-PDFDocument.Tpo"; exit 1; fi PDFDocument.cxx: In member function ‘virtual ePDFView::DocumentPage* ePDFView::PDFDocument::renderPage(gint)’: PDFDocument.cxx:618:62: error: ‘poppler_page_render_to_pixbuf’ was not declared in this scope PDFDocument.cxx: In member function ‘virtual gboolean ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)’: PDFDocument.cxx:231:45: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result make[3]: *** [libepdfview_a-PDFDocument.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-text/epdfview-0.1.6- r1/work/epdfview-0.1.6/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/epdfview-0.1.6- r1/work/epdfview-0.1.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/epdfview-0.1.6- r1/work/epdfview-0.1.6' make: *** [all] Error 2 emake failed * ERROR: app-text/epdfview-0.1.6-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2093: Called _eapi2_src_compile * phase-helpers.sh, line 577: Called die * The specific snippet of code: * emake || die "emake failed" -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.