Commit Graph

292 Commits

Author SHA1 Message Date
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
Vladimír Čunát
9f054b5e1a
treewide: remove worldofpeace from meta.maintainers
(It was requested by them.)
I left one case due to fetching from their personal repo:
pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
2021-05-07 15:36:40 +02:00
github-actions[bot]
12193913a1
Merge staging-next into staging 2021-05-07 12:23:21 +00:00
Maxine Aubrey
ce2beae846
glib: 2.66.8 -> 2.68.1
Co-Authored-By: Maxine Aubrey <maxeaubrey@gmail.com>
2021-05-05 22:20:21 +02:00
Pierre Bourdon
e432e78d1c glib: fix docs cross compilation (again)
Do not depend on host gtk-doc when cross compiling (we do not use it
there), and document why we need a host gtk-doc in the first place.
2021-04-17 15:26:18 +02:00
Max
5b3f9e0d41 glib: follow profile updates when searching apps
GNOME Shell monitors XDG_DATA_DIRS for changes using inotify for the
purpose of updating the list of applications displayed in the overview
as they are installed or removed. Because the relevant directories are
symlinks under NixOS and are swapped on change, Shell never notices it.
To remedy this, also monitor various profile directories to signal an
update whenever profiles are changed.

This uses a patch from Guix, slightly modified to also encompass user
environment profiles (/etc/profiles/per-user/$USER) in addition to the
system profile (/nix/var/nix/profiles/system) as well as regular user
profiles (/nix/var/nix/profiles/per-user/$USER/profile).
2021-03-31 00:37:57 +00:00
Maxine Aubrey
7cc6abc790
glib: 2.66.4 -> 2.66.8
rebased the schema override patch, adding the same upstream safety but
not duplicating the ability to pass multiple directories as this does
not appear to be necessary for nix overrides
2021-03-18 23:27:38 +01:00
Jörg Thalheim
74e0aaaa30
glib: fix musl build 2021-02-24 12:14:35 +01:00