summaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rwxr-xr-xscience/gwyddion/BUILD3
-rwxr-xr-xscience/gwyddion/DEPENDS62
-rwxr-xr-xscience/gwyddion/DETAILS31
-rw-r--r--science/gwyddion/HISTORY2
4 files changed, 98 insertions, 0 deletions
diff --git a/science/gwyddion/BUILD b/science/gwyddion/BUILD
new file mode 100755
index 0000000000..c924f20715
--- /dev/null
+++ b/science/gwyddion/BUILD
@@ -0,0 +1,3 @@
+# XXX dependency tracking causes configure script to fail
+OPTS+=' --disable-dependency-tracking' &&
+default_build
diff --git a/science/gwyddion/DEPENDS b/science/gwyddion/DEPENDS
new file mode 100755
index 0000000000..373eb634f7
--- /dev/null
+++ b/science/gwyddion/DEPENDS
@@ -0,0 +1,62 @@
+depends cairo &&
+depends fftw &&
+depends gettext &&
+depends gtk+2 &&
+depends pango &&
+optional_depends gtkglext \
+ --{with,without}-gl \
+ 'for OpenGL 3D view widgets' &&
+optional_depends zlib \
+ --{with,without}-zlib \
+ 'for compressed file support (e.g. Createc/NRRD/MATLAB)' &&
+optional_depends bzip2 \
+ --{with,without}-bzip2 \
+ 'for compressed file support (e.g. NRRD)' &&
+# FIXME minizip 3.x not supported
+optional_depends libzip \
+ --with-zip={libzip,no} \
+ 'for zip support' &&
+# FIXME only Python 2.x supported
+optional_depends python \
+ --{with,without}-python \
+ 'for Python modules and plugins' &&
+# FIXME optional dep not optional
+depends pygtk2 --with-pygwy &&
+# optional_depends pygtk2 \
+# --{with,without}-pygwy \
+# 'for Python wrapper to Gwyddion' &&
+if is_depends_enabled "$SPELL" pygtk2; then
+ optional_depends gtksourceview \
+ --{with,without}-gitksourceview \
+ 'for better pygwy console UI'
+fi &&
+optional_depends perl \
+ --{with,without}-perl \
+ 'for Perl modules and plugins' &&
+optional_depends ruby \
+ --{with,without}-ruby \
+ 'for Ruby modules and plugins' &&
+optional_depends libpng \
+ '' '' \
+ 'for PNG import/export' &&
+optional_depends libwebp \
+ '' '' \
+ 'for WebP import/export' &&
+optional_depends openexr \
+ '' '' \
+ 'for HDR OpenEXR import/export' &&
+optional_depends hdf5 \
+ --{with,without}-hdf5 \
+ 'for Asylum Research Ergo import' &&
+optional_depends cfitsio \
+ '' '' \
+ 'for FITS image import' &&
+optional_depends libxml2 \
+ --{with,without}-libxml2 \
+ 'for SPML importer' &&
+optional_depends jansson \
+ --{with,without}-jansson \
+ 'for PS-PPT importer' &&
+optional_depends libunique \
+ --{with,without}-unique \
+ 'for modern remote control backend'
diff --git a/science/gwyddion/DETAILS b/science/gwyddion/DETAILS
new file mode 100755
index 0000000000..432255a2f8
--- /dev/null
+++ b/science/gwyddion/DETAILS
@@ -0,0 +1,31 @@
+ SPELL=gwyddion
+ VERSION=2.59
+ SOURCE="$SPELL-$VERSION.tar.xz"
+ SOURCE_URL[0]="$SOURCEFORGE_URL/project/$SPELL/$SPELL/$VERSION/$SOURCE"
+ SOURCE_HASH=sha512:51ec0c8f5ce44d63cca852bf5ec545e406cbc508962a45c5b65be23b743d41c8833b5b42e9e5290c40afed95421466128204e85e5b10c3ee2bc868585083c079
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="http://gwyddion.net/"
+ LICENSE[0]="GPL-2.0"
+ ENTERED=20210824
+ KEYWORDS=""
+ SHORT="scanning probe microscopy) data visualization and analysis"
+cat << EOF
+Gwyddion is a modular program for SPM (scanning probe microscopy) data
+visualization and analysis. Primarily it is intended for the analysis of height
+fields obtained by scanning probe microscopy techniques (AFM, MFM, STM,
+SNOM/NSOM) and it supports a lot of SPM data formats. However, it can be used
+for general height field and (greyscale) image processing, for instance for the
+analysis of profilometry data or thickness maps from imaging spectrophotometry.
+
+Gwyddion provides a large number of data processing functions, including all the
+standard statistical characterization, levelling and data correction, filtering
+or grain marking functions. And since the developers are active SPM users, the
+program also contains a number of specific, uncommon, odd and experimental data
+processing methods they found useful – and you may find them useful too.
+
+It aims to provide a modular program for 2D data processing and analysis that
+can be easily extended by third-party modules and scripts. Moreover, thanks to
+being free software, it provides the source code to developers and users, which
+makes easier both verification of its data processing algorithms and further
+program improvements.
+EOF
diff --git a/science/gwyddion/HISTORY b/science/gwyddion/HISTORY
new file mode 100644
index 0000000000..a4683ddd4b
--- /dev/null
+++ b/science/gwyddion/HISTORY
@@ -0,0 +1,2 @@
+2021-08-24 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS: spell created