install goldendict-ng-git

  manjaro升级后,goldendict不能启动了,重新安装总是出错,原来是官方的版本不支持qt6了,查阅archlinux文档,获知goldendic-ng-git支持qt6,安装步骤如下,需要的同学可以参看。

1. 获取PKGBUILD文件,git clone https://aur.archlinux.org/goldendict-ng-git.git

2. 安装必须的依赖,可能有人需要的更多,sudo pacman -S tomlplusplus libzim qt6-speech

3. 切换目录:cd goldendict-ng-git

4. 下载软件源码并编译:makepkg

makepkg      INT ✘  1m 58s 
==> 正在创建软件包:goldendict-ng-git 23.07.25.r4892.17cd4456-1 (2023年12月03日 星期日 23时02分44秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
  -> 正在克隆 goldendict-ng-git git 仓库...
克隆到纯仓库 '/home/nication/goldendict-ng-git/goldendict-ng-git'...
remote: Enumerating objects: 45843, done.
remote: Counting objects: 100% (1738/1738), done.
remote: Compressing objects: 100% (635/635), done.
remote: Total 45843 (delta 1187), reused 1448 (delta 1074), pack-reused 44105
接收对象中: 100% (45843/45843), 230.76 MiB | 788.00 KiB/s, 完成.
处理 delta 中: 100% (32624/32624), 完成.
==> 正在验证 source 文件,使用md5sums...
    goldendict-ng-git ... 已跳过
==> 正在释放源码...
  -> 正在建立 goldendict-ng-git git 仓库的拷贝...
正克隆到 'goldendict-ng-git'...
完成。
==> 正在开始 prepare()...
==> 正在开始 pkgver()...
==> 已升级版本:goldendict-ng-git 23.11.09.r5242.b6420c87-1
==> 正在开始 build()...
-- The CXX compiler identification is GNU 13.2.1
-- The C compiler identification is GNU 13.2.1
-- 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
-- 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
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.6.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found Git: /usr/bin/git (found version "2.43.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
-- Checking for module 'xtst'
--   Found xtst, version 1.2.4
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.0.3")
-- Found ZLIB: /usr/lib/libz.so (found version "1.3")
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: built in to C library
-- Checking for modules 'hunspell;lzo2;opencc;vorbis;vorbisfile;liblzma'
--   Found hunspell, version 1.7.2
--   Found lzo2, version 2.10
--   Found opencc, version 1.1.7
--   Found vorbis, version 1.3.7
--   Found vorbisfile, version 1.3.7
--   Found liblzma, version 5.4.5
-- Checking for modules 'libavcodec;libavformat;libavutil;libswresample'
--   Found libavcodec, version 60.31.102
--   Found libavformat, version 60.16.100
--   Found libavutil, version 58.29.100
--   Found libswresample, version 4.12.100
-- Checking for module 'libzim'
--   Found libzim, version 9.0.0
-- Build configuration:
-- The following OPTIONAL packages have been found:

 * Qt6CoreTools (required version >= 6.6.0)
 * Qt6Concurrent
 * Qt6Core5Compat
 * Qt6LinguistTools
 * OpenGL
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * Qt6GuiTools (required version >= 6.6.0)
 * Qt6DBusTools (required version >= 6.6.0)
 * Qt6Multimedia
 * Qt6WidgetsTools (required version >= 6.6.0)
 * Qt6WebEngineCoreTools (required version >= 6.6.0)
 * Qt6QmlTools (required version >= 6.6.0)
 * WrapVulkanHeaders
 * Qt6WebEngineWidgets
 * Qt6Svg
 * Qt6Xml
 * Qt6TextToSpeech
 * Git
 * fmt
 * tomlplusplus

-- The following REQUIRED packages have been found:

 * Qt6
 * X11
 * PkgConfig
 * ZLIB
 * BZip2
 * Iconv
 * Xapian

-- Configuring done (2.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/nication/goldendict-ng-git/src/build_dir
[0/2] Re-checking globbed directories...
[1/187] Generating locale/be_BY.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/be_BY.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[2/187] Generating locale/bg_BG.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/bg_BG.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[3/187] Generating locale/crowdin.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/crowdin.qm'...
    Generated 966 translation(s) (961 finished and 5 unfinished)
    Ignored 51 untranslated source text(s)
[4/187] Generating locale/cs_CZ.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/cs_CZ.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[5/187] Generating locale/de_CH.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/de_CH.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[6/187] Generating locale/de_DE.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/de_DE.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[7/187] Generating locale/eo_UY.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/eo_UY.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[8/187] Generating locale/es_ES.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/es_ES.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[9/187] Generating locale/fa_IR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/fa_IR.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[10/187] Generating locale/fr_FR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/fr_FR.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[11/187] Generating locale/it_IT.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/it_IT.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[12/187] Generating locale/ja_JP.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/ja_JP.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[13/187] Generating locale/ar_SA.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/ar_SA.qm'...
    Generated 1017 translation(s) (961 finished and 56 unfinished)
[14/187] Generating locale/ie_001.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/ie_001.qm'...
    Generated 1017 translation(s) (552 finished and 465 unfinished)
[15/187] Generating locale/es_AR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/es_AR.qm'...
    Generated 1017 translation(s) (615 finished and 402 unfinished)
[16/187] Generating locale/es_BO.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/es_BO.qm'...
    Generated 1017 translation(s) (453 finished and 564 unfinished)
[17/187] Generating locale/fi_FI.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/fi_FI.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[18/187] Generating locale/hi_IN.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/hi_IN.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[19/187] Generating locale/ko_KR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/ko_KR.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[20/187] Generating locale/ay_BO.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/ay_BO.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[21/187] Generating locale/el_GR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/el_GR.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[22/187] Generating locale/jbo_EN.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/jbo_EN.qm'...
    Generated 1017 translation(s) (519 finished and 498 unfinished)
[23/187] Generating locale/lt_LT.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/lt_LT.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[24/187] Generating locale/mk_MK.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/mk_MK.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[25/187] Generating locale/nl_NL.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/nl_NL.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[26/187] Generating locale/pl_PL.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/pl_PL.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[27/187] Generating locale/pt_BR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/pt_BR.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[28/187] Generating locale/pt_PT.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/pt_PT.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[29/187] Generating locale/qtwebengine_zh_CN.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/qtwebengine_zh_CN.qm'...
    Generated 109 translation(s) (109 finished and 0 unfinished)
[30/187] Generating locale/qu_PE.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/qu_PE.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[31/187] Generating locale/ru_RU.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/ru_RU.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[32/187] Generating locale/sk_SK.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/sk_SK.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[33/187] Generating locale/sq_AL.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/sq_AL.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[34/187] Generating locale/sv_SE.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/sv_SE.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[35/187] Generating locale/sr_SP.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/sr_SP.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[36/187] Generating locale/tg_TJ.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/tg_TJ.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[37/187] Generating locale/tk_TM.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/tk_TM.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[38/187] Generating locale/uk_UA.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/uk_UA.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[39/187] Generating locale/tr_TR.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/tr_TR.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[40/187] Generating locale/qt_extra_lt.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/qt_extra_lt.qm'...
    Generated 873 translation(s) (868 finished and 5 unfinished)
    Ignored 336 untranslated source text(s)
[41/187] Generating locale/qt_extra_es.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/qt_extra_es.qm'...
    Generated 844 translation(s) (790 finished and 54 unfinished)
    Ignored 563 untranslated source text(s)
[42/187] Generating locale/vi_VN.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/vi_VN.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[43/187] Generating locale/qt_extra_it.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/qt_extra_it.qm'...
    Generated 1404 translation(s) (1404 finished and 0 unfinished)
[44/187] Generating locale/zh_TW.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/zh_TW.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[45/187] Generating locale/zh_CN.qm
Updating '/home/nication/goldendict-ng-git/src/build_dir/locale/zh_CN.qm'...
    Generated 1017 translation(s) (1017 finished and 0 unfinished)
[47/187] Automatic MOC and UIC for target goldendict
AutoMoc: /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/macos/gd_clipboard.hh: note: No relevant classes found. No output generated.
AutoMoc: /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/macos/macmouseover.hh: note: No relevant classes found. No output generated.
[62/187] Building CXX object CMakeF...ict.dir/src/audioplayerfactory.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/audioplayerfactory.cc: In member function ‘void AudioPlayerFactory::reset()’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/audioplayerfactory.cc:70:39: 警告:‘T* QScopedPointer<T, Cleanup>::take() [with T = ExternalAudioPlayer; Cleanup = QScopedPointerDeleter<ExternalAudioPlayer>]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
   70 |   playerPtr.reset( externalPlayer.take() );
      |                    ~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/QScopedPointer:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/audioplayerfactory.cc:4:
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: 附注:在此声明
  130 |     T *take() noexcept
      |        ^~~~
[84/187] Building CXX object CMakeF...endict.dir/src/dict/dictionary.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/dictionary.cc: In function ‘std::string Dictionary::makeDictionaryId(const std::vector<std::__cxx11::basic_string<char> >&)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/dictionary.cc:538:17: 警告:‘void QCryptographicHash::addData(const char*, qsizetype)’ is deprecated: Use the QByteArrayView overload instead [-Wdeprecated-declarations]
  538 |     hash.addData( i.c_str(), i.size() + 1 );
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QCryptographicHash:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/dictionary.cc:9:
/usr/include/qt6/QtCore/qcryptographichash.h:79:10: 附注:在此声明
   79 |     void addData(const char *data, qsizetype length);
      |          ^~~~~~~
[97/187] Building CXX object CMakeFiles/goldendict.dir/src/dict/bgl.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/bgl.cc: In member function ‘void Bgl::{anonymous}::BglArticleRequest::run()’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/bgl.cc:700:19: 警告:‘void QCryptographicHash::addData(const char*, qsizetype)’ is deprecated: Use the QByteArrayView overload instead [-Wdeprecated-declarations]
  700 |       hash.addData( targetHeadword.data(), targetHeadword.size() + 1 ); // with 0
      |       ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QtCore:76,
                 from /usr/include/qt6/QtConcurrent/QtConcurrentDepends:3,
                 from /usr/include/qt6/QtConcurrent/QtConcurrent:3,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ftshelpers.hh:11,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/bgl.cc:10:
/usr/include/qt6/QtCore/qcryptographichash.h:79:10: 附注:在此声明
   79 |     void addData(const char *data, qsizetype length);
      |          ^~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/bgl.cc:701:19: 警告:‘void QCryptographicHash::addData(const char*, qsizetype)’ is deprecated: Use the QByteArrayView overload instead [-Wdeprecated-declarations]
  701 |       hash.addData( articleText.data(), articleText.size() );
      |       ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qcryptographichash.h:79:10: 附注:在此声明
   79 |     void addData(const char *data, qsizetype length);
      |          ^~~~~~~
[106/187] Building CXX object CMake...ct.dir/src/externalaudioplayer.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc: In destructor ‘virtual ExternalAudioPlayer::~ExternalAudioPlayer()’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc:19:43: 警告:‘T* QScopedPointer<T, Cleanup>::take() [with T = ExternalViewer; Cleanup = ExternalAudioPlayer::ScopedPointerDeleteLater]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
   19 |   stopAndDestroySynchronously( viewer.take() );
      |                                ~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/QScopedPointer:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.hh:7,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc:4:
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: 附注:在此声明
  130 |     T *take() noexcept
      |        ^~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc: In member function ‘virtual void ExternalAudioPlayer::stop()’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc:59:32: 警告:‘T* QScopedPointer<T, Cleanup>::take() [with T = ExternalViewer; Cleanup = ExternalAudioPlayer::ScopedPointerDeleteLater]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
   59 |     exitingViewer = viewer.take();
      |                     ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: 附注:在此声明
  130 |     T *take() noexcept
      |        ^~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc: In member function ‘void ExternalAudioPlayer::onViewerDestroyed(QObject*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/externalaudioplayer.cc:76:16: 警告:‘T* QScopedPointer<T, Cleanup>::take() [with T = ExternalViewer; Cleanup = ExternalAudioPlayer::ScopedPointerDeleteLater]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
   76 |     viewer.take(); // viewer finished and died -> release ownership.
      |     ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: 附注:在此声明
  130 |     T *take() noexcept
      |        ^~~~
[113/187] Building CXX object CMake...goldendict.dir/src/ffmpegaudio.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc: In member function ‘bool Ffmpeg::DecoderContext::openCodec(QString&)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:183:27: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  183 |            codecContext_->channels,
      |                           ^~~~~~~~
In file included from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.hh:11,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:4:
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:183:27: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  183 |            codecContext_->channels,
      |                           ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:183:27: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  183 |            codecContext_->channels,
      |                           ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:187:32: 警告:‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  187 |   auto layout = codecContext_->channel_layout;
      |                                ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1130:14: 附注:在此声明
 1130 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:187:32: 警告:‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  187 |   auto layout = codecContext_->channel_layout;
      |                                ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1130:14: 附注:在此声明
 1130 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:187:32: 警告:‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  187 |   auto layout = codecContext_->channel_layout;
      |                                ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1130:14: 附注:在此声明
 1130 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:189:83: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  189 |     layout                        = av_get_default_channel_layout( codecContext_->channels );
      |                                                                                   ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:189:83: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  189 |     layout                        = av_get_default_channel_layout( codecContext_->channels );
      |                                                                                   ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:189:83: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  189 |     layout                        = av_get_default_channel_layout( codecContext_->channels );
      |                                                                                   ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:189:66: 警告:‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
  189 |     layout                        = av_get_default_channel_layout( codecContext_->channels );
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:34:
/usr/include/libavutil/channel_layout.h:506:9: 附注:在此声明
  506 | int64_t av_get_default_channel_layout(int nb_channels);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:190:20: 警告:‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  190 |     codecContext_->channel_layout = layout;
      |                    ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1130:14: 附注:在此声明
 1130 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:190:20: 警告:‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  190 |     codecContext_->channel_layout = layout;
      |                    ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1130:14: 附注:在此声明
 1130 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:190:20: 警告:‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  190 |     codecContext_->channel_layout = layout;
      |                    ^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:1130:14: 附注:在此声明
 1130 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:193:28: 警告:‘SwrContext* swr_alloc_set_opts(SwrContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)’ is deprecated [-Wdeprecated-declarations]
  193 |   swr_ = swr_alloc_set_opts( nullptr,
      |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
  194 |                              layout,
      |                              ~~~~~~~
  195 |                              AV_SAMPLE_FMT_S16,
      |                              ~~~~~~~~~~~~~~~~~~
  196 |                              44100,
      |                              ~~~~~~
  197 |                              layout,
      |                              ~~~~~~~
  198 |                              codecContext_->sample_fmt,
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~
  199 |                              codecContext_->sample_rate,
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  200 |                              0,
      |                              ~~
  201 |                              nullptr );
      |                              ~~~~~~~~~
In file included from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.hh:14:
/usr/include/libswresample/swresample.h:260:20: 附注:在此声明
  260 | struct SwrContext *swr_alloc_set_opts(struct SwrContext *s,
      |                    ^~~~~~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc: In member function ‘bool Ffmpeg::DecoderContext::openOutputDevice(QString&)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:266:54: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  266 |   audioOutput->setAudioFormat( 44100, codecContext_->channels );
      |                                                      ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:266:54: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  266 |   audioOutput->setAudioFormat( 44100, codecContext_->channels );
      |                                                      ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:266:54: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  266 |   audioOutput->setAudioFormat( 44100, codecContext_->channels );
      |                                                      ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc: In member function ‘bool Ffmpeg::DecoderContext::normalizeAudio(AVFrame*, std::vector<unsigned char>&)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:326:38: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  326 |   auto dst_channels = codecContext_->channels;
      |                                      ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:326:38: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  326 |   auto dst_channels = codecContext_->channels;
      |                                      ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ffmpegaudio.cc:326:38: 警告:‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  326 |   auto dst_channels = codecContext_->channels;
      |                                      ^~~~~~~~
/usr/include/libavcodec/avcodec.h:1072:9: 附注:在此声明
 1072 |     int channels;
      |         ^~~~~~~~
[114/187] Building CXX object CMakeFiles/goldendict.dir/src/dict/mdx.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/mdx.cc: In member function ‘void Mdx::MdxArticleRequest::run()’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/mdx.cc:604:17: 警告:‘void QCryptographicHash::addData(const char*, qsizetype)’ is deprecated: Use the QByteArrayView overload instead [-Wdeprecated-declarations]
  604 |     hash.addData( articleBody.data(), articleBody.size() );
      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QtCore:76,
                 from /usr/include/qt6/QtConcurrent/QtConcurrentDepends:3,
                 from /usr/include/qt6/QtConcurrent/QtConcurrent:3,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ftshelpers.hh:11,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/mdx.cc:19:
/usr/include/qt6/QtCore/qcryptographichash.h:79:10: 附注:在此声明
   79 |     void addData(const char *data, qsizetype length);
      |          ^~~~~~~
[120/187] Building CXX object CMakeFiles/goldendict.dir/src/config.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.cc: In constructor ‘Config::HotKey::HotKey(const QKeySequence&)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.cc:118:26: 警告:‘constexpr QKeyCombination::operator int() constis deprecated: Use QKeyCombination instead of int [-Wdeprecated-declarations]
  118 |   modifiers( seq[ 0 ] & ~keyMask ),
      |                          ^~~~~~~
In file included from /usr/include/qt6/QtCore/qobjectdefs.h:12,
                 from /usr/include/qt6/QtCore/qobject.h:10,
                 from /usr/include/qt6/QtCore/QObject:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.hh:7,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.cc:4:
/usr/include/qt6/QtCore/qnamespace.h:1898:26: 附注:在此声明
 1898 |     constexpr Q_IMPLICIT operator int() const noexcept
      |                          ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.cc:119:20: 警告:‘constexpr QKeyCombination::operator int() constis deprecated: Use QKeyCombination instead of int [-Wdeprecated-declarations]
  119 |   key1( seq[ 0 ] & keyMask ),
      |                    ^~~~~~~
/usr/include/qt6/QtCore/qnamespace.h:1898:26: 附注:在此声明
 1898 |     constexpr Q_IMPLICIT operator int() const noexcept
      |                          ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.cc:120:20: 警告:‘constexpr QKeyCombination::operator int() constis deprecated: Use QKeyCombination instead of int [-Wdeprecated-declarations]
  120 |   key2( seq[ 1 ] & keyMask )
      |                    ^~~~~~~
/usr/include/qt6/QtCore/qnamespace.h:1898:26: 附注:在此声明
 1898 |     constexpr Q_IMPLICIT operator int() const noexcept
      |                          ^~~~~~~~
[122/187] Building CXX object CMake...dendict.dir/src/headwordsmodel.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/headwordsmodel.cc: In member function ‘virtual void HeadwordListModel::fetchMore(const QModelIndex&)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/headwordsmodel.cc:153:37: 警告:‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QSet<QString>; typename std::add_const<_Tp>::type = const QSet<QString>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  153 |   for ( const auto & word : qAsConst( headword ) ) {
      |                             ~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qmutex.h:7,
                 from /usr/include/qt6/QtCore/QMutex:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/dictionary.hh:11,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/headwordsmodel.hh:4,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/headwordsmodel.cc:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: 附注:在此声明
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[128/187] Building CXX object CMakeFiles/goldendict.dir/src/gestures.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc: In member function ‘virtual QGestureRecognizer::Result Gestures::GDPinchGestureRecognizer::recognize(QGesture*, QObject*, QEvent*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:84:55: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
   84 |       fewTouchPointsPresented      = ( ev->touchPoints().size() > 1 );
      |                                        ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QTouchEvent:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:4:
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:85:27: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
   85 |       if ( ev->touchPoints().size() == 2 ) {
      |            ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:86:53: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
   86 |         QTouchEvent::TouchPoint p1 = ev->touchPoints().at( 0 );
      |                                      ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:87:53: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
   87 |         QTouchEvent::TouchPoint p2 = ev->touchPoints().at( 1 );
      |                                      ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:89:45: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
   89 |         QPointF centerPoint = ( p1.screenPos() + p2.screenPos() ) / 2.0;
      |                                 ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/qevent.h:21:
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:89:62: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
   89 |         QPointF centerPoint = ( p1.screenPos() + p2.screenPos() ) / 2.0;
      |                                                  ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:92:50: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
   92 |           gest->startPosition[ 0 ] = p1.screenPos();
      |                                      ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:93:50: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
   93 |           gest->startPosition[ 1 ] = p2.screenPos();
      |                                      ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:108:36: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  108 |           QLineF line( p1.screenPos(), p2.screenPos() );
      |                        ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:108:52: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  108 |           QLineF line( p1.screenPos(), p2.screenPos() );
      |                                        ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:109:44: 警告:‘QPointF QEventPoint::lastScreenPos() constis deprecated: Use globalLastPosition() [-Wdeprecated-declarations]
  109 |           QLineF lastLine( p1.lastScreenPos(), p2.lastScreenPos() );
      |                            ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:108:13: 附注:在此声明
  108 |     QPointF lastScreenPos() const { return globalLastPosition(); }
      |             ^~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:109:64: 警告:‘QPointF QEventPoint::lastScreenPos() constis deprecated: Use globalLastPosition() [-Wdeprecated-declarations]
  109 |           QLineF lastLine( p1.lastScreenPos(), p2.lastScreenPos() );
      |                                                ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:108:13: 附注:在此声明
  108 |     QPointF lastScreenPos() const { return globalLastPosition(); }
      |             ^~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc: In member function ‘virtual QGestureRecognizer::Result Gestures::GDSwipeGestureRecognizer::recognize(QGesture*, QObject*, QEvent*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:213:55: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
  213 |       fewTouchPointsPresented      = ( ev->touchPoints().size() > 1 );
      |                                        ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:216:32: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
  216 |       else if ( ev->touchPoints().size() == 2 ) {
      |                 ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:219:53: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
  219 |         QTouchEvent::TouchPoint p1 = ev->touchPoints().at( 0 );
      |                                      ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:220:53: 警告:‘const QList<QEventPoint>& QTouchEvent::touchPoints() constis deprecated: Use points() [-Wdeprecated-declarations]
  220 |         QTouchEvent::TouchPoint p2 = ev->touchPoints().at( 1 );
      |                                      ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:938:31: 附注:在此声明
  938 |     const QList<QEventPoint> &touchPoints() const { return points(); }
      |                               ^~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:223:56: 警告:‘QPointF QEventPoint::startScreenPos() constis deprecated: Use globalPressPosition() [-Wdeprecated-declarations]
  223 |           swipe->lastPositions[ 0 ] = p1.startScreenPos().toPoint();
      |                                       ~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:98:13: 附注:在此声明
   98 |     QPointF startScreenPos() const { return globalPressPosition(); }
      |             ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:224:56: 警告:‘QPointF QEventPoint::startScreenPos() constis deprecated: Use globalPressPosition() [-Wdeprecated-declarations]
  224 |           swipe->lastPositions[ 1 ] = p2.startScreenPos().toPoint();
      |                                       ~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:98:13: 附注:在此声明
   98 |     QPointF startScreenPos() const { return globalPressPosition(); }
      |             ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:228:49: 警告:‘QPointF QEventPoint::startScreenPos() constis deprecated: Use globalPressPosition() [-Wdeprecated-declarations]
  228 |           swipe->setHotSpot( ( p1.startScreenPos() + p2.startScreenPos() ) / 2 );
      |                                ~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:98:13: 附注:在此声明
   98 |     QPointF startScreenPos() const { return globalPressPosition(); }
      |             ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:228:71: 警告:‘QPointF QEventPoint::startScreenPos() constis deprecated: Use globalPressPosition() [-Wdeprecated-declarations]
  228 |           swipe->setHotSpot( ( p1.startScreenPos() + p2.startScreenPos() ) / 2 );
      |                                                      ~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:98:13: 附注:在此声明
   98 |     QPointF startScreenPos() const { return globalPressPosition(); }
      |             ^~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:231:31: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  231 |         int dx1 = p1.screenPos().toPoint().x() - swipe->lastPositions[ 0 ].x();
      |                   ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:232:31: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  232 |         int dx2 = p2.screenPos().toPoint().x() - swipe->lastPositions[ 1 ].x();
      |                   ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:233:31: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  233 |         int dy1 = p1.screenPos().toPoint().y() - swipe->lastPositions[ 0 ].y();
      |                   ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:234:31: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  234 |         int dy2 = p2.screenPos().toPoint().y() - swipe->lastPositions[ 1 ].y();
      |                   ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:258:51: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  258 |           swipe->lastPositions[ 0 ] = p1.screenPos().toPoint();
      |                                       ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/gestures.cc:259:51: 警告:‘QPointF QEventPoint::screenPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  259 |           swipe->lastPositions[ 1 ] = p2.screenPos().toPoint();
      |                                       ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:96:13: 附注:在此声明
   96 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
[151/187] Building CXX object CMake...oldendict.dir/src/speechclient.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/speechclient.cc: In static member function ‘static SpeechClient::Engines SpeechClient::availableEngines()’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/speechclient.cc:40:79: 警告:‘QLocale::Country QLocale::country() constis deprecated: Use territory() instead [-Wdeprecated-declarations]
   40 |                                     ( QLocale::countryToString( locale.country() ) ),
      |                                                                 ~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qcalendar.h:10,
                 from /usr/include/qt6/QtCore/qdatetime.h:8,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/config.hh:11,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/speechclient.hh:5,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/speechclient.cc:1:
/usr/include/qt6/QtCore/qlocale.h:926:13: 附注:在此声明
  926 |     Country country() const;
      |             ^~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/speechclient.cc:40:63: 警告:‘static QString QLocale::countryToString(Country)’ is deprecated: Use territoryToString(Territory) instead [-Wdeprecated-declarations]
   40 |                                     ( QLocale::countryToString( locale.country() ) ),
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qlocale.h:1104:20: 附注:在此声明
 1104 |     static QString countryToString(Country country);
      |                    ^~~~~~~~~~~~~~~
[154/187] Building CXX object CMake...ndict.dir/src/ui/maintabwidget.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/maintabwidget.cc: In member function ‘virtual bool MainTabWidget::eventFilter(QObject*, QEvent*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/maintabwidget.cc:58:16: 警告:‘int QMouseEvent::y() constis deprecated: Use position() [-Wdeprecated-declarations]
   58 |     if ( mev->y() >= tabBar()->rect().y() && mev->y() <= tabBar()->rect().y() + tabBar()->rect().height()
      |          ~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/maintabwidget.cc:6:
/usr/include/qt6/QtGui/qevent.h:227:16: 附注:在此声明
  227 |     inline int y() const { return qRound(position().y()); }
      |                ^
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/maintabwidget.cc:58:52: 警告:‘int QMouseEvent::y() constis deprecated: Use position() [-Wdeprecated-declarations]
   58 |     if ( mev->y() >= tabBar()->rect().y() && mev->y() <= tabBar()->rect().y() + tabBar()->rect().height()
      |                                              ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: 附注:在此声明
  227 |     inline int y() const { return qRound(position().y()); }
      |                ^
[159/187] Building CXX object CMakeFiles/goldendict.dir/src/main.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/main.cc: In function ‘int main(int, char**)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/main.cc:547:72: 警告:‘static QString QLibraryInfo::location(LibraryLocation)’ is deprecated: Use path() [-Wdeprecated-declarations]
  547 |     qtTranslator.load( "qt_extra_" + localeName, QLibraryInfo::location( QLibraryInfo::TranslationsPath ) );
      |                                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QtCore:140,
                 from /usr/include/qt6/QtNetwork/QtNetworkDepends:3,
                 from /usr/include/qt6/QtNetwork/QtNetwork:3,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/article_netmgr.hh:7,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/mainwindow.hh:17,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/main.cc:6:
/usr/include/qt6/QtCore/qlibraryinfo.h:48:20: 附注:在此声明
   48 |     static QString location(LibraryLocation location)
      |                    ^~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/main.cc:547:22: 警告:ignoring return value of ‘bool QTranslator::load(const QString&, const QString&, const QString&, const QString&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  547 |     qtTranslator.load( "qt_extra_" + localeName, QLibraryInfo::location( QLibraryInfo::TranslationsPath ) );
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QtCore:280:
/usr/include/qt6/QtCore/qtranslator.h:33:24: 附注:在此声明
   33 |     [[nodiscard]] bool load(const QString & filename,
      |                        ^~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/main.cc:551:18: 警告:ignoring return value of ‘bool QTranslator::load(const QString&, const QString&, const QString&, const QString&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  551 |   translator.load( Config::getLocDir() + "/" + localeName );
      |   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qtranslator.h:33:24: 附注:在此声明
   33 |     [[nodiscard]] bool load(const QString & filename,
      |                        ^~~~
[184/187] Building CXX object CMake...oldendict.dir/src/ui/scanpopup.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc: In member function ‘virtual bool ScanPopup::eventFilter(QObject*, QEvent*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc:710:46: 警告:‘QPoint QMouseEvent::globalPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  710 |       reactOnMouseMove( mouseEvent->globalPos() );
      |                         ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QKeyEvent:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/common/utils.hh:9,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/dict/dictionary.hh:21,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/article_netmgr.hh:16,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.hh:7,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc:4:
/usr/include/qt6/QtGui/qevent.h:223:19: 附注:在此声明
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc: In member function ‘virtual void ScanPopup::mousePressEvent(QMouseEvent*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc:774:48: 警告:‘QPoint QMouseEvent::globalPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  774 |   if ( !frameGeometry().contains( ev->globalPos() ) ) {
      |                                   ~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: 附注:在此声明
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc:781:29: 警告:‘QPoint QMouseEvent::globalPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  781 |     startPos = ev->globalPos();
      |                ~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: 附注:在此声明
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc: In member function ‘virtual void ScanPopup::mouseMoveEvent(QMouseEvent*)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/scanpopup.cc:791:37: 警告:‘QPoint QMouseEvent::globalPos() constis deprecated: Use globalPosition() [-Wdeprecated-declarations]
  791 |     QPoint newPos = event->globalPos();
      |                     ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: 附注:在此声明
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
[185/187] Building CXX object CMake...dendict.dir/src/ui/articleview.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/articleview.cc: 在 lambda 函数中:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/articleview.cc:1401:48: 警告:‘QVariant::Type QVariant::type() constis deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
 1401 |                                     if ( v.type() == QVariant::String )
      |                                          ~~~~~~^~
In file included from /usr/include/qt6/QtGui/qaction.h:13,
                 from /usr/include/qt6/QtGui/QAction:1,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/articleview.hh:7,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/articleview.cc:4:
/usr/include/qt6/QtCore/qvariant.h:428:10: 附注:在此声明
  428 |     Type type() const
      |          ^~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/articleview.cc: 在 lambda 函数中:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/articleview.cc:1417:21: 警告:‘QVariant::Type QVariant::type() constis deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
 1417 |     if ( result.type() == QVariant::String ) {
      |          ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:428:10: 附注:在此声明
  428 |     Type type() const
      |          ^~~~
[186/187] Building CXX object CMake...ldendict.dir/src/ui/mainwindow.cc.o
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/mainwindow.cc: In member function ‘void MainWindow::toggleMainWindow(bool)’:
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/mainwindow.cc:2797:26: 警告:‘static void QApplication::setActiveWindow(QWidget*)’ is deprecated: Use QWidget::activateWindow() instead. [-Wdeprecated-declarations]
 2797 |     qApp->setActiveWindow( this );
      |                          ^
In file included from /usr/include/qt6/QtWidgets/QApplication:1,
                 from /home/nication/goldendict-ng-git/src/build_dir/goldendict_autogen/include/ui_mainwindow.h:14,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/mainwindow.hh:14,
                 from /home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/mainwindow.cc:10:
/usr/include/qt6/QtWidgets/qapplication.h:84:17: 附注:在此声明
   84 |     static void setActiveWindow(QWidget* act);
      |                 ^~~~~~~~~~~~~~~
/home/nication/goldendict-ng-git/src/goldendict-ng-git/src/ui/mainwindow.cc:2812:26: 警告:‘static void QApplication::setActiveWindow(QWidget*)’ is deprecated: Use QWidget::activateWindow() instead. [-Wdeprecated-declarations]
 2812 |     qApp->setActiveWindow( this );
      |                          ^
/usr/include/qt6/QtWidgets/qapplication.h:84:17: 附注:在此声明
   84 |     static void setActiveWindow(QWidget* act);
      |                 ^~~~~~~~~~~~~~~
[187/187] Linking CXX executable goldendict
==> 正在进入 fakeroot 环境...
==> 正在开始 package()...
-- Install configuration: ""
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/bin/goldendict
-- Set runtime path of "/home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/bin/goldendict" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/applications/io.github.xiaoyifang.goldendict_ng.desktop
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/metainfo/io.github.xiaoyifang.goldendict_ng.metainfo.xml
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/pixmaps/goldendict.png
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/ar_SA.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/ay_BO.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/be_BY.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/bg_BG.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/crowdin.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/cs_CZ.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/de_CH.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/de_DE.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/el_GR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/eo_UY.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/es_AR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/es_BO.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/es_ES.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/fa_IR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/fi_FI.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/fr_FR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/hi_IN.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/ie_001.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/it_IT.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/ja_JP.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/jbo_EN.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/ko_KR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/lt_LT.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/mk_MK.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/nl_NL.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/pl_PL.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/pt_BR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/pt_PT.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/qt_extra_es.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/qt_extra_it.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/qt_extra_lt.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/qtwebengine_zh_CN.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/qu_PE.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/ru_RU.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/sk_SK.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/sq_AL.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/sr_SP.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/sv_SE.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/tg_TJ.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/tk_TM.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/tr_TR.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/uk_UA.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/vi_VN.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/zh_CN.qm
-- Installing: /home/nication/goldendict-ng-git/pkg/goldendict-ng-git/usr/share/goldendict/locale/zh_TW.qm
==> 正在清理安装...
  -> 正在删除 libtool 文件...
  -> 正在清除不打算要的文件...
  -> 正在移除静态库文件...
  -> 正在从二进制文件和库中清除不需要的系统符号...
  -> 正在压缩 man 及 info 文档...
==> 正在检查打包问题...
==> 警告: 软件包含有对 $srcdir 的引用
usr/bin/goldendict
==> 正在构建软件包"goldendict-ng-git"...
  -> 正在生成 .PKGINFO 文件...
  -> 正在生成 .BUILDINFO 文件...
  -> 正在生成 .MTREE 文件...
  -> 正在压缩软件包...
==> 正在离开 fakeroot 环境。
==> 完成创建:goldendict-ng-git 23.11.09.r5242.b6420c87-1 (2023年12月03日 星期日 23时08分36秒)

5. 切换目录:cd pkg

6. 安装:sudo pacman -U goldendict-ng-git-23.11.09.r5242.b6420c87-1-x86_64.pkg.tar.zst 根据提示,输入root密码

sudo pacman -U goldendict-ng-git-23.11.09.r5242.b6420c87-1-x86_64.pkg.tar.zst
[sudo] nication 的密码:
正在加载软件包...
正在解析依赖关系...
正在查找软件包冲突...

软件包 (1) goldendict-ng-git-23.11.09.r5242.b6420c87-1

全部安装大小:  10.49 MiB

:: 进行安装吗? [Y/n]
(1/1) 正在检查密钥环里的密钥                       [################] 100%
(1/1) 正在检查软件包完整性                         [################] 100%
(1/1) 正在加载软件包文件                           [################] 100%
(1/1) 正在检查文件冲突                             [################] 100%
(1/1) 正在检查可用存储空间                         [################] 100%
:: 正在处理软件包的变化...
(1/1) 正在安装 goldendict-ng-git                   [################] 100%
ldconfig: 文件 /usr/lib/libswt-awt-gtk-4956r13.so 为空,未检查。
:: 正在运行事务后钩子函数...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating the desktop file MIME type cache...

7. 大功告成。

posted @ 2023-12-03 23:19  叕叒双又  阅读(138)  评论(0编辑  收藏  举报