gwyddion 2.37
Update Gwyddion to 2.37. Also removes the patch for the Python module search path since it is no longer necessary. Closes Homebrew/homebrew#30486. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
8a59fc007b
commit
ea63c15d17
1 changed files with 2 additions and 19 deletions
|
@ -2,8 +2,8 @@ require 'formula'
|
|||
|
||||
class Gwyddion < Formula
|
||||
homepage 'http://gwyddion.net/'
|
||||
url 'https://downloads.sourceforge.net/project/gwyddion/gwyddion/2.36/gwyddion-2.36.tar.xz'
|
||||
sha1 '0e81bbc3dbb0aadf5ab2ecb0606bd79a12681be2'
|
||||
url 'http://gwyddion.net/download/2.37/gwyddion-2.37.tar.gz'
|
||||
sha1 '05e476de7ed920f72f444ce667646f6066d468d9'
|
||||
|
||||
depends_on :x11 => :optional
|
||||
depends_on 'pkg-config' => :build
|
||||
|
@ -15,10 +15,6 @@ class Gwyddion < Formula
|
|||
depends_on 'pygtk' if build.with? 'python'
|
||||
depends_on 'gtksourceview' if build.with? 'python'
|
||||
|
||||
# Fixes the search path for the standalone Python module
|
||||
# See: <http://sourceforge.net/p/gwyddion/mailman/message/32267170/>
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-desktop-file-update",
|
||||
|
@ -27,16 +23,3 @@ class Gwyddion < Formula
|
|||
system "make install"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
--- a/modules/pygwy/gwy.c (revision 16160)
|
||||
+++ b/modules/pygwy/gwy.c (working copy)
|
||||
@@ -94,7 +94,7 @@
|
||||
guint i;
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS(gwyddion_libs); i++) {
|
||||
- gchar *filename = g_strconcat(gwyddion_libs[i], ".", G_MODULE_SUFFIX,
|
||||
+ gchar *filename = g_strconcat(gwyddion_libs[i], ".dylib",
|
||||
NULL);
|
||||
GModule *modhandle = g_module_open(filename, G_MODULE_BIND_LAZY);
|
||||
if (!modhandle) {
|
||||
|
|
Loading…
Reference in a new issue