Commit graph

36 commits

Author SHA1 Message Date
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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
R. RyanTM 906c5604bf man: 2.9.2 -> 2.9.3 2020-07-05 15:28:56 +00:00
rnhmjoj dfff485819
man-db: remove NixOS-specific configuration
When using --with-config-file, all man-db programs completely ignore the
systemwide configuration in /etc/man_db.conf: it means on NixOS there is
no way to change the configuration without rebuilding man-db, which in
turn causes a mass-rebuild.

To solve this problem this commit removes the NixOS-specific
configuration in man-db, which wasn't the appropriate place to begin
with: the package is expected to work on non-NixOS systems as well. Also
a small patch now ensure /etc/man_db.conf is used, if available, before
the bundled configuration.
2020-06-18 10:17:03 +02:00
R. RyanTM dbb4452ee3 man: 2.9.0 -> 2.9.2 2020-06-13 10:56:45 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM c93355bb4a man: 2.8.7 -> 2.9.0 2019-12-31 09:30:06 +01:00
R. RyanTM 4c5687356c man: 2.8.6.1 -> 2.8.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/man-db/versions
2019-11-03 10:40:54 +01:00
Matthew Bauer a9dcb0276c man-db: set less as default pager
This is the default on most systems, most users want this one. The
value can still be overriden with the “PAGER” value.
2019-09-09 23:56:18 -04:00
Matthew Bauer 5f770d4070 man-db: handle building on darwin
this needs some weird manual autoconf settings to work. Most likely
some test is giving false positives, but I cannot figure out how.
2019-08-24 20:14:16 -04:00
Matthew Bauer 4327a965a2 man-db: correct man_db.conf defaults 2019-08-15 12:57:40 -04:00
Matthew Bauer 77b40af4de man-db: 2.7.5 -> 2.8.6.1 2019-08-15 12:57:34 -04:00
Matthew Bauer 3c39b47a62 man-db: don’t list checkInputs twice 2019-08-15 12:57:34 -04:00
Zaoqi 612021112f
Update default.nix 2019-08-02 22:43:12 +08:00
Will Dietz b6b94f0b27 man-db: disable tests w/musl as simplest solution 2018-03-25 21:17:50 -05:00
Will Dietz e6da426a54 man-db: fix cross 2018-02-13 09:44:29 -06:00
Philipp Gesang 96666650ef
man-db: explicitly pass section string
Work around a bug in the autoconf setup of man-db: The
list of default sections does not include section 0 (zero)
despite ``./configure --help`` advertising it. This causes
header man pages (e. g. time.h from package posix_man_pages)
to be ignored by man(1):

    $ file /run/current-system/sw/share/man/man0p/time.h.0p.gz
    /run/current-system/sw/share/man/man0p/time.h.0p.gz: gzip compressed data, from Unix
    $ man 0p time.h
    No manual entry for 0p
    No manual entry for time.h

Override the default (as defined in m4/man-arg-sections.m4)
until this is fixed upstream.
2017-11-19 15:11:38 +01:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Benno Fünfstück ea14a14357 man-db: make apropos search and not just behave like whatis
Before this fix, apropos behaved exactly like whatis and looked for
an exact match. Now, it actually provides the apropos-functionality
of searching.
2016-12-30 16:58:06 +01:00
Profpatsch fa5d919ae9
man-db: wrap groff instead of compiling in
Some manpages, e.g. `systemd.time` were broken in a way that they
were rendered from the beginning after part of the page, and then only
lasted for maybe a third of their length.

So we just add groff in the wrapper instead of the configure phase like
every other distribution seems to do, and that fixes it.
Patch by @Mic92.

Fixes #19323.
2016-10-11 18:34:36 +02:00
Ram Kromberg ce4f1f8283 mandb: fix apropos 2016-09-12 02:12:44 +03:00
Ram Kromberg 0b469a6725 man-db: set troff command correctly (#18333)
Signed-off-by: Ram Kromberg <ramkromberg@mail.com>
2016-09-06 04:22:06 +02:00
Tuomas Tynkkynen 3364230d56 Disable bunch of non-compiling packages on Darwin
These ones have a "Last successful build" timestamp in the 2014s or
2015s. Presumably no one will notice if we now stop building them.

softether_4_18              2015-09-20  http://hydra.nixos.org/build/39418483
lensfun                     2014-09-30  http://hydra.nixos.org/build/39394104
net_snmp                    2015-09-20  http://hydra.nixos.org/build/39410553
djview                      2015-08-11  http://hydra.nixos.org/build/39413233
libmusicbrainz2             2015-09-20  http://hydra.nixos.org/build/39410106
fox_1_6                     2014-05-07  http://hydra.nixos.org/build/39410858
libofx                      2015-09-24  http://hydra.nixos.org/build/39423507
yacas                       2014-09-30  http://hydra.nixos.org/build/39393150
iomelt                      2014-09-30  http://hydra.nixos.org/build/39408486
softether                   2015-09-20  http://hydra.nixos.org/build/39425800
mp4v2                       2014-09-30  http://hydra.nixos.org/build/39421899
virtuoso7                   2014-09-21  http://hydra.nixos.org/build/39415206
man_db                      2015-04-23  http://hydra.nixos.org/build/39404236
libdiscid                   2014-09-30  http://hydra.nixos.org/build/39412202
zabbix22.agent              2014-09-21  http://hydra.nixos.org/build/39412149
vidalia                     2015-08-06  http://hydra.nixos.org/build/39411500
libmtp                      2015-09-20  http://hydra.nixos.org/build/39419199
wxGTK29                     2015-09-20  http://hydra.nixos.org/build/39415296
ncmpcpp                     2015-11-06  http://hydra.nixos.org/build/39404455
libtorrent                  2014-09-21  http://hydra.nixos.org/build/39394646
shishi                      2014-03-21  http://hydra.nixos.org/build/39418874
ocaml_3_12_1                2014-09-30  http://hydra.nixos.org/build/39392996
djview4                     2015-08-11  http://hydra.nixos.org/build/39427799
vimNox                      2014-05-23  http://hydra.nixos.org/build/39397012
ttfautohint                 2015-08-06  http://hydra.nixos.org/build/39398330
libraw                      2015-09-24  http://hydra.nixos.org/build/39402271
wxGTK30                     2015-09-20  http://hydra.nixos.org/build/39401871
sbcl_1_2_5                  2015-09-20  http://hydra.nixos.org/build/39426091
prover9                     2014-09-30  http://hydra.nixos.org/build/39406476
rcs                         2015-08-25  http://hydra.nixos.org/build/39392037
gpac                        2015-09-24  http://hydra.nixos.org/build/39399470
virtuoso6                   2014-09-30  http://hydra.nixos.org/build/39398651
xlslib                      2015-09-24  http://hydra.nixos.org/build/39410387
ucommon                     2015-03-27  http://hydra.nixos.org/build/39414040
commoncpp2                  2014-09-30  http://hydra.nixos.org/build/39420117
virtuoso                    2014-09-21  http://hydra.nixos.org/build/39399978
miniHttpd                   2014-09-30  http://hydra.nixos.org/build/39392925
mpack                       2014-09-26  http://hydra.nixos.org/build/39399535
nbd                         2014-09-26  http://hydra.nixos.org/build/39401367
newsbeuter-dev              2014-07-29  http://hydra.nixos.org/build/39406259
gimp_2_8                    2015-09-20  http://hydra.nixos.org/build/39436271
gimp                        2015-09-20  http://hydra.nixos.org/build/39435976
zabbix20.agent              2014-09-30  http://hydra.nixos.org/build/39393242
gst_all_1.gst-plugins-good  2015-09-20  http://hydra.nixos.org/build/39408506
ocaml_4_00_1                2014-09-30  http://hydra.nixos.org/build/39399526
inadyn                      2014-09-30  http://hydra.nixos.org/build/39426389
gst_all_1.gst-plugins-bad   2015-09-20  http://hydra.nixos.org/build/39392970
zabbix.agent                2014-09-30  http://hydra.nixos.org/build/39421412
cmake-2_8                   2015-09-24  http://hydra.nixos.org/build/39399443
liblastfm                   2015-08-06  http://hydra.nixos.org/build/39421812
newsbeuter                  2014-07-29  http://hydra.nixos.org/build/39396605
sdcv                        2014-09-26  http://hydra.nixos.org/build/39412928
2016-09-01 20:39:33 +03:00
Vladimír Čunát f8cc92fd6d man-db: clean the expression a bit
This solves the errors
> can't open the manpath configuration file /etc/man_db.conf
which were common e.g. for fish users.
2016-05-23 19:44:16 +02:00
Tobias Geerinckx-Rice 11a8cddff4 man-db: use groff from closure, not PATH 2015-12-17 23:51:43 +01:00
William A. Kennington III b2b568d782 man-db: 2.7.3 -> 2.7.5 2015-11-07 18:53:08 -08:00
Tobias Geerinckx-Rice d972665858 man-db: 2.7.2 -> 2.7.3 2015-09-10 23:01:59 +02:00
William A. Kennington III 9fa56e49d7 man-db: 2.7.1 -> 2.7.2 2015-08-18 11:29:36 -07:00
Eric Seidel c9d50c0128 Revert "man-db: dont use libpipeline on darwin, causes build failure"
This reverts commit ef66f1536d.
2015-05-16 17:27:25 -07:00
Eric Seidel ef66f1536d man-db: dont use libpipeline on darwin, causes build failure 2015-05-15 10:28:06 -07:00
William A. Kennington III 2c8cf45772 man-db: 2.6.6 -> 2.7.1 2015-03-26 12:25:34 -07:00
William A. Kennington III 42358f0cd0 man-db: Upgrade package from 2.5.1 -> 2.6.6
Additionally, remove the uneeded share.patch since share/man is now
searched within upstream code.
2014-02-15 12:17:06 +01:00
William A. Kennington III bdb842d5eb Move all db4 packages to the default db5 2014-02-15 12:03:02 +01:00
Evgeny Egorochkin da4be371e9 make package use mirror:// for gnu, savannah and gnome repositories where possible 2013-07-14 05:23:06 +03:00
Eelco Dolstra f21f531e4e * man -> man-db.
svn path=/nixpkgs/trunk/; revision=10543
2008-02-07 13:38:44 +00:00