Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249635 - app-emacs/auctex should depend on xpdf
Summary: app-emacs/auctex should depend on xpdf
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 18:23 UTC by Jens-Uwe Peter
Modified: 2008-12-05 18:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens-Uwe Peter 2008-12-02 18:23:49 UTC
The app-(x)emacs/auctex ebuild should depend on xpdf (maybe with a X USE flag) since xpdf is the default viewer for the pdflatex output. Either depend on xpdf or configure auctex to use another viewer by default.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-02 21:47:20 UTC
My problem here is that whatever viewer we choose, following your logic we have to put it in RDEPEND.  Maybe the user does not use PDFLaTeX...should we introduce a pdf USE flag then and patch out the support? I don't think so.
 If we choose acroread, GNUists will scream (with reason), kpdf and evince will provoke either the Gnome or KDE fan boys, and both probably the same mob from Xfce/LXDE/whateverDE.  The list is endless, so we should leave that bit to the actual user.  Maybe an elog message after merging could be added.

I am inclined to close this as WONTFIX...anyone speaks up?  Jens-Uwe, please don't take it personal, but I don't agree with you here.
Comment 2 Jens-Uwe Peter 2008-12-02 21:58:27 UTC
As there already is the global pdf USE flag why don't us it? xpdf ist the default viewer for pdflatex documents in auctex and I think someone who uses emacs would also use xpdf as it is the same lets call it puristic approach. Also xpdf is independent of Xfce/KDE/Gnome whatever.
Also the ebuild could use the kde/gnome USE flag I think xpdf should be enough because kpdf/evince are installed default by the KDE/gnome meta-packages.

Also it may be enough to tell the auctex-user with an elog message that he has to install an appropriate viewer if he wants to use pdf with auctex.
Comment 3 Ulrich Müller gentoo-dev 2008-12-02 22:11:28 UTC
I agree with Christian here: We normally don't add USE flags and dependencies for programs that can be optionally called at run time, especially if there's a large variety of choices. Also, auctex is completely usable with dvipng and ghostscript alone (which _are_ included in its dependencies).
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-05 18:26:51 UTC
(In reply to comment #2)
> As there already is the global pdf USE flag why don't us it? xpdf ist the
> default viewer for pdflatex documents in auctex and I think someone who uses
> emacs would also use xpdf as it is the same lets call it puristic approach.
> Also xpdf is independent of Xfce/KDE/Gnome whatever.
> Also the ebuild could use the kde/gnome USE flag I think xpdf should be enough
> because kpdf/evince are installed default by the KDE/gnome meta-packages.
> 
> Also it may be enough to tell the auctex-user with an elog message that he has
> to install an appropriate viewer if he wants to use pdf with auctex.

 Additionally Emacs 23 can display PDFs all by itself, so why overload the ebuild when the solution is really easy.