Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 827817

Summary: dev-tex/latex2html-2021.2-r2: Needs USE flag for SVG support
Product: Gentoo Linux Reporter: Wade Cline <wadecline>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: minor CC: sam
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed ebuild

Description Wade Cline 2021-11-29 02:57:41 UTC
Created attachment 756976 [details, diff]
Proposed ebuild

Newer versions of LaTeX2HTML have support for (and default to) SVG, but this support will only work if the appropriate packages are installed.  The appropriate package appears to be 'app-text/popper' with the 'cairo' USE flag.  If SVG support is available the file '/usr/lib64/latex2html/l2hconf.pm' will contain the non-empty definition: 

    $PDFTOCAIRO = '/usr/bin/pdftocairo';    # pdf to svg converter

Attached is an ebuild which should add an 'svg' USE flag to the ebuild.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-29 04:30:41 UTC
*** Bug 827819 has been marked as a duplicate of this bug. ***
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-29 04:30:46 UTC
*** Bug 827818 has been marked as a duplicate of this bug. ***
Comment 3 Wade Cline 2021-11-30 05:34:14 UTC
Blargh, sorry about the duplicate bugs.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-02 09:14:27 UTC
Thanks!
Comment 5 Larry the Git Cow gentoo-dev 2022-01-02 09:25:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e200c026b6df15a24440490151e4d70c9917944c

commit e200c026b6df15a24440490151e4d70c9917944c
Author:     Wade Cline <wadecline@hotmail.com>
AuthorDate: 2021-11-29 02:43:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-02 09:14:46 +0000

    dev-tex/latex2html: Add 2022
    
    Closes: https://bugs.gentoo.org/827817
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Wade Cline <wadecline@hotmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-tex/latex2html/Manifest               |  1 +
 dev-tex/latex2html/latex2html-2022.ebuild | 82 +++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)