Commit Graph

136 Commits

Author SHA1 Message Date
Randy Eckenrode
38d39e6d6e
librsvg: link libobjc on Darwin independent of CPU architecture
aarch64-darwin now also needs to link libobjc explicitly when using the
new Darwin SDKs.
2024-10-06 23:41:55 -04: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
Sergei Trofimovich
5c05007e39 librsvg: 2.58.2 -> 2.58.3
Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.58.3
2024-08-18 07:17:10 +01:00
Sergei Trofimovich
4eb1a24ea2 librsvg: 2.58.1 -> 2.58.2
Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.58.2
2024-07-14 06:55:08 +01:00
Jan Tojnar
7987842fec
Merge pull request #318589 from jtojnar/u-s-v-ignore-same
common-updater-scripts/u-s-v: support --ignore-same-version
2024-06-13 00:41:07 +02:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Jan Tojnar
0421c816ba treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice.
- with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
2024-06-09 20:33:23 +02:00
Sergei Trofimovich
82cf970216 librsvg: 2.58.0 -> 2.58.1
Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.58.1
2024-05-26 07:41:04 +01:00
jopejoe1
53e423eddb librsvg: fix url 2024-05-08 20:06:21 +02: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
Sergei Trofimovich
54fd2bb772 librsvg: 2.57.92 -> 2.58.0
Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.58.0
2024-04-02 21:37:35 +01:00
Sergei Trofimovich
d2b365806e librsvg: 2.57.1 -> 2.57.2
Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.57.2
2024-03-15 20:08:25 +00:00
Sergei Trofimovich
beea4df6c8 librsvg: 2.57.0 -> 2.57.1
Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.57.1
2023-12-17 16:22:36 +00:00
Bobby Rong
80ead5dfaf librsvg: 2.56.93 → 2.57.0
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.56.93...2.57.0

NEWS look okay.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:30 +01:00
Bobby Rong
3f49b1fbf0 librsvg: 2.56.3 → 2.56.93
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.56.3...2.56.93

NEWS look okay.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:06 +01:00
Alyssa Ross
e3e57b8f18 lib.systems: elaborate Rust metadata
We need this stuff to be available in lib so make-derivation.nix can
access it to construct the Meson cross file.

This has a couple of other advantages:

 - It makes Rust less special.  Now figuring out what Rust calls a
   platform is the same as figuring out what Linux or QEMU call it.

 - We can unify the schema used to define Rust targets, and the schema
   used to access those values later.  Just like you can set "config"
   or "system" in a platform definition, and then access those same
   keys on the elaborated platform, you can now set "rustcTarget" in
   your crossSystem, and then access "stdenv.hostPlatform.rustcTarget"
   in your code.

"rustcTarget", "rustcTargetSpec", "cargoShortTarget", and
"cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because
these are not exposed to code by the compiler, and are not
standardized.  The arch/os/etc. variables are all named to match the
forms in the Rust target spec JSON.

The new rust.target-family only takes a list, since we don't need to
worry about backwards compatibility when that name is used.

The old APIs are all still functional with no warning for now, so that
it's possible for external code to use a single API on both 23.05 and
23.11.  We can introduce the warnings once 23.05 is EOL, and make them
hard errors when 23.11 is EOL.
2023-11-09 10:02:24 +01:00
Alyssa Ross
af82a43ffc
treewide: disable gobject-introspection when unavailable
This makes gsettings-desktop-schemas, harfbuzz, json-glib, and
libsecret buildable statically, and is still the right thing to do
everywhere else even where it's not a complete fix.
2023-10-12 13:25:31 +00:00
Artturi
8a33bfa212
Merge pull request #246873 from risicle/ris-librsvg-passthru-tests 2023-08-28 01:18:59 +03:00
Robert Scott
5f0e750132
Merge pull request #246763 from henrirosten/librsvg_update_to_2_56_3
librsvg: 2.56.2 -> 2.56.3
2023-08-03 19:45:26 +01:00
Robert Scott
ed25f5deee librsvg: add some key reverse dependencies to passthru.tests 2023-08-03 00:23:06 +01:00
Henri Rosten
644f2a109a librsvg: 2.56.2 -> 2.56.3
Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
2023-08-02 13:49:28 +03:00
Sandro Jäckel
e66c968210
librsvg: use installShellCompletion, little cleanup 2023-07-31 13:42:29 +02:00
Artturi
0f9249c498
Merge pull request #244602 from NickCao/librsvg-cross 2023-07-23 05:10:14 +03:00
Nick Cao
c1718f59e0
librsvg: fix cross compilation by using emulator for shell completion generation 2023-07-21 09:51:48 +08:00
Randy Eckenrode
e3b95650f7
librsvg: fix link failure on x86_64-darwin 2023-07-20 03:46:04 -06:00
Jan Tojnar
32fcf619c8 librsvg: 2.55.1 → 2.56.2
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.55.1...2.56.2
2023-07-06 03:05:23 +02:00
Artturin
d5b6b6232c librsvg: create loaders.cache even when cross-compiling 2023-02-18 07:35:56 +02:00
Artturin
7637168dd2 librsvg: withIntrospection when stdenv.hostPlatform.emulatorAvailable buildPackages 2023-02-18 07:35:56 +02:00
Alyssa Ross
883eeac4ec
librsvg: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:20 +00:00
figsoda
4ab0618bc5 librsvg: make auditable 2022-12-07 00:23:43 -05:00
Weijia Wang
e835141b09
librsvg: enable vala on darwin (#200567)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-11-20 07:14:38 +01:00
Jan Tojnar
f1a67acc99 librsvg: 2.55.0 → 2.55.1
Now following the new GNOME version policy (no more odd-unstable).

https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.55.0...2.55.1

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:24 +02:00
Jan Tojnar
b8e21f065b librsvg: remove installed tests
Build will start failing with the following error in 2.55.1 due to `/build/librsvg-2.55.1/.libs` ending up in rpath:

    RPATH of binary /nix/store/78k70limslvxs6y98hdirbcixl3car1q-librsvg-2.55.1-installedTests/libexec/installed-tests/RSVG/api contains a forbidden reference to /build/
2022-10-11 18:52:13 +02:00
Jan Tojnar
b997f06251 librsvg: 2.54.4 → 2.55.0
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.54.4...2.55.0

- No longer vendoring Cargo dependencies 7e5e7e5b76

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:13 +02:00
R. Ryantm
80a0760433 librsvg: 2.54.3 -> 2.54.4 2022-06-11 11:19:16 +02:00
R. Ryantm
e8a8945108 librsvg: 2.54.1 -> 2.54.3 2022-05-26 11:36:43 +02:00
squalus
78cfe899fd librsvg: fix cross compile
- use docutils for buildPlatform
- disable the postFixup step when withIntrospection is disabled
2022-05-12 18:56:24 -07:00
github-actions[bot]
ff5c4d3404
Merge master into staging-next 2022-05-06 06:01:36 +00:00
Malo Bourgon
9e4be53221 treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
2022-05-04 18:11:50 -07:00
R. Ryantm
d2275a71e6 librsvg: 2.54.0 -> 2.54.1 2022-04-25 16:47:47 +02:00
Jan Tojnar
2f139d2d01 librsvg: 2.53.2 → 2.54.0
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.53.2...2.54.0
2022-03-25 15:02:42 +01:00
Jan Tojnar
747b64c51c librsvg: 2.53.1 → 2.53.2
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.53.1...2.53.2
2022-03-25 15:02:38 +01:00
Jan Tojnar
5003674a9f librsvg: 2.52.6 → 2.53.1
https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.52.6...2.53.1
2022-03-25 15:01:23 +01:00
R. Ryantm
ff2862eb7a librsvg: 2.52.5 -> 2.52.6 2022-02-19 10:46:06 +01:00
Artturi
78022c5dd1
Merge pull request #151184 from NickCao/librsvg
librsvg: fix cross compilation
2022-02-19 06:46:36 +02:00
R. Ryantm
8a1b44741b librsvg: 2.52.4 -> 2.52.5 2022-01-21 10:40:18 +00:00
Nick Cao
9765e471b1
librsvg: fix cross compilation 2021-12-18 21:40:32 +08:00
R. Ryantm
7872186887 librsvg: 2.52.3 -> 2.52.4 2021-12-09 19:51:56 -08:00