From d72fd20fcf630707a97b23316c2789d1b46fecb2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:11:42 +0000 Subject: [PATCH 1/3] platypus: remove formula --- Formula/p/platypus.rb | 55 ------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 Formula/p/platypus.rb diff --git a/Formula/p/platypus.rb b/Formula/p/platypus.rb deleted file mode 100644 index 4bdd9c5c944d1..0000000000000 --- a/Formula/p/platypus.rb +++ /dev/null @@ -1,55 +0,0 @@ -class Platypus < Formula - desc "Create macOS applications from {Perl,Ruby,sh,Python} scripts" - homepage "https://sveinbjorn.org/platypus" - url "https://sveinbjorn.org/files/software/platypus/platypus5.3.src.zip" - sha256 "b5b707d4f664ab6f60eed545d49a7d38da7557ce8268cc4791886eee7b3ca571" - license "BSD-3-Clause" - head "https://github.com/sveinbjornt/Platypus.git", branch: "master" - - bottle do - sha256 cellar: :any_skip_relocation, arm64_big_sur: "f88009d8eb146080f0982ca92183e1a519958a92d299f40144e4a0cf67f2a560" - sha256 cellar: :any_skip_relocation, big_sur: "c774fbe0c5fdf4c13999f818a90709e5fa40af5ccd9b2479b2fdb393f61c08d0" - sha256 cellar: :any_skip_relocation, catalina: "8e1b66ba6d450ba4cef3ccd2192d58c08f1401a443a44338c80a917f7607341e" - sha256 cellar: :any_skip_relocation, mojave: "a08defbfae9f265bc7473c639b060fb8fa0dd1b6923746a1cf86756112347250" - sha256 cellar: :any_skip_relocation, high_sierra: "df48127dd7e77c37b7ed73247c74f3bb3d37d0e239590d848f91f8af5f98f628" - sha256 cellar: :any_skip_relocation, sierra: "d46dd428161d8ed7febf5ea4109f9bcddfa65c75d4e67619781745587c6b6f55" - end - - disable! date: "2023-10-29", because: :unmaintained - - depends_on xcode: ["8.0", :build] - depends_on :macos - - def install - xcodebuild "SYMROOT=build", "DSTROOT=#{buildpath}/dst", - "-project", "Platypus.xcodeproj", - "-target", "platypus", - "-target", "ScriptExec", - "CODE_SIGN_IDENTITY=", "CODE_SIGNING_REQUIRED=NO", - "clean", - "install" - - man1.install "CLT/man/platypus.1" - bin.install "dst/platypus_clt" => "platypus" - - cd "build/UninstalledProducts/macosx/ScriptExec.app/Contents" do - pkgshare.install "Resources/MainMenu.nib", "MacOS/ScriptExec" - end - end - - def caveats - <<~EOS - This formula only installs the command-line Platypus tool, not the GUI. - - The GUI can be downloaded from Platypus' website: - https://sveinbjorn.org/platypus - - Alternatively, install with Homebrew Cask: - brew install --cask platypus - EOS - end - - test do - system bin/"platypus", "-v" - end -end From 036f6b51cad3227f41d74aef261a658a196de563 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:11:43 +0000 Subject: [PATCH 2/3] postgresql@10: remove formula --- Formula/p/postgresql@10.rb | 152 ------------------------------------- 1 file changed, 152 deletions(-) delete mode 100644 Formula/p/postgresql@10.rb diff --git a/Formula/p/postgresql@10.rb b/Formula/p/postgresql@10.rb deleted file mode 100644 index 108d1d472534e..0000000000000 --- a/Formula/p/postgresql@10.rb +++ /dev/null @@ -1,152 +0,0 @@ -class PostgresqlAT10 < Formula - desc "Object-relational database system" - homepage "https://www.postgresql.org/" - url "https://ftp.postgresql.org/pub/source/v10.22/postgresql-10.22.tar.bz2" - sha256 "955977555c69df1a64f44b81d4a1987eb74abbd1870579f5ad9d946133dd8e4d" - license "PostgreSQL" - revision 6 - - bottle do - sha256 arm64_sonoma: "3a1fc63917c0af7cea1b5c5d5a725edd8e26980bc2e3d94f0b428019446f95f2" - sha256 arm64_ventura: "b5cd7343e508b967729659b1b7488154e572304b8eafff326c284c5845ea19ba" - sha256 arm64_monterey: "5cbcb62945062a5e4d82550e7d8956f453423210378e3ec011d8d596443f88dd" - sha256 arm64_big_sur: "3e0359b98bb17a683a44a1918ca1b9fbf526d44bba43e1e174a41b0a282b82b2" - sha256 sonoma: "a0070be116f2d4bcd36bdc7a617cd6412e4385b7982466417ef5a167776db6e7" - sha256 ventura: "191c1a938818acc4338fbd8b7e0bae8bc25ba2f9c2382c056e06d773380e8c92" - sha256 monterey: "674a6f1040aaba1baf23b64e29789e6434cb73ac1f8b6a0b064495fe24c16840" - sha256 big_sur: "249b1fe11fc4768fb0a488fd9cb9e99d0684098cd8c8e8c06f071a5de289058a" - sha256 x86_64_linux: "51e9dcd1d5b285df038b8c265dcb0edb57af15f264be1fe4359941712b2f3edc" - end - - keg_only :versioned_formula - - # https://www.postgresql.org/support/versioning/ - disable! date: "2023-10-29", because: :unsupported - - depends_on "pkg-config" => :build - # Re-add an ICU4C dependency if extracting formula - # TODO: depends_on "icu4c" - depends_on "openssl@3" - depends_on "readline" - - uses_from_macos "krb5" - uses_from_macos "libxslt" - uses_from_macos "openldap" - uses_from_macos "perl" - - on_linux do - depends_on "linux-pam" - depends_on "util-linux" - end - - def install - ENV.prepend "LDFLAGS", "-L#{Formula["openssl@3"].opt_lib} -L#{Formula["readline"].opt_lib}" - ENV.prepend "CPPFLAGS", "-I#{Formula["openssl@3"].opt_include} -I#{Formula["readline"].opt_include}" - - args = %W[ - --disable-debug - --prefix=#{prefix} - --datadir=#{pkgshare} - --libdir=#{lib} - --sysconfdir=#{etc} - --docdir=#{doc} - --enable-thread-safety - --with-gssapi - --with-icu - --with-ldap - --with-libxml - --with-libxslt - --with-openssl - --with-pam - --with-perl - --with-uuid=e2fs - ] - if OS.mac? - args += %w[ - --with-bonjour - --with-tcl - ] - end - - # PostgreSQL by default uses xcodebuild internally to determine this, - # which does not work on CLT-only installs. - args << "PG_SYSROOT=#{MacOS.sdk_path}" if OS.mac? && MacOS.sdk_root_needed? - - system "./configure", *args - system "make" - - # pkglibdir=#{lib}/postgresql - dirs = %W[datadir=#{pkgshare} libdir=#{lib} pkglibdir=#{lib}] - - # Temporarily disable building/installing the documentation. - # Postgresql seems to "know" the build system has been altered and - # tries to regenerate the documentation when using `install-world`. - # This results in the build failing: - # `ERROR: `osx' is missing on your system.` - # Attempting to fix that by adding a dependency on `open-sp` doesn't - # work and the build errors out on generating the documentation, so - # for now let's simply omit it so we can package Postgresql for Mojave. - if OS.mac? - if DevelopmentTools.clang_build_version >= 1000 - system "make", "all" - system "make", "-C", "contrib", "install", "all", *dirs - system "make", "install", "all", *dirs - else - system "make", "install-world", *dirs - end - else - system "make", "all" - system "make", "-C", "contrib", "install", "all", *dirs - system "make", "install", "all", *dirs - inreplace lib/"pgxs/src/Makefile.global", - "LD = #{HOMEBREW_PREFIX}/Homebrew/Library/Homebrew/shims/linux/super/ld", - "LD = #{HOMEBREW_PREFIX}/bin/ld" - end - end - - def post_install - (var/"log").mkpath - postgresql_datadir.mkpath - - # Don't initialize database, it clashes when testing other PostgreSQL versions. - return if ENV["HOMEBREW_GITHUB_ACTIONS"] - - system bin/"initdb", "--locale=C", "-E", "UTF-8", postgresql_datadir unless pg_version_exists? - end - - def postgresql_datadir - var/name - end - - def postgresql_log_path - var/"log/#{name}.log" - end - - def pg_version_exists? - (postgresql_datadir/"PG_VERSION").exist? - end - - def caveats - <<~EOS - This formula has created a default database cluster with: - initdb --locale=C -E UTF-8 #{postgresql_datadir} - For more details, read: - https://www.postgresql.org/docs/#{version.major}/app-initdb.html - EOS - end - - service do - run [opt_bin/"postgres", "-D", var/"postgresql@10"] - keep_alive true - log_path var/"log/postgresql@10.log" - error_log_path var/"log/postgresql@10.log" - working_dir HOMEBREW_PREFIX - end - - test do - system bin/"initdb", testpath/"test" unless ENV["HOMEBREW_GITHUB_ACTIONS"] - assert_equal pkgshare.to_s, shell_output("#{bin}/pg_config --sharedir").chomp - assert_equal lib.to_s, shell_output("#{bin}/pg_config --libdir").chomp - assert_equal lib.to_s, shell_output("#{bin}/pg_config --pkglibdir").chomp - end -end From ce6986ef576a12d45e3777989db3124297e848fd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:11:43 +0000 Subject: [PATCH 3/3] ufraw: remove formula --- Formula/u/ufraw.rb | 59 ---------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 Formula/u/ufraw.rb diff --git a/Formula/u/ufraw.rb b/Formula/u/ufraw.rb deleted file mode 100644 index 8a72ff309ad2c..0000000000000 --- a/Formula/u/ufraw.rb +++ /dev/null @@ -1,59 +0,0 @@ -class Ufraw < Formula - desc "Unidentified Flying RAW: RAW image processing utility" - homepage "https://ufraw.sourceforge.net/" - url "https://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.22/ufraw-0.22.tar.gz" - sha256 "f7abd28ce587db2a74b4c54149bd8a2523a7ddc09bedf4f923246ff0ae09a25e" - revision 5 - - bottle do - sha256 arm64_sonoma: "53776b1213ec006373ed79f0ef751d5c1940f6acdef7498bc48e25e53ec54793" - sha256 arm64_ventura: "e8ebe194de0a2b0abc47fbba2a18729e261294a7128f9124daba92f31ebd56de" - sha256 arm64_monterey: "b83f6e4a6e1c65437da3f79385b87c4e34282bf116f69860be96866cc1f08652" - sha256 arm64_big_sur: "738c930141c10646e2838eae83f5436346cb617aad1272e024cde80b1e288b03" - sha256 sonoma: "3df44fa8ec3c6486298bef4db0fed8ac237cf318dbe3f29237ae5ce5f88447dd" - sha256 ventura: "c6aeaadf650b049cecdf42d8e5f3647f440817b382f6d950e71198c0c8f8e7fd" - sha256 monterey: "57daa4e9573a66030817ba412cf5989555cf569a6e156e4128598e6eabc2c419" - sha256 big_sur: "8daab4a6aff60fba25cb522f217f4aee722b018825506de0b8a3b1127372109c" - sha256 catalina: "c908174e4789deed5e024420d7b65dcaf53fd82293d52015a32d10ee1b3a0660" - end - - # https://sourceforge.net/p/ufraw/feature-requests/328/ - disable! date: "2023-10-29", because: :unmaintained - - depends_on "pkg-config" => :build - depends_on "dcraw" - depends_on "gettext" - depends_on "glib" - depends_on "jasper" - depends_on "jpeg-turbo" - depends_on "libpng" - depends_on "libtiff" - depends_on "little-cms2" - - # jpeg 9 compatibility - patch do - url "https://raw.githubusercontent.com/Homebrew/formula-patches/b8ed064e0d2567a4ced511755ba0a8cc5ecc75f7/ufraw/jpeg9.patch" - sha256 "45de293a9b132eb675302ba8870f5b6216c51da8247cd096b24a5ab60ffbd7f9" - end - - # Fix compilation with Xcode 9 and later, - # see https://sourceforge.net/p/ufraw/bugs/419/ - patch do - on_macos do - url "https://raw.githubusercontent.com/Homebrew/formula-patches/d5bf686c740d9ee0fdf0384ef8dfb293c5483dd2/ufraw/high_sierra.patch" - sha256 "60c67978cc84b5a118855bcaa552d5c5c3772b407046f1b9db9b74076a938f6e" - end - end - - def install - system "./configure", *std_configure_args, - "--without-gtk", - "--without-gimp" - system "make", "install" - rm_r(share/"pixmaps") - end - - test do - assert_match version.to_s, shell_output("#{bin}/ufraw-batch --version 2>&1") - end -end