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

Change copyright notices to standard SPDX format #951

Merged
merged 2 commits into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

build --symlink_prefix=/ # Out of source build
2 changes: 1 addition & 1 deletion .github/workflows/analysis_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.
#
# GitHub Actions workflow file
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.
#
# GitHub Actions workflow file
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
Expand Down
12 changes: 6 additions & 6 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

config_setting(
name = "windows_x86_64",
Expand All @@ -10,7 +10,7 @@ config_setting(
# generate "IexConfig.h"
IEX_CONFIG_H = """
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the bazel configure step

Expand Down Expand Up @@ -42,7 +42,7 @@ IEX_CONFIG_H = """
# generate "IexConfigInternal.h"
IEX_CONFIG_INTERNAL_H = """
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

#pragma once

Expand All @@ -57,7 +57,7 @@ IEX_CONFIG_INTERNAL_H = """
# generate "IlmThreadConfig.h"
ILMTHREAD_CONFIG_H = """
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the bazel configure step

Expand Down Expand Up @@ -149,7 +149,7 @@ cc_library(
# generate "OpenEXRConfig.h"
OPEN_EXR_CONFIG_H = """
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the configure step

Expand Down Expand Up @@ -224,7 +224,7 @@ cc_library(

OPENEXRCONFIGINTERNAL_H = """
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the configure step

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# We require this to get object library link library support
cmake_minimum_required(VERSION 3.12)
Expand Down
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,11 @@ define's such as ``INT_MAX``:

All new source files should begin with a copyright and license stating:

// Copyright (c) Contributors to the OpenEXR Project. All rights reserved.
//
// SPDX-License-Identifier: BSD-3-Clause

// Copyright (c) Contributors to the OpenEXR Project.
//

#### Third-party libraries

Prefer C++11 `std` over boost where possible. Use boost classes you
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/DtexToExr.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#include "PxDeepUtils.h"
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/Makefile.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##
## SPDX-License-Identifier: BSD-3-Clause
## Copyright Contributors to the OpenEXR Project.
## Copyright (c) Contributors to the OpenEXR Project.
##

BUILDTMP = obj
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxBaseDeepHelper.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxDeepBaseHelper_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxDeepOutPixel.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxDeepOutPixel_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxDeepOutRow.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxDeepOutRow_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxDeepUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#include "PxDeepUtils.h"
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxDeepUtils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxDeepUtils_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxFourChanDeepRgba.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxFourChanDeepRgba_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxOneChanDeepAlpha.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxOneChanDeepAlpha_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/PxOneChanDeepOpacity.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.
//

#ifndef _PxOneChanDeepOpacity_h_
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/bootstrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# If we're on OS X, use glibtoolize instead of toolize
HOSTTYPE=`uname`
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl
dnl SPDX-License-Identifier: BSD-3-Clause
dnl Copyright Contributors to the OpenEXR Project.
dnl Copyright (c) Contributors to the OpenEXR Project.
dnl

dnl Process this file with autoconf to produce a configure script.
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/m4/compilelinkrun.m4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl
dnl SPDX-License-Identifier: BSD-3-Clause
dnl Copyright Contributors to the OpenEXR Project.
dnl Copyright (c) Contributors to the OpenEXR Project.
dnl
dnl
dnl
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/m4/path.pkgconfig.m4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl
dnl SPDX-License-Identifier: BSD-3-Clause
dnl Copyright Contributors to the OpenEXR Project.
dnl Copyright (c) Contributors to the OpenEXR Project.
dnl

AC_DEFUN([AM_PATH_PKGCONFIG],
Expand Down
2 changes: 1 addition & 1 deletion Contrib/DtexToExr/m4/threads.m4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl
dnl SPDX-License-Identifier: BSD-3-Clause
dnl Copyright Contributors to the OpenEXR Project.
dnl Copyright (c) Contributors to the OpenEXR Project.
dnl
dnl @synopsis ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
dnl
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright Contributors to the OpenEXR Project. All rights reserved.
Copyright (c) Contributors to the OpenEXR Project. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
2 changes: 1 addition & 1 deletion bazel/example/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

cc_binary(
name = "Demo",
Expand Down
4 changes: 2 additions & 2 deletions bazel/third_party/Imath.BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# generate "ImathConfig.h"
IMATH_CONFIG_H = """
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the cmake configure step

Expand Down
2 changes: 1 addition & 1 deletion bazel/third_party/openexr.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

"""External dependencies for openexr."""

Expand Down
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

include(CheckIncludeFiles)
include(CheckSymbolExists)
Expand Down
2 changes: 1 addition & 1 deletion cmake/IexConfig.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the cmake configure step

Expand Down
2 changes: 1 addition & 1 deletion cmake/IexConfigInternal.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cmake/IlmThreadConfig.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the cmake configure step

Expand Down
2 changes: 1 addition & 1 deletion cmake/JoinPaths.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# known from from most languages
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.
# https://github.com/jtojnar/cmake-snips
#
# Modelled after Python’s os.path.join
Expand Down
2 changes: 1 addition & 1 deletion cmake/LibraryDefine.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# NB: This function has a number of Imath-specific names/variables
# in it, so be careful copying...
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXR.pc.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##
## SPDX-License-Identifier: BSD-3-Clause
## Copyright Contributors to the OpenEXR Project.
## Copyright (c) Contributors to the OpenEXR Project.
##

prefix=@prefix@
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXRConfig.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the configure step

Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXRConfigInternal.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
// Copyright (c) Contributors to the OpenEXR Project.

// This file is auto-generated by the configure step

Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXRLibraryDefine.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# NB: This function has a number of specific names / variables
# in it, so be careful copying...
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXRSetup.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenEXRVersion.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

set(OPENEXR_VERSION_MAJOR 2)
set(OPENEXR_VERSION_MINOR 5)
Expand Down
2 changes: 1 addition & 1 deletion cmake/SampleCTestScript.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# This is a sample cmake test script that can be used to integrate into
# a larger CI setup if you are building your own versions of OpenEXR
Expand Down
2 changes: 1 addition & 1 deletion cmake/Toolchain-Linux-VFX_Platform15.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# This is only an example of a theoretical toolchain file
# that might be used for compiling to target a VFX
Expand Down
2 changes: 1 addition & 1 deletion cmake/Toolchain-mingw.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

# This is only an example of cross compiling, but to compile for windows
# under linux, have the relevant bits installed, and
Expand Down
2 changes: 1 addition & 1 deletion cmake/clang-format.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.
#
# This module was partially adapted from OpenImageIO, also under the
# same BSD-3-Clause license.
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.
#
# SonarCloud analysis configuration file
# https://sonarcloud.io/documentation/analysis/analysis-parameters
Expand Down
2 changes: 1 addition & 1 deletion src/bin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

##########################
# Binaries / Utilities
Expand Down
2 changes: 1 addition & 1 deletion src/bin/exr2aces/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.
# Copyright (c) Contributors to the OpenEXR Project.

add_executable(exr2aces main.cpp)
target_link_libraries(exr2aces OpenEXR::OpenEXR)
Expand Down
Loading