[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682278: unblock: gnat-gps/5.0-12



Package: release.debian.org
Severity: normal

Please unblock gnat-gps.  The first bug that this upload fixes, #682229,
is a grave functionality bug.  I wrote in the bug report:

> Without the patch, gnat-gps hangs when trying to edit the project
> properties and requires a "killall gnat-gps"; not even closing all
> windows will kill the process.  I deem this a grave functionality bug
> worthy of a freeze exception.

The other bug, #682001, is an FTBFS on hurd-i386, severity important.

Packaging changes since 5.0-11, from the version control system,
including changelog entry, are appended in-line below.

(the program gprconfig is provided by the package gprbuild, so the
Suggests: entry in debian/control is correct).

-- 
Ludovic Brenta.




============================================================
--- debian/changelog	55b549f5e61c66b71db3ecfd87b07ebeacbc7fb9
+++ debian/changelog	fb43986921ee25b827282883fe6d8f8f27cb3a16
@@ -1,3 +1,18 @@
+gnat-gps (5.0-12) unstable; urgency=low
+
+  [Nicolas Boulenguez]
+  * debian/patches/gprconfig.patch: new.  Properly handle the exception
+    signalling that gprconfig is absent from the $PATH.  Closes: #682229.
+
+  [Ludovic Brenta]
+  * debian/control: Suggest gprconfig.
+
+  [Svante Signell]
+  * debian/patches/hurd-i386.patch: new. Add support for hurd-i386.
+    Closes: #682001.
+
+ -- Ludovic Brenta <lbrenta@debian.org>  Fri, 20 Jul 2012 23:33:46 +0200
+
 gnat-gps (5.0-11) unstable; urgency=low
 
   * control: -doc Recommends ada-reference-manual-2005 instead of obsolete
============================================================
--- debian/control	84f286f6d6f8644a4ba73c46eb9e34141b92998e
+++ debian/control	d20e649fe892628235f38ed7fd1194057a5a7faf
@@ -25,6 +25,7 @@ Recommends: gnat (>= 4.6), gdb-minimal (
 Depends: gnat-gps-common (=${source:Version}), ${shlibs:Depends}, ${misc:Depends}
 Recommends: gnat (>= 4.6), gdb-minimal (>= 6.8), python-gtk2,
  gnat-gps-doc (= ${source:Version})
+Suggests: gprbuild
 Description: integrated development environment for C and Ada
  GNAT Programming Studio is a complete integrated development environment
  that gives access to a wide range of tools and integrates them smoothly.
============================================================
--- /dev/null	
+++ debian/patches/gprconfig.patch	67d0c56e2e18af2a2a4ed9c7466be5ecb43b32cf
@@ -0,0 +1,21 @@
+Index: b/toolchains_editor/core/src/toolchains.adb
+===================================================================
+--- a/toolchains_editor/core/src/toolchains.adb
++++ b/toolchains_editor/core/src/toolchains.adb
+@@ -258,12 +258,11 @@
+                end if;
+             end;
+          end loop;
+-
+-      exception
+-         when others =>
+-            Trace (Me, "Exception when executing gprconfig. Let's skip.");
+-            Mgr.Compilers_Scanned := True;
+       end;
++   exception
++      when others =>
++         Trace (Me, "Exception when executing gprconfig. Let's skip.");
++         Mgr.Compilers_Scanned := True;
+    end Compute_Gprconfig_Compilers;
+ 
+    ---------------------------------
============================================================
--- /dev/null	
+++ debian/patches/hurd-i386.patch	79146cec90ae43de9d552ab22ed995f50585f378
@@ -0,0 +1,13 @@
+Index: b/common/tty/terminals.c
+===================================================================
+--- a/common/tty/terminals.c
++++ b/common/tty/terminals.c
+@@ -43,7 +43,7 @@
+ 
+ /* On some system termio is either absent or including it will disable termios
+    (HP-UX) */
+-#if ! defined (__hpux__) && ! defined (FREEBSD) && ! defined (__APPLE__)
++#if ! defined (__hpux__) && ! defined (FREEBSD) && ! defined (__APPLE__) && ! defined (__GNU__)
+ #   include <termio.h>
+ #endif
+ 
============================================================
--- debian/patches/series	2a2c8699bac95825be9f360928c4d11daab29d2d
+++ debian/patches/series	88ac5d591f9e79f45670a252a4f02c28726972c8
@@ -12,3 +12,5 @@ bug-666958.patch
 libgtkada2.24.0-dev-part3.patch
 project_editor_make.patch
 bug-666958.patch
+gprconfig.patch
+hurd-i386.patch


Reply to: