maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Friends integration: get more social integration for SailfishOS (https://talk.maemo.org/showthread.php?t=92890)

Sfiet_Konstantin 2014-03-17 19:09

Friends integration: get more social integration for SailfishOS
 
Windows phone has all this shiny social integration all around. And Sailfish only have a very poor one, but don't worry, Friends integration project is here.

The goal is to have Facebook integration a bit everywhere in Sailfish OS. I started with adding news feed in contacts, and am planning a lot of more goodies (notifications, event feed, and maybe account integration !)

How to enable Facebook integration:
  1. Add a Facebook account and allow contacts to be synced
  2. Install Friends integration package

Then, an attached panel will be available for your Facebook friends inside contacts. You can even open the user inside Friends, or open the news feeds.

Enjoy !

This package messes with system files. It can make part of your phone unfunctional. Try with care.

Get it

Friends integration cannot be pushed on store (because it uses a lot of harbour-unfriendly stuff). So get it on openrepos, or in my OBS.

I'm using github to host code. Transifex link will come soon.

Bugs, issues

If you don't uninstall friends-integration properly, your contacts cards might not show up. If so, you might need to reinstall contacts components.

First, uninstall clearly friends-integration. As root.
Code:

zypper rm friends-integration
If it don't work, try
Code:

touch /opt/friends-integration/ContactCard.qml.old
zypper rm friends-integration

After that, do
Code:

zypper in -f sailfish-components-contacts-qt5
If you find bugs, especially in beta, experimental builds, please reports them in the Forum, with a way to reproduce them. Otherwise, I won't be able to fix them.

Sfiet_Konstantin 2014-03-18 08:31

Re: Friends integration: get more social integration for SailfishOS
 
Everybody using the integration: here is an urgent bugfix, that prevents integration to be uninstalled. To install it, please first uninstall integration properly by doing (terminal)

Code:

touch /opt/friends-integration/ContactCard.qml.old
zypper rm friends-integration
zypper in -f sailfish-components-contacts-qt5

Afterwards, install friends-integration 0.1.1, and don't install 0.1.0.

Uitto 2014-03-18 09:06

Re: Friends integration: get more social integration for SailfishOS
 
Quote:

Originally Posted by Sfiet_Konstantin (Post 1417362)
Everybody using the integration: here is an urgent bugfix, that prevents integration to be uninstalled. To install it, please first uninstall integration properly by doing (terminal)

Code:

touch /opt/friends-integration/ContactCard.qml.old
zypper rm friends-integration
zypper in -f sailfish-components-contacts-qt5

Afterwards, install friends-integration 0.1.1, and don't install 0.1.0.


To me it says that cannot touch '/opt/friends-integration/ContactCard.qml.old': Permission denied

and

zypper: command not found


Edit: i forgot devel-su. No when i type touch.... it says nothing. But still it won't regognize zypper

andreas1 2014-03-18 09:29

Re: Friends integration: get more social integration for SailfishOS
 
Quote:

Originally Posted by Sfiet_Konstantin (Post 1417362)
Everybody using the integration: here is an urgent bugfix, that prevents integration to be uninstalled. To install it, please first uninstall integration properly by doing (terminal)

Code:

touch /opt/friends-integration/ContactCard.qml.old
zypper rm friends-integration
zypper in -f sailfish-components-contacts-qt5

Afterwards, install friends-integration 0.1.1, and don't install 0.1.0.

Cant right get this, so, If I have 010 installed, can I just update via warehouse to 011 and all should be good? or do I need to run the code in any case?

thedead1440 2014-03-18 09:47

Re: Friends integration: get more social integration for SailfishOS
 
Quote:

Originally Posted by andreas1 (Post 1417377)
Cant right get this, so, If I have 010 installed, can I just update via warehouse to 011 and all should be good? or do I need to run the code in any case?

Run the code first...

thedead1440 2014-03-18 09:48

Re: Friends integration: get more social integration for SailfishOS
 
Quote:

Originally Posted by Uitto (Post 1417375)
To me it says that cannot touch '/opt/friends-integration/ContactCard.qml.old': Permission denied

and

zypper: command not found


Edit: i forgot devel-su. No when i type touch.... it says nothing. But still it won't regognize zypper

As regular user do 'pkcon install zypper' first.

Uitto 2014-03-18 09:52

Re: Friends integration: get more social integration for SailfishOS
 
Okey, for other impatient people being anxious to update this software. Here is some things that happened to me:

First i couldn't do those command that were told to do.

You have to write "devel-su" in order to have root-rights.

Then write
Code:

pkcon install zypper
I think this tells enough what it does...

Then write:
Code:

touch /opt/friends-integration/ContactCard.qml.old
zypper rm friends-integration
zypper in -f sailfish-components-contacts-qt5

Last one installs contact components again.

---
For me happened that i tried to write those things and i didn't have zypper installed so they didn't go trough. Then i uninstalled this from warehouse and installed newer version and then my contact cards didn't open. I almost panicked :)

But then i did found out that i had to first install zypper and then after doing
Code:

zypper in -f sailfish-components-contacts-qt5
my contacts are visible again!




And finally for the record i take no responsibility of your phones...

andreas1 2014-03-18 11:21

Re: Friends integration: get more social integration for SailfishOS
 
1 Attachment(s)
Quote:

Originally Posted by thedead1440 (Post 1417383)
Run the code first...

Okay, what would this pic mean?

thedead1440 2014-03-18 11:40

Re: Friends integration: get more social integration for SailfishOS
 
Quote:

Originally Posted by andreas1 (Post 1417414)
Okay, what would this pic mean?

you touched the wrong file. Its ContactCard.qml.old not ContactCardPage.qml.old

andreas1 2014-03-18 12:20

Re: Friends integration: get more social integration for SailfishOS
 
Quote:

Originally Posted by thedead1440 (Post 1417417)
you touched the wrong file. Its ContactCard.qml.old not ContactCardPage.qml.old

Thanks, I'll get my coat.

Quote:

Originally Posted by Sfiet_Konstantin (Post 1417177)
How to enable Facebook integration:
  1. Add a Facebook account and allow contacts to be synced
  2. Install Friends integration package

Then, an attached panel will be available for your Facebook friends inside contacts. You can even open the user inside Friends, or open the news feeds.

So, how does this actually work? I didnt see anything in people(?!)-app after 010 and now after 011, I still dont see anything. Can you give some pointers?

Kleimo 2014-03-18 15:10

Re: Friends integration: get more social integration for SailfishOS
 
After zypper in -f sailfish-components-contacts-qt5 command i get this warning:

1 package to reinstall.
Overall download size: 87.6 KiB. No additional space will be used or freed
after the operation.
Continue? [y/n/?] (y): y
Retrieving package sailfish-components-contacts-qt5-0.1.6-10.16.1.jolla.armv7hl
(1/1), 87.6 KiB (250.6 KiB unpacked)
Retrieving: sailfish-components-contacts-qt5-0.1.6-10.16.1.jolla.armv7hl.r[done]
Installing: sailfish-components-contacts-qt5-0.1.6-10.16.1.jolla .........[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/non-oss/armv7hl/sailfish-components-contacts-qt5-0.1.6-10.16.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

and People does not open.

Makeclick 2014-03-18 15:34

Re: Friends integration: get more social integration for SailfishOS
 
Ok... maybe i will wait untill it is: "install it from the Warehouse" and it will work :). Waithing..

jayki 2014-03-18 16:29

Re: Friends integration: get more social integration for SailfishOS
 
http://abload.de/img/20140318172600m3f74.jpg

What does this mean? In Friends its working...

PeterSmurffiPan 2014-03-19 10:29

Re: Friends integration: get more social integration for SailfishOS
 
Very cool. Works for most of my contacts but not all. It gives me an error message:

"Facebook has returned an error. This operation might not be permitted." as well as "No post" on top of that.

Looking forward to next version. I like your work a lot!

tvicol 2014-03-19 11:10

Re: Friends integration: get more social integration for SailfishOS
 
My problem had been reported here: https://together.jolla.com/question/...o-answer-call/

Sfiet_Konstantin 2014-03-21 16:37

Re: Friends integration: get more social integration for SailfishOS
 
I'm stopping publishing friends integration to openrepos right now. I need the installation to be foolproof.

As a reminder to everybody, please follow http://talk.maemo.org/showpost.php?p...62&postcount=2 to uninstall friends-integration version 0.1.0.

I have pushed to my OBS (see link in first page) friends 0.1.2. This version allows you to help me debugging why there is this strange screen about error in integration.
  1. Install package
  2. In terminal, do "devel-su --privileged" and enter password
  3. run "jolla-contacts", and go to the contact card that have a problem
  4. Slide to open integration and copy the content of the terminal and paste it here.
  5. Thanks !

willi6868 2014-04-14 11:55

Re: Friends integration: get more social integration for SailfishOS
 
I am unable to install friends integration via openrepos anymore it says 'deb resolution failed' and 'nothing provides sailfish-components...'. Already ran the commands in second post.
Any ideas?


All times are GMT. The time now is 19:55.

vBulletin® Version 3.8.8