mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
pthread-man-pages: Remove
As far as I can tell, the man-pages package provides documentation for every function provided by pthread-man-pages except pthread_mutexattr_setkind_np, which no longer appears in the Glibc headers. So let's ditch it.
This commit is contained in:
parent
7c00ae68d8
commit
9aa1cb6c59
@ -1,48 +0,0 @@
|
|||||||
/* Pthread man pages from LinuxThreads.
|
|
||||||
|
|
||||||
Some of these pages are superseded by those in the `man-pages'
|
|
||||||
package, but not all. Like other distros (e.g., Debian's
|
|
||||||
`glibc-doc' package) we take man pages from LinuxThreads so that
|
|
||||||
we can cover pretty much all of pthreads. */
|
|
||||||
|
|
||||||
{ fetchurl, stdenv, perl }:
|
|
||||||
|
|
||||||
let version = "2.5";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "pthread-man-pages-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnu/glibc/glibc-linuxthreads-${version}.tar.bz2";
|
|
||||||
sha256 = "0b5xg7ba64d1gbqw4k1qk96qgy7h2y4qksr0qx8v7a14c6xaw9zf";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
echo "unpacking to \`${name}'"
|
|
||||||
mkdir "${name}"
|
|
||||||
cd "${name}"
|
|
||||||
tar xjvf "$src"
|
|
||||||
'';
|
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
mkdir -p "$out/share/man/man3"
|
|
||||||
|
|
||||||
sed -i "linuxthreads/man/Makefile" \
|
|
||||||
-e "s|MANDIR *=.*$|MANDIR = $out/share/man/man3| ;
|
|
||||||
s|3thr|3|g"
|
|
||||||
'';
|
|
||||||
|
|
||||||
preConfigure = "cd linuxthreads/man";
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
chmod a-x $out/share/man/man3/*.3
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "POSIX threads (pthreads) manual pages from LinuxThreads";
|
|
||||||
homepage = http://www.gnu.org/software/libc/;
|
|
||||||
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -10834,10 +10834,6 @@ let
|
|||||||
|
|
||||||
proggyfonts = callPackage ../data/fonts/proggyfonts { };
|
proggyfonts = callPackage ../data/fonts/proggyfonts { };
|
||||||
|
|
||||||
pthreadmanpages = callPackage ../data/documentation/pthread-man-pages {
|
|
||||||
perl = perl516; # syntax error at troffprepro line 49, near "do subst("
|
|
||||||
};
|
|
||||||
|
|
||||||
sampradaya = callPackage ../data/fonts/sampradaya { };
|
sampradaya = callPackage ../data/fonts/sampradaya { };
|
||||||
|
|
||||||
shared_mime_info = callPackage ../data/misc/shared-mime-info { };
|
shared_mime_info = callPackage ../data/misc/shared-mime-info { };
|
||||||
|
Loading…
Reference in New Issue
Block a user