Commit graph

18 commits

Author SHA1 Message Date
polykernel ba4fcbb33f foot: refactor derivation
* Change from fetchzip to fetchFromGitea
* Set `mesonBuildType` instead of supplying the `--build-type=`
  argument in `mesonFlags` as the build type option will be
  repeated.
2021-08-08 10:42:15 -04:00
sternenseemann 3ff36d31e4 foot: fix PGO builds with clang
A regression I unfortunately did not notice despite adding tests for
it (which even failed). See:

* https://codeberg.org/dnkl/foot/issues/642
* https://codeberg.org/dnkl/foot/pulls/643
2021-07-22 15:46:12 +02:00
sternenseemann 3b11fad3b7 foot: 1.8.1 -> 1.8.2 2021-07-19 13:33:25 +02:00
sternenseemann 96054245b5 foot: fix cross compilation
* needs PKG_CONFIG_FOR_BUILD

* in the non-native case we need wayland-scanner (build) and
  wayland-protocols (host) separately

* ar needs targetPrefix as well
2021-07-09 00:22:08 +02:00
sternenseemann 355fc79054 foot: 1.8.0 -> 1.8.1 2021-07-01 21:01:42 +02:00
sternenseemann 5e90cb8800 foot: install terminfo to separate output
* See also https://codeberg.org/dnkl/foot/pulls/607

* propagated-user-env-packages is undocumented unfortunately, but
  ensure that if you add foot(.out) to your `systemPackages` or
  install it via `nix-env`, the terminfo output is also  installed
  automatically.

* Resolves #125390.
2021-06-25 19:23:32 +02:00
sternenseemann 4c10d0da45 foot: 1.7.2 -> 1.8.0
* https://codeberg.org/dnkl/foot/releases/tag/1.8.0

* Enable grapheme shaping via fcft and utf8proc. Requires
  `tweak.grapheme-shaping=yes` in foot.ini as well.
2021-06-25 19:05:20 +02:00
sternenseemann 631cbc3de7 foot: fix evaluation with clang stdenvs
To be able to do LTO with clang we need the LTO-capable llvm-ar from
libllvm.out (== llvmPackages.llvm) which contains a superset of the llvm
bintools. This used to be passed through from stdenv.cc.cc as llvm, but
has been renamed to libllvm in 7869d16545.

llvm-ar would be in stdenv.cc.bintools.bintools provided that we are
using a clang stdenv which uses lld as its linker. In the future we could
thus make this inclusion conditional on stdenv.hostPlatform.linker.

Note that the build of foot.tests still fails, pending resolution of #123361.
2021-05-17 15:48:51 +02:00
sternenseemann cb605fc83a foot: 1.7.1 -> 1.7.2
https://codeberg.org/dnkl/foot/releases/tag/1.7.2
2021-04-18 20:26:30 +02:00
sternenseemann d6a67759e7 foot: 1.7.0 -> 1.7.1 2021-04-03 14:34:20 +02:00
sternenseemann 4a16f2ec94 foot: add tests checking the clang compilation to the package
I want to support this in the future. Since I sometimes forget to check
clang compilation when doing a version bump, there has been regression
to this in the past. Let's prevent this by checking compilation with the
default clang version in nixpkgs and the latest clang as well.
2021-04-03 14:34:20 +02:00
sternenseemann 6c1566fab7 foot: remove usage of stdenv.cc.cc.pname 2021-04-03 14:34:20 +02:00
sternenseemann 68a1f6f391 foot: fix PGO build with clang
The way we need to do PGO builds for foot changed. The gcc build was
unaffected by this, but has been updated to the new instructions. For
clang using the outdated introduction meant that the PGO build was
broken when using clang for building foot with PGO enabled.

This has been fixed by updating to the new build instructions for both
gcc and clang when using PGO:
https://codeberg.org/dnkl/foot/pulls/420

foot.override { stdenv = llvmPackages_11.stdenv; } now works as expected.
2021-04-03 14:34:20 +02:00
sternenseemann 70dee97cae foot: 1.6.4 -> 1.7.0
Most notably introducing a native URL mode.

https://codeberg.org/dnkl/foot/releases/tag/1.7.0
2021-03-20 14:19:34 +01:00
sternenseemann aa91dda15c foot: 1.6.2 -> 1.6.3 2021-02-12 23:30:50 +01:00
sternenseemann 2fd163f1ba foot: 1.6.2 -> 1.6.3 2021-01-29 20:05:48 +01:00
sternenseemann ec5f50df5f foot: 1.5.1 -> 1.6.2
* fix build with clangStdenv
* support foot's PGO build
  * enable by default
  * build should be deterministic with PGO as we use an input file which
    is generated with the same seed everytime.
* apply nixpkgs-fmt
2020-12-21 16:02:16 +01:00
AndersonTorres 2bb3a9da24 A directory-category for terminal emulators
This is a mostly cosmetical commit, in the sense it doesn't change the contents
of any package, but reorganizes the overall Nixpkgs expressions.

Terminal emulators are an ubiquitous tool for any Unix user; even the beginners
are routinely familiarized to it. And, manifestly, there are many
implementations of terminal emulators out there, from those traditionally made
in C and C++ to those written in Haskell and Go.

Terminal emulators deserve more highlight. This commit does that by creating a
category for them.
2020-10-28 10:22:39 -03:00
Renamed from pkgs/applications/misc/foot/default.nix (Browse further)