lprof: remove

Broken since a long time ago, and was not updated upstream since 2013.

+1 -69
-38
pkgs/tools/graphics/lprof/default.nix
··· 1 - { lib, stdenv, fetchurl, sconsPackages, qt3, lcms1, libtiff, vigra }: 2 - 3 - /* how to calibrate your monitor: 4 - Eg see https://wiki.archlinux.org/index.php/ICC_Profiles#Loading_ICC_Profiles 5 - */ 6 - stdenv.mkDerivation { 7 - name = "lprof-1.11.4.1"; 8 - nativeBuildInputs = [ sconsPackages.scons_3_0_1 ]; 9 - buildInputs = [ qt3 lcms1 libtiff vigra ]; 10 - 11 - hardeningDisable = [ "format" ]; 12 - 13 - preConfigure = '' 14 - export QTDIR=${qt3} 15 - export qt_directory=${qt3} 16 - ''; 17 - 18 - src = fetchurl { 19 - url = "mirror://sourceforge/lprof/lprof/lprof-1.11.4/lprof-1.11.4.1.tar.gz"; 20 - sha256 = "0q8x24fm5yyvm151xrl3l03p7hvvciqnkbviprfnvlr0lyg9wsrn"; 21 - }; 22 - 23 - sconsFlags = "SYSLIBS=1"; 24 - preBuild = '' 25 - export CXX=g++ 26 - ''; 27 - prefixKey = "PREFIX="; 28 - 29 - patches = [ ./lcms-1.17.patch ./keep-environment.patch ]; 30 - 31 - meta = { 32 - description = "Little CMS ICC profile construction set"; 33 - homepage = "https://sourceforge.net/projects/lprof"; 34 - license = lib.licenses.gpl2; 35 - platforms = lib.platforms.linux; 36 - broken = true; # Broken since 2020-07-28 (https://hydra.nixos.org/build/135234622) 37 - }; 38 - }
···
-16
pkgs/tools/graphics/lprof/keep-environment.patch
··· 1 - --- lprof-1.11.4.1.org/SConstruct 2006-06-06 02:11:32.000000000 +0100 2 - +++ lprof-1.11.4.1/SConstruct 2017-08-29 12:56:13.425654683 +0100 3 - @@ -22,12 +22,7 @@ 4 - # opts.Add(BoolOption('qt-mt-lib', 'Flag used to set QT library to either qt-mt or qt. Value of 1 = qt-mt, 0 = qt.', 'yes')) 5 - 6 - # setup base environment 7 - -env = Environment( 8 - - ENV = { 9 - - 'PATH' : os.environ[ 'PATH' ], 10 - - 'HOME' : os.environ[ 'HOME' ], # required for distcc 11 - - 'LDFLAGS' : '' 12 - - }, options = opts) 13 - +env = Environment(ENV = os.environ, options = opts) 14 - 15 - opts.Update(env) 16 - opts.Save('lprof.conf', env) # Save, so user doesn't have to
···
-13
pkgs/tools/graphics/lprof/lcms-1.17.patch
··· 1 - --- a/src/liblprof/lcmsprf.h 2007-08-31 15:36:20.000000000 -0700 2 - +++ b/src/liblprof/lcmsprf.h 2007-08-31 15:37:39.000000000 -0700 3 - @@ -67,6 +67,9 @@ 4 - #define mmax(a,b) ((a) > (b)?(a):(b)) 5 - #endif 6 - 7 - +#if LCMS_VERSION > 116 8 - +typedef int BOOL; 9 - +#endif 10 - 11 - /* Misc operations ------------------------------------------------------------------------ */ 12 - 13 -
···
+1
pkgs/top-level/aliases.nix
··· 342 343 linux-steam-integration = throw "linux-steam-integration has been removed, as the upstream project has been abandoned"; # added 2020-05-22 344 loadcaffe = throw "loadcaffe has been removed, as the upstream project has been abandoned"; # added 2020-03-28 345 lttngTools = lttng-tools; # added 2014-07-31 346 lttngUst = lttng-ust; # added 2014-07-31 347 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02
··· 342 343 linux-steam-integration = throw "linux-steam-integration has been removed, as the upstream project has been abandoned"; # added 2020-05-22 344 loadcaffe = throw "loadcaffe has been removed, as the upstream project has been abandoned"; # added 2020-03-28 345 + lprof = throw "lprof has been removed as it's unmaintained upstream and broken in nixpkgs since a while ago"; # added 2021-02-15 346 lttngTools = lttng-tools; # added 2014-07-31 347 lttngUst = lttng-ust; # added 2014-07-31 348 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02
-2
pkgs/top-level/all-packages.nix
··· 4155 4156 lp_solve = callPackage ../applications/science/math/lp_solve { }; 4157 4158 - lprof = callPackage ../tools/graphics/lprof { }; 4159 - 4160 fastlane = callPackage ../tools/admin/fastlane { }; 4161 4162 fatresize = callPackage ../tools/filesystems/fatresize {};
··· 4155 4156 lp_solve = callPackage ../applications/science/math/lp_solve { }; 4157 4158 fastlane = callPackage ../tools/admin/fastlane { }; 4159 4160 fatresize = callPackage ../tools/filesystems/fatresize {};