Hello community,
here is the log from the commit of package bitlbee-facebook for openSUSE:Factory checked in at 2017-09-17 22:38:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bitlbee-facebook (Old)
and /work/SRC/openSUSE:Factory/.bitlbee-facebook.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bitlbee-facebook"
Sun Sep 17 22:38:34 2017 rev:3 rq:526488 version:1.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/bitlbee-facebook/bitlbee-facebook.changes 2017-04-24 09:50:28.941543060 +0200
+++ /work/SRC/openSUSE:Factory/.bitlbee-facebook.new/bitlbee-facebook.changes 2017-09-17 22:38:47.816705165 +0200
@@ -1,0 +2,7 @@
+Sat Sep 16 12:18:28 UTC 2017 - tampakrap@opensuse.org
+
+- Version bump 1.1.2
+ - Fix "Failed to read thrift" with unknown fields in /t_p payload
+ - Fix rare login hang/timeout when the last page of contacts is empty
+
+-------------------------------------------------------------------
Old:
----
bitlbee-facebook-1.1.1.tar.gz
New:
----
bitlbee-facebook-1.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bitlbee-facebook.spec ++++++
--- /var/tmp/diff_new_pack.SuFIAi/_old 2017-09-17 22:38:48.484611259 +0200
+++ /var/tmp/diff_new_pack.SuFIAi/_new 2017-09-17 22:38:48.488610697 +0200
@@ -17,9 +17,9 @@
Name: bitlbee-facebook
-Version: 1.1.1
+Version: 1.1.2
Release: 0
-Summary: The Facebook protocol plugin for bitlbee.
+Summary: The Facebook protocol plugin for bitlbee
License: GPL-2.0
Group: Productivity/Networking/IRC
Url: https://github.com/bitlbee/bitlbee-facebook
++++++ bitlbee-facebook-1.1.1.tar.gz -> bitlbee-facebook-1.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/ChangeLog new/bitlbee-facebook-1.1.2/ChangeLog
--- old/bitlbee-facebook-1.1.1/ChangeLog 2017-04-02 08:06:40.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/ChangeLog 2017-08-31 01:22:27.000000000 +0200
@@ -1,3 +1,7 @@
+bitlbee-facebook-1.1.2 (2017-08-30):
+ - Fix "Failed to read thrift" with unknown fields in /t_p payload
+ - Fix rare login hang/timeout when the last page of contacts is empty
+
bitlbee-facebook-1.1.1 (2017-04-02):
- Send orca-formatted user agent for all HTTP requests too. Fixes "Failed to
parse thread information" errors when joining channels.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/Makefile.in new/bitlbee-facebook-1.1.2/Makefile.in
--- old/bitlbee-facebook-1.1.1/Makefile.in 2017-04-02 08:12:57.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/Makefile.in 2017-08-31 01:24:04.000000000 +0200
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/README new/bitlbee-facebook-1.1.2/README
--- old/bitlbee-facebook-1.1.1/README 2017-03-29 10:50:08.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/README 2017-08-31 01:19:57.000000000 +0200
@@ -1,5 +1,7 @@
The Facebook protocol plugin for bitlbee. This plugin uses the Facebook
-Mobile API.
+Messenger MQTT-based protocol.
+
+This project is not affiliated with Facebook, Inc.
## Usage
@@ -27,7 +29,7 @@
doing. This can lead to mismatched header versions, which often times
will lead to bad things.
- $ git clone https://github.com/jgeboski/bitlbee-facebook.git
+ $ git clone https://github.com/bitlbee/bitlbee-facebook.git
$ cd bitlbee-facebook
With a "global" (or system) bitlbee installation:
@@ -36,13 +38,10 @@
$ make
$ make install
-Or with a "local" bitlbee installation (location: $HOME/bitlbee):
+Otherwise, before running those commands, set PKG_CONFIG_PATH to the path to
+the `bitlbee.pc` file. For example:
- $ export BITLBEE_CFLAGS="-I$HOME/bitlbee/include/bitlbee"
- $ export BITLBEE_LIBS=""
- $ ./autogen.sh --with-plugindir=$HOME/bitlbee/lib
- $ make
- $ make install
+ $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
## Debugging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/aclocal.m4 new/bitlbee-facebook-1.1.2/aclocal.m4
--- old/bitlbee-facebook-1.1.1/aclocal.m4 2017-04-02 08:12:57.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/aclocal.m4 2017-08-31 01:24:03.000000000 +0200
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.15 -*- Autoconf -*-
+# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2017 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -20,9 +20,9 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
-dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-dnl serial 11 (pkg-config-0.29.1)
-dnl
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+# serial 12 (pkg-config-0.29.2)
+
dnl Copyright © 2004 Scott James Remnant .
dnl Copyright © 2012-2015 Dan Nicholson
dnl
@@ -63,7 +63,7 @@
dnl See the "Since" comment for each macro you use to see what version
dnl of the macros you require.
m4_defun([PKG_PREREQ],
-[m4_define([PKG_MACROS_VERSION], [0.29.1])
+[m4_define([PKG_MACROS_VERSION], [0.29.2])
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
])dnl PKG_PREREQ
@@ -164,7 +164,7 @@
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
pkg_failed=no
-AC_MSG_CHECKING([for $1])
+AC_MSG_CHECKING([for $2])
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
@@ -174,11 +174,11 @@
See the pkg-config man page for more details.])
if test $pkg_failed = yes; then
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no])
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
- else
+ else
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
@@ -195,7 +195,7 @@
_PKG_TEXT])[]dnl
])
elif test $pkg_failed = untried; then
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no])
m4_default([$4], [AC_MSG_FAILURE(
[The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
@@ -296,7 +296,7 @@
AS_VAR_IF([$1], [""], [$5], [$4])dnl
])dnl PKG_CHECK_VAR
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -311,7 +311,7 @@
[am__api_version='1.15'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.15], [],
+m4_if([$1], [1.15.1], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -327,14 +327,14 @@
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.15])dnl
+[AM_AUTOMAKE_VERSION([1.15.1])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -386,7 +386,7 @@
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997-2014 Free Software Foundation, Inc.
+# Copyright (C) 1997-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -417,7 +417,7 @@
Usually this means the macro was only invoked conditionally.]])
fi])])
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -608,7 +608,7 @@
# Generate code to set up dependency tracking. -*- Autoconf -*-
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -684,7 +684,7 @@
# Do all the work for Automake. -*- Autoconf -*-
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -881,7 +881,7 @@
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -902,7 +902,7 @@
fi
AC_SUBST([install_sh])])
-# Copyright (C) 2003-2014 Free Software Foundation, Inc.
+# Copyright (C) 2003-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -923,7 +923,7 @@
# Check to see how 'make' treats includes. -*- Autoconf -*-
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -973,7 +973,7 @@
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-# Copyright (C) 1997-2014 Free Software Foundation, Inc.
+# Copyright (C) 1997-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1012,7 +1012,7 @@
# Helper functions for option handling. -*- Autoconf -*-
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1041,7 +1041,7 @@
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1088,7 +1088,7 @@
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1107,7 +1107,7 @@
# Check to make sure that the build environment is sane. -*- Autoconf -*-
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1188,7 +1188,7 @@
rm -f conftest.file
])
-# Copyright (C) 2009-2014 Free Software Foundation, Inc.
+# Copyright (C) 2009-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1248,7 +1248,7 @@
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1276,7 +1276,7 @@
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
-# Copyright (C) 2006-2014 Free Software Foundation, Inc.
+# Copyright (C) 2006-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1295,7 +1295,7 @@
# Check how to create a tarball. -*- Autoconf -*-
-# Copyright (C) 2004-2014 Free Software Foundation, Inc.
+# Copyright (C) 2004-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/configure new/bitlbee-facebook-1.1.2/configure
--- old/bitlbee-facebook-1.1.1/configure 2017-04-02 08:12:57.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/configure 2017-08-31 01:24:04.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for bitlbee-facebook 1.1.1.
+# Generated by GNU Autoconf 2.69 for bitlbee-facebook 1.1.2.
#
# Report bugs to https://github.com/bitlbee/bitlbee-facebook/issues.
#
@@ -591,8 +591,8 @@
# Identity of this package.
PACKAGE_NAME='bitlbee-facebook'
PACKAGE_TARNAME='bitlbee-facebook'
-PACKAGE_VERSION='1.1.1'
-PACKAGE_STRING='bitlbee-facebook 1.1.1'
+PACKAGE_VERSION='1.1.2'
+PACKAGE_STRING='bitlbee-facebook 1.1.2'
PACKAGE_BUGREPORT='https://github.com/bitlbee/bitlbee-facebook/issues'
PACKAGE_URL='https://github.com/bitlbee/bitlbee-facebook'
@@ -1338,7 +1338,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures bitlbee-facebook 1.1.1 to adapt to many kinds of systems.
+\`configure' configures bitlbee-facebook 1.1.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1409,7 +1409,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of bitlbee-facebook 1.1.1:";;
+ short | recursive ) echo "Configuration of bitlbee-facebook 1.1.2:";;
esac
cat <<\_ACEOF
@@ -1539,7 +1539,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-bitlbee-facebook configure 1.1.1
+bitlbee-facebook configure 1.1.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1817,7 +1817,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by bitlbee-facebook $as_me 1.1.1, which was
+It was created by bitlbee-facebook $as_me 1.1.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2682,7 +2682,7 @@
# Define the identity of the package.
PACKAGE='bitlbee-facebook'
- VERSION='1.1.1'
+ VERSION='1.1.2'
# Some tools Automake needs.
@@ -12101,7 +12101,7 @@
# Check whether --enable-warnings was given.
if test "${enable_warnings+set}" = set; then :
- enableval=$enable_warnings; WARNINGS="yes"
+ enableval=$enable_warnings; WARNINGS="$enableval"
else
WARNINGS="no"
@@ -12125,7 +12125,7 @@
# Check whether --with-plugindir was given.
if test "${with_plugindir+set}" = set; then :
- withval=$with_plugindir; plugindir="$with_plugindir"
+ withval=$with_plugindir; plugindir="$withval"
fi
@@ -12252,8 +12252,8 @@
fi
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BITLBEE" >&5
-$as_echo_n "checking for BITLBEE... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bitlbee >= 3.4" >&5
+$as_echo_n "checking for bitlbee >= 3.4... " >&6; }
if test -n "$BITLBEE_CFLAGS"; then
pkg_cv_BITLBEE_CFLAGS="$BITLBEE_CFLAGS"
@@ -12293,7 +12293,7 @@
if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -12320,7 +12320,7 @@
and BITLBEE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
@@ -12343,8 +12343,8 @@
fi
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
-$as_echo_n "checking for GLIB... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.28.0 gio-2.0 gobject-2.0" >&5
+$as_echo_n "checking for glib-2.0 >= 2.28.0 gio-2.0 gobject-2.0... " >&6; }
if test -n "$GLIB_CFLAGS"; then
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
@@ -12384,7 +12384,7 @@
if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -12411,7 +12411,7 @@
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
@@ -12434,8 +12434,8 @@
fi
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
-$as_echo_n "checking for JSON... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for json-glib-1.0 >= 0.14.0" >&5
+$as_echo_n "checking for json-glib-1.0 >= 0.14.0... " >&6; }
if test -n "$JSON_CFLAGS"; then
pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
@@ -12475,7 +12475,7 @@
if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -12502,7 +12502,7 @@
and JSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
@@ -13151,7 +13151,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by bitlbee-facebook $as_me 1.1.1, which was
+This file was extended by bitlbee-facebook $as_me 1.1.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -13209,7 +13209,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-bitlbee-facebook config.status 1.1.1
+bitlbee-facebook config.status 1.1.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/configure.ac new/bitlbee-facebook-1.1.2/configure.ac
--- old/bitlbee-facebook-1.1.1/configure.ac 2017-04-02 08:06:58.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/configure.ac 2017-08-31 01:22:50.000000000 +0200
@@ -15,7 +15,7 @@
AC_INIT(
[bitlbee-facebook],
- [1.1.1],
+ [1.1.2],
[https://github.com/bitlbee/bitlbee-facebook/issues],
[bitlbee-facebook],
[https://github.com/bitlbee/bitlbee-facebook],
@@ -49,7 +49,7 @@
[--enable-warnings],
[Enable additional compile-time (GCC) warnings]
)],
- [WARNINGS="yes"],
+ [WARNINGS="$enableval"],
[WARNINGS="no"]
)
@@ -73,7 +73,7 @@
[--with-plugindir],
[BitlBee plugin directory]
)],
- [plugindir="$with_plugindir"]
+ [plugindir="$withval"]
)
PKG_CHECK_MODULES([BITLBEE], [bitlbee >= 3.4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/Makefile.in new/bitlbee-facebook-1.1.2/facebook/Makefile.in
--- old/bitlbee-facebook-1.1.1/facebook/Makefile.in 2017-04-02 08:12:57.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/Makefile.in 2017-08-31 01:24:04.000000000 +0200
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/facebook-api.c new/bitlbee-facebook-1.1.2/facebook/facebook-api.c
--- old/bitlbee-facebook-1.1.1/facebook/facebook-api.c 2017-03-29 17:26:31.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/facebook-api.c 2017-08-31 00:56:10.000000000 +0200
@@ -38,6 +38,7 @@
PROP_STOKEN,
PROP_TOKEN,
PROP_UID,
+ PROP_TWEAK,
PROP_N
};
@@ -62,6 +63,7 @@
guint unread;
FbId lastmid;
gchar *contacts_delta;
+ int tweak;
};
struct _FbApiData
@@ -87,6 +89,27 @@
G_DEFINE_TYPE(FbApi, fb_api, G_TYPE_OBJECT);
+static const gchar *agents[] = {
+ FB_API_AGENT,
+ FB_API_AGENT_BASE " " "[FBAN/Orca-Android;FBAV/64.0.0.5.83;FBPN/com.facebook.orca;FBLC/en_US;FBBV/26040814]",
+ FB_API_AGENT_BASE " " "[FBAN/Orca-Android;FBAV/109.0.0.17.70;FBBV/52182662]",
+ FB_API_AGENT_BASE " " "[FBAN/Orca-Android;FBAV/109.0.0.17.70;FBPN/com.facebook.orca;FBLC/en_US;FBBV/52182662]",
+ NULL,
+};
+
+static const gchar *
+fb_api_get_agent_string(int tweak, gboolean mqtt)
+{
+ gboolean http_only = tweak & 4;
+ gboolean mqtt_only = tweak & 8;
+
+ if (tweak <= 0 || tweak > 15 || (http_only && mqtt) || (mqtt_only && !mqtt)) {
+ return agents[0];
+ }
+
+ return agents[tweak & 3];
+}
+
static void
fb_api_set_property(GObject *obj, guint prop, const GValue *val,
GParamSpec *pspec)
@@ -116,6 +139,10 @@
case PROP_UID:
priv->uid = g_value_get_int64(val);
break;
+ case PROP_TWEAK:
+ priv->tweak = g_value_get_int(val);
+ fb_http_set_agent(priv->http, fb_api_get_agent_string(priv->tweak, 0));
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop, pspec);
@@ -147,6 +174,9 @@
case PROP_UID:
g_value_set_int64(val, priv->uid);
break;
+ case PROP_TWEAK:
+ g_value_set_int(val, priv->tweak);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop, pspec);
@@ -268,6 +298,16 @@
"User identifier",
0, G_MAXINT64, 0,
G_PARAM_READWRITE);
+
+ /**
+ * FbApi:tweak:
+ */
+ props[PROP_TWEAK] = g_param_spec_int(
+ "tweak",
+ "Tweak",
+ "",
+ 0, G_MAXINT, 0,
+ G_PARAM_READWRITE);
g_object_class_install_properties(gklass, PROP_N, props);
/**
@@ -878,7 +918,9 @@
/* Write the information string */
fb_thrift_write_field(thft, FB_THRIFT_TYPE_STRING, 2, 1);
- fb_thrift_write_str(thft, FB_API_MQTT_AGENT);
+ fb_thrift_write_str(thft, (priv->tweak != 0)
+ ? fb_api_get_agent_string(priv->tweak, 1)
+ : FB_API_MQTT_AGENT);
/* Write the UNKNOWN ("cp"?) */
fb_thrift_write_field(thft, FB_THRIFT_TYPE_I64, 3, 2);
@@ -1811,8 +1853,18 @@
FB_API_TCHK(fb_thrift_read_i64(thft, NULL));
break;
+ case 6:
+ /* Unknown new field */
+ FB_API_TCHK(type == FB_THRIFT_TYPE_I64);
+ FB_API_TCHK(fb_thrift_read_i64(thft, NULL));
+ break;
+
default:
- FB_API_TCHK(FALSE);
+ /* Try to read unknown fields as varint */
+ FB_API_TCHK(type == FB_THRIFT_TYPE_I16 ||
+ type == FB_THRIFT_TYPE_I32 ||
+ type == FB_THRIFT_TYPE_I64);
+ FB_API_TCHK(fb_thrift_read_i64(thft, NULL));
break;
}
}
@@ -2347,7 +2399,7 @@
priv->contacts_delta = g_strdup(is_delta ? cursor : delta_cursor);
}
- if (users) {
+ if (users || (complete && !is_delta)) {
g_signal_emit_by_name(api, "contacts", users, complete);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/facebook-api.h new/bitlbee-facebook-1.1.2/facebook/facebook-api.h
--- old/bitlbee-facebook-1.1.1/facebook/facebook-api.h 2017-03-30 05:58:50.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/facebook-api.h 2017-07-12 22:21:56.000000000 +0200
@@ -110,7 +110,8 @@
*
* The HTTP User-Agent header.
*/
-#define FB_API_AGENT "Facebook plugin / BitlBee / " PACKAGE_VERSION " " FB_ORCA_AGENT
+#define FB_API_AGENT_BASE "Facebook plugin / BitlBee / " PACKAGE_VERSION
+#define FB_API_AGENT FB_API_AGENT_BASE " " FB_ORCA_AGENT
/**
* FB_API_MQTT_AGENT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/facebook-data.c new/bitlbee-facebook-1.1.2/facebook/facebook-data.c
--- old/bitlbee-facebook-1.1.1/facebook/facebook-data.c 2017-03-29 10:50:08.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/facebook-data.c 2017-07-12 22:21:56.000000000 +0200
@@ -117,6 +117,7 @@
guint i;
guint64 uint;
GValue val = G_VALUE_INIT;
+ int num;
g_return_val_if_fail(FB_IS_DATA(fata), FALSE);
priv = fata->priv;
@@ -160,6 +161,14 @@
ret = FALSE;
}
+ num = set_getint(&acct->set, "tweak");
+ if (num != 0) {
+ g_value_init(&val, G_TYPE_INT);
+ g_value_set_int(&val, num);
+ g_object_set_property(G_OBJECT(priv->api), "tweak", &val);
+ g_value_unset(&val);
+ }
+
fb_api_rehash(priv->api);
return ret;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/facebook-http.c new/bitlbee-facebook-1.1.2/facebook/facebook-http.c
--- old/bitlbee-facebook-1.1.1/facebook/facebook-http.c 2017-03-29 10:50:08.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/facebook-http.c 2017-07-12 22:21:56.000000000 +0200
@@ -242,6 +242,20 @@
g_strfreev(hdrs);
}
+void
+fb_http_set_agent(FbHttp *http, const gchar *agent)
+{
+ FbHttpPrivate *priv;
+
+ g_return_if_fail(FB_IS_HTTP(http));
+ priv = http->priv;
+
+ if (agent != priv->agent && g_strcmp0(agent, priv->agent)) {
+ g_free(priv->agent);
+ priv->agent = g_strdup(agent);
+ }
+}
+
FbHttpRequest *
fb_http_request_new(FbHttp *http, const gchar *url, gboolean post,
FbHttpFunc func, gpointer data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/facebook-http.h new/bitlbee-facebook-1.1.2/facebook/facebook-http.h
--- old/bitlbee-facebook-1.1.1/facebook/facebook-http.h 2017-03-29 10:50:08.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/facebook-http.h 2017-07-12 22:21:56.000000000 +0200
@@ -206,6 +206,14 @@
fb_http_cookies_parse_request(FbHttp *http, FbHttpRequest *req);
/**
+ * fb_http_set_agent:
+ * @http: The #FbHttp.
+ * @agent: The new user agent string.
+ */
+void
+fb_http_set_agent(FbHttp *http, const gchar *agent);
+
+/**
* fb_http_request_new:
* @http: The #FbHttp.
* @url: The url.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bitlbee-facebook-1.1.1/facebook/facebook.c new/bitlbee-facebook-1.1.2/facebook/facebook.c
--- old/bitlbee-facebook-1.1.1/facebook/facebook.c 2017-03-29 10:50:08.000000000 +0200
+++ new/bitlbee-facebook-1.1.2/facebook/facebook.c 2017-07-12 22:21:56.000000000 +0200
@@ -735,6 +735,9 @@
s = set_add(&acct->set, "uid", NULL, NULL, acct);
s->flags = SET_NULL_OK | SET_HIDDEN;
+ s = set_add(&acct->set, "tweak", NULL, NULL, acct);
+ s->flags = SET_NULL_OK | SET_HIDDEN;
+
set_add(&acct->set, "group_chat_open", "false", fb_eval_open, acct);
set_add(&acct->set, "mark_read", "false", fb_eval_mark_read, acct);
set_add(&acct->set, "mark_read_reply", "false", set_eval_bool, acct);