You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be long, as I tried three times, with different results each time.
A friend of mine, running a different linux distro, told me about this. I was told that I should follow the instructions, and when I make a new account, I would see chat.google.com as a protocol option, which would lead me to a youtube video about how to proceed. I cut&Paste the instructions in the ReadMe. I got no errors. Unfortunately, I see no new options under the protocol dropdown when I go to make a new account, under Manage Accounts. This was a few weeks ago.
Today, before making this report, I cut&paste the commands again. This time, I noticed that there was some odd character at the start, such that the #!sh wasn't processed, instead being seen as a call to shutdown which didn't happen due to incomplete command. However, it did tell me that everything was at the latest revision.
I entered #!sh first, and then cut&paste the rest of the commands. I got a lot of information, and I don't know what may be errors. I still don't have anything new under the protocol options dropdown in the Manage Accounts pane. I'm not a programmer, tho I studied to be one back when Pascal was the language used for teaching. I'm comfortable following directions, and editing files, but am generally ignorant otherwise. These messages seem to be indicating problems in the code.
Note: I'm trying to use the triple backticks to blockquote the messages. I don't know how to otherwise blockquote, and I didn't see it in the markdown info.
sudo apt-get install -y libpurple-dev libjson-glib-dev libglib2.0-dev libprotobuf-c-dev protobuf-c-compiler git make;
git clone https://github.com/EionRobb/purple-googlechat/ && cd purple-googlechat;
make && sudo make install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libglib2.0-dev is already the newest version (2.72.1-1).
libjson-glib-dev is already the newest version (1.6.6-1build1).
make is already the newest version (4.3-4.1build1).
libpurple-dev is already the newest version (1:2.14.8-1ubuntu2).
git is already the newest version (1:2.34.1-1ubuntu1.5).
libprotobuf-c-dev is already the newest version (1.3.3-1ubuntu2.1).
protobuf-c-compiler is already the newest version (1.3.3-1ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Cloning into 'purple-googlechat'...
remote: Enumerating objects: 1935, done.
remote: Counting objects: 100% (404/404), done.
remote: Compressing objects: 100% (154/154), done.
remote: Total 1935 (delta 261), reused 382 (delta 249), pack-reused 1531
Receiving objects: 100% (1935/1935), 4.35 MiB | 6.16 MiB/s, done.
Resolving deltas: 100% (261/261), done.
protoc-c --c_out=. googlechat.proto
protoc-c -o googlechat.proto.desc googlechat.proto
cc -fPIC -O2 -g -pipe -shared -o libgooglechat.so libgooglechat.c googlechat.pb-c.c googlechat_json.c googlechat_pblite.c googlechat_connection.c googlechat_auth.c googlechat_events.c googlechat_conversation.c purple2compat/http.c purple2compat/purple-socket.c -lprotobuf-c `pkg-config purple glib-2.0 json-glib-1.0 zlib --libs --cflags` -I/usr/include/protobuf-c -ldl -Ipurple2compat -g -ggdb
googlechat_auth.c: In function ‘googlechat_auth_get_dynamite_token_cb’:
googlechat_auth.c:320:27: warning: argument 1 null where non-null expected [-Wnonnull]
320 | gint expires_in = atoi(json_object_get_string_member(obj, "expiresIn"));
| ^~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/limits.h:26,
from /usr/lib/gcc/x86_64-linux-gnu/11/include/limits.h:203,
from /usr/lib/gcc/x86_64-linux-gnu/11/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-linux-gnu/11/include/limits.h:34,
from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:11,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/libpurple/purple.h:36,
from libgooglechat.h:25,
from googlechat_auth.h:23,
from googlechat_auth.c:19:
/usr/include/stdlib.h:362:1: note: in a call to function ‘atoi’ declared ‘nonnull’
362 | __NTH (atoi (const char *__nptr))
| ^~~~~
googlechat_events.c: In function ‘googlechat_got_http_image_for_conv’:
googlechat_events.c:269:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
269 | image = purple_image_new_from_data(g_memdup(response_data, response_size), response_size);
| ^~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/libpurple/purple.h:36,
from libgooglechat.h:25,
from googlechat_events.h:23,
from googlechat_events.c:19:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
googlechat_events.c:270:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
270 | image_id = purple_image_store_add(image);
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/libpurple/purple.h:36,
from libgooglechat.h:25,
from googlechat_events.h:23,
from googlechat_events.c:19:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
googlechat_conversation.c: In function ‘googlechat_got_buddy_photo’:
googlechat_conversation.c:1079:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
1079 | response_dup = g_memdup(response_str, response_len);
| ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/libpurple/purple.h:36,
from libgooglechat.h:25,
from googlechat_conversation.h:23,
from googlechat_conversation.c:19:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
purple2compat/http.c: In function ‘purple_http_request_set_contents’:
purple2compat/http.c:2637:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
2637 | request->contents = g_memdup(contents, length);
| ^~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
from purple2compat/http.h:31,
from purple2compat/http.c:22:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
mkdir -p `pkg-config --variable=datadir purple`/pixmaps/pidgin/protocols/16
mkdir -p `pkg-config --variable=datadir purple`/pixmaps/pidgin/protocols/22
mkdir -p `pkg-config --variable=datadir purple`/pixmaps/pidgin/protocols/48
install googlechat16.png `pkg-config --variable=datadir purple`/pixmaps/pidgin/protocols/16/googlechat.png
install googlechat22.png `pkg-config --variable=datadir purple`/pixmaps/pidgin/protocols/22/googlechat.png
install googlechat48.png `pkg-config --variable=datadir purple`/pixmaps/pidgin/protocols/48/googlechat.png
mkdir -p `pkg-config --variable=plugindir purple`
install -p libgooglechat.so `pkg-config --variable=plugindir purple`
The text was updated successfully, but these errors were encountered:
This may be long, as I tried three times, with different results each time.
Note: I'm trying to use the triple backticks to blockquote the messages. I don't know how to otherwise blockquote, and I didn't see it in the markdown info.
The text was updated successfully, but these errors were encountered: