Source: deepin-music
Version: 6.2.28-1
Severity: important
User: [email protected]
Usertags: taglib2.0

The package fails to build with taglib 2.0.2 from Debian experimental.
There are API breakages between taglib 1.x and taglib 2.x, and
some manual tweaks may be necessary.

Related build logs:

/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp: In member function ‘MediaMeta MetaDetector::updateMediaFileTagCodec(MediaMeta&, const QByteArray&, bool)’: /build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:210:44: warning: ‘virtual int TagLib::AudioProperties::length() const’ is deprecated [-Wdeprecated-declarations]
  210 |     meta.length = t_audioProperties->length() * 1000;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/taglib/fileref.h:33,
from /build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:33:
/usr/include/taglib/audioproperties.h:82:17: note: declared here
   82 |     virtual int length() const;
      |                 ^~~~~~
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:213:28: error: ‘class TagLib::String’ has no member named ‘isNull’ 213 | encode &= tag->title().isNull() ? true : tag->title().isLatin1();
      |                            ^~~~~~
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:214:29: error: ‘class TagLib::String’ has no member named ‘isNull’ 214 | encode &= tag->artist().isNull() ? true : tag->artist().isLatin1();
      |                             ^~~~~~
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:215:28: error: ‘class TagLib::String’ has no member named ‘isNull’ 215 | encode &= tag->album().isNull() ? true : tag->album().isLatin1();
      |                            ^~~~~~

Thanks,
Boyuan Yang

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to