Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694468 - sci-libs/med-4.0.0-r1: migrate to the cmake based ebuild to enable conditional mpi support
Summary: sci-libs/med-4.0.0-r1: migrate to the cmake based ebuild to enable conditiona...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-09-15 10:36 UTC by Fabio Rossi
Modified: 2019-10-13 11:22 UTC (History)
3 users (show)

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


Attachments
med-4.0.0-r1.ebuild (med-4.0.0-r1.ebuild,2.87 KB, text/plain)
2019-09-15 10:37 UTC, Fabio Rossi
Details
med-3.3.1-cmake-fortran.patch (med-3.3.1-cmake-fortran.patch,588 bytes, patch)
2019-09-15 10:37 UTC, Fabio Rossi
Details | Diff
med-3.3.1-disable-python-compile.patch (med-3.3.1-disable-python-compile.patch,1.21 KB, patch)
2019-09-15 10:37 UTC, Fabio Rossi
Details | Diff
med-4.0.0-cmakelist.patch (med-4.0.0-cmakelist.patch,2.36 KB, patch)
2019-09-15 10:38 UTC, Fabio Rossi
Details | Diff
med-4.0.0-installdoc.patch (med-4.0.0-installdoc.patch,1.02 KB, patch)
2019-09-15 10:38 UTC, Fabio Rossi
Details | Diff
med-4.0.0-tests.patch (med-4.0.0-tests.patch,819 bytes, patch)
2019-09-15 10:39 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2019-09-15 10:36:40 UTC
In according to comments 19-22 in #693146, let's migrate med ebuild back to the cmake-based system so that it's possible to enable/disable mpi support with an use flag. In addition the autotools based med doesn't install (or compile?) fortran libs so it's buggy.

I started from the old libmed in portage removing the patch libmed-3.3.1-mpi.patch which causes problems when compiling other applications against med with mpi support (e.g. gmsh)
Comment 1 Fabio Rossi 2019-09-15 10:37:16 UTC
Created attachment 589886 [details]
med-4.0.0-r1.ebuild
Comment 2 Fabio Rossi 2019-09-15 10:37:37 UTC
Created attachment 589888 [details, diff]
med-3.3.1-cmake-fortran.patch
Comment 3 Fabio Rossi 2019-09-15 10:37:59 UTC
Created attachment 589890 [details, diff]
med-3.3.1-disable-python-compile.patch
Comment 4 Fabio Rossi 2019-09-15 10:38:27 UTC
Created attachment 589892 [details, diff]
med-4.0.0-cmakelist.patch
Comment 5 Fabio Rossi 2019-09-15 10:38:40 UTC
Created attachment 589894 [details, diff]
med-4.0.0-installdoc.patch
Comment 6 Fabio Rossi 2019-09-15 10:39:00 UTC
Created attachment 589896 [details, diff]
med-4.0.0-tests.patch
Comment 7 Larry the Git Cow gentoo-dev 2019-10-13 11:22:08 UTC
The bug has been closed via the following commit(s):

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

commit 650bfa08aad0ce31430f6a848b6c6631eada41be
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2019-09-15 13:06:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-10-13 11:21:58 +0000

    sci-libs/med: switch to cmake based build
    
    The patch moves back to the cmake based build used in sci-libs/libmed.
    The issues with sci-libs/gmsh not building with cmake built med have
    been resolved. See https://bugs.gentoo.org/693146 comments 19-22
    
    Closes: https://bugs.gentoo.org/694468
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/12930
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sci-libs/med/files/med-3.3.1-cmake-fortran.patch   |  21 ++++
 .../files/med-3.3.1-disable-python-compile.patch   |  17 +++
 sci-libs/med/files/med-4.0.0-cmakelist.patch       |  59 +++++++++++
 sci-libs/med/files/med-4.0.0-installdoc.patch      |  15 +++
 sci-libs/med/med-4.0.0-r2.ebuild                   | 117 +++++++++++++++++++++
 5 files changed, 229 insertions(+)