maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   KeePassX v2 for Maemo 5 Nokia N900 (https://talk.maemo.org/showthread.php?t=89234)

luf 2013-02-19 21:52

KeePassX v2 for Maemo 5 Nokia N900
 
1 Attachment(s)
I took a look on keepassx v2 (alpha3) http://www.keepassx.org/news/2012/10/367

I was a little bit frustrated that there is no support for N900 or any other small displays as mentioned in roadmap: http://www.keepassx.org/news/2010/09/242

So I spent some of my free time with fixing it. I cloned the git (https://gitorious.org/keepassx/keepassx) to https://gitorious.org/~luf/keepassx/keepassx-n900 and add several features:
- decrease requested cmake version from 2.6.4 to 2.6.3 (on N900)
- add QScrollArea into Dialogs (for small displays)
- change signal CategoryListWidget::currentRowChanged to itemActivated (due to Maemo usage - change even during scroll only: http://forums.internettablettalk.com....php?p=1108063 )
- specify minimum height of icon lists
- fix columns in Settings (added colspan)

- Maemo only (#if(n)dev Q_WS_MAEMO_5:
+ removed Enty and Group actions from menu (as it should be performed via popup menu)
+ hides Cancel buttons because click outside dialog window is cancel. But it's unable to click outside MainWindows
=> I rewrite DialogyWidget to QDialogs
=> DatabaseWidget to exec dialogs
=> all dialogs to call QDialog:: accept() or reject()
=> change labels to Dialog captions
+ change height of some Dialogs
+ remove/hide some spacers

Right now I'm able to open some keepass v2 database and work with it.

If there is someone who wants to test it feel free to install it from http://merlin1991.at/~luf/keepassx or I uploaded it as attachement (few kB below the limit for .deb)

EDIT: this package was built againist PR 1.3 so the problem with installation should disappear.

frafI 2013-02-19 23:11

Re: KeePassX v2 for Maemo 5 Nokia N900
 
Sounds nice, I'll try it out.
I like KeyPassX 1, but it's not well integrated, so it's good to hear that you put some effort into the usability.

Cardigan 2013-02-20 06:37

Re: KeePassX v2 for Maemo 5 Nokia N900
 
Great,

thanks for that, I will try it

BR, Oliver

reinob 2013-02-20 10:07

Re: KeePassX v2 for Maemo 5 Nokia N900
 
@luf,

Thanks for porting! I tried to install the .deb but it requires Qt 4.7.4 (libqt4-core, libqt4-dbus, libqt4-gui).

Is there a reason for this? AFAIK 4.7.4 is only available with CSSU, while plain PR 1.3(.1) has 4.7.0.

luf 2013-02-20 12:45

Re: KeePassX v2 for Maemo 5 Nokia N900
 
Quote:

Originally Posted by reinob (Post 1324040)
I tried to install the .deb but it requires Qt 4.7.4 (libqt4-core, libqt4-dbus, libqt4-gui).

Is there a reason for this? AFAIK 4.7.4 is only available with CSSU, while plain PR 1.3(.1) has 4.7.0.

I'm using CSSU-testing and I don't have pure PR 1.3 build environment :(
I'll try to create PR 1.3 build environment and rebuild it there.

But please don't hold your breath. It seems maybe I'll have some time during weekend or next week.

frafI 2013-02-20 13:33

Re: KeePassX v2 for Maemo 5 Nokia N900
 
Quote:

Originally Posted by reinob (Post 1324040)
@luf,

Thanks for porting! I tried to install the .deb but it requires Qt 4.7.4 (libqt4-core, libqt4-dbus, libqt4-gui).

Is there a reason for this? AFAIK 4.7.4 is only available with CSSU, while plain PR 1.3(.1) has 4.7.0.

You could modify the deb or extract it manually, since 4.7.4 and 4.7.0 are binary compatible (patch releases should not introduce new symbols). Something like
Code:

ar x ....deb data.tar.gz && tar xf data.tar.gz
should work. Do this in a reasonable directory and move what you like to install.

Edit: @luf: And you could add the qt libs with >= 4.7.0 to the dependecies explicitly, so shlibdeps does not pull your 4.7.4 version.

luf 2013-02-23 16:52

Re: KeePassX v2 for Maemo 5 Nokia N900
 
I rebuild the package in pure PR 1.3 environment so the package should be ok.

I also removed Entry and Group actions from menu as it should be performed via popup menu.

PMaff 2013-06-21 00:00

Re: KeePassX v2 for Maemo 5 Nokia N900
 
I tried to install keepassx_2.0-alpha3maemo2_armel.deb
but it needs
libgcrypt11 (>=1.4.2)

The ones at
http://repository.maemo.org/
do not work, my N900 with PR1.3 says incompatible.

Where can I get a libgcrypt11 version > = 1.4.2 for N900 with PR1.3 ?

luf 2013-06-22 09:50

Re: KeePassX v2 for Maemo 5 Nokia N900
 
Quote:

Originally Posted by PMaff (Post 1353579)
I tried to install keepassx_2.0-alpha3maemo2_armel.deb
but it needs
libgcrypt11 (>=1.4.2)

I'll take a look today or tomorrow. Maybe I again built the package last time in wrong environment.

PMaff 2013-06-22 14:05

Re: KeePassX v2 for Maemo 5 Nokia N900
 
Quote:

Originally Posted by luf (Post 1353880)
I'll take a look today or tomorrow. Maybe I again built the package last time in wrong environment.

Thanks a lot.

And maybe someone else can look at the
libgcrypt11
versions at http://repository.maemo.org/ and why the version
for Maemo5 is not there?


All times are GMT. The time now is 02:13.

vBulletin® Version 3.8.8