x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs before this set of refactoring. But that config wasn't even used by default.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, x11, mesa}:
|
||||
{stdenv, fetchurl, xlibsWrapper, mesa}:
|
||||
|
||||
let version = "8.1.0"; in
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0a58hw5850731p4smz4zqsbvyxvgjf7n5xdbs9l1wamk8q3gl0wp";
|
||||
};
|
||||
|
||||
buildInputs = [x11 mesa];
|
||||
buildInputs = [xlibsWrapper mesa];
|
||||
|
||||
configurePhase = "true";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, x11, libpng, libjpeg, expat, libXaw
|
||||
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, libpng, libjpeg, expat, libXaw
|
||||
, yacc, libtool, fontconfig, pango, gd
|
||||
}:
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "39b8e1f2ba4cc1f5bdc8e39c7be35e5f831253008e4ee2c176984f080416676c";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig x11 libpng libjpeg expat libXaw yacc libtool fontconfig pango gd];
|
||||
buildInputs = [pkgconfig xlibsWrapper libpng libjpeg expat libXaw yacc libtool fontconfig pango gd];
|
||||
|
||||
configureFlags =
|
||||
[ "--with-pngincludedir=${libpng}/include"
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-expatincludedir=${expat}/include"
|
||||
"--with-expatlibdir=${expat}/lib"
|
||||
]
|
||||
++ stdenv.lib.optional (x11 == null) "--without-x";
|
||||
++ stdenv.lib.optional (xlibsWrapper == null) "--without-x";
|
||||
|
||||
meta = {
|
||||
description = "A program for visualising graphs";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, giblib, x11 }:
|
||||
{ stdenv, fetchurl, giblib, xlibsWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "scrot-0.8";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1";
|
||||
};
|
||||
|
||||
buildInputs = [ giblib x11 ];
|
||||
buildInputs = [ giblib xlibsWrapper ];
|
||||
|
||||
meta = {
|
||||
homepage = http://linuxbrit.co.uk/scrot/;
|
||||
|
||||
Reference in New Issue
Block a user