Commit Graph

176 Commits

Author SHA1 Message Date
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
Fabián Heredia Montiel
1773086605 libxml2: 2.13.3 → 2.13.4 2024-09-18 16:33:50 -06:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Robert Scott
4180718d7b Merge pull request #329736 from trofi/libxml2-update
libxml2: 2.13.2 -> 2.13.3
2024-08-01 21:05:53 +01:00
K900
7f7f3da1c0 libxml2: allow building with deprecated HTTP support 2024-07-27 09:48:57 +03:00
Sergei Trofimovich
8e14f63b37 libxml2: 2.13.2 -> 2.13.3
Changes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.3
2024-07-24 22:22:13 +01:00
Vladimír Čunát
145c73b034 libxml2: pull yet another upstream patch
/cc PR #326637
2024-07-20 15:54:27 +02:00
Jan Tojnar
655c524d91 libxml2: Fix XInclude failure handling
This fixes colord api docs build with libxml2 2.13.
2024-07-18 22:46:58 +02:00
Jan Tojnar
25bc618215 libxml2: 2.12.7 → 2.13.2
- new API with per-context error handlers
- remove HTTP POST support
- zlib, lzma and HTTP disabled by default → removed `zlib`
- Meson support added → cycle, not switching right now
- docs no longer install examples and tutorial was removed → since only `xmllint` and `xmlcatalog` HTML docs remain, move them to `out`
- FTP and `xpointer()` XPath extensions deprecated

https://discourse.gnome.org/t/libxml2-2-12-8-released/21528
https://discourse.gnome.org/t/libxml2-2-13-0-released/21529
https://discourse.gnome.org/t/libxml2-2-13-1-released/21778
https://discourse.gnome.org/t/libxml2-2-13-2-released/22000

Also clean up the expression a bit and install DevHelp files to `devdoc` (previously deleted by multiple-outputs hook).
2024-07-12 21:36:56 +02:00
Audrey Dutcher
75829eeda0 libxml2: FreeBSD is no longer an impure platform 2024-05-25 13:33:12 -07:00
Audrey Dutcher
f6ce3b4dfa libxml2: Test for pthread_create instead of pthread_join on FreeBSD 2024-05-25 13:28:00 -07:00
R. Ryantm
bccc97cd9b libxml2: 2.12.6 -> 2.12.7 2024-05-13 17:15:34 +00:00
Vladimír Čunát
448e50e8eb Merge #296684: libxml2: Remove Darwin bootstrapping hack
...into staging
2024-03-24 07:08:13 +01:00
Jan Tojnar
89a6254acc libxml2: Remove Darwin bootstrapping hack
Reverts 36bb8d969a
2024-03-17 17:00:52 +01:00
Jan Tojnar
3886fc9297 libxml2: 2.12.5 → 2.12.6
https://discourse.gnome.org/t/libxml2-2-12-6-released/19989
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.12.5...v2.12.6
2024-03-16 10:24:53 -04:00
Weijia Wang
5f5062d1ef Merge branch 'master' into staging-next 2024-02-23 05:09:55 +01:00
Eldritch Cookie
bee5bd0106 libxml2: add meta.pkgConfigModules and tests.pkg-config
Co-authored-by: Rodney Lorrimar <dev@rodney.id.au>
2024-02-22 13:57:17 +08:00
Jan Tojnar
2b43efb8ae libxml2: 2.12.4 → 2.12.5
https://discourse.gnome.org/t/libxml2-2-12-5-released/19337
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.12.4...v2.12.5

CVE-2024-25062
2024-02-04 15:47:10 +01:00
Jan Tojnar
851f20e128 libxml2: 2.12.3-unstable-2023-12-14 → 2.12.4
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.4
2024-01-20 15:08:15 +01:00
Alyssa Ross
66e33c14d9 libxml2: 2.12.3 -> 2.12.3-unstable-2023-12-14
This includes a fix for a use after free, which fixes the build of
perlPackages.XMLLibXML.
2023-12-30 02:37:47 +01:00
Jan Tojnar
49a64c97c0 libxml2: 2.11.5 → 2.12.3
https://discourse.gnome.org/t/libxml2-2-12-3-released/18513
https://discourse.gnome.org/t/libxml2-2-12-2-released/18363
https://discourse.gnome.org/t/libxml2-2-12-1-released/18159
https://discourse.gnome.org/t/libxml2-2-12-0-released/18063
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.11.5...v2.12.3

- Changes in includes in public headers.
- Python 3.12 support.
- Lot of cleanups.
2023-12-16 19:57:14 +01:00
Adam Joseph
bc2d598878 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
github-actions[bot]
b4fdbf27f2 Merge master into staging-next 2023-09-09 06:01:15 +00:00
Moritz Angermann
a81e3dcd75 treewide: replace libc == "msvcrt" with isMinGW
msvcrt is only one of the libcs in MinGW. We therefore
replace explictly testing for msvcrt with the isMinGW
predicate. This lays the foundation for ucrt64 support.
2023-09-08 10:56:08 +00:00
Bobby Rong
3a4ca00c84 libxml2: 2.11.4 → 2.11.5
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.11.4...v2.11.5
2023-08-25 20:14:35 +08:00
Jan Tojnar
7d9be8a366 libxml2: 2.10.4 → 2.11.4
https://gitlab.gnome.org/GNOME/libxml2/-/compare/2.10.4...2.11.4
2023-07-05 16:27:49 +02:00
Bobby Rong
40074520d1 libxml2: 2.10.3 → 2.10.4
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.10.3...v2.10.4

- CVE-2023-29469: Hashing of empty dict strings isn't deterministic
- CVE-2023-28484: Fix null deref in xmlSchemaFixupComplexType
2023-04-13 13:08:36 +08:00
Alyssa Ross
0807fca47e libxml2: restrict Python support in cross builds 2023-02-05 10:14:46 +00:00
Jan Tojnar
541a94784b libxml2: 2.10.2 → 2.10.3
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.10.2...v2.10.3

CVE-2022-40304
CVE-2022-40303

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-26 23:22:36 +02:00
Jan Tojnar
2e18621606 libxml2: make amenable to auto-updates 2022-10-26 23:22:36 +02:00
Vladimír Čunát
36bb8d969a libxml2: use older version during stdenv bootstrap on darwin
/cc the update PR #195748
2022-10-15 09:39:33 +02:00
Martin Weinelt
ef6a273c70 Merge pull request #195748 from jtojnar/libxml2 2022-10-13 18:43:05 +02:00
Jan Tojnar
2aff11165b libxml2: 2.10.0 → 2.10.2
https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.1
https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.2

https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.10.0...v2.10.2
2022-10-13 11:58:07 +02:00
Artturin
9069a064f8 libxml2: enable strictDeps and enable pythonSupport when cross 2022-10-07 16:31:39 +03:00
Jan Tojnar
1c93ab362b libxml2: 2.9.14 → 2.10.0
- Massive cleanups
- CVE-2022-2309
- More security fixes
- Removal of outdated development manpage libxml.3

https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.9.14...v2.10.0

- Python detection is broken by `strictDeps` for unknown reasons.
- Also replaced `moveToOutput` with more declarative `outputMan`.
2022-09-03 16:13:59 +02:00
Vladimír Čunát
e48c99ecbd Merge #171744: libxml2: re-enable tests for darwin
...into staging
2022-07-29 19:31:25 +02:00
Janne Heß
c911240e9c Revert "Add mingwW64-llvm cross-system." 2022-05-18 13:50:23 +02:00
Shea Levy
0f68ed163c Merge branch 'mingwW64-clang' into staging 2022-05-18 06:30:21 -04:00
Sandro Jäckel
b4e8a4bbda libxml2: update homepage 2022-05-11 11:46:58 +02:00
Shea Levy
504d38ae7b cross: Allow Windows toolchains to use ucrt as libc. 2022-05-06 10:54:52 -04:00
Robert Scott
f87f5ae301 libxml2: re-enable tests for darwin
appears the lack of sandbox on most darwin machines allows the
tests to accidentally find /usr/lib/libxml2.dylib, which
causes problems
2022-05-06 00:55:53 +01:00
Niklas Hambüchen
207c4030f5 libxml2: 2.9.13 -> 2.9.14
Fixes CVE-2022-29824, see https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14
2022-05-03 23:25:49 +00:00
Jan Tojnar
cb8aaea8fd libxml2: 2.9.12 → 2.9.13
Fixes CVE-2022-23308

https://mail.gnome.org/archives/xml/2022-February/msg00009.html
2022-02-21 14:55:24 +01:00
Jan Tojnar
7eb38d554c libxml2: fix configure flags
`$dev` will be substituted by empty string (would have to be `$(dev)`),
causing issues in 2.9.13. Let’s fix that and use the cannonical name.
2022-02-21 14:55:24 +01:00
Jan Tojnar
65ca2a4bbb libxml2: More cleanups 2022-02-21 14:55:24 +01:00
Jan Tojnar
9c57fa9fc1 libxml2: use autoreconfHook
Avoid stale autotools files and allow building from git easily.
2022-02-21 14:55:24 +01:00
Jan Tojnar
8570316d3d libxml2: do not disable working test
Must have been fixed for a while now.
2022-02-21 14:55:23 +01:00
Jan Tojnar
33ee72f4b1 libxml2: Add myself as a maintainer 2022-02-21 14:55:23 +01:00
Jan Tojnar
ce668865b9 libxml2: switch to gnome mirrors
New versions will only be published there.

Also add GNOME update script.
2022-02-21 14:55:23 +01:00