Commit Graph

193 Commits

Author SHA1 Message Date
Jehan fcc52da986 build: no need to embed lcms2 in our flatpak anymore.
With the bump of our runtime dependency, lcms 2.7 is now available from
the runtime environment.
2017-06-02 02:08:30 +02:00
Jehan 639e69c627 build: bumping flatpak dependency to GNOME 3.24 runtime. 2017-06-01 22:34:04 +02:00
Jehan 9391a0ae6b build: make the flatpak remote-add call clearer. 2017-06-01 01:01:34 +02:00
Jehan 590924f856 build: update the flatpak-howto.
In particular, I didn't have the correct metadata because I was missing
appstream-compose. This should be a dependency of flatpak. But for the
time being, let's just have a note in our howto.
2017-05-12 21:44:41 +02:00
Jehan 6265282115 build: update flatpak-howto.txt to build both 32 and 64-bit from...
...same manifest.
2017-05-03 22:48:53 +02:00
Jehan 81a44d5fb0 build: remove workaround for a flatpak bug.
The GNOME sdk runtime used to be built which flags not appreciated by
older CPUs. This has now been fixed. Let's get rid of our workaround.
See https://github.com/flatpak/flatpak/issues/143
2017-04-13 16:22:24 +02:00
Marco Ciampa a774b24270 Small fix in the Windows Installer Italian translation 2017-02-14 12:08:15 +01:00
Jehan c8ebd043aa build: workaround python2 crashes in Flatpak.
See the upstream issue where python2 would crash on some platforms, yet
not others: https://github.com/flatpak/flatpak/issues/143
For this, I disable introspection on GEGL (which is anyway not useful
in the Flatpak build, I believe), and wrap gdbus-codegen in a temporary
build script for GIMP to force it to use Python 3 (I can't force
globally the $PYTHON environment variable like on Webkit because GIMP
needs Python 2 as dependency).
2017-02-13 15:38:05 +01:00
Jehan afc69f83ae build: fix Webkit build in Flatpak package.
For some reason, Webkit would not build with Python 2 on a different
machine though it did on mine. Let's just force Python 3 usage (for
build only, not as a runtime dependency) by setting the $PYTHON
environment variable during this build. Anyway Python 3 is available
from the base build so it's not a new dependency.
2017-02-13 15:36:51 +01:00
Michael Henning 6c983eb149 build/win: Upgrade dependencies. 2017-02-04 16:29:36 -05:00
Michael Henning e00b0db8bf build/win: Upgrade a few dependencies to fix build 2017-02-04 15:17:21 -05:00
Jehan d33d80a518 build: poppler-data added as a submodule of poppler. 2017-02-02 21:41:15 +01:00
Jehan 4c33008f5d build: factorize a bit the flatpak manifest.
We can actually group modules together to mark their relationship,
and easily deactivate them together if needed.
I grouped all Python modules, Exiv2 under GEXiv2, ilmbase under
openEXR, and finally libpng and lcms2 under a "duplicate-dependencies"
module to indicate that these modules are available in the runtime
(under a lower version, below our requirements) so we should check
whether to remove them, upon runtime update.
2017-02-01 14:13:32 +01:00
Jehan c09b54d316 build: enable WebKit dependency and get a full-feature Flatpak build!
The build has been fixed by a patch from Upstream:
https://bugs.webkit.org/show_bug.cgi?id=156510
Note that WebKit takes hours to build, so if you just want to test
Flatpak, you may prefer disable this module again.

We now have a full-feature Flatpak build, except for libgudev, which
means that special input devices probably won't work in the GIMP
Flatpak. It is to be noted that Flatpak developers told me that
libudev won't work inside the sandbox anyway. A portal will have
to be implemented. See:
https://github.com/flatpak/flatpak/issues/12#issuecomment-276016074
2017-01-31 19:35:01 +01:00
Jehan 4ff7f23da3 build: last dependency for a full flatpak build, temporarily disabled.
The last stable WebkitGTK is 2.14.3 but that apparently corresponds to
WebkitGTK4 (which is already in the GNOME runtime). We need an older
version, and the last available would be 2.4.11.
I disable it though because the build failed in my test but let's save
my work-in-progress.
2017-01-31 00:17:32 +01:00
Jehan 2bef3445de build: adding Ghostscript dependency to flatpak build.
This is a special case build, since make must be run with "so",
and install is `make soinstall` to get a shared library.
See: https://ghostscript.com/doc/9.20/Make.htm#Unix_build
2017-01-31 00:17:32 +01:00
Jehan c99800b104 build: update flatpak howto. 2017-01-31 00:17:32 +01:00
Jehan b8e7907a63 build: update the flatpak howto with information on runtime module list. 2017-01-30 16:41:51 +01:00
Jehan 7ffba0314f build: adding network and dbus unlimited access.
This is necessary for opening files from the network.
It is actually possible to allow only some named service bus which
would be much more in line with proper sandboxing. But I can't find
exactly what is the service name used for gvfs (which is the virtual
filesystem apparently used internally for remote file access in GIO).
Also I'm pretty sure we must use other buses for various services. We
should make a list of what service bus are necessary for normal usage.
For the time being though, let's just have a flatpak build with as many
features as possible.
2017-01-29 23:51:47 +01:00
Jehan efce5d0f2c build: update jasper in flatpak build to version 2.0.10.
I had to figure out a few things about making CMake builds in Flatpak
since jasper moved from autotools in recent versions.
2017-01-29 23:51:47 +01:00
Jehan 0b7b120673 build: add a Flatpak howto.
That's a work-in-progress, but that's my current status.
2017-01-29 16:08:58 +01:00
Jehan ca832fb0ff build: adding libwmf dependency to flatpak.
Main missing dependencies now are libgudev, webkit and ghostscript.
2017-01-29 14:59:36 +01:00
Jehan 448f12c83d build: adding aalib, libmng and libwebp dependencies to flatpak. 2017-01-29 02:10:57 +01:00
Jehan 4245deb59f build: add an initial flatpak-builder manifest.
Based on Alexander Larsson's original nightly GIMP flatpak. I updated
most dependencies, changed some options, and added some dependencies
whose versions were now too low in the runtime (libpng and lcms2).
I also use the new "--filesystem=xdg-config/GIMP" option, made upon my
request, which means we will want to use a recent flatpak.
Many options are still missing but that's a start with a working
flatpak manifest.
2017-01-29 00:23:16 +01:00
Jernej Simončič 6f0bb88e43 Installer: simplify file inclusion rules
No more separate GIMP/everything else directories, also got rid of some old cruft
2016-10-09 00:26:28 +02:00
Michael Henning 2d71da0703 build/win: Disable webkitgtk. 2016-06-04 21:33:42 -04:00
Michael Henning c52ec55f3a build/win: Clear DISPLAY before building. 2016-06-04 13:29:42 -04:00
Michael Henning e8d523ed63 build/win: Upgrade exiv2 to 0.25 2016-06-04 13:17:10 -04:00
Michael Henning cb02b22db2 build/win: Add pcre and upgrade glib2 to 2.48.1 2016-06-04 13:17:10 -04:00
Michael Henning 508b883c1e build/win: Start building libmypaint. 2016-06-04 13:17:10 -04:00
Michael Natterer 1c9e5d62fc Bug 763766 - Suggest changing "Postscript" to "PostScript"
We were already using "PostScript" almost everywhere, fix the
remaining strings too.
2016-03-19 22:45:16 +01:00
Jehan 2c6a53351a build/windows: strengthen `windres` call. 2015-12-31 18:36:03 +01:00
Jehan 1ed8ceeb1a build/windows: fix Windows build.
`windres` seems a very stupid tool and it breaks with double shlashes
in parameter paths. Strengthen the rule a little.
2015-12-29 18:58:34 +01:00
Jasper Krijgsman 0d2aebb347 Bug 732363 - wilber.ico doesn't contain 256x256 layer
Contributed by Jasper Krijgsman

(cherry picked from commit 5cbc0e8173)
2015-11-30 23:22:38 +01:00
Michael Henning f94a908c4f build/win: Upgrade gdb to 7.9.1 2015-08-12 14:23:43 -04:00
Michael Henning 7c98c78ec1 build/win: Upgrade libxml2 to 2.9.2 2015-08-12 13:04:07 -04:00
Michael Henning 9ca026e303 build/win: Store mkarchive's temporary archive in /tmp 2015-08-10 22:53:06 -04:00
Michael Henning c2a0189c98 win: Mark as Windows 10 compatible. 2015-08-10 15:17:47 -04:00
Michael Henning 5b7b7ac55d build/win: Mark openjpeg2 as a poppler dependency. 2015-07-18 19:48:15 -04:00
Michael Henning 1a70fbfabf build/win: Upgrade poppler to 0.34.0 and poppler-data to 0.4.7 2015-07-18 10:55:59 -04:00
Michael Henning 0452ea4b85 build/win: Add openjpeg2 2015-07-18 10:54:07 -04:00
Michael Henning ab869ab35f build/win: Upgrade librsvg to 2.40.9 2015-07-17 18:27:50 -04:00
Michael Henning 158fa888a6 build/win: Fix libepoxy version number. 2015-07-16 23:22:33 -04:00
Michael Henning 8cc2bbae38 build/win: Upgrade gtk3 to 3.16.5 and add libepoxy 2015-07-16 21:20:41 -04:00
Michael Henning 0bdf9ca15d build/win: Upgrade pango to 1.36.8 2015-07-16 21:20:41 -04:00
Michael Henning 02ce81d8b0 build/win: Upgrade harfbuzz to 0.9.41 2015-07-04 10:59:47 -04:00
Michael Henning 413af2ed85 build/win: Upgrade freetype2 to 2.5.5 2015-07-01 23:05:41 -04:00
Michael Henning 65076fc30d build/win: Upgrade libmng to 2.0.3 2015-06-30 22:06:41 -04:00
Michael Henning a7b5d9803d build/win: Upgrade libwebp to 0.4.3 2015-06-29 23:01:22 -04:00
Michael Henning 65960f1f94 build/win: Upgrade gettext to 0.19.4 2015-06-26 22:36:10 -04:00