Commit Graph

43 Commits

Author SHA1 Message Date
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +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
Dmitry Bogatov
a8040c700a groff: fix static build
Without manual override following problematic code in generated
"configure" script (line 15918):

  case "$host_os" in
    # Guess yes on glibc systems.
    *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;;
    # Guess yes on native Windows.
    mingw*)        gl_cv_func_signbit="guessing yes" ;;
    # If we don't know, assume the worst.
    *)             gl_cv_func_signbit="guessing no" ;;
  esac

results in declaration conflict with gnulib declaring

  int signbit(double)

while system "math.h" providing modern declaration as

  constexpr bool signbit(double)
2021-01-02 08:44:20 +01:00
Michael Raskin
5c4a2158cb
Merge pull request #101866 from catern/groff
groff: fix PDF manpage building with -Tpdf/gropdf
2020-11-22 16:35:58 +00:00
Alyssa Ross
7bf3d77ed6 groff: set "operating system" for mdoc pages
Prior to this change, man pages from Nixpkgs written using the mdoc(7)
macros would start like this:

    NC(1)                   BSD General Commands Manual                   NC(1)

and end like this:

    BSD                          December 27, 2018                          BSD

No matter what operating system they were run on.

It's far more accurate to say "Nixpkgs General Commands Manual", so
with this patch we configure groff to do just that.  The variable is
called "operating-system", but I think it makes more sense to say
"Nixpkgs" than "NixOS" or something, because packages from Nixpkgs can
run on lots of operating systems, and the important thing is that the
package is from Nixpkgs.
2020-11-01 10:58:48 +01:00
Spencer Baugh
3f92a7e123 groff: fix PDF manpage building with -Tpdf/gropdf
These files are pure data, just fonts; they shouldn't have been moved
to the "perl" output, because the Perl programs (namely, gropdf) use
them from the main "out" output.

These files don't contain any references to more dependencies (Perl or
otherwise), so they don't bloat the closure. And the files themselves
are small; 276K total as of this commit.
2020-10-27 14:59:28 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
9555834399
netpbm: split into multiple outputs 2020-03-01 15:13:03 +01:00
Samuel Dionne-Riel
313cef8685 groff: Fix cross-compilation
Fixup the patch from 4f3c8178b8 so it
applies to the current groff.

The patch was removed, but cross-compilation not validated, in #70500.
2019-11-08 22:05:49 -05:00
tilpner
d0c1ee588f groff: 1.22.3 -> 1.22.4 2019-10-22 09:43:32 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
tilpner
5888faeee6
groff: Remove indeterminism in manpages
It was caused by including the modification date
2019-02-13 23:50:43 +01: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
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
John Ericson
1080e264fb groff: Get rid of crossAttrs 2018-05-10 14:08:19 -04:00
Shea Levy
bcb1bb5c11
groff: Fix cross-compilation 2018-03-01 09:11:07 -05:00
Ben Gamari
4f3c8178b8 groff: Enable cross-compilation 2018-02-13 09:44:28 -06:00
Patrick Callahan
bd04a0ff0a groff: split out perl dependencies 2017-11-11 03:35:59 +00:00
Tuomas Tynkkynen
1ff422aa23 treewide: Add man & info outputs where necessary (instead of doc)
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00
Vladimír Čunát
1db1ba9048
groff: (nitpick) quote shell variables 2017-07-05 09:33:39 +02:00
Aneesh Agrawal
111b5eb637 groff: Add site.tmac to fix man page coloring
This enables groff to correctly respond to the LESS_TERMCAP_*
environment variables, allowing colorized man pages.

Patch is taken from Arch Linux;
see https://bugs.archlinux.org/task/33760.
2017-07-01 18:58:34 -07:00
Joe Hermaszewski
3eee6ea7c1 groff: use buildPackages to fix cross compile 2017-04-25 19:59:35 +00:00
Ram Kromberg
14e9972e49 groff: add missing depedencies for optional postscript and html outputs 2016-09-13 23:38:05 +03:00
Vladimír Čunát
1c8ac52999 groff: now really fix build after --docdir fix
I forgot about some later changes around characters permitted in
$shareDocName.
2016-04-20 20:37:19 +02:00
Vladimír Čunát
60d6c5a92b groff: fix build after --docdir fix 2016-04-20 16:38:42 +02:00
Tuomas Tynkkynen
a39f5839ea groff: Fix multiple-output build 2015-10-03 14:08:50 +02:00
Eelco Dolstra
6a91bf20c8 groff: Move docs to separate output
This cuts the size of the package by ~10 MB.
2015-07-26 22:46:44 +02:00
Eelco Dolstra
0cc883f2ee groff: Mark as unsafe for parallel building 2015-05-13 18:17:25 +02:00
Pascal Wittmann
7862ef25a9 groff: update from 1.22.2 to 1.22.3 an adopt it 2014-11-19 08:47:41 +01:00
Alexander Kjeldaas
7141303c99 groff, opensp: make deterministic 2014-09-13 15:06:59 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Peter Simons
a2680cdc48 groff: explicitly disable X11 support in configure to avoid impure builds
Without this flag, the configure script will find /usr/X11 on host system and
assume that it can build with X11 support.
2013-06-11 12:14:49 +02:00
Domen Kozar
74bde3bedd groff: let hydra build it 2013-06-07 09:35:20 +02:00
Peter Simons
f9e75352cf groff: update to version 1.22.2 2013-02-09 20:39:04 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Lluís Batlle i Rossell
49893ec540 Allowing cross-build of groff
svn path=/nixpkgs/branches/stdenv-updates/; revision=23314
2010-08-21 16:54:24 +00:00
Ludovic Courtès
68eec57920 GNU Troff 1.20.1.
svn path=/nixpkgs/trunk/; revision=13733
2009-01-10 23:35:15 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
423af3206e * groff updated to 1.19.2.
svn path=/nixpkgs/trunk/; revision=5494
2006-06-23 10:52:12 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
789a0ab393 add groff, needed for dhcp
svn path=/nixpkgs/trunk/; revision=3651
2005-08-21 13:59:04 +00:00