Commit Graph

168 Commits

Author SHA1 Message Date
Jehan 5f03859abf desktop: syncing the AppData with gimp-2-10 one. 2023-11-10 16:02:33 +01:00
Jehan 74fee1a957 desktop: update release date (to today) in AppStream file. 2023-07-05 15:57:24 +02:00
Jehan 90f155365b desktop: new AppStream metadata for upcoming 2.99.16 release. 2023-06-12 16:39:46 +02:00
Jehan 3da0cdc03d desktop: removing autotools-only test files.
These are implemented directly in the meson build files.
2023-05-27 00:16:47 +02:00
Michael Natterer 26dce72d2c Remove autotools 2023-05-27 00:03:52 +02:00
Daniel Novomeský 359ce849bc Fix flatpak release info about JPEG XL
(cherry picked from commit d8566241a0)
2023-02-27 01:47:17 +01:00
Jehan 2167ff98fb desktop: update AppStream metadata release date.
(cherry picked from commit c4efe45cab)
2023-02-22 14:04:15 +01:00
Jehan 9c15a2055f desktop: new <release> tag for GIMP 2.10.34.
See #9136.

(cherry picked from commit 0cd38a87e1)

Note: when cherry-picking, the tags were fixed as the main dev branch does not
need the underlined tags for localization anymore.
2023-02-22 14:04:08 +01:00
Jehan 6083fd81a1 app, desktop: prepare AppData <release/> item for upcoming GIMP 2.99.14. 2022-11-09 15:31:39 +01:00
Jehan ca230cb770 meson: fix warnings of deprecated features.
Now that we bumped our meson requirement, meson is complaining about
several features now deprecated even in the minimum required meson
version:

s/meson.source_root/meson.project_source_root/ to fix:

> WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.

s/meson.build_root/meson.project_build_root/ to fix:

> WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead.

Fixing using path() on xdg_email and python ExternalProgram variables:

> WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead

s/get_pkgconfig_variable *(\([^)]*\))/get_variable(pkgconfig: \1)/ to
fix:

> WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
2022-08-31 01:29:37 +02:00
Jehan fbbe3dbaa9 desktop: update Appdata.
Getting ready for release.
Sorry to translators for adding these strings so late!
2022-08-21 02:56:15 +02:00
Niels De Graef f663d26ab5 Migrate from intltool to gettext
intltool has long been dead upstream. Let's not poke the dead corpse,
please.

This commit is quite large, but that's mostly since trying to support a
hybrid of both gettext and intltool with both Meson and Autotools was
really hard, so I stopped trying.

Due to gettext relying on quite some things being at the exactly right
place in the autotools build (like `ABOUT-NLS` and `config.rpath`) we
really needed to cleanup the `autogen.sh` to only call `aclocal` and
`autoreconf`. No more strange magic; I tried to do it without changing
too much in the file, and things just broke. If people want to do
something more custom, they can just change the script directly. This
change also uncovered some problems in our `configure.ac`, like using
deprecated macros.

The following major changes happened:

* meson: Changed `custom_target()` to `i18n.merge_file()` for all
  supported file types
* Added `.its` and `.loc`  files for the GIMP-specific XML formats, so
  that gettext understands them
* For the `.isl` (Window installer stuff) file, there's no easy way to
  do this in gettext, so instead we start from an XML file (again with
  its own ITS rules etc), translate that with gettext, and then use
  `xsltproc` with a bit of magic to output the .isl file for each
  language
* the `po*/Makefile.in.in` files are migrated to `Makevars` files,
  which gettext natively understands.

Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/8028
2022-06-25 10:25:49 +02:00
Jehan 2b4e433e87 desktop: adding a <release> tag for GIMP 2.10.32.
(cherry picked from commit 4fbc497c28)
2022-06-08 20:59:09 +02:00
Jehan 920041c3a0 desktop: gimp-data-extras AppStream was moved to the appropriate repo.
See the commit 28467cb on the gimp-data-extras repo where I moved this
data in. Not sure why this metadata file was ever pushed to the main
repo as it is obviously for the data-extras package (or else I am
missing some information!).

The old 2017 report where it was originally added:
https://bugzilla.gnome.org/show_bug.cgi?id=763398
2022-05-04 23:00:00 +02:00
Jehan 6895631388 desktop: add (bogus) date for 2.99.12 release.
appstreamcli on CI fails with error:

> E: org.gimp.GIMP:394: release-time-missing date

I didn't have such error on my local build, because it is a new check
only recently added. The CI appstreamcli errored-out this way.

It forces us to add a bogus release date since we don't know it yet. I
chose May 29, because we usually release on Sundays, and it might soon
be time to make a dev release (so who knows, we might get lucky and it
might happen this day), though it should not be taken as a promise or a
real plan just now. I just needed to fill something in, in order to fix
the CI.

I opened a report to ask that appstreamcli proposes a relaxed check mode
where we can test on the <release> tag before knowing the future date:
https://github.com/ximion/appstream/issues/398
2022-05-04 00:06:43 +02:00
Jehan caf506af0c desktop: we might not be valid project_group GNOME?
appstreamcli returns an info message:

> I: org.gimp.GIMP:3: cid-missing-affiliation-gnome org.gimp.GIMP

Checking the message, it happens because the application ID does not
start with "org.gnome." (but "org.gimp.").

Double-checking AppStream docs, a note says:

> You should only identify with an umbrella project if you use all their
> infrastructure and policies, for instance string freezes dates,
> bugtracker and source control instance.

GNOME Foundation is indeed an umbrella for us for the infrastructure and
obviously part of its policies. But we are still independant and don't
depend on GNOME's freeze dates, or release dates, or design rules
(though we try to follow what makes sense), and so on. So I guess it
means we should not set this metadata tag? 🤷 Let's drop it.

See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-project_group
2022-05-03 22:53:12 +02:00
Jehan 1691d9b8bc desktop: fix the data-extras AppStream file.
appstreamcli was returning the error:

> E: gimp-data-extras:3: cid-is-not-rdns gimp-data-extras

Apparently non-desktop component must absolutely follow the schema with
a unique identifier with 3 parts or more.

As advised in the spec, let's use the main desktop component ID, adding
a specific subpart.

Also use underscore rather than hyphen for maximum compatibility.
See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic

Finally for addons, share/metainfo/ is the recommended install path.
See: https://freedesktop.org/software/appstream/docs/sect-Metadata-Addon.html
2022-05-03 22:33:27 +02:00
Jehan e3d7526732 desktop: fix our AppStream file for appstreamcli validation.
Adding a TODO as date was passing through with appstream-util in relax
validation mode, but there is no such mode in appstreamcli.

Anyway since I have manual check steps for the AppStream files in
devel-docs/release-howto.txt, I never missed setting the date right (so
far! Knocks on wood…) in the AppStream metadata. Therefore let's drop
this trick for now and see how it goes.

It should fix the appstream unit check, but only when using appstreamcli
0.15.3 or over (this version is already on Debian testing).

See issue #8140.
2022-05-03 22:33:08 +02:00
Jehan 73f1f944c5 desktop: use appstreamcli for testing instead of appstream-util.
As told to us, this is the reference AppStream file testing tool, and it
understands more of the spec.

Also since commit 73e2e701da, appstream-util chokes on newer url types
from the spec. These tags are now supported both in appstream-util and
appstreamcli source code, except that appstreamcli had release 0.15.3,
available in Debian testing, whereas there were apparently no recent
appstream-glib/util release (and none since 2020). So for these various
reasons, let's go with the appstreamcli tool.

The only downside is that appstream package (where appstreamcli lives)
is not available on MSYS2, but since it's only an optional test tool for
XML files which should be common on all platforms, it's probably
acceptable.
2022-05-03 21:48:28 +02:00
JakobDev 73e2e701da Add new URL types to Appdata 2022-05-02 15:48:07 +00:00
Jehan 18d1fb61f7 desktop: update the appdata release items. 2022-03-29 14:32:05 +02:00
Jehan 4cc89e2e5d NEWS, desktop: update release notes. 2022-03-13 17:40:39 +01:00
Jehan f9c68c0346 NEWS, desktop: update release notes. 2022-03-11 15:30:02 +01:00
Jehan d5cb5cdf1b desktop: add <release> tag for 2.99.12.
It's better to start early as these need to be translated too and are
now even visible in GIMP itself.

Note that I wrote 2.99.11 in the version attribute, but only to be able
to test this easily during development. It will have to be edited to the
right version at release.
2022-03-08 16:42:21 +01:00
Jehan 526271d5c1 desktop: update release date. 2022-02-22 21:39:55 +01:00
Jehan 9ce93ece00 desktop: add some AppStream release items.
These are visible enough changes (in the GUI) that they deserve to be
mentioned here.
2022-02-18 01:11:58 +01:00
Jehan 05d226c343 app, desktop: fix the Alt-click exclusive visibility case.
We want it to work whatever the level in the item tree. We only care
about whether the items are selected or not.

Also fixing the AppStream release tag for the description of this
feature.
2022-02-15 22:08:23 +01:00
Jehan 73414b9320 desktop: prepare an AppStream <release> tag for GIMP 2.99.10. 2022-02-15 13:47:19 +01:00
Jehan 321cdd9d04 desktop: AppData tag for GIMP 2.10.30.
Sorry to translators! I guess this one won't be localized then, but it's
ok. This release was a bit unplanned.

(cherry picked from commit b270728177)
2021-12-20 13:51:59 +01:00
Jehan 944cbc17e8 desktop: update 2.99.8 release date in AppData metadata. 2021-10-17 15:53:35 +02:00
Stan Janssen 1c2d1003e5 desktop: fix duplication of the app icon in a dock like Plank
Without this entry, when starting GIMP as a flatpak application on
elementaryOS, the Dock icon would get duplicated, as if the application
was detached from its launcher. This entry fixes that by allowing the
dock to associate the app's window with the desktop entry.

More information on the type of problem this caused can be found here:
https://github.com/elementary/dock/issues/119
2021-10-12 18:16:58 +00:00
Jehan 9cdc8c085d desktop: add release tag for the AppData. 2021-10-10 13:30:41 +02:00
Jehan e0ac71bfcc desktop: update 2.10.28 release date in appdata.
(cherry picked from commit 31b44a4f5c)
2021-09-14 17:57:43 +02:00
Jehan 97bb359685 desktop: let's skip 2.10.26 and directly release 2.10.28.
A boring build bug was introduced in a recent commit, and it was
recently fixed. It's life! ;-)

(cherry picked from commit 830ca73b6e)
2021-09-14 17:56:17 +02:00
Jehan f04e7442f4 desktop: add an appdata section for 2.10.26 release.
We can see we are really working towards stability and consolidation
now, with few new features, but a lot of bug fixes.
2021-08-29 18:57:37 +02:00
Jehan 2d801596be desktop: add scalable/gimp.svg to distributed tarball.
This is part of fixing the distcheck.
2021-07-06 18:51:16 +02:00
Jehan b7c2fbe6a8 desktop: install 64x64 app icon.
For some reason, this size was installed in the meson build, not the
autotools one.
2021-07-06 11:38:33 +02:00
Jehan 36f103c95f desktop: install a scalable GIMP icon too.
The source is still desktop/src/gimp.svg.
2021-07-06 11:21:37 +02:00
Jehan 1a3efe09f8 desktop: make validate-desktop a unit test.
Instead of a target, let's make it a test. Also I realize it already
existed as desktop_file test. But it's simpler to run it directly (no
need of an external script).

Note: I still leave the test-desktop.sh script as it is used for the
autotools test.
2021-06-18 21:00:38 +02:00
Jehan 9b3611e517 desktop: release date pushed one day.
Same for the planned news date.
2021-04-26 02:20:15 +02:00
Jehan b7a06795d6 desktop: fix release date (wrong month! Oups!).
Also put the news date to Wednesday because it's not ready yet, and
anyway we'll have to wait for mirrors' sync.
2021-04-25 15:46:28 +02:00
Jehan 1f4df66a63 desktop: prepare 2.99.6 release. 2021-04-19 17:16:09 +02:00
Jehan 6a0a8b4c9b desktop: sync AppData with gimp-2-10 branch. 2021-04-18 14:33:05 +02:00
luz paz 6457394069 Issue #6446: Typo fixes. 2021-02-24 12:33:03 +01:00
Jehan 588626dec1 desktop: update appdata with dates. 2020-12-22 20:55:06 +01:00
Jehan 2ffedd1db6 desktop: AppData updated for upcoming 2.99.4 release. 2020-12-20 02:22:52 +01:00
Michael Natterer d5892c4794 desktop: set the appdata 2.99.2 release date to today 2020-10-25 19:20:06 +01:00
Jehan 78ee8ae2c8 desktop: kick start the Appdata for GIMP 2.99.2 release. 2020-10-17 12:20:40 +02:00
Jehan 7f303b3787 desktop: sync AppData file with `gimp-2-10` branch.
Both files should always be synchronized (as development branch will one
day continue on the 2.10 series). Best practice would be that any change
to the AppData is first done on `master`, then cherry-picked to
`gimp-2-10` (even for stable release metadata).
2020-10-17 11:10:43 +02:00
Jehan c0361889ca desktop: prepare 2.10.22 release. 2020-08-02 15:38:35 +02:00