* pkgconfig 0.21 is now the default.
* Some hackery to get Firefox to build again. svn path=/nixpkgs/trunk/; revision=8076
This commit is contained in:
parent
8a89f06527
commit
714da445bb
@ -22,7 +22,13 @@ stdenv.mkDerivation {
|
||||
pkgconfig gtk perl zip libIDL libXi libjpeg libpng zlib cairo
|
||||
];
|
||||
|
||||
patches = [./writable-copies.patch];
|
||||
patches = [
|
||||
./writable-copies.patch
|
||||
# Ugh, inexplicable problem since GTK+ 2.10. Probably a Firefox
|
||||
# bug, but I don't know. See
|
||||
# http://lists.gobolinux.org/pipermail/gobolinux-users/2007-January/004344.html
|
||||
./xlibs.patch
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-application=browser"
|
||||
|
10
pkgs/applications/networking/browsers/firefox/xlibs.patch
Normal file
10
pkgs/applications/networking/browsers/firefox/xlibs.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- mozilla/layout/build/Makefile.in.orig 2007-01-13 14:23:19.000000000 -0200
|
||||
+++ mozilla/layout/build/Makefile.in 2007-01-13 14:24:55.000000000 -0200
|
||||
@@ -282,5 +282,6 @@ LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=50
|
||||
endif
|
||||
endif
|
||||
|
||||
+LDFLAGS += -lX11 -lXrender
|
||||
|
||||
export:: $(BUILD_DATE)
|
||||
|
@ -1,19 +1,19 @@
|
||||
{stdenv, fetchurl, pkgconfig, firefox, libXpm}:
|
||||
{stdenv, fetchurl, pkgconfig, firefox, libXpm, gettext}:
|
||||
|
||||
# Note: we shouldn't be dependent on Firefox. The only thing we need
|
||||
# are the include files so that we can access the plugin API (I
|
||||
# think).
|
||||
|
||||
(stdenv.mkDerivation {
|
||||
name = "mplayerplug-in-3.31";
|
||||
name = "mplayerplug-in-3.35";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/mplayerplug-in-3.31.tar.gz;
|
||||
md5 = "be26b17cde385c7a34fc634d2c88c5c9";
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-3.35.tar.gz;
|
||||
sha256 = "0zxd2nnmj4n9rkndd614ljv7ylz4f4jqvx1wswqfw5j7hwxm34dw";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm];
|
||||
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm gettext];
|
||||
|
||||
inherit firefox;
|
||||
}) // {mozillaPlugin = "/lib/mozilla/plugins";}
|
||||
|
@ -8,4 +8,13 @@ stdenv.mkDerivation {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/pkg-config-0.21.tar.gz;
|
||||
md5 = "476f45fab1504aac6697aa7785f0ab91";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Process Requires.private properly, see
|
||||
# http://bugs.freedesktop.org/show_bug.cgi?id=4738.
|
||||
(fetchurl {
|
||||
url = http://bugs.freedesktop.org/attachment.cgi?id=8494;
|
||||
sha256 = "1pcrdbb7dypg2biy0yqc7bdxak5zii8agqljdvk7j4wbyghpqzws";
|
||||
})
|
||||
];
|
||||
}
|
||||
|
@ -1118,11 +1118,13 @@ rec {
|
||||
* pkgconfig is optionally taken from the stdenv to allow bootstrapping
|
||||
* of glib and pkgconfig itself on MinGW.
|
||||
*/
|
||||
pkgconfig = useFromStdenv (stdenv ? pkgconfig) stdenv.pkgconfig
|
||||
pkgconfigOld = useFromStdenv (stdenv ? pkgconfig) stdenv.pkgconfig
|
||||
(import ../development/tools/misc/pkgconfig {
|
||||
inherit fetchurl stdenv;
|
||||
});
|
||||
|
||||
pkgconfig = pkgconfig_latest;
|
||||
|
||||
pkgconfig017x = import ../development/tools/misc/pkgconfig/pkgconfig-0.17.2.nix {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
@ -2732,7 +2734,7 @@ rec {
|
||||
};
|
||||
|
||||
MPlayerPlugin = import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
|
||||
inherit fetchurl stdenv pkgconfig firefox;
|
||||
inherit fetchurl stdenv pkgconfig firefox gettext;
|
||||
inherit (xlibs) libXpm;
|
||||
# !!! should depend on MPlayer
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user