2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-12 23:23:36 +00:00
Commit Graph

381 Commits

Author SHA1 Message Date
Audrey Dutcher
572e623305 glib: disable sysprof feature on FreeBSD
sysprof-capture doesn't build on FreeBSD. Don't make it try.
2024-11-17 09:51:13 -07:00
Vladimír Čunát
8810e738c8
GNOME: 46 → 47 () 2024-10-15 18:07:04 +02:00
K900
54874b38bb treewide: drop flattenInclude hack
This may have been relevant 10 years ago ([DOUBT]), but it
sure as hell isn't now, and recursive symlinks are evil.

May it burn in hell, as that is where it belongs.
2024-10-14 16:45:08 +03:00
Fabián Heredia Montiel
df29f9c98e
glib: 2.82.0 → 2.82.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.82.0...2.82.1

Applied from pull request 343127.
The buffer overflow issue can be security relevant.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
2024-10-14 20:54:17 +08:00
Bobby Rong
265821d7f6
glib: 2.81.1 → 2.82.0
https://gitlab.gnome.org/GNOME/glib/-/compare/2.81.1...2.82.0

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
2024-10-14 20:54:11 +08:00
Bobby Rong
5e554d8be7
glib: 2.80.4 → 2.81.1
https://gitlab.gnome.org/GNOME/glib/-/compare/2.80.4...2.81.1

dtrace, systemtap and sysprof now defaults to auto, enable them when possible.
https://gitlab.gnome.org/GNOME/glib/-/issues/3354

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
2024-10-14 20:54:09 +08:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Yueh-Shun Li
385d523a8e treewide: handle preInstallPhases __structuredAttrs-agnostically
Always specify the preInstallPhases attribute as a list instead of a
string.

Append elements to the preInstallPhases Bash variable using appendToVar
instead of string or Bash array concatenation.
2024-09-03 05:33:59 +08:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Sergei Trofimovich
4ddb1c3fa3 glib: 2.80.3 -> 2.80.4
Changes: https://gitlab.gnome.org/GNOME/glib/-/releases/2.80.4
2024-07-09 22:04:25 +01:00
John Titor
e599720d4f
glib: fix build on aarch64-darwin 2024-06-28 01:06:21 +05:30
Masum Reza
44e657c29e
Merge pull request from trofi/glib-update
glib: 2.80.2 -> 2.80.3
2024-06-23 13:54:11 +05:30
Sergei Trofimovich
ad5bb782ce glib: 2.80.2 -> 2.80.3
Changes: https://gitlab.gnome.org/GNOME/glib/-/releases/2.80.3
2024-06-23 06:55:37 +01:00
Randy Eckenrode
bdc870b17a
glib: make sure RTLD_LOCAL is used for G_MODULE_BIND_LOCAL
Unlike Linux, Darwin defines `RTLD_LOCAL` as a non-zero value.
2024-06-09 09:05:43 -04:00
Guillaume Girol
e64186cc27
Merge pull request from symphorien/glib_gdb_script
glib: fix installing gdb scripts
2024-06-03 20:18:06 +02:00
Jan Tojnar
79d4b41c9e
Merge pull request 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
Guillaume Girol
6ccd956fd4 glib: fix installing gdb scripts
the disk space cost is less than 20Kb

They provide pretty printers for datascructures likes hash tables in
gdb.

To check that the scripts are loaded:
run gdb on any glib application (for example gio from the bin output)
run info auto-load python-scripts
observe scripts whose filename is libglib-...-gdb.py
2024-05-11 12:00:00 +00: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 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 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