Well, actually there was a slight problem.
More specifically, the manpages were not installed. It was not a packaging
error, but a Makefile mishap.
It seems that *Sphinx* (ran through the Makefile in ./doc) is used to build
the complete manpages, but the thing is that the following lines in the
root Makefile do not work as they are supposed to:

install-manpages: build-manpages
     $(call colorecho,INSTALL,"man pages")
     $(QUIET)mkdir -m 755 -p ${DESTDIR}${MANPREFIX}/man1
${DESTDIR}${MANPREFIX}/man5
ifneq "$(wildcard ./doc/_build/man/${PROJECT}.1)" ""
     $(QUIET)install -m 644 ./doc/_build/man/${PROJECT}.1
${DESTDIR}${MANPREFIX}/man1
endif
ifneq "$(wildcard ./doc/_build/man/${PROJECT}rc.5)" ""
     $(QUIET)install -m 644 ./doc/_build/man/${PROJECT}rc.5
${DESTDIR}${MANPREFIX}/man5
endif

That is because *Sphinx*, after building the manpages for *zathura* and
*zathurarc*, it does not leave them under *./doc/_build/man/*, but rather
under *./doc/_build/*.
So removing the */man/* part of the path in these four lines fixes the
problem.

Other than that, the updates were quite nice.
And the {index,index-active}-{fg,bg} options do work quite nicely.
Thank you for the update.


On 27 April 2014 15:42, Sebastian Ramacher <sebasti...@pwmt.org> wrote:

> On 2014-04-24 09:05:33, Αριστοτέλης Πανάρας wrote:
> > I am using zathura in Arch Linux, using package 'zathura-git'.
> > After trying to build the latest develop snapshot (89113e3), it fails
> with
> > the following error:
> >
> > Exception occurred:
> >   File "conf.py", line 6, in <module>
> >       import sphinx_rtd_theme
> > ImportError: No module named 'sphinx_rtd_theme'
> > The full traceback has been saved in /tmp/sphinx-err-d62em_yk.log, if you
> > want to report the issue to the developers.
> > Please also report this if it was a user error, so that a better error
> > message can be provided next time.
> > A bug report can be filed in the tracker at <
> > https://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
> > Makefile:23: recipe for target 'man' failed
> > make[1]: *** [man] Error 1
> > make[1]: Leaving directory
> > '/tmp/yaourt-tmp-ale1ster/aur-zathura-git/src/zathura/doc'
> > Makefile:188: recipe for target 'build-manpages' failed
> > make: *** [build-manpages] Error 2
> >
> > .
> > I have installed 'python-sphinx' (which is sphinx with python3
> > dependencies) and 'doxygen'. Also pip is present
> > Since there is a requirements.txt file containing a sphinx-rtd-theme
> line,
> > is there another reason the install fails?
>
> There should be some auto-detection happening for that now. If Sphinx is
> available, the manpages will be built. If doxygen, breathe and
> sphinx_rtd_theme
> are also available, the HTML documentation will be built too.
>
> If there are any problems with that, please let me know.
>
> Cheers
> --
> Sebastian Ramacher
> _______________________________________________
> zathura mailing list
> zathura@lists.pwmt.org
> http://lists.pwmt.org/mailman/listinfo/zathura
>
_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to