Commit Graph

49182 Commits

Author SHA1 Message Date
Alx Sa fc202818dd plug-ins: Add support for PSD clipping paths
Adds import and export support for clipping paths in PSD files.
On import, path name and flatness value are saved in parasites.
Prior settings are loaded in the GUI on export.
2022-12-30 16:33:37 +00:00
Alx Sa ec60d376a5 plug-ins: Create struct for PSD save options
Allows more save options to be added without changing
the method signatures.
2022-12-30 16:33:37 +00:00
Sabri Ünal 5d9f214cb8 app: Make a comment reachable
gettext cannot reach otherwise.
2022-12-30 12:43:41 +00:00
Richard Szibele f470691e06 ScriptFu: Add byte support.
Add a new type 'byte' to be able to handle binary data while still
retaining the utf8 char and string behavior.

Internally the file and string port and character handling have
been reworked to use the new byte-centric functions.

Also adds a new test script (test9) that tests byte, char and
utf8 string handling.
2022-12-27 16:48:13 +00:00
Jehan b62ae798d1 libgimp: libgimp does not depend on GTK+.
Only libgimpui depends on GTK+, display servers and other GUI-related
dependencies. There was a problematic include added in commit 0b56aa0d13 for
macOS, but the needed code (testing the macro GDK_WINDOWING_QUARTZ to use some
[NSApp activateIgnoringOtherApps:YES] API) doesn't seem to be present anymore in
there, so I think that removing this include (replace by including GLib for
other calls) should work fine. Of course, we'll know it when the separate CI
will test a macOS build as we still don't have in-Gitlab macOS jobs. :-/
2022-12-26 22:29:52 +01:00
Jehan c6bc4fbe38 tools: add a --runtime option to flatpak-releases script.
This will allow to also check the list of runtime builds. We could see an
example in a report (#8993) where someone had the latest flatpak build of GIMP
but an older build of the runtime flatpak. So they had a bug because of a
dependency which got updated since then.
2022-12-26 18:53:51 +01:00
Jehan 9347c9d5fd tools: add the flatpak commit info to flatpak-releases script output.
This is useful when wanting to check someone is using the last flatpak build in
a bug report.
2022-12-26 18:18:54 +01:00
Ekaterine Papava 26ff19a89d Update Georgian translation 2022-12-23 22:59:05 +00:00
Jacob Boerema 8372220345 app: use pre-defined help id GIMP_HELP_COLORSELECTOR_PALETTE
Instead of using the string directly. This ensures that possible updates
in the string don't go unnoticed in gimp-help.
2022-12-23 13:01:11 -05:00
Jacob Boerema 469dfdcf11 app: update available help ids for gimp-help
Add several missing help ids, remove those that are not used anymore,
and update "gimp-colorselector-water" to "gimp-colorselector-watercolor".

Also add a comment why some help ids are not used directly.
2022-12-23 12:56:47 -05:00
Jehan 5d30089d71 gitlab-ci: fix the CI build.
In the last few days, our deps-win64 job started to fail with:
> $ update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
> update-alternatives: error: no alternatives for x86_64-w64-mingw32-g++

The reason lies in this change in Debian testing 10 days ago:

----
gcc-mingw-w64 (25) unstable; urgency=medium

  * Upgrade to GCC 12. Closes: #1023679. It is no longer possible to tweak
    the installation directory for different thread models, so the -posix
    and -win32 packages are no longer co-installable.
  * Drop “Built-Using” from “Architecture: all” packages.
  * Since the POSIX and Win32 packages are no longer co-installable,
    drop support for alternatives and use symlinks to provide the full
    set of command names.
  * Standards-Version 4.6.1, no change required.

 -- Stephen Kitt <skitt@debian.org>  Mon, 12 Dec 2022 09:00:34 +0100
----

So from now on, we'll only install the posix variant of the cross-compiler.
Hopefully it will work for all packages we build.
2022-12-23 18:28:36 +01:00
Jordi Mas d08a63d610 Update Catalan translation 2022-12-21 17:28:33 +01:00
Jordi Mas cea954b42c Update Catalan translation 2022-12-18 20:31:41 +01:00
Kristjan SCHMIDT 798ef480de Update Esperanto translation 2022-12-18 11:14:07 +00:00
Kristjan SCHMIDT 641379886a Update Esperanto translation
(cherry picked from commit 8ef0a8701d)
2022-12-18 11:05:23 +00:00
Jordi Mas fb98b3198c Update Catalan translation 2022-12-17 14:28:42 +01:00
Alx Sa d1746e464c plug-in: Initial support for CMYK/A JPEGXL export
Adds option to export JPEG XL images in CMYK/A format.
Key and Alpha data is saved in extra channels, and the
simulation profile is saved as well.
Per the specification developers, the format does not
support 'naive' CMYK conversion, so a profile is required
for export. The option will be disabled if not set.
2022-12-14 21:43:38 +00:00
Alx Sa b04f45f354 plug-in: Initial support for CMYK/A JPEGXL import
Checks if file has an extra key channel for CMYK. If so, it is combined
with the image's CMY image to create a CMYK buffer for import.
Color profile is stored as image simulation profile.
If alpha channel is present, it is now loaded as well for CMKYA images.
2022-12-14 21:43:38 +00:00
Jehan 5c4dac0d67 devel-docs: release-howto was now moved into the developer website.
The URI will be: https://developer.gimp.org/core/maintainer/release/ (once we
merge the testing website to the main)

The new procedure also contains a wrapper step where we paste the checklist,
markdown-formatted, into a Gitlab report for better progress follow-up and also
onboarding testers into the release procedure.
2022-12-13 23:53:08 +01:00
Emin Tufan Çetin 1d9d3b8f11 Update Turkish translation 2022-12-13 01:00:58 +00:00
Sabri Ünal 64302025dd Update Turkish translation 2022-12-13 00:51:52 +00:00
Jehan 0e8a52a9f5 devel-docs: removing files and contents moved to developer.gimp.org.
The milestone and libtool instructions were moved over, as well as "Maintainer"
section text from the devel README.
2022-12-12 23:15:48 +01:00
Jehan 8ab38eb883 meson: fix the shared object version.
The current code was wrong, hence was producing wrongly versioned shared
library files. This commit do it the same way as we do it on autotools build,
and additionally compute the library version (since "current:revision:age" gets
transformed into "(current - age).age.revision" by libtool, but meson doesn't
use libtool so we have to do this ourselves).

Now meson and autotools builds produce the same result at least. There are still
some points I'm wondering and which we should handle before GIMP 3.0 release:

* Since meson doesn't use libtool (and no .la files are created), should we
  actually stick to libtool version scheme? It seems like some projects would
  use semver instead. On the other hand libtool version gives a bit more info.
* Also it raises the question on whether we want the API version to be semver at
  all or simply follow GIMP version? It used not to be much of a problem as we
  wouldn't add features (hence new API) on micro version, yet now we can. So
  GIMP program's version could not pass as semantic versioning. On the other
  hand, having a diverging API version (whose minor version would increment
  faster in particular, with regular micro version resets) would be confusing
  too.
* If we keep libtool versioning, I'm thinking we should do it manually. It's
  actually pretty easy with a good docs (or even just following GNU docs:
  https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html),
  and simple to understand whereas the current code logic is very weird and we
  end up with huge current and age values with complicated computation.

Note also that I raise the "Libtool versioning" section near meson.build top and
updated gimp_interface_age to be the same as on autotools currently.
2022-12-12 19:58:17 +01:00
Jehan d5d0808fee NEWS: update. 2022-12-12 14:38:54 +01:00
Jehan d76d5bdb4b devel-docs: update release-howto.
- The <_p> or <_li> syntax for localizing AppData is the old code logics from
  intltool.
- Mailing lists don't exist anymore. Move all usage on discourse.
- Microsoft Store is only for stable builds.
- Let's always merge `origin/testing` into `master` on gimp-web module (no
  cherry-picking) as it's clearly the procedure we've been doing for quite some
  time now.
2022-12-12 14:33:47 +01:00
Sabri Ünal d60b14e2e0 Update Turkish translation 2022-12-11 19:46:46 +00:00
Alexander Shopov 4390e4522e Update Bulgarian translation 2022-12-11 17:24:56 +00:00
Alexander Shopov d2442edd56 Update Bulgarian translation 2022-12-11 14:05:21 +00:00
Sabri Ünal d4d5f1eb47 Update Turkish translation 2022-12-11 09:14:17 +00:00
Jehan 09ece8f6f9 Issue #8948: Autotools build does not support the new babl-0.1 naming. 2022-12-09 16:34:11 +01:00
Cristian Secară aea3b9132a Update Romanian translation 2022-12-08 22:21:52 +00:00
Cristian Secară 9eddb55076 Update Romanian translation 2022-12-08 22:17:54 +00:00
Cristian Secară cf91b0af76 Update Romanian translation 2022-12-08 22:16:54 +00:00
Cristian Secară b8e732cfd8 Update Romanian translation 2022-12-08 22:16:01 +00:00
Cristian Secară d35b82c066 Update Romanian translation 2022-12-08 22:15:25 +00:00
Cristian Secară 3698d0975f Update Romanian translation 2022-12-08 22:13:58 +00:00
Cristian Secară 7b96d67a95 Update Romanian translation 2022-12-08 22:12:59 +00:00
Jordi Mas d3ea4d7fa4 Update Catalan translation 2022-12-05 22:36:59 +01:00
Jehan 04a78154e1 meson: take into account babl's pkg-config name change.
See babl!52 (babl commit b8da847) and gimp#8912.
2022-12-05 14:34:48 +01:00
Jehan 83545ee94d devel-docs: adding libgimp as dependency to libgimpui.
Also use proper naming of dependencies, regarding of casing (e.g. GIMP
and GEGL, but babl).
2022-11-29 04:37:09 +01:00
Jehan 4acd18309a app: use our custom layer search entry with Ctrl-F in the Layers dockable.
GtkTreeView has an "interactive search" feature built-in, which basically kicks
in with the Ctrl-F shortcut by default. Let's hijack this feature and trigger
our own new search popover which is much more powerful (multi-item selection,
ability to use regexp or glob search by enabling these in Preferences, etc.).

This was an idea by Aryeom who wanted to be able to hit Ctrl-F to search for
layers.
2022-11-28 21:48:53 +01:00
Jehan 3795afefa5 app: GIMP_TIMER_START|END are no-op on release builds.
These are typically debug outputs and we don't want them to appear on stderr of
release builds. They confuse people (some tester would report these on IRC when
we last release GIMP 2.99.14).
So let's not show these debug text on release versions.
2022-11-28 20:59:30 +01:00
Jehan 2912552263 app: make the "Anchor" tooltip depending on whether we are floating over…
… a layer or a layer mask.
2022-11-28 20:43:56 +01:00
Christian Kirbach dd3ed440a7 Update German translation 2022-11-24 21:58:25 +00:00
Balázs Úr 7ab7997a63 Update Hungarian translation 2022-11-22 23:55:34 +00:00
Jordi Mas a1792a56cb Update Catalan translation 2022-11-22 21:32:54 +01:00
Lukas Oberhuber e62f00ad4e macos: support MacPorts
This provides MacPorts support which is now the official way that
the MacOS port is built and packaged.
2022-11-22 14:36:22 +00:00
Jordi Mallach 1aec2281f5 Increase the timeout of tests from default 30s to 60s.
Some slower architectures hit the timeouts and fail their build.

See
https://buildd.debian.org/status/fetch.php?pkg=gimp&arch=armel&ver=2.99.14-1&stamp=1669046159&raw=0
for an example of a failed build.
2022-11-22 10:01:44 +01:00
Jordi Mas 46f2ea4142 Update Catalan translation 2022-11-20 23:59:10 +01:00
Jehan c5f34477e6 build: sync flathub's beta and nightly branches of the flatpak.
Only the libwmf patches are still different. Apparently we may have fixed the
same bugs in different way on both branches. We should look later in details to
see if some patches are better than the other.
2022-11-18 23:48:46 +01:00