Commit Graph

44999 Commits

Author SHA1 Message Date
cd9115beef GIMP registry is deprecated
Removed from the README

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
2019-12-13 17:03:16 +00:00
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
f89692c25f meson: add json-glib as dependency in meson files too.
Done on a separate commit to make cherry-picking easily to gimp-2-10
without all the meson changes.
2019-12-13 17:51:44 +01:00
506a0476f4 app: check last GIMP release from gimp.org/gimp_versions.json.
GIMP will now process the remote gimp_versions json file to look if one
is using the last version of GIMP. This initial code doesn't act up yet
on this information. This will come in further commits.

Here are the characteristics:
- Since this requires internet access, a new checkbox is available in
  the Preferences dialog, allowing to disable version checks. Note that
  it is enabled by default as it is an important security feature, but
  it has to be deactivatable.
- The remote access is done as an async operation because we don't want
  it to block the startup in any way (for whatever reason). Also it
  doesn't output errors if it fails to not be a bother (you don't
  technically need internet access for an image program).
- We don't check at every startup. At each successful check, we save a
  timestamp to prevent too frequent useless checks (I set it the timer
  to a week or more for now).
2019-12-13 17:51:44 +01:00
bed5fe37d8 tools, fix implicit declaration of function atoi warning
(cherry picked from commit 1ca3d99fbc)
2019-12-11 21:59:11 +01:00
0dd4feaafd meson: new build id and revision also in meson configuration. 2019-12-11 21:59:11 +01:00
73c09ebb32 app, configure: add configure option for a build id and revision.
The point will be for a packager to create a unique build ID to identify
the build or provenance. I also add a revision number so that we can
identify 2 builds from the same version/commit, same maker and platform.

It will also be used later to check for new versions (see "phone home"
feature #2584).

Separating autotools and meson commits for easy backport.
2019-12-11 21:59:11 +01:00
1b03513fc6 Update Catalan translation 2019-12-06 21:58:05 +01:00
a43f7409c7 Update Catalan translation 2019-12-01 09:46:46 +01:00
468f3e84d8 Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c 2019-12-01 00:37:00 +00:00
c6a494e5d8 Update Catalan translation 2019-11-30 23:06:02 +01:00
39e6670c7c gitlab-ci: job renaming. 2019-11-26 20:31:39 +01:00
c8ec0ae7fa gitlab-ci: add a Windows 32-bit CI.
Some issues may happen only for 32-bit builds. So it may be worth make a
Windows 32-bit build too.
Issue #2794 triggered this reasonning, though in this issue's case,
simply the build would not have discovered the bug since it was only a
build warning + run-time bug. Still long-term if we manage to get a
no-warning build, it could become relevant to discover more errors at
build time. So preparing the ground work here.
2019-11-26 20:31:39 +01:00
e54467a8fa plug-ins: (meson) install Python plug-ins with execution permission.
Otherwise GIMP will skip them!
2019-11-26 20:24:28 +01:00
b0ae5f1351 plug-ins: minor fixes to spyrogimp plugin.
Use Gtk Grid instead of deprecated table.
Fix use of some Gtk constants.
Fix top limit of scale widgets by setting page size of Adjustment to 0.
2019-11-26 20:08:59 +01:00
9a4d1f0277 Issue #4209: Animation optimize for GIF moves layers to top left corner.
Regression from commit 9d33a9a9ca as spotted by Massimo.
2019-11-24 21:56:34 +01:00
a76012991b gitlab-ci: do not wait for all jobs from "dependencies" stage.
The GNU/Linux builds should start as soon as the Linux dependencies are
built. There is no need to wait for the Windows dependencies (and
reciprocally of course).
This should make for much faster CI total duration (with current
configuration).

Note: this "needs" keyword is quite a recent feature since gitlab 12.2,
3 months ago: https://docs.gitlab.com/ee/ci/yaml/#needs
2019-11-24 21:19:03 +01:00
d48dcc1252 gitlab-ci: move to Fedora 31 image for the Win32 CI build. 2019-11-24 20:52:22 +01:00
44df9f2193 meson: use explicitly python3 when calling it.
Anyway meson is based itself on python3 so it has to be present. Just
using `python` may be any python (2 included).

Of course, it would be ok most of the time, but with the Fedora 31 CI,
apparently just `python` is not found.
2019-11-24 20:52:22 +01:00
cd54a8fee9 Windows backtrace: VEH must use stdcall
Fixes issue #2794
2019-11-22 00:03:14 +01:00
4b8bb5e057 meson: Warn when git is missing in non-dist builds
8b5060349a fixes the issue of version headers
not being available when building out of VCS tarball (without .git directory)
but we were getting `unknown (unsupported)` version still. Turns out the version
silently fell back to `unknown` when git was not available.

Let's warn the user when this is the case.
2019-11-21 19:20:26 +01:00
8b5060349a meson: allow non-dist non-git builds but mark them unsupported.
Reported by Jan Tojnar as a comment to commit e4c7fc23 that builds from
simple archives of the repo contents (without the .git tree) are
currently broken. Well this is normal, as we only support builds from
release versions or from the repository where we can extract a git hash.
Any other kind of nightly build can be from any commit out of thousands
and is maintenance hell.

To be nice though, let's unbreak such builds, but they will be clearly
marked as unsupported (warning at configure time + the extract commit
hash will now be labelled "unknown (unsupported)", which will be a
visible string in About and on unstable version canvases).
Basically do so at your own risk.

Also generate INSTALL all the time (not sure why it was only generated
in non-git case).
2019-11-21 12:38:25 +01:00
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
05896b4e2f libgimpbase: rename and reorder the values of enum GimpSelectCriterion 2019-11-19 22:25:57 +01:00
0141a28419 libgimpbase: remove enum value GIMP_FOREGROUND_EXTRACT_SIOX 2019-11-19 21:25:26 +01:00
0e5a03605a libgimpwidgets: remove enum value GIMP_CONVERT_PALETTE_REUSE 2019-11-19 21:21:16 +01:00
1be4ec2100 libgimpbase: remove enum GimpBlendMode, it's not used any longer 2019-11-19 21:13:31 +01:00
c287fb6239 libgimpwidgets: reorder enum GimpIntStoreColumns
so LABEL and ABBREV are next to each other.
2019-11-19 21:06:05 +01:00
876199a03f devel-docs, libgimp: update some .gitignore files 2019-11-19 20:40:22 +01:00
9a043d0fc9 Issue #4251: (meson) dbus-glib-1 not required.
As written in previous commit, this is not a dependency since commit
c4460e84.
2019-11-16 19:26:58 +01:00
5f2a6940e3 app, devel-docs: remove dangling DBUS_GLIB_* variables.
dbus-glib is no more a dependency since commit c4460e84, i.e. already
since 2013!
2019-11-16 19:19:02 +01:00
ea379ef5a9 meson: fix CC_VERSION.
The way we use CC_VERSION macro is to give information on the compiler
used during build. This information may be useful when debugging in
particular. So we can't just use `cc.version()` which only gives a
version number, not even the name of the compiler.

Restore the logics of autotools where we were using the result of `cc
-v` (for gcc and clang) and testing various CLI options for other
compilers.

Also this test may fail on meson because of various bugs, which I now
reported and provided patch for (hopefully soon merged). In particular,
when using ccache, the command run fails (also I have to change newlines
in C-style `\n` myself as meson's set_quoted() creates broken header
when newlines are present).

If it fails, let's at least store the compiler name + its version, still
more useful than version only.
2019-11-14 20:47:01 +01:00
e4c7fc2334 Change logic to detect .git directory on repositories (or file on submodules) 2019-11-14 14:14:53 +00:00
9cd0584e90 Add script to install files in the dist tarball.
Add a check inside Meson to detect if we're building from a git clone
or a dist tarball.
(in thie later, don't generated INSTALL.in and git-version.h)
2019-11-14 12:25:07 +01:00
86c5720375 Use variables for minvers, partly fixes #4132. 2019-11-14 11:39:59 +01:00
6124be59b7 configure: fix typo which was breaking the build. 2019-11-13 13:25:23 +01:00
54020c2597 Updated Greek translation 2019-11-13 14:23:31 +02:00
324d62c863 meson: update the broken libheif test (similarly to autotools). 2019-11-13 12:52:43 +01:00
f051e6d238 Issue #4185: Plug-in “file-heif.exe” crashes exporting HEIF/HEIC.
My previous test (commit 41285813a5) was a bit misinformed. So it turns
out bug #4185 is for all platforms and the broken libheif versions are
1.5.0 and 1.5.1 only.

So my new test (platform independent) is: prefer libheif versions with
profile support, except 1.5.x; then prefer lower versions without
profile support; and only as last resort accept 1.5.x versions (but
output a warning).
2019-11-13 12:33:14 +01:00
d1bb192d7d Fix make check by replacing metadata-tags.h with metadata.c as spotted by grem 2019-11-12 23:36:20 +03:00
f9752f39b0 meson: add a libmypaint < 1.4.0 warning.
Same as what I did for the configure script. Note that I break commits
in 2 to make the autotools commits easily backportable to gimp-2-10,
i.e. without any meson files.
2019-11-12 17:21:25 +01:00
5da252ca18 Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).
Known bug in libmypaint dependency. It has been fixed in libmypaint
1.4.0, which we cannot hard require unfortunately (Debian testing still
at 1.3.0).

Still let's make add a warning so that packagers are aware of the issue
and update when possible.
2019-11-12 17:13:05 +01:00
59dcd29f1e meson: fix HAVE_LIBHEIF_1_4_0 macro.
It was typoed as HAVE_LIBHEIF_4_1_0 so profile support was never
working for HEIF format.

Also add warnings and better output, similar to configure script one.
2019-11-12 15:58:06 +01:00
41285813a5 configure: improve libheif detection and output.
Replace the "Heif >= 1.4.0" line in the summary output by a comment in
the "Heif" line explaining this is about profile support.

Also add a >= 1.6.0 test and output a warning for Windows and macOS (cf.
bug #4185).
2019-11-12 14:48:26 +01:00
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
053fbd7da5 po: fix missing semicolon in Basque translation.
I am not touching the translation, only the formatting for the Keywords
field in desktop file. As requested by a translation comment, all
translations of this field need to end with semicolon too (without, we
get validation warnings).
2019-11-12 13:08:59 +01:00
b6e558ae89 Updated Danish translation of gimp-plug-ins 2019-11-12 03:30:57 +01:00
24cadf8589 plug-ins: port file-mng-save to GimpProcedureConfig and propwidgets
and some cleanup, this is one half-finished mess, but at least
now a ported mess.
2019-11-12 01:36:56 +01:00
0a5a363ceb Update German translation 2019-11-11 22:56:23 +00:00
Ell
0e29fc1b21 Issue #4218 - Color>Invert doesn't work on saved selection channel ...
... or copied RGB channel

In gimp_drawable_merge_filter(), make sure the drawable's source
node is constructed before applying the operation.  The
construction of the source node connects the drawable's filter
stack to the udnerlying source node (usually, the buffer-source
node), which we rely on when calling
gimp_gegl_apply_cached_operation(), since we pass
connect_src_buffer == FALSE.  Otherwise, the operation is applied
to an empty input, instead of the drawable content.
2019-11-11 19:01:37 +02:00