Commit Graph

83 Commits

Author SHA1 Message Date
figsoda
d70e0242e9 pkgs/tools/text: remove dead code
with the help of deadnix & nil
2023-07-12 12:12:15 -04:00
Sergei Trofimovich
bf442ea3fe gnugrep: disable tests x86_64-darwin
When running on Rosetta 2 emulator (x86_64-darwin biaries executed on
aarch64-darwin) `stack-overflow` test fails as:

    rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x4303486096 arm_pc=0x4303949136 num_insts=6 inst_index=4 x86 instruction bytes: 0x6215344901283465301 0x17041981987679720769
2023-06-07 23:26:07 +01:00
Sergei Trofimovich
fd76e6c2ab gnugrep: disable gnulib tests on x86_64-darwin as well 2023-06-06 20:10:06 +01:00
Sergei Trofimovich
e27de00517 gnugrep: enable parallel build and tests
On a 16-core system number changes are:

- before: 1m34s
- after: 39s

2.5x speedup. If ./configure phase was faster the change would be even
more substantial.
2023-06-06 09:05:31 +01:00
Janne Heß
4e6bb70098
gnugrep: Fix build on Musl 2023-05-30 08:53:32 +02:00
Janne Heß
10396d0f86
gnugrep: Add locales for tests
This brings the number of skipped tests down from 48 to 9.
2023-05-15 10:21:49 +02:00
Janne Heß
11c8f46850
gnugrep/stdenv: Fix PCRE support by replacing PCRE lib 2023-05-15 10:21:34 +02:00
Janne Heß
658c76a54f
gnugrep: Re-enable check phase by default
long-pattern-perf is now disabled by default because the test is
expensive.
2023-05-15 10:21:23 +02:00
Janne Heß
95152ad7a0
gnugrep: 3.7 -> 3.11
Also replace myself as a maintainer
2023-05-15 10:14:53 +02:00
Weijia Wang
bb256ac1fa gnugrep: patch against loongarch64-linux 2023-04-27 20:06:43 +03:00
Moritz Lumme
a30df39047 gnugrep: add myself as maintainer 2022-01-20 09:18:35 +00:00
Vladimír Čunát
9c3f89595a
Merge #137918: gnugrep: 3.6 -> 3.7 (into staging) 2021-10-02 16:24:21 +02:00
Samuel Gräfenstein
14791e1deb
gnugrep: add meta.mainProgram
Fix the following error when running `nix run .#gnugrep`:
error: unable to execute '/nix/store/p21zz3jvnsk6h7pb83lm9hyl2hb7d2g8-gnugrep-3.6/bin/gnugrep': No such file or directory
2021-09-19 00:05:31 +02:00
Sergei Trofimovich
5ac725fc9e gnugrep: 3.6 -> 3.7 2021-09-15 00:04:54 +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
R. RyanTM
42050cff6f gnugrep: 3.5 -> 3.6 2020-11-23 22:22:31 -08:00
Lancelot SIX
c604bac07d gnugrep: 3.4 -> 3.5
See https://lists.gnu.org/archive/html/info-gnu/2020-09/msg00009.html
for release announcement
2020-10-06 09:56:25 +02:00
Matthew Bauer
d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz
b2b5e087de gnugrep: 3.3 -> 3.4
https://savannah.gnu.org/forum/forum.php?forum_id=9640
2020-02-06 20:27:42 +01:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Will Dietz
0bba4051cb gnugrep: 3.2 -> 3.3
Fixes bug in some uses of '\b' in certain locales;
same bug was introduced and fixed in gnused 4.6 -> 4.7.
2018-12-21 00:49:31 -06:00
Will Dietz
e41ea1dfef gnugrep: 3.1 -> 3.2
https://savannah.gnu.org/forum/forum.php?forum_id=9332

Similar to gnused update, hash not obtained from mirrors
(since they currently 404 for this) but nix-prefetch-url
on master gnu site.
2018-12-20 11:25:06 -06:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
davidak
3270aa896b replace "Mac OS X" and "OS X" with "macOS"
as it is the official name since 2016

https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop

exception are parts refering to older versions of macOS like

"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07 21:41:30 +02:00
Lancelot SIX
706f0c3849 gnugrep: 3.0 -> 3.1
See http://lists.gnu.org/archive/html/info-gnu/2017-07/msg00000.html
for release announcement
2017-07-13 15:19:29 +02:00
Lancelot SIX
7031e8fd01
gnugrep: 2.27 -> 3.0
See https://lists.gnu.org/archive/html/info-gnu/2017-02/msg00005.html
and https://lists.gnu.org/archive/html/info-gnu/2017-02/msg00006.html
for release information.
2017-02-10 21:02:56 +01:00
Lancelot SIX
4ea9f4e325
gnugrep: 2.25 -> 2.27
See http://lists.gnu.org/archive/html/info-gnu/2016-12/msg00004.html
for release announcement.
2016-12-08 17:28:52 +01:00
Lancelot SIX
df42fe1582 pkgs.gnugrep: 2.22 -> 2.25
All releases between 2.22 and 2.25 are all bugfix releases:
- 2.23: http://lists.gnu.org/archive/html/info-gnu/2016-02/msg00000.html
- 2.24: http://lists.gnu.org/archive/html/info-gnu/2016-03/msg00004.html
- 2.25: http://lists.gnu.org/archive/html/info-gnu/2016-04/msg00010.html
2016-04-28 19:38:54 +02:00
Vladimír Čunát
716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
Eelco Dolstra
3fdf018f77 gnugrep: Disable tests
The test long-pattern-perf is timing sensitive, so it can fail
randomly based on load.

http://hydra.nixos.org/build/30265484
2016-01-12 12:06:41 +01:00
janus
a472d836f6 FreeBSD: apr-util, cyrus-sasl, berkeley db, glib, gnutls, kerberos, libelf-freebsd, openldap, serf, guile, tet, shishi, gawk, gnugrep 2016-01-01 17:01:13 +00:00
Luca Bruno
5b0352a6a4 Merge branch 'master' into closure-size 2015-12-11 18:31:00 +01:00
Vladimír Čunát
333d69a5f0 Merge staging into closure-size
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Danny Wilson
11be480df4 Skip failing tests on SmartOS 2015-11-16 17:20:16 +01:00
William A. Kennington III
b983c6b9b5 grep: 2.21 -> 2.22 2015-11-03 20:54:22 -08:00
Vladimír Čunát
ad02a45af0 gnugrep: re-split the documentation stuff 2015-10-28 10:09:33 +01:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Florian Friesdorf
15952587a0 cygwin gnugrep: disable check due to multibyte-white-space 2015-05-28 10:53:36 +02:00
Vladimír Čunát
bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
Vladimír Čunát
263d5239d6 gnugrep: fix CVE-2015-1345 by upstream patch 2015-03-09 15:55:22 +01:00
Vladimír Čunát
8743003935 grep: update
The 2.21 update fixes NixOS/nix#464.
2015-03-09 15:55:21 +01:00
Eric Seidel
472feaf53b dont need -liconv 2015-02-07 20:29:28 -08:00
Eric Seidel
e08b9ab8d3 kill libiconvOr*
Conflicts:
	pkgs/applications/networking/mailreaders/sup/default.nix
	pkgs/development/compilers/ghc/7.8.3-binary.nix
	pkgs/development/interpreters/php/5.3.nix
	pkgs/development/interpreters/ruby/patches.nix
	pkgs/development/libraries/cairo/default.nix
	pkgs/development/libraries/poppler/default.nix
	pkgs/top-level/all-packages.nix
2015-02-07 20:29:28 -08:00
Eelco Dolstra
a1d9c56389 gnugrep: Fix bootstrap-tools reference 2014-10-06 22:05:55 +02:00
Eelco Dolstra
ae863192e6 gnugrep: Update to 2.20 2014-10-06 20:44:26 +02:00
Vladimír Čunát
030af0a803 fix .xz in stdenv bootstrap
Presumably needed due to the last staging merge.
There was some stdenv stage refactoring within, IIRC.
2014-08-30 15:48:17 +02:00
Vladimír Čunát
a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát
fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00