Commit Graph

8 Commits

Author SHA1 Message Date
Sergei Trofimovich
c9791d9a0b libstrangle: pull gcc-13 fix pending upstream inclusion
Without thenc change build on `gcc-13` fails as:

    src/vulkan/overlay.cpp:113:25: error: 'fprintf' was not declared in this scope
    src/vulkan/overlay.cpp:41:1: note: 'stderr' is defined in header '<cstdio>';
      this is probably fixable by adding '#include <cstdio>'
       40 | #include "limiter.h"
      +++ |+#include <cstdio>
2023-08-12 20:58:42 +01:00
Atemu
5194de18ee libstrangle: support 32bit via implicit layer 2022-07-07 18:40:56 +02:00
Atemu
1a37a30af7 libstrangle: use direct nix store path in layer json
This allows you to load libstrangle without setting LD_LIBRARY_PATH to include
it. Only ENABLE_VK_LAYER_TORKEL104_libstrangle=1 is required now, as expected of
an implicit layer.

Previously, you were required to run your VK app via the wrapper:

    STRANGLE_FPS=30 strangle vkcube

Now you can control it via simple environment variables alone:

    ENABLE_VK_LAYER_TORKEL104_libstrangle=1 STRANGLE_FPS=30 vkcube
2022-07-07 18:39:16 +02:00
Solene Rapenne
922b173bf3 libstrangle: 0.1.1 -> unstable-202202022 2022-04-29 09:24:20 -05:00
Samuel Gräfenstein
c55ef4cf0e
libstrangle: add meta.mainProgram 2021-04-29 14:59:31 +02:00
jakobrs
b0ff7414c2 libstrangle: 2017-02-22 -> 0.1.1 2021-01-14 07:36:01 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
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
2021-01-11 10:38:22 +01:00
Kirill Boltaev
979710b4a0 libstrangle: init at 2017-02-22 2019-07-15 22:49:32 +03:00