Package: gwyddion
Version: 2.64-1.1

By default the debian package of gwyddion is built without OpenGL support. This 
prevents gwyddion to render 3D display of the data, which is often needed for 
publication of SPM data.
The attached patch (which changes debian/rules and debian/control only, enable 
OpenGL. This has been tested and correctly working.

I am using Ubuntu 22.04 and Debian Unstable.
diff -Nru gwyddion-2.64.orig/debian/control gwyddion-2.64/debian/control
--- gwyddion-2.64.orig/debian/control   2024-02-28 04:26:43
+++ gwyddion-2.64/debian/control        2024-04-18 22:03:07
@@ -6,6 +6,7 @@
 Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                pkg-config,
                libgtk2.0-dev,
+               libgtkglext1-dev,
                libfftw3-dev,
                libminizip-dev,
                libxmu6,
diff -Nru gwyddion-2.64.orig/debian/rules gwyddion-2.64/debian/rules
--- gwyddion-2.64.orig/debian/rules     2023-11-27 14:30:09
+++ gwyddion-2.64/debian/rules  2024-04-18 22:02:30
@@ -2,7 +2,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
 
-DEB_CONFIGURE_EXTRA_FLAGS := --libexecdir=\$${libdir} --disable-pygwy
+DEB_CONFIGURE_EXTRA_FLAGS := --libexecdir=\$${libdir} --disable-pygwy --with-gl
 
 include /usr/share/dpkg/default.mk
 

Reply via email to