diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2007-11-11 07:54:45 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2007-11-11 07:54:45 +0000 |
commit | 61f4326752b238072fecfac164f7b9b1028f651d (patch) | |
tree | 496c9af9b89eefcdcb39c6e6aceab883cad1f2f3 /pkgs/applications/networking | |
parent | f38d6d0f1511c945daa181292e1f629aee467b80 (diff) | |
download | nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.tar nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.tar.gz nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.tar.bz2 nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.tar.lz nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.tar.xz nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.tar.zst nixpkgs-61f4326752b238072fecfac164f7b9b1028f651d.zip |
Added possibility to enable SVG in ImageMagick, updated pidgin-latex, added missed xorgserver xkb patch.
svn path=/nixpkgs/trunk/; revision=9623
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix index fa6e123c45b..894da72b38f 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix @@ -3,16 +3,20 @@ stdenv.mkDerivation { name = "pidgin-latex"; - src = fetchurl { - url = http://tapas.affenbande.org/pidgin-latex.tgz; - md5 = "12509b38f7a92bb22d565cc73cbd83c7"; - }; + src = + fetchurl { + url = http://tapas.affenbande.org/pidgin-latex/pidgin-latex-0.9.tgz; + sha256 = "1yqd3qgxd3n8hm60qg7yv7j1crr6f3d4yrdpgwdpw2pyf92p8nxp"; + }; - preBuild = "sed -e '/^PREFIX/d' -i Makefile ; - sed -e 's@/bin/bash@/var/run/current-system/sw&@; s@/dev/stdin@/proc/self/fd/0@' -i pidgin-latex-convert.sh; - sed -e 's@^latex.*@pdf& ; if let \$?; then rm /tmp/pidgin-latex-tmp.png; exit 1; fi; @' -i pidgin-latex-convert.sh ; - sed -e 's@[.]dvi@.pdf@' -i pidgin-latex-convert.sh; - "; + 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/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;@' + sed -e 's/%s.dvi/%s.pdf/' -i pidgin-latex.c + "; makeFlags="PREFIX=\$(out)"; |