Commit Graph

417 Commits

Author SHA1 Message Date
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 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 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 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
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 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 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 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
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
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
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
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 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
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 c6a1b9bcde Update various places with old git repository URIs. 2018-05-27 04:19:18 +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
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
Jernej Simončič 5427d82d21 Installer: better error message about unsupported OS 2018-05-10 17:18:34 +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
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
Ell 65c7ce5e7d build: add Chinese (China) translation to the Windows installer 2018-04-13 08:16:50 -04:00
Ell e931d354ab build: update Windows installer splash for 2.10 RC 2018-03-25 13:31:26 -04: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
Ell bc8c79e95a build: add Icelandic translation to the Windows installer 2018-01-06 12:31:51 -05: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
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 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
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
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
Marco Ciampa a774b24270 Small fix in the Windows Installer Italian translation 2017-02-14 12:08:15 +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
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
Michael Henning 1e8b9f46a0 build/win: Upgrade gtk2 to 2.24.28 2015-06-07 17:19:11 -04:00
Michael Henning d77bcaebd6 build/win: Upgrade cairo to 1.14.2 2015-06-06 13:52:18 -04:00
Michael Henning dae608dfdf build/win: Fix building iconv on recent gcc versions. 2015-06-06 13:52:18 -04:00
Piotr Drąg d17bccc724 Add Polish translation of the installer 2015-05-22 19:07:44 +02:00
Jordi Mas 9b729decc3 Add Catalan translation for the win32 installer 2015-05-22 06:02:07 +02:00
Michael Henning 4d9cf01965 build/win: Upgrade libffi to 3.2.1 2015-05-09 23:11:51 -04:00
Michael Henning d5cab957ac build/win: Add patches to gtk2 for fixing horizontal scrolling. 2015-04-28 03:16:38 -04:00
Michael Henning b55d3e8d8e build/win: Upgrade atk to 2.16.0 2015-04-26 21:23:12 -04:00
Michael Henning 5eaf8045ec build/win: Upgrade glib2 to 2.44.0 2015-04-25 13:49:20 -04:00
Michael Henning 30c81b3d4e build/win: Upgrade xz to 5.2.1 2015-04-24 17:09:11 -04:00
Michael Henning 468667e2d2 build/win: Stop setting PATH in the batch file.
This is possible since 60197c227d
2015-04-14 17:24:45 -04:00
Michael Henning 613d83679d build/win: Upgrade gdk-pixbuf2 to 2.30.8 2015-04-14 17:12:13 -04:00
Michael Henning 51daad2bfc builld/win: Upgrade libpng to 1.6.17 2015-04-14 17:01:53 -04:00
Michael Henning 9994c81ffb build/win: Apply the same icu tweaks for 64 bit builds. 2015-04-03 13:50:39 -04:00
Michael Henning 6b186266b1 build/win: Patch libmng's Makefile.in instead of Makefile.am
It's hacky, but it removes the dependency on a specific
automake version.
2015-04-03 13:38:21 -04:00
Michael Henning f685dbc7ed win: Mark as Windows 8.1 compatible. 2015-04-01 01:42:57 -04:00
Michael Henning 748c381fd2 build/win: Add json-glib. 2015-01-21 19:33:40 -05:00
Michael Henning 3a343e02a3 build/win: Upgrade glib2 to 2.42.1 2015-01-21 19:33:40 -05:00
Michael Henning bb5effe95a build/win: Upgrade libpng to 1.6.15 2014-11-27 12:16:52 -05:00
Michael Henning 8e4511b8c1 build/win: Upgrade cairo to 1.14.0 2014-10-25 21:35:03 -04:00
Jehan 8c1cd7caac Makefile: fix VPATH builds for win32. 2014-09-14 18:28:26 +02:00
Michael Henning df1a352414 build/win: Preserve PATH in environment for building icu-native 2014-09-02 10:41:26 -04:00
Michael Henning 601f6af69b build/win: Upgrade librsvg to 2.40.2 2014-08-18 11:25:19 -04:00
Michael Henning 0b03a6844c build/win: Upgrade pango to 1.36.5 2014-08-15 13:31:07 -04:00
Michael Henning b3d5985c72 build/win: Upgrade pixman to 0.32.6 2014-08-14 18:12:13 -04:00
Michael Henning b0ad0d6b87 build/win: Upgrade harfbuzz to 0.9.34 2014-08-13 20:08:41 -04:00
Michael Henning 91cb85ea20 build/win: Upgrade poppler to 0.26.3 2014-08-13 16:32:08 -04:00
Michael Henning 416059a3f5 build/win: Tweak gtk2 hack 2014-08-10 15:52:52 -04:00
Michael Henning 90add0f55a build/win: Remove all extra files while cleaning. 2014-08-09 15:55:52 -04:00
Michael Henning 92f942c71c build/win: Remove extra poppler hacks. 2014-08-06 00:49:44 -04:00
Michael Henning bf9cb2155e build/win: Disable libwmf for now. 2014-07-30 16:34:42 -04:00
Michael Henning 978f8f2b0c build/win: Add support for building 64-bit libs in jhbuild. 2014-07-30 16:34:42 -04:00
Michael Henning a4bf1ff1cb build/win: Reset tarball location on newer jhbuild versions. 2014-07-30 16:34:42 -04:00
Michael Henning 2801d9c387 build/win: Mark poppler as optional
Compiling it tends to fail on newer mingw releases.
2014-07-29 23:50:22 -04:00
Michael Henning f08c519aa2 build/win: Disable lto in cairo
It causes issues with older binutils versions. See:
https://bugs.freedesktop.org/show_bug.cgi?id=77060
2014-07-29 23:50:22 -04:00
Michael Henning cdb7f185a7 build/win: Upgrade libpng to 1.6.12 2014-07-29 23:50:22 -04:00
Michael Henning a7953fb1a1 build/win: Upgrade webkitgtk to 2.0.4
Also fix the build against the latest versions of freetype.
2014-05-31 23:38:57 -04:00
Michael Henning 78f84e6267 build/win: Upgrade poppler to 0.26.1 2014-05-29 19:02:06 -04:00
Michael Henning 9ffb506f68 build/win: Upgrade pango to 1.36.3 2014-05-22 19:08:26 -04:00
Michael Henning 8e9424ffe3 build/win: Upgrade gdk-pixbuf2 to 2.30.7 2014-05-21 19:54:41 -04:00
Michael Henning 7266cd9c1f build/win: Upgrade libjpeg-turbo to 1.3.1 2014-05-20 20:01:31 -04:00
Michael Henning 4671904f1a build/win: Upgrade gdb to 7.7.1 2014-05-19 19:31:48 -04:00
Michael Henning 54b1c5e740 build/win: Upgrade poppler to 0.26.0 2014-05-19 19:04:50 -04:00
Michael Henning e9158b8be0 build/win: Improvements to checkversions.sh
checkversions.sh now:
 * No longer needs a build output directory to run
 * Has comments
 * Filters out irrelevant results
2014-05-18 11:40:09 -04:00
Michael Henning a2b2c82e44 build/win: Upgrade libgexiv2 to 0.10.1 2014-05-18 11:00:48 -04:00
Michael Henning 79832618d5 build/win: We now need libxml-simple-perl on the host system. 2014-05-10 10:58:48 -04:00
Michael Henning 23ec10b2c6 build/win: Install and use gnome-icon-theme 2014-05-09 23:15:06 -04:00
Michael Henning 8593cae2ee build/win: Upgrade atk to 2.12.0 2014-05-09 21:09:44 -04:00
Michael Henning 4377dda9e3 build/win: Upgrade gtk2 to 2.24.23 2014-05-08 18:34:46 -04:00
Michael Henning 767fc83864 build/win: Upgrade lcms2 to 2.6 2014-05-06 20:09:19 -04:00
Michael Henning 4d4c40b950 build/win: Add a script to create binary packages of individual dependencies 2014-05-04 13:09:58 -04:00
Michael Henning 55181571c3 build/win: Upgrade glib to 2.40.0 2014-05-04 09:53:14 -04:00
Michael Henning dc7c4bf4b8 build/win: Upgrade fontconfig to 2.11.1 2014-05-03 13:35:18 -04:00
Michael Henning 017b6fabea build/win: Upgrade harfbuzz to 0.9.28 2014-05-02 16:56:49 -04:00
Michael Henning 7c38bf1556 build/win: Upgrade libpng to 1.6.10 2014-04-23 22:44:18 -04:00