texmacs: 1.0.7.11 -> 1.99.2
This commit is contained in:
parent
9e0dcf3bd9
commit
f3c1ad6baf
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, guile, libX11, libXext, xmodmap, which, makeWrapper, freetype,
|
{stdenv, fetchurl, guile_1_8, qt4, zlib, xmodmap, which, makeWrapper, freetype,
|
||||||
tex ? null,
|
tex ? null,
|
||||||
aspell ? null,
|
aspell ? null,
|
||||||
ghostscriptX ? null,
|
ghostscriptX ? null,
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "TeXmacs";
|
pname = "TeXmacs";
|
||||||
version = "1.0.7.11";
|
version = "1.99.2";
|
||||||
extraFontsSrc = fetchurl {
|
extraFontsSrc = fetchurl {
|
||||||
url = "ftp://ftp.texmacs.org/pub/TeXmacs/fonts/TeXmacs-extra-fonts-1.0-noarch.tar.gz";
|
url = "ftp://ftp.texmacs.org/pub/TeXmacs/fonts/TeXmacs-extra-fonts-1.0-noarch.tar.gz";
|
||||||
sha256 = "0hylgjmd95y9yahbblmawkkw0i71vb145xxv2xqrmff81301n6k7";
|
sha256 = "0hylgjmd95y9yahbblmawkkw0i71vb145xxv2xqrmff81301n6k7";
|
||||||
@ -39,11 +39,11 @@ stdenv.mkDerivation rec {
|
|||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.texmacs.org/pub/${pname}/targz/${name}-src.tar.gz";
|
url = "http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
|
||||||
sha256 = "0x1r9417dzbrxf785faq1vjszqdj94ig2lzwm8sd92bxcxr6knfa";
|
sha256 = "0l48g9746igiaxw657shm8g3xxk565vzsviajlrxqyljbh6py0fs";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ guile libX11 libXext makeWrapper ghostscriptX freetype ];
|
buildInputs = [ guile_1_8 qt4 makeWrapper ghostscriptX freetype ];
|
||||||
|
|
||||||
patchPhase = (if tex == null then ''
|
patchPhase = (if tex == null then ''
|
||||||
gunzip < ${fullFontsSrc} | (cd TeXmacs && tar xvf -)
|
gunzip < ${fullFontsSrc} | (cd TeXmacs && tar xvf -)
|
||||||
@ -66,6 +66,12 @@ stdenv.mkDerivation rec {
|
|||||||
(if tex == null then "" else "${tex}/bin:") +
|
(if tex == null then "" else "${tex}/bin:") +
|
||||||
"${xmodmap}/bin:${which}/bin";
|
"${xmodmap}/bin:${which}/bin";
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
bin="$out/libexec/TeXmacs/bin/texmacs.bin"
|
||||||
|
rpath=$(patchelf --print-rpath "$bin")
|
||||||
|
patchelf --set-rpath "$rpath:${zlib}/lib" "$bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "WYSIWYW editing platform with special features for scientists";
|
description = "WYSIWYW editing platform with special features for scientists";
|
||||||
longDescription =
|
longDescription =
|
||||||
|
@ -3109,7 +3109,6 @@ let
|
|||||||
texmacs = callPackage ../applications/editors/texmacs {
|
texmacs = callPackage ../applications/editors/texmacs {
|
||||||
tex = texLive; /* tetex is also an option */
|
tex = texLive; /* tetex is also an option */
|
||||||
extraFonts = true;
|
extraFonts = true;
|
||||||
guile = guile_1_8;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
texmaker = callPackage ../applications/editors/texmaker { };
|
texmaker = callPackage ../applications/editors/texmaker { };
|
||||||
|
Loading…
Reference in New Issue
Block a user