Author: chaoflow
Date: Sat Jan 21 18:28:57 2012
New Revision: 31763
URL: https://nixos.org/websvn/nix/?rev=31763&sc=1
Log:
emacs-24.0.92
Modified:
nixpkgs/trunk/pkgs/applications/editors/emacs-24/default.nix
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Modified: nixpkgs/trunk/pkgs/applications/editors/emacs-24/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/editors/emacs-24/default.nix Sat Jan
21 18:28:54 2012 (r31762)
+++ nixpkgs/trunk/pkgs/applications/editors/emacs-24/default.nix Sat Jan
21 18:28:57 2012 (r31763)
@@ -1,25 +1,30 @@
{ stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d
, pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif
-, libtiff, librsvg, texinfo, gconf
+, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
}:
+# XXX: ?
+# - checking for alsa >= 1.0.0... no
+# - checking for Wand >= 6.2.8... no
+# - imagemagickBig instead of imagemagick?
+
assert (gtk != null) -> (pkgconfig != null);
assert (libXft != null) -> libpng != null; # probably a bug
assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
stdenv.mkDerivation rec {
- name = "emacs-23.3";
+ name = "emacs-24.0.92";
builder = ./builder.sh;
src = fetchurl {
- url = "mirror://gnu/emacs/${name}.tar.bz2";
- sha256 = "0kfa546qi0idkwk29gclgi13qd8q54pcqgy9qwjknlclszprdp3a";
+ url = "http://alpha.gnu.org/gnu/emacs/pretest/${name}.tar.gz";
+ sha256 = "0pwps72zj7mm6asly1vdq46dcj3in4qrkb6ss9xq6nbf039nj4w6";
};
buildInputs =
[ ncurses x11 texinfo libXaw Xaw3d libXpm libpng libjpeg libungif
- libtiff librsvg libXft gconf
+ libtiff librsvg libXft gconf libxml2 imagemagick gnutls
]
++ stdenv.lib.optionals (gtk != null) [ gtk pkgconfig ]
++ stdenv.lib.optional stdenv.isLinux dbus;
@@ -44,7 +49,7 @@
doCheck = true;
meta = {
- description = "GNU Emacs 23.x, the extensible, customizable text editor";
+ description = "PRETEST: GNU Emacs 24.x, the extensible, customizable text
editor";
longDescription = ''
GNU Emacs is an extensible, customizable text editor—and more. At its
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Sat Jan 21 18:28:54
2012 (r31762)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Sat Jan 21 18:28:57
2012 (r31763)
@@ -6635,6 +6635,17 @@
librsvg = null /* if stdenv.isDarwin then null else librsvg */;
};
+ emacs24 = lowPrio (callPackage ../applications/editors/emacs-24 {
+ # use override to select the appropriate gui toolkit
+ libXaw = if stdenv.isDarwin then xlibs.libXaw else null;
+ Xaw3d = null;
+ gtk = if stdenv.isDarwin then null else gtkLibs.gtk;
+ # TODO: these packages don't build on Darwin.
+ # XXX: Do we want gconf by default? What is emacs using it for?
+ gconf = null /* if stdenv.isDarwin then null else gnome.GConf */;
+ librsvg = if stdenv.isDarwin then null else librsvg;
+ });
+
emacsSnapshot = lowPrio (callPackage ../applications/editors/emacs-snapshot {
xawSupport = getConfig [ "emacs" "xawSupport" ] false;
xaw3dSupport = getConfig [ "emacs" "xaw3dSupport" ] false;
@@ -6701,6 +6712,7 @@
emacs22Packages = emacsPackages emacs22 pkgs.emacs22Packages;
emacs23Packages = recurseIntoAttrs (emacsPackages emacs23
pkgs.emacs23Packages);
+ emacs24Packages = recurseIntoAttrs (emacsPackages emacs24
pkgs.emacs24Packages);
epdfview = callPackage ../applications/misc/epdfview { };
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits