* splashutils 1.5.4.1, needed for kernels that have the new
fbcondecor patch. splashutils 1.3 is retained for kernels with the fbsplash patch. svn path=/nixpkgs/trunk/; revision=12029
This commit is contained in:
parent
2813fb46ad
commit
0283118633
@ -26,4 +26,10 @@ stdenv.mkDerivation {
|
||||
#makeFlags = "QUIET=false;
|
||||
|
||||
installPhase = "ensureDir $out/bin; cp objs/splash_helper objs/splash_util objs/splash_util.static $out/bin";
|
||||
|
||||
passthru = {
|
||||
helperName = "bin/splash_helper";
|
||||
controlName = "bin/splash_util";
|
||||
helperProcFile = "/proc/sys/kernel/fbsplash";
|
||||
};
|
||||
}
|
32
pkgs/os-specific/linux/splashutils/1.5.nix
Normal file
32
pkgs/os-specific/linux/splashutils/1.5.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{stdenv, fetchurl, klibc, zlib, libjpeg}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "splashutils-1.5.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.berlios.de/fbsplash/splashutils-1.5.4.1.tar.bz2;
|
||||
sha256 = "0pwv9l6a042hhcwpi4kqdzjg7d1mrlix0fvgqqzqh93mc54z9lf7";
|
||||
};
|
||||
|
||||
buildInputs = [klibc zlib libjpeg];
|
||||
|
||||
dontAddPrefix = 1;
|
||||
|
||||
configureFlags = "--without-ttf --without-png --without-gpm --with-themedir=/etc/splash";
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --with-essential-prefix=$out --with-libdir=/"
|
||||
substituteInPlace src/common.h \
|
||||
--replace 'FBSPLASH_DIR"/sys"' '"/sys"' \
|
||||
--replace 'FBSPLASH_DIR"/proc"' '"/proc"'
|
||||
'';
|
||||
|
||||
CPP = "gcc -E";
|
||||
CXXCPP = "g++ -E";
|
||||
|
||||
passthru = {
|
||||
helperName = "sbin/fbcondecor_helper";
|
||||
controlName = "sbin/fbcondecor_ctl";
|
||||
helperProcFile = "/proc/sys/kernel/fbcondecor";
|
||||
};
|
||||
}
|
@ -4896,7 +4896,18 @@ let pkgs = rec {
|
||||
inherit stdenv klibc;
|
||||
};
|
||||
|
||||
splashutils = import ../os-specific/linux/splashutils {
|
||||
splashutils =
|
||||
if kernel.features ? fbSplash then splashutils_13 else
|
||||
if kernel.features ? fbConDecor then splashutils_15 else
|
||||
null;
|
||||
|
||||
splashutils_13 = import ../os-specific/linux/splashutils/1.3.nix {
|
||||
inherit fetchurl stdenv klibc;
|
||||
zlib = zlibStatic;
|
||||
libjpeg = libjpegStatic;
|
||||
};
|
||||
|
||||
splashutils_15 = import ../os-specific/linux/splashutils/1.5.nix {
|
||||
inherit fetchurl stdenv klibc;
|
||||
zlib = zlibStatic;
|
||||
libjpeg = libjpegStatic;
|
||||
|
Loading…
Reference in New Issue
Block a user