Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726806 - media-gfx/solvespace-2.3 updates(?)
Summary: media-gfx/solvespace-2.3 updates(?)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Victor Kustov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-02 17:53 UTC by Nikita Zlobin
Modified: 2020-07-26 15:55 UTC (History)
2 users (show)

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


Attachments
solvespace-2.3.ebuild (solvespace-2.3.ebuild,1.15 KB, text/plain)
2020-06-02 17:56 UTC, Nikita Zlobin
Details
solvespace-9999.ebuild (solvespace-9999.ebuild,927 bytes, text/plain)
2020-06-02 17:56 UTC, Nikita Zlobin
Details
solvespace-9999.ebuild (solvespace-9999.ebuild,992 bytes, text/plain)
2020-06-02 20:14 UTC, Nikita Zlobin
Details
media-gfx/solvespace-9999-r1.ebuild (solvespace-9999-r1.ebuild,1.66 KB, text/plain)
2020-07-26 11:56 UTC, mehw
Details
media-gfx/solvespace-9999.ebuild.patch (solvespace-9999.ebuild.patch,2.39 KB, patch)
2020-07-26 11:59 UTC, mehw
Details | Diff
media-gfx/solvespace metadata.xml (metadata.xml,1.59 KB, text/xml)
2020-07-26 12:01 UTC, mehw
Details
media-gfx/solvespace-9999-r1.ebuild (solvespace-9999-r1.ebuild,1.66 KB, text/plain)
2020-07-26 15:55 UTC, mehw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2020-06-02 17:53:58 UTC
I'm asked whether I'm to publish ebuild for solvespace CAD after I mentioned it several years ago while reporting some seeming issues.
https://github.com/solvespace/solvespace/issues/276#issuecomment-637649163

Reproducible: Always




Latest release 2.3 is since 2016, but development for now is active.
Comment 1 Nikita Zlobin 2020-06-02 17:56:12 UTC
Created attachment 643156 [details]
solvespace-2.3.ebuild
Comment 2 Nikita Zlobin 2020-06-02 17:56:54 UTC
Created attachment 643158 [details]
solvespace-9999.ebuild
Comment 3 Nikita Zlobin 2020-06-02 18:00:24 UTC
Just looked to fresh CMakeLists.txt. Could be that my live ebuild is outdated.
Comment 4 Nikita Zlobin 2020-06-02 20:14:56 UTC
Created attachment 643174 [details]
solvespace-9999.ebuild

It droped gtk2 support.
Comment 5 Nikita Zlobin 2020-06-03 18:32:29 UTC
Oh, I did not notice there is already 2.3 packaged :/ .
However it uses gtkmm-2, so yeah, there is still reason to upgrade.
Yet that post was about live, not release.
Comment 6 mehw 2020-07-26 11:56:46 UTC
Created attachment 650876 [details]
media-gfx/solvespace-9999-r1.ebuild

Hi Nikita Zlobin,

I changed slightly solvespace-9999.ebuild, could you please give me your opinion? Thanks!

Revised solvespace-9999.ebuild -> solvespace-9999-r1.ebuild:
- Update copyright
- Add CMAKE_MIN_VERSION
- Add xdg-utils to inherit
- Add EGIT_SUBMODULES libdxfrw, flatbuffers, q3d, mimalloc (all required)
- Add IUSE debug, openmp, and spacenav
- Revise DEPEND, RDEPEND, and BDEPEND
- Remove HDEPEND (contains only dev-vcs/git)
- Add REQUIRED_USE for coverage and spacenav
- Add HTML_DOCS and DOCS
- Add pkg_setup (verify gcc min version and openmp)
- Put CMAKE_BUILD_TYPE under src_configure (due to the use of usex)
- Add ENABLE_OPENMP in src_configure
- Change pkg_postinst and pkg_postrm to trigger xdg's updates (icon, desktop, and mimeinfo)

By the way, I couldn't compile media-gfx/solvespace-9999 with system dev-libs/flatbuffers...

References:
- /usr/portage/media-gfx/solvespace/solvespace-2.3.ebuild
- https://bugs.gentoo.org/attachment.cgi?id=643174
- https://data.gpo.zugaina.org/booboo/media-gfx/solvespace/solvespace-9999.ebuild
Comment 7 mehw 2020-07-26 11:59:45 UTC
Created attachment 650878 [details, diff]
media-gfx/solvespace-9999.ebuild.patch

solvespace-9999.ebuild -> solvespace-9999-r1.ebuild diff.
Comment 8 mehw 2020-07-26 12:01:31 UTC
Created attachment 650880 [details]
media-gfx/solvespace metadata.xml

Add metadata.xml file.
Comment 9 Nikita Zlobin 2020-07-26 15:18:17 UTC
Did not try r1 in action, but I would check gcc in pkg_pretend(), to do it before actual build starts.
Comment 10 mehw 2020-07-26 15:51:53 UTC
(In reply to Nikita Zlobin from comment #9)
> Did not try r1 in action, but I would check gcc in pkg_pretend(), to do it
> before actual build starts.

Good suggestion. Thanks!

I'll attach an amended ebuild.
Comment 11 mehw 2020-07-26 15:55:55 UTC
Created attachment 650884 [details]
media-gfx/solvespace-9999-r1.ebuild

As suggested by Nikita Zlobin in comment#9, use pkg_pretend() to test the compiler.