about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/awesome
AgeCommit message (Collapse)AuthorFilesLines
2023-06-28treewide: gobject-introspection from buildInputs to nativeBuildInputsArtturin1-1/+2
gobject-introspection should be in nativeBuildInputs for cross to work properly (so propagations and hook work properly)
2022-05-14awesome: pull upstream fix for -fno-common toolchainsSergei Trofimovich1-1/+17
Without the change build fails as: ld: CMakeFiles/awesome.dir/objects/window.c.o:/build/source/build/common/lualib.h:31: multiple definition of `lualib_dofunction_on_error'; CMakeFiles/awesome.dir/awesome.c.o:/build/source/build/common/lualib.h:31: first defined here
2021-09-12awesome: use a luaEnvMatthieu Coudron1-11/+11
2021-01-19treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nixJonathan Ringer1-2/+2
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
2021-01-16treewide: stdenv.lib -> libBen Siraphob1-2/+2
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch1-2/+2
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-12-26maintainer-list.nix: remove ndowensNathan1-1/+1
2019-10-17awesome: Make sure it compiles with luajitDoron Behar1-3/+9
2019-08-15treewide: name -> pname (easy cases) (#66585)volth1-1/+1
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2019-07-22gdk-pixbuf: rename from gdk_pixbufworldofpeace1-2/+2
2019-05-11awesome: add optional gtk3 supportStefano Mazzucco1-2/+7
Add optional gtk3 support to Awesome so that the `beautiful.gtk` module can be used. The `beautiful.gtk` uses `lgi` to obtain Gtk via gobject-introspect: return require('lgi').Gtk Since the current build does not include the typelib files needed, the above call fails. It turns out that both `gtk3` and `atk` (Accessibility toolkit) are needed, so this commit adds them as optional build inputs. Setting `gtk3Support` to `true` e.g. in an overlay will make `beautiful.gtk` work at the cost of an increased closure size (currently 99.6M vs 223.4M). Fixes https://github.com/NixOS/nixpkgs/issues/60538
2019-05-10Merge pull request #60343 from ↵Will Dietz1-0/+6
dtzWill/fix/luarocks-nix-formatting-and-awesome-doc-goodness luarocks-nix,luaPackages: formatting and additions; awesome: docs!
2019-05-06awesome: use makeWrapper rather than wrapProgramStefano Mazzucco1-1/+4
Using wrapProgram makes so that the generated "awesome" wrapper duplicates its command line options at every restart. As @psychon puts it: > AwesomeWM restarts via execvp(argv[0], argv). In NixOS, wrapProgram is used > to generate a wrapper around the real binary. wrapProgram calls makeWrapper > with --argv0 '$0'. I guess this is what makes awesomeWM run the wrapper again > on restart. Without this --argv0 awesomeWM would directly restart itself > instead of the wrapper, I think.
2019-04-28awesome: generate docs, put in separate outputWill Dietz1-0/+6
Especially useful when using non-release versions, but good to have locally regardless.
2019-04-27awesome: refactor LUA_PATH env var and don't expose it at runtimeStefano Mazzucco1-4/+4
This commit partly reinstates changes from 5465d6f that had been somehow reverted in 17d3eb2. Also, a comment has been added in the hope that future changes won't do the same. Additionally, refactor the LUA_PATH env var to ensure that the internal lgi lua files can't be required explicitly and to avoid possible name clashes (this fixes issue #60232). Finally, rather than using prepending `?.lua` append `;;` to LUA_PATH. Quoting @psychon: > This is interpreted by Lua as "add the default search path here" (which does > indeed contain ?.lua, but also contains more). Testing done: - Build with `nix-build -I /path/to/repo -A awesome` - Start an X session with xterm only - Start xephyr, e.g. `Xephyr :1 -name xephyr -screen 512x384 -ac -br -noreset &` - Run awesome like `DISPLAY=:1.0 ./result/bin/awesome`. Additionally, add `--search` options to expose lua modules that have a name clash with lgi's internal ones (see #60232 for more details) and `require` them in `rc.lua` to prove that they are loaded correctly
2019-02-14awesome: drop asciidoc, no longer needed when moved to asciidoctorWill Dietz1-2/+1
2019-01-28awesome: fixup lua paths, don't add random utilities to PATHWill Dietz1-4/+4
Lua path changes needed to fix build, removing PATH clutter while visiting this code since doesn't belong.
2019-01-28awesome: 4.2 -> 4.3Will Dietz1-2/+4
2018-12-02gobject-introspection: rename packageJan Tojnar1-2/+2
camelCase package name was a huge inconsistency in GNOME package set.
2018-08-29awesome-3-5: remove deprecated version (#45736)Jörg Thalheim1-86/+0
this version is deprecated and no longer maintained by upstream: https://awesomewm.org/download/ Two years should have been enough for people to upgrade.
2018-02-25tree-wide: autorename gnome packages to use dashesJan Tojnar1-2/+2
2018-01-25awesome: Remove $LD_LIBRARY_PATH handlingUli Schlachter1-2/+0
I have no idea why gobjectIntrospection even was in here. The only library in there, libgirepository-1.0.so, is not used by awesome. It is only used by lgi.so and that means it should be found via its RPATH. The Pango path is not needed in $LD_LIBRARY_PATH ever since gobjectIntrospection started patching .typelib files with absolute paths. Relevant commits are 36bef2b26731a9 from 2014 ("gobject-introspection: refer to shlibs with absolute paths in typelibs") and c420de6b05710 from 2016 ("gobject-introspection: Fix patching shared objects"). The above patches did not work for cairo, because cairo's typelib is a bit "special". However, this was fixed by e44038bccab0cae some days ago ("gobjectIntrospection: use absolute path for cairo GIR"). Thus, setting $GI_TYPELIB_PATH is enough so that all needed libraries are found. Fixes: https://github.com/NixOS/nixpkgs/issues/14164 Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-01-02awesome: Use --search instead of $LUA_PATH/$LUA_CPATHUli Schlachter1-2/+2
Instead of polluting the environment with environment variables which are inherited by processes spawned from awesome, use the command line argument "--search" to add things to the search path. cc #33169
2017-12-10awesome: fix LUA_PATH/LUA_CPATH to lgi [now for version 3.5]Aristid Breitkreuz1-2/+2
2017-11-28awesome: fix LUA_PATH/LUA_CPATH to lgiJoerg Thalheim1-5/+5
Otherwise it would not start.
2017-09-17awesome: specify versionYurii Rashkovskii1-0/+1
By default, awesome will use "devel" as a version name (or `git describe`). This has led to awesome always showing "devel" for its version. Some extensions depend on version information to figure out what features they can use. This change overrides the version for the build from the derivations' `version` attribute.
2017-07-29awesome: 4.1 -> 4.2romildo1-10/+3
- update to version 4.2 - remove 1639.patch, which has been integrated in release
2017-05-14awesome: Allows awesome to load svg images.Samuel Dionne-Riel1-2/+3
Awesome can load SVG images, just like it can do PNG, through gdk. The support for SVG images through GDK needs librvsg. This commits adds the plumbing necessary in the wrapper that makes awesome be able to load SVG images. Without this, awesome will not load SVG images. The related error message is: > Couldn't recognize the image file format for file Which comes from gdk.
2017-03-23awesome: menubar should take XDG_HOME_DIR and XDG_DATA_DIRS into accountromildo1-1/+8
2017-03-19awesomewm: 4.0 -> 4.1ndowens1-6/+11
2017-02-17awesome-4.0: Add hicolor-icon-theme for theme supportndowens1-42/+19
Closes #22888.
2016-12-27awesome: 3.5.9 -> 4.0Alexey Shmalko3-60/+94
2016-08-23treewide: Use more makeBinPathTuomas Tynkkynen1-1/+1
2016-04-01Merge branch 'master' into closure-sizeVladimír Čunát1-10/+13
Beware that stdenv doesn't build. It seems something more will be needed than just resolution of merge conflicts.
2016-03-27awesome: include manual pagesJosé Romildo Malaquias1-8/+11
2016-03-09awesome: 3.5.8 -> 3.5.9José Romildo Malaquias1-2/+2
2016-02-14Merge branch 'master' into closure-sizeVladimír Čunát1-2/+2
2016-02-03Merge recent 'staging' into closure-sizeVladimír Čunát1-2/+2
Let's get rid of those merge conflicts.
2016-01-31awesome: 3.5.7 -> 3.5.8José Romildo Malaquias1-2/+2
2016-01-22awesome: 3.5.6 -> 3.5.7José Romildo Malaquias1-2/+2
2015-10-13cairo, pango: fix some string referencesVladimír Čunát1-1/+1
2015-10-13curl: split into multiple outputsVladimír Čunát1-3/+3
Also use pkgconfig to be safer and fix (some) referrers.
2015-09-15xlibs: replace occurrences by xorgVladimír Čunát1-10/+10
This seems to have been confusing people, using both xlibs and xorg, etc. - Avoided renaming local (and different) xlibs binding in gcc*. - Fixed cases where both xorg and xlibs were used. Hopefully everything still works as before.
2015-05-28Don't use "with licenses;" for single licencesTobias Geerinckx-Rice1-1/+1
And don't use square brackets on such lines.
2015-05-27Use common licence attributes from lib/licenses.nixTobias Geerinckx-Rice1-1/+1
Many (less easily automatically converted) old-style strings remain. Where there was any possible ambiguity about the exact version or variant intended, nothing was changed. IANAL, nor a search robot. Use `with stdenv.lib` wherever it makes sense.
2015-03-29awesome manpage is broken in chroot builds, disable for nowAristid Breitkreuz1-4/+5
2015-03-06awesome: do not depend on rxvt_unicode, but xtermDaniel Hahler1-2/+2
xterm is being used as terminal in the default configuration.
2015-03-05awesome: 3.5.5 -> 3.5.6Daniel Hahler1-4/+4
2014-12-17Some lua and awesome improvementsLuca Bruno2-8/+18
- Move lgi to luaPackages - Use luaPackages in awesome and passthru lua - Allow to pass lua modules to the awesome WM so that those can be used in the configuration