7 Commits

Author SHA1 Message Date
10e1e91e7b chore: add donation link to AppStream metainfo 2025-10-13 00:04:07 +08:00
ef887d7a06 chore(CI): switch back to Qt 6.9.3 and add cache for install-qt-action 2025-10-08 13:48:12 +08:00
5446d94966 chore(CI): use Qt 6.10.0 2025-10-08 13:25:42 +08:00
a2f42c2e3d chore: update Contribution section in README.md 2025-09-27 15:50:25 +08:00
56b18353db chore: update release info to 1.2.0 2025-09-20 00:03:34 +08:00
9170765344 fix(CI): appveyor FTBFS due to mingw location change 2025-09-17 00:19:30 +08:00
ee7b3beda4 i18n: Translated using Weblate (Turkish) (#161)
Currently translated at 100.0% (168 of 168 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

Co-authored-by: Sabri Ünal <yakushabb@gmail.com>
2025-09-13 20:47:59 +08:00
9 changed files with 77 additions and 22 deletions

View File

@ -12,8 +12,9 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.9.2'
version: '6.9.3'
modules: 'qtimageformats'
cache: true
- name: Install Conan and Dependencies
id: conan
working-directory: ./

View File

@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
include:
- qt_ver: '6.9.2'
- qt_ver: '6.9.3'
vs: '2022'
aqt_arch: 'win64_msvc2022_64'
msvc_arch: 'x64'
@ -23,6 +23,7 @@ jobs:
arch: ${{ matrix.aqt_arch }}
version: ${{ matrix.qt_ver }}
modules: 'qtimageformats'
cache: true
- name: Build
shell: cmd
run: |
@ -44,7 +45,7 @@ jobs:
strategy:
matrix:
include:
- qt_ver: '6.9.2'
- qt_ver: '6.9.3'
vs: '2022'
aqt_arch: 'win64_msvc2022_64'
msvc_arch: 'x64'
@ -59,6 +60,7 @@ jobs:
arch: ${{ matrix.aqt_arch }}
version: ${{ matrix.qt_ver }}
modules: 'qtimageformats'
cache: true
- name: Build
shell: cmd
run: |
@ -90,9 +92,9 @@ jobs:
cmake --build build_dependencies/aom --config Release --target=install || goto :error
echo ::endgroup::
echo ::group::===== libavif =====
curl -fsSL -o libavif-v1_2_1.zip https://github.com/AOMediaCodec/libavif/archive/v1.2.1.zip
7z x libavif-v1_2_1.zip -y -o"dependencies_src"
ren .\dependencies_src\libavif-1.2.1 libavif || goto :error
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"
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=ON -DAVIF_LIBYUV=LOCAL
cmake --build build_dependencies/libavif --config Release --target=install || goto :error
echo ::endgroup::

View File

@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.16)
project(pineapple-pictures VERSION 1.1.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(FeatureSummary)

15
NEWS
View File

@ -1,3 +1,18 @@
Version 1.2.0
~~~~~~~~~~~~~
Released: 2025-09-21
Features:
* Long image mode that detect extra wide image and auto fit by its thin side
* Windows: Add product version to binary metadata / resource file
Miscellaneous:
* Update translations
* Update libavif version for Windows binary build
Contributors:
Heimen Stoffels, albanobattistella, Sabri Ünal
Version 1.1.1
~~~~~~~~~~~~~
Released: 2025-08-02

View File

@ -25,10 +25,20 @@ Pineapple Pictures is a lightweight image viewer that allows you view JPEG, PNG,
[![Packaging status](https://repology.org/badge/vertical-allrepos/pineapple-pictures.svg?columns=4)](https://repology.org/project/pineapple-pictures/versions)
## Help Translation!
## Contribution
Beside feedback and code contribution, other contributions are also welcome!
### Help Translation!
[Translate this project on Weblate!](https://hosted.weblate.org/projects/pineapple-pictures/)
### Funding
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/blumia)
[![Afdian](https://static.afdiancdn.com/static/img/logo/logo.png)Afdian](https://afdian.com/a/BLumia)
## Build it manually:
Current state, we need:

View File

@ -26,10 +26,20 @@
[![打包状态](https://repology.org/badge/vertical-allrepos/pineapple-pictures.svg?columns=4)](https://repology.org/project/pineapple-pictures/versions)
## 帮助翻译!
## 参与贡献
除了参与反馈和代码贡献外,也欢迎各种类型的贡献!
### 帮助翻译!
[在 Weblate 上帮助此项目翻译到更多语言!](https://hosted.weblate.org/projects/pineapple-pictures/)
### 打赏
[![Afdian](https://static.afdiancdn.com/static/img/logo/logo.png)Afdian | 爱发电](https://afdian.com/a/BLumia)
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/blumia)
## 手动构建步骤:
当前状态,我们需要先确保如下依赖可用:

View File

@ -246,7 +246,7 @@
<message>
<location filename="../mainwindow.cpp" line="805"/>
<source>Failed to move file to trash</source>
<translation type="unfinished"></translation>
<translation>Dosya çöpe taşınamadı</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="806"/>
@ -325,7 +325,7 @@
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Fit long image</source>
<translation type="unfinished"></translation>
<translation>Geniş resmi sığdır</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
@ -758,7 +758,7 @@
<message>
<location filename="../settingsdialog.cpp" line="72"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
<translation>Kısayolların var olan kısayollarla çakışma durumunu denetleyin.</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="79"/>
@ -803,7 +803,7 @@
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Windowed</source>
<translation type="unfinished"></translation>
<translation>Pencereli</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="97"/>
@ -837,7 +837,7 @@
<message>
<location filename="../settingsdialog.cpp" line="124"/>
<source>Use built-in close window animation</source>
<translation type="unfinished"></translation>
<translation>Yerleşik kapat pencere canlandırmasını kullan</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="125"/>
@ -847,12 +847,12 @@
<message>
<location filename="../settingsdialog.cpp" line="126"/>
<source>Loop the loaded gallery</source>
<translation type="unfinished"></translation>
<translation>Yüklenen galeriyi döngüye al</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="127"/>
<source>Auto long image mode</source>
<translation type="unfinished"></translation>
<translation>Kendiliğinden uzun resim kipi</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="128"/>

View File

@ -10,7 +10,7 @@ environment:
matrix:
- job_name: mingw_64_qt6_8
QTDIR: C:\Qt\6.8\mingw_64
MINGW64: C:\Qt\Tools\mingw1310_64
MINGW64: C:\Qt\mingw_64\Tools\mingw1310_64
KF_BRANCH: master
EXIV2_VERSION: "0.28.5"
EXIV2_CMAKE_OPTIONS: "-DEXIV2_ENABLE_BROTLI=OFF -DEXIV2_ENABLE_INIH=OFF -DEXIV2_BUILD_EXIV2_COMMAND=OFF"
@ -74,12 +74,12 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER%
# install libavif for avif format support of KImageFormats
- cd %LIBAVIF%
- curl -fsSL -o libavif-v1_1_1.zip https://github.com/AOMediaCodec/libavif/archive/v1.1.1.zip
- 7z x libavif-v1_1_1.zip -y
- cd libavif-1.1.1
- 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
- cd libavif-1.3.0
- mkdir build
- cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_LIBYUV=ON
- 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 --target install/strip
- cd %APPVEYOR_BUILD_FOLDER%
@ -144,7 +144,7 @@ build_script:
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\karchive\LICENSES\LGPL-2.0-or-later.txt License.KArchive.txt
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\kimageformats\LICENSES\LGPL-2.1-or-later.txt License.kimageformats.txt
- copy %LIBEXPAT%\libexpat-R_2_6_2\expat\COPYING License.expat.txt
- copy %LIBAVIF%\libavif-1.1.1\LICENSE License.libavif.txt
- copy %LIBAVIF%\libavif-1.3.0\LICENSE License.libavif.txt
- copy %LIBEXIV2%\exiv2-%EXIV2_VERSION%\COPYING License.exiv2.txt
# TODO: Qt, zlib
- cd ..

View File

@ -40,6 +40,7 @@
<launchable type="desktop-id">net.blumia.pineapple-pictures.desktop</launchable>
<url type="homepage">https://github.com/BLumia/pineapple-pictures</url>
<url type="bugtracker">https://github.com/BLumia/pineapple-pictures/issues</url>
<url type="donation">https://ko-fi.com/blumia</url>
<url type="translate">https://hosted.weblate.org/projects/pineapple-pictures/</url>
<provides>
<binary>ppic</binary>
@ -80,6 +81,22 @@
</screenshot>
</screenshots>
<releases>
<release type="stable" version="1.2.0" date="2025-09-21T00:00:00Z">
<description>
<p>This release adds the following features:</p>
<ul>
<li>Long image mode that detect extra wide image and auto fit by its thin side</li>
<li>Windows: Add product version to binary metadata / resource file</li>
</ul>
<p>This release includes the following changes:</p>
<ul>
<li>Update translations</li>
<li>Update libavif version for Windows binary build</li>
</ul>
<p>With contributions from:</p>
<p>Heimen Stoffels, albanobattistella, Sabri Ünal</p>
</description>
</release>
<release type="stable" version="1.1.1" date="2025-08-02T00:00:00Z">
<description>
<p>This release adds the following feature:</p>