Commit Graph

315 Commits

Author SHA1 Message Date
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
Olli Helenius
8609f3fd20
libwnck: make 3.36.0 default 2021-06-24 18:04:30 +03:00
Matthew Van Gundy
3d5c4053ca
Configure gnome2.gtksourceview to build with autoconf 2.69
`nix-build -A gnome2.gtksourceview` fails to build with autoconf 2.70 with the following error:
...
autoreconf: running: intltoolize --copy --force
You should update your 'aclocal.m4' by running aclocal.
autoreconf: running: gtkdocize --copy
Can't exec "gtkdocize": No such file or directory at /nix/store/hm8xfxprfk4l1msb9hpjwgydilbqlvl5-autoconf-2.70/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: gtkdocize failed with exit status: 2

gnome2.gtksourceview builds successfully with autoconf 2.69.
2021-03-14 11:28:01 -07:00
Ben Siraphob
5fffcef915 pkgs/desktops: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00