forked from mirrors/nixpkgs
Moved pidgin-latex to TeXLive
svn path=/nixpkgs/trunk/; revision=11658
This commit is contained in:
parent
f7d9bb93bf
commit
34460a0b56
|
@ -1,5 +1,5 @@
|
|||
{stdenv, fetchurl, pidgin, imagemagick, ghostscript,
|
||||
pkgconfig, glib, gtk, tetex}:
|
||||
pkgconfig, glib, gtk, texLive}:
|
||||
stdenv.mkDerivation {
|
||||
name = "pidgin-latex";
|
||||
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
|
||||
preBuild = "
|
||||
sed -e '/^PREFIX/d' -i Makefile ;
|
||||
sed -e 's@/usr/bin/latex@${tetex}/bin/pdflatex@g' -i pidgin-latex.h
|
||||
sed -e 's@/usr/bin/latex@${texLive}/bin/pdflatex@g' -i pidgin-latex.h
|
||||
sed -e 's@/usr/bin/convert@${imagemagick}/bin/convert@g' -i pidgin-latex.h
|
||||
sed -e 's@.*convert_path.*@const gchar *convert = CONVERT_PATH;@'
|
||||
sed -e 's@.*latex_path.*@const gchar *convert = LATEX_PATH;@'
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
|||
postInstall = "mkdir -p \${out}/share/pidgin-latex;
|
||||
ln -s \${out}/lib/pidgin/pidgin-latex.so \${out}/share/pidgin-latex/";
|
||||
|
||||
buildInputs = [pidgin imagemagick ghostscript pkgconfig glib gtk tetex];
|
||||
buildInputs = [pidgin imagemagick ghostscript pkgconfig glib gtk texLive];
|
||||
|
||||
meta = {
|
||||
description = "
|
||||
|
|
|
@ -5198,11 +5198,12 @@ let pkgs = rec {
|
|||
inherit (xlibs) libXScrnSaver;
|
||||
};
|
||||
|
||||
pidginlatex = import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex {
|
||||
inherit fetchurl stdenv tetex pkgconfig ghostscript pidgin;
|
||||
pidginlatexFun = lib.sumArgs (import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex) {
|
||||
inherit fetchurl stdenv pkgconfig ghostscript pidgin texLive;
|
||||
imagemagick = imagemagickBig;
|
||||
inherit (gtkLibs) glib gtk;
|
||||
};
|
||||
pidginlatex = pidginlatexFun null;
|
||||
|
||||
pidginotr = import ../applications/networking/instant-messengers/pidgin-plugins/otr {
|
||||
inherit fetchurl stdenv libotr pidgin;
|
||||
|
|
Loading…
Reference in a new issue