r46325 - in /packages/ng-spice-rework/trunk/debian: changelog control ngspice-doc.install patches/03_fix_compilation.patch rules
gudjon-guest at users.alioth.debian.org
gudjon-guest at users.alioth.debian.org
Sat Sep 28 20:16:17 UTC 2013
Author: gudjon-guest
Date: Sat Sep 28 20:16:17 2013
New Revision: 46325
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46325
Log:
* New upstream release (Closes: #706821)
* Change tcl version to 8.6
* Add pdf manual
Added:
packages/ng-spice-rework/trunk/debian/patches/03_fix_compilation.patch
Modified:
packages/ng-spice-rework/trunk/debian/changelog
packages/ng-spice-rework/trunk/debian/control
packages/ng-spice-rework/trunk/debian/ngspice-doc.install
packages/ng-spice-rework/trunk/debian/rules
Modified: packages/ng-spice-rework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/changelog?rev=46325&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/changelog (original)
+++ packages/ng-spice-rework/trunk/debian/changelog Sat Sep 28 20:16:17 2013
@@ -1,11 +1,13 @@
ngspice (25-1) unstable; urgency=low
- * New upstream release
+ * New upstream release (Closes: #706821)
* Bump standards version to 3.9.4
* Make VCS field canonical
* Add patch 03_fix_compilation.patch
+ * Change tcl version to 8.6
+ * Add pdf manual
- -- Gudjon I. Gudjonsson <gudjon at gudjon.org> Thu, 15 Aug 2013 06:34:43 +0200
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org> Thu, 26 Sep 2013 22:33:07 +0200
ngspice (24-1) unstable; urgency=low
Modified: packages/ng-spice-rework/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/control?rev=46325&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/control (original)
+++ packages/ng-spice-rework/trunk/debian/control Sat Sep 28 20:16:17 2013
@@ -6,7 +6,7 @@
Andreas Tille <tille at debian.org>
Build-Depends: debhelper (>= 8), automake, libtool, libxaw7-dev, flex,
bison, gfortran, libedit-dev, libncurses5-dev,
- texinfo, tcl8.4-dev, tcl8.4, tk8.4-dev, tk8.4, blt-dev, hardening-wrapper
+ texinfo, tcl8.6-dev, tcl8.6, tk8.6-dev, tk8.6, blt-dev, hardening-wrapper
Build-Depends-Indep: lyx, elyxer, texlive, texlive-latex-extra, texlive-lang-greek,
texlive-generic-recommended, imagemagick
Standards-Version: 3.9.4
Modified: packages/ng-spice-rework/trunk/debian/ngspice-doc.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice-doc.install?rev=46325&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice-doc.install (original)
+++ packages/ng-spice-rework/trunk/debian/ngspice-doc.install Sat Sep 28 20:16:17 2013
@@ -1 +1,2 @@
usr/share/doc/ngspice-doc/*
+
Added: packages/ng-spice-rework/trunk/debian/patches/03_fix_compilation.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/patches/03_fix_compilation.patch?rev=46325&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/03_fix_compilation.patch (added)
+++ packages/ng-spice-rework/trunk/debian/patches/03_fix_compilation.patch Sat Sep 28 20:16:17 2013
@@ -0,0 +1,45 @@
+#Fix minor compilation errors
+#Well, in tclspice.c I am probably commenting out something important. Will
+# be sent to upstream.
+--- a/src/xspice/mif/mifgetmod.c
++++ b/src/xspice/mif/mifgetmod.c
+@@ -224,7 +224,7 @@
+
+ sprintf(temp, "MIF: unrecognized parameter (%s) - ignored\n", parm);
+
+- fprintf(stdout,temp);
++ fprintf(stdout,"%s",temp);
+ err = TMALLOC(char, 2 * strlen(temp) + 2);// K.A. added 5 March 2000
+
+ *err = '\0';// K.A. added 5 March 2000
+--- a/src/xspice/evt/evtinit.c
++++ b/src/xspice/evt/evtinit.c
+@@ -222,7 +222,7 @@
+ event_node->name,
+ err_collide);
+
+- fprintf(stdout,errMsg);
++ fprintf(stdout,"%s",errMsg);
+
+ return(E_PRIVATE);
+ }
+--- a/src/tclspice.c
++++ b/src/tclspice.c
+@@ -1457,7 +1457,7 @@
+ (ft_curckt->ci_ckt)->CKTdelta = atof(argv[1]);
+
+ /*Ok, as log as string less than 200 chars*/
+- sprintf(interp->result, "%G", (ft_curckt->ci_ckt)->CKTdelta);
++ //sprintf(interp->result, "%G", (ft_curckt->ci_ckt)->CKTdelta);
+ return TCL_OK;
+ }
+
+@@ -1485,7 +1485,7 @@
+ job->TRANmaxStep = atof(argv[1]);
+
+ /*Ok, as log as string less than 200 chars*/
+- sprintf(interp->result, "%G", job->TRANmaxStep);
++ //sprintf(interp->result, "%G", job->TRANmaxStep);
+ return TCL_OK;
+ }
+
Modified: packages/ng-spice-rework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/rules?rev=46325&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/rules (original)
+++ packages/ng-spice-rework/trunk/debian/rules Sat Sep 28 20:16:17 2013
@@ -58,7 +58,7 @@
--enable-cider \
--disable-debug \
--disable-x \
- --with-tcl=/usr/lib/tcl8.4 \
+ --with-tcl=/usr/lib/tcl8.6 \
CFLAGS="$(CFLAGS)")
touch $@
@@ -74,6 +74,7 @@
# Build documentation
dh_testdir
cd build/manual && lyx --export ps manual.lyx
+ cd build/manual && lyx --export pdf2 manual.lyx
cd build/manual && lyx --export html manual.lyx
touch $@
@@ -118,6 +119,8 @@
$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
install -o root -g root -m 644 build/manual/manual.ps \
$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/ngspice.ps
+ install -o root -g root -m 644 build/manual/manual.pdf \
+ $(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/ngspice.pdf
# Removing /usr/share/info directory
rm -rf $(CURDIR)/debian/tmp/usr/share/info
chmod a-x $(CURDIR)/build/tclspice/examples/tclspice/*/*.tcl
More information about the debian-science-commits
mailing list