Commit Graph

55 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
Randy Eckenrode
d5f637590e
tree-wide: enable LTO on Darwin 2024-07-20 03:19:54 -04:00
annalee
8f339b27dd
eduke32: convert bmp -> png for gdk-pixbuf-csource
- gdk-pixbuf-csource no longer supports bmp files
- add a rule in the makefile to convert bmp -> png
2024-05-12 07:06:21 +00:00
qubitnano
fbc365e9ec eduke32: build with voidsw
VoidSW is a Shadow Warrior source port included with eduke32
2024-03-03 20:07:00 -05:00
qubitnano
555b8c640c eduke32: refactor 2024-03-03 20:07:00 -05:00
qubitnano
741c6ce23a eduke32: 20230926 -> 0-unstable-2024-02-17 2024-03-03 20:07:00 -05:00
qubitnano
2102e74b4a eduke32: 20221225 -> 20230926 2023-10-02 08:15:23 +01:00
Mark Vainomaa
230027e9c6
eduke32: 20221026 -> 20221225 2023-01-06 18:34:06 +02:00
Sergei Trofimovich
3e2bc675f2
Merge pull request #197798 from wamserma/bump-eduke
eduke32: 20210910 -> 20221026
2022-11-11 22:22:44 +00:00
Markus S. Wamser
f124b56986 eduke32: 20210910 -> 20221026 2022-11-11 22:52:32 +01:00
Sergei Trofimovich
c3e1a9697d eduke32: fix build by removing explicit header paths
In https://github.com/NixOS/nixpkgs/pull/197798#issuecomment-1291196023
we noticed that `eduke32` fails to build as:

    source/build/include/sdl_inc.h:17:12: fatal error: SDL2/SDL.h: No such file or directory
       17 | #  include <SDL2/SDL.h>
          |            ^~~~~~~~~~~~

It statred after https://github.com/NixOS/nixpkgs/pull/191724 where
`NIX_CFLAGS_COMPILE` entries were cleaned up slightly.

This change works build failure around. But I think it's a good change:
there should be no reason to set SDL2 offset via forced include paths.
2022-10-27 08:17:23 +01:00
Sergei Trofimovich
83b01dd4ec SDL2_mixer: add "dev" output
`SDL2_mixer` is a a popular game dependency. Split it's `dev` output to
separate store path to reduce runtime closure size.

While at it amend a few games's include paths.
2022-09-21 07:36:32 +01:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Mark Vainomaa
acdec49e96
eduke32: 20210722 -> 20210910 2021-09-12 15:16:25 +03:00
Mark Vainomaa
8112bb92f9
eduke32: implement proper macOS support 2021-09-12 15:16:20 +03:00
Sander van der Burg
94ac68c879 eduke32: 20200907 -> 20210722 2021-07-25 22:04:24 +02:00
Felix Buehler
ce3b463c79 games: /s/name/pname&version/ 2021-06-25 01:28:10 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Ben Siraphob
47e997598c pkgs/games: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +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
Thibault Polge
cf1efe2c7e
eduke32: fix version number, use string interpolation for src.url
This fixes mistakes I've introduced in 7798a4e19c.
2020-11-25 21:52:48 +01:00
Thibault Polge
7798a4e19c eduke32: 20190330 -> 20200907 2020-11-21 12:04:38 +01:00
zowoq
c7e61112df treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
5f2b92e3ec
treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Peter Hoeg
2827e49596 eduke32: 20150420 -> 20190330
Also:

 - use makeWrapper instead of a custom binary wrapper
 - general minor cleanups
2019-04-03 21:15:50 +08:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Tobias Geerinckx-Rice
0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
Robin Gloster
d9418bf8fb
eduke32: fix build 2017-01-19 16:52:40 +01:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Graham Christensen
f165334492 eduke32: 20150420-5160 moved to the old releases directory
Close #13922.
2016-03-14 20:48:17 +01:00
Tobias Geerinckx-Rice
ac33b4724a More version attribute tidying where maintainers |= nckx 2016-01-25 20:08:34 +01:00
Tobias Geerinckx-Rice
2798b02ad0 Convert some *Flags from strings to lists 2015-11-26 23:45:31 +01:00
Tobias Geerinckx-Rice
98b2d7b727 Separate nativeBuildInputs where maintainers |= nckx 2015-06-17 22:21:32 +02:00
Tobias Geerinckx-Rice
158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00
Tobias Geerinckx-Rice
dc5c8ce819 eduke32 20130303-3542 -> 20150420-5160 2015-04-30 13:11:32 +02:00
Sergey Mironov
baec112e37 eduke32.nix: disable libpng (can't build with it) 2014-12-07 23:19:54 +03:00
Mateusz Kowalczyk
007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00
Evgeny Egorochkin
297a561491 eduke32: fix version to match tarball 2013-07-14 02:08:54 +03:00
Sander van der Burg
9455f23d22 eduke32: Bumped to rev 3542 - very important 2013-03-03 19:34:59 +01:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Sander van der Burg
bf5c3bb671 - libgcc_s seems to be needed after all
- eduke32 uses UNIX style options nowadays


svn path=/nixpkgs/trunk/; revision=27937
2011-07-25 11:43:27 +00:00
Sander van der Burg
f0e799a492 Updated eduke32 to rev 1944
svn path=/nixpkgs/trunk/; revision=27936
2011-07-25 10:48:07 +00:00