PIKApp/README

81 lines
3.1 KiB
Plaintext

-------------------------------------------------------------------------------
Photo and Image Kooker App (Pika)
a fork of
Gnu Image Manipulation Program
created with
Heckimp
brought to you by Aldercone Studio
http://aldercone.studio
http://heckin.technology
-------------------------------------------------------------------------------
This fork was prepared from the GnuImp unstable branch. It works reasonably well, though.
Presently python and vala scripts don't seem to be working due to bugs upstream. We'll
keep abreast upstream though.
Build instructions (Linux / Unix-likes):
You will need gegl and babl, and to build newish version of them. The easiest way to do
this is to go to the respective homepages, clone the source and build them as instructed.
https://www.gegl.org/babl/
https://www.gegl.org/
On some systems libbabl and libgegl might be up to date enough to use the system packages
but they are somewhat tightly coupled.
Once that is installed, Pika can be built from source. You will also need relatively
recent GTK3 development libraries and numerous other libraries for file format support and
similar.
Partial package list on Debian/Ubuntu/etc:
appstream-util bison build-essential cmake desktop-file-utils flex gjs libaa1-dev libappstream-glib-dev libarchive-dev
libatk1.0-dev libcairo2-dev libcfitsio-dev libexiv2-dev libfontconfig-dev libfreetype-dev libgdk-pixbuf-2.0-dev
libgexiv2-dev libglib2.0-dev libgs-dev libgtk-3-dev libgudev-1.0-dev libharfbuzz-dev libheif-dev libjpeg-dev
libjson-glib-dev liblcms2-dev libmng-dev libmypaint-dev libopenexr-dev libopenjp2-7-dev libpango1.0-dev libpng-dev
libpoppler-dev libpoppler-glib-dev librsvg2-dev libtiff-dev libunwind-dev libwebp-dev libwmf-dev libx11-dev
libxcursor-dev libxext-dev libxfixes-dev libxmu-dev libxpm-dev libzstd-dev luajit meson mypaint-brushes ninja-build
poppler-data python3-gi libxml2-utils xsltproc gobject-introspection libgirepository1.0-dev libbz2-dev gettext
Seems like a lot! But many of these are for format support. This is for the maximal setup we've tested.
Once those are installed, it's time to build!
First run meson to make the build files:
meson _build --prefix=/usr/local --buildtype=release -Dpython=enabled -Dvala=disabled -Dgi-docgen=disabled
This will also tell you if you're missing important bits. We disable vala and gi-docgen because they fail currently,
the docgen perhaps is something we can fix but haven't yet.
Next you build the actual program by doing:
cd _build
ninja
> Note that there is a bug with the current heckimp in dealing with the about dialog. To fix it, wait until
> ninja dies in the fist build, and then `echo > app/dialogs/authors.h` and then run `ninja` again.
Then if successful, install with
sudo ninja install
And that's it! Pika should show up in your menu if everything worked out.
If everything didn't work out, let us know, we can probably help! Contact us on fediverse @aldercone@mastodon.art.
If you want to help, contact us also! We'll be keeping synced with upstream as best as possible and working on
containerized builds and builds for other platforms as soon as we can!