Commit Graph

14 Commits

Author SHA1 Message Date
Pascal Wittmann
46de05a3dd dmenu: 4.6 -> 4.7 2017-05-29 09:23:15 +02:00
8573
14120a423b dmenu: Fix scripts to run commands by store paths (#17709)
The `dmenu` package includes two binary programs, `dmenu` and `stest`,
and two shell scripts, `dmenu_run` and `dmenu_path`. `dmenu_run`
invokes `dmenu` and `dmenu_path`, and `dmenu_path` invokes `stest`.

`dmenu_run`'s invocation of `dmenu` was patched to run it by its full
store path, but its invocation of `dmenu_path` and `dmenu_path`'s
invocation of `stest` were not.

If `dmenu_path` and `stest` were not in the set of system packages or
otherwise in the `PATH`, this situation would result in `dmenu_run`
opening a dmenu instance with no menu entries (which would normally be
generated by `dmenu_path`, which `dmenu_run` couldn't find, as it was
running it by `PATH` lookup).

This commit fixes the package to also patch the invocation of
`dmenu_path` in `dmenu_run` and the invocations of `stest` in
`dmenu_path` to invoke those programs by their full store paths.

I have tested this change on NixOS.
2016-08-14 11:38:25 +00:00
Rok Garbas
42f1f442e2 dmenu: adding patches to expression
is extended using patches http://tools.suckless.org/dmenu/patches/ this
argument makes it easier to extend dmenu by doing:

    dmenu.overwritte {
      patches = [
        ./dmenu-4.4-follow-focus.diff";
      ];
    };
2016-01-29 18:49:34 +01:00
Pascal Wittmann
5cf90b546c dmenu: 4.5 -> 4.6
xft support is now upstream
2015-11-10 09:57:17 +01:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
aszlig
f122e0e229
dmenu: Patch in store path to dmenu_run.
If dmenu isn't installed in the user environment, dmenu_run will fail
because it searches $PATH for its own binaries.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-04-22 07:22:00 +02:00
Rickard Nilsson
7afafe0b6d dmenu: Add option config.dmenu.enableXft for enabling xft font support (turned off by default). 2012-11-07 16:03:37 +01:00
Shea Levy
a6c8986ee0 dwm: Bump to 4.5 2012-07-10 06:38:41 -04:00
Lluís Batlle i Rossell
7a2cb5bc64 Updating dmenu
svn path=/nixpkgs/trunk/; revision=29832
2011-10-14 07:55:02 +00:00
David Guibert
71f08e8543 dmenu: 4.1.1 -> 4.4
svn path=/nixpkgs/trunk/; revision=28451
2011-08-10 08:01:51 +00:00
David Guibert
8ce884b7e1 dmenu: version 4.1.1
svn path=/nixpkgs/trunk/; revision=22177
2010-06-08 06:20:06 +00:00
Lluís Batlle i Rossell
ca86e6992b Updating dmenu.
svn path=/nixpkgs/trunk/; revision=20436
2010-03-05 21:42:24 +00:00
Nicolas Pierron
44b6165af2 * Update suckless package location.
* Update dmenu version (3.8 -> 3.9)
* Update wmii version (20070516 -> 20071116)

svn path=/nixpkgs/trunk/; revision=14544
2009-03-15 20:09:50 +00:00
Marc Weber
9e55727832 Added:
* dmenu
* gftp
* micropolis
* byacc as a build-time dependency for micropolis
contributed by baldo <baldo@quimby.lan>

svn path=/nixpkgs/trunk/; revision=12526
2008-08-06 20:39:01 +00:00