3
0
Fork 0
forked from mirrors/nixpkgs

fontforge: 20150824 -> 20160404

This commit is contained in:
Nikolay Amiantov 2016-06-11 01:41:44 +03:00
parent 5dc116e456
commit 9a1d6fe701
2 changed files with 10 additions and 11 deletions

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
for i in *.sfd; do
fontforge -c \
fontforge -lang=ff -c \
'Open($1);
ScaleToEm(1000);
Reencode("unicode");

View file

@ -1,20 +1,19 @@
{ stdenv, fetchurl, fetchpatch, lib
{ stdenv, fetchFromGitHub, fetchpatch, lib
, autoconf, automake, gnum4, libtool, git, perl, gnulib, uthash, pkgconfig, gettext
, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, pango
, withGTK ? false, gtk2
, withPython ? false # python-scripting was breaking inconsolata and libertine builds
, withPython ? true
}:
let
version = "20150824"; # also tagged v2.1.0
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "fontforge-${version}";
version = "20160404";
src = fetchurl {
url = "https://github.com/fontforge/fontforge/archive/${version}.tar.gz";
sha256 = "09zzg166lw5ldbzsa2j9x7hizn6y3ld1kf4abfkiy301rdqj9ar8";
src = fetchFromGitHub {
owner = "fontforge";
repo = "fontforge";
rev = version;
sha256 = "15nacq84n9gvlzp3slpmfrrbh57kfb6lbdlc46i7aqgci4qv6fg0";
};
patches = [(fetchpatch {