Yet another lightweight image viewer.
Go to file
Weblate (bot) b3011f47e4
Translations update from Weblate (#22)
* Translated using Weblate (French)

Currently translated at 100.0% (111 of 111 strings)

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

* Translated using Weblate (German)

Currently translated at 97.2% (108 of 111 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (111 of 111 strings)

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

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
2021-01-20 00:15:51 +08:00
.github/workflows fix(ci): perform apt update before install package for ubuntu build 2020-12-17 13:56:34 +08:00
app fix: also move the windows include for windows build 2021-01-10 15:23:49 +08:00
assets chore: adjust dir structure, add translator name list 2020-12-25 13:36:34 +08:00
cmake build: vendor FindLibExiv2.cmake from ECM 2020-11-15 20:28:05 +08:00
dist license: wrong license descripted in appdata.xml file 2020-10-24 09:39:42 +08:00
translations Translations update from Weblate (#22) 2021-01-20 00:15:51 +08:00
.gitignore fix: MSVC build warning in bottombuttongroup.cpp 2020-10-29 00:17:48 +08:00
appveyor.yml ci(windows): also build AOM av1 decoder for libavif 2020-12-22 16:16:16 +08:00
CMakeLists.txt chore: no longer based on QMainWindow 2020-12-29 23:28:21 +08:00
LICENSE feat: new about dialog 2020-09-28 20:10:33 +08:00
pineapple-pictures.pro fix: install() path for asset file, add ts files for .pro file 2020-12-25 13:53:57 +08:00
README.md Update README.md 2020-12-14 13:21:30 +08:00
README.zh_CN.md Update README.md 2020-12-14 13:21:30 +08:00

Yet another image viewer.

CI Build Status
Windows Build Windows build status
macOS Build macOS CI
Ubuntu 20.04 Build Ubuntu 20.04 CI

Pineapple Pictures - Main Window

Get it!

Help Translation!

Translate this project on Weblate!

Build it manually:

Current state, we need:

  • cmake: as the build system.
  • qt5 with qt5-svg and qt5-tools: since the app is using Qt.
  • libexiv2: able to display more image metadata. (optional, but recommended)

Then we can build it with any proper c++ compiler like g++ or msvc.

Building it just requires normal cmake building steps:

$ mkdir build && cd build
$ cmake ..
$ cmake --build . # or simply using `make` if you are using Makefile as the cmake generator.

After that, a ppic executable file will be available to use. You can also optionally install it by using the target install (or simply make install in case you are using Makefile). After the build process, you can also use cpack to make a package.

The project will try to build with exiv2 when it's available at build time, if you would like to build the project without exiv2, pass -DEXIV2_METADATA_SUPPORT=OFF to cmake. The project will also not use exiv2 if it's not found, the EXIV2_METADATA_SUPPORT option can be useful if you have exiv2 but specifically don't want to use it.

Image formats supports rely on Qt's imageformats plugins, just get the plugins you need from your distro's package manager will be fine. For Windows user, you may need build and install the imageformats plugin manually, read the content below.

Linux

Just normal build process as other program will be fine. Nothing special ;)

For Archlinux there are also a PKGBUILD you can use.

For packaging to debian-based distro, the CMakeLists.txt provides some cpack configurations for generating a .deb package. After the build process, use cpack -G DEB to generate the package. You can also take .github/workflows/ubuntu.yml as a reference.

For this project, DEB is the only supported cpack generator in current state, feel free to submit a PR if you like improving cpack support for this project.

Windows

The normal build steps for Linux is also applied to Windows, but since Windows doesn't have a decent package manager, so if you need any other image formats support other than the supported formats which Qt provided, you need to get and build these imageformats plugins manually and vendor it. It's optional and can be skipped if you don't need extra image formats support.

For the Windows binary I provided, kimageformats plugin is used (for formats like kra, xcf, psd and etc.). You can take appveyor.yml as a reference to learn what I did when building the Windows binary.

KDE Craft environment also can be used to build and package this program. I did also created a blueprint for building this project, but since I don't have a CI to run KDE Craft build, the blueprint repo are not provided here. Maybe sometimes later.

macOS

I don't have a mac, so no support at all. There is also a GitHub Action (see .github/workflows/macos.yml) running macOS build though so at least it can build. Feel free to submit a PR if you would like to give some love to the macOS build ;P

License

Pineapple Pictures as a whole is licensed under MIT license. Individual files may have a different, but compatible license.