mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 11:03:15 +03:00
gentium: 6.200 -> 7.000 (#414001)
This commit is contained in:
commit
ecb8f8a922
8 changed files with 132 additions and 20 deletions
|
@ -16,6 +16,7 @@
|
||||||
- The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader
|
- The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader
|
||||||
|
|
||||||
- `base16-builder` node package has been removed due to lack of upstream maintenance.
|
- `base16-builder` node package has been removed due to lack of upstream maintenance.
|
||||||
|
- `gentium` package now provides `Gentium-*.ttf` files, and not `GentiumPlus-*.ttf` files like before. The font identifiers `Gentium Plus*` are available in the `gentium-plus` package, and if you want to use the more recently updated package `gentium` [by sil](https://software.sil.org/gentium/), you should update your configuration files to use the `Gentium` font identifier.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes}
|
## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes}
|
||||||
|
|
||||||
|
|
|
@ -2652,6 +2652,11 @@
|
||||||
githubId = 9315;
|
githubId = 9315;
|
||||||
name = "Zhong Jianxin";
|
name = "Zhong Jianxin";
|
||||||
};
|
};
|
||||||
|
b-fein = {
|
||||||
|
github = "b-fein";
|
||||||
|
githubId = 64250573;
|
||||||
|
name = "Benedikt Fein";
|
||||||
|
};
|
||||||
b-m-f = {
|
b-m-f = {
|
||||||
email = "maximilian@sodawa.com";
|
email = "maximilian@sodawa.com";
|
||||||
github = "b-m-f";
|
github = "b-m-f";
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
gentium
|
gentium
|
||||||
];
|
];
|
||||||
fonts.fontconfig.defaultFonts = {
|
fonts.fontconfig.defaultFonts = {
|
||||||
serif = [ "Gentium Plus" ];
|
serif = [ "Gentium" ];
|
||||||
sansSerif = [ "Cantarell" ];
|
sansSerif = [ "Cantarell" ];
|
||||||
monospace = [ "Source Code Pro" ];
|
monospace = [ "Source Code Pro" ];
|
||||||
emoji = [ "Twitter Color Emoji" ];
|
emoji = [ "Twitter Color Emoji" ];
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.succeed("fc-match serif | grep '\"Gentium Plus\"'")
|
machine.succeed("fc-match serif | grep '\"Gentium\"'")
|
||||||
machine.succeed("fc-match sans-serif | grep '\"Cantarell\"'")
|
machine.succeed("fc-match sans-serif | grep '\"Cantarell\"'")
|
||||||
machine.succeed("fc-match monospace | grep '\"Source Code Pro\"'")
|
machine.succeed("fc-match monospace | grep '\"Source Code Pro\"'")
|
||||||
machine.succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'")
|
machine.succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'")
|
||||||
|
|
53
pkgs/by-name/ge/gentium-book/package.nix
Normal file
53
pkgs/by-name/ge/gentium-book/package.nix
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchzip,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "gentium-book";
|
||||||
|
version = "7.000";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "http://software.sil.org/downloads/r/gentium/GentiumBook-${finalAttrs.version}.zip";
|
||||||
|
hash = "sha256-A/QZX8OYrifaxChC08SNOaspdnSr8PxOtYgFAwUc5WY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||||
|
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||||
|
cp -r documentation $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://software.sil.org/gentium/";
|
||||||
|
description = "High-quality typeface family for Latin, Cyrillic, and Greek";
|
||||||
|
longDescription = ''
|
||||||
|
Gentium is a typeface family designed to enable the diverse ethnic groups
|
||||||
|
around the world who use the Latin, Cyrillic and Greek scripts to produce
|
||||||
|
readable, high-quality publications. It supports a wide range of Latin and
|
||||||
|
Cyrillic-based alphabets.
|
||||||
|
|
||||||
|
The design is intended to be highly readable, reasonably compact, and
|
||||||
|
visually attractive. The additional ‘extended’ Latin letters are designed
|
||||||
|
to naturally harmonize with the traditional 26 ones. Diacritics are
|
||||||
|
treated with careful thought and attention to their use. Gentium also
|
||||||
|
supports both polytonic and monotonic Greek.
|
||||||
|
|
||||||
|
This package contains the regular and italic styles for the Gentium Book
|
||||||
|
font family, along with documentation.
|
||||||
|
'';
|
||||||
|
downloadPage = "https://software.sil.org/gentium/download/";
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
b-fein
|
||||||
|
raskin
|
||||||
|
rycee
|
||||||
|
];
|
||||||
|
license = lib.licenses.ofl;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
52
pkgs/by-name/ge/gentium-plus/package.nix
Normal file
52
pkgs/by-name/ge/gentium-plus/package.nix
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchzip,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "gentium-plus";
|
||||||
|
version = "6.200";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${finalAttrs.version}.zip";
|
||||||
|
hash = "sha256-gpVOtmF4Kp3y1Rm00c4o3WQEskO7mY1Z5SVaYHI0hzg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||||
|
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||||
|
cp -r documentation $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://software.sil.org/gentium/";
|
||||||
|
description = "High-quality typeface family for Latin, Cyrillic, and Greek";
|
||||||
|
longDescription = ''
|
||||||
|
Gentium is a typeface family designed to enable the diverse ethnic groups
|
||||||
|
around the world who use the Latin, Cyrillic and Greek scripts to produce
|
||||||
|
readable, high-quality publications. It supports a wide range of Latin and
|
||||||
|
Cyrillic-based alphabets.
|
||||||
|
|
||||||
|
The design is intended to be highly readable, reasonably compact, and
|
||||||
|
visually attractive. The additional ‘extended’ Latin letters are designed
|
||||||
|
to naturally harmonize with the traditional 26 ones. Diacritics are
|
||||||
|
treated with careful thought and attention to their use. Gentium Plus also
|
||||||
|
supports both polytonic and monotonic Greek.
|
||||||
|
|
||||||
|
This package contains the regular and italic styles for the Gentium Plus
|
||||||
|
font family, along with documentation.
|
||||||
|
'';
|
||||||
|
downloadPage = "https://software.sil.org/gentium/download/";
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
raskin
|
||||||
|
rycee
|
||||||
|
];
|
||||||
|
license = lib.licenses.ofl;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
|
@ -4,26 +4,26 @@
|
||||||
fetchzip,
|
fetchzip,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "gentium";
|
pname = "gentium";
|
||||||
version = "6.200";
|
version = "7.000";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip";
|
url = "http://software.sil.org/downloads/r/gentium/Gentium-${finalAttrs.version}.zip";
|
||||||
hash = "sha256-gpVOtmF4Kp3y1Rm00c4o3WQEskO7mY1Z5SVaYHI0hzg=";
|
hash = "sha256-RBBecFdi/yyFfBk1CcQebOuAdKNUczpwOP52zVtbc2o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||||
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${pname}-${version}
|
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||||
cp -r documentation $out/share/doc/${pname}-${version}
|
cp -r documentation $out/share/doc/${finalAttrs.pname}-${finalAttrs.version}
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://software.sil.org/gentium/";
|
homepage = "https://software.sil.org/gentium/";
|
||||||
description = "High-quality typeface family for Latin, Cyrillic, and Greek";
|
description = "High-quality typeface family for Latin, Cyrillic, and Greek";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -35,18 +35,19 @@ stdenvNoCC.mkDerivation rec {
|
||||||
The design is intended to be highly readable, reasonably compact, and
|
The design is intended to be highly readable, reasonably compact, and
|
||||||
visually attractive. The additional ‘extended’ Latin letters are designed
|
visually attractive. The additional ‘extended’ Latin letters are designed
|
||||||
to naturally harmonize with the traditional 26 ones. Diacritics are
|
to naturally harmonize with the traditional 26 ones. Diacritics are
|
||||||
treated with careful thought and attention to their use. Gentium Plus also
|
treated with careful thought and attention to their use. Gentium also
|
||||||
supports both polytonic and monotonic Greek.
|
supports both polytonic and monotonic Greek.
|
||||||
|
|
||||||
This package contains the regular and italic styles for the Gentium Plus
|
This package contains the regular and italic styles for the Gentium font
|
||||||
font family, along with documentation.
|
family, along with documentation.
|
||||||
'';
|
'';
|
||||||
downloadPage = "https://software.sil.org/gentium/download/";
|
downloadPage = "https://software.sil.org/gentium/download/";
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
|
b-fein
|
||||||
raskin
|
raskin
|
||||||
rycee
|
rycee
|
||||||
];
|
];
|
||||||
license = licenses.ofl;
|
license = lib.licenses.ofl;
|
||||||
platforms = platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
buildNimPackage,
|
buildNimPackage,
|
||||||
fetchFromSourcehut,
|
fetchFromSourcehut,
|
||||||
gentium,
|
gentium-plus,
|
||||||
makeDesktopItem,
|
makeDesktopItem,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ buildNimPackage (finalAttrs: {
|
||||||
|
|
||||||
lockFile = ./lock.json;
|
lockFile = ./lock.json;
|
||||||
|
|
||||||
HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-Regular.ttf";
|
HOTTEXT_FONT_PATH = "${gentium-plus}/share/fonts/truetype/GentiumPlus-Regular.ttf";
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
categories = [ "Utility" ];
|
categories = [ "Utility" ];
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
libiconv,
|
libiconv,
|
||||||
# FONTCONFIG_FILE
|
# FONTCONFIG_FILE
|
||||||
makeFontsConf,
|
makeFontsConf,
|
||||||
gentium,
|
gentium-plus,
|
||||||
|
|
||||||
# passthru.tests
|
# passthru.tests
|
||||||
runCommand,
|
runCommand,
|
||||||
|
@ -100,7 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
FONTCONFIG_FILE = makeFontsConf {
|
FONTCONFIG_FILE = makeFontsConf {
|
||||||
fontDirectories = [
|
fontDirectories = [
|
||||||
gentium
|
gentium-plus
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue