Commit Graph

319 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jan Tojnar
f2fc260124 gnome2.libgnomecanvas: Fix eval with allowed aliases 2024-12-08 01:12:59 +01:00
Jan Tojnar
064ee2cb49 libsoup_2_4: Rename from libsoup
The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.
2024-12-08 00:37:52 +01:00
Jan Tojnar
dab3496fa2 gnome2: Remove rest of the aliases
No-one should be using gnome2 nowadays.
2024-12-08 00:37:52 +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
Jan Tojnar
9f3282ec3b gnome2.libbonobo: Drop 2024-07-03 22:43:41 +02:00
Jan Tojnar
9fb7750cdd gnome2.libbonoboui: Remove 2024-07-03 22:43:41 +02:00
Jan Tojnar
77f5a747f4 gnome2.gnome_vfs: remove
This has been long dead.
2024-07-03 22:43:41 +02:00
Jan Tojnar
9dcf8132c9 gnome2.libgnome: remove
This has been long dead.
2024-07-03 22:43:41 +02:00
Jan Tojnar
fd4cba375d gnome2.libgnomeui: remove
This has been long dead.
2024-07-03 22:43:41 +02: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
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
Artturin
946178a151 gnome2.libgnomecanvas: fix cross
`libgnomecanvas-aarch64-unknown-linux-gnu> bash: line 1: gnome-canvas-marshal.list: command not found`

enable strictDeps, checked with diffing
2023-11-09 04:26:11 +02:00
Artturin
9165c8adad gnome2.libglade: fix cross
enable strictDeps, checked with diffing
2023-11-09 04:01:19 +02:00
Artturin
139b44eed3 gnome2.GConf: enable strictDeps
doesn't fix cross, there's issues related to ORBit2 idl compiler
2023-11-09 04:00:31 +02:00
Artturin
38a32f41de gnome2.ORBit2: fix cross 2023-11-08 19:58:31 +02:00
Artturin
4c1f023268 gnome2.libIDL: fix cross
enable strictDeps

checked with diffing
2023-11-08 18:43:06 +02:00
Fabián Heredia Montiel
c0073d1dda gnome2: remove reference to gdk_pixbuf (throw since 2022-02) 2023-10-03 15:59:10 -06:00
Jan Tojnar
6be4122dd5 rarian: remove
It is still being maintained somewhat but basically nothing uses it and even Debian dropped it:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914523
2023-07-05 02:11:03 +02:00
Sandro Jäckel
56a285e2b7
gtksourceview: remove with lib over entire file 2023-02-14 23:34:35 +01:00
John Ericson
03c5c0a2c4 gtksourceview: Add meta.pkgConfigModules and test 2023-02-11 11:03:01 -05:00
John Ericson
a938c505f3 gnome2.gnome_vfs: Add meta.pkgConfigModules and test 2023-02-11 11:03:00 -05:00
Bobby Rong
0bdc78c064
Merge pull request #210822 from bobby285271/rm/gnome-2
gnome2: remove some packages
2023-01-16 11:07:07 +08:00
Bobby Rong
9a03fd8709
gnome2.libgnomecanvasmm: remove
Unmaintained and no package depends on it.
2023-01-15 12:04:18 +08:00
Bobby Rong
5418640b81
gnome2.gtkhtml4: remove
Unmaintained and no package depends on it.
2023-01-15 11:56:53 +08:00
Bobby Rong
0ff53d61ff
gnome2.gtkhtml: remove
Unmaintained and no package depends on it.
2023-01-15 11:20:21 +08:00
Bobby Rong
cddd1837e6
gnome2.libgtkhtml: remove
Unmaintained and no package depends on it.
2023-01-15 11:20:21 +08:00
Bobby Rong
57beace554
gnome2.libgnomecups: remove
Unmaintained and no package depends on it.
2023-01-15 11:20:21 +08:00
Bobby Rong
e3cff49297
gnome2.libgnomeprint: remove
Unmaintained and no package depends on it.
2023-01-15 11:01:45 +08:00
Bobby Rong
1a174d730e
gnome2.libgnomeprintui: remove
Unmaintained and no package depends on it.
2023-01-15 11:00:08 +08:00
Bobby Rong
4784154194
mail-notification: remove an unused patch
mail-notification is previously a top-level package.

The package is removed in 193c893, so this patch is not needed.
2023-01-15 10:39:23 +08:00
Bobby Rong
24d48710d8
gnome2.gnome_python: remove
Unmaintained, depends on libgnome + python2
2023-01-14 23:51:14 +08:00
Bobby Rong
55bf5657c4
gnome2.gnome_python_desktop: remove
Unmaintained, depends on libgnome + python2
2023-01-14 23:47:48 +08:00
Azat Bahawi
085101b00f
gnome2.scrollkeeper: remove 2022-11-08 02:11:28 +03:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Sergei Trofimovich
90c083ffba gnome2.libgnomeui: use xorg.* packages directly instead of xlibsWrapper indirection
Validated as no change in `out` and `dev` outputs with diffoscope on
`gnome2.libgnomeui` expression.
2022-10-04 23:02:29 +01:00
github-actions[bot]
0ae3aa5345
Merge master into staging-next 2022-10-02 17:45:43 +00:00
Sergei Trofimovich
a6635711da gnome2.libgnomeui: use xlibsWrapper instead of xorg.xlibsWrapper 2022-10-02 15:38:27 +01:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Armeen Mahdian
09a9078f79 gnome2.libglade: remove python2-dependent functionality 2022-04-25 07:10:58 -05:00
github-actions[bot]
120925b5cb
Merge master into staging-next 2022-04-05 00:02:06 +00:00
Robert Hensing
200175a701 config.allowAliases: Define as option
This simplifies usages and makes the default value consistent.

In a few cases, the default value was interpreted to be `false`,
but this is useless, because virtually nobody will explicitly
set `allowAliases = true;`.
2022-04-01 11:33:10 +02:00
Felix Buehler
35727684c8 gnome2: rename name to pname&version 2022-03-07 01:03:02 +01:00
piegames
5f192c0e73 libglademm: drop 2022-01-29 18:09:14 +01:00
Martin Weinelt
6de75c797a
gnome2.vte: drop
Depends on pygtk, which is python2 only and thus due for removal.
2022-01-19 13:45:07 +01:00
Jan Tojnar
94517ee0c7 gnome2.gtkhtml4: do not use patchFlags
Those apply to all patches making applying patches in the future problematic.
2022-01-15 05:35:27 +01:00
Daniel Șerbănescu
8696842641 gtkhtml4: added support for enchant2 2022-01-13 14:15:56 +01:00
Sergei Trofimovich
1d9e598b5f gnome2.ORBit2: explicitly disable build parallelism due to missing depends 2021-10-22 22:36:44 +01:00
Sergei Trofimovich
3780c7c211 gnome2.ORBit2: update homepage to https://developer-old.gnome.org/ORBit2/
Previous homepage returned 404.
2021-10-22 22:36:44 +01:00
Rick van Schijndel
193c893efd mail-notification: remove
unmaintained since 2016
2021-08-22 11:23:56 +02:00