Commit Graph

14 Commits

Author SHA1 Message Date
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Manuel Frischknecht
d439d93c01 arc_unpacker: apply AUR patch that fixes build on GCC 13
`arc_unpacker` fails to build with GCC 13 because GCC stopped
transitively including `cstdint` in a lot of scenarios.
While the project is inactive (the repository has been archived
on GitHub), the Arch Linux user repository already contains a
patch that fixes this issue.

Since ofborg indicated unit test failures on darwin-aarch64,
this change also marks the package as broken for such machines.
Note that these test failures are very unlikely to be caused
by the patch applied here, as it only adds a single
`#include <cstdint>` statement in a single file and that
specific include has been pulled in with older versions
of GCC, anyway.

Co-authored-by: midchildan <git@midchildan.org>
Co-authored-by: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>
2024-02-11 22:26:10 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Weijia Wang
7756269294 arc_unpacker: drop boost175 2023-06-14 01:13:00 +03:00
github-actions[bot]
e628b19818
Merge master into staging-next 2023-02-06 00:02:27 +00:00
Alyssa Ross
0478ec60f2
arc_unpacker: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-02-05 16:46:57 +00:00
Vladimír Čunát
68b1727907
anbox, arc_unpacker: fix build after defaulting to gcc12 2023-02-04 12:36:34 +01:00
Armeen Mahdian
5421bf0ed9 arc_unpacker: unstable-2021-05-17 -> unstable-2021-08-06 2022-05-13 18:35:46 -05:00
Vikram Narayanan
7d6b3abe12 arc_unpacker: Move to catch2 to support aarch64-darwin
catch is ancient and has no support for aarch64-darwin. The following
snippet is an example of what is supported on darwin platforms in catch
(i.e., prior to v2).
```
#ifdef CATCH_PLATFORM_MAC
#if defined(__ppc64__) || defined(__ppc__)
    #define CATCH_TRAP() \
	__asm__("li r0, 20\nsc\nnop\nli r0, 37\nli r4, 2\nsc\nnop\n" \
	: : : "memory","r0","r3","r4" ) /* NOLINT */
#else
    #define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
#endif
```
2021-11-21 19:32:25 -08:00
Felix Rath
7cb8324a91
arc_unpacker: 2019-01-28 -> 2021-05-17, add darwin build (#123393)
Co-authored-by: midchildan <git@midchildan.org>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-25 00:44:09 +02:00
Felix Rath
21108101a5 arc_unpacker: add missing hooks and clear up license 2021-05-15 13:09:27 -07:00
Felix Rath
59ceb1926a arc_unpacker: fix build 2021-05-15 13:09:27 -07: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
midchildan
302cbf171c
arc_unpacker: init at unstable-2019-01-28 2020-11-14 18:07:03 +09:00