gpo.zugaina.org

Search Portage & Overlays:

sci-physics/bornagain

Simulate and fit X-ray/neutron reflectometry and grazing-incidence scattering

Screenshots

  • bornagain-24.0
    ~amd64
    +python +tiff python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: GPL-3+   
    Overlay: stuff
  • bornagain-23.0
    ~amd64
    +gui +python +tiff python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: GPL-3+   
    Overlay: stuff

ChangeLog

commit f6f6b6f94fc079a6dcdc7e9a893deb095ffbc4ca
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 28 15:01:56 2026 +0200

sci-physics/bornagain: add 24.0

Headless build — 24.0 removed the GUI (Qt6/OpenGL gone), so drops the gui USE flag, Qt deps and xdg eclass. Bumps to the required libheinz-4.0 / libformfactor-0.4 co-release, capped to those majors; 23.0 stays as the last GUI version. Four patches rebased onto 24.0, the two GUI-only patches dropped.

commit 9d69525766c20e8a6511b3cd850f2c16266d8709
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 28 15:01:56 2026 +0200

sci-physics/bornagain: cap 23.0 deps to pre-24 lib majors

23.0 is the last GUI-capable BornAgain (24.0 is headless); keep it but cap libformfactor (<0.4) and libheinz (<3) to the libs it was built against.

commit cfc0439f4e49a56ccc5eab2cf9091bf320e38138
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 14 01:01:20 2026 +0200

sci-physics/bornagain: new package, add 23.0

X-ray and neutron reflectometry / GISAS simulator (Forschungszentrum
Jülich / MLZ). Qt6 GUI app under USE=gui and a SWIG-generated Python
scripting interface under USE=python; TIFF detector-image support
optional via media-libs/tiff.

Six patches accompany the ebuild:
- cerf-use-c-interface: switch the two cerfcx call sites in
RoughMultiLayerContribution.cpp to the C ABI via a std::complex
bitwise bridge, so we link cerf::cerf from the in-tree libcerf
instead of needing a forked libcerf built with CERF_CPP=ON.
- formfactor-config-fallback: iterate IMPORTED_CONFIGURATIONS rather
than hardcoding RELEASE+NOCONFIG so consumer-side libformfactor
built with CMAKE_BUILD_TYPE=RelWithDebInfo (cmake.eclass default)
is found.
- qt6-include-qquaternion: add the missing <QQuaternion> include in
PlottableBody.h that Qt5 used to pull in transitively.
- skip-deploy-bundling: drop install(SCRIPT FixPack.cmake), which is
meant to bundle Qt plugins + system .so deps for the manylinux
wheel / AppImage workflows.
- no-wheel-rpath: strip the RPATH=$ORIGIN:$ORIGIN/../extra MakeLib
sets on Linux (intended for the wheel layout's bundled-deps subdir;
Portage's RUNPATH QA check otherwise flags it).
- skip-wheel-py-deps-check: PyDependences.cmake doesn't enforce a
pip/wheel/auditwheel BDEPEND because we don't invoke the ba_wheel
target — the assembled $/py/src/bornagain/ tree
is installed directly into Python site-packages, with the .so
files symlinked from /usr/lib64/ to avoid duplicating ~14 MiB.