Bug#412113: glade: Generated autogen.sh for Gnome 2 C++ project can't find gnome m4 macros

Per Bojsen per.bojsen at bojsen.us
Fri Feb 23 18:58:10 CET 2007


Package: glade-gnome
Version: 2.12.1-7
Severity: important

This report may reflect several issues and may actually be a bug on
glademm.  But I'm reporting it from the point of view of using the
glade GUI.

The autogen.sh generated when hitting the Build button on a Gnome C++
project (selected C++ as language in options) looks for
$GLADE_MACROS/gnome/gnome.m4 where GLADE_MACROS is set using the
following command:

  GLADE_MACROS=`which glade | sed -e 's-bin/glade-share/glade-'`

This evaluates to an empty string because there is no command named
`glade'.  Rather, glade is `glade-2' on my system.

Replacing `glade' with `glade-2' in the above line makes GLADE_MACROS
be set to:

  /usr/share/glade-2

However:

  % ls /usr/share/glade-2
  gnome-common.m4  gnome-compiler-flags.m4

That is, there is no gnome.m4 in that directory so autogen.sh still
fails.  I've used the package search feature of
http://www.debian.org/distrib/packages to search for packages that
contains a gnome.m4 file and the only such package in testing I can
find is gettext-doc.  Is gnome.m4 a Gnome 1 thing?

Any tips on how to run glade-- to create a working project source tree
is welcome.
-- System Information:
Debian Release: 4.0
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64-k8-tirith
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages glade-gnome depends on:
ii  glade-common              2.12.1-7       Common files for GTK+ 2 User Inter
ii  gnome-common              2.12.0-2       common scripts and macros to devel
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libatk1.0-0               1.12.4-1       The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-6        Open-source version of SGI's audio
ii  libavahi-client3          0.6.16-2       Avahi client library
ii  libavahi-common3          0.6.16-2       Avahi common library
ii  libavahi-glib1            0.6.16-2       Avahi glib integration library
ii  libbonobo2-0              2.14.0-3       Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.14.0-5       The Bonobo UI library
ii  libc6                     2.3.6.ds1-11   GNU C Library: Shared libraries
ii  libcairo2                 1.2.4-4        The Cairo 2D vector graphics libra
ii  libdbus-1-3               1.0.2-1        simple interprocess messaging syst
ii  libesd0                   0.2.36-3       Enlightened Sound Daemon - Shared 
ii  libfontconfig1            2.4.2-1        generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgail-gnome-module      1.1.3-3        GNOME Accessibility Implementation
ii  libgconf2-4               2.16.0-3       GNOME configuration database syste
ii  libgcrypt11               1.2.3-2        LGPL Crypto library - runtime libr
ii  libglib2.0-0              2.12.4-2       The GLib library of C routines
ii  libgnome-keyring0         0.6.0-3        GNOME keyring services library
ii  libgnome2-0               2.16.0-2       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.14.0-2       A powerful object-oriented display
ii  libgnomeui-0              2.14.1-2+b1    The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            1:2.14.2-6     GNOME virtual file-system (runtime
ii  libgnutls13               1.4.4-3        the GNU TLS library - runtime libr
ii  libgpg-error0             1.4-1          library for common error values an
ii  libgtk2.0-0               2.8.20-5       The GTK+ graphical user interface 
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  liborbit2                 1:2.14.3-0.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.14.8-5       Layout and rendering of internatio
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libpopt0                  1.10-3         lib for parsing cmdline parameters
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libtasn1-3                0.3.6-2        Manage ASN.1 structures (runtime)
ii  libx11-6                  2:1.0.3-5      X11 client-side library
ii  libxcursor1               1.1.7-4        X cursor management library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxfixes3                1:4.0.1-5      X11 miscellaneous 'fixes' extensio
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxinerama1              1:1.0.1-4.1    X11 Xinerama extension library
ii  libxml2                   2.6.27.dfsg-1  GNOME XML library
ii  libxrandr2                2:1.1.0.2-5    X11 RandR extension library
ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages glade-gnome recommends:
ii  autoconf                     2.61-4      automatic configure script builder
pn  automake1.4                  <none>      (no description available)
ii  gettext                      0.16.1-1    GNU Internationalization utilities
ii  libgail17                    1.8.11-4    GNOME Accessibility Implementation
ii  libgnomeui-dev               2.14.1-2+b1 The GNOME 2 libraries (User Interf

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list