mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge branch 'x-updates'
Close #3147. The only major update is freetype-2.5, I think (it cost lots of work).
This commit is contained in:
commit
1b169722a3
@ -17,7 +17,10 @@ in
|
||||
# Note: the order in which desktop manager modules are imported here
|
||||
# determines the default: later modules (if enabled) are preferred.
|
||||
# E.g., if KDE is enabled, it supersedes xterm.
|
||||
imports = [ ./none.nix ./xterm.nix ./xfce.nix ./kde4.nix ./e17.nix ./e18.nix ./gnome3.nix ./xbmc.nix ];
|
||||
imports = [
|
||||
./none.nix ./xterm.nix ./xfce.nix ./kde4.nix
|
||||
./e17.nix ./e18.nix ./gnome3.nix ./xbmc.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jack2, libogg
|
||||
, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4
|
||||
, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4, freetype
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
||||
libsndfile pkgconfig pulseaudio qt4
|
||||
];
|
||||
|
||||
# work around broken build system of 0.4.*
|
||||
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Linux MultiMedia Studio";
|
||||
homepage = "http://lmms.sourceforge.net";
|
||||
|
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DUSE_PAM=1" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs =
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
configureFlags = "--enable-shared";
|
||||
|
||||
buildInputs =
|
||||
[ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2
|
||||
[ libpng bzip2 freetype ghostscript graphviz libjpeg libtiff libX11 libxml2
|
||||
zlib libtool
|
||||
];
|
||||
|
||||
|
@ -4,18 +4,17 @@
|
||||
, gsl, python, pyxml, lxml, poppler, imagemagick, libwpg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "inkscape-0.48.4";
|
||||
name = "inkscape-0.48.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
|
||||
sha256 = "17aiibgdwjqpjc38f0yr2sdlgwngg5ac9srlybjcx9aspf6ashc7";
|
||||
sha256 = "0sfr7a1vr1066rrkkqbqvcqs3gawalj68ralnhd6k87jz62fcv1b";
|
||||
};
|
||||
|
||||
patches = [ ./configure-python-libs.patch ];
|
||||
|
||||
postPatch = ''
|
||||
patch -p0 < ${./spuriouscomma.patch}
|
||||
'';
|
||||
postPatch = stdenv.lib.optionalString doCheck
|
||||
''sed -i 's:#include "../../src:#include "src:' src/cxxtests.cpp'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
# Python is used at run-time to execute scripts, e.g., those from
|
||||
@ -31,6 +30,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = "--with-python";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
checkFlags = "-j1";
|
||||
|
||||
postInstall = ''
|
||||
# Make sure PyXML modules can be found at run-time.
|
||||
for i in "$out/bin/"*
|
||||
@ -44,9 +47,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_LDFLAGS = "-lX11";
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
license = "GPL";
|
||||
homepage = http://www.inkscape.org;
|
||||
description = "Vector graphics editor";
|
||||
platforms = platforms.all;
|
||||
longDescription = ''
|
||||
Inkscape is a feature-rich vector graphics editor that edits
|
||||
files in the W3C SVG (Scalable Vector Graphics) file format.
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/widgets/desktop-widget.h~ 2011-07-08 13:25:09.000000000 -0500
|
||||
+++ src/widgets/desktop-widget.h 2013-02-15 16:04:45.806910365 -0600
|
||||
@@ -239,7 +239,7 @@
|
||||
private:
|
||||
GtkWidget *tool_toolbox;
|
||||
GtkWidget *aux_toolbox;
|
||||
- GtkWidget *commands_toolbox,;
|
||||
+ GtkWidget *commands_toolbox;
|
||||
GtkWidget *snap_toolbox;
|
||||
|
||||
static void init(SPDesktopWidget *widget);
|
@ -20,11 +20,11 @@ stdenv.mkDerivation {
|
||||
ccopt="-O"
|
||||
ccopt="$ccopt -I ${jbig2dec}/include"
|
||||
ccopt="$ccopt -I ${libjpeg}/include"
|
||||
ccopt="$ccopt -I ${freetype}/include"
|
||||
ccopt="$ccopt -I ${freetype}/include/freetype2"
|
||||
ccopt="$ccopt -I ${openjpeg}/include"
|
||||
ccopt="$ccopt -I ${zlib}/include"
|
||||
ccopt="$ccopt -I ${mupdf}/include"
|
||||
ccopt="$ccopt -include ${freetype}/include/ft2build.h"
|
||||
ccopt="$ccopt -include ft2build.h"
|
||||
ccopt="$ccopt -D_GNU_SOURCE"
|
||||
|
||||
cclib="$cclib -lmupdf"
|
||||
|
@ -1,20 +1,24 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libxslt, telepathy_glib, libxml2, dbus_glib
|
||||
{ stdenv, fetchurl, pkgconfig, libxslt, telepathy_glib, libxml2, dbus_glib, dbus_daemon
|
||||
, sqlite, libsoup, libnice, gnutls }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "telepathy-gabble-0.17.2";
|
||||
name = "telepathy-gabble-0.18.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/releases/telepathy-gabble/${name}.tar.gz";
|
||||
sha256 = "137sslbgh0326lmwihcr2ybljgq9mzsx5wnciilpx884si22wpk8";
|
||||
sha256 = "00ag32ccbj0hmy41rb0fg9gp40m7zbq45r4yijnyslk2mpkvg7c9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libxslt ];
|
||||
buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ];
|
||||
buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ]
|
||||
++ stdenv.lib.optional doCheck dbus_daemon;
|
||||
|
||||
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
meta = {
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://telepathy.freedesktop.org;
|
||||
description = "Jabber/XMPP connection manager for the Telepathy framework";
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
|
@ -1,20 +1,29 @@
|
||||
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt, makeWrapper }:
|
||||
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt, makeWrapper, upower }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-5.16.0";
|
||||
name = "${pname}-5.16.2";
|
||||
pname = "telepathy-mission-control";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
|
||||
sha256 = "1l61w6j04mbrjsbcfrlc0safh9nlsjnj0z6lszal64r9bhkcghzd";
|
||||
sha256 = "1sk8f9jfaxgbsniz0n5hmrcwvxla3x8axjcnjbppg7nidk9gijrx";
|
||||
};
|
||||
|
||||
buildInputs = [ telepathy_glib makeWrapper ];
|
||||
buildInputs = [ telepathy_glib makeWrapper upower ]; # ToDo: optional stuff missing
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libxslt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/libexec/mission-control-5" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An account manager and channel dispatcher for the Telepathy framework";
|
||||
homepage = http://telepathy.freedesktop.org/wiki/;
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -57,11 +57,11 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mpv-${version}";
|
||||
version = "0.3.8";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz";
|
||||
sha256 = "0k77rq17mslpvvgr4mvkj9bd5s1yhsigwvzym8blr1brxkj9pk3b";
|
||||
sha256 = "0wqjyzw3kk854zj263k7jyykzfaz1g27z50aqrd26hylg8k135cn";
|
||||
};
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
|
@ -2,16 +2,17 @@
|
||||
, cairo, libxcb, libXcursor, x11, udev, libdrm, mtdev
|
||||
, libjpeg, pam, autoconf, automake, libtool, dbus }:
|
||||
|
||||
let version = "1.4.0"; in
|
||||
let version = "1.5.0"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "weston-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
||||
sha256 = "0r7dz72ys9p3f697ajgmihkar2da36bnjna6yanb3kg9k2fk38kl";
|
||||
sha256 = "113nig2dmbgrjhi79k0zw77vicnx8vkaihawd0nsg6n79ah8nf06";
|
||||
};
|
||||
|
||||
#ToDo: libinput can be split away
|
||||
buildInputs = [
|
||||
pkgconfig wayland mesa libxkbcommon
|
||||
cairo libxcb libXcursor x11 udev libdrm mtdev libjpeg pam dbus.libs
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, set_freqset_setuid ? false }:
|
||||
{ stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, bzip2, set_freqset_setuid ? false }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "enlightenment-${version}";
|
||||
version = "0.18.8";
|
||||
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
||||
url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.gz";
|
||||
sha256 = "1fsigbrknkwy909p1gqwxag1bar3p413s4f6fq3qnbsd6gjbvj8l";
|
||||
};
|
||||
buildInputs = [ pkgconfig e18.efl e18.elementary xlibs.libxcb xlibs.xcbutilkeysyms xlibs.libXrandr libffi pam alsaLib luajit ];
|
||||
buildInputs = [ pkgconfig e18.efl e18.elementary xlibs.libxcb xlibs.xcbutilkeysyms xlibs.libXrandr libffi pam alsaLib luajit bzip2 ];
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eo-1 -I${e18.efl}/include/ecore-imf-1 -I${e18.efl}/include/ethumb-client-1 -I${e18.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE"
|
||||
'';
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchgit, cmake, boost, libunwind, mariadb, libmemcached, pcre
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, boost, libunwind, mariadb, libmemcached, pcre
|
||||
, libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php, re2c
|
||||
, expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog
|
||||
, bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng
|
||||
, libxslt, ocaml
|
||||
, libxslt, ocaml, freetype
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ cmake boost libunwind mariadb libmemcached pcre libevent gd curl
|
||||
[ cmake pkgconfig boost libunwind mariadb libmemcached pcre libevent gd curl
|
||||
libxml2 icu flex bison openssl zlib php expat libcap oniguruma
|
||||
libdwarf libmcrypt tbb gperftools bzip2 openldap readline
|
||||
libelf uwimap binutils cyrus_sasl pam glog libpng libxslt ocaml
|
||||
@ -31,6 +31,9 @@ stdenv.mkDerivation rec {
|
||||
MYSQL_INCLUDE_DIR="${mariadb}/include/mysql";
|
||||
MYSQL_DIR=mariadb;
|
||||
|
||||
# work around broken build system
|
||||
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace hphp/util/generate-buildinfo.sh \
|
||||
--replace /bin/bash ${stdenv.shell}
|
||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation {
|
||||
name = "clang-${version}";
|
||||
|
||||
unpackPhase = ''
|
||||
unpackFile ${fetch "cfe" "1dvbkld0a1aqj6wcn0ia1wa8lwha30yfgq16j1r7akdka44z70xb"}
|
||||
unpackFile ${fetch "cfe" "045wjnp5j8xd2zjhvldcllnwlnrwz3dafmlk412z804d5xvzb9jv"}
|
||||
mv cfe-${version}.src clang
|
||||
sourceRoot=$PWD/clang
|
||||
unpackFile ${clang-tools-extra_src}
|
||||
|
@ -15,13 +15,13 @@ let
|
||||
|
||||
self = {
|
||||
llvm = callPackage ./llvm.nix rec {
|
||||
version = "3.4.1";
|
||||
version = "3.4.2";
|
||||
fetch = fetch_v version;
|
||||
inherit compiler-rt_src;
|
||||
};
|
||||
|
||||
clang = callPackage ./clang.nix rec {
|
||||
version = "3.4.1";
|
||||
version = "3.4.2";
|
||||
fetch = fetch_v version;
|
||||
inherit clang-tools-extra_src;
|
||||
};
|
||||
|
@ -15,7 +15,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
src = fetch "llvm" "0fprxrilnlwk9qv7f0kplxc7kd8mp4x781asssv2nfi4r9pbna3x";
|
||||
src = fetch "llvm" "1mzgy7r0dma0npi1qrbr1s5n4nbj1ipxgbiw0q671l4s0r3qs0qp";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "llvm-${version}";
|
||||
|
||||
|
64
pkgs/development/interpreters/php/5.3-freetype-dirs.patch
Normal file
64
pkgs/development/interpreters/php/5.3-freetype-dirs.patch
Normal file
@ -0,0 +1,64 @@
|
||||
From a0955f351c7eb1022da7ae36970ffef3b00c8aff Mon Sep 17 00:00:00 2001
|
||||
From: Adam Harvey <aharvey@php.net>
|
||||
Date: Sat, 7 Dec 2013 19:39:40 -0800
|
||||
Subject: [PATCH] Switch to using freetype-config for freetype detection.
|
||||
|
||||
This fixes GD compilation against libfreetype 2.5.1 and later after they made
|
||||
the rather interesting decision to change their include directory layout in a
|
||||
point release.
|
||||
|
||||
The original suggestion in the bug was to use pkg-config, but my inclination is
|
||||
to use freetype-config instead: we should be able to get the same configuration
|
||||
information without actually needing pkg-config installed, since pkg-config is
|
||||
by no means guaranteed to exist on many Unices and distros, whereas
|
||||
freetype-config should always be present if a libfreetype build environment is
|
||||
installed. Let's try it out and see what happens.
|
||||
|
||||
Fixes bug #64405 (Use freetype-config for determining freetype2 dir(s)).
|
||||
|
||||
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
|
||||
index 0e35ece..732e14c 100644
|
||||
--- a/ext/gd/config.m4
|
||||
+++ b/ext/gd/config.m4
|
||||
@@ -193,30 +193,25 @@ AC_DEFUN([PHP_GD_FREETYPE2],[
|
||||
if test "$PHP_FREETYPE_DIR" != "no"; then
|
||||
|
||||
for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
- if test -f "$i/include/freetype2/freetype/freetype.h"; then
|
||||
+ if test -f "$i/bin/freetype-config"; then
|
||||
FREETYPE2_DIR=$i
|
||||
- FREETYPE2_INC_DIR=$i/include/freetype2
|
||||
+ FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if test -z "$FREETYPE2_DIR"; then
|
||||
- AC_MSG_ERROR([freetype.h not found.])
|
||||
+ AC_MSG_ERROR([freetype-config not found.])
|
||||
fi
|
||||
|
||||
- PHP_CHECK_LIBRARY(freetype, FT_New_Face,
|
||||
- [
|
||||
- PHP_ADD_LIBRARY_WITH_PATH(freetype, $FREETYPE2_DIR/$PHP_LIBDIR, GD_SHARED_LIBADD)
|
||||
- PHP_ADD_INCLUDE($FREETYPE2_DIR/include)
|
||||
- PHP_ADD_INCLUDE($FREETYPE2_INC_DIR)
|
||||
- AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
|
||||
- AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
|
||||
- AC_DEFINE(ENABLE_GD_TTF,1,[ ])
|
||||
- ],[
|
||||
- AC_MSG_ERROR([Problem with freetype.(a|so). Please check config.log for more information.])
|
||||
- ],[
|
||||
- -L$FREETYPE2_DIR/$PHP_LIBDIR
|
||||
- ])
|
||||
+ FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
+ FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
+
|
||||
+ PHP_EVAL_INCLINE($FREETYPE2_CFLAGS)
|
||||
+ PHP_EVAL_LIBLINE($FREETYPE2_LIBS, GD_SHARED_LIBADD)
|
||||
+ AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
|
||||
+ AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
|
||||
+ AC_DEFINE(ENABLE_GD_TTF,1,[ ])
|
||||
else
|
||||
AC_MSG_RESULT([If configure fails try --with-freetype-dir=<DIR>])
|
||||
fi
|
@ -104,7 +104,6 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
||||
gd = {
|
||||
configureFlags = [
|
||||
"--with-gd=${gd}"
|
||||
"--with-freetype-dir=${freetype}"
|
||||
"--with-png-dir=${libpng}"
|
||||
"--with-jpeg-dir=${libjpeg}"
|
||||
];
|
||||
@ -241,6 +240,6 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
||||
patches = [./fix.patch];
|
||||
patches = [ ./fix.patch ./5.3-freetype-dirs.patch ];
|
||||
|
||||
})
|
||||
|
@ -3,8 +3,8 @@
|
||||
, libX11, libICE, libSM, useX11 ? (stdenv.isLinux || stdenv.isDarwin) }:
|
||||
|
||||
let
|
||||
version = "1.8.4";
|
||||
sha256 = "1y0zcmd4jsf2gq5yymz9gcnwxijh0vxbmxz73q3l440is343vxiy";
|
||||
version = "1.8.6";
|
||||
sha256 = "0gyjxd0gfpjs3fq5bx6aljb5f3zxky5zsq0yfqr9ywbv03587vgd";
|
||||
|
||||
inherit (stdenv) lib;
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "farstream-0.2.3";
|
||||
name = "farstream-0.2.4";
|
||||
src = fetchurl {
|
||||
url = "http://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";
|
||||
sha256 = "15h4qv30ql3rnmlm4ac3h7rplvj7125z14fbfh1zrkajjaa3bxdz";
|
||||
sha256 = "0c5vlyiwb799wpby4g9vffiy0nf09gy2cr84ksfy3jwzsxf5n38j";
|
||||
};
|
||||
|
||||
buildInputs = [ libnice python pygobject gupnp_igd libnice ];
|
||||
|
@ -21,11 +21,11 @@ assert vdpauSupport -> libvdpau != null;
|
||||
assert faacSupport -> faac != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ffmpeg-0.10.12";
|
||||
name = "ffmpeg-0.10.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "00nvm3iysn8zincpvv1abqrxqj1ky0322dh2j9csjw983358538i";
|
||||
sha256 = "1frkz3971zc2a60ras5ia26b2h8wbh017x1x80q8cfw0ycrpbxqy";
|
||||
};
|
||||
|
||||
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
|
||||
|
@ -31,11 +31,11 @@ assert playSupport -> SDL != null;
|
||||
assert freetypeSupport -> freetype != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ffmpeg-1.2.6";
|
||||
name = "ffmpeg-1.2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "174rf3g2pqaxa8rzg03qmy4cn2gsy0p2mk26y9yk5ksq6kg59m19";
|
||||
sha256 = "13nj5q5ad0kcrid8r5x6x8lqfhk8kms14pmncf6vbdbk6x45k6v6";
|
||||
};
|
||||
|
||||
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
|
||||
|
@ -5,11 +5,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ffmpeg-2.2.2";
|
||||
name = "ffmpeg-2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "062jn47sm1ifwswcd3lx47nff62rgcwp84964q0v983issnrfax4";
|
||||
sha256 = "17l0bx95al6cjhz3pzfcbwg07sbfbwqbxg34zl5lhl89w9jbngbb";
|
||||
};
|
||||
|
||||
subtitleSupport = config.ffmpeg.subtitle or true;
|
||||
|
@ -8,18 +8,22 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0llraqw86jmw4vzv7inskp3xxm2gc64my08iwq5mzncgfdbfza4f";
|
||||
};
|
||||
|
||||
infinality_patch = with freetype.infinality; if useInfinality
|
||||
then let subvers = "1";
|
||||
infinality_patch =
|
||||
let subvers = "1";
|
||||
in fetchurl {
|
||||
url = http://www.infinality.net/fedora/linux/zips/fontconfig-infinality-1-20130104_1.tar.bz2;
|
||||
sha256 = "1fm5xx0mx2243jrq5rxk4v0ajw2nawpj23399h710bx6hd1rviq7";
|
||||
}
|
||||
else null;
|
||||
;
|
||||
|
||||
propagatedBuildInputs = [ freetype ];
|
||||
buildInputs = [ pkgconfig expat ];
|
||||
|
||||
configureFlags = "--sysconfdir=/etc --with-cache-dir=/var/cache/fontconfig --disable-docs --with-default-fonts=";
|
||||
configureFlags = [
|
||||
"--with-cache-dir=/var/cache/fontconfig"
|
||||
"--disable-docs"
|
||||
"--with-default-fonts="
|
||||
];
|
||||
|
||||
# We should find a better way to access the arch reliably.
|
||||
crossArch = stdenv.cross.arch or null;
|
||||
@ -32,10 +36,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Don't try to write to /etc/fonts or /var/cache/fontconfig at install time.
|
||||
installFlags = "sysconfdir=$(out)/etc RUN_FC_CACHE_TEST=false fc_cachedir=$(TMPDIR)/dummy";
|
||||
doCheck = true;
|
||||
|
||||
postInstall = stdenv.lib.optionalString freetype.infinality.useInfinality ''
|
||||
# Don't try to write to /var/cache/fontconfig at install time.
|
||||
installFlags = "fc_cachedir=$(TMPDIR)/dummy RUN_FC_CACHE_TEST=false";
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/etc/fonts" && tar xvf ${infinality_patch}
|
||||
'';
|
||||
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
md5 = "b5897e9c664967f5042e57070037ff18";
|
||||
};
|
||||
|
||||
buildInputs = [ x11 libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
|
||||
buildInputs = [ libpng x11 libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -1,57 +1,56 @@
|
||||
{ stdenv, fetchurl, gnumake
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, which, zlib, bzip2, libpng, gnumake
|
||||
# FreeType supports sub-pixel rendering. This is patented by
|
||||
# Microsoft, so it is disabled by default. This option allows it to
|
||||
# be enabled. See http://www.freetype.org/patents.html.
|
||||
, useEncumberedCode ? false
|
||||
, useInfinality ? true
|
||||
, glib/*passthru only*/
|
||||
, useEncumberedCode ? true
|
||||
}:
|
||||
|
||||
assert !(useEncumberedCode && useInfinality); # probably wouldn't make sense
|
||||
|
||||
let
|
||||
version = "2.5.3";
|
||||
|
||||
version = "2.4.12";
|
||||
|
||||
fetch_bohoomil = name: sha256: fetchpatch {
|
||||
url = https://raw.githubusercontent.com/bohoomil/fontconfig-ultimate/8a155db28f264520596cc3e76eb44824bdb30f8e/01_freetype2-iu/ + name;
|
||||
inherit sha256;
|
||||
};
|
||||
in
|
||||
|
||||
with { inherit (stdenv.lib) optional optionalString; };
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freetype-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/freetype/${name}.tar.bz2";
|
||||
sha256 = "10akr2c37iv9y7fkgwp2szgwjyl2g6qmk9z1m596iaw9cr41g2m7";
|
||||
sha256 = "0pppcn73b5pwd7zdi9yfx16f5i93y18q7q4jmlkwmwrfsllqp160";
|
||||
};
|
||||
|
||||
infinality_patch =
|
||||
if useInfinality then fetchurl {
|
||||
url = http://www.infinality.net/fedora/linux/zips/freetype-infinality-2.4.12-20130514_01-x86_64.tar.bz2;
|
||||
sha256 = "1lg2nzvxmwzwdfhxranw8iyflhr72cw9p11rkpgq1scxbp37668m";
|
||||
} else null;
|
||||
|
||||
configureFlags = "--disable-static";
|
||||
|
||||
NIX_CFLAGS_COMPILE = with stdenv.lib;
|
||||
" -fno-strict-aliasing" # from Gentoo, see https://bugzilla.redhat.com/show_bug.cgi?id=506840
|
||||
+ optionalString useEncumberedCode " -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING=1"
|
||||
+ optionalString useInfinality " -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=1";
|
||||
|
||||
patches = [ ./enable-validation.patch ] # from Gentoo
|
||||
++ stdenv.lib.optional useInfinality [ infinality_patch ];
|
||||
++ [
|
||||
(fetch_bohoomil "freetype-2.5.3-pkgconfig.patch" "1dpfdh8kmka3gzv14glz7l79i545zizah6wma937574v5z2iy3nn")
|
||||
(fetch_bohoomil "fix_segfault_with_harfbuzz.diff" "1nx36inqrw717b86cla2miprdb3hii4vndw95k0jbbhfmax9k6fy")
|
||||
]
|
||||
++ optional useEncumberedCode
|
||||
(fetch_bohoomil "infinality-2.5.3.patch" "0mxiybcb4wwbicrjiinh1b95rv543bh05sdqk1v0ipr3fxfrb47q")
|
||||
;
|
||||
|
||||
propagatedBuildInputs = [ zlib bzip2 libpng ]; # needed when linking against freetype
|
||||
# dependence on harfbuzz is looser than the reverse dependence
|
||||
buildInputs = [ pkgconfig which ]
|
||||
# FreeType requires GNU Make, which is not part of stdenv on FreeBSD.
|
||||
++ optional (!stdenv.isLinux) gnumake;
|
||||
|
||||
# from Gentoo, see https://bugzilla.redhat.com/show_bug.cgi?id=506840
|
||||
NIX_CFLAGS_COMPILE = "-fno-strict-aliasing";
|
||||
# The asm for armel is written with the 'asm' keyword.
|
||||
CFLAGS = stdenv.lib.optionalString stdenv.isArm "-std=gnu99";
|
||||
|
||||
# FreeType requires GNU Make, which is not part of stdenv on FreeBSD.
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isLinux) gnumake;
|
||||
CFLAGS = optionalString stdenv.isArm "-std=gnu99";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall =
|
||||
''
|
||||
ln -s freetype2/freetype $out/include/freetype
|
||||
'';
|
||||
# compat hacks
|
||||
postInstall = glib.flattenInclude + ''
|
||||
ln -s . "$out"/include/freetype
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
# Somehow it calls the unwrapped gcc, "i686-pc-linux-gnu-gcc", instead
|
||||
@ -60,13 +59,11 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = "--disable-static CC_BUILD=gcc";
|
||||
};
|
||||
|
||||
passthru.infinality.useInfinality = useInfinality; # for fontconfig
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A font rendering engine";
|
||||
homepage = http://www.freetype.org/;
|
||||
license = if useEncumberedCode then "unfree"
|
||||
else "GPLv2+"; # or the FreeType License (BSD + advertising clause)
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause)
|
||||
#ToDo: encumbered = useEncumberedCode;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -3,14 +3,14 @@
|
||||
|
||||
let
|
||||
ver_maj = "2.30";
|
||||
ver_min = "6";
|
||||
ver_min = "8";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gdk-pixbuf-${ver_maj}.${ver_min}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gdk-pixbuf/${ver_maj}/${name}.tar.xz";
|
||||
sha256 = "0nkz19xlh60bf9bqylh98n8rynpjyx1nzp1gcr6zljgvmnj4yfa3";
|
||||
sha256 = "1gpqpskp4zzf7h35bp247jcvnk6rxc52r69pb11v8g8i2q386ls8";
|
||||
};
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
@ -8,11 +8,11 @@ assert xineramaSupport -> xlibs.libXinerama != null;
|
||||
assert cupsSupport -> cups != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtk+-2.24.23";
|
||||
name = "gtk+-2.24.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtk+/2.24/${name}.tar.xz";
|
||||
sha256 = "0z2ic7fma1lmmv4ncgki3vadqp7d0qkj2d235impsplvgvi0d950";
|
||||
sha256 = "0v9xxpkypizy9k866rvqc36zvj4kj9p8nd1nxf9znay8k3hv5khj";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -8,11 +8,11 @@
|
||||
# (icu is a ~30 MB dependency, the rest is very small in comparison)
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "harfbuzz-0.9.28";
|
||||
name = "harfbuzz-0.9.33";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
|
||||
sha256 = "0j70ppl2qrfx8yzdl8ki63wcxgrlhkyl31p1a6bhmbqqh32zfrx5";
|
||||
sha256 = "1iql2ghlndqgx9q6p098xf253rjz5rnrv5qniwgd1b5q0jzwa4yk";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, fetchsvn, cmake, libcxxabi, python }:
|
||||
|
||||
let
|
||||
version = "3.4";
|
||||
version = "3.4.2";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "libc++-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://llvm.org/releases/${version}/libcxx-${version}.src.tar.gz";
|
||||
sha256 = "1sqd5qhqj7qnn9zjxx9bv7ky4f7xgmh9sbgd53y1kszhg41217xx";
|
||||
sha256 = "0z3jdvgcq995khkpis5c5vaxhbmvbqjlalbhn09k6pgb5zp46rc2";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake libcxxabi python ];
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, udev }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdrm-2.4.54";
|
||||
name = "libdrm-2.4.56";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
||||
sha256 = "1sg45y9yiz9yyp6dkyilqz8rhii9azgy53i2s4iia3p8zgmh2h6r";
|
||||
sha256 = "0c20wpfa94d8kww0f2xinmm4axsl4nhq921xj4i88yhpjbhbn3z2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
@ -3,11 +3,11 @@
|
||||
assert zlib != null;
|
||||
|
||||
let
|
||||
version = "1.6.10";
|
||||
sha256 = "0mjsfxc18478y1jxrs3snmx7mvckmghvki9gfhmhl49n1vyz00s0";
|
||||
version = "1.6.12";
|
||||
sha256 = "0pkcirbfzhqqsm3hr2alxprw5n22a836qk4df1jnns6jk79gcby3";
|
||||
patch_src = fetchurl {
|
||||
url = "mirror://sourceforge/libpng-apng/libpng-${version}-apng.patch.gz";
|
||||
sha256 = "0512q27c26ajzqm2qzmmc7q1frj7cjylls2hxy3y3wg2r6ryizw8";
|
||||
sha256 = "0r2vmsc4cvxisjr7jqw2vjf66isb2fhs4nnssz3l3jgdangj8wz0";
|
||||
};
|
||||
whenPatched = stdenv.lib.optionalString apngSupport;
|
||||
|
||||
|
@ -1,22 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, xlibs }:
|
||||
{ stdenv, fetchurl, pkgconfig, xorg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvdpau-0.7";
|
||||
name = "libvdpau-0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
|
||||
sha256 = "1q5wx6fmqg2iiw57wxwh5vv4yszqs4nlvlzhzdn9vig8gi30ip14";
|
||||
sha256 = "1v81875hppablq9gpsmvhnyl7z80zihx6arry758pvdbq4fd39vk";
|
||||
};
|
||||
|
||||
buildInputs = with xlibs; [ pkgconfig dri2proto libXext ];
|
||||
buildInputs = with xorg; [ pkgconfig dri2proto libXext ];
|
||||
|
||||
propagatedBuildInputs = [ xlibs.libX11 ];
|
||||
propagatedBuildInputs = [ xorg.libX11 ];
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64" ];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
||||
description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
|
||||
license = "bsd";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ else
|
||||
*/
|
||||
|
||||
let
|
||||
version = "10.1.5";
|
||||
version = "10.2.4";
|
||||
# this is the default search path for DRI drivers
|
||||
driverLink = "/run/opengl-driver" + stdenv.lib.optionalString stdenv.isi686 "-32";
|
||||
in
|
||||
@ -35,7 +35,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
|
||||
sha256 = "1g2vy7zaamzs00xasiwg0d6cb5sclfd9v8jms14ll9bghg3mwv5w";
|
||||
sha256 = "06l18j9vshq2xzhnp6zd6pw0dlfy0qg1cw4zyn1w51gb8h9398h6";
|
||||
};
|
||||
|
||||
prePatch = "patchShebangs .";
|
||||
@ -70,7 +70,7 @@ stdenv.mkDerivation {
|
||||
"--enable-glx-tls"
|
||||
"--enable-shared-glapi" "--enable-shared-gallium"
|
||||
"--enable-driglx-direct" # seems enabled anyway
|
||||
"--enable-gallium-llvm" "--with-llvm-shared-libs"
|
||||
"--enable-gallium-llvm" "--enable-llvm-shared-libs"
|
||||
"--enable-xa" # used in vmware driver
|
||||
"--enable-gles1" "--enable-gles2"
|
||||
"--enable-vdpau"
|
||||
|
@ -1,16 +1,16 @@
|
||||
{ fetchurl, stdenv, pkgconfig, perl, withPNG ? true, libpng, glib /*just passthru*/ }:
|
||||
{ fetchurl, stdenv, pkgconfig, perl, libpng, glib /*just passthru*/ }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pixman-0.32.4";
|
||||
name = "pixman-0.32.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cairographics.org/releases/${name}.tar.gz";
|
||||
sha256 = "113ycngcssbrps217dyajq96hm9xghsfch82h14yffla1r1fviw0";
|
||||
sha256 = "0129g4zdrw5hif5783li7rzcr4vpbc2cfia91azxmsk0h0xx3zix";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig perl ];
|
||||
|
||||
buildInputs = stdenv.lib.optional withPNG [ libpng ]; # NOT in closure anyway
|
||||
buildInputs = [ libpng ]; # NOT in closure anyway
|
||||
|
||||
postInstall = glib.flattenInclude;
|
||||
|
||||
|
@ -1,12 +1,14 @@
|
||||
{stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig,
|
||||
openssl, libpng, lua5}:
|
||||
{ stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig
|
||||
, openssl, libpng, lua5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "podofo-0.9.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/podofo/${name}.tar.gz";
|
||||
sha256 = "1wx3s0718rmhdzdwyi8hgpf2s92sk3hijy8f4glrmnjpiihr2la6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ lua5 stdenv.gcc.libc ];
|
||||
@ -17,6 +19,15 @@ stdenv.mkDerivation rec {
|
||||
lua5.crossDrv stdenv.gccCross.libc ];
|
||||
};
|
||||
|
||||
# fix finding freetype-2.5
|
||||
preConfigure = ''
|
||||
substituteInPlace ./CMakeLists.txt \
|
||||
--replace FREETYPE_INCLUDE_DIR FREETYPE_INCLUDE_DIRS \
|
||||
--replace 'FIND_PACKAGE(FREETYPE' 'FIND_PACKAGE(Freetype'
|
||||
|
||||
rm ./cmake/modules/Find{FREETYPE,ZLIB,PkgConfig}.cmake
|
||||
'';
|
||||
|
||||
cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF";
|
||||
|
||||
meta = {
|
||||
|
@ -4,14 +4,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.24.5"; # even major numbers are stable
|
||||
sha256 = "114zfm4771iq25wa4bsg4nc2gnr6waaj8936wd23r4hc2084jrd2";
|
||||
version = "0.26.3"; # even major numbers are stable
|
||||
sha256 = "1ca2lrwvhxzq0g4blbvq099vyydfjyz839jki301p1jgazrimjw8";
|
||||
|
||||
qtcairo_patches =
|
||||
let qtcairo = fetchgit { # the version for poppler-0.24
|
||||
url = "git://github.com/giddie/poppler-qt4-cairo-backend.git";
|
||||
rev = "c4578cde09834e0d70873f63b1c2a410f66bb4f9";
|
||||
sha256 = "07bs2phmp7f4mqrwqz2bgyw2gw7s00mwsm548bsikyz1cbj7fl93";
|
||||
rev = "7b9e1ea763b579e635ee7614b10970b9635841cf";
|
||||
sha256 = "0cdq0qw1sm6mxnrhmah4lfsd9wjlcdx86iyikwmjpwdmrkjk85r2";
|
||||
}; in
|
||||
[ "${qtcairo}/0001-Cairo-backend-added-to-Qt4-wrapper.patch"
|
||||
"${qtcairo}/0002-Setting-default-Qt4-backend-to-Cairo.patch"
|
||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
propagatedBuildInputs = [x11 libXft libXrender zlib libjpeg libpng];
|
||||
propagatedBuildInputs = [libpng x11 libXft libXrender zlib libjpeg];
|
||||
|
||||
configureFlags = "
|
||||
-v
|
||||
|
@ -1,25 +0,0 @@
|
||||
diff --git a/cmake/modules/FindQt.cmake b/cmake/modules/FindQt.cmake
|
||||
index c2eac76..b3131f0 100644
|
||||
--- a/cmake/modules/FindQt.cmake
|
||||
+++ b/cmake/modules/FindQt.cmake
|
||||
@@ -74,10 +74,18 @@ ENDMACRO(QT_GET_MOC_FLAGS)
|
||||
|
||||
MACRO(QT_CREATE_MOC_COMMAND infile outfile moc_flags moc_options)
|
||||
IF(QT_VERSION_MAJOR MATCHES 4)
|
||||
- QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
|
||||
+ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
|
||||
+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
|
||||
+ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
|
||||
+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
|
||||
+ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
|
||||
ELSE(QT_VERSION_MAJOR MATCHES 4)
|
||||
IF(QT_VERSION_MAJOR MATCHES 5)
|
||||
- QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
|
||||
+ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
|
||||
+ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
|
||||
+ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
|
||||
+ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
|
||||
+ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
|
||||
ENDIF(QT_VERSION_MAJOR MATCHES 5)
|
||||
ENDIF(QT_VERSION_MAJOR MATCHES 4)
|
||||
ENDMACRO(QT_CREATE_MOC_COMMAND)
|
@ -1,18 +1,25 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, pkgconfig, python, libxslt, dbus_glib
|
||||
{ stdenv, fetchurl, cmake, qt4, pkgconfig, python, libxslt, dbus_glib, dbus_daemon
|
||||
, telepathy_farstream, telepathy_glib, pythonDBus }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "telepathy-qt-0.9.3";
|
||||
name = "telepathy-qt-0.9.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
|
||||
sha256 = "1yabyhsikw828ns7cf6hvzbxdxh53na1ck0q7qsav1lvlyz5gzy0";
|
||||
sha256 = "1wk13rwpas1crj19xsbgl1c4qzri616xxa1hyhnykv4nkwxdpcgi";
|
||||
};
|
||||
|
||||
patches = [ ./farstream-0.2.diff ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig python libxslt ];
|
||||
propagatedBuildInputs = [ qt4 dbus_glib telepathy_farstream telepathy_glib pythonDBus ];
|
||||
patches = [ ./cmake-2.8.12.diff ./farstream-0.2.diff ];
|
||||
|
||||
buildInputs = stdenv.lib.optional doCheck dbus_daemon;
|
||||
|
||||
preBuild = ''
|
||||
NIX_CFLAGS_COMPILE+=" `pkg-config --cflags dbus-glib-1`"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = false; # giving up for now
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurl, libffi, expat, pkgconfig, libxslt, docbook_xsl, doxygen }:
|
||||
|
||||
let version = "1.4.0"; in
|
||||
let version = "1.5.0"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wayland-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
||||
sha256 = "0n2sbh4xg8xkcjhyi3f4vwcv89krdriyfs0rzdibdj5l2ngkpwqq";
|
||||
sha256 = "1da179livkkmfsds32yhh4zflxn9qs6av023702kx2w8mzly2s80";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libffi expat libxslt docbook_xsl doxygen ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, replace, curl, expat, zlib, bzip2, libarchive
|
||||
{ stdenv, fetchurl, fetchpatch, replace, curl, expat, zlib, bzip2, libarchive
|
||||
, useNcurses ? false, ncurses, useQt4 ? false, qt4
|
||||
}:
|
||||
|
||||
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patches =
|
||||
[(fetchpatch { # see http://www.cmake.org/Bug/view.php?id=13959
|
||||
name = "FindFreetype-2.5.patch";
|
||||
url = "http://www.cmake.org/Bug/file_download.php?file_id=4660&type=bug";
|
||||
sha256 = "136z63ff83hnwd247cq4m8m8164pklzyl5i2csf5h6wd8p01pdkj";
|
||||
})] ++
|
||||
# Don't search in non-Nix locations such as /usr, but do search in
|
||||
# Nixpkgs' Glibc.
|
||||
optional (stdenv ? glibc) ./search-path.patch ++
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "19hdgdmv20y56xvbj4vk0zdmyaa8kv7df85advkchw7cdsgwlcga";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL mesa libpng libjpeg SDL_ttf libvorbis gettext physfs];
|
||||
buildInputs = [ libpng SDL mesa libjpeg SDL_ttf libvorbis gettext physfs];
|
||||
|
||||
dontPatchElf = true;
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "alsa-lib-1.0.27.2";
|
||||
name = "alsa-lib-1.0.28";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"ftp://ftp.alsa-project.org/pub/lib/${name}.tar.bz2"
|
||||
"http://alsa.cybermirror.org/lib/${name}.tar.bz2"
|
||||
];
|
||||
sha256 = "068d8c92122hwca5jzhrjp4a131995adlb1d79zgrm7gwy9x63k9";
|
||||
sha256 = "0vaafg5q1q1mqcsgin5v7xlmngl3cnbmg5a9xxw0xcz1vn2ln1rw";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -18,11 +18,6 @@ stdenv.mkDerivation rec {
|
||||
See http://thread.gmane.org/gmane.linux.distributions.nixos/3435
|
||||
*/
|
||||
./alsa-plugin-dirs.patch
|
||||
|
||||
/* patch provided by larsc on irc.
|
||||
it may be a compiler problem on mips; without this, alsa does not build
|
||||
on mips, because lacks some symbols atomic_add/atomic_sub */
|
||||
./mips-atomic.patch
|
||||
];
|
||||
|
||||
# Fix pcm.h file in order to prevent some compilation bugs
|
||||
@ -35,15 +30,13 @@ stdenv.mkDerivation rec {
|
||||
sed -i -e 's/u_int\([0-9]*\)_t/uint\1_t/g' include/pcm.h
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-xmlto";
|
||||
|
||||
crossAttrs = {
|
||||
patchPhase = ''
|
||||
sed -i s/extern/static/g include/iatomic.h
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.alsa-project.org/;
|
||||
description = "ALSA, the Advanced Linux Sound Architecture libraries";
|
||||
|
||||
@ -52,6 +45,7 @@ stdenv.mkDerivation rec {
|
||||
MIDI functionality to the Linux-based operating system.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,39 +0,0 @@
|
||||
diff --git a/include/iatomic.h b/include/iatomic.h
|
||||
index e92dbfd..364bc5c 100644
|
||||
--- a/include/iatomic.h
|
||||
+++ b/include/iatomic.h
|
||||
@@ -720,7 +720,7 @@ typedef struct { volatile int counter; } atomic_t;
|
||||
* Atomically adds @i to @v. Note that the guaranteed useful range
|
||||
* of an atomic_t is only 24 bits.
|
||||
*/
|
||||
-extern __inline__ void atomic_add(int i, atomic_t * v)
|
||||
+static __inline__ void atomic_add(int i, atomic_t * v)
|
||||
{
|
||||
unsigned long temp;
|
||||
|
||||
@@ -744,7 +744,7 @@ extern __inline__ void atomic_add(int i, atomic_t * v)
|
||||
* Atomically subtracts @i from @v. Note that the guaranteed
|
||||
* useful range of an atomic_t is only 24 bits.
|
||||
*/
|
||||
-extern __inline__ void atomic_sub(int i, atomic_t * v)
|
||||
+static __inline__ void atomic_sub(int i, atomic_t * v)
|
||||
{
|
||||
unsigned long temp;
|
||||
|
||||
@@ -763,7 +763,7 @@ extern __inline__ void atomic_sub(int i, atomic_t * v)
|
||||
/*
|
||||
* Same as above, but return the result value
|
||||
*/
|
||||
-extern __inline__ int atomic_add_return(int i, atomic_t * v)
|
||||
+static __inline__ int atomic_add_return(int i, atomic_t * v)
|
||||
{
|
||||
unsigned long temp, result;
|
||||
|
||||
@@ -784,7 +784,7 @@ extern __inline__ int atomic_add_return(int i, atomic_t * v)
|
||||
return result;
|
||||
}
|
||||
|
||||
-extern __inline__ int atomic_sub_return(int i, atomic_t * v)
|
||||
+static __inline__ int atomic_sub_return(int i, atomic_t * v)
|
||||
{
|
||||
unsigned long temp, result;
|
@ -1,12 +1,14 @@
|
||||
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "alsa-oss-1.0.25";
|
||||
name = "alsa-oss-1.0.28";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.alsa-project.org/pub/oss-lib/${name}.tar.bz2";
|
||||
# url = "http://alsa.cybermirror.org/oss-lib/${name}.tar.bz2";
|
||||
sha256 = "ed823b8e42599951d896c1709615d4cf7cb1cb3a7c55c75ccee82e24ccaf28e3";
|
||||
urls = [
|
||||
"ftp://ftp.alsa-project.org/pub/oss-lib/${name}.tar.bz2"
|
||||
"http://alsa.cybermirror.org/oss-lib/${name}.tar.bz2"
|
||||
];
|
||||
sha256 = "1mbabiywxjjlvdh257j3a0v4vvy69mwwnvc3xlq7pg50i2m2rris";
|
||||
};
|
||||
|
||||
buildInputs = [ alsaLib ncurses libsamplerate ];
|
||||
|
@ -11,16 +11,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "081is33afhykb4ysll8s6gh0d6nm1cglslj9ck0disbyl3qqlvs2";
|
||||
};
|
||||
|
||||
# ToDo: a52, etc.?
|
||||
buildInputs =
|
||||
[ pkgconfig alsaLib libogg ]
|
||||
++ stdenv.lib.optional (pulseaudio != null) pulseaudio
|
||||
++ stdenv.lib.optional (jack2 != null) jack2;
|
||||
++ lib.optional (pulseaudio != null) pulseaudio
|
||||
++ lib.optional (jack2 != null) jack2;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Various plugins for ALSA";
|
||||
homepage = http://alsa-project.org/;
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = [lib.maintainers.marcweber];
|
||||
platforms = lib.platforms.linux;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [maintainers.marcweber];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,12 +1,14 @@
|
||||
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "alsa-utils-1.0.27.2";
|
||||
name = "alsa-utils-1.0.28";
|
||||
|
||||
src = fetchurl {
|
||||
# url = "ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2";
|
||||
url = "http://alsa.cybermirror.org/utils/${name}.tar.bz2";
|
||||
sha256 = "1sjjngnq50jv5ilwsb4zys6smifni3bd6fn28gbnhfrg14wsrgq2";
|
||||
urls = [
|
||||
"ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2"
|
||||
"http://alsa.cybermirror.org/utils/${name}.tar.bz2"
|
||||
];
|
||||
sha256 = "1k1ach1jv0bf71klj9sqaijnw9wjrjad0g5in6bpfnhjn24lrzzk";
|
||||
};
|
||||
|
||||
buildInputs = [ alsaLib ncurses libsamplerate ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, dbus_tools, polkit
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, glib, dbus, dbus_glib, dbus_tools, polkit
|
||||
, intltool, libxslt, docbook_xsl, udev, libusb1, pmutils
|
||||
, useSystemd ? true, systemd, gobjectIntrospection
|
||||
}:
|
||||
@ -13,6 +13,20 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "06wqhab2mn0j4biiwh7mn4kxbxnfnzjkxvhpgvnlpaz9m2q54cj3";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch rec {
|
||||
url = "http://anonscm.debian.org/gitweb/?p=pkg-utopia/upower.git;"
|
||||
+ "a=blob_plain;f=debian/patches/${name};hb=b424b2763fbbba95df8c6ab3feeb57d072a9ddf7";
|
||||
sha256 = "0iq991abrn745icyz6x0wyixrjli01vbmbd9lnwwgyil58h3z8sp";
|
||||
name = "no_deprecation_define.patch";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "http://cgit.freedesktop.org/upower/patch/?id=22da1a0bc5943b683189418d8b0f766e91b2bdbe";
|
||||
sha256 = "0yfgg6pw4bwskannvdwjxr75lgdrjpxhsskwlzm0frp8v5jy4k4z";
|
||||
name = "clamp-battery-percentages.patch";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ dbus_glib polkit intltool libxslt docbook_xsl udev libusb1 gobjectIntrospection ]
|
||||
++ stdenv.lib.optional useSystemd systemd;
|
||||
|
@ -530,11 +530,11 @@ let
|
||||
})) // {inherit xproto ;};
|
||||
|
||||
inputproto = (stdenv.mkDerivation ((if overrides ? inputproto then overrides.inputproto else x: x) {
|
||||
name = "inputproto-2.3";
|
||||
name = "inputproto-2.3.1";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/proto/inputproto-2.3.tar.bz2;
|
||||
sha256 = "0by3aa8i1gki6i904i34vlrymv5p8il05gr83sf8x7v9ys9v29kx";
|
||||
url = mirror://xorg/individual/proto/inputproto-2.3.1.tar.bz2;
|
||||
sha256 = "1lf1jlxp0fc8h6fjdffhd084dqab94966l1zm3rwwsis0mifwiss";
|
||||
};
|
||||
buildInputs = [pkgconfig ];
|
||||
})) // {inherit ;};
|
||||
@ -570,11 +570,11 @@ let
|
||||
})) // {inherit fontsproto xproto xtrans ;};
|
||||
|
||||
libICE = (stdenv.mkDerivation ((if overrides ? libICE then overrides.libICE else x: x) {
|
||||
name = "libICE-1.0.8";
|
||||
name = "libICE-1.0.9";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/X11R7.7/src/everything/libICE-1.0.8.tar.bz2;
|
||||
sha256 = "07mp13pb3s73kj7y490gnx619znzwk91mlf8kdw0rzq29ll93a94";
|
||||
url = mirror://xorg/individual/lib/libICE-1.0.9.tar.bz2;
|
||||
sha256 = "00p2b6bsg6kcdbb39bv46339qcywxfl4hsrz8asm4hy6q7r34w4g";
|
||||
};
|
||||
buildInputs = [pkgconfig xproto xtrans ];
|
||||
})) // {inherit xproto xtrans ;};
|
||||
@ -680,11 +680,11 @@ let
|
||||
})) // {inherit xproto ;};
|
||||
|
||||
libXext = (stdenv.mkDerivation ((if overrides ? libXext then overrides.libXext else x: x) {
|
||||
name = "libXext-1.3.2";
|
||||
name = "libXext-1.3.3";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/lib/libXext-1.3.2.tar.bz2;
|
||||
sha256 = "1q1j0kjyhmy24wqr6mdkrrciffyqhmc8vn95za2w1ka6qrdhfagq";
|
||||
url = mirror://xorg/individual/lib/libXext-1.3.3.tar.bz2;
|
||||
sha256 = "0dbfn5bznnrhqzvkrcmw4c44yvvpwdcsrvzxf4rk27r36b9x865m";
|
||||
};
|
||||
buildInputs = [pkgconfig libX11 xextproto xproto ];
|
||||
})) // {inherit libX11 xextproto xproto ;};
|
||||
@ -710,21 +710,21 @@ let
|
||||
})) // {inherit libfontenc fontsproto freetype xproto xtrans zlib ;};
|
||||
|
||||
libXft = (stdenv.mkDerivation ((if overrides ? libXft then overrides.libXft else x: x) {
|
||||
name = "libXft-2.3.1";
|
||||
name = "libXft-2.3.2";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/X11R7.7/src/everything/libXft-2.3.1.tar.bz2;
|
||||
sha256 = "1gdv6559cdz1lfw73x7wsvax1fkvphmayrymprljhyyb5nwk5kkz";
|
||||
url = mirror://xorg/individual/lib/libXft-2.3.2.tar.bz2;
|
||||
sha256 = "0k6wzi5rzs0d0n338ms8n8lfyhq914hw4yl2j7553wqxfqjci8zm";
|
||||
};
|
||||
buildInputs = [pkgconfig fontconfig freetype libX11 xproto libXrender ];
|
||||
})) // {inherit fontconfig freetype libX11 xproto libXrender ;};
|
||||
|
||||
libXi = (stdenv.mkDerivation ((if overrides ? libXi then overrides.libXi else x: x) {
|
||||
name = "libXi-1.7.2";
|
||||
name = "libXi-1.7.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/lib/libXi-1.7.2.tar.bz2;
|
||||
sha256 = "03mj9i6h0n8icjkx5a16wh1gyyhfiayj02ydc6sy4i9nqqfph96z";
|
||||
url = mirror://xorg/individual/lib/libXi-1.7.4.tar.bz2;
|
||||
sha256 = "0i12lj973grlp9fa79v0vh9cahk3nf9csdjnf81iip0qcrlc5zrc";
|
||||
};
|
||||
buildInputs = [pkgconfig inputproto libX11 libXext xextproto libXfixes xproto ];
|
||||
})) // {inherit inputproto libX11 libXext xextproto libXfixes xproto ;};
|
||||
@ -1210,11 +1210,11 @@ let
|
||||
})) // {inherit gperf m4 libxcb xproto ;};
|
||||
|
||||
xcbutilrenderutil = (stdenv.mkDerivation ((if overrides ? xcbutilrenderutil then overrides.xcbutilrenderutil else x: x) {
|
||||
name = "xcb-util-renderutil-0.3.8";
|
||||
name = "xcb-util-renderutil-0.3.9";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.8.tar.bz2;
|
||||
sha256 = "0lkl9ij9b447c0br2qc5qsynjn09c4fdz7sd6yp7pyi8az2sb2cp";
|
||||
url = http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.9.tar.bz2;
|
||||
sha256 = "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6";
|
||||
};
|
||||
buildInputs = [pkgconfig gperf m4 libxcb xproto ];
|
||||
})) // {inherit gperf m4 libxcb xproto ;};
|
||||
@ -1260,11 +1260,11 @@ let
|
||||
})) // {inherit libX11 ;};
|
||||
|
||||
xcursorgen = (stdenv.mkDerivation ((if overrides ? xcursorgen then overrides.xcursorgen else x: x) {
|
||||
name = "xcursorgen-1.0.5";
|
||||
name = "xcursorgen-1.0.6";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/X11R7.7/src/everything/xcursorgen-1.0.5.tar.bz2;
|
||||
sha256 = "10f5wk1326mm45gvgpf4m2p0j80fcd0i4c52zikahb91zah72wdw";
|
||||
url = mirror://xorg/individual/app/xcursorgen-1.0.6.tar.bz2;
|
||||
sha256 = "0v7nncj3kaa8c0524j7ricdf4rvld5i7c3m6fj55l5zbah7r3j1i";
|
||||
};
|
||||
buildInputs = [pkgconfig libpng libX11 libXcursor ];
|
||||
})) // {inherit libpng libX11 libXcursor ;};
|
||||
@ -1470,11 +1470,11 @@ let
|
||||
})) // {inherit fontsproto libpciaccess randrproto renderproto videoproto xextproto xorgserver xproto ;};
|
||||
|
||||
xf86videoati = (stdenv.mkDerivation ((if overrides ? xf86videoati then overrides.xf86videoati else x: x) {
|
||||
name = "xf86-video-ati-7.3.0";
|
||||
name = "xf86-video-ati-7.4.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/driver/xf86-video-ati-7.3.0.tar.bz2;
|
||||
sha256 = "1zj6401km2zgc32vhw7jfkaklsllsm9xpbs79zh9da8r94n0fz0h";
|
||||
url = mirror://xorg/individual/driver/xf86-video-ati-7.4.0.tar.bz2;
|
||||
sha256 = "1nbnvxlyn75bcf23m39p7yw80kilgdxmjdvzgcs3walshnlhq8wn";
|
||||
};
|
||||
buildInputs = [pkgconfig fontsproto glamoregl libdrm udev libpciaccess randrproto renderproto videoproto xextproto xf86driproto xorgserver xproto ];
|
||||
})) // {inherit fontsproto glamoregl libdrm udev libpciaccess randrproto renderproto videoproto xextproto xf86driproto xorgserver xproto ;};
|
||||
@ -1580,11 +1580,11 @@ let
|
||||
})) // {inherit fontsproto libdrm libpciaccess randrproto renderproto videoproto xextproto xf86driproto xorgserver xproto ;};
|
||||
|
||||
xf86videomodesetting = (stdenv.mkDerivation ((if overrides ? xf86videomodesetting then overrides.xf86videomodesetting else x: x) {
|
||||
name = "xf86-video-modesetting-0.8.1";
|
||||
name = "xf86-video-modesetting-0.9.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/driver/xf86-video-modesetting-0.8.1.tar.bz2;
|
||||
sha256 = "1jhjhgji6169sj7489qahcnmi8cf7y22wvj8qsmrg537rgbxia1v";
|
||||
url = mirror://xorg/individual/driver/xf86-video-modesetting-0.9.0.tar.bz2;
|
||||
sha256 = "0p6pjn5bnd2wr3lmas4b12zcq12d9ilvssga93fzlg90fdahikwh";
|
||||
};
|
||||
buildInputs = [pkgconfig fontsproto libdrm udev libpciaccess randrproto libX11 xextproto xorgserver xproto ];
|
||||
})) // {inherit fontsproto libdrm udev libpciaccess randrproto libX11 xextproto xorgserver xproto ;};
|
||||
@ -1970,11 +1970,11 @@ let
|
||||
})) // {inherit ;};
|
||||
|
||||
xorgserver = (stdenv.mkDerivation ((if overrides ? xorgserver then overrides.xorgserver else x: x) {
|
||||
name = "xorg-server-1.14.6";
|
||||
name = "xorg-server-1.14.7";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/xserver/xorg-server-1.14.6.tar.bz2;
|
||||
sha256 = "0c57vp1z0p38dj5gfipkmlw6bvbz1mrr0sb3sbghdxxdyq4kzcz8";
|
||||
url = mirror://xorg/individual/xserver/xorg-server-1.14.7.tar.bz2;
|
||||
sha256 = "07s54g9q1bry1050dsa7x6hy55yjvq9sxs6ks89pc8l6mnk6zxpw";
|
||||
};
|
||||
buildInputs = [pkgconfig renderproto libdrm openssl libX11 libXau libXaw libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt libXv ];
|
||||
})) // {inherit renderproto libdrm openssl libX11 libXau libXaw libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt libXv ;};
|
||||
|
@ -4,5 +4,5 @@ http://xcb.freedesktop.org/dist/xcb-proto-1.10.tar.bz2
|
||||
http://xcb.freedesktop.org/dist/xcb-util-0.3.9.tar.bz2
|
||||
http://xcb.freedesktop.org/dist/xcb-util-image-0.3.9.tar.bz2
|
||||
http://xcb.freedesktop.org/dist/xcb-util-keysyms-0.3.9.tar.bz2
|
||||
http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.8.tar.bz2
|
||||
http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.9.tar.bz2
|
||||
http://xcb.freedesktop.org/dist/xcb-util-wm-0.4.1.tar.bz2
|
||||
|
@ -73,6 +73,10 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
libXfont = attrs: attrs // {
|
||||
propagatedBuildInputs = [ args.freetype ]; # propagate link reqs. like bzip2
|
||||
};
|
||||
|
||||
libXxf86vm = attrs: attrs // {
|
||||
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
||||
};
|
||||
@ -111,6 +115,10 @@ in
|
||||
libXft = attrs: attrs // {
|
||||
propagatedBuildInputs = [ xorg.libXrender args.freetype args.fontconfig ];
|
||||
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
||||
# the include files need ft2build.h, and Requires.private isn't enough for us
|
||||
postInstall = ''
|
||||
sed "/^Requires:/s/$/, freetype2/" -i "$out/lib/pkgconfig/xft.pc"
|
||||
'';
|
||||
};
|
||||
|
||||
libXext = attrs: attrs // {
|
||||
|
@ -48,14 +48,14 @@ mirror://xorg/X11R7.7/src/everything/font-winitzki-cyrillic-1.0.3.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/font-xfree86-type1-1.0.4.tar.bz2
|
||||
mirror://xorg/individual/proto/glproto-1.4.17.tar.bz2
|
||||
mirror://xorg/individual/app/iceauth-1.0.6.tar.bz2
|
||||
mirror://xorg/individual/proto/inputproto-2.3.tar.bz2
|
||||
mirror://xorg/individual/proto/inputproto-2.3.1.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/kbproto-1.0.6.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/libAppleWM-1.4.1.tar.bz2
|
||||
mirror://xorg/individual/lib/libdmx-1.1.3.tar.bz2
|
||||
mirror://xorg/individual/lib/libxshmfence-1.1.tar.bz2
|
||||
mirror://xorg/individual/lib/libfontenc-1.1.2.tar.bz2
|
||||
mirror://xorg/individual/lib/libFS-1.0.6.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/libICE-1.0.8.tar.bz2
|
||||
mirror://xorg/individual/lib/libICE-1.0.9.tar.bz2
|
||||
mirror://xorg/individual/lib/libpciaccess-0.13.2.tar.bz2
|
||||
mirror://xorg/individual/lib/libSM-1.2.2.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/libWindowsWM-1.0.1.tar.bz2
|
||||
@ -66,11 +66,11 @@ mirror://xorg/individual/lib/libXcomposite-0.4.4.tar.bz2
|
||||
mirror://xorg/individual/lib/libXcursor-1.1.14.tar.bz2
|
||||
mirror://xorg/individual/lib/libXdamage-1.1.4.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/libXdmcp-1.1.1.tar.bz2
|
||||
mirror://xorg/individual/lib/libXext-1.3.2.tar.bz2
|
||||
mirror://xorg/individual/lib/libXext-1.3.3.tar.bz2
|
||||
mirror://xorg/individual/lib/libXfixes-5.0.1.tar.bz2
|
||||
mirror://xorg/individual/lib/libXfont-1.4.8.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/libXft-2.3.1.tar.bz2
|
||||
mirror://xorg/individual/lib/libXi-1.7.2.tar.bz2
|
||||
mirror://xorg/individual/lib/libXft-2.3.2.tar.bz2
|
||||
mirror://xorg/individual/lib/libXi-1.7.4.tar.bz2
|
||||
mirror://xorg/individual/lib/libXinerama-1.1.3.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/libxkbfile-1.0.8.tar.bz2
|
||||
mirror://xorg/individual/lib/libXmu-1.1.2.tar.bz2
|
||||
@ -106,7 +106,7 @@ mirror://xorg/individual/app/xbacklight-1.2.1.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xbitmaps-1.1.1.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xcmiscproto-1.2.2.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xcmsdb-1.0.4.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xcursorgen-1.0.5.tar.bz2
|
||||
mirror://xorg/individual/app/xcursorgen-1.0.6.tar.bz2
|
||||
mirror://xorg/individual/data/xcursor-themes-1.0.4.tar.bz2
|
||||
mirror://xorg/individual/app/xdpyinfo-1.3.1.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xdriinfo-1.0.4.tar.bz2
|
||||
@ -124,7 +124,7 @@ mirror://xorg/individual/driver/xf86-input-vmmouse-13.0.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-input-void-1.4.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-ark-0.7.5.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-ast-0.98.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-ati-7.3.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-ati-7.4.0.tar.bz2
|
||||
mirror://xorg/individual/driver/glamor-egl-0.6.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-nouveau-1.0.10.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-cirrus-1.5.2.tar.bz2
|
||||
@ -137,7 +137,7 @@ mirror://xorg/individual/driver/xf86-video-i128-1.3.6.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-intel-2.21.15.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-mach64-6.9.4.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-mga-1.6.3.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-modesetting-0.8.1.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-modesetting-0.9.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-neomagic-1.2.8.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xf86-video-newport-0.2.4.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-nv-2.1.20.tar.bz2
|
||||
@ -170,7 +170,7 @@ mirror://xorg/X11R7.7/src/everything/xlsatoms-1.1.1.tar.bz2
|
||||
mirror://xorg/individual/app/xlsclients-1.1.3.tar.bz2
|
||||
mirror://xorg/individual/app/xmodmap-1.0.8.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xorg-docs-1.7.tar.bz2
|
||||
mirror://xorg/individual/xserver/xorg-server-1.14.6.tar.bz2
|
||||
mirror://xorg/individual/xserver/xorg-server-1.14.7.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xorg-sgml-doctools-1.11.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xpr-1.0.4.tar.bz2
|
||||
mirror://xorg/individual/app/xprop-1.2.2.tar.bz2
|
||||
|
@ -3,11 +3,11 @@
|
||||
with xorg;
|
||||
|
||||
(stdenv.mkDerivation ({
|
||||
name = "xf86-video-intel-2.99.911";
|
||||
name = "xf86-video-intel-2.99.912";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/driver/xf86-video-intel-2.99.911.tar.bz2;
|
||||
sha256 = "1mkhfa10304xvs763dz1kj93zkmdidlfxhsy5j8ljkfc3d4nhyjf";
|
||||
url = mirror://xorg/individual/driver/xf86-video-intel-2.99.912.tar.bz2;
|
||||
sha256 = "00cmvs5jxaqnl1pwqvj1rwir4kbvf5qfng89cjn4rwsr5m4zr3vw";
|
||||
};
|
||||
buildInputs = [pkgconfig dri2proto fontsproto glamoregl libdrm udev libpciaccess randrproto renderproto libX11 xcbutil libxcb libXcursor libXdamage libXext xextproto xf86driproto libXfixes libXinerama xorgserver xproto libXrandr libXrender libXtst libXvMC ];
|
||||
})) // {inherit dri2proto fontsproto glamoregl libdrm udev libpciaccess randrproto renderproto libX11 xcbutil libxcb libXcursor libXdamage libXext xextproto xf86driproto libXfixes libXinerama xorgserver xproto libXrandr libXrender libXtst libXvMC ;}
|
||||
|
@ -9232,7 +9232,9 @@ let
|
||||
vdpauSupport = config.mplayer.vdpauSupport or false;
|
||||
};
|
||||
|
||||
mplayer2 = callPackage ../applications/video/mplayer2 { };
|
||||
mplayer2 = callPackage ../applications/video/mplayer2 {
|
||||
ffmpeg = libav_9; # see https://trac.macports.org/ticket/44386
|
||||
};
|
||||
|
||||
MPlayerPlugin = browser:
|
||||
import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
|
||||
@ -9722,9 +9724,7 @@ let
|
||||
|
||||
telegram-cli = callPackage ../applications/networking/instant-messengers/telegram-cli/default.nix { };
|
||||
|
||||
telepathy_gabble = callPackage ../applications/networking/instant-messengers/telepathy/gabble {
|
||||
inherit (pkgs.gnome) libsoup;
|
||||
};
|
||||
telepathy_gabble = callPackage ../applications/networking/instant-messengers/telepathy/gabble { };
|
||||
|
||||
telepathy_haze = callPackage ../applications/networking/instant-messengers/telepathy/haze {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user