summary refs log tree commit diff
path: root/pkgs/development/libraries/silgraphite
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2013-10-14 10:36:39 +0400
committerMichael Raskin <7c6f434c@mail.ru>2013-10-14 10:58:54 +0400
commit776adb5704262ecc884fc2d003988ffb23f4df0a (patch)
treecb161dec170faf0311ee0e02e02423fff332ad1c /pkgs/development/libraries/silgraphite
parent4dee7de246e6037d494d798efd2a383d9fccc8cc (diff)
downloadnixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.tar
nixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.gz
nixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.bz2
nixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.lz
nixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.xz
nixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.zst
nixpkgs-776adb5704262ecc884fc2d003988ffb23f4df0a.zip
Updating TeXLive to 2013 using updated Debian snapshots.
Kept the old hacks where they don't break the build in case they things
they fix are still relevant.

I checked that the upgrade doesn't break:
1) Asymptote and EProver builds.
2) My XeLaTeX demo from configurations/ repository.
3) Some of my own files.

The upgrade fixes problems with simultaneous use of 3D and LaTeX labels
in Asymptote.

Please provide a test that worked previously and is broken now if you
need to revert this update or its parts.
Diffstat (limited to 'pkgs/development/libraries/silgraphite')
-rw-r--r--pkgs/development/libraries/silgraphite/graphite2.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/silgraphite/graphite2.nix b/pkgs/development/libraries/silgraphite/graphite2.nix
new file mode 100644
index 00000000000..0a36efbc982
--- /dev/null
+++ b/pkgs/development/libraries/silgraphite/graphite2.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, pkgconfig, freetype, libXft, pango, fontconfig, cmake }:
+
+stdenv.mkDerivation rec {
+  version = "1.2.3";
+  name = "graphite2-${version}";
+  
+  src = fetchurl {
+    url = "mirror://sourceforge/silgraphite/graphite2/${name}.tgz";
+    sha256 = "1xgwnd81gm6p293x8paxb3yisnvpj5qnv1dzr7bjdi7b7h00ls7g";
+  };
+
+  buildInputs = [pkgconfig freetype libXft pango fontconfig cmake];
+
+  NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
+
+  meta = {
+    description = "An advanced font engine";
+    maintainers = [ stdenv.lib.maintainers.raskin ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}