forked from mirrors/nixpkgs
X.Org: added dbus, hal; removed unused gettext
svn path=/nixpkgs/branches/stdenv-updates/; revision=10467
This commit is contained in:
parent
e0d1a17680
commit
c0496c0413
|
@ -1,8 +1,5 @@
|
|||
# This is a generated file. Do not edit!
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, fontconfig
|
||||
, libxslt, expat, libdrm, libpng, zlib, perl, mesa, mesaHeaders
|
||||
, xkeyboard_config, gettext
|
||||
}:
|
||||
args: with args;
|
||||
|
||||
rec {
|
||||
|
||||
|
@ -883,8 +880,9 @@ rec {
|
|||
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.3/src/everything/libXpm-3.5.7.tar.bz2;
|
||||
sha256 = "1aibr6y6hnlgc7m1a1y5s1qx7863praq4pdp0xrpkc75gkk1lw34";
|
||||
};
|
||||
buildInputs = [pkgconfig gettext libX11 libXext xextproto xproto libXt ];
|
||||
}) // {inherit gettext libX11 libXext xextproto xproto libXt ;};
|
||||
buildInputs = [pkgconfig libX11 libXext xextproto xproto libXt ];
|
||||
patchPhase = "sed -i '/USE_GETTEXT_TRUE/d' sxpm/Makefile.in cxpm/Makefile.in";
|
||||
}) // {inherit libX11 libXext xextproto xproto libXt ;};
|
||||
|
||||
libXprintAppUtil = (stdenv.mkDerivation {
|
||||
name = "libXprintAppUtil-1.0.1";
|
||||
|
@ -2716,8 +2714,8 @@ rec {
|
|||
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.3/src/everything/xorg-server-1.4.tar.bz2;
|
||||
sha256 = "1hpbq0bl1jkq84gvksp0xzbbrwwgl0wz2wakf11p2hld6bgl5cai";
|
||||
};
|
||||
buildInputs = [pkgconfig pixman renderproto bigreqsproto compositeproto damageproto libdmx dmxproto evieext fixesproto fontcacheproto libfontenc fontsproto freetype glproto inputproto kbproto libdrm mkfontdir mkfontscale perl printproto randrproto recordproto resourceproto scrnsaverproto trapproto videoproto libX11 libXau libXaw xcmiscproto libXdmcp libXext xextproto xf86bigfontproto xf86dgaproto xf86driproto xf86miscproto xf86vidmodeproto libXfixes libXfont libXi xineramaproto libxkbfile libxkbui libXmu libXpm xproto libXrender libXres libXt xtrans libXtst libXxf86misc libXxf86vm zlib ]; mesaSrc = mesa.src; x11BuildHook = ./xorgserver.sh; patches = [./xorgserver-dri-path.patch ./xorgserver-xkbcomp-path.patch ./xorgserver-xkb-leds.patch ];
|
||||
}) // {inherit pixman renderproto bigreqsproto compositeproto damageproto libdmx dmxproto evieext fixesproto fontcacheproto libfontenc fontsproto freetype glproto inputproto kbproto libdrm mkfontdir mkfontscale perl printproto randrproto recordproto resourceproto scrnsaverproto trapproto videoproto libX11 libXau libXaw xcmiscproto libXdmcp libXext xextproto xf86bigfontproto xf86dgaproto xf86driproto xf86miscproto xf86vidmodeproto libXfixes libXfont libXi xineramaproto libxkbfile libxkbui libXmu libXpm xproto libXrender libXres libXt xtrans libXtst libXxf86misc libXxf86vm zlib ;};
|
||||
buildInputs = [pkgconfig pixman renderproto bigreqsproto compositeproto damageproto dbus.libs libdmx dmxproto evieext fixesproto fontcacheproto libfontenc fontsproto freetype glproto hal inputproto kbproto libdrm mkfontdir mkfontscale perl printproto randrproto recordproto resourceproto scrnsaverproto trapproto videoproto libX11 libXau libXaw xcmiscproto libXdmcp libXext xextproto xf86bigfontproto xf86dgaproto xf86driproto xf86miscproto xf86vidmodeproto libXfixes libXfont libXi xineramaproto libxkbfile libxkbui libXmu libXpm xproto libXrender libXres libXt xtrans libXtst libXxf86misc libXxf86vm zlib ]; mesaSrc = mesa.src; x11BuildHook = ./xorgserver.sh; patches = [./xorgserver-dri-path.patch ./xorgserver-xkbcomp-path.patch ./xorgserver-xkb-leds.patch ];
|
||||
}) // {inherit pixman renderproto bigreqsproto compositeproto damageproto libdmx dmxproto evieext fixesproto fontcacheproto libfontenc fontsproto freetype glproto hal inputproto kbproto libdrm mkfontdir mkfontscale perl printproto randrproto recordproto resourceproto scrnsaverproto trapproto videoproto libX11 libXau libXaw xcmiscproto libXdmcp libXext xextproto xf86bigfontproto xf86dgaproto xf86driproto xf86miscproto xf86vidmodeproto libXfixes libXfont libXi xineramaproto libxkbfile libxkbui libXmu libXpm xproto libXrender libXres libXt xtrans libXtst libXxf86misc libXxf86vm zlib ;};
|
||||
|
||||
xorgsgmldoctools = (stdenv.mkDerivation {
|
||||
name = "xorg-sgml-doctools-1.2";
|
||||
|
|
|
@ -35,7 +35,8 @@ $pcMap{"mkfontscale"} = "mkfontscale";
|
|||
$pcMap{"mkfontdir"} = "mkfontdir";
|
||||
$pcMap{"bdftopcf"} = "bdftopcf";
|
||||
$pcMap{"libxslt"} = "libxslt";
|
||||
$pcMap{"gettext"} = "gettext";
|
||||
$pcMap{"dbus-1"} = "dbus";
|
||||
$pcMap{"hal"} = "hal";
|
||||
|
||||
$pcMap{"\$PIXMAN"} = "pixman";
|
||||
$pcMap{"\$RENDERPROTO"} = "renderproto";
|
||||
|
@ -56,6 +57,8 @@ $extraAttrs{"xf86inputevdev"} = "
|
|||
sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c
|
||||
\";";
|
||||
|
||||
$extraAttrs{"libXpm"} = "
|
||||
patchPhase = \"sed -i '/USE_GETTEXT_TRUE/d' sxpm/Makefile.in cxpm/Makefile.in\";";
|
||||
|
||||
my $downloadCache = "./download-cache";
|
||||
$ENV{'NIX_DOWNLOAD_CACHE'} = $downloadCache;
|
||||
|
@ -112,7 +115,7 @@ while (<>) {
|
|||
my $file;
|
||||
{
|
||||
local $/;
|
||||
open FOO, "cd '$tmpDir'/* && cat configure.ac |";
|
||||
open FOO, "cd '$tmpDir'/* && grep -v '^ *#' configure.ac |";
|
||||
$file = <FOO>;
|
||||
close FOO;
|
||||
}
|
||||
|
@ -184,7 +187,6 @@ while (<>) {
|
|||
push @requires, "zlib" if $pkg =~ /xorgserver/;
|
||||
push @requires, "xf86bigfontproto" if $pkg =~ /xorgserver/;
|
||||
push @requires, "libxslt" if $pkg =~ /libxcb/;
|
||||
push @requires, "gettext" if $pkg =~ /libXpm/;
|
||||
|
||||
print "REQUIRES @requires => $pkg\n";
|
||||
$pkgRequires{$pkg} = \@requires;
|
||||
|
@ -200,10 +202,7 @@ open OUT, ">default2.nix";
|
|||
print OUT "";
|
||||
print OUT <<EOF;
|
||||
# This is a generated file. Do not edit!
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, fontconfig
|
||||
, libxslt, expat, libdrm, libpng, zlib, perl, mesa, mesaHeaders
|
||||
, xkeyboard_config, gettext
|
||||
}:
|
||||
args: with args;
|
||||
|
||||
rec {
|
||||
|
||||
|
|
|
@ -3201,7 +3201,7 @@ rec {
|
|||
xorg = recurseIntoAttrs (import ../servers/x11/xorg {
|
||||
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
||||
libxslt expat libdrm libpng zlib perl mesa mesaHeaders
|
||||
xkeyboard_config gettext;
|
||||
xkeyboard_config dbus hal;
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue