Commit Graph

299 Commits

Author SHA1 Message Date
Maxine Aubrey
d86b3713f1 glib: fix gimp text editing crashes 2022-10-11 18:52:35 +02:00
Jan Tojnar
bdd3746cb6 glib: 2.73.3 → 2.74.0
https://gitlab.gnome.org/GNOME/glib/-/compare/2.73.3...2.74.0

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:26 +02:00
Jan Tojnar
71721a1c6b glib: 2.73.2 → 2.73.3
https://gitlab.gnome.org/GNOME/glib/-/compare/2.73.2...2.73.3

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:14 +02:00
Jan Tojnar
9c64673e4d glib: 2.72.3 → 2.73.2
https://gitlab.gnome.org/GNOME/glib/-/compare/2.72.3...2.73.2

Changelog-Reviewed-By: jtojnar
2022-10-11 18:52:03 +02:00
Alyssa Ross
4610260d99
pkgsStatic.glib: fix build
Since 9f309c8792 ("stdenv: mesonFlags: use canExecute in needs_exe_wrapper"),
glib's tests are built (but not run by default) in pkgsStatic.  This
broke the build because some of the tests required shared libraries.
This patch (which is awaiting review upstream) disables building those
libraries and any tests that depend on them in a static-only build.
2022-09-14 14:08:58 +00:00
Alyssa Ross
d65d8002c7 glib.tests.withChecks: init
This will allow OfBorg to run the GLib tests, which it didn't do
before.  To do this correctly for the glib we're building, we need to
override it rather than taking glib as an input.
finalAttrs.finalPackage is not overrideable, so instead we need to use
overrideAttrs.  Since we can now consult finalAttrs.doCheck, there's
no longer any need for a separate doCheck option, so I've removed it
in favour of overrideAttrs.
2022-09-04 21:18:49 +00:00
Alyssa Ross
2be1bcb3d2 glib: use finalAttrs instead of rec
This will be important when we replace the doCheck option with an
overrideAttrs, because then we can use it in passthru.tests.
2022-09-04 21:18:49 +00:00
Alyssa Ross
14adc91759 glib: unconditionally apply test patch
This patch shouldn't have any effect on builds that don't run the
tests, so it doesn't need to be conditionally applied.  Applying it
unconditionally will make it easier to notice if it breaks e.g. when
updating glib.
2022-09-04 21:18:49 +00:00
Alyssa Ross
6b836517db glib: skip g-file-info test if atime unsupported
atime=off is probably not uncommon among Nix users using ZFS.
2022-09-04 21:18:49 +00:00
Alyssa Ross
e1656e231c glib: move test substitutions into postPatch
Doing this in preCheck means that the tests will already have been
built before the substitutions are made, so they'll have to be rebuilt
after the substitutions.  Move the substitution earlier in the build,
to avoid this unnecessary extra work.

I've made the substitutions run even if tests aren't being run, to
avoid a repeat of the situation where a glib update breaks the tests
due to paths changing.
2022-09-04 21:18:49 +00:00
Alyssa Ross
1ea4a3bab6 glib: fix tests by patching Python shebangs
This has to happen in postConfigure rather than postPatch, because the
files are generated by the configure phase.
2022-09-04 21:18:49 +00:00
Alyssa Ross
3f3f318a6b glib: fix paths of tests in sed
Since the switch to Meson, we're already in the build directory in
preCheck, so we need to update the relative paths we're using
accordingly.

Fixes: 0149459f42 ("glib: 2.56.0 → 2.58.1")
2022-09-04 21:18:49 +00:00
Alyssa Ross
0856bf8144 glib: remove unnecessary substituteInPlace
/bin/true hasn't been hardcoded in this file since Glib 2.55.0.
2.56.0, the first stable version to include this change, was released
in 2018.

Fixes: 0973618e4e ("gnome3: automated update")
2022-09-04 21:18:49 +00:00
Michal Sojka
0cbedad03f glib: move bash completions to right outputs
Previously, bash completion scripts were installed in the "out"
output, which didn't contain any binaries. With this change, the
completion scripts are installed in the outputs containing the
corresponding binaries. Namely, gapplication, gdbus, gio, and
gsettings completion scripts go to $bin, and gresource to $dev. The
result is that the completions work out of the box, when the binaries
are available to the user.
2022-08-01 15:02:25 +02:00
Michal Sojka
ecc304df44 glib: add command man pages
This change adds man pages for commands provided by glib. Namely, the
$bin output now includes man pages (section 1) for:

   gapplication gdbus gio gsettings

The $dev output for:

   gdbus-codegen gio-querymodules glib-compile-resources
   glib-compile-schemas glib-genmarshal glib-gettextize glib-mkenums
   gobject-query gresource gtester-report gtester
2022-08-01 15:02:25 +02:00
R. Ryantm
c99ba0c467 glib: 2.72.2 -> 2.72.3 2022-07-01 15:09:54 +02:00
R. Ryantm
002669d20a glib: 2.72.1 -> 2.72.2 2022-05-31 13:39:04 +02:00
Vladimír Čunát
1aed1a8440
Merge #168747: glib: 2.72.0 -> 2.72.1 (into staging) 2022-04-23 13:06:45 +02:00
R. Ryantm
5979a0a072
glib: 2.72.0 → 2.72.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.72.0...2.72.1
https://gitlab.gnome.org/GNOME/glib/-/blob/2.72.1/NEWS
2022-04-20 12:52:11 +08:00
github-actions[bot]
ffa96ab0c0
Merge staging-next into staging 2022-04-02 18:01:37 +00:00
github-actions[bot]
fc17fe6417
Merge master into staging-next 2022-04-02 18:01:07 +00:00
Nick Cao
815601ff61
glib: use correct meson for cross compilation 2022-04-03 00:09:33 +08:00
Jan Tojnar
ca0b2cdd67 glib: add support for Pantheon’s terminal emulator
Just like we did for GNOME’s in the parent commit.
2022-03-29 10:23:52 +02:00
Jan Tojnar
c987121acf glib: Add support for GNOME Console
GNOME Console (aka King’s Cross) is the default terminal emulator in GNOME 42.
Let’s make GLib aware of it so that apps relying on it (e.g. GNOME Shell)
can launch terminal apps like htop.

This is a downstream patch since GLib does not want to add any more
terminal emulators: https://gitlab.gnome.org/GNOME/glib/-/issues/2618
2022-03-29 10:23:52 +02:00
Jan Tojnar
086c62dd5e glib: Revert patch likely causing Inkscape build to fail on Darwin 2022-03-27 16:28:48 +02:00
Jan Tojnar
0e78d578e6 glib: Fix docs on Darwin
They are failing due to a Meson bug.

Doing it this hacky way to avoid rebuilding the world.
2022-03-26 03:50:26 +01:00
Jan Tojnar
76a508dc39 glib: 2.71.3 → 2.72.0
https://gitlab.gnome.org/GNOME/glib/-/compare/2.71.3...2.72.0
2022-03-25 15:02:40 +01:00
Jan Tojnar
d3857212b1 glib: 2.71.2 → 2.71.3
https://gitlab.gnome.org/GNOME/glib/-/compare/2.71.2...2.71.3
2022-03-25 15:02:34 +01:00
Jan Tojnar
0193debd1c glib: 2.70.3 → 2.71.2
https://gitlab.gnome.org/GNOME/glib/-/compare/2.70.3...2.71.2
2022-03-25 15:01:21 +01:00
R. Ryantm
aa9df42506 glib: 2.70.2 -> 2.70.3 2022-02-15 14:07:41 +01:00
Marius DAVID
3cd7ed9ca9 glib: fix windows compilation 2022-02-01 10:41:37 +01:00
Jan Tojnar
d4ecaf699e glib: correct update script 2022-01-28 17:59:52 +01:00
Jan Tojnar
e4eed15d8b
Merge pull request #153246 from jtojnar/glib-schemadatadir
glib: Add helpers for finding schema datadir
2022-01-09 16:09:54 +01:00
Jan Tojnar
7e95149bdb glib: Add helpers for finding schema datadir
It is commonly needed for test environments.
2022-01-02 20:34:53 +01:00
R. Ryantm
ed1f305997 glib: 2.70.1 -> 2.70.2 2021-12-06 04:38:57 +00:00
maxine [they]
92fc982651
Merge pull request #143642 from jtojnar/more-gnome-staging
More GNOME updates (staging)
2021-10-30 01:04:50 +02:00
Jan Tojnar
12e2e0ee71 glib: 2.70.0 → 2.70.1 2021-10-29 13:34:54 +02:00
Michael Raskin
ce6b36c19c
Merge pull request #118100 from max-privatevoid/fix/glib-appinfo-watch
glib: follow profile updates when searching apps
2021-10-27 11:35:53 +00:00
Maxine Aubrey
d7cde54c94 glib: 2.68.4 -> 2.70.0
- https://gitlab.gnome.org/GNOME/glib/-/blob/2.70.0/NEWS
2021-10-09 17:29:34 +02:00
r-burns
16728283c3
Merge pull request #135619 from r-burns/fpie-musl-fixes
[staging] {cc,binutils}-wrapper: fixes for PIE hardening
2021-09-23 17:55:08 -07:00
Ryan Burns
436f960f2a Revert "glib: fix musl build"
This is no longer needed with the previous PIE hardening fixes.

This reverts commit 74e0aaaa30.
2021-09-20 17:24:12 -07:00
Maxine Aubrey
0074a8fb8f
glib: 2.68.3 -> 2.68.4
- https://gitlab.gnome.org/GNOME/glib/-/releases/2.68.4
2021-08-30 20:26:53 +02:00
Alyssa Ross
57bbd4e524 glib: 2.68.2 -> 2.68.3 2021-06-17 14:57:12 +00:00
Andrew Childs
9088e445fe glib: fix build
It's not clear why this is required, but glib includes CoreServices
headers and calls CoreServices functions, so it's reasonable to link
against the framework explicitly.
2021-05-17 00:27:00 +09:00
Jan Tojnar
a553f6c1fd
Merge pull request #122920 from jtojnar/glib-2681
glib: 2.68.1 → 2.68.2
2021-05-15 17:13:14 +02:00
Jan Tojnar
ca0080865f
glib: 2.68.1 → 2.68.2 2021-05-13 23:43:05 +00:00
Martin Weinelt
9651084620 Merge remote-tracking branch 'origin/master' into staging-next 2021-05-08 14:43:43 +02:00
Vladimír Čunát
080cd658ca
Merge #121780: treewide meta.maintainers tweaks 2021-05-08 10:47:08 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Jan Tojnar
0420282780
treewide maintainers: add teams.{freedesktop,gnome} 2021-05-07 15:36:40 +02:00