GNU Xnee 3.08.
svn path=/nixpkgs/trunk/; revision=25726
This commit is contained in:
parent
e3e13aaeb7
commit
4a5c37a70f
@ -1,31 +1,54 @@
|
|||||||
args :
|
{ fetchurl, stdenv, libX11, xproto, libXext, xextproto, libXtst
|
||||||
let
|
, gtk, libXi, inputproto, pkgconfig, recordproto, texinfo }:
|
||||||
fetchurl = args.fetchurl;
|
|
||||||
lib=args.lib;
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xnee-3.08";
|
||||||
|
|
||||||
version = lib.attrByPath ["version"] "3.01" args;
|
|
||||||
buildInputs = with args; [
|
|
||||||
libX11 xproto libXext xextproto libXtst gtk
|
|
||||||
libXi inputproto pkgconfig recordproto
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/xnee/Xnee-${version}.tar.gz";
|
url = "mirror://gnu/xnee/${name}.tar.gz";
|
||||||
sha256 = "1g6wq1hjrmx102gg768nfs8a1ck77g5fn4pmprpsz9123xl4d181";
|
sha256 = "0lyznw4j7l2zrd46423cq2ahsp55s8j3phprgkrv0sm18y232yf7";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
patchPhase =
|
||||||
configureFlags = [
|
'' for i in `find cnee/test -name \*.sh`
|
||||||
"--disable-gnome-applet"
|
do
|
||||||
];
|
sed -i "$i" -e's|/bin/bash|/bin/sh|g'
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
buildInputs =
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
[ libX11 xproto libXext xextproto libXtst gtk
|
||||||
|
libXi inputproto pkgconfig recordproto
|
||||||
|
texinfo
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
# Do a static build because `libxnee' doesn't get installed anyway.
|
||||||
|
[ "--disable-gnome-applet" "--disable-shared" "--enable-static" ];
|
||||||
|
|
||||||
|
# `cnee' is linked without `-lXi' and as a consequence has a RUNPATH that
|
||||||
|
# lacks libXi.
|
||||||
|
makeFlags = "LDFLAGS=-lXi";
|
||||||
|
|
||||||
|
# XXX: Actually tests require an X server.
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
name = "xnee-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "X event recording and replay tool.";
|
description = "GNU Xnee, an X11 event recording and replay tool";
|
||||||
|
|
||||||
|
longDescription =
|
||||||
|
'' Xnee is a suite of programs that can record, replay and distribute
|
||||||
|
user actions under the X11 environment. Think of it as a robot that
|
||||||
|
can imitate the job you just did. Xnee can be used to automate
|
||||||
|
tests, demonstrate programs, distribute actions, record & replay
|
||||||
|
"macros", retype a file.
|
||||||
|
'';
|
||||||
|
|
||||||
|
license = "GPLv3+";
|
||||||
|
|
||||||
|
homepage = http://www.gnu.org/software/xnee/;
|
||||||
|
|
||||||
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6836,11 +6836,9 @@ let
|
|||||||
|
|
||||||
xmove = callPackage ../applications/misc/xmove { };
|
xmove = callPackage ../applications/misc/xmove { };
|
||||||
|
|
||||||
xnee = builderDefsPackage (import ../tools/X11/xnee) {
|
xnee = callPackage ../tools/X11/xnee {
|
||||||
inherit (gtkLibs) gtk;
|
# Work around "missing separator" error.
|
||||||
inherit (xlibs) libX11 libXtst xextproto libXext
|
stdenv = overrideInStdenv stdenv [ gnumake381 ];
|
||||||
inputproto libXi xproto recordproto;
|
|
||||||
inherit pkgconfig;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xvidcap = callPackage ../applications/video/xvidcap {
|
xvidcap = callPackage ../applications/video/xvidcap {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user