KJ7LNW / xnec2c

Xnec2c is a high-performance multi-threaded electromagnetic simulation package to model antenna near- and far-field radiation patterns for Linux and UNIX operating systems.
https://www.xnec2c.org/
GNU General Public License v3.0
77 stars 16 forks source link

brew: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column' #22

Closed KJ7LNW closed 1 year ago

KJ7LNW commented 1 year ago

I tried to build xnec2c under brew on Oracle Linux 8 with the formula below and got this error:

(gifcurry_gui:485782): GLib-GIO-ERROR **: 10:30:38.086: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'

I found a bunch of resources basically indicating that this is caused by a mismatch of the local schema and the brew schema. However, it does compile fine under brew in Ubuntu 20.04 so its more of a "brew on OL8" problem than an xnec2c problem. (Hence, if you run OL8/EL8 then run xnec2c directly, not under brew!)

I'm writing this issue and closing the ticket in case someone else finds this with the same problem. Here are some references in case others find it useful:

class Xnec2c < Formula
  desc "Multi-threaded EM tool based on NEC2 to model antenna radiation patterns"
  homepage "https://www.xnec2c.org/"
  url "https://www.xnec2c.org/releases/xnec2c-v4.4.12.tar.gz"
  sha256 "e98af1e8b9098df9cc03f90950358b846cc6a2965e79c0114ab711fbe51272c5"
  license "GPL-3.0-or-later"

  depends_on "atk"
  depends_on "cairo"
  depends_on "gdk-pixbuf"
  depends_on "glib"
  depends_on "gtk+3"
  depends_on "librsvg"
  depends_on "pango"
  depends_on "autoconf"
  depends_on "automake"

  def install
    system "./autogen.sh"
    system "./configure", *std_configure_args
    system "make"
    system "make install"
    system "make desktop-install"
  end

  test do
    system "#{bin}/xnec2c", "-h"
  end
end