Commit Graph

61 Commits

Author SHA1 Message Date
Thomas Butter
8207fbac7e allegro5: 5.2.10.1 -> 5.2.11.3 2026-05-16 16:50:51 +00:00
quantenzitrone
e5ff6c385d various: rename references from libXxf86vm to libxxf86vm
this shouldn't create any rebuilds
2026-02-06 00:29:28 +01:00
quantenzitrone
4d87e5821e various: rename references from libXxf86misc to libxxf86misc
this shouldn't create any rebuilds
2026-02-06 00:29:28 +01:00
quantenzitrone
c4c8f020d7 various: rename references from libXxf86dga to libxxf86dga
this shouldn't create any rebuilds
2026-02-06 00:29:27 +01:00
quantenzitrone
ace8e154a1 various: rename references from libXt to libxt
this shouldn't create any rebuilds
2026-02-06 00:29:25 +01:00
quantenzitrone
f0de96be2c various: rename references from libXpm to libxpm
this shouldn't create any rebuilds
2026-02-06 00:26:01 +01:00
quantenzitrone
77837f424c various: rename references from libXi to libxi
this shouldn't create any rebuilds
2026-02-06 00:25:56 +01:00
quantenzitrone
543572a942 various: rename references from libXfixes to libxfixes
this shouldn't create any rebuilds
2026-02-06 00:25:40 +01:00
quantenzitrone
f67b5966bb various: rename references from libXext to libxext
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
2963d88708 various: rename references from libXdmcp to libxdmcp
this shouldn't create any rebuilds
2026-02-06 00:24:47 +01:00
quantenzitrone
8382a53a4c various: rename references from libXcursor to libxcursor
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
quantenzitrone
d118fe0cf8 libpthreadstubs: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:59:01 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Colin
4989b54b6c allegro5: enable strictDeps, updateScript 2025-10-07 09:50:36 +00:00
Colin
59f17214bd allegro5: fix build with cmake 4 2025-10-07 06:23:43 +00:00
Colin
71b0d9ef4d allegro5: support building with SDL
stock allegro5 does not support Wayland. the experimental SDL backend is
one way to enable native Wayland support for allegro applications.

see:
- <https://github.com/liballeg/allegro5/blob/master/README_sdl.txt>
- <https://github.com/liballeg/allegro5/blob/master/CMakeLists.txt#L64>
2025-07-28 19:24:49 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Grimmauld
92f9f2ed36 allegro5: remove unused pcre and libopus dependencies
While supposedly required, `libopus` was already not being recognized. The log complained:
```
  -- Could NOT find OPUS (missing: OPUS_INCLUDE_DIR OPUSFILE_LIBRARY)
  WARNING: libopus not found or compile test failed, disabling support.
   - Opus: NO
```
If that didn't cause any problems, it can be removed completely.

`pcre` was completely unused. It was introduced in 99522fb742, with no mention of `pcre` in the upstream repo.

The build output is unchanged after removing these two libraries, apart from nix store hashes.
Verified using diffoscope.
2025-05-29 16:41:18 +02:00
Rhys-T
7ef2fa3b1b allegro5: add fixDarwinDylibNames
Allows Allegro-based programs on macOS/Darwin to locate the libraries
at runtime, without needing a wrapper to set `DYLD_LIBRARY_PATH`.
2025-04-14 14:17:56 -04:00
Rhys-T
d9f938cc6d allegro5: split outputs -> out, dev
This avoids referencing apple-sdk in the main output on macOS/Darwin,
which saves over a gigabyte of closure size on programs built with
Allegro 5.

Resolves #397472.
2025-04-14 13:41:51 -04:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
R. Ryantm
992480bd6c allegro5: 5.2.10.0 -> 5.2.10.1 2024-12-29 11:18:26 +00:00
R. Ryantm
73f20b22e1 allegro5: 5.2.9.1 -> 5.2.10.0 2024-12-08 11:44:09 +00: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
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
Yohann Boniface
d20a86ccc1 pkgs/development/libraries: remove unused fetchpatch and other arguments (#313402) 2024-05-23 13:43:35 +02:00
R. Ryantm
1588f246c2 allegro5: 5.2.9.0 -> 5.2.9.1 2024-01-20 17:10:52 +00:00
R. Ryantm
b1649f854a allegro5: 5.2.8.0 -> 5.2.9.0 2023-11-26 09:55:17 +00:00
Colin
1c8090feb8 allegro5: enable webp support
allegro conditionall supports for image formats based on what's
available at compile time. building allegro with `libwebp` allows
users of the the library to load webp image assets at runtime.
2023-11-16 19:52:55 +00:00
Colin
f2fb4944f6 allegro5: order dependencies one-per-line
this is only a formatting change. in response to:
<https://github.com/NixOS/nixpkgs/pull/220545#discussion_r1133333468>
2023-11-16 19:52:13 +00:00
div72
4587e3164b allegro5: support darwin platform
Changes to only include X11 related packages on Linux and fix some
outdated headers to work on new MacOS versions. I have also looked
at support Allegro 4 but it seems that any MacOS version after 10.0x
are not supported.
2023-03-10 22:57:27 +03:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
R. Ryantm
f9771ac5ba allegro5: 5.2.7.0 -> 5.2.8.0 2022-06-25 00:32:09 +00:00
Ben Siraphob
4c38fcb192 treewide: move cmake into nativeBuildInputs 2022-03-31 12:35:21 -05:00
Angus Trau
72cfa909f4 allegro5: fix native dialog addon 2021-08-12 22:26:50 +10:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
R. RyanTM
8871894835 allegro5: 5.2.6.0 -> 5.2.7.0 2021-03-11 04:09:09 +00:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
1905a37193 allegro5: 5.2.5.0 -> 5.2.6.0 2020-02-12 00:39:35 +00:00
adisbladis
c9d8624ccd treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Jonathan Ringer
792c8e8756 allegro: 5.2.4.0 -> 5.2.5.0 2019-08-26 00:53:26 -07:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Herwig Hochleitner
d06770b9a0 allegro5: fix build for mesa 18.2.5
mesa 18.2.5, introduced in 6b490ee296
changed some private headers, that allegro is relying on. This fix backports
the relevant commit from allegro upstream

cc @7c6f434c
2018-12-20 20:06:11 +01:00
Ryan Mulligan
0d5eb901ad treewide: http -> https 2018-06-23 04:34:55 -07:00
Ryan Mulligan
51a0ef4bdd allegro: 5.2.3.0 -> 5.2.4.0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 5.2.4.0 with grep in /nix/store/ffhc3yjpm6avrds564k83vgn1ppw00yr-allegro-5.2.4.0
- directory tree listing: https://gist.github.com/1045c5013f37df121b7965ce4f5c9f5a
2018-03-17 09:40:48 -07:00