<commit_before>class Libgnomecanvas < Formula
  desc "Highlevel, structured graphics library"
  homepage "https://developer.gnome.org/libgnomecanvas/2.30/"
  url "https://download.gnome.org/sources/libgnomecanvas/2.30/libgnomecanvas-2.30.3.tar.bz2"
  sha256 "859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40"
  revision 5

  bottle do
    sha256 cellar: :any, arm64_big_sur: "ed9d17d2b7100e9c5ef536c547119eb78e8658bc273f958e673d47383290c3d7"
    sha256 cellar: :any, big_sur:       "e2ae279ca7759e74bf93ed0577838d7e80fef134ad5f76c671263d023bca3dd1"
    sha256 cellar: :any, catalina:      "816cd9bf11520fba1126073191c236f2355c45a137905ba978f16a506960fef0"
    sha256 cellar: :any, mojave:        "bedab86245aa4185fc9c009496ec2d0fc0d1ea53074493db08afc81bdf424a60"
  end

  depends_on "intltool" => :build
  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "gtk+"
  depends_on "libart"
  depends_on "libglade"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-static",
                          "--prefix=#{prefix}",
                          "--enable-glade"
    system "make", "install"
  end

  test do<commit_msg>libgnomecanvas: change homepage url (#88632)<commit_after>class Libgnomecanvas < Formula
  desc "Highlevel, structured graphics library"
  homepage "https://gitlab.gnome.org/Archive/libgnomecanvas"
  url "https://download.gnome.org/sources/libgnomecanvas/2.30/libgnomecanvas-2.30.3.tar.bz2"
  sha256 "859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40"
  revision 5

  bottle do
    sha256 cellar: :any, arm64_big_sur: "ed9d17d2b7100e9c5ef536c547119eb78e8658bc273f958e673d47383290c3d7"
    sha256 cellar: :any, big_sur:       "e2ae279ca7759e74bf93ed0577838d7e80fef134ad5f76c671263d023bca3dd1"
    sha256 cellar: :any, catalina:      "816cd9bf11520fba1126073191c236f2355c45a137905ba978f16a506960fef0"
    sha256 cellar: :any, mojave:        "bedab86245aa4185fc9c009496ec2d0fc0d1ea53074493db08afc81bdf424a60"
  end

  depends_on "intltool" => :build
  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "gtk+"
  depends_on "libart"
  depends_on "libglade"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-static",
                          "--prefix=#{prefix}",
                          "--enable-glade"
    system "make", "install"
  end

  test do
{'fraction_non_alphanumeric': 0.09690553745928339, 'fraction_numerical': 0.18811074918566775, 'mean_word_length': 3.6622390891840606, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6506514', 'n_tokens_mistral': 1219, 'n_tokens_neox': 960, 'n_words': 137}