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 354127 - [PATCH] libbtctl source would not configure with new openobex versions
[PATCH] libbtctl source would not configure with new openobex versions
Status: RESOLVED DUPLICATE of bug 330983
Product: libbtctl
Classification: Deprecated
Component: general
0.6.x
Other All
: Normal normal
: ---
Assigned To: none
none
: 354125 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-03 14:29 UTC by adam
Modified: 2006-09-03 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to update aclocal.m4 to use pkg-config for newer openobex (2.10 KB, patch)
2006-09-03 14:46 UTC, adam
none Details | Review

Description adam 2006-09-03 14:29:00 UTC
Please describe the problem:
If you try to build libbtctl from source on a system that has a recent version of openobex (I have openobex-1.3, for example), the "./configure" step will fail, because libbtctl wants the deprecated "openobex-config" script, while never versions of openopex use "pkg-config openobex" instead.

Steps to reproduce:
1. bunzip2 < libbtctl-0.6.0.tar.bz2 | tar xfp -
2. cd libbtctl-0.6.0
3. ./configure

Actual results:
An abort message to the effect that openobex-config could not be found.

Expected results:
The configure process would complete successfully, creating various Makefile and config.h files.

Does this happen every time?
Yes.

Other information:
I already have a patch, which I will attach immediately after submitting this bug report.
Comment 1 adam 2006-09-03 14:46:55 UTC
Created attachment 72134 [details] [review]
Patch to update aclocal.m4 to use pkg-config for newer openobex

This pachanges aclocal.m4 to use the new centralized "pkg-config"
facility instead of looking for an "openobex-config" program, which is longer
included in newer versions of openobex (because the newer versions register
their information with pkg-config).

pkg-config conveniently provides a macro to do what much of the AM_PATH_OPENOBEX() macro in libbtctl-0.6.0/aclocal.m4 was doing, so
this patch makes that file considerably smaller.

A note to anyone attempting to apply this patch manually instead of waiting for
a release that uses it: you must run "autoconf" to generate a new "./configure"
file in order for this change to take effect.
tch
Comment 2 Bastien Nocera 2006-09-03 19:25:58 UTC
*** Bug 354125 has been marked as a duplicate of this bug. ***
Comment 3 Bastien Nocera 2006-09-03 19:27:55 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 330983 ***