Bug 66330 - fix FTBS ... missing dbus-glib-1 in configure.ac
Summary: fix FTBS ... missing dbus-glib-1 in configure.ac
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-doc (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 16:16 UTC by Matej Cepl
Modified: 2019-12-03 19:16 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
suggested patch (802 bytes, patch)
2013-06-28 16:21 UTC, Matej Cepl
Details | Splinter Review

Description Matej Cepl 2013-06-28 16:16:49 UTC
The following changes since commit af723932a813d22ea10e8b5f56de119b5a274205:

  gtk_presence_app: define features as a const (2011-09-19 13:05:07 +0200)

are available in the git repository at:

  http://luther.ceplovi.cz/git/telepathy-doc.git 

for you to fetch changes up to f5a9900c9e438f999e995cd29c2da0ee668a8a5d:

  Fix configure.ac so that it links with dbus-glib-1 in examples. (2013-06-28 18:13:00 +0200)

----------------------------------------------------------------
Matěj Cepl (1):
      Fix configure.ac so that it links with dbus-glib-1 in examples.

 configure.ac | 1 +
 1 file changed, 1 insertion(+)
Comment 1 Matej Cepl 2013-06-28 16:21:58 UTC
Created attachment 81648 [details] [review]
suggested patch

The fixed error was 

make[3]: Entering directory `/home/matej/archiv/knihovna/repos/telepathy-doc/docs/examples/glib_mc5_dbus_tube_handler'
  CC       example-handler.o
example-handler.c: In function ‘example_handler_handle_channels’:
example-handler.c:179:3: warning: ‘tp_connection_new’ is deprecated (declared at /usr/include/telepathy-1.0/telepathy-glib/connection.h:144): Use 'tp_simple_client_factory_ensure_connection' instead [-Wdeprecated-declarations]
   TpConnection *conn = tp_connection_new (bus, NULL, connection, &error);
   ^
example-handler.c:211:7: warning: ‘tp_channel_new_from_properties’ is deprecated (declared at /usr/include/telepathy-1.0/telepathy-glib/channel.h:87): Use 'tp_simple_client_factory_ensure_channel' instead [-Wdeprecated-declarations]
       TpChannel *chan = tp_channel_new_from_properties (conn, path, map,
       ^
example-handler.c:217:7: warning: ‘tp_channel_call_when_ready’ is deprecated (declared at /usr/include/telepathy-1.0/telepathy-glib/channel.h:100): Use 'tp_proxy_prepare_async' instead [-Wdeprecated-declarations]
       tp_channel_call_when_ready (chan, tube_channel_ready, self);
       ^
  CC       example.o
example.c: In function ‘main’:
example.c:22:3: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
   g_type_init ();
   ^
example.c:27:3: warning: ‘tp_get_bus’ is deprecated (declared at /usr/include/telepathy-1.0/telepathy-glib/dbus.h:139) [-Wdeprecated-declarations]
   DBusGConnection *dbus = tp_get_bus ();
   ^
  CCLD     example
/usr/bin/ld: example-handler.o: undefined reference to symbol 'dbus_g_method_return'
/usr/bin/ld: note: 'dbus_g_method_return' is defined in DSO /lib64/libdbus-glib-1.so.2 so try adding it to the linker command line
/lib64/libdbus-glib-1.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [example] Error 1
Comment 2 Emilio Pozuelo Monfort 2013-06-28 16:25:53 UTC
Looks good.
Comment 3 GitLab Migration User 2019-12-03 19:16:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-doc/issues/12.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.