Commit Graph

381 Commits

Author SHA1 Message Date
Bobby Rong
90d6866b78
glib: 2.76.1 → 2.76.2
https://gitlab.gnome.org/GNOME/glib/-/compare/2.76.1...2.76.2
2023-04-24 09:17:47 +08:00
Jan Tojnar
14cbd4b053 glib: 2.76.0 → 2.76.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.76.0...2.76.1

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-04-06 01:36:38 +02:00
Jan Tojnar
703500d5fd glib: 2.75.4 → 2.76.0
https://gitlab.gnome.org/GNOME/glib/-/compare/2.75.4...2.76.0

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-04-06 01:35:19 +02:00
Jan Tojnar
ceeb9f39db glib: 2.75.3 → 2.75.4
https://gitlab.gnome.org/GNOME/glib/-/compare/2.75.3...2.75.4

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-04-06 01:35:03 +02:00
Jan Tojnar
8e5ee715d1 glib: 2.74.5 → 2.75.3
https://gitlab.gnome.org/GNOME/glib/-/compare/2.74.5...2.75.3

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-04-06 01:34:44 +02:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
github-actions[bot]
b0f16e56b0
Merge staging-next into staging 2023-02-11 18:01:50 +00:00
John Ericson
b1aa0e9f2a glib: Add meta.pkgConfigModules and test 2023-02-11 11:03:00 -05:00
Jan Tojnar
746e2b1fc4 glib: 2.74.3 → 2.74.5
https://gitlab.gnome.org/GNOME/glib/-/compare/2.74.3...2.74.5

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-02-02 00:06:52 +01:00
Alyssa Ross
8e9e08a587 glib: fix build for FreeBSD
These same options are disabled in FreeBSD Ports.
2023-01-26 17:56:44 +00:00
Alyssa Ross
252a20d0a5 glib: use a better homepage
The previous homepage barely mention Glib.
2023-01-26 17:56:44 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Jan Tojnar
72c37eddec Merge branch 'staging-next' into staging 2022-12-25 01:30:47 +01:00
Jan Tojnar
3c5fffed82
Merge pull request #206291 from jtojnar/mk-gsettings-patch
makeHardcodeGsettingsPatch: Support other constructors
2022-12-20 22:13:25 +01:00
Jan Tojnar
35d24b51f5 makeHardcodeGsettingsPatch: Rename from glib.mkHardcodeGsettingsPatch
glib expression is messy enough as is.

Also rename the `glib-schema-to-var` argument to `schemaIdToVariableMapping` to better match Nixpkgs coding style.
2022-12-19 17:17:32 +01:00
Vladimír Čunát
397b520aa7
Merge #206078: glib: Pick GVariant security patches
...into staging
2022-12-19 11:03:53 +01:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Jan Tojnar
cf63ef8b34 glib: Pick security patches
https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835
https://discourse.gnome.org/t/fixes-for-gdbusmenumodel-crashes-in-glib/12846
2022-12-14 21:54:43 +01:00
Jan Tojnar
f2d78a4d52
Merge pull request #204383 from jtojnar/gnome-staging
GNOME staging updates
2022-12-06 16:25:14 +01:00
Jan Tojnar
2edad4b9c2 glib: 2.74.1 → 2.74.3
https://gitlab.gnome.org/GNOME/glib/-/compare/2.74.1...2.74.3

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-12-05 19:02:33 +01:00
github-actions[bot]
6aeef7531c
Merge staging-next into staging 2022-11-28 06:01:53 +00:00
Sandro
853077236a
Merge pull request #202124 from SuperSandro2000/dbus-passthru-daemon 2022-11-28 01:35:34 +01:00
github-actions[bot]
d002d690a2
Merge staging-next into staging 2022-11-25 00:02:54 +00:00
Mika Tammi
87ed2b765a glib: fix build with musl 2022-11-24 23:09:05 +00:00
Sandro Jäckel
c7f5becba3 dbus: remove unused daemon passhtru 2022-11-21 20:23:00 +01:00
github-actions[bot]
39b3610a57
Merge staging-next into staging 2022-11-15 06:01:51 +00:00
Vladimír Čunát
1f4c790f71
Merge #201229: glib: Fix infinite loop in GNOME Keyring
...into staging-next
2022-11-15 01:36:49 +01:00
Jan Tojnar
808095530a glib: Fix infinite loop in GNOME Keyring
This was a regression in GLib 2.74.1:

https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/123
2022-11-14 20:46:21 +01:00
squalus
e9c35f11c2 glib: fix cross compile
Made libxslt an unconditional input. It's used for building man pages,
which are enabled on cross builds.
2022-11-11 13:26:08 -08:00
Guillaume Girol
e094494915 glib: add an update script combinator to patch gsettings schema paths
and use it in evolution-data-server and evolution-ews as a proof of
concept
2022-11-11 13:30:00 +01:00
Jan Tojnar
0b5be61ca1 glib: 2.74.0 → 2.74.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.74.0...2.74.1

- Docs no longer can be generated in static builds.
- Drop merged patches.
- Add a comment to an undocumented patch.
- Drop huge with statement.
- Drop meson override not needed since a4a300dfff

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-25 18:16:48 +02:00
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
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
Jörg Thalheim
884a83cacb
glib: fix cross-compiling 2021-02-24 12:14:35 +01:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
R. RyanTM
e8854bd7fb glib: 2.66.3 -> 2.66.4 2020-12-27 03:45:45 +01:00
Frederik Rietdijk
b2a3891e12 Merge master into staging-next 2020-11-27 15:09:19 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
R. RyanTM
944a6ae388 glib: 2.66.2 -> 2.66.3 2020-11-18 21:25:47 +01:00
Jan Tojnar
30b932e46b
glib: 2.66.1 → 2.66.2
Fixes compatibility with recent tzdata.

https://ftp.gnome.org/pub/GNOME/sources/glib/2.66/glib-2.66.2.news
2020-11-09 15:27:12 +01:00
Vladimír Čunát
2f6b00b15e
Merge branch 'staging-next' into staging 2020-10-25 09:47:04 +01:00
Jan Tojnar
bd2b324906
glib: 2.66.0 → 2.66.1
https://ftp.gnome.org/pub/GNOME/sources/glib/2.66/glib-2.66.1.news
2020-10-24 01:17:53 +02:00