font-{{arabic,cursor,daewoo,dec,jis,misc}-misc,ibm-type1,misc-meltho}: refactor, move to pkgs/by-name and rename from xorg namespace (#462085)
This commit is contained in:
@@ -1021,7 +1021,8 @@ in
|
||||
|
||||
fonts.packages = [
|
||||
(if cfg.upscaleDefaultCursor then fontcursormisc_hidpi else pkgs.xorg.fontcursormisc)
|
||||
pkgs.xorg.fontmiscmisc
|
||||
pkgs.font-misc-misc
|
||||
pkgs.font-alias
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
43
pkgs/by-name/fo/font-arabic-misc/package.nix
Normal file
43
pkgs/by-name/fo/font-arabic-misc/package.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-arabic-misc";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-arabic-misc-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-Rv/mG1LHih0tynD/IKny2E1pdEY5yrmghcen7hdmNGc=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Arabic newspaper pcf font";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/arabic-misc";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
44
pkgs/by-name/fo/font-cursor-misc/package.nix
Normal file
44
pkgs/by-name/fo/font-cursor-misc/package.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-cursor-misc";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-cursor-misc-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-JdnJWVATy4yghCBQmZOmQ0yRflPKH+w/Y6zUWhnU+YI=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "X Cursor as a pcf font";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/cursor-misc";
|
||||
# "These ""glyphs"" are unencumbered"
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
44
pkgs/by-name/fo/font-daewoo-misc/package.nix
Normal file
44
pkgs/by-name/fo/font-daewoo-misc/package.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-daewoo-misc";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-daewoo-misc-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-9jyLPcjzAJjLhot9ssLAyLWz/Szv0EQDVpekPUx6TzE=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Daewoo Gothic and Daewoo Mincho pcf fonts";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/daewoo-misc";
|
||||
# no license, just a copyright notice
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
43
pkgs/by-name/fo/font-dec-misc/package.nix
Normal file
43
pkgs/by-name/fo/font-dec-misc/package.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-dec-misc";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-dec-misc-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-gtloIB2P+L7A5R3M14G7TU6/F+EQBJRCeb3AIB4WGvc=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "DEC cursors in pcf font format";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/dec-misc";
|
||||
license = lib.licenses.hpnd;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
39
pkgs/by-name/fo/font-ibm-type1/package.nix
Normal file
39
pkgs/by-name/fo/font-ibm-type1/package.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-ibm-type1";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-ibm-type1-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-xDlelbpG1AxK0XN+kcrCDAq3VBEym2DbXZn+2Stgzn8=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ mkfontscale ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "IBM Courier Type1 fonts";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/ibm-type1";
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
46
pkgs/by-name/fo/font-jis-misc/package.nix
Normal file
46
pkgs/by-name/fo/font-jis-misc/package.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-jis-misc";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-jis-misc-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-eNHv9sRx96poAqJtYszPUdjlGFWGQG2bbh7mkbC/+tA=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "JIS X 9051: 1984 pcf font";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/jis-misc";
|
||||
# licensing is unclear:
|
||||
# - COPYING just says "permission to use"
|
||||
# - The industial standard (JIS X 9051: 1984) this is from, is paid.
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
40
pkgs/by-name/fo/font-misc-meltho/package.nix
Normal file
40
pkgs/by-name/fo/font-misc-meltho/package.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-misc-meltho";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-misc-meltho-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-Y75ewXB4iY8mPCQJami0OuWwa4iFLkJUmvoD0STWUhk=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ mkfontscale ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Collection of otf fonts designed for the display of syriac text";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/misc-meltho";
|
||||
# modified Bigelow & Holmes Font License
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
51
pkgs/by-name/fo/font-misc-misc/package.nix
Normal file
51
pkgs/by-name/fo/font-misc-misc/package.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
font-util,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-misc-misc";
|
||||
version = "1.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-misc-misc-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-eavjYfWLshren1ZYmOSGMAzhzGIdUoW+wm4Utqhhj+0=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
font-util
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ font-util ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/font/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Misc pcf fonts in different sizes";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/font/misc-misc";
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -31,8 +31,8 @@ let
|
||||
XkbDir "${xkeyboard_config}/share/X11/xkb"
|
||||
FontPath "${xorg.fontadobe75dpi}/share/fonts/X11/75dpi"
|
||||
FontPath "${xorg.fontadobe100dpi}/share/fonts/X11/100dpi"
|
||||
FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc"
|
||||
FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc"
|
||||
FontPath "${xorg.fontmiscmisc}/share/fonts/X11/misc"
|
||||
FontPath "${xorg.fontcursormisc}/share/fonts/X11/misc"
|
||||
${lib.optionalString unfreeFonts ''
|
||||
FontPath "${xorg.fontbhlucidatypewriter75dpi}/share/fonts/X11/75dpi"
|
||||
FontPath "${xorg.fontbhlucidatypewriter100dpi}/share/fonts/X11/100dpi"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
font-adobe-utopia-75dpi,
|
||||
font-adobe-utopia-type1,
|
||||
font-alias,
|
||||
font-arabic-misc,
|
||||
font-bh-100dpi,
|
||||
font-bh-75dpi,
|
||||
font-bh-lucidatypewriter-100dpi,
|
||||
@@ -19,11 +20,18 @@
|
||||
font-bitstream-75dpi,
|
||||
font-bitstream-type1,
|
||||
font-cronyx-cyrillic,
|
||||
font-cursor-misc,
|
||||
font-daewoo-misc,
|
||||
font-dec-misc,
|
||||
font-encodings,
|
||||
font-ibm-type1,
|
||||
font-isas-misc,
|
||||
font-jis-misc,
|
||||
font-micro-misc,
|
||||
font-misc-cyrillic,
|
||||
font-misc-ethiopic,
|
||||
font-misc-meltho,
|
||||
font-misc-misc,
|
||||
font-mutt-misc,
|
||||
font-schumacher-misc,
|
||||
font-screen-cyrillic,
|
||||
@@ -213,6 +221,7 @@ self: with self; {
|
||||
fontadobeutopia75dpi = font-adobe-utopia-75dpi;
|
||||
fontadobeutopiatype1 = font-adobe-utopia-type1;
|
||||
fontalias = font-alias;
|
||||
fontarabicmisc = font-arabic-misc;
|
||||
fontbh100dpi = font-bh-100dpi;
|
||||
fontbh75dpi = font-bh-75dpi;
|
||||
fontbhlucidatypewriter100dpi = font-bh-lucidatypewriter-100dpi;
|
||||
@@ -223,10 +232,17 @@ self: with self; {
|
||||
fontbitstream75dpi = font-bitstream-75dpi;
|
||||
fontbitstreamtype1 = font-bitstream-type1;
|
||||
fontcronyxcyrillic = font-cronyx-cyrillic;
|
||||
fontcursormisc = font-cursor-misc;
|
||||
fontdaewoomisc = font-daewoo-misc;
|
||||
fontdecmisc = font-dec-misc;
|
||||
fontibmtype1 = font-ibm-type1;
|
||||
fontisasmisc = font-isas-misc;
|
||||
fontjismisc = font-jis-misc;
|
||||
fontmicromisc = font-micro-misc;
|
||||
fontmisccyrillic = font-misc-cyrillic;
|
||||
fontmiscethiopic = font-misc-ethiopic;
|
||||
fontmiscmeltho = font-misc-meltho;
|
||||
fontmiscmisc = font-misc-misc;
|
||||
fontmuttmisc = font-mutt-misc;
|
||||
fontschumachermisc = font-schumacher-misc;
|
||||
fontscreencyrillic = font-screen-cyrillic;
|
||||
@@ -382,323 +398,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontarabicmisc = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-arabic-misc";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-arabic-misc-1.0.4.tar.xz";
|
||||
sha256 = "0rrlcqbyx9y7hnhbkjir8rs6jkfqyalj1zvhr8niv2n7a8dydzs6";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontcursormisc = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-cursor-misc";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-cursor-misc-1.0.4.tar.xz";
|
||||
sha256 = "10prshcmmm5ccczyq7yaadz92k23ls9rjl10hjh8rjqka1cwkn95";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontdaewoomisc = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-daewoo-misc";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-daewoo-misc-1.0.4.tar.xz";
|
||||
sha256 = "0cagg963v94paq1l9l7g5kyv7df8q31b4zcbhv5rh07kr0yqng7n";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontdecmisc = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-dec-misc";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-dec-misc-1.0.4.tar.xz";
|
||||
sha256 = "1xqs2qg21h5xg519810hw4bvykjdpf0xgk0xwp0bxy4g3lh6inc2";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontibmtype1 = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-ibm-type1";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-ibm-type1-1.0.4.tar.xz";
|
||||
sha256 = "0zyfc0mxkzlrbpdn16rj25abf2hcqb592zkks550rm26paamwff4";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontjismisc = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-jis-misc";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-jis-misc-1.0.4.tar.xz";
|
||||
sha256 = "1l7spyq93rhydsdnsh46alcfbn2irz664vd209lamxviqkvfzlbq";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontmiscmeltho = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-misc-meltho";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-misc-meltho-1.0.4.tar.xz";
|
||||
sha256 = "06ajsqjd20zsk9a44bl5i1mv1r9snil6l2947hk8z2bqf30mxgk3";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fontmiscmisc = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "font-misc-misc";
|
||||
version = "1.1.3";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/font/font-misc-misc-1.1.3.tar.xz";
|
||||
sha256 = "1vcgc6lbc53fqaz8alhxcb6f231hhvj9hn2nkzg1mclbymhy7avr";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
fontutil
|
||||
mkfontscale
|
||||
];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
fonttosfnt = callPackage (
|
||||
{
|
||||
|
||||
@@ -340,6 +340,7 @@ print OUT <<EOF;
|
||||
font-adobe-utopia-75dpi,
|
||||
font-adobe-utopia-type1,
|
||||
font-alias,
|
||||
font-arabic-misc,
|
||||
font-bh-100dpi,
|
||||
font-bh-75dpi,
|
||||
font-bh-lucidatypewriter-100dpi,
|
||||
@@ -350,11 +351,18 @@ print OUT <<EOF;
|
||||
font-bitstream-75dpi,
|
||||
font-bitstream-type1,
|
||||
font-cronyx-cyrillic,
|
||||
font-cursor-misc,
|
||||
font-daewoo-misc,
|
||||
font-dec-misc,
|
||||
font-encodings,
|
||||
font-ibm-type1,
|
||||
font-isas-misc,
|
||||
font-jis-misc,
|
||||
font-micro-misc,
|
||||
font-misc-cyrillic,
|
||||
font-misc-ethiopic,
|
||||
font-misc-meltho,
|
||||
font-misc-misc,
|
||||
font-mutt-misc,
|
||||
font-schumacher-misc,
|
||||
font-screen-cyrillic,
|
||||
@@ -544,6 +552,7 @@ self: with self; {
|
||||
fontadobeutopia75dpi = font-adobe-utopia-75dpi;
|
||||
fontadobeutopiatype1 = font-adobe-utopia-type1;
|
||||
fontalias = font-alias;
|
||||
fontarabicmisc = font-arabic-misc;
|
||||
fontbh100dpi = font-bh-100dpi;
|
||||
fontbh75dpi = font-bh-75dpi;
|
||||
fontbhlucidatypewriter100dpi = font-bh-lucidatypewriter-100dpi;
|
||||
@@ -554,10 +563,17 @@ self: with self; {
|
||||
fontbitstream75dpi = font-bitstream-75dpi;
|
||||
fontbitstreamtype1 = font-bitstream-type1;
|
||||
fontcronyxcyrillic = font-cronyx-cyrillic;
|
||||
fontcursormisc = font-cursor-misc;
|
||||
fontdaewoomisc = font-daewoo-misc;
|
||||
fontdecmisc = font-dec-misc;
|
||||
fontibmtype1 = font-ibm-type1;
|
||||
fontisasmisc = font-isas-misc;
|
||||
fontjismisc = font-jis-misc;
|
||||
fontmicromisc = font-micro-misc;
|
||||
fontmisccyrillic = font-misc-cyrillic;
|
||||
fontmiscethiopic = font-misc-ethiopic;
|
||||
fontmiscmeltho = font-misc-meltho;
|
||||
fontmiscmisc = font-misc-misc;
|
||||
fontmuttmisc = font-mutt-misc;
|
||||
fontschumachermisc = font-schumacher-misc;
|
||||
fontscreencyrillic = font-screen-cyrillic;
|
||||
|
||||
@@ -122,14 +122,6 @@ self: super:
|
||||
};
|
||||
});
|
||||
|
||||
fontmiscmisc = super.fontmiscmisc.overrideAttrs (attrs: {
|
||||
postInstall = ''
|
||||
ALIASFILE=${xorg.fontalias}/share/fonts/X11/misc/fonts.alias
|
||||
test -f $ALIASFILE
|
||||
cp $ALIASFILE $out/lib/X11/fonts/misc/fonts.alias
|
||||
'';
|
||||
});
|
||||
|
||||
fonttosfnt = super.fonttosfnt.overrideAttrs (attrs: {
|
||||
meta = attrs.meta // {
|
||||
license = lib.licenses.mit;
|
||||
@@ -790,38 +782,6 @@ self: super:
|
||||
xwd = addMainProgram super.xwd { };
|
||||
}
|
||||
|
||||
# mark some packages as unfree
|
||||
// (
|
||||
let
|
||||
# unfree but redistributable
|
||||
redist = [
|
||||
"fontibmtype1"
|
||||
];
|
||||
|
||||
# unfree, possibly not redistributable
|
||||
unfree = [
|
||||
# no license, just a copyright notice
|
||||
"fontdaewoomisc"
|
||||
|
||||
# unclear license, "permission to use"?
|
||||
"fontjismisc"
|
||||
];
|
||||
|
||||
setLicense =
|
||||
license: name:
|
||||
super.${name}.overrideAttrs (attrs: {
|
||||
meta = attrs.meta // {
|
||||
inherit license;
|
||||
};
|
||||
});
|
||||
mapNamesToAttrs =
|
||||
f: names: lib.listToAttrs (lib.zipListsWith lib.nameValuePair names (map f names));
|
||||
|
||||
in
|
||||
mapNamesToAttrs (setLicense lib.licenses.unfreeRedistributable) redist
|
||||
// mapNamesToAttrs (setLicense lib.licenses.unfree) unfree
|
||||
)
|
||||
|
||||
# deprecate some packages
|
||||
// lib.optionalAttrs config.allowAliases {
|
||||
fontbitstreamspeedo = throw "Bitstream Speedo is an obsolete font format that hasn't been supported by Xorg since 2005"; # added 2025-09-24
|
||||
|
||||
@@ -68,13 +68,5 @@ mirror://xorg/individual/driver/xf86-video-vesa-2.6.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-vmware-13.4.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-voodoo-1.2.6.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-wsfb-0.4.0.tar.bz2
|
||||
mirror://xorg/individual/font/font-arabic-misc-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-cursor-misc-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-daewoo-misc-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-dec-misc-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-ibm-type1-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-jis-misc-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-misc-meltho-1.0.4.tar.xz
|
||||
mirror://xorg/individual/font/font-misc-misc-1.1.3.tar.xz
|
||||
mirror://xorg/individual/lib/libXTrap-1.0.1.tar.bz2
|
||||
mirror://xorg/individual/xserver/xorg-server-21.1.20.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user