From fba02ab5cef2bfceaf97ee19d81af866854d54be Mon Sep 17 00:00:00 2001 From: thialme-guest Date: Sun, 30 Aug 2009 16:56:26 +0000 Subject: [PATCH] + Made removal of nonexistent photos quiet by the use of the force option. + Updated generated tex file in latex mode so that it uses the grffile package. This allows pdflatex to process our tex file assuming the photos are previously converted to PDF. (Closes: #542478) + Added texlive-latex-recommended as a suggested package in debian/control. It contains the grffile latex package. git-svn-id: svn://svn.debian.org/pgp-tools/trunk@440 b513b33f-fedd-0310-b452-c3deb5f4c849 --- debian/changelog | 6 ++++++ debian/control | 2 +- gpgsigs/gpgsigs | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8d4be63..63febc2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,12 @@ signing-party (1.1.1-2) UNRELEASED; urgency=low + Added patch from Roland Rosenfeld to support RIPEMD160 checksum. (Closes: #533747). + Updated man page to mention support for SHA256 and RIPEMD160 checksum. + + Made removal of nonexistent photos quiet by the use of the force option. + + Updated generated tex file in latex mode so that it uses the grffile + package. This allows pdflatex to process our tex file assuming the photos + are previously converted to PDF. (Closes: #542478) + + Added texlive-latex-recommended as a suggested package in debian/control. + It contains the grffile latex package. * caff: Updated check for the local-user keyids. + Moved the current check to a new function get_local_user_keys(). + Warned the user if a local-user keyid is not listed as a keyid in diff --git a/debian/control b/debian/control index 636e225..1ff1b43 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,7 @@ Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, gnupg, Recommends: exim4 | mail-transport-agent, libtext-iconv-perl | libintl-perl | recode, dialog | whiptail, libpaper-utils, # springraph libgd-gd2-noxpm-perl | libgd-gd2-perl -Suggests: imagemagick | graphicsmagick-imagemagick-compat, wipe, +Suggests: imagemagick | graphicsmagick-imagemagick-compat, wipe, texlive-latex-recommended, # keyanalyze mutt Replaces: keylookup (<< 3.0), sig2dot (<< 1), springgraph (<< 1), keyanalyze (<< 0.1) diff --git a/gpgsigs/gpgsigs b/gpgsigs/gpgsigs index 5ba8c12..cc7bad0 100755 --- a/gpgsigs/gpgsigs +++ b/gpgsigs/gpgsigs @@ -181,7 +181,7 @@ while () { next if $uidstatus eq "r"; if ($latex and not $photocount) { # call once per key my ($shortkey) = substr $key, -8; - system "rm $shortkey.[1-9]*.eps"; + system "rm -f $shortkey.[1-9]*.eps"; system "gpg --photo-viewer 'gpgsigs-eps-helper $shortkey' --list-options show-photos --list-key $key > /dev/null"; $photocount = 1; } @@ -307,6 +307,7 @@ if ($latex) { \usepackage[margin=2cm]{geometry} \usepackage{alltt} \usepackage{graphicx} +\usepackage{grffile} \begin{document} \begin{alltt} EOF @@ -354,7 +355,7 @@ while () { if ($latex and ($uid =~ /^\[jpeg image/)) { $photocount++; print WRITE "\\begin{flushright}\n"; - print WRITE "\\includegraphics[height=3cm]{$key.$photocount.eps}\n"; + print WRITE "\\includegraphics[height=3cm]{$key.$photocount}\n"; print WRITE "\\end{flushright}\n"; } } -- 2.30.2