Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL2_mixer: adopt and refactor #308362

Merged
merged 5 commits into from
May 3, 2024
Merged

Conversation

AndersonTorres
Copy link
Member

@AndersonTorres AndersonTorres commented May 1, 2024

Description of changes

Following #307078

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@pbsds
Copy link
Member

pbsds commented May 2, 2024

Result of nixpkgs-review pr 308362 run on x86_64-linux 1

5 packages marked as broken and skipped:
  • fspy
  • golden-cheetah-bin
  • itch
  • linux-wallpaperengine
  • radicle-upstream
1 package blacklisted:
  • appimage-run-tests
27 packages failed to build:
  • badlion-client
  • cataclysm-dda-git
  • frogatto
  • katawa-shoujo-re-engineered
  • manaplus
  • nxengine-evo
  • python311Packages.pygame-gui
  • python311Packages.pygame-gui.dist
  • python311Packages.torchrl
  • python311Packages.torchrl.dist
  • python312Packages.gymnasium
  • python312Packages.gymnasium.dist
  • python312Packages.pygame
  • python312Packages.pygame-gui
  • python312Packages.pygame-gui.dist
  • python312Packages.pygame.dist
  • python312Packages.pygetwindow
  • python312Packages.pygetwindow.dist
  • python312Packages.pyrect
  • python312Packages.pyrect.dist
  • python312Packages.pytmx
  • python312Packages.pytmx.dist
  • python312Packages.torchrl
  • python312Packages.torchrl.dist
  • renpy
  • toppler
  • worldofgoo
242 packages built:
  • SDL2_mixer
  • SDL2_mixer.dev
  • SDL2_mixer_2_0
  • SDL2_mixer_2_0.dev
  • Sylk
  • _1oom
  • _1oom.doc
  • _20kly
  • abbaye-des-morts
  • abuse
  • altair
  • alvr
  • anki-bin
  • anytype
  • appimage-run
  • arduino-ide
  • augustus
  • bazecor
  • beekeeper-studio
  • beeper
  • betterdiscord-installer
  • blobwars
  • blockattack
  • bloomrpc
  • bootstrap-studio
  • brutalmaze
  • brutalmaze.dist
  • buttercup-desktop
  • caido
  • caprine-bin
  • cataclysm-dda
  • cdogs-sdl
  • chocolate-doom
  • chocolate-doom.man
  • chromium-bsu
  • chrysalis
  • cider
  • codux
  • commandergenius
  • corsix-th
  • cozy-drive
  • craftos-pc
  • crawlTiles
  • crispy-doom
  • crypto-org-wallet
  • davinci-resolve
  • davinci-resolve-studio
  • deskreen
  • devdocs-desktop
  • doomretro
  • dsda-doom
  • dwarf-fortress (dwarf-fortress-packages.dwarf-fortress ,dwarf-fortress-packages.dwarf-fortress_50_12)
  • dwarf-fortress-packages.dwarf-fortress-full
  • dwarf-fortress-packages.dwarf-fortress-original
  • dwarf-fortress-packages.dwarf-fortress_50_10
  • dwarf-fortress-packages.dwarf-fortress_50_11
  • dwarf-therapist (dwarf-fortress-packages.dwarf-therapist)
  • dxx-rebirth
  • easyabc
  • ecwolf
  • eduke32
  • electron-mail
  • electronplayer
  • endgame-singularity
  • endgame-singularity.dist
  • enigma
  • eternity
  • fflogs
  • fheroes2
  • firefly-desktop
  • flare
  • flexoptix-app
  • fluent-reader
  • framesh
  • freeciv (freeciv_gtk)
  • freeciv_qt
  • freeciv_sdl2
  • frescobaldi
  • frescobaldi.dist
  • fteqw
  • game-rs
  • gemrb
  • guile-chickadee
  • guile-sdl2
  • hamsket
  • hedgewars
  • hifile
  • hoppscotch
  • immersed-vr
  • infra-arcana
  • instead
  • irccloud
  • ivan
  • jan
  • jbrowse
  • jetbrains-toolbox
  • joplin-desktop
  • julius
  • jumpnbump
  • kchat
  • keet
  • kmeet
  • kodiPackages.steam-launcher
  • lbreakouthd
  • lbry
  • ldtk
  • ledger-live-desktop
  • lens
  • liberal-crime-squad
  • lincity_ng
  • listen1
  • lmstudio
  • losslesscut-bin
  • lpairs2
  • lunar-client
  • lunatask
  • lutris
  • lzwolf
  • mar1d
  • marktext
  • mathpix-snipping-tool
  • mendeley
  • methane
  • minigalaxy
  • minigalaxy.dist
  • miru
  • mobilecoin-wallet
  • mockoon
  • molotov
  • motrix
  • mqttx
  • museeks
  • mycrypto
  • narsil
  • neo4j-desktop
  • nosql-workbench
  • notable
  • notesnook
  • notion-app-enhanced
  • np2kai
  • nsz (python311Packages.nsz)
  • nsz.dist (python311Packages.nsz.dist)
  • nuclear
  • opendune
  • openlens
  • opensupaplex
  • osu-lazer-bin
  • p3x-onenote
  • parsify
  • pingus
  • playonlinux
  • plexamp
  • polypane
  • prboom-plus
  • principia
  • protontricks
  • protontricks.dist
  • protonup-qt
  • pureref
  • pysolfc
  • pysolfc.dist
  • python311Packages.gymnasium
  • python311Packages.gymnasium.dist
  • python311Packages.kivy
  • python311Packages.kivy.dist
  • python311Packages.pyautogui
  • python311Packages.pyautogui.dist
  • python311Packages.pygame
  • python311Packages.pygame-sdl2
  • python311Packages.pygame-sdl2.dist
  • python311Packages.pygame.dist
  • python311Packages.pygetwindow
  • python311Packages.pygetwindow.dist
  • python311Packages.pyrect
  • python311Packages.pyrect.dist
  • python311Packages.pysdl2
  • python311Packages.pysdl2.dist
  • python311Packages.pytmx
  • python311Packages.pytmx.dist
  • python311Packages.skrl
  • python311Packages.skrl.dist
  • python312Packages.kivy
  • python312Packages.kivy.dist
  • python312Packages.nsz
  • python312Packages.nsz.dist
  • python312Packages.pygame-sdl2
  • python312Packages.pygame-sdl2.dist
  • python312Packages.pysdl2
  • python312Packages.pysdl2.dist
  • rambox
  • raven-reader
  • remnote
  • requestly
  • retrofe
  • rocksndiamonds
  • ryujinx
  • saleae-logic-2
  • session-desktop
  • sfrotz
  • simplex-chat-desktop
  • sonixd
  • space-cadet-pinball
  • spacedrive
  • srb2
  • srb2kart
  • ssb-patchwork
  • station
  • steam (steamPackages.steam-fhsenv)
  • steam-rom-manager
  • steam-run
  • steam-small (steamPackages.steam-fhsenv-small)
  • steam-tui
  • steamPackages.steam-fhsenv-without-steam
  • steamcmd (steamPackages.steamcmd)
  • steamos-devkit
  • steamos-devkit.dist
  • taisei
  • tauon
  • the-legend-of-edgar
  • timeular
  • todoist-electron
  • trackballs
  • trezor-suite
  • tusk
  • tutanota-desktop
  • tuxpaint
  • ultrastardx
  • upscayl
  • vcmi
  • vengi-tools
  • via
  • vial
  • video2midi
  • vscode-extensions.jackmacwindows.craftos-pc
  • wargus
  • wesnoth (wesnoth-dev)
  • wootility
  • xivlauncher
  • xlights
  • zecwallet-lite
  • zettlr
  • zulip

all failures seemed to be failing on hydra, but i'd like to run this anew now that my pygame fixes are merged.

Diff LGTM, but merge conflict

- finalAttrs
- use fetchFromGitHub (since the url is deactivated)
- strictDeps
- no nested with
- get rid of rec
- use fetchFromGitHub (since the url is deactivated)
@pbsds
Copy link
Member

pbsds commented May 3, 2024

Result of nixpkgs-review pr 308362 run on x86_64-linux 1

5 packages marked as broken and skipped:
  • fspy
  • golden-cheetah-bin
  • itch
  • linux-wallpaperengine
  • radicle-upstream
1 package blacklisted:
  • appimage-run-tests
13 packages failed to build:
  • badlion-client
  • cataclysm-dda-git
  • clockify
  • frogatto
  • katawa-shoujo-re-engineered
  • manaplus
  • python311Packages.torchrl
  • python311Packages.torchrl.dist
  • python312Packages.torchrl
  • python312Packages.torchrl.dist
  • renpy
  • toppler
  • worldofgoo
261 packages built:
  • SDL2_mixer
  • SDL2_mixer.dev
  • SDL2_mixer_2_0
  • SDL2_mixer_2_0.dev
  • Sylk
  • _1oom
  • _1oom.doc
  • _20kly
  • abbaye-des-morts
  • abuse
  • altair
  • alvr
  • anki-bin
  • anytype
  • appimage-run
  • arduino-ide
  • augustus
  • bazecor
  • beekeeper-studio
  • beeper
  • betterdiscord-installer
  • blobwars
  • blockattack
  • bloomrpc
  • bootstrap-studio
  • brutalmaze
  • brutalmaze.dist
  • buttercup-desktop
  • caido
  • caprine-bin
  • cataclysm-dda
  • cdogs-sdl
  • chocolate-doom
  • chocolate-doom.man
  • chromium-bsu
  • chrysalis
  • cider
  • codux
  • commandergenius
  • corsix-th
  • cozy-drive
  • craftos-pc
  • crawlTiles
  • crispy-doom
  • crypto-org-wallet
  • davinci-resolve
  • davinci-resolve-studio
  • deskreen
  • devdocs-desktop
  • doomretro
  • dsda-doom
  • dwarf-fortress (dwarf-fortress-packages.dwarf-fortress ,dwarf-fortress-packages.dwarf-fortress_50_12)
  • dwarf-fortress-packages.dwarf-fortress-full
  • dwarf-fortress-packages.dwarf-fortress-original
  • dwarf-fortress-packages.dwarf-fortress_50_10
  • dwarf-fortress-packages.dwarf-fortress_50_11
  • dwarf-therapist (dwarf-fortress-packages.dwarf-therapist)
  • dxx-rebirth
  • easyabc
  • ecwolf
  • eduke32
  • electron-mail
  • electronplayer
  • endgame-singularity
  • endgame-singularity.dist
  • enigma
  • eternity
  • fflogs
  • fheroes2
  • firefly-desktop
  • flare
  • flexoptix-app
  • fluent-reader
  • framesh
  • freeciv (freeciv_gtk)
  • freeciv_qt
  • freeciv_sdl2
  • frescobaldi
  • frescobaldi.dist
  • fteqw
  • game-rs
  • gemrb
  • guile-chickadee
  • guile-sdl2
  • hamsket
  • hedgewars
  • hifile
  • hoppscotch
  • immersed-vr
  • infra-arcana
  • instead
  • irccloud
  • ivan
  • jan
  • jbrowse
  • jetbrains-toolbox
  • joplin-desktop
  • julius
  • jumpnbump
  • kchat
  • keet
  • kmeet
  • kodiPackages.steam-launcher
  • lbreakouthd
  • lbry
  • ldtk
  • ledger-live-desktop
  • lens
  • liberal-crime-squad
  • lincity_ng
  • listen1
  • lmstudio
  • losslesscut-bin
  • lpairs2
  • lunar-client
  • lunatask
  • lutris
  • lzwolf
  • mar1d
  • marktext
  • mathpix-snipping-tool
  • mendeley
  • methane
  • minigalaxy
  • minigalaxy.dist
  • miru
  • mobilecoin-wallet
  • mockoon
  • molotov
  • motrix
  • mqttx
  • museeks
  • mycrypto
  • narsil
  • neo4j-desktop
  • nosql-workbench
  • notable
  • notesnook
  • notion-app-enhanced
  • np2kai
  • nsz (python311Packages.nsz)
  • nsz.dist (python311Packages.nsz.dist)
  • nuclear
  • nxengine-evo
  • opendune
  • openlens
  • opensupaplex
  • osu-lazer-bin
  • p3x-onenote
  • parsify
  • pingus
  • playonlinux
  • plexamp
  • polypane
  • prboom-plus
  • principia
  • protontricks
  • protontricks.dist
  • protonup-qt
  • pureref
  • pysolfc
  • pysolfc.dist
  • python311Packages.gymnasium
  • python311Packages.gymnasium.dist
  • python311Packages.kivy
  • python311Packages.kivy.dist
  • python311Packages.pyautogui
  • python311Packages.pyautogui.dist
  • python311Packages.pygame
  • python311Packages.pygame-ce
  • python311Packages.pygame-ce.dist
  • python311Packages.pygame-gui
  • python311Packages.pygame-gui.dist
  • python311Packages.pygame-sdl2
  • python311Packages.pygame-sdl2.dist
  • python311Packages.pygame.dist
  • python311Packages.pygetwindow
  • python311Packages.pygetwindow.dist
  • python311Packages.pyrect
  • python311Packages.pyrect.dist
  • python311Packages.pysdl2
  • python311Packages.pysdl2.dist
  • python311Packages.pytmx
  • python311Packages.pytmx.dist
  • python311Packages.skrl
  • python311Packages.skrl.dist
  • python312Packages.gymnasium
  • python312Packages.gymnasium.dist
  • python312Packages.kivy
  • python312Packages.kivy.dist
  • python312Packages.nsz
  • python312Packages.nsz.dist
  • python312Packages.pygame
  • python312Packages.pygame-ce
  • python312Packages.pygame-ce.dist
  • python312Packages.pygame-gui
  • python312Packages.pygame-gui.dist
  • python312Packages.pygame-sdl2
  • python312Packages.pygame-sdl2.dist
  • python312Packages.pygame.dist
  • python312Packages.pygetwindow
  • python312Packages.pygetwindow.dist
  • python312Packages.pyrect
  • python312Packages.pyrect.dist
  • python312Packages.pysdl2
  • python312Packages.pysdl2.dist
  • python312Packages.pytmx
  • python312Packages.pytmx.dist
  • rambox
  • raven-reader
  • remnote
  • requestly
  • retrofe
  • rocksndiamonds
  • ryujinx
  • saleae-logic-2
  • session-desktop
  • sfrotz
  • simplex-chat-desktop
  • sonixd
  • space-cadet-pinball
  • spacedrive
  • srb2
  • srb2kart
  • ssb-patchwork
  • station
  • steam (steamPackages.steam-fhsenv)
  • steam-rom-manager
  • steam-run
  • steam-small (steamPackages.steam-fhsenv-small)
  • steam-tui
  • steamPackages.steam-fhsenv-without-steam
  • steamcmd (steamPackages.steamcmd)
  • steamos-devkit
  • steamos-devkit.dist
  • taisei
  • tauon
  • the-legend-of-edgar
  • timeular
  • todoist-electron
  • trackballs
  • trezor-suite
  • tusk
  • tutanota-desktop
  • tuxpaint
  • ultrastardx
  • upscayl
  • vcmi
  • vengi-tools
  • via
  • vial
  • video2midi
  • vscode-extensions.jackmacwindows.craftos-pc
  • wargus
  • wesnoth (wesnoth-dev)
  • wootility
  • xivlauncher
  • xlights
  • zecwallet-lite
  • zettlr
  • zulip

errors are either due to requireFile, or exist on hydra

one error of interest, from manaplus:

checking for SDL_Init in -lSDL2... no
configure: error:  *** Unable to find SDL2 library (http://www.libsdl.org/)

but that error already exists on hydra: https://hydra.nixos.org/build/256700787

LGTM

@pbsds pbsds merged commit a43d424 into NixOS:master May 3, 2024
23 of 24 checks passed
@AndersonTorres AndersonTorres deleted the sdl2_mixer branch May 3, 2024 13:01
@Sigmanificient Sigmanificient added the 0.kind: package adoption Requests for adopting packages that have no maintainers label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants