More docs/manpages in separate outputs

This commit is contained in:
Eelco Dolstra 2015-07-27 00:25:53 +02:00
parent f41201ef97
commit e1f78bf677
15 changed files with 44 additions and 1 deletions

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c";
};
outputs = [ "out" "doc" ];
buildInputs = [ libogg ];
#doCheck = true; # takes lots of time

View File

@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
sha256 = "17cvplgpxbm1hshxlkra2fldn4da1iap1lsnb04hdm8ply93k95i";
};
outputs = [ "out" "man" ];
patches =
[ # Do not look in /usr etc. for dependencies.
./no-sys-dirs.patch

View File

@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
sha256 = "0g5bl8sdpzx9gx2g5jq3py4bj07z2ylk7s1qn0fvsss2yl3hhs8c";
};
outputs = [ "out" "man" ];
patches =
[ # Do not look in /usr etc. for dependencies.
./no-sys-dirs.patch

View File

@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
sha256 = "005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn";
};
outputs = [ "out" "man" ];
nativeBuildInputs = [ pkgconfig ];
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation (rec {
sha256 = "0cbp498ckjwj7qr8b9pmkry8hkhldgkvg5yix8hi9c8z1hxxb651";
};
outputs = [ "out" "doc" ];
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
configureFlags = [ "--disable-csharp" "--with-xz" ]

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
inherit src patches;
outputs = [ "out" "man" ];
configureFlags =
# FIXME: perhaps use $SSL_CERT_FILE instead
optional stdenv.isLinux "--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt"

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "16z74q422jmprhyvy7c9x909li8cqzmvzyr8cgbm52xcsp6pqs1z";
};
outputs = [ "out" "doc" ];
meta = with stdenv.lib; {
homepage = http://xiph.org/ogg/;
license = licenses.bsd3;

View File

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
sha256 = "0wj8d1iwk9vnpax2h29xqc2hwknxg3s0ay2d5pxkg59ihbifn6pa";
};
outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection)

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1lg1n3a6r41492r7in0fpvzc7909mc5ir9z0gd3qh2pz4yalmyal";
};
outputs = [ "out" "doc" ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libogg ];

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "13029baw9kkyjgr7q3jccw2mz38amq7mmpr5p3bh775qawd1bisz";
};
outputs = [ "out" "doc" ];
buildInputs = [ libxml2 ];
propagatedBuildInputs = [ findXMLCatalogs ];

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0vkzfd1pmin6xsv8lb1nabfxma8n1q00khr6nfifqkxlm2s6p197";
};
outputs = [ "out" "man" ];
nativeBuildInputs = [ autoconf ];
buildInputs = [ openssl cyrus_sasl db groff ];

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
sha1 = "9d1977cc89242cd11471269ece2ed4650947c046";
};
outputs = [ "out" "man" ];
patches = optional stdenv.isCygwin ./1.0.1-cygwin64.patch
++ optional (stdenv.isDarwin || (stdenv ? cross && stdenv.cross.libc == "libSystem")) ./darwin-arch.patch;

View File

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "17bqykp604p7376wj3q2nmjdhrb6v1ny8q08zdwi7qvc02l9wrsi";
};
outputs = [ "out" "doc" "man" ];
configureFlags = ''
--enable-jit
${if unicodeSupport then "--enable-unicode-properties" else ""}

View File

@ -73,6 +73,7 @@ in
libxcb = attrs : attrs // {
nativeBuildInputs = [ args.python ];
configureFlags = "--enable-xkb";
outputs = [ "out" "doc" "man" ];
};
xcbproto = attrs : attrs // {
@ -97,6 +98,7 @@ in
rm -rf $out/share/doc
'';
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
outputs = [ "out" "man" ];
};
libXfont = attrs: attrs // {
@ -107,7 +109,6 @@ in
];
};
libXxf86vm = attrs: attrs // {
preConfigure = setMalloc0ReturnsNullCrossCompiling;
};
@ -126,6 +127,7 @@ in
'';
propagatedBuildInputs = [ xorg.libSM ];
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
outputs = [ "out" "doc" "man" ];
};
# See https://bugs.freedesktop.org/show_bug.cgi?id=47792
@ -420,4 +422,17 @@ in
xwd = attrs: attrs // {
buildInputs = with xorg; attrs.buildInputs ++ [libXt libxkbfile];
};
kbproto = attrs: attrs // {
outputs = [ "out" "doc" ];
};
xextproto = attrs: attrs // {
outputs = [ "out" "doc" ];
};
xproto = attrs: attrs // {
outputs = [ "out" "doc" ];
};
}

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
inherit sha256;
};
outputs = [ "out" "doc" ];
NIX_CFLAGS_COMPILE = ''
-DSYS_BASHRC="/etc/bashrc"
-DSYS_BASH_LOGOUT="/etc/bash_logout"