gtkada-config script in libgtkada2-bin 2.12.0-2 returns wrong include paths

Bug #280503 reported by Philip Muškovac
16
Affects Status Importance Assigned to Milestone
libgtkada2 (Debian)
Fix Released
Unknown
libgtkada2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libgtkada2-bin

Description: Ubuntu intrepid (development branch)
Release: 8.10

libgtkada2-bin:
  Installiert: 2.12.0-2ubuntu1
  Kandidat: 2.12.0-2ubuntu1
  Versions-Tabelle:
 *** 2.12.0-2ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

the gtkada-config script returns /usr/include/gtkada as the include directory but the include files are installed in /usr/share/ada/adainclude/gtkada2
the libs are also incorrect
the script from hardy heron worked fine when copied to intrepid

here is a patch: (made with diff without arguments)

$ diff /usr/bin/gtkada2-config gtkada2-config

6,7c6,7
< libdir=${exec_prefix}/lib/gtkada
< includedir=${prefix}/include/gtkada
---
> libdir=${exec_prefix}/lib/ada/adalib/gtkada2
> includedir=${prefix}/share/ada/adainclude/gtkada2

Related branches

description: updated
Revision history for this message
Manuel Carro (mcarro) wrote :

In my Intrepid installation the script also returns a wrong name for the libraries - i.e., gtkada instead of gtkada2. Thus, in addition to the lines above, I had to change

libs_static="-L${libdir}/static -lgtkada ${gtk_libs}"

into

libs_static="-L${libdir}/static -lgtkada2 ${gtk_libs}"

I am attaching the complete script as I have it now. It is working (at least for some pet projects). Search for the string "MCL" to locate the changes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgtkada2 - 2.12.0-3ubuntu1

---------------
libgtkada2 (2.12.0-3ubuntu1) karmic; urgency=low

  * Merge from Debian unstable (LP: #280503), remaining Ubuntu change:
    - add lpia to supported architectures

libgtkada2 (2.12.0-3) unstable; urgency=low

  * debian/patches/gtkada-config.patch: new; adjust the output of
    gtkada-config to Debian. Closes: #497407.

 -- Devid Antonio Filoni <email address hidden> Wed, 27 May 2009 15:22:34 +0200

Changed in libgtkada2 (Ubuntu):
status: New → Fix Released
Changed in libgtkada2 (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.