diff --git a/pkgs/by-name/fl/fluxus/fix-build.patch b/pkgs/by-name/fl/fluxus/fix-build.patch deleted file mode 100644 index b44327520e65..000000000000 --- a/pkgs/by-name/fl/fluxus/fix-build.patch +++ /dev/null @@ -1,100 +0,0 @@ -scons does not use os environment by default: - https://scons.org/doc/2.1.0/HTML/scons-user/x1750.html - -nixpkgs' cc-wrapper on the other hand relies on various NIX_* variables -to be passed through like NIX_CFLAGS_COMPILE_BEFORE. - -While at it ported to python3-style print(). ---- a/SConstruct -+++ b/SConstruct -@@ -6,7 +6,7 @@ - # application, then calls the sconscripts for libfluxus and - # the fluxus Racket modules - --import os, os.path, sys, commands, subprocess -+import os, os.path, sys, subprocess - - MajorVersion = "0" - MinorVersion = "19" -@@ -100,6 +100,7 @@ IncludePaths = [ - paranoid = ' -W -Wcast-qual -Wwrite-strings -Wcast-align -Wpointer-arith -Wconversion -Wredundant-decls -Wunreachable-code -Winline -Wlarger-than-256' - - env = Environment(CCFLAGS = '-ggdb -pipe -Wall -O3 -ffast-math -Wno-unused -fPIC -pthread', -+ ENV = os.environ, - VERSION_NUM = FluxusVersion) - env.MergeFlags(ARGUMENTS.get('CCFLAGS', '').split()) - env.MergeFlags(ARGUMENTS.get('LDFLAGS', '').split()) -@@ -229,9 +230,9 @@ if env['PLATFORM'] == 'posix': - # Make sure we have these libraries availible - - if not GetOption('clean'): -- print '--------------------------------------------------------' -- print 'Fluxus: Configuring Build Environment' -- print '--------------------------------------------------------' -+ print('--------------------------------------------------------') -+ print('Fluxus: Configuring Build Environment') -+ print('--------------------------------------------------------') - # detect ode precision - if not GetOption('clean'): - try: -@@ -240,27 +241,27 @@ if not GetOption('clean'): - if isinstance(ode_str[0], str): - env.MergeFlags(ode_str[0]) - except: -- print 'WARNING: unable to run ode-config, cannot detect ODE precision' -+ print('WARNING: unable to run ode-config, cannot detect ODE precision') - - conf = Configure(env) - - # check Racket and OpenAL frameworks on osx - if env['PLATFORM'] == 'darwin': - if not conf.CheckHeader('scheme.h'): -- print "ERROR: 'racket3m' must be installed!" -+ print("ERROR: 'racket3m' must be installed!") - Exit(1) - if racket_framework: - LibList = filter(lambda x: x[0] != 'racket3m', LibList) - # OpenAL should be installed everywhere - if not conf.CheckHeader('OpenAL/al.h'): -- print "ERROR: 'OpenAL' must be installed!" -+ print("ERROR: 'OpenAL' must be installed!") - Exit(1) - - # all libraries are required, and some of them require each other, - # hence the order is important, and autoadd=1 - for (lib,headers) in LibList: - if not conf.CheckLibWithHeader(lib, headers, 'C', autoadd = 1): -- print "ERROR: '%s' must be installed!" % (lib) -+ print("ERROR: '%s' must be installed!" % (lib)) - Exit(1) - - if not conf.CheckFunc("dInitODE2"): -@@ -334,7 +335,7 @@ if not GetOption('clean'): - ]) - - if raco_status != 0: -- print "ERROR: Failed to run command 'raco'" -+ print("ERROR: Failed to run command 'raco'") - Exit(1) - - -@@ -377,8 +378,8 @@ if not GetOption('clean') and static_modules: - - app_env['LIBS'].remove("pthread") - app_env['LIBS'].remove("dl") -- app_env['LIBS'].remove("ode") -- app_env['LIBS'].remove("sndfile") -+ app_env['LIBS'].remove("ode") -+ app_env['LIBS'].remove("sndfile") - - # now go through the rest of the libs, removing them from - # the environment at the same time -@@ -425,7 +426,7 @@ SConscript(dirs = build_dirs, - if not GetOption('clean'): - helpmap_status = subprocess.call(["racket", "makehelpmap.scm"], cwd="docs/helpmap") - if helpmap_status != 0: -- print "ERROR: Failed to build 'docs/helpmap'" -+ print("ERROR: Failed to build 'docs/helpmap'") - Exit(1) - - ################################################################################ diff --git a/pkgs/by-name/fl/fluxus/package.nix b/pkgs/by-name/fl/fluxus/package.nix deleted file mode 100644 index dfa518c5c574..000000000000 --- a/pkgs/by-name/fl/fluxus/package.nix +++ /dev/null @@ -1,77 +0,0 @@ -{ lib -, stdenv -, fetchFromGitLab -, alsa-lib -, fftw -, libglut -, freetype -, glew -, libjack2 -, libjpeg -, liblo -, libsndfile -, libtiff -, ode -, openal -, openssl -, racket_7_9 -, scons -}: -let - racket = racket_7_9; -in -stdenv.mkDerivation { - pname = "fluxus"; - version = "0.19"; - src = fetchFromGitLab { - owner = "nebogeo"; - repo = "fluxus"; - rev = "ba9aee218dd4a9cfab914ad78bdb6d59e9a37400"; - sha256 = "0mwghpgq4n1khwlmgscirhmcdhi6x00c08q4idi2zcqz961bbs28"; - }; - - buildInputs = [ - alsa-lib - fftw - libglut - freetype - glew - libjack2 - libjpeg - liblo - libsndfile - libtiff - ode - openal - openssl - racket_7_9 - ]; - nativeBuildInputs = [ scons ]; - - patches = [ ./fix-build.patch ]; - postPatch = '' - substituteInPlace src/Unicode.cpp \ - --replace "(byte)" "(unsigned char)" - ''; - sconsFlags = [ - "RacketPrefix=${racket}" - "RacketInclude=${racket}/include/racket" - "RacketLib=${racket}/lib/racket" - "DESTDIR=build" - ]; - configurePhase = '' - sconsFlags+=" Prefix=$out" - ''; - installPhase = '' - mkdir -p $out - cp -r build$out/* $out/ - ''; - - meta = with lib; { - description = "Livecoding environment for 3D graphics, sound, and games"; - license = licenses.gpl2; - homepage = "http://www.pawfal.org/fluxus/"; - maintainers = [ maintainers.brainrape ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 61f8f88d0745..7008fdc51075 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -388,6 +388,7 @@ mapAliases { flutter316 = throw "flutter316 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05 flutter322 = throw "flutter322 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05 flutter323 = throw "flutter323 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05 + fluxus = throw "fluxus has been removed because it hasn't been updated in 9 years and depended on insecure Racket 7.9"; # Added 2024-12-06 foldingathome = throw "'foldingathome' has been renamed to/replaced by 'fahclient'"; # Converted to throw 2024-10-17 forgejo-actions-runner = forgejo-runner; # Added 2024-04-04