Commit Graph

93 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
Yohann Boniface
5d28df96a7 allegro5: fix build with cmake 4 (#449324) 2025-10-07 10:58:47 +00:00
Colin
4989b54b6c allegro5: enable strictDeps, updateScript 2025-10-07 09:50:36 +00:00
wrvsrx
375da09b23 allegro: fix build with cmake4 2025-10-07 16:09:59 +08:00
Colin
59f17214bd allegro5: fix build with cmake 4 2025-10-07 06:23:43 +00:00
Guy Chronister
475a0e3a44 various: remove superflous usages of pname 2025-09-25 20:45:06 -05:00
Weijia Wang
6e757c3f3f allegro4: unpin texinfo 2025-09-07 13:49:19 +02: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
Sandro Jäckel
cc9349bbe4 allegro: unpin texinfo 2025-06-09 03:23:21 +02:00
Marcin Serwin
5d56bacb03 allegro4: add pkg-config to nativeBuildInputs
pkg-config is used to detect the presence of alsa-lib, without it the
library is not used and thus audio does not work.

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-06-03 21:11:13 +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
7c6f434c
38ce360dc8 allegro5: 5.2.9.1 -> 5.2.10.0 (#363183) 2024-12-13 07:14:48 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01: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
jopejoe1
0eef23bd9b allegro: change license to giftware
found at https://github.com/liballeg/allegro5/blob/4.2/docs/src/license._tx
2024-03-20 20:48:45 +01: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