Commit Graph

31 Commits

Author SHA1 Message Date
Faye Chun
9bb9d548ad
stepmania: fix aarch64-linux build by using libpng from nixpkgs
Currently, the aarch64-linux build of Stepmania fails with libpng linkage errors:

> ld: ../extern/libpng.a(pngrtran.c.o): in function `png_do_read_transformations':
> pngrtran.c:(.text+0x4118): undefined reference to `png_riffle_palette_neon'
> ld: pngrtran.c:(.text+0x5188): undefined reference to `png_do_expand_palette_rgba8_neon'
> ld: pngrtran.c:(.text+0x6268): undefined reference to `png_do_expand_palette_rgb8_neon'
> ld: ../extern/libpng.a(pngrutil.c.o): in function `png_read_filter_row':
> pngrutil.c:(.text+0x6734): undefined reference to `png_init_filter_functions_neon'
> collect2: error: ld returned 1 exit status

Stepmania vendors many dependencies in source form in their code repository; it appears that the libpng
build configured there seems to be either misconfigured or isn't building correctly under NixOS. I played
around with a couple of NEON-related compile flags but couldn't get anything to stick.

A workaround that works seems to be building against the Nixpkgs libpng instead. It builds, launch, and (so far)
plays correctly on my NixOS-based M1 Air and my PC.
2024-02-02 23:26:29 -05:00
h7x4
86b4c21783
stepmania: install desktop entry and icons 2023-11-26 22:14:53 +01:00
h7x4
6c241dc0f0
stepmania: add h7x4 as maintainer 2023-11-26 22:14:53 +01:00
h7x4
e26e222a50
stepmania: 5.1.0-b2 -> 5.1.0-b2-unstable-2022-11-14
This also upgrades the dependency `ffmpeg_4` -> `ffmpeg_6`
2023-11-26 22:14:15 +01:00
h7x4
5a81ef6335
stepmania: use SRI hash 2023-11-26 00:24:00 +01:00
h7x4
d7890eda28
stepmania: use diff-friendly formatting 2023-11-26 00:23:45 +01:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +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
Vladimír Čunát
555f300879
treewide: another round of gcc12 fixups 2023-02-05 15:29:43 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Zane van Iperen
1d177d5a70
stepmania: build with newer ffmpeg 2021-11-07 15:56:45 +10:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01: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
Ruben Astudillo
8bbe671585 stepmania: 5.0.12 -> 5.1.0-b2 2019-03-09 05:56:55 -03:00
Ruben Astudillo
14627acc57 Revert "stepmania: switch to clangStdenv"
This reverts commit ff6e4b44dc.
2019-03-09 05:54:05 -03:00
kyren
ff6e4b44dc stepmania: switch to clangStdenv
Stepmania appears to be miscompiled with gcc, fixes #54227
2019-03-06 22:14:18 -05:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Yegor Timoshenko
506c89c30a maintainers: remove mornfall from packages 2018-01-17 05:17:33 +00:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Tuomas Tynkkynen
cb245f228f stepmania: 5.0.10 -> 5.0.12 2017-05-14 02:36:04 +03:00
Nikolay Amiantov
755e4633c7 mass-replace glib and gtk lib/*/include paths 2016-04-14 04:13:54 +03:00
Nikolay Amiantov
a75eb513c6 stepmania: fix on i686 2016-03-09 22:14:06 +03:00
Nikolay Amiantov
eff24b9cdf stepmania: 5.0.7 -> 5.0.10 2015-11-24 17:02:03 +03:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
Jan Malakhovski
ba53021d92 stepmania: revive and update to 5.0.7 2015-04-20 16:09:07 +00:00
Pascal Wittmann
8d67b9a240 transformed meta.maintainers of some packages into lists 2014-09-13 13:52:02 +02:00
Petr Rockai
6f5be260b4 Adopt packages. 2014-01-28 17:31:17 +01:00
Petr Rockai
c592783741 stepmania: A dance (rhythm) game in the spirit of DDR. 2013-12-13 20:56:36 +02:00