Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788073 - app-text/djvu: inkscape/librsvg should be in BDEPEND
Summary: app-text/djvu: inkscape/librsvg should be in BDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 02:43 UTC by Michael Orlitzky
Modified: 2021-05-04 12:42 UTC (History)
0 users

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 Michael Orlitzky gentoo-dev 2021-05-04 02:43:41 UTC
The two djvu ebuilds both have,

  DEPEND="${RDEPEND}                                                              
    || ( gnome-base/librsvg media-gfx/inkscape )"
  BDEPEND="app-arch/unzip"

Since the only use of librsvg and inkscape is to create some icons at build time, I think both would be more appropriate in BDEPEND?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-04 02:45:56 UTC
Sure, go for it.
Comment 2 Larry the Git Cow gentoo-dev 2021-05-04 12:42:41 UTC
The bug has been closed via the following commit(s):

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

commit c6be280f00da3f105fb2e9a2ec2e6ad43f1f6024
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2021-05-04 12:34:22 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-05-04 12:41:47 +0000

    app-text/djvu: move inkscape and librsvg into BDEPEND.
    
    The "inkscape" and "rsvg-convert" commands are run at build-time to
    generate icons; thus they belong in BDEPEND. This commit moves them
    there from DEPEND. Done in a new unstable revision because it isn't
    very important to anyone who has already installed a stable version.
    
    Closes: https://bugs.gentoo.org/788073
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 app-text/djvu/djvu-3.5.28-r1.ebuild | 67 +++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)