[clhep] 01/05: Replace psfig by graphicx

Andreas Tille tille at debian.org
Fri Jan 20 10:46:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository clhep.

commit 8cb943b802fb20ac4f9b48beb233e6f71456296d
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jan 20 11:25:44 2017 +0100

    Replace psfig by graphicx
---
 debian/changelog                               |  8 ++++
 debian/patches/replace_psfig_by_graphicx.patch | 59 ++++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 68 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 108b396..c498d93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+clhep (2.1.3.1-2) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Replace psfig by graphicx
+    Closes: #820797
+
+ -- Andreas Tille <tille at debian.org>  Fri, 20 Jan 2017 11:21:20 +0100
+
 clhep (2.1.3.1-1) unstable; urgency=low
 
   * Upload to sid.
diff --git a/debian/patches/replace_psfig_by_graphicx.patch b/debian/patches/replace_psfig_by_graphicx.patch
new file mode 100644
index 0000000..67692fc
--- /dev/null
+++ b/debian/patches/replace_psfig_by_graphicx.patch
@@ -0,0 +1,59 @@
+Description: Replace psfig by graphicx
+ psfig is non-free and graphicx can do the same job
+Bug-Debian: https://bugs.debian.org/820797
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 20 Jan 2017 11:21:20 +0100
+
+--- a/GenericFunctions/doc/genericFunctions.tex
++++ b/GenericFunctions/doc/genericFunctions.tex
+@@ -1,5 +1,5 @@
+ \documentclass{report}
+-\input{psfig.sty}
++\usepackage{graphicx}
+ \oddsidemargin 0.0in
+ \evensidemargin 0.0in
+ \setlength{\unitlength}{1mm}
+@@ -122,14 +122,14 @@ enough to be built easily but complicate
+ features of the library.
+  
+ \begin{figure}
+-\centerline{\makebox{\psfig{figure=example.ps}}}
++\centerline{\makebox{\includegraphics{example.ps}}}
+ \caption{Example.  Use of Generic Functions libary.  See text for explanation.}
+ \label{ref:ExampleCode}
+ \end{figure}
+  
+    
+ \begin{figure}
+-\centerline{\makebox{\psfig{figure=WideOpen.ps}}}
++\centerline{\makebox{\includegraphics{WideOpen.ps}}}
+ \caption{Picture of the example application which is discussed in the text.
+ Above, the impulse function shows both slots wide open. Each of the sliders
+ changes parameters and causes the plotter to update.  Below, the response function
+@@ -138,7 +138,7 @@ shows the classic two-slit interference
+ \end{figure}
+ 
+ \begin{figure}
+-\centerline{\makebox{\psfig{figure=PartiallyClosed.ps}}}
++\centerline{\makebox{\includegraphics{PartiallyClosed.ps}}}
+ \caption{The parameter values are now changed.  All of the functions, both primitive
+ and derived, change their shape in response.  Not that changing one parameter has
+ affected both functions.}
+@@ -146,7 +146,7 @@ affected both functions.}
+ \end{figure}
+ 
+ \begin{figure}
+-\centerline{\makebox{\psfig{figure=TotallyClosed.ps}}}
++\centerline{\makebox{\includegraphics{TotallyClosed.ps}}}
+ \caption{The second slit has been effectively closed, by setting the intensity
+ of light through this slit to zero.  The two-slit interference pattern then
+ reduces to single-slit diffraction.  This simple classroom demonstration program 
+@@ -496,7 +496,7 @@ by forming a three dimensional function
+ the illustration is the probability density function for a higher excited
+ state of hydrogen. 
+ \begin{figure}
+-\centerline{\makebox{\psfig{figure=hydrogen.ps}}}
++\centerline{\makebox{\includegraphics{hydrogen.ps}}}
+ \caption{Multidimensional functions can be expressed as a direct product
+ of lower dimensional functions; this example combines a Legendre Polynomial
+ with the product of an exponential, a power function and a Laguerre Polynomial
diff --git a/debian/patches/series b/debian/patches/series
index 9f917ad..6a932f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 soname.patch
 doxygen.conf
 clhep-config.patch
+replace_psfig_by_graphicx.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clhep.git



More information about the debian-science-commits mailing list