Skip to content

Commit

Permalink
Add proper license IDs to all .rst doc files and others
Browse files Browse the repository at this point in the history
All doc files should use CC-BY-4.0, and sources should use
BSD-3-CLAUSE. This commit adds parseable SPDX-LICENSE-IDENTIFIER tags
to all `.rst` files and some others identified during a recent license
scan by ASWF.

Signed-off-by: Gary Oberbrunner <[email protected]>
  • Loading branch information
garyo committed Aug 29, 2024
1 parent a98b77b commit 78a927e
Show file tree
Hide file tree
Showing 57 changed files with 97 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Documentation/genPropertiesReference.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

import os,sys, getopt,re

badlyNamedProperties = ["kOfxImageEffectFrameVarying", "kOfxImageEffectPluginRenderThreadSafety"]
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Programming Guide
========================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample1_Basics.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _basicExample:

This is a guide to the basic machinery an OFX plugin uses to communicate
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample2_Invert.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _invertExample:

This guide will take you through the fundamentals of processing images
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample3_Gain.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _gainExample:

This guide will take you through the basics of creating and using
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample4_Saturation.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _saturationExample:

This guide will take you through the basics of creating effects that can
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample5_Circle.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _circleExample:

This guide will introduce the spatial coordinate system used by OFX and
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExamples.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Foreword
========

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/DoxygenIndex.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _doxygenIndex:

==============================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/apiChanges_1_2_Chapter.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Changes to the API for 1.2
==========================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX reference
================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxClipPreferences.rst
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _ImageEffectClipPreferences:

Image Effect Clip Preferences
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxCoordSystem.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. CoordinateSystems:
Coordinate Systems
==================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxCoreAPI.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
The Generic Core API
====================

Expand Down
3 changes: 2 additions & 1 deletion Documentation/sources/Reference/ofxHostStruct.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxHost:

The OfxHost Struct
Expand Down Expand Up @@ -32,4 +33,4 @@ suite, or NULL if it does not support it. Please note that a suite
cannot be fetched until the very first action is called on the plug-in,
which is the load action.

.. doxygenstruct:: OfxHost
.. doxygenstruct:: OfxHost
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageClip.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _imageClip:
Images and Clips
================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageEffectAPI.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
The Image Effect API
====================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageEffectActions.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _ImageEffectActions:

Actions Passed to An Image Effect
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageEffectContexts.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _imageEffectContexts:
Image Effect Contexts
=====================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxInteractActions.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. InteractActions:
Actions Passed to an Interact
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxInteracts.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Interacts
=========

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxLoadingSequence.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Sequences of Operations Required to Load a Plug-in
---------------------------------------------------

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxPackaging.rst
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Packaging OFX Plug-ins
======================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxParameter.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Effect Parameters
=================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxPluginStruct.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxPlugin:

The OfxPlugin Struct
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxProcessingArch.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Image Processing Architectures
==============================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxPropertiesByObject.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. warning::

This section is outdated and should be properly generated automatically from source code instead
Expand Down
28 changes: 28 additions & 0 deletions Documentation/sources/Reference/ofxPropertiesReference.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.. _propertiesReference:
Properties Reference
=====================
.. doxygendefine:: kOfxImageClipPropColourspace

.. doxygendefine:: kOfxImageClipPropConnected

.. doxygendefine:: kOfxImageClipPropContinuousSamples
Expand All @@ -13,6 +15,8 @@ Properties Reference

.. doxygendefine:: kOfxImageClipPropOptional

.. doxygendefine:: kOfxImageClipPropPreferredColourspaces

.. doxygendefine:: kOfxImageClipPropUnmappedComponents

.. doxygendefine:: kOfxImageClipPropUnmappedPixelDepth
Expand Down Expand Up @@ -41,6 +45,22 @@ Properties Reference

.. doxygendefine:: kOfxImageEffectPropClipPreferencesSlaveParam

.. doxygendefine:: kOfxImageEffectPropColourManagementAvailableConfigs

.. doxygendefine:: kOfxImageEffectPropColourManagementBasic

.. doxygendefine:: kOfxImageEffectPropColourManagementConfig

.. doxygendefine:: kOfxImageEffectPropColourManagementCore

.. doxygendefine:: kOfxImageEffectPropColourManagementFull

.. doxygendefine:: kOfxImageEffectPropColourManagementNone

.. doxygendefine:: kOfxImageEffectPropColourManagementOCIO

.. doxygendefine:: kOfxImageEffectPropColourManagementStyle

.. doxygendefine:: kOfxImageEffectPropComponents

.. doxygendefine:: kOfxImageEffectPropContext
Expand All @@ -53,6 +73,8 @@ Properties Reference

.. doxygendefine:: kOfxImageEffectPropCudaStreamSupported

.. doxygendefine:: kOfxImageEffectPropDisplayColourspace

.. doxygendefine:: kOfxImageEffectPropFieldToRender

.. doxygendefine:: kOfxImageEffectPropFrameRange
Expand All @@ -71,6 +93,12 @@ Properties Reference

.. doxygendefine:: kOfxImageEffectPropMetalRenderSupported

.. doxygendefine:: kOfxImageEffectPropOCIOConfig

.. doxygendefine:: kOfxImageEffectPropOCIODisplay

.. doxygendefine:: kOfxImageEffectPropOCIOView

.. doxygendefine:: kOfxImageEffectPropOpenCLCommandQueue

.. doxygendefine:: kOfxImageEffectPropOpenCLEnabled
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxRendering.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Rendering
=========

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxStatusCodes.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _statusCodes:

Status Codes
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxStructure.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Structure of The OFX and the Image Effect API
=============================================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxThreadSafety.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _threadRecursionSafety:
Thread and Recursion Safety
===========================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxDrawSuiteV1:
OfxDrawSuiteV1: Drawing Overlays
================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxImageEffectSuiteV1:
OfxImageEffectSuiteV1
=====================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxInteractSuiteV1:
OfxInteractSuiteV1
==================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMemorySuiteV1:
OfxMemorySuiteV1
================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMessageSuiteV1:
OfxMessageSuiteV1
=================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMessageSuiteV2:
OfxMessageSuiteV2
=================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxImageEffectOpenGLRenderSuiteV1:
OfxImageEffectOpenGLRenderSuiteV1
=================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxParameterSuiteV1:
OfxParameterSuiteV1
===================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxParametricParameterSuiteV1:
OfxParametricParameterSuiteV1
=============================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxProgressSuiteV1:
OfxProgressSuiteV1
==================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxPropertySuiteV1:
OfxPropertySuiteV1
==================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _suitesReference:

OpenFX suites reference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMultiThreadSuiteV1:
OfxMultiThreadSuiteV1
=====================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxTimeLineSuiteV1:
OfxTimeLineSuiteV1
==================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/ReleaseNotes/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Release Notes
====================

Expand Down
3 changes: 2 additions & 1 deletion Documentation/sources/ReleaseNotes/relnotes-1.4.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Release Notes for V1.4
=============================

Expand Down Expand Up @@ -43,5 +44,5 @@ Removals
- :c:macro:`kOfxInteractPropViewportSize`
- :c:macro:`kOfxParamPropPluginMayWrite`
- :c:macro:`kOfxImageEffectPropInAnalysis`
- :c:macro:`kOfxParamDoubleTypeNormalised*` - removed in favor of :c:macro:`kOfxParamDoubleType*`
- :c:macro:`kOfxParamDoubleTypeNormalised` - removed in favor of :c:macro:`kOfxParamDoubleType`

1 change: 1 addition & 0 deletions Documentation/sources/ReleaseNotes/relnotes-1.5.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Release Notes for V1.5
=============================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/sources/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

# SPDX-License-Identifier: BSD-3-Clause

import subprocess, os, shutil
project = 'OpenFX'
copyright = '2024, Contributors to the OpenFX Project'
Expand Down
9 changes: 3 additions & 6 deletions Documentation/sources/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. OpenFX documentation master file, created by
sphinx-quickstart on Tue Mar 29 18:02:16 2016.
You can adapt this file completely to your liking, but it should at least
Expand All @@ -15,15 +16,11 @@ The OpenFX documentation is organized as follows:
- The :doc:`release notes<ReleaseNotes/index>` contains release notes, documenting changes in recent OpenFX releases.

This documentation is also
`available online <http://openfx.readthedocs.io/en/master/>`__
and can be downloaded as a
`PDF <https://readthedocs.org/projects/openfx/downloads/pdf/master/>`_ or
`HTML zip <https://readthedocs.org/projects/openfx/downloads/htmlzip/master/>`__
file.
`available online <https://docs.openeffects.org>`__.

This manual is maintained largely by volunteers.

The `Creative Commons Attribution-ShareAlike 4.0 International License (CC-BY-SA 4.0) <https://creativecommons.org/licenses/by-sa/4.0/>`_ is used for this manual, which is a free and open license. Though there are certain restrictions that come with this license you may in general freely reproduce it and even make changes to it. However, rather than distribute your own version of this manual, we would much prefer if you would send any corrections or changes to the OpenFX association.
The `Creative Commons Attribution 4.0 International License (CC-BY 4.0) <https://creativecommons.org/licenses/by/4.0/>`_ is used for this manual, which is a free and open license. Though there are certain restrictions that come with this license you may in general freely reproduce it and even make changes to it. However, rather than distribute your own version of this manual, we would much prefer if you would send any corrections or changes to the OpenFX maintainers.

.. toctree::
:maxdepth: 1
Expand Down
3 changes: 3 additions & 0 deletions HostSupport/README
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ Major overhaul of the thing,
- a factory,
- a filter for constructed objects,
- a description of the host application to the plugin.

# SPDX-License-Identifier: BSD-3-Clause

2 changes: 2 additions & 0 deletions cmake/OpenFX.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

if(NOT PLUGIN_INSTALLDIR)
if(APPLE)
set(PLUGIN_INSTALLDIR "/Library/OFX/Plugins/OpenFX Examples")
Expand Down
2 changes: 1 addition & 1 deletion include/ofx-native-v1.5_aces-v1.3_ocio-v2.3.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
extern "C" {
#endif

/** @file ofxColourspaceList.h
/** @file ofx-native-v1.5_aces-v1.3_ocio-v2.3.h
Contains the list of supported colourspaces.
This file was auto-generated by scripts/genColour from ofx-native-v1.5_aces-v1.3_ocio-v2.3.
*/
Expand Down
5 changes: 5 additions & 0 deletions install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- SPDX-License-Identifier: CC-BY-4.0 -->

# Building OpenFX: Libs and Plugins

OpenFX itself is only a set of C header files, the ones in
Expand Down Expand Up @@ -81,3 +83,6 @@ _Linux dependencies you may need (but conan should provide these):_
```sh
sudo apt install pkg-config libgl-dev
```



1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
![Build](https://github.com/AcademySoftwareFoundation/openfx/actions/workflows/build.yml/badge.svg)

# OpenFX image processing plug-in standard
Expand Down
1 change: 1 addition & 0 deletions scripts/build-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -e

# Build everything with Conan and CMake
# SPDX-License-Identifier: BSD-3-Clause

BUILDTYPE=Release # "Release" or "Debug"
VERBOSE=""
Expand Down

0 comments on commit 78a927e

Please sign in to comment.