Committed, thanks!
On Sat Oct 08, 2022 at 09:52:56PM -0400, Brad Smith wrote:
> On Sat, Oct 08, 2022 at 09:12:50PM -0400, Brad Smith wrote:
> > Here is an update to libmatroska 1.7.1.
> >
> >
> > # Version 1.7.1 2022-10-08
> >
> > * Fix ABI compatibility: unfortunately release 1.7.0 broke ABI
> > compatibility. This release restores the compatibility with release
> > 1.6.3. Please use it instead of release 1.7.0. In other words: 1.6.3
> > & 1.7.1 are compatible, while 1.7.0 is compatible with neither 1.6.3
> > nor 1.7.1. Fixes #81.
> >
> > # Version 1.7.0 2022-09-30
> >
> > * A C++14 compliant C++ compiler is now required.
> > * libEBML v1.4.3 is now required.
> > * Remove Coremake project files
> > * Add `KaxInternalBlock::GetRelativeTimestamp()` to access unscaled
> > block timestamps.
> > * Fixed problems with the generated `pkg-config` files if any of the
> > installation paths are absolute.
> > * Added several enums in `namespace libmatroska` for the various
> > elements that are constrained to a set of options:
> > `MatroskaTrackType`, `MatroskaTrackEncodingCompAlgo`,
> > `MatroskaChapterTranslateCodec`, `MatroskaTrackTranslateCodec`,
> > `MatroskaVideoFlagInterlaced`, `MatroskaVideoFieldOrder`,
> > `MatroskaVideoStereoMode`, `MatroskaVideoAlphaMode`,
> > `MatroskaVideoOldStereoMode`, `MatroskaVideoDisplayUnit`,
> > `MatroskaVideoAspectRatioType`, `MatroskaVideoMatrixCoefficients`,
> > `MatroskaColourChromaSitingHorz`, `MatroskaColourChromaSitingVert`,
> > `MatroskaVideoRange`, `MatroskaVideoTransferCharacteristics`,
> > `MatroskaVideoPrimaries`, `MatroskaVideoProjectionType`,
> > `MatroskaAudioEmphasis`, `MatroskaTrackPlaneType`,
> > `MatroskaContentEncodingScope`, `MatroskaContentEncodingType`,
> > `MatroskaContentEncodingAlgo`, `MatroskaAESSettingsCipherMode`,
> > `MatroskaContentSignatureAlgo`, `MatroskaContentSigHashAlgo`,
> > `MatroskaChapterSkipType`, `MatroskaChapterProcessTime` and
> > `MatroskaTargetTypeValue`.
> > * Updated the semantics to the latest specifications, deprecating the
> > following elements by preventing code to write them:
> > `KaxClusterSilentTracks`, `KaxClusterSilentTrackNumber`,
> > `KaxSlices`, `KaxReferenceFrame`, `KaxReferenceOffset`,
> > `KaxReferenceTimeCode`, `KaxTrackTimecodeScale`,
> > `KaxCodecDecodeAll`, `KaxVideoAspectRatio`, `KaxTrickTrackUID`,
> > `KaxTrickTrackSegmentUID`, `KaxTrickTrackFlag`,
> > `KaxTrickMasterTrackUID`, `KaxTrickMasterTrackSegmentUID`,
> > `KaxContentSignature`, `KaxContentSigKeyID`, `KaxContentSigAlgo` and
> > `KaxContentSigHashAlgo`.
> > * Updated the semantics to the latest specifications, making the
> > following elements mandatory (but having default values):
> > `KaxCodecDelay`, `KaxVideoPixelCropBottom`, `KaxVideoPixelCropTop`,
> > `KaxVideoPixelCropLeft`, `KaxVideoPixelCropRight`,
> > `KaxVideoBitsPerChannel`, `KaxCueCodecState`,
> > `KaxTagTargetTypeValue`, `KaxTrackLanguage`, `KaxVideoStereoMode`,
> > `KaxVideoAlphaMode`, `KaxEditionFlagOrdered`,
> > `KaxVideoChromaSitHorz`, `KaxVideoChromaSitVert`,
> > `KaxVideoColourRange`, `KaxVideoColourMatrix`,
> > `KaxVideoColourTransferCharacter`, `KaxVideoColourPrimaries` and
> > `KaxVideoDisplayUnit`.
> > * Updated the semantics to the latest specifications, removing the
> > default values from the following elements: `KaxCueBlockNumber`,
> > `KaxFlagHearingImpaired`, `KaxFlagVisualImpaired`,
> > `KaxFlagTextDescriptions`, and `KaxFlagOriginal`.
> > * Updated the semantics to the latest specifications, adding the
> > following new elements: `TagDefaultBogus` (as a placeholder for
> > accidentally used but wrong EBML ID 0x44b4), `KaxEmphasis`,
> > `KaxChapterSkipType`, `KaxEditionDisplay`, `KaxEditionString` and
> > `KaxEditionLanguageIETF`.
>
> No point listing base-gcc.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/multimedia/libmatroska/Makefile,v
> retrieving revision 1.33
> diff -u -p -u -p -r1.33 Makefile
> --- Makefile 28 May 2022 06:20:02 -0000 1.33
> +++ Makefile 9 Oct 2022 01:49:35 -0000
> @@ -1,11 +1,11 @@
> COMMENT= extensible open standard audio/video container library
>
> -DISTNAME= libmatroska-1.6.3
> +DISTNAME= libmatroska-1.7.1
> CATEGORIES= multimedia
> MASTER_SITES= https://dl.matroska.org/downloads/libmatroska/
> EXTRACT_SUFX= .tar.xz
>
> -SHARED_LIBS= matroska 5.1
> +SHARED_LIBS= matroska 5.2
>
> HOMEPAGE= https://www.matroska.org/
>
> @@ -16,7 +16,7 @@ PERMIT_PACKAGE= Yes
>
> WANTLIB += ${COMPILER_LIBCXX} ebml m
>
> -COMPILER = base-clang ports-gcc base-gcc
> +COMPILER = base-clang ports-gcc
>
> MODULES = devel/cmake
>
> @@ -24,7 +24,7 @@ CFLAGS += -I${LOCALBASE}/include
> CXXFLAGS += -I${LOCALBASE}/include
> MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
>
> -LIB_DEPENDS += textproc/libebml>=1.4.2
> +LIB_DEPENDS += textproc/libebml>=1.4.4
>
> NO_TEST = Yes
>
> Index: distinfo
> ===================================================================
> RCS file: /home/cvs/ports/multimedia/libmatroska/distinfo,v
> retrieving revision 1.17
> diff -u -p -u -p -r1.17 distinfo
> --- distinfo 20 Feb 2021 06:34:33 -0000 1.17
> +++ distinfo 9 Oct 2022 01:02:43 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (libmatroska-1.6.3.tar.xz) =
> 2vkaY/WN0VfKNAxFeHHmYmDLnDMz/vsAizGL77sOCBo=
> -SIZE (libmatroska-1.6.3.tar.xz) = 65612
> +SHA256 (libmatroska-1.7.1.tar.xz) =
> VyowM7jZPUimqFjlFKvOSy96lG/h8Cy/7KOb/XAwGLM=
> +SIZE (libmatroska-1.7.1.tar.xz) = 61416
> Index: patches/patch-CMakeLists_txt
> ===================================================================
> RCS file:
> /home/cvs/ports/multimedia/libmatroska/patches/patch-CMakeLists_txt,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt 11 Mar 2022 19:39:21 -0000 1.5
> +++ patches/patch-CMakeLists_txt 9 Oct 2022 01:02:55 -0000
> @@ -3,14 +3,14 @@ Add options for building and installing
> Index: CMakeLists.txt
> --- CMakeLists.txt.orig
> +++ CMakeLists.txt
> -@@ -4,6 +4,8 @@ project(matroska VERSION 1.6.3)
> +@@ -4,6 +4,8 @@ project(matroska VERSION 1.7.1)
>
> option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF)
> option(DISABLE_CMAKE_CONFIG "Disable CMake package config module
> generation" OFF)
> +option(DISABLE_SHARED_LIBS "Disable build and install shared libraries" OFF)
> +option(DISABLE_STATIC_LIBS "Disable build and install static libraries" OFF)
>
> - find_package(EBML 1.4.2 REQUIRED)
> + find_package(EBML 1.4.3 REQUIRED)
>
> @@ -62,44 +64,69 @@ set (libmatroska_C_PUBLIC_HEADERS
> matroska/c/libmatroska.h
> @@ -113,7 +113,7 @@ Index: CMakeLists.txt
>
> if(NOT DISABLE_PKGCONFIG)
> set(prefix ${CMAKE_INSTALL_PREFIX})
> -@@ -117,7 +144,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
> +@@ -125,7 +152,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
> configure_package_config_file(MatroskaConfig.cmake.in
> ${CMAKE_CURRENT_BINARY_DIR}/MatroskaConfig.cmake
> INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
> write_basic_package_version_file(MatroskaConfigVersion.cmake
> COMPATIBILITY SameMajorVersion)
>