From 23c1f0580d08056dfd98314631e8176dfba22ac8 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 5 Feb 2023 01:16:26 -0800 Subject: [PATCH 1/4] onscripter: deprecate --- Formula/onscripter.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/onscripter.rb b/Formula/onscripter.rb index 9d34e94fb5024..d17d7e8725508 100644 --- a/Formula/onscripter.rb +++ b/Formula/onscripter.rb @@ -22,6 +22,8 @@ class Onscripter < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "5a30882de58f50332809a732af98007ef932ddc259e7c928c5ff9f959a349727" end + deprecate! date: "2023-02-05", because: "uses deprecated `sdl_image`, `sdl_mixer`, and `sdl_ttf`" + depends_on "pkg-config" => :build depends_on "jpeg-turbo" depends_on "lua" From 964a4cf9d0f6b370cc4d59bb6d9d2e7ff42d1e3c Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 5 Feb 2023 01:19:42 -0800 Subject: [PATCH 2/4] sdl_image: deprecate --- Formula/sdl_image.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/sdl_image.rb b/Formula/sdl_image.rb index c28077ca7eeed..c6571d29f3832 100644 --- a/Formula/sdl_image.rb +++ b/Formula/sdl_image.rb @@ -37,8 +37,7 @@ class SdlImage < Formula end # SDL 1.2 is deprecated, unsupported, and not recommended for new projects. - # Commented out while this formula still has dependents. - # deprecate! date: "2013-08-17", because: :deprecated_upstream + deprecate! date: "2023-02-05", because: :deprecated_upstream depends_on "pkg-config" => :build depends_on "jpeg-turbo" From 27d959e59ddd5760af84be570296c2019a5e3e56 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 5 Feb 2023 01:19:51 -0800 Subject: [PATCH 3/4] sdl_mixer: deprecate --- Formula/sdl_mixer.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/sdl_mixer.rb b/Formula/sdl_mixer.rb index 936ef5de9d237..2e60c663b574b 100644 --- a/Formula/sdl_mixer.rb +++ b/Formula/sdl_mixer.rb @@ -26,8 +26,7 @@ class SdlMixer < Formula end # SDL 1.2 is deprecated, unsupported, and not recommended for new projects. - # Commented out while this formula still has dependents. - # deprecate! date: "2013-08-17", because: :deprecated_upstream + deprecate! date: "2023-02-05", because: :deprecated_upstream depends_on "pkg-config" => :build depends_on "flac" From af42d2f31219625d82f6d4a7682700f41f7b5661 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 5 Feb 2023 01:20:47 -0800 Subject: [PATCH 4/4] sdl_ttf: deprecate --- Formula/sdl_ttf.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/sdl_ttf.rb b/Formula/sdl_ttf.rb index 712f99782c9d4..e08d5d1ad88ec 100644 --- a/Formula/sdl_ttf.rb +++ b/Formula/sdl_ttf.rb @@ -27,7 +27,7 @@ class SdlTtf < Formula end head do - url "https://github.com/libsdl-org/SDL_ttf.git", branch: "main" + url "https://github.com/libsdl-org/SDL_ttf.git", branch: "SDL-1.2" depends_on "autoconf" => :build depends_on "automake" => :build @@ -35,8 +35,7 @@ class SdlTtf < Formula end # SDL 1.2 is deprecated, unsupported, and not recommended for new projects. - # Commented out while this formula still has dependents. - # deprecate! date: "2013-08-17", because: :deprecated_upstream + deprecate! date: "2023-02-05", because: :deprecated_upstream depends_on "pkg-config" => :build depends_on "freetype"