pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/taglib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan 28 13:23:46 UTC 2024

Modified Files:
        pkgsrc/audio/taglib: Makefile PLIST distinfo

Log Message:
taglib: update to 2.0.

TagLib 2.0 (Jan 24, 2024)
=========================

 * New major version, binary incompatible, but source-compatible with the
   latest 1.x release if no deprecated features are used.
 * Requires a C++17 compiler and uses features of C++17.
 * Major code cleanup, fixed warnings issued by compilers and static analyzers.
 * Made methods virtual which should have been virtual but could not be
   changed to keep binary compatibility, remove related workarounds.
 * Removed deprecated functions:
   - APE::Item::Item(const String &, const String &)
   - APE::Item::toStringList(): Use values()
   - APE::Item::value(): Use binaryData()
   - ASF::Properties::setLength()
   - ByteVector::checksum()
   - ByteVector::isNull(): Use isEmpty()
   - ByteVector::null
   - FLAC::File::setID3v2FrameFactory()
   - FLAC::File::streamInfoData()
   - FLAC::File::streamLength()
   - FLAC::Properties::Properties(File *, ReadStyle)
   - FLAC::Properties::sampleWidth(): Use bitsPerSample()
   - File::isReadable(): Use system functions
   - File::isWritable(): Use system functions
   - FileName::str()
   - FileRef::create(): Use constructor
   - MP4::Tag::itemListMap(): Use itemMap()
   - MPC::File::remove(): Use strip()
   - MPC::Properties::Properties(const ByteVector &, long, ReadStyle)
   - MPEG::File::save(int, ...): Use overload
   - MPEG::File::setID3v2FrameFactory(): Use constructor
   - MPEG::ID3v2::Frame::Header::Header(const ByteVector &, bool)
   - MPEG::ID3v2::Frame::Header::frameAlterPreservation(): Use
     fileAlterPreservation()
   - MPEG::ID3v2::Frame::Header::setData(const ByteVector &, bool)
   - MPEG::ID3v2::Frame::Header::size(unsigned int): Use size()
   - MPEG::ID3v2::Frame::Header::unsycronisation(): use unsynchronisation()
   - MPEG::ID3v2::Frame::checkEncoding(const StringList &, String::Type): Use
     checkTextEncoding(const StringList &, String::Type)
   - MPEG::ID3v2::Frame::headerSize(): Use Header::size()
   - MPEG::ID3v2::Frame::headerSize(unsigned int): Use
     Header::size(unsigned int)
   - MPEG::ID3v2::FrameFactory::createFrame(const ByteVector &, bool)
   - MPEG::ID3v2::FrameFactory::createFrame(const ByteVector &, unsigned int):
     Use createFrame(const ByteVector &, const Header *)
   - MPEG::ID3v2::RelativeVolumeFrame::channelType()
   - MPEG::ID3v2::RelativeVolumeFrame::peakVolume(): Use peakVolume(ChannelType)
   - MPEG::ID3v2::RelativeVolumeFrame::setChannelType()
   - MPEG::ID3v2::RelativeVolumeFrame::setPeakVolume(const PeakVolume &): Use
     setPeakVolume(const PeakVolume &, ChannelType)
   - MPEG::ID3v2::RelativeVolumeFrame::setVolumeAdjustment(float): Use
     setVolumeAdjustment(float, ChannelType)
   - MPEG::ID3v2::RelativeVolumeFrame::setVolumeAdjustmentIndex(short): Use
     setVolumeAdjustmentIndex(short, ChannelType)
   - MPEG::ID3v2::RelativeVolumeFrame::volumeAdjustment(): Use
     volumeAdjustment(ChannelType)
   - MPEG::ID3v2::RelativeVolumeFrame::volumeAdjustmentIndex(): Use
     volumeAdjustmentIndex(ChannelType)
   - MPEG::ID3v2::Tag::footer()
   - MPEG::ID3v2::Tag::render(int): Use render(Version)
   - MPEG::XingHeader::xingHeaderOffset()
   - Ogg::Page::getCopyWithNewPageSequenceNumber()
   - Ogg::XiphComment::removeField(): Use removeFields()
   - PropertyMap::unsupportedData(): Returns now const reference, use
     addUnsupportedData() to add keys
   - RIFF::AIFF::Properties::Properties(const ByteVector &, ReadStyle)
   - RIFF::AIFF::Properties::Properties(const ByteVector &, int, ReadStyle)
   - RIFF::AIFF::Properties::sampleWidth(): Use bitsPerSample()
   - RIFF::WAV::File::save(TagTypes, bool, int): Use
     save(TagTypes, StripTags, Version)
   - RIFF::WAV::File::tag(): Returns now a TagUnion, use ID3v2Tag() to get an
     ID3v2::Tag
   - String::isNull(): Use isEmpty()
   - String::null
   - TrueAudio::File::setID3v2FrameFactory(): Use constructor
   - WavPack::Properties::Properties(const ByteVector &, long, ReadStyle)
* Made methods const: Frame::Header::size(), Frame::headerSize(),
  MP4::Atom::findall(), MP4::Atoms::find(), MP4::Atoms::path().
* Made classes non-virtual: APE::Footer, APE::Item, ASF::Attribute,
  ASF::Picture, MP4::CoverArt, MP4::Item, ID3v2::ExtendedHeader, ID3v2::Footer,
  ID3v2::Header, MPEG::Header, MPEG::XingHeader, Ogg::Page, Ogg::PageHeader.
* Removed type definitions in TagLib namespace: wchar, uchar, ushort, uint,
  ulong, ulonglong, wstring: Use the standard types.
* Removed include file taglib_config.h and its defines TAGLIB_WITH_ASF,
  TAGLIB_WITH_MP4: They were always 1 since version 1.8.
* Behavioral changes:
   - The basic tag methods (e.g. genre()) separate multiple values with " / "
     instead of " ".
   - The stream operator for String uses UTF-8 instead of ISO-8859-1 encoding.
   - MP4 property ORIGINALDATE is mapped to "----:com.apple.iTunes:ORIGINALDATE"
     instead of "----:com.apple.iTunes:originaldate".
   - MP4 property ENCODEDBY is mapped to "©enc" instead of "©too", which is now
     mapped to ENCODING.
 * Unified interface for complex properties like pictures.
 * Simplified the unified properties interface by providing its methods on
   FileRef.
 * C bindings: Support for properties (taglib_property_...) and complex
   properties like cover art (taglib_complex_property_...), memory I/O streams.
 * Support for Direct Stream Digital (DSD) stream files (DSF) and interchange
   file format (DSDIFF, DFF), ADTS (AAC) files.
 * The runtime version can be queried.
 * Additional utility functions ByteVector::fromUShort(),
   ByteVector::fromULongLong(), ByteVector::toULongLong(),
   ByteVector::toULongLong(), List::sort().
 * Fixed List::setAutoDelete() affecting implicitly shared copies.
 * Build system: Direct support for CMake, find_package(TagLib) exports target
   TagLib::tag.
 * Build system: Fixed PackageConfig to support both relative and absolute paths.
 * Build system: utf8cpp is no longer included, it can be provided via a system
   package or a Git submodule.
 * ASF: Support additional properties ARTISTWEBPAGE, ENCODING, ENCODINGTIME,
   FILEWEBPAGE, INITIALKEY, ORIGINALALBUM, ORIGINALARTIST, ORIGINALFILENAME,
   ORIGINALLYRICIST.
 * ID3v2: Fixed extensibility of FrameFactory, use it also for WAV and AIFF
   files.
 * MP4: Support additional properties OWNER, RELEASEDATE.
 * MP4: Introduced ItemFactory allowing clients to support new atom types.
 * MP4: Detect duration from mvhd atom if not present in mdhd atom.
 * MP4: Fixed type of hdvd atom to be  integer instead of boolean.
 * MP4: Tolerate trailing garbage in M4A files.
 * MPC: Fixed content check in presence of an ID3v2 tag.
 * MPEG: Do not scan full file for ID3v2 tag when ReadStyle Fast is used.
 * RIFF: Support properties ALBUM, ARRANGER, ARTIST, ARTISTWEBPAGE, BPM,
   COMMENT, COMPOSER, COPYRIGHT, DATE, DISCSUBTITLE, ENCODEDBY, ENCODING,
   ENCODINGTIME, GENRE, ISRC, LABEL, LANGUAGE, LYRICIST, MEDIA, PERFORMER,
   RELEASECOUNTRY, REMIXER, TITLE, TRACKNUMBER.
 * WAV: Fixed crash with files having the "id3 " chunk as the only valid chunk.
 * Windows: Fixed support for files larger than 2GB.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/audio/taglib/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/audio/taglib/PLIST
cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/taglib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/taglib/Makefile
diff -u pkgsrc/audio/taglib/Makefile:1.50 pkgsrc/audio/taglib/Makefile:1.51
--- pkgsrc/audio/taglib/Makefile:1.50   Thu Jul 20 21:20:31 2023
+++ pkgsrc/audio/taglib/Makefile        Sun Jan 28 13:23:46 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2023/07/20 21:20:31 nia Exp $
+# $NetBSD: Makefile,v 1.51 2024/01/28 13:23:46 wiz Exp $
 
-DISTNAME=      taglib-1.13.1
-PKGREVISION=   1
+DISTNAME=      taglib-2.0
 CATEGORIES=    audio
 MASTER_SITES=  https://taglib.github.io/releases/
 
@@ -12,6 +11,8 @@ LICENSE=      gnu-lgpl-v2.1 OR mpl-1.1
 
 USE_LANGUAGES= c c++
 
+USE_CXX_FEATURES+=     c++17
+
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
 CMAKE_ARGS+=   -DWITH_ASF=ON
 CMAKE_ARGS+=   -DWITH_MP4=ON
@@ -46,4 +47,5 @@ CFLAGS+=      -march=i486
 
 .include "../../devel/cmake/build.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/utf8-cpp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/audio/taglib/PLIST
diff -u pkgsrc/audio/taglib/PLIST:1.22 pkgsrc/audio/taglib/PLIST:1.23
--- pkgsrc/audio/taglib/PLIST:1.22      Tue Jul  4 09:35:36 2023
+++ pkgsrc/audio/taglib/PLIST   Sun Jan 28 13:23:46 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2023/07/04 09:35:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.23 2024/01/28 13:23:46 wiz Exp $
 bin/taglib-config
 include/taglib/aifffile.h
 include/taglib/aiffproperties.h
@@ -16,6 +16,11 @@ include/taglib/attachedpictureframe.h
 include/taglib/audioproperties.h
 include/taglib/chapterframe.h
 include/taglib/commentsframe.h
+include/taglib/dsdiffdiintag.h
+include/taglib/dsdifffile.h
+include/taglib/dsdiffproperties.h
+include/taglib/dsffile.h
+include/taglib/dsfproperties.h
 include/taglib/eventtimingcodesframe.h
 include/taglib/fileref.h
 include/taglib/flacfile.h
@@ -44,6 +49,7 @@ include/taglib/mp4atom.h
 include/taglib/mp4coverart.h
 include/taglib/mp4file.h
 include/taglib/mp4item.h
+include/taglib/mp4itemfactory.h
 include/taglib/mp4properties.h
 include/taglib/mp4tag.h
 include/taglib/mpcfile.h
@@ -72,7 +78,6 @@ include/taglib/tableofcontentsframe.h
 include/taglib/tag.h
 include/taglib/tag_c.h
 include/taglib/taglib.h
-include/taglib/taglib_config.h
 include/taglib/taglib_export.h
 include/taglib/tbytevector.h
 include/taglib/tbytevectorlist.h
@@ -86,12 +91,14 @@ include/taglib/tlist.h
 include/taglib/tlist.tcc
 include/taglib/tmap.h
 include/taglib/tmap.tcc
+include/taglib/tpicturetype.h
 include/taglib/tpropertymap.h
-include/taglib/trefcounter.h
 include/taglib/trueaudiofile.h
 include/taglib/trueaudioproperties.h
 include/taglib/tstring.h
 include/taglib/tstringlist.h
+include/taglib/tvariant.h
+include/taglib/tversionnumber.h
 include/taglib/uniquefileidentifierframe.h
 include/taglib/unknownframe.h
 include/taglib/unsynchronizedlyricsframe.h
@@ -106,11 +113,15 @@ include/taglib/xingheader.h
 include/taglib/xiphcomment.h
 include/taglib/xmfile.h
 include/taglib/xmproperties.h
+lib/cmake/taglib/taglib-config-version.cmake
+lib/cmake/taglib/taglib-config.cmake
+lib/cmake/taglib/taglib-targets-noconfig.cmake
+lib/cmake/taglib/taglib-targets.cmake
 lib/libtag.so
-lib/libtag.so.1
-lib/libtag.so.1.19.1
+lib/libtag.so.2
+lib/libtag.so.${PKGVERSION}.0
 lib/libtag_c.so
-lib/libtag_c.so.0
-lib/libtag_c.so.0.0.0
+lib/libtag_c.so.2
+lib/libtag_c.so.${PKGVERSION}.0
 lib/pkgconfig/taglib.pc
 lib/pkgconfig/taglib_c.pc

Index: pkgsrc/audio/taglib/distinfo
diff -u pkgsrc/audio/taglib/distinfo:1.27 pkgsrc/audio/taglib/distinfo:1.28
--- pkgsrc/audio/taglib/distinfo:1.27   Tue Jul  4 09:35:36 2023
+++ pkgsrc/audio/taglib/distinfo        Sun Jan 28 13:23:46 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2023/07/04 09:35:36 adam Exp $
+$NetBSD: distinfo,v 1.28 2024/01/28 13:23:46 wiz Exp $
 
-BLAKE2s (taglib-1.13.1.tar.gz) = c597c021e0858e76bedbe6bab658cf1439e84738612d411542f66f4a6bfc6889
-SHA512 (taglib-1.13.1.tar.gz) = 986231ee62caa975afead7e94630d58acaac25a38bc33d4493d51bd635d79336e81bba60586d7355ebc0670e31f28d32da3ecceaf33292e4bc240c64bf00f35b
-Size (taglib-1.13.1.tar.gz) = 1372618 bytes
+BLAKE2s (taglib-2.0.tar.gz) = 6c3e1c191d88271214dd6fa24decf954a5e9e9308e8ac9cfa5175ab87b3ef1ea
+SHA512 (taglib-2.0.tar.gz) = 099d02b2eab033f5702a8cb03e70752d7523c6f8c2f3eebdd0bcd939eafbdca3f2a6c82452983904b5822cfa45f2707ed866c3419508df9d43bf5c0b3a476f6c
+Size (taglib-2.0.tar.gz) = 1429934 bytes



Home | Main Index | Thread Index | Old Index