Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openexr 3.0.1 #74383

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Formula/caffe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Caffe < Formula
url "https://github.com/BVLC/caffe/archive/1.0.tar.gz"
sha256 "71d3c9eb8a183150f965a465824d01fe82826c22505f7aa314f700ace03fa77f"
license "BSD-2-Clause"
revision 31
revision 32

livecheck do
url :stable
Expand Down
5 changes: 3 additions & 2 deletions Formula/ctl.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
class Ctl < Formula
desc "Programming language for digital color management"
homepage "https://github.com/ampas/CTL"
# Check whether this can be switched to `openexr` and `imath` at version bump
url "https://github.com/ampas/CTL/archive/ctl-1.5.2.tar.gz"
sha256 "d7fac1439332c4d84abc3c285b365630acf20ea041033b154aa302befd25e0bd"
license "AMPAS"
revision 5
revision 6

bottle do
sha256 arm64_big_sur: "e0279cf65e4c8dc7d574ef2e6e15e79e3d8632829cf7ba41535802d4d9d5d399"
Expand All @@ -18,7 +19,7 @@ class Ctl < Formula
depends_on "aces_container"
depends_on "ilmbase"
depends_on "libtiff"
depends_on "openexr"
depends_on "openexr@2"

# from https://github.com/ampas/CTL/pull/73
patch do
Expand Down
2 changes: 2 additions & 0 deletions Formula/ilmbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class Ilmbase < Formula
sha256 mojave: "53b8f2f3e3e1ef9b6c22de5993eec29ab6d9cc46109df39a7eb7b49f0b8e02a2"
end

keg_only "ilmbase conflicts with `openexr` and `imath`"

# https://github.com/AcademySoftwareFoundation/openexr/pull/929
deprecate! date: "2021-04-05", because: :unsupported

Expand Down
1 change: 1 addition & 0 deletions Formula/imagemagick.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Imagemagick < Formula
url "https://www.imagemagick.org/download/releases/ImageMagick-7.0.11-11.tar.xz"
sha256 "b5e6b2c756a72f002bf078525757047e8c663080672b47766eee4582459704f6"
license "ImageMagick"
revision 1
head "https://github.com/ImageMagick/ImageMagick.git"

livecheck do
Expand Down
1 change: 1 addition & 0 deletions Formula/imgproxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Imgproxy < Formula
url "https://github.com/imgproxy/imgproxy/archive/v2.16.3.tar.gz"
sha256 "484de4e863bbaf4aafb52c581102a24c21b046722c94f382000fbd3e6a4db3bc"
license "MIT"
revision 1
head "https://github.com/imgproxy/imgproxy.git"

bottle do
Expand Down
4 changes: 3 additions & 1 deletion Formula/jpeg-xl.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
class JpegXl < Formula
desc "New file format for still image compression"
homepage "https://jpeg.org/jpegxl/index.html"
# Check whether this can be switched to `openexr` and `imath` at version bump
url "https://gitlab.com/wg1/jpeg-xl/-/archive/v0.3.7/jpeg-xl-v0.3.7.tar.bz2"
sha256 "32548f17c2a596e9963aa09934710f96dca6f78ec2337d7936dada89a6090b56"
license "Apache-2.0"
revision 1

bottle do
sha256 cellar: :any, arm64_big_sur: "f55a2b63bdfce332ea36992cd396c1b39509b9d91d82dd37dd7d634190917ea1"
Expand All @@ -19,7 +21,7 @@ class JpegXl < Formula
depends_on "ilmbase"
depends_on "jpeg"
depends_on "libpng"
depends_on "openexr"
depends_on "openexr@2"
depends_on "webp"

# These resources are versioned according to the script supplied with jpeg-xl to download the dependencies:
Expand Down
1 change: 1 addition & 0 deletions Formula/openalpr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Openalpr < Formula
url "https://github.com/openalpr/openalpr/archive/v2.3.0.tar.gz"
sha256 "1cfcaab6f06e9984186ee19633a949158c0e2aacf9264127e2f86bd97641d6b9"
license "AGPL-3.0-or-later"
revision 1

bottle do
sha256 big_sur: "8cf1530f286a3223c92ff60f13f377f6a1016b1bca53dd85b91b7f2c273aa6e7"
Expand Down
1 change: 1 addition & 0 deletions Formula/opencv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Opencv < Formula
url "https://github.com/opencv/opencv/archive/4.5.2.tar.gz"
sha256 "ae258ed50aa039279c3d36afdea5c6ecf762515836b27871a8957c610d0424f8"
license "Apache-2.0"
revision 1

livecheck do
url :stable
Expand Down
2 changes: 1 addition & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class OpencvAT2 < Formula
url "https://github.com/opencv/opencv/archive/2.4.13.7.tar.gz"
sha256 "192d903588ae2cdceab3d7dc5a5636b023132c8369f184ca89ccec0312ae33d0"
license "BSD-3-Clause"
revision 11
revision 12

bottle do
rebuild 1
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class OpencvAT3 < Formula
url "https://github.com/opencv/opencv/archive/refs/tags/3.4.14.tar.gz"
sha256 "dfeb91c93d494be590afbe342ebb61742381f901fe2e0376987b1581f74948d1"
license "BSD-3-Clause"
revision 1

bottle do
sha256 arm64_big_sur: "6bb9a152098b93bd81b594aeaf44d39be4fc3d033c4631a47a2ea022122ce7a5"
Expand Down
12 changes: 6 additions & 6 deletions Formula/openexr.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Openexr < Formula
desc "High dynamic-range image file format"
homepage "https://www.openexr.com/"
# NOTE: Please keep these values in sync with ilmbase.rb when updating.
url "https://github.com/openexr/openexr/archive/v2.5.5.tar.gz"
sha256 "59e98361cb31456a9634378d0f653a2b9554b8900f233450f2396ff495ea76b3"
# NOTE: Please keep these values in sync with imath.rb when updating.
url "https://github.com/openexr/openexr/archive/v3.0.1.tar.gz"
sha256 "6d14a8df938bbbd55dd6e55b24c527fe9323fe6a45f704e56967dfbf477cecc1"
license "BSD-3-Clause"

bottle do
Expand All @@ -15,7 +15,7 @@ class Openexr < Formula

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "ilmbase"
depends_on "imath"

uses_from_macos "zlib"

Expand All @@ -25,8 +25,8 @@ class Openexr < Formula
end

def install
cd "OpenEXR" do
system "cmake", ".", *std_cmake_args
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
end
Expand Down
36 changes: 36 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
class OpenexrAT2 < Formula
desc "High dynamic-range image file format"
homepage "https://www.openexr.com/"
# NOTE: Please keep these values in sync with ilmbase.rb when updating.
url "https://github.com/openexr/openexr/archive/v2.5.5.tar.gz"
sha256 "59e98361cb31456a9634378d0f653a2b9554b8900f233450f2396ff495ea76b3"
license "BSD-3-Clause"

keg_only :versioned_formula

deprecate! date: "2021-04-01", because: :unsupported

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "ilmbase"

uses_from_macos "zlib"

resource "exr" do
url "https://github.com/openexr/openexr-images/raw/master/TestImages/AllHalfValues.exr"
sha256 "eede573a0b59b79f21de15ee9d3b7649d58d8f2a8e7787ea34f192db3b3c84a4"
end

def install
cd "OpenEXR" do
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end

test do
resource("exr").stage do
system bin/"exrheader", "AllHalfValues.exr"
end
end
end
3 changes: 2 additions & 1 deletion Formula/openimageio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Openimageio < Formula
url "https://github.com/OpenImageIO/oiio/archive/Release-2.2.14.0.tar.gz"
sha256 "e41b4b6958d318250caa1d1f167863a915a99062273583bb96457101d54e89cd"
license "BSD-3-Clause"
revision 1
head "https://github.com/OpenImageIO/oiio.git"

livecheck do
Expand All @@ -25,7 +26,7 @@ class Openimageio < Formula
depends_on "ffmpeg"
depends_on "freetype"
depends_on "giflib"
depends_on "ilmbase"
depends_on "imath"
depends_on "jpeg"
depends_on "libheif"
depends_on "libpng"
Expand Down
4 changes: 3 additions & 1 deletion Formula/openvdb.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
class Openvdb < Formula
desc "Sparse volume processing toolkit"
homepage "https://www.openvdb.org/"
# Check whether this can be switched to `openexr` and `imath` at version bump
url "https://github.com/AcademySoftwareFoundation/openvdb/archive/v8.0.1.tar.gz"
sha256 "a6845da7c604d2c72e4141c898930ac8a2375521e535f696c2cd92bebbe43c4f"
license "MPL-2.0"
revision 1
head "https://github.com/AcademySoftwareFoundation/openvdb.git"

bottle do
Expand All @@ -20,7 +22,7 @@ class Openvdb < Formula
depends_on "glfw"
depends_on "ilmbase"
depends_on "jemalloc"
depends_on "openexr"
depends_on "openexr@2"
depends_on "tbb"

resource "test_file" do
Expand Down
2 changes: 1 addition & 1 deletion Formula/synfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Synfig < Formula
mirror "https://github.com/synfig/synfig/releases/download/v1.4.0/synfig-1.4.0.tar.gz"
sha256 "7f36d57eba9dc959e1deae89e6908585a08db7f2d9399915a46a9eff33080c9c"
license "GPL-3.0-or-later"
revision 2
revision 3
head "https://svn.code.sf.net/p/synfig/code/"

livecheck do
Expand Down
1 change: 1 addition & 0 deletions Formula/vips.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Vips < Formula
url "https://github.com/libvips/libvips/releases/download/v8.10.6/vips-8.10.6.tar.gz"
sha256 "2468088d958e0e2de1be2991ff8940bf45664a826c0dad12342e1804e2805a6e"
license "LGPL-2.1-or-later"
revision 1

livecheck do
url :stable
Expand Down