mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
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:
parent
47ad941fbf
commit
21e3ff658a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, qt4, pkgconfig, x11
|
{ stdenv, fetchurl, cmake, qt4, pkgconfig, xlibsWrapper
|
||||||
# transports
|
# transports
|
||||||
, curl, libmms
|
, curl, libmms
|
||||||
# input plugins
|
# input plugins
|
||||||
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ # basic requirements
|
[ # basic requirements
|
||||||
cmake qt4 pkgconfig x11
|
cmake qt4 pkgconfig xlibsWrapper
|
||||||
# transports
|
# transports
|
||||||
curl libmms
|
curl libmms
|
||||||
# input plugins
|
# input plugins
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2
|
{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2
|
||||||
, intltool, x11, libxklavier, libgcrypt
|
, intltool, xlibsWrapper, libxklavier, libgcrypt
|
||||||
, qt4 ? null, qt5 ? null
|
, qt4 ? null, qt5 ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d
|
{ stdenv, fetchurl, ncurses, xlibsWrapper, libXaw, libXpm, Xaw3d
|
||||||
, pkgconfig, gettext, libXft, dbus, libpng, libjpeg, libungif
|
, pkgconfig, gettext, libXft, dbus, libpng, libjpeg, libungif
|
||||||
, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
|
, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
|
||||||
, alsaLib, cairo, acl, gpm
|
, alsaLib, cairo, acl, gpm
|
||||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
[ ncurses gconf libxml2 gnutls alsaLib pkgconfig texinfo acl gpm gettext ]
|
[ ncurses gconf libxml2 gnutls alsaLib pkgconfig texinfo acl gpm gettext ]
|
||||||
++ stdenv.lib.optional stdenv.isLinux dbus
|
++ stdenv.lib.optional stdenv.isLinux dbus
|
||||||
++ stdenv.lib.optionals withX
|
++ stdenv.lib.optionals withX
|
||||||
[ x11 libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
|
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
|
||||||
imagemagick gconf ]
|
imagemagick gconf ]
|
||||||
++ stdenv.lib.optional (withX && withGTK2) gtk2
|
++ stdenv.lib.optional (withX && withGTK2) gtk2
|
||||||
++ stdenv.lib.optional (withX && withGTK3) gtk3
|
++ stdenv.lib.optional (withX && withGTK3) gtk3
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, motif, libXpm }:
|
{ stdenv, fetchurl, xlibsWrapper, motif, libXpm }:
|
||||||
|
|
||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "023hwpqc57mnzvg6p7jda6193afgjzxzajlhwhqvk3jq2kdv6zna";
|
sha256 = "023hwpqc57mnzvg6p7jda6193afgjzxzajlhwhqvk3jq2kdv6zna";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ x11 motif libXpm ];
|
buildInputs = [ xlibsWrapper motif libXpm ];
|
||||||
|
|
||||||
buildFlags = if stdenv.isLinux then "linux" else "";
|
buildFlags = if stdenv.isLinux then "linux" else "";
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, fetchurl, gdal, cmake, qt4, flex, bison, proj, geos, x11, sqlite, gsl,
|
{ stdenv, fetchurl, gdal, cmake, qt4, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl,
|
||||||
qwt, fcgi, pythonPackages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper }:
|
qwt, fcgi, pythonPackages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qgis-2.10.1";
|
name = "qgis-2.10.1";
|
||||||
|
|
||||||
buildInputs = [ gdal qt4 flex bison proj geos x11 sqlite gsl qwt qscintilla
|
buildInputs = [ gdal qt4 flex bison proj geos xlibsWrapper sqlite gsl qwt qscintilla
|
||||||
fcgi libspatialindex libspatialite postgresql ] ++
|
fcgi libspatialindex libspatialite postgresql ] ++
|
||||||
(with pythonPackages; [ numpy psycopg2 ]) ++ [ pythonPackages.qscintilla ];
|
(with pythonPackages; [ numpy psycopg2 ]) ++ [ pythonPackages.qscintilla ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng
|
{ stdenv, makeWrapper, fetchurl, xlibsWrapper, imlib2, libjpeg, libpng
|
||||||
, libXinerama, curl, libexif }:
|
, libXinerama, curl, libexif }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1059mflgw8hl398lwy55fj50a98xryvdf23wkpbn4s0z9388hl46";
|
sha256 = "1059mflgw8hl398lwy55fj50a98xryvdf23wkpbn4s0z9388hl46";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper x11 imlib2 libjpeg libpng libXinerama curl libexif ];
|
buildInputs = [ makeWrapper xlibsWrapper imlib2 libjpeg libpng libXinerama curl libexif ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlags="PREFIX=$out exif=1"
|
makeFlags="PREFIX=$out exif=1"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, imake
|
{ stdenv, fetchurl, makeWrapper, imake
|
||||||
, x11, libXpm, libXmu, libXi, libXp, Xaw3d, libpng, libjpeg}:
|
, xlibsWrapper, libXpm, libXmu, libXi, libXp, Xaw3d, libpng, libjpeg}:
|
||||||
|
|
||||||
let version = "3.2.5b"; in
|
let version = "3.2.5b"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
buildInputs = [x11 libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
|
buildInputs = [xlibsWrapper libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
|
||||||
|
|
||||||
nativeBuildInputs = [ imake makeWrapper ];
|
nativeBuildInputs = [ imake makeWrapper ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, x11, libX11, libXi, libXtst, libXrandr
|
{ stdenv, fetchFromGitHub, cmake, xlibsWrapper, libX11, libXi, libXtst, libXrandr
|
||||||
, xinput, curl, openssl, unzip }:
|
, xinput, curl, openssl, unzip }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake x11 libX11 libXi libXtst libXrandr xinput curl openssl
|
cmake xlibsWrapper libX11 libXi libXtst libXrandr xinput curl openssl
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, tcl, tk, x11, makeWrapper}:
|
{stdenv, fetchurl, tcl, tk, xlibsWrapper, makeWrapper}:
|
||||||
|
|
||||||
let version = "3.0"; in
|
let version = "3.0"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "08pgjvd2vvmqk3h641x63nxp7wqimb9r30889mkyfh2agc62sjbc";
|
sha256 = "08pgjvd2vvmqk3h641x63nxp7wqimb9r30889mkyfh2agc62sjbc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [tcl tk x11 makeWrapper];
|
buildInputs = [tcl tk xlibsWrapper makeWrapper];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed "13i#define USE_INTERP_RESULT 1" -i src/stubs.c
|
sed "13i#define USE_INTERP_RESULT 1" -i src/stubs.c
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fox, pkgconfig, gettext, x11, gcc, intltool, file, libpng }:
|
{ stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xfe-1.37";
|
name = "xfe-1.37";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1g9a0bpny2m7ixgxpqjh0wvh2x6d0lpj6682zn5dfqwan4j2xfsd";
|
sha256 = "1g9a0bpny2m7ixgxpqjh0wvh2x6d0lpj6682zn5dfqwan4j2xfsd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fox pkgconfig gettext x11 gcc intltool file libpng ];
|
buildInputs = [ fox pkgconfig gettext xlibsWrapper gcc intltool file libpng ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h
|
sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
|
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
|
||||||
, stdenv, fetchurl, zlib, libpng, x11 ? null, motif ? null, freetype ? null, t1lib ? null
|
, stdenv, fetchurl, zlib, libpng, xlibsWrapper ? null, motif ? null, freetype ? null, t1lib ? null
|
||||||
, base14Fonts ? null
|
, base14Fonts ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert enableGUI -> x11 != null && motif != null && freetype != null;
|
assert enableGUI -> xlibsWrapper != null && motif != null && freetype != null;
|
||||||
assert enablePDFtoPPM -> freetype != null;
|
assert enablePDFtoPPM -> freetype != null;
|
||||||
assert useT1Lib -> t1lib != null;
|
assert useT1Lib -> t1lib != null;
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib libpng ] ++
|
buildInputs = [ zlib libpng ] ++
|
||||||
stdenv.lib.optionals enableGUI [x11 motif] ++
|
stdenv.lib.optionals enableGUI [xlibsWrapper motif] ++
|
||||||
stdenv.lib.optional useT1Lib t1lib ++
|
stdenv.lib.optional useT1Lib t1lib ++
|
||||||
stdenv.lib.optional enablePDFtoPPM freetype;
|
stdenv.lib.optional enablePDFtoPPM freetype;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, ncurses, x11, bzip2, zlib, openssl
|
{ stdenv, fetchurl, perl, ncurses, xlibsWrapper, bzip2, zlib, openssl
|
||||||
, spidermonkey, gpm
|
, spidermonkey, gpm
|
||||||
, enableGuile ? false, guile ? null # Incompatible licenses, LGPLv3 - GPLv2
|
, enableGuile ? false, guile ? null # Incompatible licenses, LGPLv3 - GPLv2
|
||||||
, enablePython ? false, python ? null
|
, enablePython ? false, python ? null
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./gc-init.patch ];
|
patches = [ ./gc-init.patch ];
|
||||||
|
|
||||||
buildInputs = [ perl ncurses x11 bzip2 zlib openssl spidermonkey gpm ]
|
buildInputs = [ perl ncurses xlibsWrapper bzip2 zlib openssl spidermonkey gpm ]
|
||||||
++ stdenv.lib.optional enableGuile guile
|
++ stdenv.lib.optional enableGuile guile
|
||||||
++ stdenv.lib.optional enablePython python;
|
++ stdenv.lib.optional enablePython python;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, browser, x11
|
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, browser, xlibsWrapper
|
||||||
, GConf, gnome_mplayer, mplayer, gmtk
|
, GConf, gnome_mplayer, mplayer, gmtk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "913fd39e70c564cb210c2544a88869f9d1a448184421f000b14b2bc5ba718b49";
|
sha256 = "913fd39e70c564cb210c2544a88869f9d1a448184421f000b14b2bc5ba718b49";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser gmtk ];
|
buildInputs = [ pkgconfig glib dbus dbus_glib browser xlibsWrapper GConf browser gmtk ];
|
||||||
|
|
||||||
# !!! fix this
|
# !!! fix this
|
||||||
preBuild =
|
preBuild =
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
, graphicsSupport ? false
|
, graphicsSupport ? false
|
||||||
, mouseSupport ? false
|
, mouseSupport ? false
|
||||||
, ncurses, openssl ? null, boehmgc, gettext, zlib
|
, ncurses, openssl ? null, boehmgc, gettext, zlib
|
||||||
, imlib2 ? null, x11 ? null, fbcon ? null
|
, imlib2 ? null, xlibsWrapper ? null, fbcon ? null
|
||||||
, gpm-ncurses ? null
|
, gpm-ncurses ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert sslSupport -> openssl != null;
|
assert sslSupport -> openssl != null;
|
||||||
assert graphicsSupport -> imlib2 != null && (x11 != null || fbcon != null);
|
assert graphicsSupport -> imlib2 != null && (xlibsWrapper != null || fbcon != null);
|
||||||
assert mouseSupport -> gpm-ncurses != null;
|
assert mouseSupport -> gpm-ncurses != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ncurses boehmgc gettext zlib]
|
buildInputs = [ncurses boehmgc gettext zlib]
|
||||||
++ stdenv.lib.optional sslSupport openssl
|
++ stdenv.lib.optional sslSupport openssl
|
||||||
++ stdenv.lib.optional mouseSupport gpm-ncurses
|
++ stdenv.lib.optional mouseSupport gpm-ncurses
|
||||||
++ stdenv.lib.optionals graphicsSupport [imlib2 x11 fbcon];
|
++ stdenv.lib.optionals graphicsSupport [imlib2 xlibsWrapper fbcon];
|
||||||
|
|
||||||
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}"
|
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}"
|
||||||
+ stdenv.lib.optionalString graphicsSupport " --enable-image=x11,fb";
|
+ stdenv.lib.optionalString graphicsSupport " --enable-image=x11,fb";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, which, tcl, tk, x11, libpng, libjpeg, makeWrapper}:
|
{stdenv, fetchurl, which, tcl, tk, xlibsWrapper, libpng, libjpeg, makeWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "amsn-0.98.9";
|
name = "amsn-0.98.9";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --enable-static";
|
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --enable-static";
|
||||||
|
|
||||||
buildInputs = [which tcl tk x11 libpng libjpeg makeWrapper];
|
buildInputs = [which tcl tk xlibsWrapper libpng libjpeg makeWrapper];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
|
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, tcl, tk, tcllib, tcltls, tclgpg
|
{ stdenv, fetchurl, tcl, tk, tcllib, tcltls, tclgpg
|
||||||
, bwidget, makeWrapper, x11
|
, bwidget, makeWrapper, xlibsWrapper
|
||||||
, withSitePlugins ? true
|
, withSitePlugins ? true
|
||||||
, theme ? null
|
, theme ? null
|
||||||
}:
|
}:
|
||||||
@ -62,7 +62,7 @@ in mkTkabber (main // {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ tcl tk x11 makeWrapper ] ++ tclLibraries;
|
buildInputs = [ tcl tk xlibsWrapper makeWrapper ] ++ tclLibraries;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://tkabber.jabber.ru/";
|
homepage = "http://tkabber.jabber.ru/";
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, ocaml, withOCaml ? false
|
, ocaml, withOCaml ? false
|
||||||
#, withJava ? false
|
#, withJava ? false
|
||||||
#, atlasMath, withAtlas ? false
|
#, atlasMath, withAtlas ? false
|
||||||
, x11, withX ? false
|
, xlibsWrapper, withX ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [gfortran ncurses]
|
buildInputs = [gfortran ncurses]
|
||||||
++ lib.optionals withGtk [gtk]
|
++ lib.optionals withGtk [gtk]
|
||||||
++ lib.optionals withOCaml [ocaml]
|
++ lib.optionals withOCaml [ocaml]
|
||||||
++ lib.optionals withX [x11]
|
++ lib.optional withX xlibsWrapper
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
@ -58,11 +58,7 @@ stdenv.mkDerivation rec {
|
|||||||
# do not compile Java interface
|
# do not compile Java interface
|
||||||
+ " --without-java"
|
+ " --without-java"
|
||||||
# use the X Window System
|
# use the X Window System
|
||||||
+ (lib.optionalString withX "
|
+ lib.optionalString withX "--with-x"
|
||||||
--with-x
|
|
||||||
--x-libraries=${x11}/lib
|
|
||||||
--x-includes=${x11}/include
|
|
||||||
")
|
|
||||||
;
|
;
|
||||||
|
|
||||||
makeFlags = "all";
|
makeFlags = "all";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, gst_ffmpeg, speex
|
, gst_ffmpeg, speex
|
||||||
, libogg, libxml2, libjpeg, mesa, libpng, libungif, libtool
|
, libogg, libxml2, libjpeg, mesa, libpng, libungif, libtool
|
||||||
, boost, freetype, agg, dbus, curl, pkgconfig, gettext
|
, boost, freetype, agg, dbus, curl, pkgconfig, gettext
|
||||||
, glib, gtk, gtkglext, pangox_compat, x11, ming, dejagnu, python, perl
|
, glib, gtk, gtkglext, pangox_compat, xlibsWrapper, ming, dejagnu, python, perl
|
||||||
, freefont_ttf, haxe, swftools
|
, freefont_ttf, haxe, swftools
|
||||||
, lib, makeWrapper
|
, lib, makeWrapper
|
||||||
, xulrunner }:
|
, xulrunner }:
|
||||||
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# XXX: KDE is supported as well so we could make it available optionally.
|
# XXX: KDE is supported as well so we could make it available optionally.
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gettext x11 SDL SDL_mixer gstreamer gst_plugins_base gst_plugins_good
|
gettext xlibsWrapper SDL SDL_mixer gstreamer gst_plugins_base gst_plugins_good
|
||||||
gst_ffmpeg speex libtool
|
gst_ffmpeg speex libtool
|
||||||
libogg libxml2 libjpeg mesa libpng libungif boost freetype agg
|
libogg libxml2 libjpeg mesa libpng libungif boost freetype agg
|
||||||
dbus curl pkgconfig glib gtk gtkglext pangox_compat
|
dbus curl pkgconfig glib gtk gtkglext pangox_compat
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, which, qt4, x11, libpulseaudio, fftwSinglePrec
|
{ stdenv, fetchurl, which, qt4, xlibsWrapper, libpulseaudio, fftwSinglePrec
|
||||||
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
|
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
|
||||||
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
|
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
|
||||||
, yasm, libuuid, taglib, libtool, autoconf, automake, file
|
, yasm, libuuid, taglib, libtool, autoconf, automake, file
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
sourceRoot = "${name}/mythtv";
|
sourceRoot = "${name}/mythtv";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
freetype qt4 lame zlib x11 mesa perl alsaLib libpulseaudio fftwSinglePrec
|
freetype qt4 lame zlib xlibsWrapper mesa perl alsaLib libpulseaudio fftwSinglePrec
|
||||||
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
||||||
libuuid taglib
|
libuuid taglib
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchurl, makeWrapper, autoconf, automake,
|
{ stdenv, lib, fetchurl, makeWrapper, autoconf, automake,
|
||||||
libmspack, openssl, pam, xercesc, icu, libdnet, procps,
|
libmspack, openssl, pam, xercesc, icu, libdnet, procps,
|
||||||
x11, libXinerama, libXi, libXrender, libXrandr, libXtst,
|
xlibsWrapper, libXinerama, libXi, libXrender, libXrandr, libXtst,
|
||||||
pkgconfig, glib, gtk, gtkmm }:
|
pkgconfig, glib, gtk, gtkmm }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -18,7 +18,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ autoconf automake makeWrapper libmspack openssl pam xercesc icu libdnet procps
|
[ autoconf automake makeWrapper libmspack openssl pam xercesc icu libdnet procps
|
||||||
pkgconfig glib gtk gtkmm x11 libXinerama libXi libXrender libXrandr libXtst ];
|
pkgconfig glib gtk gtkmm xlibsWrapper libXinerama libXi libXrender libXrandr libXtst ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i s,-Werror,,g configure.ac
|
sed -i s,-Werror,,g configure.ac
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, lua, gettext, groff }:
|
{ stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ion-3-20090110";
|
name = "ion-3-20090110";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
url = http://tuomov.iki.fi/software/dl/ion-3-20090110.tar.gz;
|
url = http://tuomov.iki.fi/software/dl/ion-3-20090110.tar.gz;
|
||||||
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
|
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
|
||||||
};
|
};
|
||||||
buildInputs = [ x11 lua gettext groff ];
|
buildInputs = [ xlibsWrapper lua gettext groff ];
|
||||||
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
|
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
|
||||||
installFlags = "PREFIX=\${out}";
|
installFlags = "PREFIX=\${out}";
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
stdenv, fetchurl,
|
stdenv, fetchurl,
|
||||||
lua, gettext, groff,
|
lua, gettext, groff,
|
||||||
pkgconfig, busybox,
|
pkgconfig, busybox,
|
||||||
x11, libXinerama, libXrandr, libX11
|
xlibsWrapper, libXinerama, libXrandr, libX11
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert enableXft -> libXft != null;
|
assert enableXft -> libXft != null;
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
patches = patches ++ stdenv.lib.optional enableXft ./notion-xft_nixos.diff;
|
patches = patches ++ stdenv.lib.optional enableXft ./notion-xft_nixos.diff;
|
||||||
postPatch = "substituteInPlace system-autodetect.mk --replace '#PRELOAD_MODULES=1' 'PRELOAD_MODULES=1'";
|
postPatch = "substituteInPlace system-autodetect.mk --replace '#PRELOAD_MODULES=1' 'PRELOAD_MODULES=1'";
|
||||||
buildInputs = [x11 lua gettext groff pkgconfig busybox libXinerama libXrandr libX11] ++ stdenv.lib.optional enableXft libXft;
|
buildInputs = [xlibsWrapper lua gettext groff pkgconfig busybox libXinerama libXrandr libX11] ++ stdenv.lib.optional enableXft libXft;
|
||||||
|
|
||||||
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
|
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
|
||||||
installFlags = "PREFIX=\${out}";
|
installFlags = "PREFIX=\${out}";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon, cairo, libxcb
|
{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon, cairo, libxcb
|
||||||
, libXcursor, x11, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
|
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
|
||||||
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
||||||
, libwebp ? null, xwayland ? null
|
, libwebp ? null, xwayland ? null
|
||||||
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig wayland mesa libxkbcommon cairo libxcb libXcursor x11 udev libdrm
|
pkgconfig wayland mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
|
||||||
mtdev libjpeg pam dbus.libs libinput pango libunwind freerdp vaapi libva
|
mtdev libjpeg pam dbus.libs libinput pango libunwind freerdp vaapi libva
|
||||||
libwebp
|
libwebp
|
||||||
];
|
];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, x11, xlibs, dbus, imlib2, freetype }:
|
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, xlibs, dbus, imlib2, freetype }:
|
||||||
|
|
||||||
let version = "0.16.8.15"; in
|
let version = "0.16.8.15"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11 }:
|
{ stdenv, fetchurl, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-3.08.0";
|
name = "ocaml-3.08.0";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
configureScript = ./configure-3.08.0;
|
configureScript = ./configure-3.08.0;
|
||||||
dontAddPrefix = "True";
|
dontAddPrefix = "True";
|
||||||
configureFlags = ["-no-tk" "-x11lib" x11];
|
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
|
||||||
buildFlags = ["world" "bootstrap" "opt"];
|
buildFlags = ["world" "bootstrap" "opt"];
|
||||||
checkTarget = ["opt.opt"];
|
checkTarget = ["opt.opt"];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, ncurses }:
|
{ stdenv, fetchurl, xlibsWrapper, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
@ -10,9 +10,9 @@ stdenv.mkDerivation (rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
||||||
configureFlags = ["-no-tk" "-x11lib" x11];
|
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
|
||||||
buildFlags = "world bootstrap world.opt";
|
buildFlags = "world bootstrap world.opt";
|
||||||
buildInputs = [x11 ncurses];
|
buildInputs = [xlibsWrapper ncurses];
|
||||||
installTargets = "install installopt";
|
installTargets = "install installopt";
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
CAT=$(type -tp cat)
|
CAT=$(type -tp cat)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ncurses, x11 }:
|
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
useX11 = stdenv.isi686 || stdenv.isx86_64;
|
useX11 = stdenv.isi686 || stdenv.isx86_64;
|
||||||
@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
||||||
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
|
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
|
||||||
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
||||||
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
|
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
|
||||||
installTargets = "install" + optionalString useNativeCompilers " installopt";
|
installTargets = "install" + optionalString useNativeCompilers " installopt";
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
CAT=$(type -tp cat)
|
CAT=$(type -tp cat)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ncurses, x11 }:
|
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
useX11 = !stdenv.isArm && !stdenv.isMips;
|
useX11 = !stdenv.isArm && !stdenv.isMips;
|
||||||
@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
||||||
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
|
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
|
||||||
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
||||||
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
|
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
|
||||||
installTargets = "install" + optionalString useNativeCompilers " installopt";
|
installTargets = "install" + optionalString useNativeCompilers " installopt";
|
||||||
patches = optionals stdenv.isDarwin [ ./3.12.1-darwin-fix-configure.patch ];
|
patches = optionals stdenv.isDarwin [ ./3.12.1-darwin-fix-configure.patch ];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ncurses, x11 }:
|
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
useX11 = !stdenv.isArm && !stdenv.isMips;
|
useX11 = !stdenv.isArm && !stdenv.isMips;
|
||||||
@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
||||||
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
|
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
|
||||||
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
||||||
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
|
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
|
||||||
installTargets = "install" + optionalString useNativeCompilers " installopt";
|
installTargets = "install" + optionalString useNativeCompilers " installopt";
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
CAT=$(type -tp cat)
|
CAT=$(type -tp cat)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ncurses, x11 }:
|
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
useX11 = stdenv.isi686 || stdenv.isx86_64;
|
useX11 = stdenv.isi686 || stdenv.isx86_64;
|
||||||
@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
|
|||||||
patches = optionals stdenv.isDarwin [ ./gnused-on-osx-fix.patch ];
|
patches = optionals stdenv.isDarwin [ ./gnused-on-osx-fix.patch ];
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
||||||
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
|
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
|
||||||
buildFlags = "core coreboot all"; # "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
buildFlags = "core coreboot all"; # "world" + optionalString useNativeCompilers " bootstrap world.opt";
|
||||||
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
|
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
|
||||||
installFlags = "-i";
|
installFlags = "-i";
|
||||||
installTargets = "install"; # + optionalString useNativeCompilers " installopt";
|
installTargets = "install"; # + optionalString useNativeCompilers " installopt";
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, ncurses }:
|
{ stdenv, fetchurl, xlibsWrapper, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
@ -10,9 +10,9 @@ stdenv.mkDerivation (rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
||||||
configureFlags = ["-no-tk" "-x11lib" x11];
|
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
|
||||||
buildFlags = "world bootstrap world.opt";
|
buildFlags = "world bootstrap world.opt";
|
||||||
buildInputs = [x11 ncurses];
|
buildInputs = [xlibsWrapper ncurses];
|
||||||
installTargets = "install installopt";
|
installTargets = "install installopt";
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
CAT=$(type -tp cat)
|
CAT=$(type -tp cat)
|
||||||
|
@ -60530,13 +60530,13 @@ self: {
|
|||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
"gtk-traymanager" = callPackage
|
"gtk-traymanager" = callPackage
|
||||||
({ mkDerivation, base, glib, gtk, x11 }:
|
({ mkDerivation, base, glib, gtk, xlibsWrapper }:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "gtk-traymanager";
|
pname = "gtk-traymanager";
|
||||||
version = "0.1.5";
|
version = "0.1.5";
|
||||||
sha256 = "1582e229aafe22cf5499fe1519e2ff4f49cecbe83a6eb1a8de04f45dd44df443";
|
sha256 = "1582e229aafe22cf5499fe1519e2ff4f49cecbe83a6eb1a8de04f45dd44df443";
|
||||||
libraryHaskellDepends = [ base glib gtk ];
|
libraryHaskellDepends = [ base glib gtk ];
|
||||||
libraryPkgconfigDepends = [ x11 ];
|
libraryPkgconfigDepends = [ xlibsWrapper ];
|
||||||
homepage = "http://github.com/travitch/gtk-traymanager";
|
homepage = "http://github.com/travitch/gtk-traymanager";
|
||||||
description = "A wrapper around the eggtraymanager library for Linux system trays";
|
description = "A wrapper around the eggtraymanager library for Linux system trays";
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi
|
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi
|
||||||
, sqlite, openssl, ncurses, pythonFull, expat, tcl, tk, x11, libX11
|
, sqlite, openssl, ncurses, pythonFull, expat, tcl, tk, xlibsWrapper, libX11
|
||||||
, makeWrapper, callPackage, self }:
|
, makeWrapper, callPackage, self }:
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
@ -21,7 +21,7 @@ let
|
|||||||
sha256 = "0xympj874cnjpxj68xm5gllq2f8bbvz8hr0md8mh1yd6fgzzxibh";
|
sha256 = "0xympj874cnjpxj68xm5gllq2f8bbvz8hr0md8mh1yd6fgzzxibh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl x11 libX11 makeWrapper ]
|
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 makeWrapper ]
|
||||||
++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc
|
++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc
|
||||||
++ stdenv.lib.optional zlibSupport zlib;
|
++ stdenv.lib.optional zlibSupport zlib;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, includeModules ? false
|
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, includeModules ? false
|
||||||
, sqlite, tcl, tk, x11, openssl, readline, db, ncurses, gdbm, self, callPackage }:
|
, sqlite, tcl, tk, xlibsWrapper, openssl, readline, db, ncurses, gdbm, self, callPackage }:
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ let
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
|
optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
|
||||||
[ bzip2 openssl ]++ optionals includeModules [ db openssl ncurses gdbm readline x11 tcl tk sqlite ]
|
[ bzip2 openssl ]++ optionals includeModules [ db openssl ncurses gdbm readline xlibsWrapper tcl tk sqlite ]
|
||||||
++ optional zlibSupport zlib;
|
++ optional zlibSupport zlib;
|
||||||
|
|
||||||
|
|
||||||
@ -198,7 +198,7 @@ let
|
|||||||
|
|
||||||
tkinter = buildInternalPythonModule {
|
tkinter = buildInternalPythonModule {
|
||||||
moduleName = "tkinter";
|
moduleName = "tkinter";
|
||||||
deps = [ tcl tk x11 ];
|
deps = [ tcl tk xlibsWrapper ];
|
||||||
};
|
};
|
||||||
|
|
||||||
readline = buildInternalPythonModule {
|
readline = buildInternalPythonModule {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
, db, gdbm, ncurses, sqlite, readline
|
, db, gdbm, ncurses, sqlite, readline
|
||||||
|
|
||||||
, tcl ? null, tk ? null, x11 ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
|
, tcl ? null, tk ? null, xlibsWrapper ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
|
||||||
, zlib ? null, zlibSupport ? true
|
, zlib ? null, zlibSupport ? true
|
||||||
, expat, libffi
|
, expat, libffi
|
||||||
|
|
||||||
@ -15,7 +15,7 @@
|
|||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
assert x11Support -> tcl != null
|
assert x11Support -> tcl != null
|
||||||
&& tk != null
|
&& tk != null
|
||||||
&& x11 != null
|
&& xlibsWrapper != null
|
||||||
&& libX11 != null;
|
&& libX11 != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -92,7 +92,7 @@ let
|
|||||||
++ optionals stdenv.isCygwin [ expat libffi ]
|
++ optionals stdenv.isCygwin [ expat libffi ]
|
||||||
++ optionals includeModules (
|
++ optionals includeModules (
|
||||||
[ db gdbm ncurses sqlite readline
|
[ db gdbm ncurses sqlite readline
|
||||||
] ++ optionals x11Support [ tcl tk x11 libX11 ]
|
] ++ optionals x11Support [ tcl tk xlibsWrapper libX11 ]
|
||||||
)
|
)
|
||||||
++ optional zlibSupport zlib
|
++ optional zlibSupport zlib
|
||||||
|
|
||||||
@ -249,7 +249,7 @@ let
|
|||||||
|
|
||||||
tkinter = if stdenv.isCygwin then null else (buildInternalPythonModule {
|
tkinter = if stdenv.isCygwin then null else (buildInternalPythonModule {
|
||||||
moduleName = "tkinter";
|
moduleName = "tkinter";
|
||||||
deps = [ tcl tk x11 libX11 ];
|
deps = [ tcl tk xlibsWrapper libX11 ];
|
||||||
});
|
});
|
||||||
|
|
||||||
} // {
|
} // {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, audiofile, libcap
|
{ stdenv, fetchurl, pkgconfig, audiofile, libcap
|
||||||
, openglSupport ? false, mesa ? null
|
, openglSupport ? false, mesa ? null
|
||||||
, alsaSupport ? true, alsaLib ? null
|
, alsaSupport ? true, alsaLib ? null
|
||||||
, x11Support ? true, x11 ? null, libXrandr ? null
|
, x11Support ? true, xlibsWrapper ? null, libXrandr ? null
|
||||||
, pulseaudioSupport ? true, libpulseaudio ? null
|
, pulseaudioSupport ? true, libpulseaudio ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
assert (stdenv.isLinux && !(stdenv ? cross)) -> alsaSupport || pulseaudioSupport;
|
assert (stdenv.isLinux && !(stdenv ? cross)) -> alsaSupport || pulseaudioSupport;
|
||||||
|
|
||||||
assert openglSupport -> (mesa != null && x11Support);
|
assert openglSupport -> (mesa != null && x11Support);
|
||||||
assert x11Support -> (x11 != null && libXrandr != null);
|
assert x11Support -> (xlibsWrapper != null && libXrandr != null);
|
||||||
assert alsaSupport -> alsaLib != null;
|
assert alsaSupport -> alsaLib != null;
|
||||||
assert pulseaudioSupport -> libpulseaudio != null;
|
assert pulseaudioSupport -> libpulseaudio != null;
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
optionals x11Support [ x11 libXrandr ] ++
|
optionals x11Support [ xlibsWrapper libXrandr ] ++
|
||||||
optional alsaSupport alsaLib ++
|
optional alsaSupport alsaLib ++
|
||||||
optional stdenv.isLinux libcap ++
|
optional stdenv.isLinux libcap ++
|
||||||
optional openglSupport mesa ++
|
optional openglSupport mesa ++
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, audiofile
|
{ stdenv, fetchurl, pkgconfig, audiofile
|
||||||
, openglSupport ? false, mesa ? null
|
, openglSupport ? false, mesa ? null
|
||||||
, alsaSupport ? true, alsaLib ? null
|
, alsaSupport ? true, alsaLib ? null
|
||||||
, x11Support ? true, x11 ? null, libXrandr ? null
|
, x11Support ? true, xlibsWrapper ? null, libXrandr ? null
|
||||||
, pulseaudioSupport ? true, libpulseaudio ? null
|
, pulseaudioSupport ? true, libpulseaudio ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
assert !stdenv.isDarwin -> alsaSupport || pulseaudioSupport;
|
assert !stdenv.isDarwin -> alsaSupport || pulseaudioSupport;
|
||||||
|
|
||||||
assert openglSupport -> (stdenv.isDarwin || mesa != null && x11Support);
|
assert openglSupport -> (stdenv.isDarwin || mesa != null && x11Support);
|
||||||
assert x11Support -> (x11 != null && libXrandr != null);
|
assert x11Support -> (xlibsWrapper != null && libXrandr != null);
|
||||||
assert alsaSupport -> alsaLib != null;
|
assert alsaSupport -> alsaLib != null;
|
||||||
assert pulseaudioSupport -> libpulseaudio != null;
|
assert pulseaudioSupport -> libpulseaudio != null;
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
||||||
propagatedBuildInputs = stdenv.lib.optionals x11Support [ x11 libXrandr ] ++
|
propagatedBuildInputs = stdenv.lib.optionals x11Support [ xlibsWrapper libXrandr ] ++
|
||||||
stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||||
|
|
||||||
buildInputs = [ pkgconfig audiofile ] ++
|
buildInputs = [ pkgconfig audiofile ] ++
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, x11, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex}:
|
{stdenv, fetchurl, xlibsWrapper, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "Xaw3d-1.5E";
|
name = "Xaw3d-1.5E";
|
||||||
@ -8,8 +8,8 @@ stdenv.mkDerivation {
|
|||||||
md5 = "29ecfdcd6bcf47f62ecfd672d31269a1";
|
md5 = "29ecfdcd6bcf47f62ecfd672d31269a1";
|
||||||
};
|
};
|
||||||
patches = [./config.patch ./laylex.patch];
|
patches = [./config.patch ./laylex.patch];
|
||||||
buildInputs = [x11 imake gccmakedep libXmu libXpm libXp bison flex];
|
buildInputs = [imake gccmakedep libXpm libXp bison flex];
|
||||||
propagatedBuildInputs = [x11 libXmu];
|
propagatedBuildInputs = [xlibsWrapper libXmu];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "3D widget set based on the Athena Widget set";
|
description = "3D widget set based on the Athena Widget set";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }:
|
{ fetchurl, stdenv, pkgconfig, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cairomm-1.11.2";
|
name = "cairomm-1.11.2";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ pkgconfig ];
|
buildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
|
propagatedBuildInputs = [ cairo xlibsWrapper fontconfig freetype libsigcxx ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A 2D graphics library with support for multiple output devices";
|
description = "A 2D graphics library with support for multiple output devices";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, x11 }:
|
{ stdenv, fetchurl, cmake, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "18.10";
|
version = "18.10";
|
||||||
@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
buildInputs = [ cmake x11 ];
|
buildInputs = [ cmake xlibsWrapper ];
|
||||||
propagatedBuildInputs = [ x11 ];
|
propagatedBuildInputs = [ xlibsWrapper ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A general purpose cross-platform C++ machine learning library";
|
description = "A general purpose cross-platform C++ machine learning library";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
|
{ composableDerivation, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
|
||||||
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng }:
|
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng }:
|
||||||
|
|
||||||
let inherit (composableDerivation) edf; in
|
let inherit (composableDerivation) edf; in
|
||||||
@ -11,7 +11,7 @@ composableDerivation.composableDerivation {} rec {
|
|||||||
sha256 = "0353ngb7gpyklc9mdz8629big2na3c73akfwhis8fhqp7jkbs9ih";
|
sha256 = "0353ngb7gpyklc9mdz8629big2na3c73akfwhis8fhqp7jkbs9ih";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
|
propagatedBuildInputs = [ xlibsWrapper inputproto libXi freeglut ];
|
||||||
|
|
||||||
buildInputs = [ pkgconfig ];
|
buildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
|
{ composableDerivation, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
|
||||||
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
||||||
, cfg ? {}
|
, cfg ? {}
|
||||||
, automake, autoconf, libtool
|
, automake, autoconf, libtool
|
||||||
@ -21,7 +21,7 @@ composableDerivation.composableDerivation {} {
|
|||||||
--replace 'class Fl_XFont_On_Demand' 'class FL_EXPORT Fl_XFont_On_Demand'
|
--replace 'class Fl_XFont_On_Demand' 'class FL_EXPORT Fl_XFont_On_Demand'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
|
propagatedBuildInputs = [ xlibsWrapper inputproto libXi freeglut ];
|
||||||
|
|
||||||
enableParallelBilding = true;
|
enableParallelBilding = true;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft }:
|
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.7.9";
|
version = "1.7.9";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1jb9368xsin3ppdf6979n5s7in3s9klbxqbwcp0z8misjixl7nzg";
|
sha256 = "1jb9368xsin3ppdf6979n5s7in3s9klbxqbwcp0z8misjixl7nzg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libpng x11 libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
|
buildInputs = [ libpng xlibsWrapper libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
|
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
|
||||||
, libXrandr, mesa, libXft, libXfixes, xinput }:
|
, libXrandr, mesa, libXft, libXfixes, xinput }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "03m9wm8hpzh1i0fxx5mpvjr67384pfm9hn7gzdcq55b4639fqy9n";
|
sha256 = "03m9wm8hpzh1i0fxx5mpvjr67384pfm9hn7gzdcq55b4639fqy9n";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ x11 libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
|
buildInputs = [ xlibsWrapper libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
|
||||||
libXft mesa libXfixes xinput ];
|
libXft mesa libXfixes xinput ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, x11, cmake }:
|
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, xlibsWrapper, cmake }:
|
||||||
|
|
||||||
let version = "3.0.0";
|
let version = "3.0.0";
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
@ -9,7 +9,7 @@ in stdenv.mkDerivation {
|
|||||||
sha256 = "18knkyczzwbmyg8hr4zh8a1i5ga01np2jzd1rwmsh7mh2n2vwhra";
|
sha256 = "18knkyczzwbmyg8hr4zh8a1i5ga01np2jzd1rwmsh7mh2n2vwhra";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libXi libXrandr libXxf86vm mesa x11 cmake ];
|
buildInputs = [ libXi libXrandr libXxf86vm mesa xlibsWrapper cmake ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Create and manage windows containing OpenGL contexts";
|
description = "Create and manage windows containing OpenGL contexts";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, imlib2 }:
|
{ stdenv, fetchurl, xlibsWrapper, imlib2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "giblib-1.2.4";
|
name = "giblib-1.2.4";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
|
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11 imlib2];
|
buildInputs = [xlibsWrapper imlib2];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://linuxbrit.co.uk/giblib/;
|
homepage = http://linuxbrit.co.uk/giblib/;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, mesa_glu, x11, libXmu, libXi }:
|
{ stdenv, fetchurl, mesa_glu, xlibsWrapper, libXmu, libXi }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1mhkllxz49l1x680dmzrv2i82qjrq017sykah3xc90f2d8qcxfv9";
|
sha256 = "1mhkllxz49l1x680dmzrv2i82qjrq017sykah3xc90f2d8qcxfv9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ x11 libXmu libXi ];
|
nativeBuildInputs = [ xlibsWrapper libXmu libXi ];
|
||||||
propagatedNativeBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
propagatedNativeBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, x11
|
{ stdenv, fetchurl, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, xlibsWrapper
|
||||||
, libXinerama, libXcursor
|
, libXinerama, libXcursor
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake mesa libXrandr libXi libXxf86vm libXfixes x11
|
cmake mesa libXrandr libXi libXxf86vm libXfixes xlibsWrapper
|
||||||
libXinerama libXcursor
|
libXinerama libXcursor
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xlibs
|
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xlibs
|
||||||
, gdk_pixbuf, libintlOrEmpty, x11
|
, gdk_pixbuf, libintlOrEmpty, xlibsWrapper
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? true, cups ? null
|
, cupsSupport ? true, cups ? null
|
||||||
}:
|
}:
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optionals (stdenv.isLinux || stdenv.isDarwin) [
|
++ optionals (stdenv.isLinux || stdenv.isDarwin) [
|
||||||
libXrandr libXrender libXcomposite libXi libXcursor
|
libXrandr libXrender libXcomposite libXi libXcursor
|
||||||
]
|
]
|
||||||
++ optionals stdenv.isDarwin [ x11 libXdamage ]
|
++ optionals stdenv.isDarwin [ xlibsWrapper libXdamage ]
|
||||||
++ libintlOrEmpty
|
++ libintlOrEmpty
|
||||||
++ optional xineramaSupport libXinerama
|
++ optional xineramaSupport libXinerama
|
||||||
++ optionals cupsSupport [ cups ];
|
++ optionals cupsSupport [ cups ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext, perl
|
{ stdenv, fetchurl, pkgconfig, gettext, perl
|
||||||
, expat, glib, cairo, pango, gdk_pixbuf, atk, at_spi2_atk, gobjectIntrospection
|
, expat, glib, cairo, pango, gdk_pixbuf, atk, at_spi2_atk, gobjectIntrospection
|
||||||
, xlibs, x11, wayland, libxkbcommon, epoxy
|
, xlibs, xlibsWrapper, wayland, libxkbcommon, epoxy
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux, cups ? null
|
, cupsSupport ? stdenv.isLinux, cups ? null
|
||||||
}:
|
}:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, libjpeg, libtiff, giflib, libpng, bzip2, pkgconfig }:
|
{ stdenv, fetchurl, xlibsWrapper, libjpeg, libtiff, giflib, libpng, bzip2, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "imlib2-1.4.6";
|
name = "imlib2-1.4.6";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0x1j0ylpclkp8cfpwfpkjywqz124bqskyxbw8pvwzkv2gmrbwldg";
|
sha256 = "0x1j0ylpclkp8cfpwfpkjywqz124bqskyxbw8pvwzkv2gmrbwldg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ x11 libjpeg libtiff giflib libpng bzip2 ];
|
buildInputs = [ xlibsWrapper libjpeg libtiff giflib libpng bzip2 ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, x11, python3, libxslt }:
|
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, xlibsWrapper, python3, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lirc-0.9.3";
|
name = "lirc-0.9.3";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preBuild = "patchShebangs .";
|
preBuild = "patchShebangs .";
|
||||||
|
|
||||||
buildInputs = [ alsaLib help2man pkgconfig x11 python3 libxslt ];
|
buildInputs = [ alsaLib help2man pkgconfig xlibsWrapper python3 libxslt ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-driver=devinput"
|
"--with-driver=devinput"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, x11, glib, cairo, libpng, harfbuzz
|
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, glib, cairo, libpng, harfbuzz
|
||||||
, fontconfig, freetype, libintlOrEmpty, gobjectIntrospection
|
, fontconfig, freetype, libintlOrEmpty, gobjectIntrospection
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optionals stdenv.isDarwin [ fontconfig ];
|
++ optionals stdenv.isDarwin [ fontconfig ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ x11 glib cairo libpng fontconfig freetype harfbuzz ] ++ libintlOrEmpty;
|
propagatedBuildInputs = [ xlibsWrapper glib cairo libpng fontconfig freetype harfbuzz ] ++ libintlOrEmpty;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
# For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11.
|
# For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11.
|
||||||
, mesa ? null
|
, mesa ? null
|
||||||
, x11 ? null
|
, xlibsWrapper ? null
|
||||||
, libXmu ? null
|
, libXmu ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ assert enableXM -> motif != null;
|
|||||||
|
|
||||||
# OpenGL/X11 User Interface and Visualisation drivers.
|
# OpenGL/X11 User Interface and Visualisation drivers.
|
||||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> mesa != null;
|
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> mesa != null;
|
||||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> x11 != null;
|
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> xlibsWrapper != null;
|
||||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> libXmu != null;
|
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> libXmu != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -81,8 +81,8 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
buildInputs = [ cmake clhep expat zlib xercesc qt motif mesa x11 libXmu ];
|
buildInputs = [ cmake clhep expat zlib xercesc qt motif mesa xlibsWrapper libXmu ];
|
||||||
propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif mesa x11 libXmu ];
|
propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif mesa xlibsWrapper libXmu ];
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
, threadSupport ? true
|
, threadSupport ? true
|
||||||
, mysqlSupport ? false, mysql ? null
|
, mysqlSupport ? false, mysql ? null
|
||||||
, openglSupport ? false, mesa ? null, libXmu ? null
|
, openglSupport ? false, mesa ? null, libXmu ? null
|
||||||
, x11, xextproto, zlib, libjpeg, libpng, which
|
, xlibsWrapper, xextproto, zlib, libjpeg, libpng, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert xftSupport -> libXft != null;
|
assert xftSupport -> libXft != null;
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ which ];
|
nativeBuildInputs = [ which ];
|
||||||
propagatedBuildInputs = [libpng x11 libXft libXrender zlib libjpeg];
|
propagatedBuildInputs = [libpng xlibsWrapper libXft libXrender zlib libjpeg];
|
||||||
|
|
||||||
configureFlags = "
|
configureFlags = "
|
||||||
-v
|
-v
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# alsaLib vorbisTools python can be made optional
|
# alsaLib vorbisTools python can be made optional
|
||||||
|
|
||||||
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, x11 }:
|
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "snack-2.2.10";
|
name = "snack-2.2.10";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
||||||
|
|
||||||
buildInputs = [ python tcl tk vorbisTools pkgconfig x11 ];
|
buildInputs = [ python tcl tk vorbisTools pkgconfig xlibsWrapper ];
|
||||||
|
|
||||||
postInstall = "aoeu";
|
postInstall = "aoeu";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, pure, freeglut, mesa, x11 }:
|
{ stdenv, fetchurl, pkgconfig, pure, freeglut, mesa, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "gl";
|
baseName = "gl";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig ];
|
buildInputs = [ pkgconfig ];
|
||||||
propagatedBuildInputs = [ pure freeglut mesa x11 ];
|
propagatedBuildInputs = [ pure freeglut mesa xlibsWrapper ];
|
||||||
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
||||||
setupHook = ../generic-setup-hook.sh;
|
setupHook = ../generic-setup-hook.sh;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, x11 }:
|
{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "tk";
|
baseName = "tk";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig ];
|
buildInputs = [ pkgconfig ];
|
||||||
propagatedBuildInputs = [ pure tcl tk x11 ];
|
propagatedBuildInputs = [ pure tcl tk xlibsWrapper ];
|
||||||
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
||||||
setupHook = ../generic-setup-hook.sh;
|
setupHook = ../generic-setup-hook.sh;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, python, pkgconfig, cairo, x11, isPyPy }:
|
{ stdenv, fetchurl, fetchpatch, python, pkgconfig, cairo, xlibsWrapper, isPyPy }:
|
||||||
|
|
||||||
if isPyPy then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
|
if isPyPy then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
|
||||||
version = "1.10.0";
|
version = "1.10.0";
|
||||||
@ -23,7 +23,7 @@ if isPyPy then throw "pycairo not supported for interpreter ${python.executable}
|
|||||||
sha256 = "0xfl1i9dips2nykyg91f5h5r3xpk2hp1js1gq5z0hwjr0in55id4";
|
sha256 = "0xfl1i9dips2nykyg91f5h5r3xpk2hp1js1gq5z0hwjr0in55id4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python pkgconfig cairo x11 ];
|
buildInputs = [ python pkgconfig cairo xlibsWrapper ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
(
|
(
|
||||||
|
@ -289,7 +289,7 @@ let
|
|||||||
rgdal = [ pkgs.proj pkgs.gdal ];
|
rgdal = [ pkgs.proj pkgs.gdal ];
|
||||||
rgeos = [ pkgs.geos ];
|
rgeos = [ pkgs.geos ];
|
||||||
rggobi = [ pkgs.ggobi pkgs.gtk2 pkgs.libxml2 ];
|
rggobi = [ pkgs.ggobi pkgs.gtk2 pkgs.libxml2 ];
|
||||||
rgl = [ pkgs.mesa pkgs.x11 ];
|
rgl = [ pkgs.mesa pkgs.xlibsWrapper ];
|
||||||
Rglpk = [ pkgs.glpk ];
|
Rglpk = [ pkgs.glpk ];
|
||||||
RGtk2 = [ pkgs.gtk2 ];
|
RGtk2 = [ pkgs.gtk2 ];
|
||||||
Rhpc = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.openmpi pkgs.pcre ];
|
Rhpc = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.openmpi pkgs.pcre ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, cmake, x11, mesa, SDL, openal, freealut, libogg, libvorbis }:
|
{ fetchurl, stdenv, cmake, xlibsWrapper, mesa, SDL, openal, freealut, libogg, libvorbis }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.3.2";
|
version = "1.3.2";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv";
|
sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake x11 mesa SDL openal freealut libogg libvorbis ];
|
buildInputs = [ cmake xlibsWrapper mesa SDL openal freealut libogg libvorbis ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cmake ./
|
cmake ./
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit, cmake, irrlicht, libpng, bzip2, curl, libogg, jsoncpp
|
{ stdenv, fetchgit, cmake, irrlicht, libpng, bzip2, curl, libogg, jsoncpp
|
||||||
, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, sqlite, luajit, freetype
|
, libjpeg, libXxf86vm, mesa, openal, libvorbis, xlibsWrapper, sqlite, luajit, freetype
|
||||||
, gettext
|
, gettext
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake irrlicht libpng bzip2 libjpeg curl libogg jsoncpp libXxf86vm mesa
|
cmake irrlicht libpng bzip2 libjpeg curl libogg jsoncpp libXxf86vm mesa
|
||||||
openal libvorbis x11 sqlite luajit freetype gettext
|
openal libvorbis xlibsWrapper sqlite luajit freetype gettext
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, x11, SDL, mesa, openal, gcc46 }:
|
{ lib, stdenv, fetchurl, xlibsWrapper, SDL, mesa, openal, gcc46 }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ioquake3-1.36";
|
name = "ioquake3-1.36";
|
||||||
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
|||||||
./botlib.patch
|
./botlib.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ x11 SDL mesa openal gcc46 ];
|
buildInputs = [ xlibsWrapper SDL mesa openal gcc46 ];
|
||||||
|
|
||||||
# Fix building on GCC 4.6.
|
# Fix building on GCC 4.6.
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
||||||
, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, pkgconfig }:
|
, libjpeg, libXxf86vm, mesa, openal, libvorbis, xlibsWrapper, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "voxelands-${version}";
|
name = "voxelands-${version}";
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake irrlicht libpng bzip2 libjpeg sqlite
|
cmake irrlicht libpng bzip2 libjpeg sqlite
|
||||||
libXxf86vm mesa openal libvorbis x11 pkgconfig
|
libXxf86vm mesa openal libvorbis xlibsWrapper pkgconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, expat, x11, freetype }:
|
{ stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }:
|
||||||
|
|
||||||
# !!! assert freetype == xlibs.freetype
|
# !!! assert freetype == xlibs.freetype
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
|
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl expat x11 freetype ];
|
buildInputs = [ perl expat xlibsWrapper freetype ];
|
||||||
|
|
||||||
# Zoom doesn't add the right directory in the include path.
|
# Zoom doesn't add the right directory in the include path.
|
||||||
CFLAGS = [ "-I" (freetype + "/include/freetype2") ];
|
CFLAGS = [ "-I" (freetype + "/include/freetype2") ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, nasm, SDL, zlib, libpng, ncurses, mesa, intltool, gtk, pkgconfig, libxml2, x11, libpulseaudio}:
|
{stdenv, fetchurl, nasm, SDL, zlib, libpng, ncurses, mesa, intltool, gtk, pkgconfig, libxml2, xlibsWrapper, libpulseaudio}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "snes9x-gtk-${version}";
|
name = "snes9x-gtk-${version}";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3";
|
sha256 = "9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk pkgconfig libxml2 x11 libpulseaudio];
|
buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk pkgconfig libxml2 xlibsWrapper libpulseaudio];
|
||||||
|
|
||||||
sourceRoot = "snes9x-${version}-src/gtk";
|
sourceRoot = "snes9x-${version}-src/gtk";
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, zlib, expat, openssl
|
{ stdenv, fetchurl, pkgconfig, zlib, expat, openssl
|
||||||
, libjpeg, libpng, libtiff, freetype, fontconfig, lcms2, libpaper, jbig2dec
|
, libjpeg, libpng, libtiff, freetype, fontconfig, lcms2, libpaper, jbig2dec
|
||||||
, libiconv
|
, libiconv
|
||||||
, x11Support ? false, x11 ? null
|
, x11Support ? false, xlibsWrapper ? null
|
||||||
, cupsSupport ? false, cups ? null
|
, cupsSupport ? false, cups ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert x11Support -> x11 != null;
|
assert x11Support -> xlibsWrapper != null;
|
||||||
assert cupsSupport -> cups != null;
|
assert cupsSupport -> cups != null;
|
||||||
let
|
let
|
||||||
version = "9.15";
|
version = "9.15";
|
||||||
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
libjpeg libpng libtiff freetype fontconfig lcms2 libpaper jbig2dec
|
libjpeg libpng libtiff freetype fontconfig lcms2 libpaper jbig2dec
|
||||||
libiconv
|
libiconv
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional x11Support x11
|
++ stdenv.lib.optional x11Support xlibsWrapper
|
||||||
++ stdenv.lib.optional cupsSupport cups
|
++ stdenv.lib.optional cupsSupport cups
|
||||||
# [] # maybe sometimes jpeg2000 support
|
# [] # maybe sometimes jpeg2000 support
|
||||||
;
|
;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, x11, libXext, mesa, imagemagick, libtiff, bzip2}:
|
{stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, mesa, imagemagick, libtiff, bzip2}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.9.1";
|
version = "0.9.1";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
|
sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig mesa x11 imagemagick libtiff bzip2 ];
|
buildInputs = [ pkgconfig mesa xlibsWrapper imagemagick libtiff bzip2 ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick";
|
NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick";
|
||||||
NIX_LDFLAGS= "-rpath ${libXext}/lib";
|
NIX_LDFLAGS= "-rpath ${libXext}/lib";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, x11, imake, libXScrnSaver, scrnsaverproto}:
|
{stdenv, fetchurl, xlibsWrapper, imake, libXScrnSaver, scrnsaverproto}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec
|
stdenv.mkDerivation rec
|
||||||
{
|
{
|
||||||
@ -11,5 +11,5 @@ stdenv.mkDerivation rec
|
|||||||
makeFlags="BINDIR=\${out}/bin MANPATH=\${out}/man";
|
makeFlags="BINDIR=\${out}/bin MANPATH=\${out}/man";
|
||||||
preBuild = "xmkmf";
|
preBuild = "xmkmf";
|
||||||
installTargets = "install install.man";
|
installTargets = "install install.man";
|
||||||
buildInputs = [x11 imake libXScrnSaver scrnsaverproto];
|
buildInputs = [xlibsWrapper imake libXScrnSaver scrnsaverproto];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, python, pkgconfig, x11, pam }:
|
{ stdenv, fetchgit, python, pkgconfig, xlibsWrapper, pam }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xtrlock-pam-3.4-post-20150909";
|
name = "xtrlock-pam-3.4-post-20150909";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "fa8aeedfa2a4e1d813f8cad562bafdd4e2c5130df0a7cde7b2f956a32044e9f8";
|
sha256 = "fa8aeedfa2a4e1d813f8cad562bafdd4e2c5130df0a7cde7b2f956a32044e9f8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python pkgconfig x11 pam ];
|
buildInputs = [ python pkgconfig xlibsWrapper pam ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# optional features with extra dependencies
|
# optional features with extra dependencies
|
||||||
, ncursesSupport ? true , ncurses ? null
|
, ncursesSupport ? true , ncurses ? null
|
||||||
, x11Support ? true , x11 ? null
|
, x11Support ? true , xlibsWrapper ? null
|
||||||
, xdamageSupport ? x11Support, libXdamage ? null
|
, xdamageSupport ? x11Support, libXdamage ? null
|
||||||
, imlib2Support ? x11Support, imlib2 ? null
|
, imlib2Support ? x11Support, imlib2 ? null
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
assert ncursesSupport -> ncurses != null;
|
assert ncursesSupport -> ncurses != null;
|
||||||
|
|
||||||
assert x11Support -> x11 != null;
|
assert x11Support -> xlibsWrapper != null;
|
||||||
assert xdamageSupport -> x11Support && libXdamage != null;
|
assert xdamageSupport -> x11Support && libXdamage != null;
|
||||||
assert imlib2Support -> x11Support && imlib2 != null;
|
assert imlib2Support -> x11Support && imlib2 != null;
|
||||||
assert luaSupport -> lua != null;
|
assert luaSupport -> lua != null;
|
||||||
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ pkgconfig glib cmake ]
|
buildInputs = [ pkgconfig glib cmake ]
|
||||||
++ optional ncursesSupport ncurses
|
++ optional ncursesSupport ncurses
|
||||||
++ optional x11Support x11
|
++ optional x11Support xlibsWrapper
|
||||||
++ optional xdamageSupport libXdamage
|
++ optional xdamageSupport libXdamage
|
||||||
++ optional imlib2Support imlib2
|
++ optional imlib2Support imlib2
|
||||||
++ optional luaSupport lua
|
++ optional luaSupport lua
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit
|
{ stdenv, fetchgit
|
||||||
, x11, mesa
|
, xlibsWrapper, mesa
|
||||||
, nvidia
|
, nvidia
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@ -15,6 +15,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
inherit nvidia mesa;
|
inherit nvidia mesa;
|
||||||
|
|
||||||
buildInputs = [ x11 mesa ];
|
buildInputs = [ xlibsWrapper mesa ];
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libXi, inputproto, autoconf, automake, libtool, m4, x11, pkgconfig }:
|
{ stdenv, fetchurl, libXi, inputproto, autoconf, automake, libtool, m4, xlibsWrapper, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.7.5";
|
version = "0.7.5";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = "./autogen.sh --with-gui=X11";
|
preConfigure = "./autogen.sh --with-gui=X11";
|
||||||
|
|
||||||
buildInputs = [ inputproto libXi autoconf automake libtool m4 x11 pkgconfig ];
|
buildInputs = [ inputproto libXi autoconf automake libtool m4 xlibsWrapper pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/tias/xinput_calibrator;
|
homepage = https://github.com/tias/xinput_calibrator;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, zlib, libjpeg, imake, gccmakedep, libXmu
|
{ stdenv, fetchurl, xlibsWrapper, zlib, libjpeg, imake, gccmakedep, libXmu
|
||||||
, libXaw, libXpm, libXp , perl, xauth, fontDirectories, openssh }:
|
, libXaw, libXpm, libXp , perl, xauth, fontDirectories, openssh }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
inherit xauth fontDirectories perl;
|
inherit xauth fontDirectories perl;
|
||||||
gcc = stdenv.cc.cc;
|
gcc = stdenv.cc.cc;
|
||||||
|
|
||||||
buildInputs = [ x11 zlib libjpeg imake gccmakedep libXmu libXaw
|
buildInputs = [ xlibsWrapper zlib libjpeg imake gccmakedep libXmu libXaw
|
||||||
libXpm libXp xauth openssh ];
|
libXpm libXp xauth openssh ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
|
{stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
|
||||||
, gnome3, avahi, gtk3, libnotify, libpulseaudio, x11}:
|
, gnome3, avahi, gtk3, libnotify, libpulseaudio, xlibsWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pasystray-0.5.2";
|
name = "pasystray-0.5.2";
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ autoconf automake makeWrapper pkgconfig
|
buildInputs = [ autoconf automake makeWrapper pkgconfig
|
||||||
gnome3.defaultIconTheme
|
gnome3.defaultIconTheme
|
||||||
avahi gtk3 libnotify libpulseaudio x11 ];
|
avahi gtk3 libnotify libpulseaudio xlibsWrapper ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
aclocal
|
aclocal
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, x11, mesa}:
|
{stdenv, fetchurl, xlibsWrapper, mesa}:
|
||||||
|
|
||||||
let version = "8.1.0"; in
|
let version = "8.1.0"; in
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0a58hw5850731p4smz4zqsbvyxvgjf7n5xdbs9l1wamk8q3gl0wp";
|
sha256 = "0a58hw5850731p4smz4zqsbvyxvgjf7n5xdbs9l1wamk8q3gl0wp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11 mesa];
|
buildInputs = [xlibsWrapper mesa];
|
||||||
|
|
||||||
configurePhase = "true";
|
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
|
, yacc, libtool, fontconfig, pango, gd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "39b8e1f2ba4cc1f5bdc8e39c7be35e5f831253008e4ee2c176984f080416676c";
|
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 =
|
configureFlags =
|
||||||
[ "--with-pngincludedir=${libpng}/include"
|
[ "--with-pngincludedir=${libpng}/include"
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-expatincludedir=${expat}/include"
|
"--with-expatincludedir=${expat}/include"
|
||||||
"--with-expatlibdir=${expat}/lib"
|
"--with-expatlibdir=${expat}/lib"
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional (x11 == null) "--without-x";
|
++ stdenv.lib.optional (xlibsWrapper == null) "--without-x";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A program for visualising graphs";
|
description = "A program for visualising graphs";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, giblib, x11 }:
|
{ stdenv, fetchurl, giblib, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "scrot-0.8";
|
name = "scrot-0.8";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1";
|
sha256 = "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ giblib x11 ];
|
buildInputs = [ giblib xlibsWrapper ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://linuxbrit.co.uk/scrot/;
|
homepage = http://linuxbrit.co.uk/scrot/;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, x11}:
|
{stdenv, fetchurl, xlibsWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "unclutter-8";
|
name = "unclutter-8";
|
||||||
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "33a78949a7dedf2e8669ae7b5b2c72067896497820292c96afaa60bb71d1f2a6";
|
sha256 = "33a78949a7dedf2e8669ae7b5b2c72067896497820292c96afaa60bb71d1f2a6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11];
|
buildInputs = [xlibsWrapper];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -pv "$out/bin"
|
mkdir -pv "$out/bin"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchsvn, x11, libXmu, autoconf, automake, libtool }:
|
{ stdenv, fetchsvn, xlibsWrapper, libXmu, autoconf, automake, libtool }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
# The last release from 2012, 0.12, lacks '-targets'
|
# The last release from 2012, 0.12, lacks '-targets'
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = "autoreconf -vfi";
|
preConfigure = "autoreconf -vfi";
|
||||||
|
|
||||||
buildInputs = [ x11 libXmu autoconf automake libtool ];
|
buildInputs = [ xlibsWrapper libXmu autoconf automake libtool ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tool to access the X clipboard from a console application";
|
description = "Tool to access the X clipboard from a console application";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, x11}:
|
{stdenv, fetchurl, xlibsWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xsel-1.2.0";
|
name = "xsel-1.2.0";
|
||||||
@ -7,5 +7,5 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr";
|
sha256 = "070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11];
|
buildInputs = [xlibsWrapper];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, x11, imake}:
|
{stdenv, fetchurl, xlibsWrapper, imake}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "x11-ssh-askpass-1.2.4.1";
|
name = "x11-ssh-askpass-1.2.4.1";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildPhase = "xmkmf; make includes; make";
|
buildPhase = "xmkmf; make includes; make";
|
||||||
|
|
||||||
buildInputs = [x11 imake];
|
buildInputs = [xlibsWrapper imake];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.jmknoble.net/software/x11-ssh-askpass/";
|
homepage = "http://www.jmknoble.net/software/x11-ssh-askpass/";
|
||||||
|
@ -12163,7 +12163,7 @@ let self = _self // overrides; _self = with self; {
|
|||||||
url = "mirror://cpan/authors/id/S/SM/SMCCAM/${name}.tar.gz";
|
url = "mirror://cpan/authors/id/S/SM/SMCCAM/${name}.tar.gz";
|
||||||
sha256 = "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny";
|
sha256 = "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgs.x11];
|
buildInputs = [pkgs.xlibsWrapper];
|
||||||
NIX_CFLAGS_LINK = "-lX11";
|
NIX_CFLAGS_LINK = "-lX11";
|
||||||
doCheck = false; # requires an X server
|
doCheck = false; # requires an X server
|
||||||
};
|
};
|
||||||
@ -12174,7 +12174,7 @@ let self = _self // overrides; _self = with self; {
|
|||||||
url = "mirror://cpan/authors/id/C/CT/CTRONDLP/${name}.tar.gz";
|
url = "mirror://cpan/authors/id/C/CT/CTRONDLP/${name}.tar.gz";
|
||||||
sha256 = "0jznws68skdzkhgkgcgjlj40qdyh9i75r7fw8bqzy406f19xxvnw";
|
sha256 = "0jznws68skdzkhgkgcgjlj40qdyh9i75r7fw8bqzy406f19xxvnw";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgs.x11 pkgs.xorg.libXtst pkgs.xorg.libXi];
|
buildInputs = [pkgs.xlibsWrapper pkgs.xorg.libXtst pkgs.xorg.libXi];
|
||||||
NIX_CFLAGS_LINK = "-lX11 -lXext -lXtst";
|
NIX_CFLAGS_LINK = "-lX11 -lXext -lXtst";
|
||||||
doCheck = false; # requires an X server
|
doCheck = false; # requires an X server
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user