lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

guake: init at 0.8.3 (close #11027)

There's a catch noted at the top of the expression.
(vcunat moved it there from the commit message)

authored by

Matthijs Steen and committed by
Vladimír Čunát
7f58e162 e6cc5198

+113
+77
pkgs/applications/misc/guake/default.nix
··· 1 + /* Beware! 2 + After starting Guake it will give the error message "Guake can not init! Gconf Error. Have you installed guake.schemas properly?", 3 + which will have to be resolved manually, because I have not found a way to automate this, without being impure. 4 + 5 + If you have Guake installed, you can use `nix-build -A gnome3.guake` to get the path to the build directory in the nix store, 6 + which then can be used in the following command to install the schemas file of Guake: 7 + gconftool-2 --install-schema-file /path/returned/by/nix-build/share/gconf/schemas/guake.schemas 8 + 9 + It can be removed again by the following command: 10 + gconftool-2 --recursive-unset /apps/guake 11 + */ 12 + { stdenv, fetchurl, lib 13 + , pkgconfig, libtool, intltool, makeWrapper 14 + , dbus, gtk2, gconf, python2, python2Packages, libutempter, vte, keybinder, gnome2, gnome3 }: 15 + 16 + with lib; 17 + 18 + let inputs = [ dbus gtk2 gconf python2 libutempter vte keybinder gnome3.gnome_common ]; 19 + pySubDir = "lib/${python2.libPrefix}/site-packages"; 20 + pyPath = makeSearchPath pySubDir (attrVals [ "dbus" "notify" "pyGtkGlade" "pyxdg" ] python2Packages ++ [ gnome2.gnome_python ]); 21 + in stdenv.mkDerivation rec { 22 + name = "guake-${version}"; 23 + version = "0.8.3"; 24 + 25 + src = fetchurl { 26 + url = "https://github.com/Guake/guake/archive/${version}.tar.gz"; 27 + sha256 = "1lbmdz3i9a97840h8239s360hd37nmhy3hs6kancxbzl1512ak1y"; 28 + }; 29 + 30 + nativeBuildInputs = [ pkgconfig libtool intltool makeWrapper ]; 31 + 32 + buildInputs = inputs ++ (with python2Packages; [ pyGtkGlade pyxdg ]); 33 + 34 + patchPhase = '' 35 + patchShebangs . 36 + ''; 37 + 38 + configureScript = "./autogen.sh"; 39 + 40 + configureFlags = [ 41 + "--sysconfdir=/etc" 42 + "--localstatedir=/var" 43 + "--disable-schemas-install" 44 + ]; 45 + 46 + installFlags = [ 47 + # Configuring the installation to not install gconf schemas is not always supported, 48 + # therefore gconftool-2 has this variable, which will make gconftool-2 not update any of the databases. 49 + "GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1" 50 + "sysconfdir=\${out}/etc" 51 + "localstatedir=\${TMPDIR}" 52 + ]; 53 + 54 + postInstall = '' 55 + mkdir -p $out/share/gconf/schemas 56 + cp data/guake.schemas $out/share/gconf/schemas 57 + ''; 58 + 59 + postFixup = '' 60 + for bin in $out/bin/{guake,guake-prefs}; do 61 + substituteInPlace $bin \ 62 + --replace '/usr/bin/env python2' ${python2}/bin/python2 63 + wrapProgram $bin \ 64 + --prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \ 65 + --prefix LD_LIBRARY_PATH : ${makeLibraryPath inputs} \ 66 + --prefix PYTHONPATH : "$out/${pySubDir}:${pyPath}:$PYTHONPATH" 67 + done 68 + ''; 69 + 70 + meta = { 71 + description = "Drop-down terminal for GNOME"; 72 + homepage = http://guake-project.org; 73 + license = licenses.gpl2; 74 + platforms = platforms.linux; 75 + maintainers = [ maintainers.msteen ]; 76 + }; 77 + }
+29
pkgs/development/libraries/libutempter/default.nix
··· 1 + { stdenv, fetchurl, lib, glib }: 2 + 3 + with lib; 4 + 5 + stdenv.mkDerivation rec { 6 + name = "libutempter-${version}"; 7 + version = "1.1.6"; 8 + 9 + src = fetchurl { 10 + url = "http://archive.ubuntu.com/ubuntu/pool/main/libu/libutempter/libutempter_${version}.orig.tar.bz2"; 11 + sha256 = "15y3xbgznjxnfmix4xg3bwmqdvghdw7slbhazb0ybmyf65gmd65q"; 12 + }; 13 + 14 + buildInputs = [ glib ]; 15 + 16 + installFlags = [ 17 + "libdir=\${out}/lib" 18 + "libexecdir=\${out}/lib" 19 + "includedir=\${out}/include" 20 + "mandir=\${out}/share/man" 21 + ]; 22 + 23 + meta = { 24 + description = "Interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files"; 25 + license = licenses.lgpl21Plus; 26 + platforms = platforms.linux; 27 + maintainers = [ maintainers.msteen ]; 28 + }; 29 + }
+7
pkgs/top-level/all-packages.nix
··· 7689 7689 7690 7690 libusbmuxd = callPackage ../development/libraries/libusbmuxd { }; 7691 7691 7692 + libutempter = callPackage ../development/libraries/libutempter { }; 7693 + 7692 7694 libunwind = if stdenv.isDarwin 7693 7695 then darwin.libunwind 7694 7696 else callPackage ../development/libraries/libunwind { }; ··· 12115 12117 12116 12118 gtk2fontsel = callPackage ../applications/misc/gtk2fontsel { 12117 12119 inherit (gnome2) gtk; 12120 + }; 12121 + 12122 + guake = callPackage ../applications/misc/guake { 12123 + gconf = gnome.GConf; 12124 + vte = gnome.vte.override { pythonSupport = true; }; 12118 12125 }; 12119 12126 12120 12127 guitone = callPackage ../applications/version-management/guitone {