Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800944 - sci-electronics/kicad: ebuild hardcodes opencascade-7.5.1 header path without pinning version
Summary: sci-electronics/kicad: ebuild hardcodes opencascade-7.5.1 header path without...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-07-07 02:12 UTC by Ionen Wolkens
Modified: 2021-08-09 05:46 UTC (History)
2 users (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 Ionen Wolkens gentoo-dev 2021-07-07 02:12:26 UTC
i.e.
    if use occ; then
        if has_version ">=sci-libs/opencascade-7.5"; then
            mycmakeargs+=(
                -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade-7.5.1
                -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade-7.5.1
            )
with
    occ? ( sci-libs/opencascade:=[vtk(+)] )
    
This is a heads up because opencascade-7.5.2 will be added soon'ish, and it uses

    /usr/include/opencascade-7.5.2

I am aware >=opencascade-7.5 is hard to handle currently, dealii ebuild notably opted to pin versions until a better solution.
Comment 1 Zoltan Puskas 2021-08-08 18:35:26 UTC
Thank you for the heads up. PR incoming.
Comment 2 Larry the Git Cow gentoo-dev 2021-08-09 05:46:53 UTC
The bug has been closed via the following commit(s):

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

commit ef75326644c79abe64864916524b5bfe8e25aa44
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2021-08-08 18:32:57 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-09 05:45:28 +0000

    sci-electronics/kicad: Fixup ebuild to support opencascade-7.5.2
    
    OpenCascade currently is hard to handle and some version pinning
    is neccessary. This diff updates ebuild to support all current
    OpenCasade versions in Portage.
    
    Closes: https://bugs.gentoo.org/800944
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/21918
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 sci-electronics/kicad/kicad-5.1.10-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)