1 Commits

Author SHA1 Message Date
f915cec339 chore(CI): bump Qt version to 6.10.1 2025-11-20 23:28:30 +08:00
8 changed files with 9 additions and 48 deletions

View File

@ -94,7 +94,7 @@ jobs:
curl -fsSL -o libavif-v1_3_0.zip https://github.com/AOMediaCodec/libavif/archive/v1.3.0.zip curl -fsSL -o libavif-v1_3_0.zip https://github.com/AOMediaCodec/libavif/archive/v1.3.0.zip
7z x libavif-v1_3_0.zip -y -o"dependencies_src" 7z x libavif-v1_3_0.zip -y -o"dependencies_src"
ren .\dependencies_src\libavif-1.3.0 libavif || goto :error ren .\dependencies_src\libavif-1.3.0 libavif || goto :error
cmake ./dependencies_src/libavif -Bbuild_dependencies/libavif -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DAVIF_CODEC_AOM=SYSTEM -DAVIF_CODEC_AOM_DECODE=ON -DAVIF_CODEC_AOM_ENCODE=ON -DAVIF_LIBYUV=LOCAL cmake ./dependencies_src/libavif -Bbuild_dependencies/libavif -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DAVIF_CODEC_AOM=ON -DAVIF_LIBYUV=LOCAL
cmake --build build_dependencies/libavif --config Release --target=install || goto :error cmake --build build_dependencies/libavif --config Release --target=install || goto :error
echo ::endgroup:: echo ::endgroup::
echo ::group::===== expat ===== echo ::group::===== expat =====
@ -120,13 +120,11 @@ jobs:
cmake --build build_dependencies/kimageformats --config Release --target=install || goto :error cmake --build build_dependencies/kimageformats --config Release --target=install || goto :error
echo ::endgroup:: echo ::endgroup::
:: ------ app ------ :: ------ app ------
echo ::group::===== App (Build'n'Install) ===== cmake -Bbuild . -DCMAKE_INSTALL_PREFIX="%PWD%\build\"
cmake -Bbuild .
cmake --build build --config Release cmake --build build --config Release
cmake --install build --config Release --prefix "%PWD%\build" cmake --build build --config Release --target=install
echo ::endgroup::
:: ------ pkg ------ :: ------ pkg ------
windeployqt --verbose=2 --no-compiler-runtime --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe
robocopy ./dependencies_bin/bin build/bin *.dll robocopy ./dependencies_bin/bin build/bin *.dll
if ErrorLevel 8 (exit /B 1) if ErrorLevel 8 (exit /B 1)
copy LICENSE build\bin copy LICENSE build\bin

4
.gitignore vendored
View File

@ -16,7 +16,3 @@ cmake-build-*/
# IDE/Editor config folders # IDE/Editor config folders
.vscode/ .vscode/
.idea/ .idea/
.qtcreator/
# Clangd cache
.cache/

View File

@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
project(pineapple-pictures VERSION 1.2.1) # don't forget to update NEWS file and AppStream metadata. project(pineapple-pictures VERSION 1.2.0) # don't forget to update NEWS file and AppStream metadata.
include(GNUInstallDirs) include(GNUInstallDirs)
include(FeatureSummary) include(FeatureSummary)

16
NEWS
View File

@ -1,19 +1,3 @@
Version 1.2.1
~~~~~~~~~~~~~
Released: 2025-11-22
Bugfixes:
* Fix incorrect color when display some CMYK images.
Miscellaneous:
* Now use Qt 6.10.1 for pre-built binary
* Update README description and AppStream metainfo
* Update translations
* Update libavif, AOM and expat version for Windows binary build
Contributors:
albanobattistella
Version 1.2.0 Version 1.2.0
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
Released: 2025-09-21 Released: 2025-09-21

View File

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2025 Gary Wang <git@blumia.net> // SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
@ -105,7 +105,7 @@ AboutDialog::AboutDialog(QWidget *parent)
const QString mitLicense(QStringLiteral(R"(Expat/MIT License const QString mitLicense(QStringLiteral(R"(Expat/MIT License
Copyright &copy; 2025 BLumia Copyright (c) 2025 BLumia
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -321,7 +321,7 @@
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <location filename="../actionmanager.cpp" line="105"/>
<source>Fit long image</source> <source>Fit long image</source>
<translation>Adatta immagine lunga</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="108"/> <location filename="../actionmanager.cpp" line="108"/>

View File

@ -79,7 +79,7 @@ build_script:
- cd libavif-1.3.0 - cd libavif-1.3.0
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DAVIF_CODEC_AOM=SYSTEM -DAVIF_CODEC_AOM_DECODE=ON -DAVIF_CODEC_AOM_ENCODE=ON -DAVIF_LIBYUV=LOCAL - cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DAVIF_CODEC_AOM=ON -DAVIF_LIBYUV=LOCAL
- cmake --build . --config Release - cmake --build . --config Release
- cmake --build . --config Release --target install/strip - cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%

View File

@ -81,23 +81,6 @@
</screenshot> </screenshot>
</screenshots> </screenshots>
<releases> <releases>
<release type="stable" version="1.2.1" date="2025-11-22T00:00:00Z">
<description>
<p>This release fixes the following bug:</p>
<ul>
<li>Fix incorrect color when display some CMYK images.</li>
</ul>
<p>This release includes the following changes:</p>
<ul>
<li>Now use Qt 6.10.1 for pre-built binary</li>
<li>Update README description and AppStream metainfo</li>
<li>Update translations</li>
<li>Update libavif, AOM and expat version for Windows binary build</li>
</ul>
<p>With contributions from:</p>
<p>albanobattistella</p>
</description>
</release>
<release type="stable" version="1.2.0" date="2025-09-21T00:00:00Z"> <release type="stable" version="1.2.0" date="2025-09-21T00:00:00Z">
<description> <description>
<p>This release adds the following features:</p> <p>This release adds the following features:</p>