nixpkgs/pkgs/by-name/gw/gwyddion/codegen.patch
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08: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