mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
* Firefox: don't use internal jpeg, png, zlib, cairo.
svn path=/nixpkgs/trunk/; revision=4819
This commit is contained in:
parent
bbda87fc30
commit
a9efb9d155
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi
|
{ stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi
|
||||||
|
, libjpeg, libpng, zlib, cairo
|
||||||
|
|
||||||
, # If you want the resulting program to call itself "Firefox" instead
|
, # If you want the resulting program to call itself "Firefox" instead
|
||||||
# of "Deer Park", enable this option. However, those binaries may
|
# of "Deer Park", enable this option. However, those binaries may
|
||||||
@ -17,7 +18,9 @@ stdenv.mkDerivation {
|
|||||||
md5 = "c76f02956645bc823241379e27f76bb5";
|
md5 = "c76f02956645bc823241379e27f76bb5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [pkgconfig gtk perl zip libIDL libXi];
|
buildInputs = [
|
||||||
|
pkgconfig gtk perl zip libIDL libXi libjpeg libpng zlib cairo
|
||||||
|
];
|
||||||
inherit gtk;
|
inherit gtk;
|
||||||
|
|
||||||
patches = [./writable-copies.patch];
|
patches = [./writable-copies.patch];
|
||||||
@ -34,6 +37,7 @@ stdenv.mkDerivation {
|
|||||||
"--with-system-jpeg"
|
"--with-system-jpeg"
|
||||||
"--with-system-png"
|
"--with-system-png"
|
||||||
"--with-system-zlib"
|
"--with-system-zlib"
|
||||||
|
"--with-system-cairo"
|
||||||
]
|
]
|
||||||
++ (if enableOfficialBranding then ["--enable-official-branding"] else []);
|
++ (if enableOfficialBranding then ["--enable-official-branding"] else []);
|
||||||
|
|
||||||
|
@ -1836,7 +1836,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
firefox = (import ../applications/networking/browsers/firefox) {
|
firefox = (import ../applications/networking/browsers/firefox) {
|
||||||
inherit fetchurl stdenv pkgconfig perl zip;
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
inherit (gnome) libIDL;
|
inherit (gnome) libIDL;
|
||||||
inherit (xlibs) libXi;
|
inherit (xlibs) libXi;
|
||||||
|
Loading…
Reference in New Issue
Block a user