Commit Graph

51 Commits

Author SHA1 Message Date
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
Emily
61922738bb treewide: optimistically unpin FFmpeg 7 dependencies
Per the adjusted FFmpeg pinning advice, packages that work on the
default version should use the unversioned variants to ease the
migration to future versions and reduce the number of packages that
end up referencing old versions.

I have left HandBrake pinned as it builds a custom patched FFmpeg.
2024-09-07 20:31:41 +01:00
Emily
500282f179 hedgewars: add patch for FFmpeg ≥ 6
This is only used for replay video recording, so the potential blast
radius is minimal.
2024-08-20 22:18:26 +01:00
github-actions[bot]
9cede82051
Merge master into staging-next 2024-07-04 12:01:10 +00:00
Jussi Kuokkanen
e1f68ae7cc pkgs/games: remove licenses.gpl2 2024-07-03 12:46:48 +03:00
Emily
fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Naïm Favier
201e6de9c7
hedgewars: build using GHC 9.4 2024-03-29 23:20:49 +01:00
Sergei Trofimovich
3e54fa949c hedgewars: hold SDL2_image back on 2.6 branch
Without the holdback hedgewars fails to start game sessions on
`SDL2_image-2.8.1` as:

    "Surface2Tex failed, expecting 32 bit surface"

It is caused by lack of support of palette-based .png files by
`hedgewars`. Those were added in `SDL2_image-2.8` in

    bf0821bcc7
2023-12-14 22:35:30 +00:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Atemu
9bd2506458 treewide: make ffmpeg_4-dependant packages depend on ffmpeg_4
These packages were identified as broken when ffmpeg = ffmpeg_5.

Tested _only_ by building them. If you are a maintainer of one of these
packages, please test whether your package still works.
2023-03-13 16:42:22 -06:00
maralorn
e678b769bc hedgewars: disable on darwin 2022-09-21 00:48:00 +02:00
Nguyễn Gia Phong
0db05edd09
hedgewars: 1.0.0 -> 1.0.2 2022-09-13 13:32:22 +09:00
Dennis Gosnell
f303875b7e
hedgewars: don't build on hydra 2022-08-19 13:01:44 +09:00
Dennis Gosnell
60f7d27741
hedgewars: mark broken 2022-08-18 13:22:37 +09:00
Ricardo Ardissone
5a035d7b23 hedgewars: add patch and update to libsForQt5 2022-08-16 12:57:13 +02:00
Nguyễn Gia Phong
310ce906b6 hedgewars: use qt514's overridden glibc++ 2022-07-19 13:33:04 +02:00
Dennis Gosnell
f36e14d7cd
hedgewars: mark broken 2022-04-30 12:27:31 +09:00
Malte Brandy
2a11f1f5cc
Merge branch 'master' into haskell-updates 2021-05-07 15:03:54 +02:00
Robin Gloster
0bd501d1dd
hedgewars: use ffmpeg 4
see #120705
2021-05-05 16:41:13 -05:00
sternenseemann
977ccbf6bf hedgewars: portability is limited by fpc 2021-05-05 22:45:52 +02:00
Ben Siraphob
bd42003f87 pkgs/games: pkg-config -> pkgconfig (2) 2021-01-16 23:49:59 -08:00
Timo Kaufmann
8003bb3cda hedgewars: enable build on hydra
Was disabled when the package was marked as broken in
c333861954. It has since been un-broken,
but the hydraPlatforms exception was left presumably by mistake.
2020-09-04 10:53:46 +02:00
Timo Kaufmann
baf51e4600 hedgewars: fix build on aarch64
Possible now that fpc works on aarch64. For some reason hedgewars
requires llvm when building on that platform.
2020-09-03 18:44:40 +02:00
Timo Kaufmann
f928b91f34 fpc: 3.0.4 -> 3.2.0
There was no 3.1 for some reason. The old sed-based path patching was
broken and resulted in syntax errors since it was a bit over-eager.
Instead of fixing it, I decided to replace it with a patch file which is
easier to inspect and will fail in a more obvious way next time.

The patch is now applied unconditionally, since it actually applies to
all linux platforms. The changes are localized to linux-specific code,
so it does not hurt to apply it on non-linux platforms as well.

Hedgewars needs a small fix to work with the new version. Done in the
same commit to avoid a broken commit.
2020-09-03 14:52:18 +02:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Ricardo Ardissone
ae77b8f42d hedgewars: use haskellPackages.network_2_6_3_1
gameServer/hedgewars-server.cabal indicates network version needs
to be < 3.0.
2020-05-06 01:14:06 -03:00
Ricardo Ardissone
4de18778a3 hedgewars: 1.0.0-beta2 -> 1.0.0 2019-10-26 13:52:18 +02:00
Peter Hoeg
751b661a09 hedgewars: 1.0.0-beta1 -> 1.0.0-beta2 2019-09-19 20:45:35 +08:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Trolli Schmittlauch
7030004ad6 hedgewars: 0.9.25 -> 1.0.0-beta1
- unbreak build by bumping version to latest beta as that
removes the broken `bytestring-show` dependency

- beta needs to be fetched from Mercurial repo
2019-08-07 20:04:47 +02:00
Peter Simons
c333861954 hedgewars: disable broken build
(cherry picked from commit 7a1432f0f1)
2019-03-16 20:31:23 +01:00
R. RyanTM
1c0ea01d8e hedgewars: 0.9.24.1 -> 0.9.25 (#52290)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/hedgewars/versions
2018-12-16 15:25:54 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
adisbladis
0c96b7099e
hedgewars: 0.9.23 -> 0.9.24.1 2018-06-28 13:58:28 +08:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
adisbladis
5f111a854e
hedgewars: 0.9.22 -> 0.9.23 2017-11-23 15:47:41 +08:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Peter Simons
9c64582141 hedgewars: fix ambiguous use of the zlib variable 2017-07-26 10:20:31 +02:00
Tuomas Tynkkynen
f064bfe803 treewide: Use more makeLibraryPath 2016-08-23 02:56:12 +03:00
Franz Pletz
72d164c40d hedgewars: fix build 2016-08-06 19:34:18 +02:00
Vladimír Čunát
09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Franz Pletz
301d1d9e76 hedgewars: 0.9.21 -> 0.9.22, fix build failure
cc @kragniz
2016-02-24 14:29:35 +01:00
Vladimír Čunát
9da12a6713 SDL: split the dev output and fix referrers 2015-10-13 20:18:56 +02:00
Peter Simons
2aaa587b71 hackage-packages.nix: switch our default package set to Stackage Nightly
This update was generated by hackage2nix v20150903-82-g351b6f8 using the following inputs:

  - Hackage: af161fdf17
  - LTS Haskell: da73308b63
  - Stackage Nightly: 1994a4f865
2015-09-19 08:20:40 +02:00
Domen Kožar
01587f02a2 hedgewars: 0.9.20.5 -> 0.9.21, fix build
(cherry picked from commit 199be0273eb347a432d74cd50d9ef6083c73c1dd)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-08-28 14:00:17 +02:00
Pascal Wittmann
bb9e9cc3f8 Turned some meta.maintainers into lists 2015-05-14 19:09:43 +02:00
Peter Simons
f8743f3dcd hedgewars: convert the build to Haskell NG 2015-05-04 12:43:24 +02:00
Tobias Geerinckx-Rice
c64257b8e5 Fix user-facing typos (mainly in descriptions) 2014-12-30 03:31:03 +01:00