Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564190 - app-admin/qtpass - GUI for app-admin/pass
Summary: app-admin/qtpass - GUI for app-admin/pass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vladimir Pavljuchenkov (SpiderX)
URL: https://qtpass.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-26 15:37 UTC by Anne Jan Brouwer
Modified: 2016-01-04 07:14 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Based on ebuild by Bertrand Jacquin <bertrand@jacquin.bzh> (qtpass-1.0.3.ebuild.txt,769 bytes, text/plain)
2015-10-26 15:37 UTC, Anne Jan Brouwer
Details
qtpass-1.0.5.ebuild (file_564190.txt,1010 bytes, text/plain)
2015-11-25 00:15 UTC, Anne Jan Brouwer
Details
qtpass-1.0.5.ebuild_ (qtpass-1.0.5.ebuild,1.29 KB, text/plain)
2015-12-20 11:18 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
metadata for qtpass-1.0.5.ebuild (metadata.xml,661 bytes, text/xml)
2015-12-20 11:18 UTC, Vladimir Pavljuchenkov (SpiderX)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anne Jan Brouwer 2015-10-26 15:37:51 UTC
Created attachment 415530 [details]
Based on ebuild by Bertrand Jacquin <bertrand@jacquin.bzh>

Hi!

Please find attached qtpass-1.0.3.ebuild

QtPass is a multi-platform GUI for app-admin/pass, the standard unix password manager.
It can either use pass or gpg directly.

I suggest pp-admin/qtpasspass Also, this ebuild depends on dev-qt/qtcore:5 dev-qt/qtgui:5[xcb] dev-qt/qtwidgets:5 dev-qt/qtnetwork:5 app-crypt/gnupg optionally app-admin/pass

Thanks in advance,
  Anne Jan Brouwer
Comment 1 Anne Jan Brouwer 2015-10-26 15:58:51 UTC
The suggested location was miss-pasted . . should be: app-admin/qtpass
Comment 2 Merlijn Wajer 2015-11-24 14:23:08 UTC
I am happy to step as maintainer for the package, but I will need a proxy maintainer, I think?
Comment 3 Anne Jan Brouwer 2015-11-25 00:15:30 UTC
Created attachment 417794 [details]
qtpass-1.0.5.ebuild

From version 1.0.5 up QtPass needs linguist-tools as build-dependency.
Cleaned up the ebuild a bit, added more (compatible) platforms.

I have tested this ebuild on a clean VM image: https://pad.ijhack.nl/p/qtpass-gentoo-test
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-11-25 14:55:12 UTC
(In reply to Merlijn Wajer from comment #2)
> I am happy to step as maintainer for the package, but I will need a proxy
> maintainer, I think?

Proxy Maintainers project can help with that: https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2015-12-07 08:30:53 UTC
To  Anne Jan Brouwer  and Merlijn Wajer:
1. There is much white space present in the submitted ebuild, mostly the indents need be tab spaces.  from dev-qt/qtgui:5[xcb] to app-admin/pass, by convention, either 1 or 2 tab spaces are correct.

2. KEYWORD arm is absent in the critical dep package app-admin/pass

3. INSTALL_ROOT="${ED}" caters to a prefix install and no prefix KEYWORDS are present in this ebuild's KEYWORDS.  ${ED} will work for both but the correct for a regulat host system is   "${D}".

Once all deps emerged, 

>>> Completed installing qtpass-1.0.5 into /mnt/gen2/TmpDir/portage/app-admin/qtpass-1.0.5/image/

At this point I don't know whether to expect Anne Jan Brouwer or Merlijn Wajer to edit and re-submit.
Comment 6 Merlijn Wajer 2015-12-07 08:35:16 UTC
With regards to 2: I can test the ebuild on my ARM laptop. With regards to 1 and 3, I will poke Anne Jan Brouwer and one of us will surely come back with a fixed ebuild.

Thanks.
Comment 7 Vladimir Pavljuchenkov (SpiderX) 2015-12-20 11:18:02 UTC
Created attachment 419890 [details]
qtpass-1.0.5.ebuild_

My version of ebuild:
1. No need to explicitly inherit eutils, qmake-utils do this for us.
2. Support of qt4 and qt5. (Tested).
3. No arm in keywords, and I don't see that app-admin/pass supports it.
4. Patch to fix segfault (https://github.com/IJHack/qtpass/issues/122)
5. epatch_user.

Tested on x86 and amd64.

repoman -d full

RepoMan scours the neighborhood...
RepoMan sez: "If everyone were like you, I'd be out of business!"
Comment 8 Vladimir Pavljuchenkov (SpiderX) 2015-12-20 11:18:54 UTC
Created attachment 419892 [details]
metadata for qtpass-1.0.5.ebuild
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2015-12-29 06:55:43 UTC
(In reply to SpiderX from comment #8)
> Created attachment 419892 [details]
> metadata for qtpass-1.0.5.ebuild

would you care to be set as a proxy maintainer of this package under the supervision / support of the proxy maintainers project?
Comment 10 Vladimir Pavljuchenkov (SpiderX) 2015-12-29 07:05:32 UTC
> would you care to be set as a proxy maintainer of this package under the supervision / support of the proxy maintainers project?

Sure. I agree.
Comment 11 Sam Jorna (wraeth) gentoo-dev 2016-01-04 05:23:32 UTC
Runtest of the ebuild in attachment 419890 [details] works fine for me with both USE=qt5
and USE=-qt5.
Comment 12 Ian Delaney (RETIRED) gentoo-dev 2016-01-04 05:40:47 UTC
I shall get onto reviewing and runtesting the ebuild next thing.
Let's see if we can get a criss tester.
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2016-01-04 07:14:32 UTC
I have added the package based on the ebuild submitted in 
https://bugs.gentoo.org/attachment.cgi?id=419892

Minor touch which I decided were not worthy of delaying its addition I simply outline here. You can peruse them at leisure. They are points of style and syntax which in the scheme of bash programming are trivalitites;

1. DESCRIPTION too long. Need be <= 80 chars.
There is a rule to NOT include the name of the package within the Description, so cutting QtPass is a + the period at the ned cuts it down to size.
2. I could have expanded on IUSE="+qt5" as a default choice but it will siffice
3. The sed statements in src_prepare() were a country mile long. I merely lime split them to keep them <= 80 chars.  The msg in the first I could have cut since generally a sed statement generally do not warrant a msg. It doesn't hurt.
4. ditto the Comment of the 2nd. sed statement.
5. White space issues in metadata and substituted the line of <description> with that in the sample page of https://wiki.gentoo.org/wiki/Project:Proxy_Maintainer


commit 1b3be9434b4ae36e1a80319453666fd5e21dacb1
Author: Ian Delaney <idella4@gentoo.org>
Date:   Mon Jan 4 15:13:14 2016 +0800

    app-admin/qtpass: New ebuild, a GUI for app-admin/pass in qt
    
    ebuild submitted by the OP Anne Jan Brouwer which was edited by
    Merlijn Wajer who agreed to proxy maintain, however in the end,
    ebuild also submitted by spiderx who also agreed to proxy maintain.
    With consent by Merlijn Wajer, the proxy maintainership has been
    assigned to spiderx; ebuild submitted in Comment 8 of the gentoo bug
    and usedfor this addition to the tree with minor touchups to bring
    style and syntax in the ebuild and metadata to required needs.
    Cross tested fully by user wraeth and myself. Fixes and closes the gentoo bug
    
    Gentoo bug: #564190