Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Apr 1, 2017
2 parents d9b36c3 + 4df59be commit f44ea1f
Show file tree
Hide file tree
Showing 11 changed files with 706 additions and 34 deletions.
6 changes: 0 additions & 6 deletions pkgs/development/libraries/fontconfig/2.10.nix
Expand Up @@ -8,12 +8,6 @@ stdenv.mkDerivation rec {
sha256 = "0llraqw86jmw4vzv7inskp3xxm2gc64my08iwq5mzncgfdbfza4f";
};

patches = [
# FreeType 2.7 prefixes PCF font family names with the foundry name.
# The output of fc-list and fc-query change which breaks the tests.
./test-pcf-family-names-freetype-2.7.patch
];

outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config

propagatedBuildInputs = [ freetype ];
Expand Down
4 changes: 0 additions & 4 deletions pkgs/development/libraries/fontconfig/default.nix
Expand Up @@ -33,10 +33,6 @@ stdenv.mkDerivation rec {
url = "https://cgit.freedesktop.org/fontconfig/patch/?id=1ab5258f7c";
sha256 = "0x2a4qx51j3gqcp1kp4lisdzmhrkw1zw0r851d82ksgjlc0vkbaz";
})

# FreeType 2.7 prefixes PCF font family names with the foundry name.
# The output of fc-list and fc-query change which breaks the tests.
./test-pcf-family-names-freetype-2.7.patch
];
# additionally required for the glibc-2.25 patch; avoid requiring gperf
postPatch = ''
Expand Down

This file was deleted.

9 changes: 7 additions & 2 deletions pkgs/development/libraries/freetype/default.nix
Expand Up @@ -43,8 +43,13 @@ in stdenv.mkDerivation {
++ optional (!stdenv.isLinux) gnumake;

patches =
[ ./enable-table-validation.patch ]
++ optional useEncumberedCode ./enable-subpixel-rendering.patch;
[
./pcf-introduce-driver.patch
./pcf-config-long-family-names.patch
./disable-pcf-long-family-names.patch
./enable-table-validation.patch
] ++
optional useEncumberedCode ./enable-subpixel-rendering.patch;

outputs = [ "out" "dev" ];

Expand Down
@@ -0,0 +1,15 @@
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index 5676074..37a0d00 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -856,7 +856,7 @@ FT_BEGIN_HEADER
/* If this option is activated, it can be controlled with the */
/* `no-long-family-names' property of the pcf driver module. */
/* */
-#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
+/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */


/*************************************************************************/
--
cgit v1.0-41-gc330

0 comments on commit f44ea1f

Please sign in to comment.