Commit Graph

28 Commits

Author SHA1 Message Date
sternenseemann
4f11333d80 foot: 1.12.1 -> 1.13.0
https://codeberg.org/dnkl/foot/releases/tag/1.13.0
2022-08-07 10:18:17 +02:00
sternenseemann
9f8d844340 foot: 1.11.0 -> 1.12.1
https://codeberg.org/dnkl/foot/releases/tag/1.12.0
https://codeberg.org/dnkl/foot/releases/tag/1.12.1
2022-05-02 23:07:39 +02:00
sternenseemann
29555537d2 foot: 1.10.3 -> 1.11.0
https://codeberg.org/dnkl/foot/releases/tag/1.11.0
2022-02-05 23:27:20 +01:00
sternenseemann
3c855f2fd4 foot: 1.10.2 -> 1.10.3
https://codeberg.org/dnkl/foot/releases/tag/1.10.3
2021-12-13 14:04:18 +01:00
sternenseemann
00a904f61b foot: 1.10.1 -> 1.10.2
https://codeberg.org/dnkl/foot/releases/tag/1.10.2
2021-12-07 20:57:44 +01:00
sternenseemann
a18f40f0e2 foot: 1.9.2 -> 1.10.1
https://codeberg.org/dnkl/foot/releases/tag/1.10.0
https://codeberg.org/dnkl/foot/releases/tag/1.10.1

Themes account for ~1/6th of foot's size, so installing them to a
separate output seems like a decent idea.
2021-11-22 23:11:32 +01:00
sternenseemann
9a76986ee0 foot: cache stimuliFile more aggressively
stimuliFile would get rebuild with every change in version, since the
stimulusGenerator derivation would depend on the version string. Since
the script often doesn't change between releases, this causes
unnecessary rebuilds and cache duplication.

Additionally we add a test to passthru which checks if the hash of the
script is still up to date: By making its name depend on the version
string, it'll get rebuild on every version change, even if the hash
stays the same. This way we can detect new hash mismatches.
2021-10-07 16:18:59 +02:00
sternenseemann
6bfc5e94f6 foot: 1.9.0 -> 1.9.2
foot's upstream has abandoned the approach of using a custom terminfo
install location and setting TERMINFO, but still supports it. For us
this has eliminated the need to build the foot terminfo files manually,
somehow which is appreciated.

We preserve our current approach: Install terminfo files to the terminfo
output and set TERMINFO to that store path instead of propagating the
output for user env insatllations.

Change logs:

* https://codeberg.org/dnkl/foot/releases/tag/1.9.1

* https://codeberg.org/dnkl/foot/releases/tag/1.9.2
2021-10-07 16:18:59 +02:00
sternenseemann
ca6cb24b96 foot: 1.8.2 -> 1.9.0
https://codeberg.org/dnkl/foot/releases/tag/1.9.0

Main change requiring intervention from our side is the new alternative
terminfo install location used by foot in order to coexist with ncurses'
install location.

We want to keep using the normal terminfo install location:

* ncurses and foot have separate store paths so there won't be an
  actual conflict

* buildEnv etc. can deal with file conflicts when building the
  system path

Since foot now sets the TERMINFO environment variable to its terminfo
directory, we can stop installing foot's terminfo globally always (via
propagated-user-env-package) instead `foot.terminfo` now only needs to
be installed on remote systems were you want to have the proper terminfo
for foot.

We'll need to see if this works reliably in the future. NixOS sets
TERMINFO_DIRS, so there may be packages that have been patched to
respect that, but not TERMINFO.
2021-09-05 14:28:54 +02:00
Robert Hensing
fbafeb7ad5 treewide: runCommandNoCC -> runCommand
This has been synonymous for ~5y.
2021-08-15 17:36:41 +02:00
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