about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-02-27 15:15:20 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-02-27 15:15:20 +0000
commit714da445bbecad486eecd154827a6c528fdd28b4 (patch)
tree4aca2770a27491f5f4f4915bdec65113c4be39b8 /pkgs/applications/networking
parent8a89f06527e91603242053603f9c4318ef973182 (diff)
downloadnixlib-714da445bbecad486eecd154827a6c528fdd28b4.tar
nixlib-714da445bbecad486eecd154827a6c528fdd28b4.tar.gz
nixlib-714da445bbecad486eecd154827a6c528fdd28b4.tar.bz2
nixlib-714da445bbecad486eecd154827a6c528fdd28b4.tar.lz
nixlib-714da445bbecad486eecd154827a6c528fdd28b4.tar.xz
nixlib-714da445bbecad486eecd154827a6c528fdd28b4.tar.zst
nixlib-714da445bbecad486eecd154827a6c528fdd28b4.zip
* pkgconfig 0.21 is now the default.
* Some hackery to get Firefox to build again.

svn path=/nixpkgs/trunk/; revision=8076
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/firefox/default.nix8
-rw-r--r--pkgs/applications/networking/browsers/firefox/xlibs.patch10
-rw-r--r--pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix10
3 files changed, 22 insertions, 6 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix
index 606a96d388d6..ddab35093629 100644
--- a/pkgs/applications/networking/browsers/firefox/default.nix
+++ b/pkgs/applications/networking/browsers/firefox/default.nix
@@ -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"
diff --git a/pkgs/applications/networking/browsers/firefox/xlibs.patch b/pkgs/applications/networking/browsers/firefox/xlibs.patch
new file mode 100644
index 000000000000..a656fbf9beb4
--- /dev/null
+++ b/pkgs/applications/networking/browsers/firefox/xlibs.patch
@@ -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)
+ 
\ No newline at end of file
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix
index 79302d28127e..92dabe96a532 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix
@@ -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";}