font-{{arabic,cursor,daewoo,dec,jis,misc}-misc,ibm-type1,misc-meltho}: move font output to $out/share/fonts/X11
i have no idea why the fonts were in $out/lib/X11/fonts
this also changes the location of font-{cursor,misc}-misc in xdummy
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
|
||||||
fontutil,
|
|
||||||
bdftopcf,
|
bdftopcf,
|
||||||
mkfontscale,
|
mkfontscale,
|
||||||
writeScript,
|
writeScript,
|
||||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
|
||||||
bdftopcf
|
bdftopcf
|
||||||
mkfontscale
|
mkfontscale
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ fontutil ];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
|
||||||
fontutil,
|
|
||||||
bdftopcf,
|
bdftopcf,
|
||||||
mkfontscale,
|
mkfontscale,
|
||||||
writeScript,
|
writeScript,
|
||||||
@@ -24,10 +22,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
mkfontscale
|
mkfontscale
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ fontutil ];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
|
||||||
fontutil,
|
|
||||||
bdftopcf,
|
bdftopcf,
|
||||||
mkfontscale,
|
mkfontscale,
|
||||||
writeScript,
|
writeScript,
|
||||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
|
||||||
bdftopcf
|
bdftopcf
|
||||||
mkfontscale
|
mkfontscale
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ fontutil ];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
|
||||||
fontutil,
|
|
||||||
bdftopcf,
|
bdftopcf,
|
||||||
mkfontscale,
|
mkfontscale,
|
||||||
writeScript,
|
writeScript,
|
||||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
|
||||||
bdftopcf
|
bdftopcf
|
||||||
mkfontscale
|
mkfontscale
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ fontutil ];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
|
||||||
fontutil,
|
|
||||||
mkfontscale,
|
mkfontscale,
|
||||||
writeScript,
|
writeScript,
|
||||||
}:
|
}:
|
||||||
@@ -18,14 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ mkfontscale ];
|
||||||
pkg-config
|
|
||||||
mkfontscale
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ fontutil ];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
pkg-config,
|
|
||||||
fontutil,
|
|
||||||
bdftopcf,
|
bdftopcf,
|
||||||
mkfontscale,
|
mkfontscale,
|
||||||
writeScript,
|
writeScript,
|
||||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
|
||||||
bdftopcf
|
bdftopcf
|
||||||
mkfontscale
|
mkfontscale
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ fontutil ];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [ mkfontscale ];
|
nativeBuildInputs = [ mkfontscale ];
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
buildInputs = [ font-util ];
|
buildInputs = [ font-util ];
|
||||||
|
|
||||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ let
|
|||||||
XkbDir "${xkeyboard_config}/share/X11/xkb"
|
XkbDir "${xkeyboard_config}/share/X11/xkb"
|
||||||
FontPath "${xorg.fontadobe75dpi}/share/fonts/X11/75dpi"
|
FontPath "${xorg.fontadobe75dpi}/share/fonts/X11/75dpi"
|
||||||
FontPath "${xorg.fontadobe100dpi}/share/fonts/X11/100dpi"
|
FontPath "${xorg.fontadobe100dpi}/share/fonts/X11/100dpi"
|
||||||
FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc"
|
FontPath "${xorg.fontmiscmisc}/share/fonts/X11/misc"
|
||||||
FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc"
|
FontPath "${xorg.fontcursormisc}/share/fonts/X11/misc"
|
||||||
${lib.optionalString unfreeFonts ''
|
${lib.optionalString unfreeFonts ''
|
||||||
FontPath "${xorg.fontbhlucidatypewriter75dpi}/share/fonts/X11/75dpi"
|
FontPath "${xorg.fontbhlucidatypewriter75dpi}/share/fonts/X11/75dpi"
|
||||||
FontPath "${xorg.fontbhlucidatypewriter100dpi}/share/fonts/X11/100dpi"
|
FontPath "${xorg.fontbhlucidatypewriter100dpi}/share/fonts/X11/100dpi"
|
||||||
|
|||||||
Reference in New Issue
Block a user