nixpkgs/pkgs/applications/science/chemistry/gwyddion/codegen.patch
Constantine Glen Evans 59fbc7acba gwyddion: 2.48 -> 2.55 (and add options)
Gwyddion has a large number of optional dependencies. In this update,
those dependencies have been added with options set mostly to true,
and an option (default false) for working Python 2.7 support in the
program and in Python has been added. I have also added myself as a
maintainer as no maintainer is currently set.
2020-03-27 10:56:00 -07:00

23 lines
1.0 KiB
Diff

--- gwyddion-2.55.orig/configure 2019-11-04 01:25:31.000000000 -0800
+++ gwyddion-2.55/configure 2020-03-20 18:49:43.860452655 -0700
@@ -18560,7 +18560,7 @@
fi
if test "x$embed_pygtk" = xno; then
if test "x$PYGTK_CODEGENDIR" = 'x'; then
- PYGTK_CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygtk-2.0`
+ PYGTK_CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygobject-2.0`
fi
else
# Some silly OSes want to remove pygtk2. We can build pygwy without
--- gwyddion-2.55.orig/configure.ac 2019-11-04 01:25:16.000000000 -0800
+++ gwyddion-2.55/configure.ac 2020-03-20 18:52:55.042724547 -0700
@@ -270,7 +270,7 @@
[embed_pygtk=yes; pygwy_warn=" (embedded pygtk2)"])
if test "x$embed_pygtk" = xno; then
if test "x$PYGTK_CODEGENDIR" = 'x'; then
- PYGTK_CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygtk-2.0`
+ PYGTK_CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygobject-2.0`
fi
else
# Some silly OSes want to remove pygtk2. We can build pygwy without