Hello,

I'm doing an NMU of klic to fix #368962 and #368964; diff attached.

Thanks,

Matej
diff -u klic-3.003-gm1/debian/changelog klic-3.003-gm1/debian/changelog
--- klic-3.003-gm1/debian/changelog
+++ klic-3.003-gm1/debian/changelog
@@ -1,3 +1,16 @@
+klic (3.003-gm1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add a build dependency on `xterm | x-terminal-emulator' so that
+    Configure can find it.  Closes: #368962, #368964.
+  * debian/configure.expect:
+    - Unroll loop into a sequence of answers to make sure it doesn't go
+      berserk in the future.
+    - Use /usr/bin/x-terminal-emulator rather than
+      /etc/alternatives/x-terminal-emulator (Policy 11.8.3).
+
+ -- Matej Vela <[EMAIL PROTECTED]>  Mon,  5 Jun 2006 22:24:32 +0200
+
 klic (3.003-gm1-2) unstable; urgency=low
 
   * debian/rules: Fix enabling execution chmod for configure.expect.
diff -u klic-3.003-gm1/debian/control klic-3.003-gm1/debian/control
--- klic-3.003-gm1/debian/control
+++ klic-3.003-gm1/debian/control
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: GOTO Masanori <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), expect
+Build-Depends: debhelper (>= 4.0.0), expect, xterm | x-terminal-emulator
 Standards-Version: 3.7.0
 
 Package: klic
diff -u klic-3.003-gm1/debian/configure.expect 
klic-3.003-gm1/debian/configure.expect
--- klic-3.003-gm1/debian/configure.expect
+++ klic-3.003-gm1/debian/configure.expect
@@ -5,25 +5,23 @@
-while { 1 } {
-       expect  "Configure also for parallel implementations?  (yes or no)" { 
send "\n" } \
-               "Which C compiler to use?" { send "\n" } \
-               "Which optimization level to use?" { send "\n" } \
-               "Which debug flags to use?" { send "\n" } \
-               "Which additional optimization flags to use?" { send "\n" } \
-               "Which C compiler flags to use?" { send "\n" } \
-               "Which Fortran compiler to use?" { send "\n" } \
-               "May I use gcc for linkage also?  (yes or no)" { send "\n" } \
-               "Which link command to use?" { send "\n" } \
-               "Does your system support I/O ready signals? (yes or no)" { 
send "\n" } \
-               "Which installation root directory to use?" { send "/usr\n" } \
-               "May I use the default setting? (yes or no)" { send "\n" } \
-               "Which user command directory to use?" { send "\n" } \
-               "Which library directory to use?" { send "\n" } \
-               "Which include file directory to use?" { send "\n" } \
-               "Do you want to change the default?  (yes or no)" { send "\n" } 
\
-               "Which default include file directory directory to use?" { send 
"\n" } \
-               "Do you want to change the default?  (yes or no)" { send "\n" } 
\
-               "Do you want to change the default?  (yes or no)" { send "\n" } 
\
-               "Do you want to use X-based multi-window tracer? (yes or no)" { 
send "yes\n" } \
-               "Which Terminal program for X to use?" { send 
"/etc/alternatives/x-terminal-emulator\n" } \
-               "Which default parallelism in installation to use?" { send "\n" 
} \
-               "eof" { break }
-}
+expect "Configure also for parallel implementations?  (yes or no)" { send "\n" 
}
+expect "Which C compiler to use?" { send "\n" }
+expect "Which optimization level to use?" { send "\n" }
+expect "Which debug flags to use?" { send "\n" }
+expect "Which additional optimization flags to use?" { send "\n" }
+expect "Which C compiler flags to use?" { send "\n" }
+expect "Which Fortran compiler to use?" { send "\n" }
+expect "May I use gcc for linkage also?  (yes or no)" { send "\n" }
+expect "Which link command to use?" { send "\n" }
+expect "Does your system support I/O ready signals? (yes or no)" { send "\n" }
+expect "Which installation root directory to use?" { send "/usr\n" }
+expect "May I use the default setting? (yes or no)" { send "\n" }
+expect "Which user command directory to use?" { send "\n" }
+expect "Which library directory to use?" { send "\n" }
+expect "Which include file directory to use?" { send "\n" }
+expect "Do you want to change the default?  (yes or no)" { send "\n" }
+expect "Which default include file directory directory to use?" { send "\n" }
+expect "Do you want to change the default?  (yes or no)" { send "\n" }
+expect "Do you want to change the default?  (yes or no)" { send "\n" }
+expect "Do you want to use X-based multi-window tracer? (yes or no)" { send 
"yes\n" }
+expect "Which Terminal program for X to use?" { send 
"/usr/bin/x-terminal-emulator\n" }
+expect "Which default parallelism in installation to use?" { send "\n" }
+expect "eof"

Reply via email to