Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Overlay for wickr
Date: Fri, 27 Mar 2015 23:02:43
Message-Id: 201503272302.32147.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Overlay for wickr by Matti Nykyri
1 On Friday 20 Mar 2015 19:59:12 Matti Nykyri wrote:
2 > On Mon, Mar 16, 2015 at 08:49:18AM +0200, Matti Nykyri wrote:
3 > > > On Mar 16, 2015, at 8:28, Mick <michaelkintzios@×××××.com> wrote:
4 > > >
5 > > > I've looked at zugaina too and didn't find anything, hence I asked
6 > > > here. I'll file a bug at some point, unless anyone beats me to it.
7 > >
8 > > Writing an ebuild to do the install is like 5 min job :) I'm now in a
9 > > train only with a phone, but when i get home i can write you one.
10 > >
11 > > Just my opinion... I would never ever trust non open source encryption
12 > > software. Everyting published isn't true :)
13 >
14 > Ok... No I'm happily back home after circling around the World ;)
15 >
16 > Doing the ebuild was a bit more tricky... The program has bad bugs :(
17 >
18 > The wickr executable is linked against icu-52, but in the archive the
19 > libraries are libicui18n-53 -> had to make symbolic link Also the
20 > symboltable in wickr had to be altered.
21 >
22 > And the ebuild:
23 >
24 > ------------- Clip ---------------
25 > EAPI=5
26 >
27 > inherit eutils
28 >
29 > DESCRIPTION="Wickr Top-Secret Messenger"
30 > HOMEPAGE="https://www.wickr.com/downloads/"
31 > SRC_URI="x86? ( http://mywickr.info/download.php?p=332 -> ${P}_i386.deb )
32 > amd64? ( http://mywickr.info/download.php?p=364 -> ${P}_amd64.deb )"
33 >
34 > LICENCE=""
35 > SLOT="0"
36 > KEYWORDS="~amd64 ~x86"
37 > IUSE="x86 amd64"
38 >
39 > RDEPEND="sys-libs/glibc
40 > sys-devel/gcc
41 > sys-apps/util-linux
42 > media-sound/pulseaudio"
43 >
44 > src_unpack() {
45 > mkdir ${S}
46 > cd ${S}
47 >
48 > ar x ${DISTDIR}/${A}
49 > }
50 >
51 > src_install() {
52 > cd ${D}
53 > tar --same-owner --preserve-permissions -xof ${S}/data.tar.xz
54 >
55 > if use x86 ; then
56 > MY_OFFSET=332312
57 > elif use amd64 ; then
58 > MY_OFFSET=393763
59 > fi
60 > echo "3" | dd of=usr/bin/wickr bs=1 count=1 seek=${MY_OFFSET} conv=notrunc
61 >
62 > cd usr/lib/wickr
63 > ln -s libicui18n.so.53 libicui18n.so.52
64 > }
65 > ------------- Clip ---------------
66 >
67 > After correcting those the software segfaults in libQt5core.so that is
68 > provided in the archive... So you probably need Qt5 installed.
69
70 Thanks! I will try it when I install qt5.
71
72 --
73 Regards,
74 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature