Commit Graph

80 Commits

Author SHA1 Message Date
Olivér Falvai
62d3c4fb59
netsurf.browser: fix darwin builds
https://hydra.nixos.org/build/276866240
2024-11-10 19:50:17 +01: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
Anderson Torres
084dc9a4df treewide: remove vrthra from meta.maintainers [no orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since at least 2017.
2024-07-07 12:18:57 -03: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
paparodeo
7546fd6123
netsurf.libparserutils: use libiconv for darwin 2024-05-28 10:53:26 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Felix Albrigtsen
4c947c7337 netsurf.browser: 3.10 -> 3.11, fix build on darwin
https://download.netsurf-browser.org/netsurf/releases/ChangeLog.txt
2024-02-15 10:56:28 +01:00
Felix Albrigtsen
6777670fca netsurf.libsvgtiny: 0.1.7 -> 0.1.8 2024-02-15 10:56:28 +01:00
Felix Albrigtsen
1d4c4c8c88 netsurf.libparserutils: 0.2.4 -> 0.2.5 2024-02-15 10:56:28 +01:00
Felix Albrigtsen
c2ef7e877c netsurf.libnsutils: 0.1.0 -> 0.1.1 2024-02-15 10:56:28 +01:00
Felix Albrigtsen
d6b50697f3 netsurf.libnsgif: 0.2.1 -> 1.0.0
imv: remove broken libnsgif dependency
2024-02-15 10:56:28 +01:00
Felix Albrigtsen
474691a84c netsurf.libnsbmp: 0.1.6 -> 0.1.7 2024-02-15 10:56:28 +01:00
Felix Albrigtsen
2f64c17cc8 netsurf.libhubbub: 0.3.7 -> 0.3.8 2024-02-15 10:56:28 +01:00
Felix Albrigtsen
ab07a6f9e2 netsurf.libdom: 0.4.1 -> 0.4.2 2024-02-15 10:56:28 +01:00
Felix Albrigtsen
fb21e1e1c9 netsurf.libcss: 0.9.1 -> 0.9.2
https://www.netsurf-browser.org/projects/libcss/#changes-0.9.2

Also fixes building with clang, e.g. on darwin.
2024-02-15 10:56:28 +01:00
R. Ryantm
680fc7eeed netsurf.buildsystem: 1.9 -> 1.10 2023-12-30 06:09:12 +00:00
Anderson Torres
0cd95a61f3 netsurf.browser: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
84f2d4c55e netsurf.nsgenbind: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
ab1e456470 netsurf.libwapcaplet: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
f9ba74eb84 netsurf.libutf8proc: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
7481369b32 netsurf.libsvgtiny: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
c69f48cbe4 netsurf.libparserutils: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
1cfc288a9d netsurf.libnsutils: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
d3a897ce7b netsurf.libnspsl: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
833160293d netsurf.libnslog: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
87f1a6779d netsurf.libnsgif: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
fac9f0f2bc netsurf.libnsfb: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
7532dba814 netsurf.libnsbmp: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
0146466534 netsurf.libhubbub: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
122e4d2668 netsurf.libdom: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
3c69727d69 netsurf.libcss: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
4da2dd2537 netsurf.buildsystem: remove samueldr from meta.maintainers
By personal request.
2023-08-01 10:04:14 +00:00
Anderson Torres
69533f6043 netsurf.buildsystem: rewrite 2023-08-01 10:04:14 +00:00
Anderson Torres
f048ac137f netsurf: rewrite
To make the expression more clean and modern.
2023-08-01 10:04:14 +00:00
Anderson Torres
030420030d netsurf.browser: add the infamous -fcommon compiler flag 2023-07-22 09:55:09 -03:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02: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
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Artturin
da9a9a4404 treewide: cross fixes 2022-09-07 21:20:54 +03:00
AndersonTorres
2d70de92f3 netsurf.libutf8proc: fix URL 2022-05-14 18:45:35 -03:00
AndersonTorres
cf0f19b85b netsurf.libnsutils: fix URL 2022-05-14 17:30:44 -03:00
Nikolay Korotkiy
66021433ba
netsurf: fix build (#111991) 2021-02-05 10:57:26 +01: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
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
AndersonTorres
3072952295 Netsurf browser: 3.9 -> 3.10 2020-09-28 22:39:18 -03:00
AndersonTorres
66fac9a0bf Netsurf libnsfb: 0.2.1 -> 0.2.2 2020-09-28 22:39:18 -03:00
AndersonTorres
a5c9ce767b Netsurf libsvgtiny: 0.1.7 -> 0.1.7 2020-09-28 22:39:18 -03:00
AndersonTorres
ed204dc61b Netsurf libdom: 0.4.0 -> 0.4.1 2020-09-28 22:39:18 -03:00