maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Announce] [Developer attention required] Port of Harmattan's SignOn framework to Fremantle (https://talk.maemo.org/showthread.php?t=87206)

marmistrz 2012-10-03 16:24

[Announce] [Developer attention required] Port of Harmattan's SignOn framework to Fremantle
 
Hi,

I managed to port the most of the Harmattan's SignOn Framework.

How to be able to install it?
You need to add the meecolay repository and extras-devel. You can do it by installing the meecolay-core package.
Note: you need to apt-get update after installing the package!
Note2: meecolay-core sets up the repo temporarily. Due to problems with autobuilder, repo setup hasn't been moved to separate package yet. The update will be announced in this thread too.

INFORMATION FOR DEVELOPERS

Now, with most libraries ported we need a nice GUI. Otherwise Accounts & SSO framework is useless. I was unable to cleanly build the GUI stuff.

What is needed
  • libaccounts-ui: link (source of Harmattan version depends on proprietary libraries, nemo is free of them) - we can take original Harmattan packaging to the Nemo version
  • accounts-ui: link

The best way might be to base on Nemo Mobile code. We don't have Sparql modules in tracker. Debian packaging for these can be created by Qt Creator if Harmattan/Fremantle target selected. QML might be a good choice, then some of the Nemo code might be reused.

I hope we can create the Fremantle-ready GUI parts so that any developer can use SSO! If you'd like to help in creating the GUI parts, pm or mail me.

sifo 2012-10-03 16:40

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
I would like to test it as it is a part of meecolay :)
just a question: i need to install all the debs in that link ? and what difference should i note ?
thanks

./sifo

marmistrz 2012-10-03 16:43

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Quote:

Originally Posted by sifo (Post 1275896)
I would like to test it as it is a part of meecolay :)
just a question: i need to install all the debs in that link ? and what difference should i note ?
thanks

./sifo

Install libsignon-qt0 and signond, and anything that is shown as a missing dependency and is in the link. Then apt-get install -f
And tell me which pkgs were needed.

sifo 2012-10-03 17:08

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Here it is :
Code:

/home/user/MyDocs # dpkg -i signond_9.23-1maemo0_armel.deb libsignon-qt0_9.23-1maemo0_armel.deb
Selecting previously deselected package signond.
(Reading database ... 50862 files and directories currently installed.)
Unpacking signond (from signond_9.23-1maemo0_armel.deb) ...
Adding system user signon....done
Replacing files in old package signond0 ...
Selecting previously deselected package libsignon-qt0.
Unpacking libsignon-qt0 (from libsignon-qt0_9.23-1maemo0_armel.deb) ...
dpkg: dependency problems prevent configuration of signond:
 signond depends on aegisfs; however:
  Package aegisfs is not installed.
 signond depends on libcryptsetup0; however:
  Package libcryptsetup0 is not installed.
 signond depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
dpkg: error processing signond (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsignon-qt0:
 libsignon-qt0 depends on signond; however:
  Package signond is not configured yet.
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
dpkg: error processing libsignon-qt0 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 signond
 libsignon-qt0
/home/user/MyDocs #

i tried "apt-get install -f" but it wants to remove them !
Code:

/home/user/MyDocs # apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  libsignon-qt0 signond
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 1057kB disk space will be freed.
Do you want to continue [Y/n]?

should i install aegisfs, ibcryptsetup0 and libcryptsetup0-qt manually from devel ?

imo 2012-10-03 17:09

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Well if this really works ,i am gonna consider it real achievement in sense of mee-cloy development . great work i must say ,just had a look at SSO and i reckon it is lovely there .

marmistrz 2012-10-03 18:00

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Quote:

Originally Posted by sifo (Post 1275914)
Here it is :
Code:

/home/user/MyDocs # dpkg -i signond_9.23-1maemo0_armel.deb libsignon-qt0_9.23-1maemo0_armel.deb
Selecting previously deselected package signond.
(Reading database ... 50862 files and directories currently installed.)
Unpacking signond (from signond_9.23-1maemo0_armel.deb) ...
Adding system user signon....done
Replacing files in old package signond0 ...
Selecting previously deselected package libsignon-qt0.
Unpacking libsignon-qt0 (from libsignon-qt0_9.23-1maemo0_armel.deb) ...
dpkg: dependency problems prevent configuration of signond:
 signond depends on aegisfs; however:
  Package aegisfs is not installed.
 signond depends on libcryptsetup0; however:
  Package libcryptsetup0 is not installed.
 signond depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
dpkg: error processing signond (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsignon-qt0:
 libsignon-qt0 depends on signond; however:
  Package signond is not configured yet.
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
dpkg: error processing libsignon-qt0 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 signond
 libsignon-qt0
/home/user/MyDocs #

i tried "apt-get install -f" but it wants to remove them !
Code:

/home/user/MyDocs # apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  libsignon-qt0 signond
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 1057kB disk space will be freed.
Do you want to continue [Y/n]?

should i install aegisfs, ibcryptsetup0 and libcryptsetup0-qt manually from devel ?


Hi,

so: you have 2 ways:
first:
1) install everything which's not aegisfs and is needed manually
2) install signon
3) dpkg --configure -a --force-depends
this is not a permanent

second:
you can try out my updated fuse (I'm lacking testers to claim it stable or not for sure, but this should be ok)
1) install fuse http://talk.maemo.org/showpost.php?p...03&postcount=1
2) install aegisfs http://harmattan-dev.nokia.com/pool/...+0m6_armel.deb
3) apt-get install -f
4) install signon

Mentalist Traceur 2012-10-03 18:54

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
What does this to as far as providing actual advantages/disadvantages, to the one that's already on the N900?

marmistrz 2012-10-04 13:58

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Quote:

Originally Posted by Mentalist Traceur (Post 1275974)
What does this to as far as providing actual advantages/disadvantages, to the one that's already on the N900?

Generally N900 signond0 isn't compatible with libsignon afaik. But I don't know anything else about the diffs.

In the control file it wrote that it replaces signond0, so this shouldn't be worse, I guess.

sifo 2012-10-05 13:53

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Quote:

Originally Posted by marmistrz (Post 1275948)
Hi,

so: you have 2 ways:
first:
1) install everything which's not aegisfs and is needed manually
2) install signon
3) dpkg --configure -a --force-depends
this is not a permanent

second:
you can try out my updated fuse (I'm lacking testers to claim it stable or not for sure, but this should be ok)
1) install fuse http://talk.maemo.org/showpost.php?p...03&postcount=1
2) install aegisfs http://harmattan-dev.nokia.com/pool/...+0m6_armel.deb
3) apt-get install -f
4) install signon

so i took the second way
1-installed fuse without problems
2- aegisfs
Code:

/home/user/MyDocs # dpkg -i aegisfs_1.0.0\+0m6_armel.deb
Selecting previously deselected package aegisfs.
(Reading database ... 51513 files and directories currently installed.)
Unpacking aegisfs (from aegisfs_1.0.0+0m6_armel.deb) ...
dpkg: dependency problems prevent configuration of aegisfs:
 aegisfs depends on libbb5-0; however:
  Package libbb5-0 is not installed.
 aegisfs depends on libzip1 (>= 0.9-3); however:
  Package libzip1 is not installed.
dpkg: error processing aegisfs (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 aegisfs

apt-get install -f
Code:

/home/user/MyDocs # apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libfuse2 fuse-utils
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  aegisfs libsignon-qt0 signond
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1307kB disk space will be freed.
Do you want to continue [Y/n]? n

dpkg --configure -a --force-depends
Code:

/home/user/MyDocs # dpkg --configure -a --force-depends
dpkg: aegisfs: dependency problems, but configuring anyway as you request:
 aegisfs depends on libbb5-0; however:
  Package libbb5-0 is not installed.
 aegisfs depends on libzip1 (>= 0.9-3); however:
  Package libzip1 is not installed.
Setting up aegisfs (1.0.0+0m6) ...
aegisfs: error while loading shared libraries: libzip.so.1: cannot open shared object file: No such file or directory
dpkg: error processing aegisfs (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: signond: dependency problems, but configuring anyway as you request:
 signond depends on aegisfs; however:
  Package aegisfs is not configured yet.
 signond depends on libcryptsetup0; however:
  Package libcryptsetup0 is not installed.
 signond depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
Setting up signond (9.23-1maemo0) ...
aegisfs: error while loading shared libraries: libzip.so.1: cannot open shared object file: No such file or directory
dpkg: libsignon-qt0: dependency problems, but configuring anyway as you request:
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
Setting up libsignon-qt0 (9.23-1maemo0) ...
ldconfig: /usr/lib/libpulse-mainloop-glib.so.0 is not a symbolic link

ldconfig: /usr/lib/libpulse.so.0 is not a symbolic link

ldconfig: /usr/lib/libpulse-simple.so.0 is not a symbolic link

Errors were encountered while processing:
 aegisfs

( signon installed too )

what should i do now ?

marmistrz 2012-10-05 13:59

Re: [Announce] Port of Harmattan's SignOn framework to Fremantle
 
Quote:

Originally Posted by sifo (Post 1276839)
so i took the second way
1-installed fuse without problems
2- aegisfs
Code:

/home/user/MyDocs # dpkg -i aegisfs_1.0.0\+0m6_armel.deb
Selecting previously deselected package aegisfs.
(Reading database ... 51513 files and directories currently installed.)
Unpacking aegisfs (from aegisfs_1.0.0+0m6_armel.deb) ...
dpkg: dependency problems prevent configuration of aegisfs:
 aegisfs depends on libbb5-0; however:
  Package libbb5-0 is not installed.
 aegisfs depends on libzip1 (>= 0.9-3); however:
  Package libzip1 is not installed.
dpkg: error processing aegisfs (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 aegisfs

apt-get install -f
Code:

/home/user/MyDocs # apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libfuse2 fuse-utils
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  aegisfs libsignon-qt0 signond
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1307kB disk space will be freed.
Do you want to continue [Y/n]? n

dpkg --configure -a --force-depends
Code:

/home/user/MyDocs # dpkg --configure -a --force-depends
dpkg: aegisfs: dependency problems, but configuring anyway as you request:
 aegisfs depends on libbb5-0; however:
  Package libbb5-0 is not installed.
 aegisfs depends on libzip1 (>= 0.9-3); however:
  Package libzip1 is not installed.
Setting up aegisfs (1.0.0+0m6) ...
aegisfs: error while loading shared libraries: libzip.so.1: cannot open shared object file: No such file or directory
dpkg: error processing aegisfs (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: signond: dependency problems, but configuring anyway as you request:
 signond depends on aegisfs; however:
  Package aegisfs is not configured yet.
 signond depends on libcryptsetup0; however:
  Package libcryptsetup0 is not installed.
 signond depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
Setting up signond (9.23-1maemo0) ...
aegisfs: error while loading shared libraries: libzip.so.1: cannot open shared object file: No such file or directory
dpkg: libsignon-qt0: dependency problems, but configuring anyway as you request:
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
 libsignon-qt0 depends on libsignoncrypto-qt; however:
  Package libsignoncrypto-qt is not installed.
Setting up libsignon-qt0 (9.23-1maemo0) ...
ldconfig: /usr/lib/libpulse-mainloop-glib.so.0 is not a symbolic link

ldconfig: /usr/lib/libpulse.so.0 is not a symbolic link

ldconfig: /usr/lib/libpulse-simple.so.0 is not a symbolic link

Errors were encountered while processing:
 aegisfs

( signon installed too )

what should i do now ?

Install libzip1 before aegisfs.
I'm planning to build newer version of libzip1


All times are GMT. The time now is 18:15.

vBulletin® Version 3.8.8