Skip to content

Commit

Permalink
Merge pull request #204746 from Homebrew/tracker-deprecate
Browse files Browse the repository at this point in the history
tracker: deprecate
  • Loading branch information
BrewTestBot authored Jan 28, 2025
2 parents 07c0fc9 + c79ff0c commit 0808858
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Formula/t/tinysparql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class Tinysparql < Formula
depends_on :linux # macOS fatal error: 'gio/gdesktopappinfo.h' file not found
depends_on "sqlite"

conflicts_with "tracker", because: "both install the same libraries"

def install
args = %w[
-Dman=false
Expand Down
17 changes: 9 additions & 8 deletions Formula/t/tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ class Tracker < Formula
license all_of: ["LGPL-2.1-or-later", "GPL-2.0-or-later"]
revision 3

# Tracker doesn't follow GNOME's "even-numbered minor is stable" version
# scheme but they do appear to use 90+ minor/patch versions, which may
# indicate unstable versions (e.g., 1.99.0, 2.2.99.0, etc.).
livecheck do
url :stable
regex(/^v?(\d+(?:(?!\.9\d)\.\d+)+)$/i)
end

bottle do
sha256 arm64_sequoia: "7bc9ae43638dc877591fddf360e63423faca1c263a80eaec7016c56c526c7891"
sha256 arm64_sonoma: "97c7afc9f1177586a46d70761edd999dfb89db9e824750894dbc357dceb26a53"
Expand Down Expand Up @@ -43,9 +35,18 @@ class Tracker < Formula
uses_from_macos "libxml2"

on_macos do
deprecate! date: "2025-01-18", because: "does not build on macOS for recent releases (3.7.0+)"
depends_on "gettext"
end

on_linux do
deprecate! date: "2025-01-18",
because: "was renamed but we cannot formula rename due to macOS build failure",
replacement: "tinysparql"
end

conflicts_with "tinysparql", because: "both install the same libraries"

def install
args = %w[
-Dman=false
Expand Down

0 comments on commit 0808858

Please sign in to comment.