After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 153429 - Hard coded paths in Makefile
Hard coded paths in Makefile
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
0.5
Other Linux
: Normal minor
: ---
Assigned To: Edd Dumbill
Edd Dumbill
Depends on:
Blocks:
 
 
Reported: 2004-09-22 13:37 UTC by Philip Crichton
Modified: 2005-08-06 18:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Crichton 2004-09-22 13:37:05 UTC
The src/Makefile has hard coded paths to pygtk-2.0:

  gnomebt-controller.defs:
      python /usr/local/share/pygtk/2.0 ...
  gnomebt-chooser.defs:
      python /usr/local/share/pygtk/2.0 ...

Distributuons such as Slackware, by not include this package by default so end
up  in /usr/local/share/ instead.
Comment 1 Edd Dumbill 2004-09-22 13:43:44 UTC
This makes no sense.  Makefiles are not distributed.  They are generated during
the ./configure process.
Comment 2 Philip Crichton 2004-09-22 19:12:08 UTC
You're absolutely correct, it made no sense.  They are generated at
configuration time using confoiguration scripts (.am, .in).  However, if
you look at src/Makefile.am & src/Makefile.in, you will find:

gnomebt-controller.defs: gnomebt-controller.h
        python /usr/share/pygtk/2.0/codegen/h2def.py -v gnomebt-controller.h >
gnomebt-controller.defs

gnomebt-chooser.defs: gnomebt-chooser.h
        python /usr/share/pygtk/2.0/codegen/h2def.py -v gnomebt-chooser.h >
gnomebt-chooser.defs


Comment 3 Edd Dumbill 2004-09-22 19:14:22 UTC
OK, I'll take that as a bug.  That should definitely be prefixed somehow.
Comment 4 Bastien Nocera 2005-08-06 18:30:10 UTC
2005-08-06  Bastien Nocera  <hadess@hadess.net>

        * configure.in:
        * src/Makefile.am: Fix hard-coded h2def path in the Makefiles
        (Closes: #153429)