Commit Graph

1052 Commits

Author SHA1 Message Date
Sefa Eyeoglu
6772b7822f
lz4: separate binaries and libraries
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:45:27 +02:00
Sefa Eyeoglu
59238b728c
lz4: use finalAttrs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:45:27 +02:00
Sefa Eyeoglu
ead868553b
lz4: use CMake to build
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:43:27 +02:00
Audrey Dutcher
846de80d1c various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will
include a hardcoded /usr/bin/uname invocation for FreeBSD on any
architecture other than arm. This clearly doesn't work under nix.
We must then update or otherwise patch each old config.guess.
2024-05-27 11:09:28 -04:00
Audrey Dutcher
be0a824971 gzip: Add runtimeShell to buildInputs
This package distributes shell scripts in /bin. Its shebangs are
always patched to a /nix/store shell, but by default, they are patched to
use the stdenv's shell, which during bootstrap is build in the previous
stdenv. By using runtimeShell from the current stdenv, we can shorten the
FreeBSD bootstrap process significantly.
2024-05-26 23:24:01 -07:00
Raghav Sood
0e39493035
Merge pull request #272640 from matshch/fix-bzip2-patch-link
bzip2: update patch URL
2024-05-25 07:54:50 +08:00
R. Ryantm
d4186518db upx: 4.2.3 -> 4.2.4 2024-05-12 03:57:30 +00:00
github-actions[bot]
ae736c738d
Merge master into staging-next 2024-05-03 12:01:32 +00:00
Jussi Kuokkanen
ce3f586775 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Stanisław Pitucha
f730844b29 imagelol: fix darwin build
Set older standard, otherwise clang's default fails to compile it.
2024-04-22 20:58:31 +10:00
Kamila Borowska
0d3b34f45a maintainers: remove KamilaBorowska 2024-04-21 22:26:12 +02:00
Vladimír Čunát
24d4f2cd52
Merge branch 'staging' into staging-next
Conflicts (tried to quickly resolve somehow, checked eval):
	pkgs/development/python-modules/apsw/default.nix
	pkgs/development/python-modules/mido/default.nix
	pkgs/development/python-modules/pytest-bdd/default.nix
	pkgs/development/python-modules/sparse/default.nix
2024-04-12 07:06:54 +02:00
Austin Horstman
12aef2eb5d
gzip: add meta.mainProgram 2024-04-09 22:47:30 -05:00
Sandro
a9e420460b
Merge pull request #299590 from trofi/zstd-update
zstd: 1.5.5 -> 1.5.6
2024-03-31 15:03:38 +02:00
github-actions[bot]
ba060bffac
Merge master into staging-next 2024-03-31 00:02:07 +00:00
Vladimír Čunát
6aa50d0808
xz: switch to a working src URL, add warning 2024-03-30 06:39:25 +01:00
Martin Weinelt
f721231589
Revert "xz: 5.4.6 -> 5.6.0"
This reverts commit 5c7c19cc7e.

The upstream tarball has been tampered with and includes a backport for
which we cannot completely rule out, whether we are affected.

https://www.openwall.com/lists/oss-security/2024/03/29/4
2024-03-29 17:52:23 +01:00
Martin Weinelt
699ac3316c
Revert "xz: 5.6.0 -> 5.6.1"
This reverts commit c53bbe30cd.

The upstream tarball has been tampered with and includes a backport for
which we cannot completely rule out, whether we are affected.

https://www.openwall.com/lists/oss-security/2024/03/29/4
2024-03-29 17:51:50 +01:00
R. Ryantm
08c8996686 upx: 4.2.2 -> 4.2.3 2024-03-28 19:43:04 +00:00
Sergei Trofimovich
4004cd4536 zstd: 1.5.5 -> 1.5.6
Changes: https://github.com/facebook/zstd/releases/tag/v1.5.6
2024-03-27 21:25:03 +00:00
Mario Rodas
7d7f065829
Merge pull request #297601 from r-ryantm/auto-update/crabz
crabz: 0.9.0 -> 0.10.0
2024-03-23 19:54:48 -05:00
R. Ryantm
9bed7fb93d crabz: 0.9.0 -> 0.10.0 2024-03-21 02:33:14 +00:00
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
github-actions[bot]
7c0bd382c7
Merge master into staging-next 2024-03-19 00:02:09 +00:00
R. Ryantm
35b4d8e2fd crabz: 0.8.1 -> 0.9.0 2024-03-18 02:46:18 +00:00
Vladimír Čunát
e28c20b887
Merge #294784: xz: 5.6.0 -> 5.6.1
...into staging
2024-03-12 08:43:28 +01:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Sergei Trofimovich
c53bbe30cd xz: 5.6.0 -> 5.6.1
Changes: https://github.com/tukaani-project/xz/releases/tag/v5.6.1
2024-03-10 17:49:49 +00:00
github-actions[bot]
43a9895405
Merge staging-next into staging 2024-03-09 06:01:21 +00:00
Weijia Wang
b046a81451
Merge pull request #293617 from iFreilicht/fix-zsync-clang
zsync: fix build with clang + migrate to by-name
2024-03-09 01:15:32 +01:00
Felix Uhl
2f2224456a zsync: migrate to by-name 2024-03-08 23:16:38 +01:00
Felix Uhl
8f41fb68ff zsync: fix build with clang
I originally found the fix in [this HomeBrew
formula](f800f85efe/Formula/z/zsync.rb (L32)).

I tested the built binary like this:

    zsync http://cdimage.ubuntu.com/ubuntu/daily-live/current/noble-desktop-amd64.iso.zsync

Aborting the download and starting it again worked, it continued at
the same percentage mark. So I'm very certain that the compilation
error really is a mistake, and suppressing it is not an issue.
2024-03-08 23:16:33 +01:00
Weijia Wang
2db89cb619
Merge pull request #292721 from r-ryantm/auto-update/lzip
lzip: 1.24 -> 1.24.1
2024-03-06 21:30:29 +01:00
github-actions[bot]
2be10cb1a0
Merge master into staging-next 2024-03-05 12:01:17 +00:00
Francesco Gazzetta
6ffb3618ea
Merge pull request #289980 from fgaz/treewide/fgaz-finalAttrs
treewide: use finalAttrs in packages maintained by @fgaz
2024-03-05 11:05:28 +01:00
Francesco Gazzetta
b622459bba heatshrink: use finalAttrs pattern 2024-03-05 09:50:19 +01:00
R. Ryantm
0712b9fe0a lzip: 1.24 -> 1.24.1 2024-03-02 14:10:11 +01:00
github-actions[bot]
18bc3c64e6
Merge master into staging-next 2024-03-01 12:00:58 +00:00
Sean Link
366d67dfa4 lzip: fix mingw regression
Broken by the last lzip upgrade.
2024-03-01 07:15:22 +01:00
Vladimír Čunát
7f1b4b772c
Merge #291205: xz: 5.4.6 -> 5.6.0
...into staging
2024-02-29 19:00:57 +01:00
Sergei Trofimovich
5c7c19cc7e xz: 5.4.6 -> 5.6.0
Changes: https://github.com/tukaani-project/xz/releases/tag/v5.6.0
2024-02-24 18:15:35 +00:00
Weijia Wang
5f5062d1ef Merge branch 'master' into staging-next 2024-02-23 05:09:55 +01:00
Rodney Lorrimar
a20c0d5675
xz: Add meta.pkgConfigModules 2024-02-22 13:57:43 +08:00
Artem Leshchev
ab3f8547cb bzip2: update patch URL
For some reason ftp.suse.com refuses connections via IPv6 on HTTPS,
which breaks download from IPv6-only network. This commit changes
protocol to FTP, which works fine via IPv6 and which is consistent with
other mention of this domain in nixpkgs.
2024-02-15 12:51:14 +03:00
github-actions[bot]
d409ffca93
Merge staging-next into staging 2024-02-09 12:01:38 +00:00
github-actions[bot]
a7f4ae0644
Merge master into staging-next 2024-02-09 12:01:11 +00:00
Emery Hemingway
c85d9eeda9 plzip: pkgs/tools/compression/plzip -> pkgs/by-name/pl/plzip 2024-02-09 11:09:15 +00:00
Weijia Wang
36cafc5902
Merge pull request #284905 from r-ryantm/auto-update/lzip
lzip: 1.23 -> 1.24
2024-02-08 08:38:05 +01:00
github-actions[bot]
2579984b85
Merge master into staging-next 2024-02-05 18:01:13 +00:00
Vladimír Čunát
f07e0d4204
Merge #284077: xz: 5.4.5 -> 5.4.6
...into staging
2024-02-03 07:56:23 +01:00
Sean Link
6269f3116b lzip: add mingw support
Part of a greater effort to get qtbase and qtmultimedia cross compiling
for windows.
2024-02-02 14:12:09 -07:00
R. Ryantm
89efa7184d lzip: 1.23 -> 1.24 2024-01-30 04:02:03 +00:00
Sergei Trofimovich
a1f829cad7 xz: 5.4.5 -> 5.4.6
Releases moved to github.

Changes: https://github.com/tukaani-project/xz/releases/tag/v5.4.6
2024-01-26 19:05:47 +00:00
R. Ryantm
6dd8e5b1e8 lziprecover: 1.23 -> 1.24 2024-01-22 04:26:20 +00:00
Vladimír Čunát
c3a00e5a69
efficient-compression-tool: fixup build with gcc13 2024-01-11 16:16:45 +01:00
github-actions[bot]
065e28482b
Merge master into staging-next 2024-01-04 18:00:54 +00:00
Paul Meyer
5bf965b8ad upx: 4.2.1 -> 4.2.2 2024-01-03 20:58:44 +01:00
K900
887e96e875 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-02 10:55:23 +03:00
7c6f434c
27d55dfae8
Merge pull request #277638 from a-n-n-a-l-e-e/lbzip2-fix
lbzip2: apply implicit function definition patch; fix darwin
2024-01-01 13:23:27 +00:00
annalee
eb2b02456e
lbzip2: apply implicit function definition patch; fix darwin
https://github.com/kjn/lbzip2/pull/33
2023-12-30 00:45:11 +00:00
github-actions[bot]
97d15f47f2
Merge master into staging-next 2023-12-28 12:00:58 +00:00
R. Ryantm
2dfc0c9c92 zfp: 1.0.0 -> 1.0.1 2023-12-25 07:08:52 +00:00
Nick Cao
7ed4d83677
Merge pull request #274827 from NickCao/latomic
treewide: drop libatomic workaround for riscv
2023-12-18 14:23:29 -05:00
R. Ryantm
48a5a0fe53 ouch: 0.5.0 -> 0.5.1 2023-12-17 13:15:56 +00:00
jopejoe1
c6519028fb zsync: change license to artistic2
Found in the overview section on http://zsync.moria.org.uk/
2023-12-17 08:47:39 +00:00
Nick Cao
f197cb435d
zstd: drop libatomic workaround for riscv 2023-12-16 16:25:45 -05:00
Vladimír Čunát
120a26f8ce
Merge #271377: staging-next 2023-12-01 2023-12-11 17:06:16 +01:00
Paul Meyer
3ca45e2bbb upx: add version test 2023-12-10 19:09:06 +01:00
Paul Meyer
7bc4955aaa upx: use finalAttrs 2023-12-10 19:09:06 +01:00
Paul Meyer
f689549297 upx: 4.2.0 -> 4.2.1 2023-12-09 22:50:41 +01:00
Paul Meyer
59adfe40d2 upx: add update script 2023-12-09 22:50:22 +01:00
github-actions[bot]
728281e1ea
Merge master into staging-next 2023-12-08 00:02:27 +00:00
Robert Schütz
cf1edac547 bzip3: 1.3.2 -> 1.4.0
Diff: https://github.com/kspalaiologos/bzip3/compare/1.3.2...1.4.0

Changelog: https://github.com/kspalaiologos/bzip3/blob/1.4.0/NEWS
2023-12-06 20:10:21 -08:00
github-actions[bot]
e72d04004e
Merge master into staging-next 2023-12-06 18:00:56 +00:00
XYenon
a40edfc833 ouch: fix build on darwin
add workaround for #166205
patch test
2023-12-06 16:34:10 +08:00
Fabián Heredia Montiel
5b8deaceca Merge remote-tracking branch 'origin/master' into staging-next
Fixed conflict in pkgs/applications/graphics/krita/

krita: 5.1.5 -> 5.2.0
7a40fdc288
, and
treewide: use kde mirror everywhere, don't use pname in download urls
aa15f5066d
2023-12-04 17:44:17 -06:00
Nadir Ishiguro
72a26c5159 ouch: 0.4.2 -> 0.5.0
Diff: https://github.com/ouch-org/ouch/compare/0.4.2...0.5.0

Changelog: https://github.com/ouch-org/ouch/releases/tag/0.5.0
2023-12-02 14:16:25 +01:00
Vladimír Čunát
305cd929fd
Merge branch 'staging' into staging-next 2023-12-01 07:33:49 +01:00
Maciej Krüger
bce155566a
Merge pull request #269758 from CertainLach/prusa-slicer-2.7.0 2023-11-30 14:12:32 +01:00
Alyssa Ross
4739e28eb1 fts: set to musl-fts on musl
NetBSD fts wasn't really designed to be used in this way, and it can
produce some strange errors — e.g. I sometimes see duplicate symbols
when musl and libnbcompat define the same symbol.

More packages used musl-fts directly than the fts package anyway,
which can now be changed to use the generic fts.

Unlike netbsd.fts, musl-fts doesn't have a setup hook, so we have to
tell packages that don't know about it to link against libfts.  We
could decide to copy netbsd.fts's setup hook later if we want to.
2023-11-30 11:58:21 +01:00
Emily Trau
45f4341f16 rzip: fix clang build 2023-11-29 14:01:05 +11:00
Yaroslav Bolyukin
fa36136cee
heatshrink: add cmake build script
Wanted by prusa-slicer and libbgcode
2023-11-28 21:25:15 +01:00
Mario Rodas
b5687d6ba3
Merge pull request #264862 from trofi/xz-update
xz: 5.4.4 -> 5.4.5
2023-11-25 08:03:15 -05:00
h7x4
b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Artturi
fbb3ff5e12
Merge pull request #243161 from nh2/more-enableStatic 2023-11-07 03:49:21 +02:00
Sergei Trofimovich
7ec92e7ee6 xz: 5.4.4 -> 5.4.5
Changes: https://github.com/tukaani-project/xz/releases/tag/v5.4.5
2023-11-01 18:27:54 +00:00
R. Ryantm
764c1c2a46 upx: 4.1.0 -> 4.2.0 2023-10-26 16:31:25 +00:00
Niklas Hambüchen
ef4c88d1f6 zstd: Add enableStatic. See #61575 2023-10-20 19:59:30 +00:00
Niklas Hambüchen
e73b7f8d63 bzip2: Add enableStatic. See #61575 2023-10-20 19:59:30 +00:00
R. Ryantm
9aa79c238c advancecomp: 2.5 -> 2.6 2023-10-11 12:10:54 +00:00
Kira Bruneau
50f2c1836f mozlz4a: 2018-08-23 -> 2022-03-19 2023-10-05 13:44:12 -04:00
Kira Bruneau
11f19b5804 mozlz4a: format with nixpkgs-fmt 2023-10-05 13:35:04 -04:00
Sergei Trofimovich
25afc4a910 brotli: revert upstream fix for rpath on darwin
Fixed `aarch64-darwin` built of `curl` reported by Martin Weinelt of
form:

    curl-aarch64-darwin> checking run-time libs availability... failed
    curl-aarch64-darwin> configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lnghttp2 -lidn2 -lssh2 -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lresolv -lzstd -lzstd -lbrotlidec -lbrotlidec -lz

I think we are embedding wrong runpath. Let's rely on `nixpkgs`'s
infrastructure until the failure is better understood.
2023-09-17 10:41:48 +01:00
Mario Rodas
eb1c63ee5e
Merge pull request #254532 from trofi/brotli-update
brotli: 1.0.9 -> 1.1.0
2023-09-13 06:18:59 -05:00
Sergei Trofimovich
405e6eea23 brotli: 1.0.9 -> 1.1.0
Changes: https://github.com/google/brotli/releases/tag/v1.1.0
2023-09-11 11:10:53 +01:00
Vladimír Čunát
9a7923818f
Merge #250504: gzip: 1.12 -> 1.13
...into staging
2023-09-07 14:10:23 +02:00
Sergei Trofimovich
fcb07bc61a pigz: 2.7 -> 2.8
Changes: https://github.com/madler/pigz/compare/v2.7...v2.8i

Most notable change is glib-1.3 compatibility.
2023-09-02 08:15:39 +01:00