Commit Graph

364 Commits

Author SHA1 Message Date
Jan Tojnar
79d4b41c9e
Merge pull request #314043 from OPNA2608/fix/glib-segfaults
glib: Apply fix for memory issues
2024-05-28 11:27:28 +02:00
OPNA2608
35f36cd087 glib: Apply fix for memory issues
See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4073 and related upstream issues for details.
2024-05-23 19:56:09 +02:00
Alyssa Ross
4dec85d68b meson.setupHook: always set --print-errorlogs
Otherwise, the logs are discarded, unless you built with
--keep-failed.
2024-05-14 21:26:19 +02:00
Alyssa Ross
06a15575b0 glib: use mesonCheckFlags 2024-05-14 14:24:41 +02:00
github-actions[bot]
5ecf9476cb
Merge staging-next into staging 2024-05-14 00:02:48 +00:00
Alyssa Ross
c375149dd1
glib: disable introspection for cross-endian
/nix/store/xxgjhia4jhnx9910vb7iw1cm9l6qwfd4-qemu-8.2.3/bin/qemu-ppc64: error while loading shared libraries: /build/glib-2.80.0/build/glib/libglib-2.0.so.0: ELF file data encoding not little-endian
Command '['/nix/store/054wr9piy48ww123yn2pcbkcsnvlx3fg-gobject-introspection-wrapped-1.80.1-dev/bin/g-ir-scanner-qemuwrapper', '/build/glib-2.80.0/build/tmp-introspectiyhf5flt/GLib-2.0', '--introspect-dump=/build/glib-2.80.0/build/tmp-introspectiyhf5flt/functions.txt,/build/glib-2.80.0/build/tmp-introspectiyhf5flt/dump.xml']' returned non-zero exit status 127.

I don't have a suitable environment for testing whether it's broken
big→little, but it seems likely.

Link: https://github.com/NixOS/nixpkgs/pull/309309#issuecomment-2100785761
Fixes: 98d8d1e587 ("glib: enable introspection on cross")
2024-05-13 11:36:43 +02:00
Leona Maroni
68c889daa0
glib: 2.80.0 -> 2.80.2
https://gitlab.gnome.org/GNOME/glib/-/compare/2.80.0...2.80.1
https://gitlab.gnome.org/GNOME/glib/-/blob/2.80.1/NEWS

CVE-2024-34397
2024-05-09 16:48:24 +02:00
Artturin
4c2a6867fd
Merge pull request #309309 from Artturin/glibbuildgironcros
glib: enable introspection on cross
2024-05-07 18:25:39 +03:00
Artturin
98d8d1e587 glib: enable introspection on cross 2024-05-05 19:36:03 +03:00
sternenseemann
1d44c06653 glib: fix librarySuffix calculation in cross case
The libraries are built for the host platform. glib should be
independent of the target platform as it is not a compiler.

Fixes build and in some cases eval of pkgsCross.*.buildPackages.glib and
in similar situations (e.g. pkgsStatic.buildPackages).
2024-05-05 14:01:38 +02:00
Vladimír Čunát
725f48a252
Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
Bobby Rong
736c6be462
treewide: Move away from wiki.gnome.org
The wiki.gnome.org site is planned for retirement.
2024-05-01 21:16:03 +08:00
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Bobby Rong
215fa1e09a
pkgs/development: Move away from wiki.gnome.org/Projects
The wiki.gnome.org site is planned for retirement.
2024-05-01 00:27:50 +08:00
Maxine Aubrey
a668873b08
glib: fix first build on darwin 2024-04-23 10:26:55 +02:00
Bobby Rong
ba69532efc
gobject-introspection: 1.78.1 → 1.80.1
https://gitlab.gnome.org/GNOME/gobject-introspection/-/compare/1.78.1...1.80.1

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
2024-04-22 21:11:13 +02:00
Maxine Aubrey
aaf0d8f819
glib: 2.78.4 → 2.80.0
https://gitlab.gnome.org/GNOME/glib/-/compare/2.78.4...2.80.0

Co-Authored-By: Bobby Rong <rjl931189261@126.com>

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
2024-04-22 21:08:42 +02:00
Alyssa Ross
2d600be9c4 pkgsStatic.glib: don't depend on elfutils
stdenv.isLinux is not a sufficient check for whether elfutils is
supported, because it's not supported on static Linux.

Fixes: 7517f8edd0 ("glib: switch elfutils in for abandoned libelf")
2024-03-23 11:37:20 +01:00
Philip Taron
7517f8edd0
glib: switch elfutils in for abandoned libelf
On Darwin and non-Linux, don't provide anything.
2024-03-07 13:01:41 -08:00
Philip Taron
aefac840b8
glib: fix tests with PCRE2 10.43 2024-03-02 07:58:23 +01:00
Maxine Aubrey
c65c8255a1
glib: 2.78.3 → 2.78.4
https://gitlab.gnome.org/GNOME/glib/-/compare/2.78.3...2.78.4
https://gitlab.gnome.org/GNOME/glib/-/blob/2.78.4/NEWS
2024-01-26 21:59:21 +01:00
Weijia Wang
e8ab82a53c
Merge pull request #280363 from wegank/harfbuzz-windows-2
graphite2, glib, harfbuzz: add mingw support
2024-01-12 21:58:43 +01:00
Weijia Wang
ec1a2a4f8a glib: add mingw support 2024-01-11 22:46:47 +01:00
Jan Tojnar
95d453d59c glib: 2.78.1 → 2.78.3
https://gitlab.gnome.org/GNOME/glib/-/releases/2.78.3
https://gitlab.gnome.org/GNOME/glib/-/releases/2.78.2
https://gitlab.gnome.org/GNOME/glib/-/compare/2.78.1...2.78.3
2023-12-16 20:10:09 +01:00
Jan Tojnar
350d4c7d1d glib: fix pkg-config tests
These have been introduced in GLib 2.77.0:
ade79bcb50

We missed them failing during the update because they are not build as a part of the main `glib` derivation.
2023-12-16 20:10:09 +01:00
Peder Bergebakken Sundt
ad5e744714 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
This will respect `doCheck = false;` overrides, common for cross.
2023-11-30 18:56:12 +01:00
Jan Tojnar
a4f2ad82d5 glib: 2.78.0 → 2.78.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.78.0...2.78.1

Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:55 +01:00
Bobby Rong
3e4ca2e5cb glib: 2.77.3 → 2.78.0
https://gitlab.gnome.org/GNOME/glib/-/compare/2.77.3...2.78.0

NEWS look okay

- Error handling of invalid GKeyFile string escape sequences
- gdb: Workaround optimized out quark_seq_id
- meson: fix `gnetworking.h` install tag
- gthread: Annotate g_thread_exit() with G_NORETURN
- Fix gutils-user-database unit test

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:25 +01:00
Bobby Rong
69ebd78b4b glib: 2.77.2 → 2.77.3
https://gitlab.gnome.org/GNOME/glib/-/compare/2.77.2...2.77.3

Beware of https://gitlab.gnome.org/GNOME/glib/-/issues/3095, i.e. invalid
escapes when parsing strings in gkeyfile is disallowed in this bump and likely 2.79+.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:02 +01:00
Bobby Rong
8ed9f0445f glib: 2.77.1 → 2.77.2
https://gitlab.gnome.org/GNOME/glib/-/compare/2.77.1...2.77.2

A few minor bugfixes. Other than this breaks darwin build this looks good.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:41:55 +01:00
Bobby Rong
bce876b8cd glib: 2.76.4 → 2.77.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.76.4...2.77.1

Refreshed split-dev-programs.patch with 9f111c3416

NEWS look okay, all patches applies.

- Re-upgrade missing attribute debugs to criticals in `GFileInfo`
- Add `glib_valgrind_suppressions` variable to glib pkg-config file

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:41:29 +01:00
Jan Tojnar
55032e712f glib: 2.76.3 → 2.76.4
https://gitlab.gnome.org/GNOME/glib/-/compare/2.76.3...2.76.4
2023-07-08 22:18:37 +02:00
Bobby Rong
4a8541875e
glib: 2.76.2 → 2.76.3
https://gitlab.gnome.org/GNOME/glib/-/compare/2.76.2...2.76.3
2023-06-09 17:02:39 +08:00
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