It's necessary to uninstall pocketsphinx, otherwise it still tries to build against it - and fails.
Search Criteria
Package Details: subtitlecomposer 0.8.0-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/subtitlecomposer.git (read-only, click to copy) |
---|---|
Package Base: | subtitlecomposer |
Description: | Video subtitle editor |
Upstream URL: | https://invent.kde.org/multimedia/subtitlecomposer |
Keywords: | composer editor kde subtitle |
Licenses: | GPL |
Submitter: | Martchus |
Maintainer: | Martchus (maxrd2) |
Last Packager: | Martchus |
Votes: | 32 |
Popularity: | 0.83 |
First Submitted: | 2015-09-02 23:50 (UTC) |
Last Updated: | 2023-12-18 09:14 (UTC) |
Dependencies (16)
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR)
- kcodecs5
- kcoreaddons5
- ki18n5
- kio5
- ktextwidgets5
- kxmlgui5
- openal (openal-gitAUR)
- qt5-declarative (qt5-declarative-gitAUR)
- sonnet5
- blas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-mklAUR, blas-gitAUR, blis-gitAUR, blisAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, openblas-lapackAUR, aocl-blisAUR, blas-openblas) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- jackAUR (jack2-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-gitAUR, jack2, pipewire-jack) (make)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (optional) – scripting
- ruby (optional) – scripting
Required by (0)
Sources (2)
robelix commented on 2023-08-22 02:52 (UTC)
MarsSeed commented on 2023-08-02 10:39 (UTC)
@Martchus, I see. Thank you for checking it, and for maintaining this package.
Martchus commented on 2023-08-02 10:27 (UTC)
I have been disabling pocketsphinx
because it did not build against the latest version of it. Maybe that has been fixed now upstream but I don't think the latest release (which is packaged here) contains that fix. I'll add back pocketsphinx
support back once the latest release builds against it.
MarsSeed commented on 2023-08-02 01:36 (UTC) (edited on 2023-08-02 01:36 (UTC) by MarsSeed)
Please kindly add pocketsphinx
support as well.
MarsSeed commented on 2023-08-01 01:46 (UTC)
Please add a proper upstream URL, not just a link to KDE's multimedia GitLab group.
Martchus commented on 2023-07-19 07:27 (UTC)
Works for me. I have keyserver-options auto-key-retrieve
and keyserver hkp://keyserver.ubuntu.com
in ~/.gnupg/gpg.conf
.
sbrl commented on 2023-07-18 11:02 (UTC)
I get this error with this package:
subtitlecomposer-0.7.1.tar.xz ... FAILED (unknown public key E2418746EF9D9B26) ==> ERROR: One or more PGP signatures could not be verified!
Martchus commented on 2023-03-17 09:32 (UTC) (edited on 2023-03-17 09:32 (UTC) by Martchus)
I've just forgotten to sync this with my PKGBUILDs repo after ffmpeg 6 has been moved from testing to normal repos. The bumped/patched version that builds against the latest ffmpeg should be there now.
schrmh commented on 2023-03-17 00:28 (UTC)
Used cmm to build in a clean chroot.
==> Retrieving sources...
-> Found subtitlecomposer-0.7.1.tar.xz
-> Found subtitlecomposer-0.7.1.tar.xz.sig
-> Found 4f4f560e40ba0b760cf688eb024be3cc734ca347.patch
-> Found d8f9797d9c0d45fa9f4402f79c539544b74d2cc7.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting subtitlecomposer-0.7.1.tar.xz with bsdtar
==> Starting prepare()...
patching file src/streamprocessor/streamprocessor.cpp
patching file src/videoplayer/backend/decoder.h
patching file src/videoplayer/backend/framequeue.h
patching file src/videoplayer/backend/streamdemuxer.cpp
patching file src/videoplayer/backend/streamdemuxer.cpp
==> Starting build()...
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:113 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:33 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5Auth: /usr/lib/cmake/KF5Auth/KF5AuthConfig.cmake (found version "5.104.0")
-- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.104.0")
-- Found KF5ConfigWidgets: /usr/lib/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.104.0")
-- Found KF5CoreAddons: /usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.104.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.21.1")
-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.104.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.104.0")
-- Found KF5XmlGui: /usr/lib/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.104.0")
-- Found KF5Sonnet: /usr/lib/cmake/KF5Sonnet/KF5SonnetConfig.cmake (found version "5.104.0")
-- Found KF5Kross: /usr/lib/cmake/KF5Kross/KF5KrossConfig.cmake (found version "5.104.0")
-- Found KF5Codecs: /usr/lib/cmake/KF5Codecs/KF5CodecsConfig.cmake (found version "5.104.0")
-- Found KF5TextWidgets: /usr/lib/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.104.0")
-- Found KF5WidgetsAddons: /usr/lib/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.104.0")
-- Found KF5: success (found suitable version "5.104.0", minimum required is "5.44.0") found components: Auth Config ConfigWidgets CoreAddons I18n KIO XmlGui Sonnet Kross Codecs TextWidgets WidgetsAddons
-- GNU C compiler detected
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Found FFmpeg:
includes: /usr/include
libs: /usr/lib/libavformat.so (version 60.3.100)
/usr/lib/libavcodec.so (version 60.3.100)
/usr/lib/libswresample.so (version 4.10.100)
/usr/lib/libswscale.so (version 7.1.100)
/usr/lib/libavutil.so (version 58.2.100)
(found suitable version "60.3.100", minimum required is "57.83.100")
-- Found OpenAL: /usr/lib/libopenal.so
-- Found ICU:
includes: /usr/include
libs: /usr/lib/libicui18n.so;/usr/lib/libicuuc.so;/usr/lib/libicudata.so
(found version "72.1")
-- Subtitle Composer plugin path: /usr/lib/subtitlecomposer
-- ICU Library will be used for charset detection.
-- Could NOT find PocketSphinx (missing: POCKETSPHINX_LIBRARIES POCKETSPHINX_INCLUDE_DIR) (Required is at least version "5")
-- Have NOT Found PocketSphinx - Speech plugin will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: /build/subtitlecomposer/src/build
[ 0%] Automatic MOC for target subtitlecomposer-lib
[ 0%] Generating mo...
[ 1%] Generating ts...
[ 1%] Built target tsfiles-71e2dd219b7f78113f5ba68779d2eaa1
[ 1%] Built target pofiles-71e2dd219b7f78113f5ba68779d2eaa1
[ 1%] Built target subtitlecomposer-lib_autogen
[ 4%] Generating ui_generalconfigwidget.h
[ 4%] Generating ui_encodingdetectdialog.h
[ 4%] Generating ui_waveformconfigwidget.h
[ 5%] Generating ui_intinputdialog.h
[ 5%] Generating scconfig.h, scconfig.cpp
[ 5%] Generating ui_errorsconfigwidget.h
[ 5%] Generating ui_playerconfigwidget.h
[ 5%] Generating ui_vobsubinputinitdialog.h
[ 8%] Generating ui_scriptsmanager.h
[ 8%] Generating ui_textinputdialog.h
[ 8%] Generating ui_vobsubinputprocessdialog.h
[ 9%] Generating scconfig.moc
/build/subtitlecomposer/src/build/src/scconfig.h:0: Note: No relevant classes found. No output generated.
[ 10%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/mainwindow.cpp.o
[ 11%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/application.cpp.o
[ 11%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/application_errorcheck.cpp.o
[ 12%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/application_actions.cpp.o
[ 12%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/application_subtitle.cpp.o
[ 12%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/subtitlecomposer-lib_autogen/mocs_compilation.cpp.o
[ 13%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/actions/useraction.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp:214:104: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
214 | connect(m_textDemux, &TextDemux::onError, this, [&](const QString &message){ KMessageBox::sorry(m_mainWindow, message); });
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp:77:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp:216:116: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
216 | connect(m_speechProcessor, &SpeechProcessor::onError, this, [&](const QString &message){ KMessageBox::sorry(m_mainWindow, message); });
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_actions.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_actions.cpp:75:116: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
75 | connect(saveSubtitleAction, &QAction::triggered, [this](){ saveSubtitle(KCharsets::charsets()->codecForName(m_subtitleEncoding)); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCodecs/KCharsets:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_actions.cpp:17:
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_actions.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_actions.cpp:137:67: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
137 | saveSubtitleTr(KCharsets::charsets()->codecForName(m_subtitleTrEncoding));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp: In member function ‘const QStringList& SubtitleComposer::Application::availableEncodingNames() const’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp:337:80: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
337 | QTextCodec *codec = KCharsets::charsets()->codecForName(*it, found);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/KF5/KCodecs/KCharsets:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp:74:
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp: In member function ‘bool SubtitleComposer::Application::applyTranslation(SubtitleComposer::RangeList, bool, int, int, int)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application.cpp:772:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
772 | KMessageBox::sorry(m_mainWindow, i18n("There was an error performing the translation:\n\n%1", errorMessage));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
[ 14%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/actions/kcodecactionext.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘QTextCodec* SubtitleComposer::Application::codecForEncoding(const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:115:64: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
115 | QTextCodec *codec = KCharsets::charsets()->codecForName(encoding, codecFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCodecs/KCharsets:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:31:
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::openSubtitle(const QUrl&, bool)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:205:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
205 | KMessageBox::sorry(
| ~~~~~~~~~~~~~~~~~~^
206 | m_mainWindow,
| ~~~~~~~~~~~~~
207 | i18n("<qt>Could not parse the subtitle file.<br/>"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208 | "This may have been caused by usage of the wrong encoding.</qt>"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:34:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::reopenSubtitleWithCodec(QTextCodec*)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:225:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
225 | KMessageBox::sorry(
| ~~~~~~~~~~~~~~~~~~^
226 | m_mainWindow,
| ~~~~~~~~~~~~~
227 | i18n("<qt>Could not parse the subtitle file.<br/>"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | "This may have been caused by usage of the wrong encoding.</qt>"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::processSubtitleOpened(QTextCodec*, const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:259:60: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
259 | codec = KCharsets::charsets()->codecForName(m_subtitleEncoding);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘bool SubtitleComposer::Application::saveSubtitle(QTextCodec*)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:308:60: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
308 | codec = KCharsets::charsets()->codecForName(m_subtitleEncoding, codecFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:310:60: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
310 | codec = KCharsets::charsets()->codecForName(SCConfig::defaultSubtitlesEncoding(), codecFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:328:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
328 | KMessageBox::sorry(m_mainWindow, i18n("There was an error saving the subtitle."));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘bool SubtitleComposer::Application::closeSubtitle()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:370:69: warning: ‘KMessageBox::ButtonCode KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use warningTwoActionsCancel() [-Wdeprecated-declarations]
370 | int result = KMessageBox::warningYesNoCancel(nullptr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
371 | i18n("Currently opened translation subtitle has unsaved changes.\nDo you want to save them?"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
372 | i18n("Close Translation Subtitle") + " - SubtitleComposer");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:647:12: note: declared here
647 | ButtonCode warningYesNoCancel(QWidget *parent,
| ^~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:381:69: warning: ‘KMessageBox::ButtonCode KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use warningTwoActionsCancel() [-Wdeprecated-declarations]
381 | int result = KMessageBox::warningYesNoCancel(nullptr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
382 | i18n("Currently opened subtitle has unsaved changes.\nDo you want to save them?"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
383 | i18n("Close Subtitle") + " - SubtitleComposer");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:647:12: note: declared here
647 | ButtonCode warningYesNoCancel(QWidget *parent,
| ^~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::openSubtitleTr(const QUrl&, bool)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:468:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
468 | KMessageBox::sorry(
| ~~~~~~~~~~~~~~~~~~^
469 | m_mainWindow,
| ~~~~~~~~~~~~~
470 | i18n("<qt>Could not parse the subtitle file.<br/>"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
471 | "This may have been caused by usage of the wrong encoding.</qt>"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::reopenSubtitleTrWithCodec(QTextCodec*)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:493:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
493 | KMessageBox::sorry(
| ~~~~~~~~~~~~~~~~~~^
494 | m_mainWindow,
| ~~~~~~~~~~~~~
495 | i18n("<qt>Could not parse the subtitle file.<br/>"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
496 | "This may have been caused by usage of the wrong encoding.</qt>"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘bool SubtitleComposer::Application::saveSubtitleTr(QTextCodec*)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:547:60: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
547 | codec = KCharsets::charsets()->codecForName(m_subtitleTrEncoding, codecFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:549:60: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
549 | codec = KCharsets::charsets()->codecForName(SCConfig::defaultSubtitlesEncoding(), codecFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:565:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
565 | KMessageBox::sorry(m_mainWindow, i18n("There was an error saving the translation subtitle."));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘bool SubtitleComposer::Application::closeSubtitleTr()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:608:69: warning: ‘KMessageBox::ButtonCode KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use warningTwoActionsCancel() [-Wdeprecated-declarations]
608 | int result = KMessageBox::warningYesNoCancel(nullptr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
609 | i18n("Currently opened translation subtitle has unsaved changes.\nDo you want to save them?"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
610 | i18n("Close Translation Subtitle") + " - SubtitleComposer");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:647:12: note: declared here
647 | ButtonCode warningYesNoCancel(QWidget *parent,
| ^~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘QUrl SubtitleComposer::Application::saveSplitSubtitle(const SubtitleComposer::Subtitle&, const QUrl&, QString, QString, bool)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:662:72: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
662 | QTextCodec *codec = KCharsets::charsets()->codecForName(encoding, codecFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:677:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
677 | KMessageBox::sorry(m_mainWindow, primary ? i18n("Could not write the split subtitle file.") : i18n("Could not write the split subtitle translation file."));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::joinSubtitles()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:702:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
702 | KMessageBox::sorry(m_mainWindow, i18n("Could not read the subtitle file to append."));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::splitSubtitle()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:752:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
752 | KMessageBox::sorry(m_mainWindow, m_translationMode
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
753 | ? i18n("Could not open a new Subtitle Composer window.\n" "The split part was saved as %1.", splitUrl.path())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
754 | : i18n("Could not open a new Subtitle Composer window.\n" "The split parts were saved as %1 and %2.", splitUrl.path(), splitTrUrl.path()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp: In member function ‘void SubtitleComposer::Application::syncWithSubtitle()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:772:59: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
772 | KMessageBox::sorry(m_mainWindow, i18n("The reference subtitle must have more than one line to proceed."));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/application_subtitle.cpp:781:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
781 | KMessageBox::sorry(m_mainWindow, i18n("Could not parse the reference subtitle file."));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
[ 14%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/actions/krecentfilesactionext.cpp.o
[ 15%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/configs/configdialog.cpp.o
[ 15%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/configs/errorsconfigwidget.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp:32:75: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
32 | emit triggered(KCharsets::charsets()->codecForName(SCConfig::defaultSubtitlesEncoding()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCodecs/KCharsets:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp:16:
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp:56:75: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
56 | emit triggered(KCharsets::charsets()->codecForName(a->text()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp: In member function ‘bool KCodecActionExt::setCurrentCodec(QTextCodec*)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp:67:60: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
67 | codec = KCharsets::charsets()->codecForName(SCConfig::defaultSubtitlesEncoding());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/actions/kcodecactionext.cpp:76:72: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
76 | if(codec == KCharsets::charsets()->codecForName(action->text())) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
[ 16%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/configs/generalconfigwidget.cpp.o
[ 17%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/configs/playerconfigwidget.cpp.o
[ 17%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/configs/waveformconfigwidget.cpp.o
[ 18%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/time.cpp.o
[ 18%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/richdocument.cpp.o
[ 19%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/richdocumenteditor.cpp.o
[ 20%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/sstring.cpp.o
[ 20%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/subtitle.cpp.o
[ 21%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/subtitleiterator.cpp.o
[ 22%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/subtitleline.cpp.o
[ 22%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/undo/subtitleactions.cpp.o
[ 23%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/undo/subtitlelineactions.cpp.o
[ 23%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/undo/undoaction.cpp.o
[ 24%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/core/undo/undostack.cpp.o
[ 25%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/actiondialog.cpp.o
[ 25%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/actionwithtargetdialog.cpp.o
[ 26%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/adjusttimesdialog.cpp.o
[ 27%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/autodurationsdialog.cpp.o
[ 27%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/changeframeratedialog.cpp.o
[ 28%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/changetextscasedialog.cpp.o
[ 28%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/durationlimitsdialog.cpp.o
[ 29%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/encodingdetectdialog.cpp.o
[ 30%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/fixoverlappingtimesdialog.cpp.o
[ 30%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/fixpunctuationdialog.cpp.o
[ 31%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/insertlinedialog.cpp.o
[ 31%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/intinputdialog.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/dialogs/encodingdetectdialog.cpp: In lambda function:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/dialogs/encodingdetectdialog.cpp:60:80: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
60 | QTextCodec *codec = KCharsets::charsets()->codecForName(m_selectedEncoding);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCodecs/KCharsets:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/dialogs/encodingdetectdialog.cpp:9:
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
[ 32%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/joinsubtitlesdialog.cpp.o
[ 33%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/progressdialog.cpp.o
[ 33%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/removelinesdialog.cpp.o
[ 34%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/selectablesubtitledialog.cpp.o
[ 35%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/shifttimesdialog.cpp.o
[ 35%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/smarttextsadjustdialog.cpp.o
[ 36%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/splitsubtitledialog.cpp.o
[ 36%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/subtitlecolordialog.cpp.o
[ 37%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/syncsubtitlesdialog.cpp.o
[ 38%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/textinputdialog.cpp.o
[ 38%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/dialogs/translatedialog.cpp.o
[ 39%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/errors/errorfinder.cpp.o
[ 39%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/errors/errortracker.cpp.o
[ 40%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/errors/finderrorsdialog.cpp.o
[ 41%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/formats/formatmanager.cpp.o
[ 41%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/formats/textdemux/textdemux.cpp.o
[ 42%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/formats/vobsub/vobsubinputinitdialog.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/errors/errorfinder.cpp: In member function ‘void SubtitleComposer::ErrorFinder::advance(bool)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/errors/errorfinder.cpp:171:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
171 | KMessageBox::sorry(parentWidget(), i18n("No errors matching given criteria were found!"), i18n("Find Error"));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/errors/errorfinder.cpp:21:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
[ 43%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/formats/vobsub/vobsubinputprocessdialog.cpp.o
[ 43%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/currentlinewidget.cpp.o
[ 44%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/playerwidget.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/formats/formatmanager.cpp: In function ‘QTextCodec* detectEncoding(const QByteArray&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/formats/formatmanager.cpp:123:72: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
123 | QTextCodec *codec = KCharsets::charsets()->codecForName(ucsdet_getName(ucms[index], &status), encodingFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCodecs/KCharsets:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/formats/formatmanager.cpp:45:
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/formats/formatmanager.cpp:145:59: warning: ‘QTextCodec* KCharsets::codecForName(const QString&, bool&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
145 | return KCharsets::charsets()->codecForName(dlg.selectedEncoding(), encodingFound);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:86:17: note: declared here
86 | QTextCodec *codecForName(const QString &n, bool &ok) const;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/formats/formatmanager.cpp: In member function ‘SubtitleComposer::FormatManager::Status SubtitleComposer::FormatManager::readBinary(SubtitleComposer::Subtitle&, const QUrl&, bool, QTextCodec**, QString*) const’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/formats/formatmanager.cpp:164:69: warning: ‘QTextCodec* KCharsets::codecForName(const QString&) const’ is deprecated: Since 5.101. use QTextCodec codecForName or QStringEncoder [-Wdeprecated-declarations]
164 | *codec = KCharsets::charsets()->codecForName(SCConfig::defaultSubtitlesEncoding());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KCodecs/kcharsets.h:67:17: note: declared here
67 | QTextCodec *codecForName(const QString &name) const;
| ^~~~~~~~~~~~
[ 44%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/waveform/waveformwidget.cpp.o
[ 45%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/waveform/wavebuffer.cpp.o
[ 46%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/waveform/zoombuffer.cpp.o
[ 46%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/waveform/waverenderer.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/gui/playerwidget.cpp: In member function ‘void SubtitleComposer::PlayerWidget::onPlayerFileOpenError(const QString&, const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/gui/playerwidget.cpp:659:27: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
659 | KMessageBox::sorry(this, message);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/gui/playerwidget.cpp:36:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
[ 47%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/waveform/wavesubtitle.cpp.o
[ 48%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/linesitemdelegate.cpp.o
[ 48%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/linesmodel.cpp.o
[ 49%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/linesselectionmodel.cpp.o
[ 49%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/lineswidget.cpp.o
[ 50%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/richlineedit.cpp.o
[ 51%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/richdocumentptr.cpp.o
[ 51%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/gui/treeview/treeview.cpp.o
[ 52%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/helpers/commondefs.cpp.o
[ 52%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/helpers/fileloadhelper.cpp.o
[ 53%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/helpers/filesavehelper.cpp.o
[ 54%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/helpers/filetrasher.cpp.o
[ 54%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/helpers/languagecode.cpp.o
[ 55%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scriptsmanager.cpp.o
[ 56%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_rangesmodule.cpp.o
[ 56%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_stringsmodule.cpp.o
[ 57%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_subtitlemodule.cpp.o
[ 57%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_subtitlelinemodule.cpp.o
[ 58%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_list.cpp.o
[ 59%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_range.cpp.o
[ 59%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_rangelist.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In member function ‘void SubtitleComposer::Debug::warning(const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:87:27: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
87 | KMessageBox::sorry(app()->mainWindow(), message, i18n("Warning"));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:33:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In member function ‘void SubtitleComposer::ScriptsManager::createScript(const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:156:54: warning: ‘KMessageBox::ButtonCode KMessageBox::questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use questionTwoActions() [-Wdeprecated-declarations]
156 | && KMessageBox::questionYesNo(app()->mainWindow(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
157 | i18n("You must enter an unused name to continue.\nWould you like to enter another name?"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | i18n("Name Already Used"), KStandardGuiItem::cont(), KStandardGuiItem::cancel()) != KMessageBox::Yes)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here
143 | ButtonCode questionYesNo(QWidget *parent,
| ^~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:174:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
174 | KMessageBox::sorry(app()->mainWindow(), i18n("There was an error creating the file <b>%1</b>.", scriptPath.absoluteFilePath(scriptName)));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In static member function ‘static const QStringList& SubtitleComposer::ScriptsManager::mimeTypes()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:198:86: warning: ‘static Kross::Manager& Kross::Manager::self()’ is deprecated: Since 5.88. Kross is deprecated, see API docs [-Wdeprecated-declarations]
198 | QHash<QString, Kross::InterpreterInfo *> infos = Kross::Manager::self().interpreterInfos();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:43:
/usr/include/KF5/KrossCore/kross/core/manager.h:70:21: note: declared here
70 | static Manager &self();
| ^~~~
[ 60%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_sstring.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In member function ‘void SubtitleComposer::ScriptsManager::addScript(const QUrl&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:233:54: warning: ‘KMessageBox::ButtonCode KMessageBox::questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use questionTwoActions() [-Wdeprecated-declarations]
233 | && KMessageBox::questionYesNo(app()->mainWindow(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
234 | i18n("You must enter an unused name to continue.\nWould you like to enter another name?"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | i18n("Name Already Used"), KStandardGuiItem::cont(), KStandardGuiItem::cancel()) != KMessageBox::Yes)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here
143 | ButtonCode questionYesNo(QWidget *parent,
| ^~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:252:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
252 | KMessageBox::sorry(app()->mainWindow(), i18n("There was an error opening the file <b>%1</b>.", srcScriptUrl.toString(QUrl::PreferLocalFile)));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:260:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
260 | KMessageBox::sorry(app()->mainWindow(), i18n("There was an error copying the file to <b>%1</b>.", dest.fileName()));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In member function ‘void SubtitleComposer::ScriptsManager::removeScript(const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:280:35: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
280 | KMessageBox::sorry(app()->mainWindow(), i18n("There was an error removing the file <b>%1</b>.", m_scripts[scriptName]));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In member function ‘void SubtitleComposer::ScriptsManager::editScript(const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:301:107: warning: ‘KIO::JobUiDelegate::JobUiDelegate(KJobUiDelegate::Flags, QWidget*)’ is deprecated: Since 5.98. use KIO::createDefaultJobUiDelegate or versioned constructor instead [-Wdeprecated-declarations]
301 | job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, app()->mainWindow()));
| ^
In file included from /usr/include/KF5/KIOWidgets/KIO/JobUiDelegate:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:40:
/usr/include/KF5/KIOWidgets/kio/jobuidelegate.h:66:14: note: declared here
66 | explicit JobUiDelegate(KJobUiDelegate::Flags flags, QWidget *window);
| ^~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:309:43: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
309 | KMessageBox::sorry(app()->mainWindow(), i18n("Could not launch external editor.\n"));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp: In member function ‘void SubtitleComposer::ScriptsManager::reloadScripts()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:422:66: warning: ‘static Kross::Manager& Kross::Manager::self()’ is deprecated: Since 5.88. Kross is deprecated, see API docs [-Wdeprecated-declarations]
422 | qDebug() << "KROSS interpreters:" << Kross::Manager::self().interpreters();
| ~~~~~~~~~~~~~~~~~~~~^~
/usr/include/KF5/KrossCore/kross/core/manager.h:70:21: note: declared here
70 | static Manager &self();
| ^~~~
In file included from /usr/include/qt/QtCore/qnamespace.h:43,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.h:11,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:10:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/scripting/scriptsmanager.cpp:424:64: warning: ‘static Kross::Manager& Kross::Manager::self()’ is deprecated: Since 5.88. Kross is deprecated, see API docs [-Wdeprecated-declarations]
424 | foreach(const QString interpreter, Kross::Manager::self().interpreters()) {
| ~~~~~~~~~~~~~~~~~~~~^~
/usr/include/KF5/KrossCore/kross/core/manager.h:70:21: note: declared here
70 | static Manager &self();
| ^~~~
[ 60%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_subtitle.cpp.o
[ 61%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/scripting/scripting_subtitleline.cpp.o
[ 62%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/speechprocessor/speechprocessor.cpp.o
[ 62%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/speechprocessor/speechplugin.cpp.o
[ 63%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/streamprocessor/streamprocessor.cpp.o
[ 64%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/utils/finder.cpp.o
[ 64%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/utils/replacer.cpp.o
[ 65%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/utils/speller.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp: In member function ‘bool SubtitleComposer::StreamProcessor::initAudio(int, const WaveFormat&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:277:25: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
277 | if(!m_codecCtx->channel_layout)
| ^~~~~~~~~~~~~~
In file included from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:20:
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:277:25: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
277 | if(!m_codecCtx->channel_layout)
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:277:25: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
277 | if(!m_codecCtx->channel_layout)
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:29: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:29: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:29: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:88: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:88: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:88: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:278:75: warning: ‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
278 | m_codecCtx->channel_layout = av_get_default_channel_layout(m_codecCtx->channels);;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libavutil/frame.h:33,
from /usr/include/libavcodec/avcodec.h:35:
/usr/include/libavutil/channel_layout.h:482:9: note: declared here
482 | int64_t av_get_default_channel_layout(int nb_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:281:61: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
281 | m_audioStreamFormat.setChannels(m_codecCtx->channels);
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:281:61: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
281 | m_audioStreamFormat.setChannels(m_codecCtx->channels);
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:281:61: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
281 | m_audioStreamFormat.setChannels(m_codecCtx->channels);
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:282:52: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
282 | m_audioChannelLayout = m_codecCtx->channel_layout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:282:52: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
282 | m_audioChannelLayout = m_codecCtx->channel_layout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:282:52: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
282 | m_audioChannelLayout = m_codecCtx->channel_layout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:284:69: warning: ‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
284 | m_audioChannelLayout = av_get_default_channel_layout(m_audioStreamFormat.channels());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libavutil/channel_layout.h:482:9: note: declared here
482 | int64_t av_get_default_channel_layout(int nb_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:288:47: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
288 | const bool convChannels = m_codecCtx->channel_layout != m_audioChannelLayout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:288:47: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
288 | const bool convChannels = m_codecCtx->channel_layout != m_audioChannelLayout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:288:47: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
288 | const bool convChannels = m_codecCtx->channel_layout != m_audioChannelLayout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:294:37: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
294 | m_codecCtx->channel_layout, m_codecCtx->sample_fmt, m_codecCtx->sample_rate,
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:294:37: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
294 | m_codecCtx->channel_layout, m_codecCtx->sample_fmt, m_codecCtx->sample_rate,
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:294:37: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
294 | m_codecCtx->channel_layout, m_codecCtx->sample_fmt, m_codecCtx->sample_rate,
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:292:50: warning: ‘SwrContext* swr_alloc_set_opts(SwrContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)’ is deprecated [-Wdeprecated-declarations]
292 | m_swResample = swr_alloc_set_opts(nullptr,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
293 | m_audioChannelLayout, static_cast<AVSampleFormat>(m_audioSampleFormat), m_audioStreamFormat.sampleRate(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
294 | m_codecCtx->channel_layout, m_codecCtx->sample_fmt, m_codecCtx->sample_rate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295 | 0, nullptr);
| ~~~~~~~~~~~
In file included from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:24:
/usr/include/libswresample/swresample.h:260:20: note: declared here
260 | struct SwrContext *swr_alloc_set_opts(struct SwrContext *s,
| ^~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp: In member function ‘void SubtitleComposer::StreamProcessor::processAudio()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:366:33: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
366 | frameResampled->channel_layout = m_audioChannelLayout;
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:366:33: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
366 | frameResampled->channel_layout = m_audioChannelLayout;
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:366:33: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
366 | frameResampled->channel_layout = m_audioChannelLayout;
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:434:59: warning: ‘AVFrame::pkt_duration’ is deprecated [-Wdeprecated-declarations]
434 | if(frame->pkt_duration)
| ^~~~~~~~~~~~
/usr/include/libavutil/frame.h:631:13: note: declared here
631 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:434:59: warning: ‘AVFrame::pkt_duration’ is deprecated [-Wdeprecated-declarations]
434 | if(frame->pkt_duration)
| ^~~~~~~~~~~~
/usr/include/libavutil/frame.h:631:13: note: declared here
631 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:434:59: warning: ‘AVFrame::pkt_duration’ is deprecated [-Wdeprecated-declarations]
434 | if(frame->pkt_duration)
| ^~~~~~~~~~~~
/usr/include/libavutil/frame.h:631:13: note: declared here
631 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:435:84: warning: ‘AVFrame::pkt_duration’ is deprecated [-Wdeprecated-declarations]
435 | timeFrameDuration = frame->pkt_duration * 1000 * m_avStream->time_base.num / m_avStream->time_base.den;
| ^~~~~~~~~~~~
/usr/include/libavutil/frame.h:631:13: note: declared here
631 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:435:84: warning: ‘AVFrame::pkt_duration’ is deprecated [-Wdeprecated-declarations]
435 | timeFrameDuration = frame->pkt_duration * 1000 * m_avStream->time_base.num / m_avStream->time_base.den;
| ^~~~~~~~~~~~
/usr/include/libavutil/frame.h:631:13: note: declared here
631 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:435:84: warning: ‘AVFrame::pkt_duration’ is deprecated [-Wdeprecated-declarations]
435 | timeFrameDuration = frame->pkt_duration * 1000 * m_avStream->time_base.num / m_avStream->time_base.den;
| ^~~~~~~~~~~~
/usr/include/libavutil/frame.h:631:13: note: declared here
631 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:451:126: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
451 | emit audioDataAvailable(frameResampled->data[0], frameSize * frameResampled->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:451:126: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
451 | emit audioDataAvailable(frameResampled->data[0], frameSize * frameResampled->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:451:126: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
451 | emit audioDataAvailable(frameResampled->data[0], frameSize * frameResampled->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:456:108: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
456 | emit audioDataAvailable(frame->data[0], frameSize * frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:456:108: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
456 | emit audioDataAvailable(frame->data[0], frameSize * frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/streamprocessor/streamprocessor.cpp:456:108: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
456 | emit audioDataAvailable(frame->data[0], frameSize * frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
[ 65%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/utils/translator.cpp.o
[ 66%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/utils/language.cpp.o
[ 67%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/videoplayer.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/finder.cpp: In member function ‘void SubtitleComposer::Finder::advance()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/finder.cpp:246:51: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations]
246 | KMessageBox::sorry(parentWidget(), i18n("No instances of '%1' found!", m_find->pattern()), i18n("Find")
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | );
| ~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/finder.cpp:17:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here
931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify);
| ^~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/replacer.cpp: In member function ‘void SubtitleComposer::Replacer::replace(const SubtitleComposer::RangeList&, int, const QString&)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/replacer.cpp:143:70: warning: ‘void KReplace::replace(const QString&, int, int, int)’ is deprecated: Since 5.83. Use the KReplace::textReplaced(const QString &, int, int, int) signal instead. [-Wdeprecated-declarations]
143 | connect(m_replace, QOverload<const QString &,int,int,int>::of(&KReplace::replace), this, &Replacer::onReplace);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KTextWidgets/KReplace:1,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/replacer.cpp:18:
/usr/include/KF5/KTextWidgets/kreplace.h:221:10: note: declared here
221 | void replace(const QString &text, int replacementIndex, int replacedLength, int matchedLength); // clazy:exclude=overloaded-signal
| ^~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/utils/replacer.cpp:143:70: warning: ‘void KReplace::replace(const QString&, int, int, int)’ is deprecated: Since 5.83. Use the KReplace::textReplaced(const QString &, int, int, int) signal instead. [-Wdeprecated-declarations]
143 | connect(m_replace, QOverload<const QString &,int,int,int>::of(&KReplace::replace), this, &Replacer::onReplace);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/KF5/KTextWidgets/kreplace.h:221:10: note: declared here
221 | void replace(const QString &text, int replacementIndex, int replacedLength, int matchedLength); // clazy:exclude=overloaded-signal
| ^~~~~~~
[ 67%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/videowidget.cpp.o
[ 68%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/subtitletextoverlay.cpp.o
[ 68%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/glrenderer.cpp.o
[ 69%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/ffplayer.cpp.o
[ 70%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/framequeue.cpp.o
[ 70%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/packetqueue.cpp.o
[ 71%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/decoder.cpp.o
[ 72%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/audiodecoder.cpp.o
[ 72%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/videodecoder.cpp.o
[ 73%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/subtitledecoder.cpp.o
[ 73%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/clock.cpp.o
[ 74%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/streamdemuxer.cpp.o
[ 75%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/renderthread.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp: In member function ‘bool SubtitleComposer::AudioDecoder::open(int64_t, int, int)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:180:105: warning: ‘int av_get_channel_layout_nb_channels(uint64_t)’ is deprecated [-Wdeprecated-declarations]
180 | if(!wantChLayout || wantNbChan != availNbChan || wantNbChan != av_get_channel_layout_nb_channels(wantChLayout)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/libavutil/frame.h:33,
from /usr/include/libavcodec/avcodec.h:35,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/decoder.h:14,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.h:11,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:8:
/usr/include/libavutil/channel_layout.h:474:5: note: declared here
474 | int av_get_channel_layout_nb_channels(uint64_t channel_layout);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:181:61: warning: ‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
181 | wantChLayout = av_get_default_channel_layout(availNbChan);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/libavutil/channel_layout.h:482:9: note: declared here
482 | int64_t av_get_default_channel_layout(int nb_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp: In member function ‘int SubtitleComposer::AudioDecoder::decodeFrame(SubtitleComposer::Frame*)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:355:71: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
355 | int dataSize = av_samples_get_buffer_size(nullptr, af->frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:355:71: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
355 | int dataSize = av_samples_get_buffer_size(nullptr, af->frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:355:71: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
355 | int dataSize = av_samples_get_buffer_size(nullptr, af->frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:361:29: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
361 | (af->frame->channel_layout &&
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:361:29: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
361 | (af->frame->channel_layout &&
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:361:29: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
361 | (af->frame->channel_layout &&
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:29: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:29: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:29: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:86: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:86: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:86: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:362:74: warning: ‘int av_get_channel_layout_nb_channels(uint64_t)’ is deprecated [-Wdeprecated-declarations]
362 | af->frame->channels == av_get_channel_layout_nb_channels(af->frame->channel_layout)) ?
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libavutil/channel_layout.h:474:5: note: declared here
474 | int av_get_channel_layout_nb_channels(uint64_t channel_layout);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:28: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:28: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:28: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ^~~~~~~~~~~~~~
/usr/include/libavutil/frame.h:524:14: note: declared here
524 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:86: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:86: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:86: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:363:74: warning: ‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
363 | af->frame->channel_layout : av_get_default_channel_layout(af->frame->channels);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavutil/channel_layout.h:482:9: note: declared here
482 | int64_t av_get_default_channel_layout(int nb_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:371:46: warning: ‘SwrContext* swr_alloc_set_opts(SwrContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)’ is deprecated [-Wdeprecated-declarations]
371 | m_swrCtx = swr_alloc_set_opts(nullptr,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
372 | m_fmtTgt.channelLayout, m_fmtTgt.fmt, m_fmtTgt.freq,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
373 | decChannelLayout, (AVSampleFormat)af->frame->format, af->frame->sample_rate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | 0, nullptr);
| ~~~~~~~~~~~
In file included from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:19:
/usr/include/libswresample/swresample.h:260:20: note: declared here
260 | struct SwrContext *swr_alloc_set_opts(struct SwrContext *s,
| ^~~~~~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:379:47: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
379 | af->frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:379:47: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
379 | af->frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:379:47: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
379 | af->frame->channels,
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:385:48: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
385 | m_fmtSrc.channels = af->frame->channels;
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:385:48: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
385 | m_fmtSrc.channels = af->frame->channels;
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/audiodecoder.cpp:385:48: warning: ‘AVFrame::channels’ is deprecated [-Wdeprecated-declarations]
385 | m_fmtSrc.channels = af->frame->channels;
| ^~~~~~~~
/usr/include/libavutil/frame.h:662:9: note: declared here
662 | int channels;
| ^~~~~~~~
[ 75%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/videostate.cpp.o
[ 76%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/widgets/attachablewidget.cpp.o
[ 77%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/widgets/layeredwidget.cpp.o
[ 77%] Building CXX object src/CMakeFiles/subtitlecomposer-lib.dir/widgets/pointingslider.cpp.o
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp: In member function ‘int SubtitleComposer::StreamDemuxer::componentOpen(int)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:303:37: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
303 | nbChannels = avCtx->channels;
| ^~~~~~~~
In file included from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/decoder.h:14,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/ffplayer.h:11,
from /build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:13:
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:303:37: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
303 | nbChannels = avCtx->channels;
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:303:37: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
303 | nbChannels = avCtx->channels;
| ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1042:9: note: declared here
1042 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:304:40: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
304 | channelLayout = avCtx->channel_layout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:304:40: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
304 | channelLayout = avCtx->channel_layout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:304:40: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
304 | channelLayout = avCtx->channel_layout;
| ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1100:14: note: declared here
1100 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp: In member function ‘void SubtitleComposer::StreamDemuxer::cycleStream(int)’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:400:50: warning: ‘AVCodecParameters::channels’ is deprecated [-Wdeprecated-declarations]
400 | st->codecpar->channels != 0)
| ^~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:42:
/usr/include/libavcodec/codec_par.h:173:14: note: declared here
173 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:400:50: warning: ‘AVCodecParameters::channels’ is deprecated [-Wdeprecated-declarations]
400 | st->codecpar->channels != 0)
| ^~~~~~~~
/usr/include/libavcodec/codec_par.h:173:14: note: declared here
173 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:400:50: warning: ‘AVCodecParameters::channels’ is deprecated [-Wdeprecated-declarations]
400 | st->codecpar->channels != 0)
| ^~~~~~~~
/usr/include/libavcodec/codec_par.h:173:14: note: declared here
173 | int channels;
| ^~~~~~~~
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp: In member function ‘virtual void SubtitleComposer::StreamDemuxer::run()’:
/build/subtitlecomposer/src/subtitlecomposer-0.7.1/src/videoplayer/backend/streamdemuxer.cpp:507:56: error: ‘av_mallocz_array’ was not declared in this scope; did you mean ‘av_malloc_array’?
507 | AVDictionary **opts = (AVDictionary **)av_mallocz_array(origNbStreams, sizeof(*opts));
| ^~~~~~~~~~~~~~~~
| av_malloc_array
make[2]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:1599: src/CMakeFiles/subtitlecomposer-lib.dir/videoplayer/backend/streamdemuxer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:920: src/CMakeFiles/subtitlecomposer-lib.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /home/duda/chroot/.buildroot/duda/build
Martchus commented on 2023-02-03 13:44 (UTC) (edited on 2023-02-03 13:45 (UTC) by Martchus)
Please flag a package only if it is out-of-date; if there's a different problem just leave a comment. Otherwise nobody can follow what the response (this comment) is about (the discussion in https://forum.manjaro.org/t/subtitle-composer-cannot-be-installed-due-to-sha256sums-of-patch-files/133267 without explicit mentioning) without further explanation.
The checksums don't look wrong to me. I lately added a commit to include patches in the AUR repo itself to avoid this problem. Ensure no old files are lying around next to the PKGBUILD before invoking makepkg
. I cannot help with specific AUR helpers.
Pinned Comments
Martchus commented on 2016-05-18 21:59 (UTC)