Commit Graph

589 Commits

Author SHA1 Message Date
Jernej Simončič f592814100 Installer: more verbose debug messages
(cherry picked from commit 363b03aa35)
2021-05-10 16:58:36 +02:00
Jernej Simončič 06b98b9bea Installer: include full version number in icon name
(cherry picked from commit 78fbf159a6)
2021-05-10 16:58:06 +02:00
Jernej Simončič 0f775b5adc Installer: update python2 interpreter file
(cherry picked from commit a296c92f7c)
2021-05-10 16:58:05 +02:00
Jernej Simončič 5c31c6ac3d Installer: remove Quick Launch icon
(cherry picked from commit 76f7d6fa21)
2021-05-10 16:58:04 +02:00
Jernej Simončič 66ccd53174 Installer: install debug symbols by default
(cherry picked from commit e5988ed940)
2021-05-10 16:57:45 +02:00
Jernej Simončič 33d0af3d19 Installer: ignore version information on files installed to {app}
(cherry picked from commit ff66d3d218)
2021-05-10 16:57:44 +02:00
Jernej Simončič e939fcec31 Installer: include gdk-pixbuf-query-loaders.exe
(cherry picked from commit 04be184020)
2021-05-10 16:57:31 +02:00
Trần Ngọc Quân 60a9e25101 build: add Vietnamese translation to the Windows installer
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2021-05-08 13:08:21 +02:00
Jehan 419892c3bd gitlab-ci, build: CI job to package GIMP on Windows from MSYS2 build.
This new job resulted in a package which allows to run GIMP on Windows
(as tested in a VM; at least it starts, I can create a new canvas and
paint). Of course I think this will need to be tweaked a little bit
more, as I'm sure we miss things here and there.

At the very least, even though I add the Python and Luajit binaries,
GIMP on Windows didn't find them. This will need to be investigated.

Also it looks like opening from a remote location may not work. Not sure
if this about a missing GIO module or maybe something which works
differently on Windows (I was not even able to drag'n drop from the
browser!). Anyway this needs to be looked at as well.

Note that gdk-pixbuf-query-loaders is apparently unneeded when GIMP is
built this way (unlike with our crossroad build).

All this to say that this is still an early attempt to full CI build for
Windows.
It doesn't invalidate the crossroad build, because cross-compilation
builds from Linux will always stay very important for Linux developers
to be able to easily fix Windows bugs too; yet the crossroad build has 2
major issues:
1. We haven't figured out yet how to run GObject Introspection tools for
   cross-builds, so the crossroad builds are not full-featured (and this
   is quite a major feature we are missing!).
2. Also I will want to run the installer in the CI at some point and the
   one we use can only run on Windows itself AFAIK. We could try to run
   it through Wine, but still anyway the point 1. is already quite a
   blocker, let's do the simple thing.

Note that we will likely want to move to meson for this build, because
autotools is very slow on Windows. But as long as the few blocker meson
bugs are not fixed, let's stick to the slow yet good build.
2021-05-07 20:04:03 +02:00
Jehan 7cca69cd49 build: fix a weird (yet unexplained) build bug.
Without this, the native Windows GIMP build fails in CI with:

> make[2]: *** No rule to make target '_install\include\gegl-0.4\gegl.h', needed by '../libgimpcolor/gimpadaptivesupersample.lo'.  Stop.

Even though `gegl.h` is present (as checked through artifacts). It's
just so weird.
2021-05-06 02:29:41 +02:00
Jehan 6c91e7f964 build, gitlab-ci: break the native Windows build into 2 jobs.
One for dependencies, one for GIMP.
2021-05-06 02:29:41 +02:00
Jehan ffd732c444 build: do not build Windows dependencies with ccache.
The build rules were highly inspired by other projects on GNOME's
Gitlab. All of them used to build with ccache. It worked fine for the
main build, but completely broke GObject Introspection build on both
babl and GEGL. And the worse thing is that meson was absolutely not
displaying the error, just saying it failed (even in verbose mode). A
lot of time wasted trying to debug.

Therefore let's get rid of ccache, but only for babl and GEGL. Keep it
for GIMP itself as it works fine there.

Other minor changes:

* Build from the build dir, rather than source. The other way around
  works too, but I actually find commands simpler this way.
* Adding artifacts.
2021-05-06 02:29:40 +02:00
Jehan 7254d7500d Cleanup the Gitlab runner manually.
Ok so this is horrible, but this is the only way I found to get past
some errors. The build would break randomly (sometimes it would,
sometimes not, with the same gitlab-ci rules) because of existing files.
The errors would be the following when trying to install dependency
packages with pacman:

> mingw-w64-x86_64-glib2: /mingw64/bin/libglib-2.0-0.dll exists in filesystem

At first I thought it was a bug in Pacman or MSYS2, but on some runners,
I had such warnings at the very start of the runner (note: on some
runners, the warnings would not be displayed even though the final
conflicting files error would still happen at the end of the logs):

> warning: failed to remove mingw64/bin/libglib-2.0-0.dll: Invalid argument

It looks like it might be related to this Gitlab bug where a runner
would fail to clean its environment:
https://gitlab.com/gitlab-org/gitlab-runner/-/issues/1839

In any case, the only way I found so far is to manually remove the
conflicting files before installing the packages supposed to install
these. This is completely horrible (and I sure hope it won't come up
again with different files each time) but really the only workaround I
found so far (I think a real solution will have to come from Gitlab code
or from the GNOME admins, not sure what is the exact source of the
problem).
2021-05-06 02:29:40 +02:00
Jehan 1858aac4c3 gitlab-ci, build: testing native Windows build.
Just an initial test to get a hang of the thing, mostly inspired from
GTK gitlab-ci rules adapted to our build.

All in one job (deps, babl, GEGL, GIMP itself) for now, for simplicity
of debugging. We'll see later to break this into CI sub-jobs.
2021-05-06 02:29:40 +02:00
Jehan 208921706a Issue #5475: Tablet pointer offset malfunction with scale ratio + …
… multi-monitor

Test the patch gtk!3275 on our development releases for validation.
2021-04-27 14:24:11 +02:00
Jehan 5f61d84570 Issue 6210: Subpixel font rendering system settings should only apply…
… to GIMP not text layer rendering in image

Patch was merged n Cairo today, wouhou!
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/114
If not mistaken, the fix should then appear in Cairo 1.17.6 or 1.18.0
(whatever comes next). As we are obviously not going to bump the Cairo
dependency so early, let's just add the patch, at the very least to be
used for our official builds. Also this way, we won't forget about this
issue in the future when we need to bump Cairo.
2021-04-20 18:26:15 +02:00
Jehan 7e2a0238a2 build: adding patch for glib!2020.
This is a patch for issue #913, the infamous "non-existent floppy drive"
or other unreachable network or unmounted drives. Well at least it
*should* fix the issue, but GLib developers are hoping we could test. So
let's add this in there for our next Windows package.
2021-04-07 13:28:11 +02:00
Mario Daniel Ruiz Saavedra 809e045ead build: remove *.rs file association with SUN Raster images
Nowadays .rs is the extension for the Rust programming language files,
and it's confusing that GIMP is trying to associate with them.

A simple rename of existing .rs images to .ras will allow them to be
opened again.

Note by reviewer: ideally file association should not rely on filename
extension, and should be detected properly (i.e. file "magic"). This way
even extension clash would not be a problem (format would be detected
whatever the extension used). Unfortunately it's apparently not the case
on Windows.
Anyway since nowadays chances to see a Rust code file are likely much
higher than seeing a Sun Raster image file, let's just accept this patch
and drop association of `.rs` on Windows.
2021-04-04 01:22:42 +00:00
Jehan 106e13d5db Issue 4594: Spotify doesn't open with Gimp open.
GLib has been fixed with commit 00e848fbc.
Add it in our patch list for the Windows installer until we get a
release containing the patch.
2021-03-10 13:23:27 +01:00
Jehan 7ed68556c7 Issue #5863: No namespace info available for XMP prefix.
Adding 2 temporary patches for our builds:

- gexiv2-mr20.patch: to be applied over GExiv2 0.12.1. This patch is
  already contributed upstream so it won't be necessary once GExiv2
  0.12.2 is released.
- 0001-Issue-5863-do-not-raise-WARNINGs-on-Exiv2-unsupporte.patch: to be
  applied over GIMP master branch itself. It depends on GExiv2 0.12.2 so
  I cannot push it to master until we bump GExiv2 minimum requirement
  (which can only happen when v0.12.2 is out then available in Debian
  testing, as per our dependency rules).

For the time being, while waiting for upstream releases, all we can do
is wait and apply these patches on our own dev builds (because this bug
is annoying and was reported to us quite a few times already).
2020-12-14 21:03:43 +01:00
Jehan 7df9bf1396 gitlab-ci: graphviz (for the `dot` tool) is now a dependency for GEGL. 2020-12-05 20:58:15 +01:00
luz paz bb322d94d7 Fix typos
Found via:
```
codespell -q 3 -S ./ChangeLog*,*.po,./.git,./NEWS* -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint
```
2020-11-19 21:56:25 +01:00
Jehan efd2af9994 build: update nightly flatpak manifest. 2020-11-06 23:45:06 +01:00
Jehan 3f3c5b242e build: improve a bit the dll_link build script.
Add a --debug mode which will help for testing and improve various
pieces of code.
2020-10-20 18:04:10 +02:00
Jehan 6f4155ee34 gitlab-ci: name the distribution artifacts and small build-deps.sh fix.
This should give a nice name to distribution archives so that they are
not all called `artifacts.zip`. Names will better describe their
contents (target OS or source and short commit hash, because for CI
builds, it's important to know which commit is being tested).

Also replace CI_COMMIT_REF_NAME in other artifact names by
CI_COMMIT_REF_SLUG. Otherwise if a branch has a slash (quite common in
branch names), only the part after the last slash is used for archive
naming.

Finally immediately exits from dependency build with error code (!= 0)
if `crossroad install` command failed.
2020-10-03 22:07:56 +02:00
Jehan 42e25e5b6f gitlab-ci: "needs" jobs have to be in a prior stage. 2020-10-03 13:22:56 +02:00
Jehan 6eab32c71a build: (Windows) glib-compile-schemas and gdk-pixbuf-query-loaders in…
… the CI.
There are 2 finale steps before finale binary distribution on Windows.
We must compile the GSettings XML schema files and register GdkPixbuf
loaders (for file format support in the GUI).

I used to provide a wrapper to be run inside Windows before first GIMP
run. Never did I realize that I can compile the distributed GSettings
schemas with the native `glib-compile-schemas` (works fine in my tests).
As for the GdkPixbuf loaders, we inspect DLL libraries, hence we do
require the target `gdk-pixbuf-query-loaders` which is unfortunately a
Windows executable. Yet it seems to work fine with Wine, so let's be
done with it in the CI instead of requiring manual steps from testers of
the CI builds. Then a few `sed` calls are enough to make the path in the
produced text file relative instead of absolute (which works fine, again
in my tests at least).

This means that I don't have to distribute the 2 binaries and the DLLs
they depend on anymore. Moreover let's remove the wrapper (but still
generate one which just calls GIMP so that we call it from the tree
root, where it's much less messy).

Note: I failed to install wine32 (32-bit Wine) on the Gitlab runner.
After following all instructions, I encountered weird errors. So
instead, I just make the win32-nightly job depend on win64-nightly and
copy `loaders.cache` from one to another, as it is a
platform-independent text file (as long as we provide the same GdkPixbuf
loaders on both of course, which we do).
2020-10-02 13:00:12 +02:00
Jehan cdb61d829e build: dll_link.py improved to handle both i686 and x86-64 Windows…
… executable formats inspection.
2020-10-02 03:18:23 +02:00
Jehan 8f8f7e497a gitlab, build: Win32 distribution jobs for our CI.
The main purpose of these jobs is to only package the strict necessary
for a working GIMP under Windows, i.e. getting rid of all unnecessary
executables, and inspecting binary dependencies recursively to only
package used DLLs.

The dll_link.py script is taken from Siril codebase (see commit a86e82a8
on Siril repository, by FlorianBen). This was a very nice idea, and
makes for much smaller test archive (Siril is also GPLv3 so licensing is
ok for the reuse, also anyway it's just a small independent build
script).
Moreover having it as a separate job allows to have artifacts with only
the finale distribution (artifacts on the build job also have the build
directory and the whole prefix, which we want to keep in order to debug
when needed).

Hopefully I am not missing anything. Siril seems to package more, like
various gdk-pixbuf-*.exe, gspawn-*.exe and gdbus.exe. I am wondering if
these are actually necessary. I could run GIMP fine without these in
quick tests, but I guess I'll have to investigate a bit more to figure
this out. That's what nightly builds are for, after all, so hopefully
people will report if we miss some runtime dependencies.
2020-10-02 03:17:47 +02:00
Jehan cb6a1a75c9 build: (meson) fix building with -Dwindows-installer=true option.
Fixes:
> build/windows/installer/lang/meson.build:49:2: ERROR: Unknown variable "code".
2020-08-22 19:02:14 +02:00
Michael Schumacher cef7ecca27 build: add libwmf patch from libwmf repository to prevent issue #4061 2020-06-13 17:03:39 +02:00
Michael Schumacher 0ce3798a42 build: add libwmf patch from libwmf repository to prevent issue #4016 2020-06-13 15:04:24 +02:00
Ell 0c06c24441 build: add Japanese translation to the Windows installer 2020-06-07 16:38:53 +03:00
Jehan 95fa7bc68c Issue #5109: "gimp-win64" CI artifact is missing gegl:npd support.
Cairo is a dependency for "gegl:npd" required by GIMP, so let's install
it before compiling GEGL.
2020-05-21 11:36:28 +02:00
Niels De Graef 0352559efa meson: Allow running tests headless
This commit makes sure we can properly run the tests in a headless
environment, i.e. they don't mess with the user's X display or their
session bus. The latter is also needed for parallel tests as they fail
to simultaneously own the same name on the session bus.

Replaced the "xvfb-run" meson option with the "headless" option, which
is more intuitive (and also more correct, since we now also require
`dbus-run-session` to run the tests, not only `xvfb-run`).

Finally, note that we need a version of `xvfb-run` that supports the
`-d` (`--auto-display`) option. The problem with `--auto-servernum`
which is also regularly used, is that it doesn't shut down cleanly,
returning a non-zero exit code, wich makes the test fail.

Fixes https://gitlab.gnome.org/GNOME/gimp/-/issues/5078
2020-05-14 18:31:08 +02:00
Jehan 25ecef0dc3 build: fix cross-compiled meson builds.
A bug came with meson 0.54.1 (looking at reports, I understand it to be
a mix of a meson bug and a patch by Debian making it a different bug).
See:
- https://github.com/mesonbuild/meson/issues/6115#issuecomment-593312709
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959708

In any case, our Windows cross-builds end up with (with no libdir set on
our own): libdir=${prefix}/lib/x86_64-linux-gnu
This is obviously wrong as confirmed by meson report comments.
2020-05-10 13:21:08 +02:00
luz.paz 36f620012d Fix typos
Found via codespell v1.17.0.dev0  
```
codespell -q 3 -S ./ChangeLog*,*.po,./.git,./NEWS* -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint
```
2020-05-04 08:55:48 -04:00
Jehan ffc7db84d1 build: build OpenEXR plug-in.
libopenexr was installed, but pkg-config was failing because of missing
dependency:
```
$ x86_64-w64-mingw32-pkg-config --modversion OpenEXR
Package IlmBase was not found in the pkg-config search path.
Perhaps you should add the directory containing `IlmBase.pc'
to the PKG_CONFIG_PATH environment variable
Package 'IlmBase', required by 'OpenEXR', not found
```

Looks like there may be a dependency bug in the openexr package in
Msys2. Anyway let's just add ilmbase and get this to be detected
correctly.
2020-04-21 14:47:51 +02:00
Jehan 0aca033370 build: removing OpenBlas patches.
Our installer use Msys2 packages when possible. And Msys2 repository
provides version 0.3.9, released on March 2, which contains our patches.
No need for them here anymore, no need to make custom builds.
2020-04-20 23:56:46 +02:00
Jehan e0851680ac build: more dependencies for the Windows builds. 2020-04-18 14:13:32 +02:00
Jehan 8398c83c23 build: use msys2 packages as source for the Windows CI.
This is a new feature I implemented in the crossroad cross-compilation
tool. Msys2 repository has more packages and they are more up-to-date
compared to Fedora and Suse cross-built packages (the 2 other available
sources for pre-built Windows packages).
This allows to simplify a lot the dependency preparation for the Windows
CI, and speed things up.
2020-04-17 01:39:58 +02:00
Jehan b948ff932d build: fix the Windows CI.
Recently added warnings on json-c dependency breaks with Mingw-w64.
Removes warning promotion to errors when compiling json-c.
2020-04-15 16:27:16 +02:00
Jehan afd2b81dbf build: proper libmypaint v1 development branch is now libmypaint-v1.5.x.
Development switched to this branch since v1.5.0 release.
2020-04-13 12:25:35 +02:00
Jehan de6eacd524 build: build json-c with CMake.
json-c has 2 build systems (autotools and CMake) and it seems their
autotools broke with recent changes. I will report upstream. For the
time being, we may as well switch to CMake build.
2020-04-08 21:31:57 +02:00
Jehan 97a0ad3fec build: sync development flatpak manifest with stable one. 2020-04-04 01:10:55 +02:00
Jehan bed95ebca7 Revert "build: fix json-c cross-build for Windows."
This reverts commit 2b2a6b03ed.
My commit has been merged upstream.
2020-03-17 12:39:23 +00:00
Jehan 2b2a6b03ed build: fix json-c cross-build for Windows.
I submitted a patch upstream:
https://github.com/json-c/json-c/pull/556

For the time being, I disable some warnings to at least have a working
CI.
2020-03-15 23:53:39 +01:00
Ell ac289461ae app: add Finnish translation to the Windows installer 2020-02-24 11:09:36 +02:00
Jehan b314437d4d build: additional patch for OpenBlas (fix startup hang).
Previous OpenBlas patch fixed the crash with Sophos (see reports #3633
and #4246) but created a huge slowdown of startup because of a timeout
change and most likely OpenBLAS being loaded at startup during the
various verifications.

A new patch has been merged upstream to lower this timeout to something
more reasonable. Reporters confirmed GIMP now runs fine (neither crashes
nor very long startups).

See: https://github.com/xianyi/OpenBLAS/pull/2339
2019-12-13 17:59:13 +01:00
Jehan d48dcc1252 gitlab-ci: move to Fedora 31 image for the Win32 CI build. 2019-11-24 20:52:22 +01:00
Jehan 370499676f build: add a patch for OpenBlas on Windows.
Actual patch contributor wants confidentiality to avoid leaking
proprietary information or whatever (I am not sure either what to be
scared of as it's all good and harmless to me, but let's respect the
request). See also #4246 for more details.
2019-11-20 17:26:57 +01:00
Jehan 1032632e63 build: update flatpak nightly manifest.
Tested with these changes. It is a working flatpak for our dev code.
2019-11-12 13:08:59 +01:00
Jehan cffb86cc6f build: sync flatpak nightly manifest with stable one.
Not tested recently and I expect it won't build properly, but at least I
synced the changes made lately on the stable manifest.
2019-10-31 16:19:52 +01:00
Jehan 7fdd78c6ea gitlab-ci, build: add a wrapper for GIMP binary to Win32 CI result.
A few commands need to be performed the first time for glib to work
properly, and gdk-pixbuf loaders to be found. I add them in a wrapper
script so that it's easy to ask people to test the dev builds (even
though it's not necessary to run these commands each time, but who
cares!).
2019-10-24 22:14:41 +00:00
Jehan ce761ccc95 build: add DrMingw in the Windows CI build.
If the build results are used for testing, may be useful to have some
debugging, as proposed by Ell.
2019-10-24 17:04:15 +00:00
Jehan 94852a3957 build: (Win32 CI) cairo as dependency of GEGL.
Without Cairo, GEGL does not build gegl:npd operation which is required
in GIMP.
2019-10-24 14:18:06 +00:00
Jehan 3da8b9cc18 build: mask glib and pango from pre-built Win32 package for the CI.
Let's make sure they are not pulled in as dependency of other packages.
This fixes the Win32 CI build now that we fixed the Pango minimum
requirement in meson files.
2019-10-24 14:18:06 +00:00
Jehan 90591dc7ed gitlab-ci: new build organization.
Rather than having the whole Win32 cross-build into the 'gimp' stage,
break the dependencies and GIMP-only builds in 2 stages.

Since apparently we need to keep the same structure for the native and
cross build (otherwise we don't get parallel builds; in other words, I
didn't find the possibility to set separate pipelines up), I move babl
and GEGL into the same 'dependencies' stage.

Finally I remove the -base rules extended into actual jobs, except for
`.gimp-base` (this is the only which makes sense as it is actually
common to the meson and autotools build).
2019-10-03 20:43:20 +00:00
Jehan e17efb7a07 build, gitlab-ci: add a script to cross-build GIMP with Gitlab CI.
It looks like Arch does not have mingw64 cross-compilers in core package
repository. It does have some package in the user repository (AUR), but
I assume that such a repository cannot be deemed as safe.

Anyway I still tried, but apparently these AUR packages have to be built
and when I tried, I got this error:
>  ERROR: Running makepkg as root is not allowed as it can cause
> permanent, catastrophic damage to your system.

Anyway it's all a big mess. Then I tried to move the cross-CI to Debian
testing, which is anyway our base compatibility system. Unfortunately I
encountered like what looked like some glibc++ macro problem on some
packages (most likely because the pre-built packages I use are Fedora
ones which likely uses a cross-compiler differently built from the
Debian one).

So in the end, for simplicity, I use a Fedora image, then I am sure to
get a good match between the system cross-compiler and the pre-built
dependencies.
2019-09-30 23:05:01 +02:00
Félix Piédallu 65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Jehan 078d789216 build: add missing patch named in flatpak manifest.
I did not commit on purpose because this is actually to be found in the
official flathub repository for GIMP (the concept being to keep the
stable and nightly manifests as sync-ed as possible) and I thought there
is no need to duplicate data. But since this is apparently confusing
people (cf. !91), let's just push it.

Note that even though this patch is taken from the org.octave.Octave
flatpak package, it is actually slightly different (I tweaked it because
we needed to build even less options from SuiteSpace than they do
apparently).
2019-07-11 18:53:30 +02:00
Jehan 31b90638cb build: sync our nightly flatpak manifest with stable one. 2019-05-26 10:47:36 +02:00
Jehan 11e8ba0f51 build: add Wayland support to nightly flatpak.
This was removed for the stable flatpak as it's GTK+2 which has no
support anyway but should be present for the future GIMP 3 flatpak.
2019-04-28 13:00:41 +09:00
Jehan 01f258faec Issue #3309: Translation of gimp installer for MS Windows.
Several of our own translations of the Windows installer are unused
because Inno Setup corresponding translations are marked "unofficial".
This mostly means that the language files for these are probably old and
unmaintained, hence outdated. And these files are not bundled together
with Inno Setup release (though still hosted in their repo).

Nevertheless it doesn't make sense that we would just waste the work of
our translators here. Maybe Inno Setup localization is not complete, so
what? At best it could even encourage translators to contribute upstream
to Inno Setup. Let's just enable all our current localizations of the
installer and see how it goes!
2019-04-26 01:07:30 +09:00
Jehan 3db167083a build: bump nightly flatpak manifest to GNOME 3.32 runtime.
Following today's update from the stable manifest at flathub.
2019-04-25 21:32:41 +09:00
Jehan 8ee11d8d75 build: update various deps in flatpak manifest.
Sync with the stable manifest at flathub!
2019-04-24 17:43:35 +02:00
Jehan e7b8a57bec build: oups, shared module not included.
Anyway Python deps does not work yet on the master build. That's
unneeded to build nightlies with Python support. Let's drop it for now
and add it back later when we will make it work.
2019-04-04 15:25:27 +02:00
Jehan 58e1a2ae47 build: sync nightly flatpak with recent changes on the stable one.
This includes bumping to the GNOME 3.30 runtime and removing some
dependencies which are now included at the required version in the
updated runtime.
2019-04-04 13:50:49 +02:00
Jehan 48b5f50a58 build: remove unreleased <release> when building flatpak nightly.
This breaks the flatpak tests at the end when we prepared a future
<release> appdata tag. For released version, we must not do this, but
for nightlies, it doesn't matter.
2019-04-04 12:42:37 +02:00
Ell fe35294ee7 build: add Korean translation to the Windows installer
... but keep it disabled, since the Inno Setup Korean translation
is unofficial.
2019-02-27 03:41:27 -05:00
Jehan 5c20d220dd build: add "org.freedesktop.FileManager1" bus access to flatpak.
Syncing the nightly flatpak with the stable one.
See issue #1588.
2019-01-08 23:23:50 +01:00
Jehan 5a61959b74 build: sync recent flatpak's stable manifest to the nightly one. 2018-12-20 10:48:52 +01:00
Jehan a181372795 build: sync the nightly flatpak manifest with the stable one. 2018-11-01 22:22:33 +01:00
Michal 82e59a951d Use list comprehensions
https://docs.python.org/3/tutorial/datastructures.html#list-comprehensions
2018-09-29 20:25:40 +00:00
Michal 09d1a3c82f Comparision to None should be done with "is" or "is not"
https://www.python.org/dev/peps/pep-0008/#programming-recommendations
2018-09-29 20:25:40 +00:00
Jehan fb0b04e8d9 build: bump some dependencies in nightly flatpak.
Sync with recent changes of the stable flatpak.
2018-09-27 23:47:23 +02:00
Jehan ff56a3af8d build: update the flatpak cron file.
The artifacts should be moved after each export (otherwise we mix
artefacts from various builds). Also fix the last date call.
2018-09-14 18:12:23 +02:00
Jehan a654ecbd70 build: assume yes to questions when updating flatpak runtimes. 2018-09-13 18:17:18 +02:00
Ell aafa925906 Issue #1846 - "gitlab::" typo in the Windows installer
Introduced by commit 8eb77376c4.
Change to "gitlab:".
2018-08-03 22:14:52 -04:00
Jehan fdc3c84fc5 build: move fribidi as a module of pango in flatpak manifest.
Makes easier to maintain so that it makes clear why this was added (i.e.
as a dependency of pango, not a direct dependency of GIMP).
2018-07-23 12:46:00 +02:00
Jehan 573ab95315 build: add Wayland socket and bump LibRaw.
Apparently the LibRaw 0.18 was taken down as soon as 0.19 got released.
Thanks to solid_black for reporting it on IRC.
2018-07-13 16:25:11 +02:00
Michael Natterer 829f12040d Forgot two license links... 2018-07-12 00:11:22 +02:00
Michael Natterer 8eb77376c4 More bugzilla -> gitlab in various files 2018-07-11 22:24:02 +02:00
Jehan dc6c14c29f build: sync nightly flatpak with recent changes on stable one.
Exiv2 and GExiv2 has been updated and using "app-id" instead of "id".
2018-07-05 13:29:26 +02:00
Jehan 401ec556e1 build: remove obsolete patch.
As noted by Edward E., SVG detection is rewritten in GTK+3 and this
patch is rendered useless.
2018-06-28 18:27:54 +02:00
Jehan 6b71bf27c8 build: build flatpak with new --with-icc-directory option.
This will set the default color profile directory under its path inside
the sandbox and therefore fix issue #15 of our flathub repo.
While I am at it, I do some cleaning and remove --enable-vector-icons
since this is now the default.

This is in particular necessary because permission in manifest
--filesystem=/usr/share/color/icc does not work as expected to mount the
system repository inside the sandbox at the same path.

See commit 8f3bf7b175d44118f9146e31191fcb7558614b31 from flathub
repository for org.gimp.GIMP.
2018-06-27 17:17:05 +02:00
Edward E f18fcd468e Issue #1240 - The drive or unc share you selected does not exist...
...or is not accessible

Installer: show install path on final confirmation page
2018-06-17 22:55:17 +02:00
Salamandar 8feb51954b Fix encoding. The world should be utf-8. 2018-06-15 17:34:59 +00:00
Jehan e7a1b162e6 build: improve and simplify flatpak building script. 2018-06-14 03:21:42 +02:00
Jehan ea14ce7ff4 build: syncing recent changes from stable flatpak manifest. 2018-06-06 21:30:13 +02:00
Jehan dcba5f7f26 build: remove flathub's submodule and update flatpak howto.
Now our nightly manifest does not depend on the base module used in
flathub so just remove the submodule.
Also update our howto.
2018-06-06 02:37:41 +02:00
Jehan 50c623494e build: do not depend on base module for flatpak.
Let's go with a simpler manifest since soon it will be built on a better
machine (our CI server) and to make scripts simpler.
Note that I also removed the old webkitgtk dependency, but actually I
realize the GNOME runtime does not have the new dependency as well,
since the runtime actually has a webkit2gtk-4.0 instead. We'll have to
look into this.
2018-05-31 15:36:15 +02:00
Jehan 6ef9cd5359 build: the dev flatpak has been removed now. 2018-05-30 11:57:30 +02:00
Jehan 2795512822 build: remove dev flatpak and replace nightly with gtk3 manifest.
Now gtk3-port old branch has become master!
Also we don't need a dev flatpak for now. We'll see later when we will
do new development releases.
2018-05-27 22:24:37 +02:00
Jehan fc8d815ab8 build: update the flatpak howto. 2018-05-27 22:20:09 +02:00
Jehan c6a1b9bcde Update various places with old git repository URIs. 2018-05-27 04:19:18 +02:00
Jehan 0034bd44b3 build: update GNOME's git repository URI. 2018-05-27 04:09:47 +02:00
Ell cdfcf5bdcf build: add Czech translation to the Windows installer 2018-05-26 14:55:47 -04:00
Jernej Simončič d436eb66fc Installer: put back compatibility DLLs (for really old plugins) 2018-05-21 00:31:57 +02:00
Jernej Simončič fd59ecf2c5 Installer: set compatibility options to run Python plugins in high-DPI-aware mode 2018-05-21 00:31:57 +02:00
Jernej Simončič 952e7f365c Installer: remove .dll files from plug-ins directory 2018-05-21 00:31:57 +02:00
Jernej Simončič 0dc3b76306 Installer: fix typos 2018-05-21 00:31:57 +02:00
Jernej Simončič 2a438351dd Installer: Python fixes 2018-05-21 00:31:57 +02:00
Jehan 399ac63548 build: cleaner flatpak building script. 2018-05-16 20:00:11 +02:00
Jehan c64c985726 build: add HEIF support in flatpak nightly and gtk3. 2018-05-16 19:52:50 +02:00
Jernej Simončič a36f47356a Installer: missed a directory when removing cruft 2018-05-15 00:25:09 +02:00
Jernej Simončič aa7f602978 Installer: use smaller compression dictionary (might help prevent problems as in #795892) 2018-05-15 00:03:51 +02:00
Jernej Simončič f557b22d23 Installer: clean up old .debug files during install (they're useless) 2018-05-15 00:01:08 +02:00
Jernej Simončič 391b81c9a4 Installer: updated ghostscript 2018-05-14 22:46:44 +02:00
Jehan 1d30426102 build: add a flatpak for the gtk3-port branch.
This flatpak is tested and working.
I have not yet verified though if it has the maximum options enabled
(guessing not), but only that we had at least the required dependencies
at least.

When we will merge, it will become the nightly flatpak and the current
nightly can be used to follow the 2.10 (future) branch.
2018-05-14 01:24:47 +02:00
Jehan b748dea801 build: add my cron script to build dev flatpak regularly.
This is the script I have been personally using for some time now to
build the devel and nightly flatpak on my server regularly through cron
files.
It is not the best script, arguably, and we can most likely do better.
But for now, it worked for me and is a first step toward maybe making
official nightly flatpak builds soon.
2018-05-13 22:42:54 +02:00
Jehan 0d26d00ca3 build: replace some survivor s/2.9/2.10/. 2018-05-11 03:01:00 +02:00
Jernej Simončič 5427d82d21 Installer: better error message about unsupported OS 2018-05-10 17:18:34 +02:00
Jehan 324873c7b8 build: no need for the splash screen patch anymore (was for 2.10.0 RC2). 2018-05-05 18:30:38 +02:00
Jehan 1ef0f50698 build: update nightly and dev flatpak.
In particular a bunch of dependencies were moved to the BaseApp.
Dev flatpak is actually a bit useless now (since last dev release is
older than stable). But I keep the dev manifest around to make it easier
to update for the future when we'll have a new dev release.
2018-05-05 16:12:11 +02:00
Jernej Simončič 2d3b8f67a8 Installer: optional GIMP debug symbols inclusion 2018-05-05 00:32:46 +02:00
Jernej Simončič 7376f9ce29 Installer: update URLs 2018-05-02 17:34:26 +02:00
Jernej Simončič c5bde2559e Installer: require Windows 7 or newer 2018-05-02 17:18:46 +02:00
Jernej Simončič 8bc219b2c3 Installer: require Windows 7 or newer 2018-05-02 17:18:46 +02:00
Jernej Simončič 2f28ddf62b Installer: include less cruft 2018-05-02 17:18:46 +02:00
Jernej Simončič fc34accf4c Installer: another leftover library to clean up 2018-05-02 17:18:46 +02:00
Jernej Simončič 68b4938830 Installer: fixes for upgrading from 2.8 2018-05-02 14:04:13 +02:00
Jernej Simončič 69cbd89694 Installer: use mingw Python 2018-05-02 13:02:17 +02:00
Jernej Simončič 074b337d43 Installer: don't attempt signing when not compressing the installer 2018-05-02 11:40:06 +02:00
Jernej Simončič 449e7b4961 Installer: NOCOMPRESSION fix 2 (installer name) 2018-05-02 11:36:50 +02:00
Jernej Simončič e8947d2ac4 Installer: oops, NOCOMPRESSION should only affect installer compression 2018-05-02 11:35:16 +02:00
Jernej Simončič 634b0e68c3 Installer: add missing files 2018-05-02 11:34:29 +02:00
Jernej Simončič e7c50755f9 Installer: more fixes for split GIMP/deps directories 2018-05-02 02:17:48 +02:00
Jernej Simončič d981c930c5 Installer: forgot a few things for GIMP/deps split 2018-05-02 02:17:48 +02:00
Jernej Simončič 770f596c6e Installer: fix mode 2018-05-02 02:17:48 +02:00
Jernej Simončič b6813cfe3c Installer: split GIMP and dependencies again (makes it easier to digitally sign
binaries I built myself)
2018-05-02 02:17:48 +02:00
Jernej Simončič 68f4c8a5ed Revert "build: fix removal of old GIMP versions during installation on Windows"
This reverts commit d8ae5481ac.

The original code was meant to remove old (pre-2.8) installers, which used WinGimp AppId.
2018-05-02 02:17:48 +02:00
Ell d8ae5481ac build: fix removal of old GIMP versions during installation on Windows
Fix the registry path where uninstaller information is searched for
during installation, so that old GIMP versions are properly
uninstalled before installing a new version.

This fix has already been included in the 2.10.0 installer.
2018-05-01 01:12:10 -04:00
Ell 25db980d01 build: add MyPaint brushes component to the Windows installer
In order to bundle the MyPaint brushes, GIMP needs to be configured
with --enable-bundled-mypaint-brushes, and the brushes need to be
present at $GIMP_DIR32\share\mypaint-data.
2018-05-01 01:12:10 -04:00
Ell de508da0e9 build: add 2.10 splash to the Windows installer 2018-05-01 01:11:56 -04:00
Ell bf7bbdba2e build: add Chinese (Taiwan) translation to the Windows installer 2018-05-01 01:11:56 -04:00
Jehan 6463e80c71 build: update my howto for flatpak releases.
After a small fiasco of 5 consecutive builds, add some newly learned
ways to test the builds beforehand on flathub infrastructure, for the
next time.
2018-04-27 18:35:33 +02:00
Jehan da2430deaa build: fix the forgotten splash screen for dev flatpak. 2018-04-21 18:09:21 +02:00
luz.paz 147c09f19e Bug 795161 - Misc. typo fixes in source comments and doxygen
Found via `codespell`
Follow-up to  commit 7fdb963e01
2018-04-18 21:06:57 +02:00
Jehan 12b9d7a4e7 build: update dev flatpak to 2.10.0 RC2. 2018-04-18 12:34:07 +02:00
Ell 65c7ce5e7d build: add Chinese (China) translation to the Windows installer 2018-04-13 08:16:50 -04:00
Jehan 9dfd35be05 build: update base dependencies to fix flatpak. 2018-04-09 04:03:18 +02:00
Jehan d907898c65 build: update dev and nightly flatpak manifests.
Dev flatpak now builds the 2.10.0 RC1.
Both manifest tested and working.
2018-04-07 01:17:09 +02:00
Jehan d2c4db1984 build: upstream flathub build and base modules updated too. 2018-04-06 21:09:50 +02:00
Jehan 494f68418a build: do not bundle glib anymore.
We now use the GNOME 3.28 runtime and glib 2.56.0 is bundled with it.
2018-04-06 21:01:15 +02:00
Ell e931d354ab build: update Windows installer splash for 2.10 RC 2018-03-25 13:31:26 -04:00
Jehan 8f71aeda3d build: update flatpak builds with latest changes.
Untested. Hopefully should build.
Also bump the GNOME runtime to the latest version.
2018-03-19 17:42:49 +01:00
Ell c0c6856190 build: add Latvian translation to the Windows installer
... but keep it disabled for now, since some of the characters may
not render correctly.
2018-03-10 18:23:18 -05:00
Jehan 5b58cc4b7c build: fix header search paths for windres calls (Win32 build).
The Win32 build was not taking the new path of git-version.h into
account and was outputting these errors:
> ../build/windows/gimp.rc:2:10: fatal error: git-version.h: No such file or directory
>  #include "git-version.h"
>           ^~~~~~~~~~~~~~~
2018-02-12 18:55:50 +01:00
Ell 26e90bfd1f build: add Indonesian translation to the Windows installer 2018-02-09 09:49:53 -05:00
Ell b40a64aab3 build: add Greek translation to the Windows installer 2018-01-28 17:11:22 -05:00
Ell 8f441befb6 build: add Basque translation to the Windows installer 2018-01-19 15:46:16 -05:00
Jehan 458e313000 Rename gimp.appdata.xml.in to org.gimp.GIMP.appdata.xml.in.in.
I completely forgot to rename the appstream file according to the new
ID. While doing so, I also make it a .in.in file, with initial
processing by the autotools. Indeed I need @GIMP_COMMAND@ to be replaced
by AC_CONFIG_FILES().
Finally I fix a badly closed XML tag (which reminds me I should always
test a commit, even when it's a simple non-C 1-liner change!).
2018-01-14 03:54:17 +01:00
Ell bc8c79e95a build: add Icelandic translation to the Windows installer 2018-01-06 12:31:51 -05:00
Jehan e875ec3fc6 build: when bumping glib, also bump glib-networking.
Tested and successful flatpak build!
2018-01-05 03:59:00 +01:00
Jehan 49e60ae72b build: bump glib dependency in flatpak nightly manifest.
We now need glib 2.54.2 which is not available in org.gnome.Sdk,
neither 3.24 nor 3.26.
2018-01-04 22:53:12 +01:00
Sebastian Rasmussen 9b9daba7a4 Bug 792028 - Bug reporting hint in installer should not mention...
...the installer component

The warning is actually not only about the installer, but also covers
the installed version of GIMP. The warning was resurrected from commit
6f0bb88e43 and slightly reworded.
2018-01-03 01:39:54 +01:00
Jehan fe22500e9b build: update nightly flatpak manifest with mypaint-brushes.
Untested, but that should work!
2018-01-02 23:43:52 +01:00
Ell cf065a37eb build: add Swedish translation to the Windows installer 2017-12-31 10:47:10 -05:00
Ell bc16d34604 build: add Turkish translation to the Windows installer 2017-12-27 10:12:13 -05:00
Ell 3837cccb48 build: add Esperanto translation to the Windows installer
... but disable it for now, since some of the characters are not
displayed correctly.
2017-12-25 07:45:00 -05:00
Ell 1f27ee6219 build, configure.ac: misc Windows installer translations build improvements
In configure.ac, add --enable-windows-installer option (off by
default), which should be set to generate the necessary files for
the installer translations during the build.  Using this option is
only supported when building from git, since the installer files
are not included in source tarballs.

Rename setup.isl.desktop.in to setup.isl.in, and instruct intltool
to treat it as an .ini file explicitly.

Delete generated message files during make clean.
2017-12-25 07:42:20 -05:00
Ell 7df863602a build: small fix to the Windows installer translations makefile 2017-12-24 17:14:09 -05:00
Ell ac059b9499 build: add/update Windows installer strings
Remove the installer graphics credits, since we use a different set
of graphics in master, and will probably use yet different set of
graphics for 2.10.

Add strings for the MyPaint brushes component.  The setup script in
git doesn't use those yet, but this lets translators start
translating them.
2017-12-24 16:45:32 -05:00
Ell f1070f4c80 build: use intltool for Windows installer translations
Use intltool for managing the translations for the Windows
installer, instead of manually maintaining the translated message
files.

The message files are generated in the source directory, under
build/windows/installer/lang, as part of the build, and can be
subsequently used to build the installer, as before.
2017-12-24 16:45:32 -05:00
Jehan edb0928e53 build: 2.9.8 dev build must now use a higher lcms2 dep version. 2017-12-14 02:20:41 +01:00
Jehan b9260266ab build: arrrgh! Also the commit for GIMP repo! 2017-12-13 22:57:11 +01:00
Jehan f112fbe734 build: forgot to update the flatpak commit hashes.
Oups!
2017-12-13 22:51:32 +01:00
Jehan e922671223 build: update flatpak manifest for the development release.
Even though we don't have an official build yet (flatpak only does
stable builds), let's keep up with the releases. :-)
2017-12-12 23:49:06 +01:00
Jehan 3023227ffe Bug 781020 - GIMP UI vector icons are drawn way too small.
Though the bug was mostly fixed, it seems to still happen on Windows XP,
where apparently no content type had been registered for SVG.
GTK+ developers don't seem too keen to patch GTK+ 2.24 for a platform
which they don't support anymore.

Also if not mistaken, GIMP does not officially support Windows XP
anymore either. A patch though has already been provided by Edward E.
and it really doesn't look like it could break anything since it just
adds a last "else if" when everything else failed (and inside a #ifdef
affecting only WIN32 builds).
So let's just add it in our builds at least. We still don't have support
for it, but I see no reason to just refuse a minor patch which won't
break anything else.
2017-12-08 21:21:35 +01:00
Jehan 63f830be4c build: remove flatpak files duplicated in the flathub repository.
The BaseApp json used for all 3 builds (stable, dev and nightly) is
common so just keep the one made available in the flathub upstream
repository. The patch also applies to the BaseApp only.
2017-12-06 22:45:43 +01:00
Jehan 580782dc65 build: add the flathub stable repository as a submodule.
This will only be used for our development/nightly flatpak builds and
this submodule does not have to be pulled for normal GIMP development.
2017-12-06 22:34:45 +01:00
Ell fb5354c9e5 Bug 780979 - Fullscreen windows with WS_EX_NOACTIVATE | WS_EX_TRANSPARENT ...
... interfere with GIMP UI events

Add a GTK+ patch to ignore top-level transparent windows when
looking for the top-level GDK window at a certain pointer location,
in the Win32 GDK backend.
2017-10-29 15:15:34 -04:00
Jordi Mas 20ab06a119 Fixes to Catalan installer 2017-10-23 22:13:45 +02:00
Jehan 59ea5ba298 build: sync with flathub manifest.
The BaseApp manifest got a bunch of fixes, mostly to have all the
dependencies successfully build for aarch64. The current manifest should
therefore correctly build GIMP for i386, x86-64, arm and aarch64.
See: https://github.com/flathub/flathub/pull/124
2017-10-23 21:51:26 +02:00
Jehan dd924bb33a build: stable flatpak manifest is now hosted at flathub. 2017-10-23 21:16:05 +02:00
Ell eada4a3ef8 build: update 2.9 Windows installer graphics
The existing graphics are still from 2.8 (specifically, the have a
"2.8" caption, so we can't use them for 2.9); these are the
graphics used for the 2.9.6 installer.
2017-10-23 08:56:53 -04:00
Ell a44ef8e866 Bug 786840 - Selecting last option in file association list ...
... makes the list scroll down and select the next item

Adjust the file association list height to be a multiple of the
item height, to avoid this issue.
2017-10-23 08:46:36 -04:00
Jehan 6a9f4588c9 build: fix previous commit and add xdg-config/gtk-3.0 access.
I had an error in the previous commit (2 args in 1). Also adding access
so that the file `bookmarks` is visible from the contained GIMP
(otherwise bookmarked folders are lost in flatpak and that's bad
experience).
2017-10-07 23:31:20 +02:00
Jehan 925a77e205 build: only grant access to needed services in flatpak.
No full bus access, as proposed by flatpak upstream.
2017-10-07 23:11:09 +02:00
Jehan 34ac56e770 build: using cmake-ninja for jasper build system in flatpak.
As asked by upstream at: https://github.com/flathub/flathub/pull/124
2017-10-07 18:27:57 +02:00
Jehan e75ea3c2af build: add a stable flatpak manifest.
Yeah for the BaseApp! It took me no time to make a new manifest for the
stable branch (current 2.8).
2017-10-07 03:43:34 +02:00
Jehan 789cb3ce6e build: workaround for broken cleanup of flatpak.
For some reason, the "cleanup" tag won't delete the files produced by
the BaseApp inside the main GIMP manifest (I still need them for build,
but want to delete them for runtime).
This is a workaround to delete them with a few command lines for now.
See: https://github.com/flatpak/flatpak/issues/1082
2017-10-06 16:40:26 +02:00
Jehan 1e7bb051b5 build: delete gimptool and gimp-console from the finale flatpak. 2017-10-05 04:49:49 +02:00
Jehan 54f4f4457f build: base both the dev and nightly builds off a BaseApp.
Keeping all dependencies inside the main manifest is very annoying
because flatpak-builder will check them every time the package is
rebuilt. Worse, sometimes the cache won't be hit (even though it should
have), resulting into a rebuild of many dependencies. I create a BaseApp
build which is the recommended process (and not creating our own runtime
based on GNOME one's, as I first thought) which won't need to be built
as often as the main manifests. The other advantage is obviously that
this BaseApp can be shared between the dev and nightly (and likely even
the stable later) builds. I will only keep differences inside the main
manifests (for instance lcms2 which requires a higher version on master
than on the GNOME runtime and the last dev release).
I also move webkitgtk as the first dependencies since it takes too long
and flatpak uses a sequential dependency graph (so any change to a
previously listed dependency, even when actually unrelated, was
triggering a rebuild of webkitgtk!).
Only remaining issue is that I don't manage yet to run the cleanup of
the BaseApp at the end of the main manifests (for files needed for
building, but not at runtime).
2017-10-05 03:14:13 +02:00
Jehan e545116b89 build: run flatpak-builder with --ccache option for faster builds.
So I discover today that there is an option --ccache to request
flatpak-builder to compile using ccache, which is obviously a great idea
when rebuilding the same deps too often. Update the howto with the info.
2017-10-05 00:16:34 +02:00
Jehan 96673794d9 build: make a new Flatpak manifest for the 2.9.6 release.
And rename the current manifest as being a nightly manifest.
2017-09-23 14:00:46 +02:00
Jehan a35d46d5a6 build: update the howto. 2017-09-23 13:37:56 +02:00
Jehan 40fe08b8c1 build: update webkit patch for flatpak build.
Not sure why, because flatpak-builder used to compile webkitgtk just
fine, but not anymore. I get now a "call of overloaded ‘abs(gdouble)’ is
ambiguous" error. It looks like some header may have been updated in the
flatpak environment and causing multiple abs definitions. Using fabs()
instead works around the issue.
2017-09-23 03:28:36 +02:00
Jehan 4b12467d4e build: gexiv2 also was bumped. 2017-09-20 20:31:25 +02:00
Jehan 411e550fb7 build: libwebp required version was bumped. 2017-09-20 17:02:50 +02:00
Michael Schumacher 743b303b19 build: skip Recommends for docker image
manpages, docs, utilities are not needed for a pure build image
2017-09-05 22:37:49 +02:00
Michael Schumacher b5865a1ba6 build: Add more dependencies to the build image Dockerfile 2017-09-05 21:42:10 +02:00
Michael Schumacher 613d3b0893 Dockerfile for building GIMP 2.9.x
This is a first try at creating a docker-based build environment for GIMP.

The file has grown alongside building babl, GEGL, libmypaint and GIMP on a RHEL host running Docker. The main purpose of this image will be to serve as a base for building packages like Flatpak, AppImage and others, and serving them from download.gimp.org

it is not optimized at all, pulls in some extra packages, misses some optional dependencies, builds as root, ...
2017-09-04 22:55:36 +02:00
Jehan 8e329d25fb build: replace `flatpak build-export` by `flatpak-builder --export-only`
build-export is actually a low-level tool used by flatpak-builder. When
using it directly, debug and locale extensions were not extracted as
separate extensions (unless tweaking complicated command lines), ending
up with a huge GIMP flatpak with the current procedure.
Since flatpak 0.9.5, the option --export-only has been added to
`flatpak-builder` so that the build and the export can be made in 2
separate steps while using the high level procedure.
See: https://github.com/flatpak/flatpak/issues/824
2017-06-20 16:51:03 +02:00
Jehan 8b3f5e87d8 build: updates to the flatpak howto. 2017-06-07 16:53:00 +02:00
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
Michael Henning 96e9b5bfcc build/win: Upgrade iso-codes to 3.58 2015-06-25 19:19:30 -04:00
Michael Henning 3f88b40af1 build/win: Upgrade libgexiv2 to 0.10.3 2015-06-24 22:59:35 -04:00
Michael Henning c585f6b267 build/win: Upgrade lcms2 to 2.7 2015-06-23 23:09:06 -04:00
Michael Henning 504283760d build/win: Upgrade glib to 2.44.1 2015-06-22 22:05:10 -04:00