gpo.zugaina.org

Search Portage & Overlays:

sci-visualization/gwyddion3

Framework for Scanning Mode Microscopy data analysis (3.x unstable)

Screenshots

  • gwyddion3-3.9-r1
    ~amd64 ~x86
    bzip2 doc fits hdf5 introspection json nls openexr openmp python sourceview webp X xml python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: GPL-2   
    Overlay: stuff
  • gwyddion3-3.9
    ~amd64 ~x86
    bzip2 doc fits hdf5 json nls openexr openmp webp X xml

    View      Download      Browse     License: GPL-2   
    Overlay: stuff

ChangeLog

commit 894a6c178b3c79be1fd0bfe08d2d796efe9f3c98
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Apr 23 15:56:01 2026 +0200

sci-visualization/gwyddion3: add 3.9-r1 with pygwy (Python 3 + GI)

Revives pygwy, the Python scripting bridge, which upstream hardcodes
off in 3.x configure.ac pending a Python 3 / PyGObject port. Three
staged patches do the work:

stage-A Remove the Python 2 pygwy C binding and the dead codegen
shim; rewire configure.ac so ENABLE_PYGWY and HAVE_PYTHON3
are real toggles driven by --enable-pygwy / --with-python.
stage-B New Python 3 plug-in engine: GI import of Gwyddion/GwyApp/
GwyUI, mtime-based reload (GWYDDION_PYGWY_RELOAD), and the
XDG + prefix plug-in search path documented in pkg_postinst.
stage-C GTK3 Python console module registered under /Python Console,
with optional gtksourceview-4 syntax highlighting.

USE flags introspection/python/sourceview added with
REQUIRED_USE="python? ( introspection ) sourceview? ( python )".
New deps gated on USE: gobject-introspection, pygobject, gtksourceview:4.
BDEPEND picks up gobject-introspection-common unconditionally for the
m4 macros eautoreconf needs.

The three pygwy patches are stored bz2-compressed (stage-A alone is
586 KiB uncompressed, dominated by dead-code removal); src_prepare
decompresses them into $ before handing off to default, since
eapply in EAPI 8 does not auto-unpack .bz2 the way the older epatch
eclass did. Net files/ size drops from 653 KiB to 106 KiB.

Verified via ebuild install on the working tree: pygwy.so (55 KB
stripped) lands in /usr/lib64/gwyddion3/modules/, Gwyddion/GwyApp/
GwyUI .gir + .typelib are generated, and pygwy.so links against
libpython3.13.so.1.0 and libgtksourceview-4.so.0 -- confirming both
USE=python and USE=sourceview wire through the configure/link stages.

The 3.9 ebuild is kept as the pygwy-less path for anyone who does not
want the Python stack pulled in.

commit 92cc8000c8e38dbf069b68ca217af0873dcad1e4
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 22:31:20 2026 +0200

*/*: normalize personal-maintainer metadata.xml

Unify the three styles that had accumulated across the overlay
(pf-sources-style tab+email-only, bidict-style 2-space+name,
plus a handful of one-off indents) onto a single canonical form:

- DTD URL on https
- 2-space indentation
- <maintainer type="person"> with both <email> and
<name>Ivan S. Titov</name>

Only the Titov maintainer block is touched; co-maintainers and
::gentoo proxy-project maintainers in forked packages are left
as-is. 66 files changed; pkgcheck scan identical before and
after.

commit d3b21ab6b2638eaa3f8d72557f5ce347842ef3c3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 12:05:07 2026 +0200

sci-visualization/gwyddion3: drop python USE, postinst notice

pygwy, gwyddion's Python-2-only scripting binding, is not ported
to the 3.x branch: upstream hardcodes ENABLE_PYGWY=false in
configure.ac and the binding sources were never updated for
Python 3. The python USE flag gated nothing meaningful and the
python-single-r1 eclass pulled an unnecessary interpreter pick.

- Drop the python USE flag.
- Trim inherit from python-single-r1 to python-any-r1 (python
is still needed at build time for some helper scripts).
- Add a pkg_postinst elog noting pygwy is not available in 3.x
so users upgrading from 2.x don't hunt for it.

commit 778aaded41d3af03bd44943177f35cba565b08f0
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 11:45:48 2026 +0200

sci-visualization/gwyddion3: new package, 3.9 unstable

Upstream is developing the 3.x branch as a GTK3 rewrite. It is
explicitly designed to co-install with the stable 2.x series:
binary is `gwyddion3`, libraries are libgwyddion3, headers are
/usr/include/gwyddion3. Both branches can live on one system.

Ebuild based on sci-visualization/gwyddion-2.x with GTK2 toggles
replaced by GTK3 + glib-2.68 baseline. USE flags matched to what
3.x actually probes (bzip2 doc fits hdf5 json nls openexr openmp
webp X xml). OpenEXR support now behind --with-exr (carried via
files/gwyddion3-3.9-automagic.patch).