kostas-alexis/libbot

Deprecated glib functions (< 2.31) and configurable python executable path

Opened this issue · 0 comments

What steps will reproduce the problem?
1. Compile with glib 2.31 or greater
2. Observe multiple glib warnings

Some glib functions have been deprecated since 2.31. The attached patch updates 
these functions and surrounds them with an #if macro so that users with glib < 
2.31 can still use the code.

I have also modified the makefiles so that a python path can be set. For 
example, on my arch system I would like to use python2 instead of the default 
python (3 on arch). To do this you can use:

  sudo make BUILD_PREFIX=/usr/local PYTHON=/usr/bin/python2

If no PYTHON variable is passed, the variable will be set to the default 
returned by $(which python).

Original issue reported on code.google.com by tderen...@gmail.com on 2 Dec 2013 at 4:11

Attachments: