Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131528 - net-im/psi-0.11 (version bump)
Summary: net-im/psi-0.11 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement with 1 vote (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL: http://forum.psi-im.org/post/31848
Whiteboard:
Keywords: EBUILD
: 198044 (view as bug list)
Depends on: 129536
Blocks: 188697
  Show dependency tree
 
Reported: 2006-04-27 19:25 UTC by trejkaz
Modified: 2010-09-22 11:09 UTC (History)
40 users (show)

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


Attachments
psi-0.11_beta2.ebuild (psi-0.11_beta2.ebuild,4.02 KB, text/plain)
2006-06-18 14:32 UTC, Przemyslaw Maciag (RETIRED)
Details
psi-slotted_qca2.patch (psi-slotted_qca2.patch,844 bytes, patch)
2006-06-18 14:34 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
psi-0.11_beta2.ebuild (psi-0.11_beta2.ebuild,4.20 KB, text/plain)
2006-06-18 16:20 UTC, Przemyslaw Maciag (RETIRED)
Details
darcs psi ebuild (psi-0.11_pre1.ebuild, but "pre"-suffix is wrong) (psi-0.11_pre1.ebuild,2.93 KB, text/plain)
2006-06-27 16:08 UTC, David Danier
Details
patch for 64 bit system (64bit_plug_patch.diff,600 bytes, patch)
2007-01-02 02:35 UTC, Yury Zhuravlev
Details | Diff
psi-pluginmanager_qstring_arg_num.patch (psi-pluginmanager_qstring_arg_num.patch,693 bytes, patch)
2007-01-02 12:15 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
app-crypt/qca/qca-2.0_beta5.ebuild (qca-2.0_beta5.ebuild,1.15 KB, text/plain)
2007-05-13 12:05 UTC, Marian Kyral
Details
app-crypt/qca-openssl/qca-openssl-0.1_pre20070508.ebuild (qca-openssl-0.1_pre20070508.ebuild,1.00 KB, text/plain)
2007-05-13 12:07 UTC, Marian Kyral
Details
net-im/psi/psi-0.11_rc1.ebuild (psi-0.11_rc1.ebuild,3.86 KB, text/plain)
2007-05-13 12:11 UTC, Marian Kyral
Details
psi-0.11_rc1.ebuild (psi-0.11_rc1.ebuild,2.23 KB, text/plain)
2007-05-21 21:40 UTC, Przemyslaw Maciag (RETIRED)
Details
psi-0.11_pre20070708.ebuild (psi-0.11_pre20070708.ebuild,2.72 KB, text/plain)
2007-07-08 17:45 UTC, Davide Pesavento (RETIRED)
Details
psi-0.11_pre20070708.ebuild (psi-0.11_pre20070708.ebuild,2.75 KB, text/plain)
2007-07-08 18:51 UTC, Davide Pesavento (RETIRED)
Details
psi-0.11_rc2.ebuild (psi-0.11_rc2.ebuild,2.85 KB, text/plain)
2007-07-17 05:33 UTC, Marian Kyral
Details
psi-0.11_pre20070801.ebuild (psi-0.11_pre20070801.ebuild,2.08 KB, text/plain)
2007-08-02 21:14 UTC, Davide Pesavento (RETIRED)
Details
psi-0.11_pre20070909.ebuild (psi-0.11_pre20070909.ebuild,2.00 KB, text/plain)
2007-09-09 14:38 UTC, Davide Pesavento (RETIRED)
Details
psi-0.11.ebuild (psi-0.11.ebuild,1.90 KB, text/plain)
2007-10-16 21:52 UTC, Davide Pesavento (RETIRED)
Details
this patch removes all sly sotring and just takes first smile for iconselect. (psi-iconselect-direct-order.patch,1.76 KB, patch)
2007-11-25 12:43 UTC, Vadim Efimov
Details | Diff
psi-0.11.ebuild (psi-0.11.ebuild,1.78 KB, text/plain)
2007-12-09 12:18 UTC, Przemyslaw Maciag (RETIRED)
Details
psi-0.11.ebuild (psi-0.11.ebuild,1.78 KB, text/plain)
2008-01-24 09:16 UTC, Markus Rothe (RETIRED)
Details
psi-0.11.ebuild (psi-0.11.ebuild,1.74 KB, text/plain)
2008-01-24 09:24 UTC, Markus Rothe (RETIRED)
Details
psi-0.11.ebuild (psi-0.11.ebuild,1.68 KB, text/plain)
2008-01-24 09:47 UTC, Markus Rothe (RETIRED)
Details
psi-0.11.ebuild (psi-0.11.ebuild,1.68 KB, text/plain)
2008-01-31 07:49 UTC, Markus Rothe (RETIRED)
Details
psi-0.11.ebuild (psi-0.11.ebuild,1.67 KB, text/plain)
2008-02-09 15:41 UTC, Peter Große
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trejkaz 2006-04-27 19:25:38 UTC
Psi 0.11 has had two betas so far.  It might be a good idea to get the build process working in Portage before the final version comes out and panic ensues.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2006-05-26 15:05:36 UTC
Where would those 0.11 beta tarballs be located? I cannot seem to find them anywhere.
Comment 3 trejkaz 2006-06-06 06:42:20 UTC
These will probably help too.  Is it worth making a separate bug record for QCA2?

http://delta.affinix.com/download/qca/2.0/beta2/
Comment 4 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-18 14:32:42 UTC
Created attachment 89494 [details]
psi-0.11_beta2.ebuild

Please remember : psi-0.11 isn't stable yet!

Ok. I finally made an ebuild for psi-0.11_beta2
To install it, you will need also:

- qca2, available here:
http://bugs.gentoo.org/show_bug.cgi?id=129536

- if you are interested in ssl connection in psi, you also need qca-openssl plugin, available here:
http://bugs.gentoo.org/show_bug.cgi?id=137132

- YOU _DON'T_ WANT QCA-GNUPG PLUGIN!!! it's broken in beta2 and nothing will work. remember - you have been warned ;)

Psi could be slotted like qca, but it's simply _to_ much of work. If anybody have enough free time - you can play with it.

If you try this new psi, plz report is it working for you or not (I hope it will  work ;) ).

Regards,
Przemek
Comment 5 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-18 14:34:16 UTC
Created attachment 89495 [details, diff]
psi-slotted_qca2.patch

small patch for psi, to work with slotted qca2

Plz keep in mind - there's no extras version (for now ;) ). I'll start work on it _soon_.

Regards,
Przemek
Comment 6 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-18 16:03:57 UTC
I found official psi fix for qca-gnupg:

http://el-tramo.be/files/psi/qca-gnupg_fix.diff

psi-0.11_beta2 works with qca-gnupg without problems.

Updated qca-gnupg ebuild can be found here:
http://bugs.gentoo.org/show_bug.cgi?id=137132

Regards,
Przemek
Comment 7 trejkaz 2006-06-18 16:19:52 UTC
> psi-0.11_beta2 works with qca-gnupg without problems.

Well, not quite.  There is a known bug that you can't have two accounts with OpenPGP enabled.  Other than that, it's supposed to work after that patch.
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-18 16:20:48 UTC
Created attachment 89499 [details]
psi-0.11_beta2.ebuild

psi-0.11_beta2_branchupdate

- I added USE falg xmms (can only be set to disabled)
- with branchudpate version, libjingle support is added. USE flag is next step on my TODO list (possibly will be ready tommorow).

Regards,
Przemek
Comment 9 Gustavo Felisberto (RETIRED) gentoo-dev 2006-06-18 17:24:58 UTC
As it is it tries to use stuff from qt3 and fails to build.

Makefile:4780: warning: overriding commands for target `.moc/moc_opt_appearance.cpp'
Makefile:4495: warning: ignoring old commands for target `.moc/moc_opt_appearance.cpp'
Makefile:4786: warning: overriding commands for target `.moc/moc_opt_sound.cpp'
Makefile:4507: warning: ignoring old commands for target `.moc/moc_opt_sound.cpp'
Makefile:4789: warning: overriding commands for target `.moc/moc_opt_advanced.cpp'
Makefile:4513: warning: ignoring old commands for target `.moc/moc_opt_advanced.cpp'
/usr/qt/3/bin/uic profileopen.ui -o .ui/profileopen.h
/usr/qt/3/bin/uic profilemanage.ui -o .ui/profilemanage.h
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.6)


I updated to use eclass qt4 and it asked to downgrade x11-libs/qt-4.1.3 to x11-libs/qt-4.1.2.
I changed DEPEND to $(qt_min_version 4.1.3) and it is now building psi-0.11


.......

After some time.... It fails while linking.
dlg.o .obj/moc_mucaffiliationsview.o .obj/moc_rosteritemexchangetask.o .obj/moc_mooddlg.o .obj/moc_pepmanager.o .obj/moc_privacymanager.o .obj/moc_privacydlg.o .obj/moc_privacyruledlg.o .obj/moc_ahcommanddlg.o .obj/moc_ahcformdlg.o .obj/moc_nodeselectordlg.o .obj/moc_psioptions.o .obj/moc_voicecaller.o .obj/moc_voicecalldlg.o .obj/moc_optionsdlg.o .obj/moc_optionstab.o .obj/moc_opt_application.o .obj/moc_opt_chat.o .obj/moc_opt_events.o .obj/moc_opt_status.o .obj/moc_opt_appearance.o .obj/moc_opt_lookfeel.o .obj/moc_opt_iconset.o .obj/moc_opt_groupchat.o .obj/moc_opt_sound.o .obj/moc_opt_toolbars.o .obj/moc_opt_advanced.o .obj/moc_busywidget.o .obj/moc_fancylabel.o .obj/moc_iconselect.o .obj/moc_iconsetselect.o .obj/moc_iconsetdisplay.o .obj/moc_iconwidget.o .obj/moc_iconbutton.o .obj/moc_psitextview.o .obj/moc_iconaction.o .obj/moc_fancypopup.o .obj/moc_urllabel.o .obj/moc_urlobject.o .obj/moc_iconlabel.o .obj/moc_icontoolbutton.o .obj/moc_fancypopuplist.o .obj/moc_psitabwidget.o .obj/moc_main.o .obj/qrc_psi.o .obj/qrc_iconsets.o    -L/usr/X11R6/lib -L/usr/lib64/qt4 -lz -lXss -L/usr/lib -lqca-2 -lXext -lX11 -lm -lpthread -lQt3Support_debug -lQtXml_debug -lQtGui_debug -lQtNetwork_debug -lQtCore_debug
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQt3Support_debug
collect2: ld returned 1 exit status
make[1]: *** [psi] Error 1
make[1]: Leaving directory `/var/tmp/portage/psi-0.11_beta2/work/psi-0.11-beta2/src'
make: *** [sub-src-make_default] Error 2


In any case it is in overlay because it will build for some users.
Comment 10 Gustavo Felisberto (RETIRED) gentoo-dev 2006-06-18 20:32:18 UTC
It needs qt built with debug use flag.Also it seems to me that one must rebuild qca and it's pluggins with debug to have then work.
Comment 11 trejkaz 2006-06-18 21:06:53 UTC
I think the rule is, if you want debug, it has to be turned on for everything.  If you don't want debug, you have to turn it off for everything (i.e., you can't mix and match.)
Comment 12 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-19 00:48:24 UTC
same bug I encountered when I was buildong qca{-xxx}, without having qt built with debug use flag. I'll correct this one today.

as for min_qt_ver, your qt4.eclass should give you list of proper qt versions. check your qt4.eclass with the one from portage - I synced yesterday and it works for me.

Regards,
Przemek
Comment 13 David Danier 2006-06-27 16:08:39 UTC
Created attachment 90318 [details]
darcs psi ebuild (psi-0.11_pre1.ebuild, but "pre"-suffix is wrong)

If someone wants to test the latest features, took me some time to get this working. Perhaps someone is interested in this.

Changes:
 * Darcs fetch ;-)
 * Support for jingle
 * Support for plugins (unuseable)
 * xmms-USE-flag only allowed when not building psi-jingle
 * Support for debugging (USE-Flag or QT-build)
 * Language-support is untested
Comment 14 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-28 02:11:49 UTC
Few days ago I made an ebuild with jingle support, but psi hangs on start. Have you tried enabling jingle support?

Regards,
Przemek
Comment 15 David Danier 2006-06-28 02:28:57 UTC
> Few days ago I made an ebuild with jingle support, but psi hangs on start. Have
> you tried enabling jingle support?

Yes, but I had no possibility to test it yet.
The "Voice call"-item in the menu is grayed out, but I think the reason for that is, that nobody on my list has jingle support. The other gentoo box with psi-0.11 does not have this menu-item, but just as it does not have jingle support.

Anyway my psi did hang sometimes, but I "fixed" this by disabling OpenPGP in my accounts (so it seems to be a qca-gnupg problem, like the darcs warning said).

Btw.: It compiles on my amd64, but failed on x86 (for me). Some error inside libjigle, but I have not looked deeper into it yet.
Comment 16 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-09-24 11:46:50 UTC
Hi!

As I finally become a dev, I do my best to psi ebuilds :)

First I have to handle qca-2 ebuild and it's plugins. After that I psi-0.11 should be in portage. But beware - for a time being it may be hard masked, since it's still not working as it should.

Regards,
Przemek
Comment 17 Christophe LEFEBVRE 2006-11-04 15:46:13 UTC
Hi !

There is an error in the HOMEPAGE url (in the ebuild). It is HOMEPAGE="http://psi-im.org/" instead of HOMEPAGE="http:/psi-im.org/".
Comment 18 Yury Zhuravlev 2007-01-02 02:35:50 UTC
Created attachment 105141 [details, diff]
patch for 64 bit system

net-im/psi-0.11_pre20061231 and USE="plugins jingle spell" compile and work fine on AMD64 system this patch(small fix for long int addr).
Comment 19 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-02 12:15:16 UTC
Created attachment 105212 [details, diff]
psi-pluginmanager_qstring_arg_num.patch

(In reply to comment #18)
> Created an attachment (id=105141) [edit]
> patch for 64 bit system
> 
> net-im/psi-0.11_pre20061231 and USE="plugins jingle spell" compile and work
> fine on AMD64 system this patch(small fix for long int addr).  

Is psi not compiling without that patch? Qt compiled with 64bit support should cast is as 64 bit integer... it's a bit strange, if it's not compiling without it...

ps. but in this code there is small typo ;) (see patch) maybe this was the problem?
Comment 20 Yury Zhuravlev 2007-01-02 12:41:28 UTC
it is small bug...
const PsiAccount* account at 64bit system == long int but in line
qDebug(qPrintable(QString("Want to send stanza  to account %2").arg((int)account)));

we say int = long int it is gcc error(32bit=64bit :) )
Comment 21 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-02 13:07:18 UTC
(In reply to comment #20)
> it is small bug...
> const PsiAccount* account at 64bit system == long int but in line
> qDebug(qPrintable(QString("Want to send stanza  to account
> %2").arg((int)account)));
> 
> we say int = long int it is gcc error(32bit=64bit :) )

lol... I don't have an amd64 box, so I have to read something about it... but I fought that int is (always?) int, and it shouldn't count here :/

where can I read about this gcc issue?

Best regards,
Przemek
Comment 22 Yury Zhuravlev 2007-01-02 13:47:58 UTC
int is int always... but address(blalba *dindin) at 64 bit systems = long int(or int64)(at 32 bit = int).
Hm... maybe man pages for gcc4(in gcc4 moooooore checks)?

sorry for my English...
Comment 23 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-02 14:06:42 UTC
(In reply to comment #22)
> int is int always... but address(blalba *dindin) at 64 bit systems = long
> int(or int64)(at 32 bit = int).
> Hm... maybe man pages for gcc4(in gcc4 moooooore checks)?
> 
> sorry for my English...

http://lists.debian.org/debian-user/2006/04/msg00681.html

nice explenation. You're right, but this is true for gcc and doesn't have to be true on other archs...

I'll add it to CVS today, together with ~amd64 keyword.

Thx for the patch and sorry for my english also ;)

Regards,
Przemek
Comment 24 Yury Zhuravlev 2007-01-02 14:31:24 UTC
But my patch need adapted for this ebuild... i can`t adapted now.
Comment 25 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-02 14:40:47 UTC
(In reply to comment #24)
> But my patch need adapted for this ebuild... i can`t adapted now.

no problem - I already create one, that my friend (with amd64 box) will check for me, today :)

Cheers,
Przemek
Comment 26 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-02 16:30:44 UTC
Uriy, can you open options dialog and click appearance button? is psi crashing than or everything works as expected?
Comment 27 Yury Zhuravlev 2007-01-02 23:55:16 UTC
Psi work but slow in this dialog.
If crash need see gdb backtrace...
Comment 28 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-02 20:17:03 UTC
on psi dev mailing list, suggestion for amd64 problem was made : to remove this line with qDebug :) fixed in newest snap ebuild in portage.

Cheers,
Przemek
Comment 29 trejkaz 2007-02-03 01:17:37 UTC
Seeing this bug reminded me that it's now up to beta4.
Comment 30 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-03 09:40:07 UTC
should be more accurate ;)

Cheers,
Przemek
Comment 31 trejkaz 2007-02-03 10:33:17 UTC
Well, yes and no... I don't really care about the non-official-beta releases. :-)
Comment 32 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-03 13:50:15 UTC
(In reply to comment #31)
> Well, yes and no... I don't really care about the non-official-beta releases.
> :-)

cvs snapshots aren't releases - that's why psi-0.11 is (and for some time will be) hard masked in gentoo ;)

Cheers,
Przemek
Comment 33 Sergey Ilinykh 2007-02-03 20:13:14 UTC
cant build 0.11_pre20070201 with jingle use flag with lots of "undefined referencing.." errors
Comment 34 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-03 23:40:25 UTC
(In reply to comment #33)
> cant build 0.11_pre20070201 with jingle use flag with lots of "undefined
> referencing.." errors

yes... --as-needed... https://bugs.gentoo.org/show_bug.cgi?id=165125
Comment 35 trejkaz 2007-02-04 07:27:28 UTC
I know that cvs snapshots aren't releases... what I said was that I only care about the official beta releases.
Comment 36 trejkaz 2007-05-13 03:47:54 UTC
RC1 is now out.
Comment 37 Marian Kyral 2007-05-13 04:41:56 UTC
I've tried to update this ebuild, but unsuccessfully.

It also needs qca-2.0.0-beta5.tar.bz2 and qca-openssl-0.1-20070508.tar.bz2 from http://delta.affinix.com/download/qca/2.0/beta5/.
Comment 38 Marian Kyral 2007-05-13 12:05:48 UTC
Created attachment 119107 [details]
app-crypt/qca/qca-2.0_beta5.ebuild

version bump
Comment 39 Marian Kyral 2007-05-13 12:07:18 UTC
Created attachment 119108 [details]
app-crypt/qca-openssl/qca-openssl-0.1_pre20070508.ebuild

New package needed for psi-0.11
Comment 40 Marian Kyral 2007-05-13 12:11:10 UTC
Created attachment 119110 [details]
net-im/psi/psi-0.11_rc1.ebuild

Created from _pre ebuild.

Removed plugins and sasl use flag. Compiled correct with "spell ssl xscreensaver" use flags. Jingle support not tested.
Comment 41 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-15 22:28:34 UTC
hi!

(In reply to comment #38)
> Created an attachment (id=119107) [edit]
> app-crypt/qca/qca-2.0_beta5.ebuild
> 
> version bump

well.... the problem is that qca-2 isn't just a version bump. qca-1 is used not only by the psi, but with some other projects as well. so qca-2 has to be slotted. unfortunatelly - qca-2 need to be patched for this, as well as any other project that depend on it. for now - it's only a psi snap/rc versions, but afaik kde4 will use it.

I already created an updated ebuild together with 'slotting' patch. I should released it in short time - stay tune.

Best regards,
Przemek
Comment 42 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-15 23:17:34 UTC
(In reply to comment #40)
> Created an attachment (id=119110) [edit]
> net-im/psi/psi-0.11_rc1.ebuild
> 
> Created from _pre ebuild.
> 
> Removed plugins and sasl use flag. Compiled correct with "spell ssl
> xscreensaver" use flags. Jingle support not tested.

well... there's _no_ jingle support in RC1 :/

btw - qca2 is included in psi srcs, so why you need them in the tree?

Regards,
Przemek
Comment 43 Marian Kyral 2007-05-18 19:11:23 UTC
(In reply to comment #42)
> well... there's _no_ jingle support in RC1 :/
> 
> btw - qca2 is included in psi srcs, so why you need them in the tree?
> 
> Regards,
> Przemek
> 

According to http://psi-im.org/wiki/Build_Instructions_Qt4 instructions, the qca is bundled only on svn snapshots, but not in releases.

<i>Note: QCA 2.0 and related plugins are currently bundled with the Psi source code from darcs/svn but <b>not in releases</b>. In the svn/darcs sources they are enabled and built by default, so you don't need to do anything about them other than installing their dependencies.</i>
Comment 44 Peter Thomassen 2007-05-18 20:22:22 UTC
I just emerged psi-0.11_rc1 and get the following:

$ psi
psi: Symbol `_ZTIN3QCA11SASLContextE' has different size in shared object, consider re-linking
psi: Symbol `_ZTVN3QCA11SASLContextE' has different size in shared object, consider re-linking
psi: symbol lookup error: psi: undefined symbol: _ZN3QCA15KeyStoreManagerC1EP7QObject
$

What to do?
Thanks.
Comment 45 František Křivánek 2007-05-20 06:58:50 UTC
on my amd64 work without problems, please add to portage
Comment 46 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-20 22:47:18 UTC
(In reply to comment #45)
> on my amd64 work without problems, please add to portage

plz, give me two more days - I need to finish one thing on my univ. sorry for the delay.

Cheers,
Przemek
Comment 47 Peter Thomassen 2007-05-21 14:02:14 UTC
In the Psi forum, I was told that the error occuring with my installation (see comment #44) is caused by the wrong qca2 version installed. I have emerged qca-2.0_beta5.ebuild and psi-0.11_rc1.ebuild. What's wrong with that?
Comment 48 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-21 21:10:32 UTC
(In reply to comment #47)
> In the Psi forum, I was told that the error occuring with my installation (see
> comment #44) is caused by the wrong qca2 version installed. I have emerged
> qca-2.0_beta5.ebuild and psi-0.11_rc1.ebuild. What's wrong with that?

plz try ebuild from http://bugs.gentoo.org/show_bug.cgi?id=129536 together with attached patch.

I'm curently testing psi-0.11_rc1 build :)

Regards,
Przemek
Comment 49 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-21 21:40:15 UTC
Created attachment 119940 [details]
psi-0.11_rc1.ebuild

psi-0.11_rc1 test ebuild - works for me.

qca2:
https://bugs.gentoo.org/show_bug.cgi?id=129536

qca-openssl:
https://bugs.gentoo.org/show_bug.cgi?id=137132

plz test and give a word does this ebuild works for all of you.

Cheers,
Przemek
Comment 50 Peter Thomassen 2007-05-21 23:12:55 UTC
Yes, Psi starts and works now. But there are two issues I noticed at first sight:
- Encryption can be turned on
- The "Modify" button in Account Setup does nothing.
Comment 51 Peter Thomassen 2007-05-21 23:13:53 UTC
Of course, I meant "Encryption can _not_ be turned on."
Comment 52 trejkaz 2007-05-22 03:40:22 UTC
I assume you've configured an encryption key in account preferences, and are talking with another user who also has a key configured.  Otherwise it wouldn't work.
Comment 53 Peter Thomassen 2007-05-22 08:48:58 UTC
I can't check my key configuration because I cannot open the account preferences. The "Modify" button in "Account Setup" does nothing.
Comment 54 Marian Kyral 2007-05-22 12:52:37 UTC
(In reply to comment #53)
> I can't check my key configuration because I cannot open the account
> preferences. The "Modify" button in "Account Setup" does nothing.
> 

I have also the same problem.
It looks like a QT4.3 beta related bug: http://forum.psi-im.org/post/31400
Comment 55 Davide Pesavento (RETIRED) gentoo-dev 2007-05-23 15:35:26 UTC
(In reply to comment #49)
> Created an attachment (id=119940) [edit]
> psi-0.11_rc1.ebuild
> 
> psi-0.11_rc1 test ebuild - works for me.
> 
> qca2:
> https://bugs.gentoo.org/show_bug.cgi?id=129536
> 
> qca-openssl:
> https://bugs.gentoo.org/show_bug.cgi?id=137132
> 
> plz test and give a word does this ebuild works for all of you.
> 
> Cheers,
> Przemek
> 

Works for me on ~amd64, but I had to use the ebuild from comment #28 on bug 129536 for qca-2.0.0_beta5 because former ones didn't work for various reasons.
Conditional dependency on app-crypt/qca-openssl is missing, too... I changed

ssl? ( dev-libs/openssl )

to

ssl? ( dev-libs/openssl
       app-crypt/qca-openssl )

in RDEPEND and it works fine.

And I have the same issue with "Modify" button in "Account Setup" dialog mentioned in comment #50, too.
Comment 56 Jan-Peter Arndt 2007-06-06 20:10:08 UTC
The "Modify" button in "Account Setup" seems to be fixed with the 20070606 nightly snapshot of psi. As far as I understand the bug only occured with QT-4.3 and KDE.

For me the snapshot compiled fine and the Account Setup works now.
Comment 57 Davide Pesavento (RETIRED) gentoo-dev 2007-07-08 17:45:37 UTC
Created attachment 124252 [details]
psi-0.11_pre20070708.ebuild

Much improved ebuild:

1) >=qca-2.0.0_beta7 is now needed;
2) better organization of DEPEND & RDEPEND and add runtime dependency on qca-ossl if USE="ssl";
3) new 'crypt' USE flag adds conditional dependency on qca-gnupg for cryptography through GPG keys;
4) use get_libdir() rather then hardcode QTDIR path to make multilib users happy;
5) use tc-getCXX() in qmake invocation to get the right compiler for both compilation and linking;
6) respect LDFLAGS;
7) disable dnotify on non-linux kernels;

See bug #129536 for new ebuilds of qca-2.0.0_beta7 and qca-{ossl|gnupg}.
Comment 58 Davide Pesavento (RETIRED) gentoo-dev 2007-07-08 18:51:19 UTC
Created attachment 124272 [details]
psi-0.11_pre20070708.ebuild

A minor fix and use dohtml to install documentation. Thanks to Flameeyes!
Comment 59 Marian Kyral 2007-07-09 10:23:18 UTC
Hi,
the ebuild psi-0.11_pre20070708 works much better then RC1. I have only small issue with previous version of qca. Compilation of psi failed on unresolved symbols. Removing of qca-2.0_beta5 helped.
Comment 60 Davide Pesavento (RETIRED) gentoo-dev 2007-07-09 10:41:01 UTC
(In reply to comment #59)
> Hi,
> the ebuild psi-0.11_pre20070708 works much better then RC1. I have only small
> issue with previous version of qca. Compilation of psi failed on unresolved
> symbols. Removing of qca-2.0_beta5 helped.
> 

Of course you should have removed qca-2.0.0_beta5 when upgrading to beta7! Two different versions of the same package cannot co-exist in the same slot!
Linking can break also if you have emerged qca-1.0* without applying the slotting patch because in the linker command line -L/usr/lib (where qca1 is usually installed) appears before -L/usr/lib/qca2: in this case I suggest you to re-emerge qca-1 applying that patch or to completely remove qca-1* from your system.
Comment 61 Marian Kyral 2007-07-09 11:17:21 UTC
I don't have a qca-1.0 in my system and I removed the old qca-2.0 version. So it is OK now. Maybe there should be some note at the end of the qca ebuild.

E.g.: "You can have installed on one version of the qca-2.0 package. Please unmerge any other versions except this one!"

Maybe a detection with the correct command for unmerging can be included. 
Comment 62 Davide Pesavento (RETIRED) gentoo-dev 2007-07-09 11:53:05 UTC
Well... Portage should take care of uninstallation of older ebuilds when a new version is installed, so I cannot understand what you are saying...
Comment 63 Marian Kyral 2007-07-09 12:47:38 UTC
So this is a problem with change package type from not sloted to sloted. Portage didn't clean out the old package(beta5) during the installation of new slotted package. It must be done manually.
Comment 64 Davide Pesavento (RETIRED) gentoo-dev 2007-07-16 15:26:54 UTC
0.11-RC2 seems to be out...
Comment 65 Marian Kyral 2007-07-17 05:33:22 UTC
Created attachment 125145 [details]
psi-0.11_rc2.ebuild
Comment 66 Peter Thomassen 2007-07-17 12:29:51 UTC
(In reply to comment #48)
> (In reply to comment #47)
> > In the Psi forum, I was told that the error occuring with my installation (see
> > comment #44) is caused by the wrong qca2 version installed. I have emerged
> > qca-2.0_beta5.ebuild and psi-0.11_rc1.ebuild. What's wrong with that?
> 
> plz try ebuild from http://bugs.gentoo.org/show_bug.cgi?id=129536 together with
> attached patch.

With RC2, the problem I described in comment #44 occurs again. Unfortunately, I have forgotten which patch the "attached patch" is. Please, can you give me a hint? Thanks :-)
Comment 67 Marian Kyral 2007-07-17 13:05:57 UTC
(In reply to comment #66)
> (In reply to comment #48)
> > (In reply to comment #47)
> > > In the Psi forum, I was told that the error occuring with my installation (see
> > > comment #44) is caused by the wrong qca2 version installed. I have emerged
> > > qca-2.0_beta5.ebuild and psi-0.11_rc1.ebuild. What's wrong with that?
> > 
> > plz try ebuild from http://bugs.gentoo.org/show_bug.cgi?id=129536 together with
> > attached patch.
> 
> With RC2, the problem I described in comment #44 occurs again. Unfortunately, I
> have forgotten which patch the "attached patch" is. Please, can you give me a
> hint? Thanks :-)
> 

Try qca-2.0.0_beta7, qca-tls, qca-gnupg, qca-ossl from bug #129536.
Comment 68 Peter Thomassen 2007-07-17 13:53:14 UTC
(In reply to comment #67)
> (In reply to comment #66)
> > 
> > With RC2, the problem I described in comment #44 occurs again. Unfortunately, I
> > have forgotten which patch the "attached patch" is. Please, can you give me a
> > hint? Thanks :-)
> 
> Try qca-2.0.0_beta7, qca-tls, qca-gnupg, qca-ossl from bug #129536.

I already have qca-2.0.0_beta7, qca-gnupg and qca-ossl installed from bug #129536. qca-tls-1.0-r3 from the Portage tree is also installed. The error described in comment #44 is still present.

In bug #129536, there is no ebuild for qca-tls, only a patch. I tried qca-tls-1.0-r3 from Portage with that patch, but then building Psi failed (supposedly because the patch creates a dependency to qca1).
Comment 69 Marian Kyral 2007-07-17 19:02:01 UTC
(In reply to comment #68)
> 
> I already have qca-2.0.0_beta7, qca-gnupg and qca-ossl installed from bug
> #129536. qca-tls-1.0-r3 from the Portage tree is also installed. The error
> described in comment #44 is still present.
> 
> In bug #129536, there is no ebuild for qca-tls, only a patch. I tried
> qca-tls-1.0-r3 from Portage with that patch, but then building Psi failed
> (supposedly because the patch creates a dependency to qca1).
> 
Did you uninstall any other qca ebuilds (like beta5)?
Comment 70 Peter Thomassen 2007-07-17 20:01:00 UTC
(In reply to comment #69)
> Did you uninstall any other qca ebuilds (like beta5)?

Yes, I did.
Comment 71 Marian Kyral 2007-07-18 05:37:35 UTC
(In reply to comment #70)
> (In reply to comment #69)
> > Did you uninstall any other qca ebuilds (like beta5)?
> 
> Yes, I did.
> 

Maybe you should try to rebuild the qca, then qca-plugins and then psi. If doesn't help, please send the output of 

eix -Ic "qca|psi"
Comment 72 Peter Thomassen 2007-07-18 07:57:15 UTC
The rebuild didn't help. Here is what you asked for:

tux peter # eix -Ic "qca|psi"
[I] app-crypt/qca (2.0.0_beta7(2)[1]@07/18/2007): Qt Cryptographic Architecture (QCA)
[I] app-crypt/qca-tls (1.0-r3@07/18/2007): plugin to provide SSL/TLS capability to programs that utilize the Qt Cryptographic Architecture (QCA)
[I] app-crypt/qca-gnupg [1] (0.1_p20070706(2)@07/18/2007): GnuPG plugin for QCA
[I] app-crypt/qca-ossl [1] (0.1_p20070706(2)@07/18/2007): TLS, S/MIME, PKCS#12, crypto algorithms plugin for QCA
[I] media-libs/libdvbpsi (0.1.5@02/04/2007): library for MPEG TS/DVB PSI tables decoding and generation
[I] net-im/psi (0.11_rc2[1]@07/18/2007): QT 4.x Jabber Client, with Licq-like interface
[1] /usr/local/portage

Found 6 matches.
tux peter #
Comment 73 Marian Kyral 2007-07-18 09:40:22 UTC
(In reply to comment #72)
> The rebuild didn't help. Here is what you asked for:
> 
> tux peter # eix -Ic "qca|psi"
> [I] app-crypt/qca (2.0.0_beta7(2)[1]@07/18/2007): Qt Cryptographic Architecture
> (QCA)
> [I] app-crypt/qca-tls (1.0-r3@07/18/2007): plugin to provide SSL/TLS capability
> to programs that utilize the Qt Cryptographic Architecture (QCA)
> [I] app-crypt/qca-gnupg [1] (0.1_p20070706(2)@07/18/2007): GnuPG plugin for QCA
> [I] app-crypt/qca-ossl [1] (0.1_p20070706(2)@07/18/2007): TLS, S/MIME, PKCS#12,
> crypto algorithms plugin for QCA
> [I] media-libs/libdvbpsi (0.1.5@02/04/2007): library for MPEG TS/DVB PSI tables
> decoding and generation
> [I] net-im/psi (0.11_rc2[1]@07/18/2007): QT 4.x Jabber Client, with Licq-like
> interface
> [1] /usr/local/portage
> 
> Found 6 matches.
> tux peter #
> 

Hmm, versions are the same as I have.
Are you using stable or unstable environment?
Comment 74 Peter Thomassen 2007-07-18 18:48:07 UTC
I'm using ~x86.
Comment 75 Sergey Ilinykh 2007-07-19 01:35:32 UTC
i've a bit updated ebuild to download sources from svn
compiled and works fine on ~amd64 with all of USE flags
Comment 76 Peter Thomassen 2007-07-19 13:39:44 UTC
(In reply to comment #68)
> (In reply to comment #67)
> > (In reply to comment #66)
> > > 
> > > With RC2, the problem I described in comment #44 occurs again. Unfortunately, I
> > > have forgotten which patch the "attached patch" is. Please, can you give me a
> > > hint? Thanks :-)
> > 
> > Try qca-2.0.0_beta7, qca-tls, qca-gnupg, qca-ossl from bug #129536.
> 
> I already have qca-2.0.0_beta7, qca-gnupg and qca-ossl installed from bug
> #129536. qca-tls-1.0-r3 from the Portage tree is also installed. The error
> described in comment #44 is still present.

With these libraries installed, I tested again with different versions of Psi. The following happens at present:

- psi-0.10-r2 doesn't build (needs QCA1 which I removed)
- psi-0.11_pre20070314 builds and works
- psi-0.11_rc1 doesn't build (I now have qca-2.0.0_beta7; do I need beta5? Fails with "error: ‘const class QCA::Certificate’ has no member named ‘matchesHostname’".)
- psi-0.11_rc2 builds, but doesn't work (see comment #44)

For now, I'm happy with psi-0.11_pre20070314 (no GnuPG ...), but I'm still not sure why RC2 doesn't work.
Comment 77 Marian Kyral 2007-07-19 20:39:20 UTC
(In reply to comment #76)
> (In reply to comment #68)
> > (In reply to comment #67)
> > > (In reply to comment #66)
> > > > 
> > > > With RC2, the problem I described in comment #44 occurs again. Unfortunately, I
> > > > have forgotten which patch the "attached patch" is. Please, can you give me a
> > > > hint? Thanks :-)
> > > 
> > > Try qca-2.0.0_beta7, qca-tls, qca-gnupg, qca-ossl from bug #129536.
> > 
> > I already have qca-2.0.0_beta7, qca-gnupg and qca-ossl installed from bug
> > #129536. qca-tls-1.0-r3 from the Portage tree is also installed. The error
> > described in comment #44 is still present.
> 
> With these libraries installed, I tested again with different versions of Psi.
> The following happens at present:
> 
> - psi-0.10-r2 doesn't build (needs QCA1 which I removed)
> - psi-0.11_pre20070314 builds and works
> - psi-0.11_rc1 doesn't build (I now have qca-2.0.0_beta7; do I need beta5?
> Fails with "error: ‘const class QCA::Certificate’ has no member named
> ‘matchesHostname’".)
> - psi-0.11_rc2 builds, but doesn't work (see comment #44)
> 
> For now, I'm happy with psi-0.11_pre20070314 (no GnuPG ...), but I'm still not
> sure why RC2 doesn't work.
> 

What's are yours USE flags on psi ebuid?

# emerge -1av net-im/psi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/psi-0.11_rc2  USE="crypt spell ssl xscreensaver -doc" 0 kB [1]

Did you try the revdep-rebuild command?
Comment 78 Peter Thomassen 2007-07-19 20:53:07 UTC
(In reply to comment #77)
> What's are yours USE flags on psi ebuid?
> 
> # emerge -1av net-im/psi
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ] net-im/psi-0.11_rc2  USE="crypt spell ssl xscreensaver -doc" 0
> kB [1]

# emerge -1av net-im/psi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-im/psi-0.11_rc2 [0.11_pre20070314] USE="crypt%* ssl -doc -spell -xscreensaver (-jingle%) (-plugins%) (-sasl%)" 0 kB [1]

#

Currently, I have 0.11_pre20070314 installed (see comment #76), that's why it looks so complicated.

> Did you try the revdep-rebuild command?

It's about the gcc (concerning gcj) and kdvi packages. I don't think that this is related, but I'm going to rebuild these packages nevertheless.
Comment 79 Marian Kyral 2007-07-19 21:13:37 UTC
(In reply to comment #78)
> (In reply to comment #77)
> > What's are yours USE flags on psi ebuid?
> > 
> > # emerge -1av net-im/psi
> > 
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies... done!
> > [ebuild   R   ] net-im/psi-0.11_rc2  USE="crypt spell ssl xscreensaver -doc" 0
> > kB [1]
> 
> # emerge -1av net-im/psi
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild     U ] net-im/psi-0.11_rc2 [0.11_pre20070314] USE="crypt%* ssl -doc
> -spell -xscreensaver (-jingle%) (-plugins%) (-sasl%)" 0 kB [1]
> 
> #
> 
> Currently, I have 0.11_pre20070314 installed (see comment #76), that's why it
> looks so complicated.
> 

Could you try to build it with the same USR flags as I have?
Comment 80 Peter Thomassen 2007-07-19 21:40:08 UTC
(In reply to comment #79)
> Could you try to build it with the same USR flags as I have?

I just did so; the error still persists. :-( Any other ideas? Debugger?
Comment 81 Davide Pesavento (RETIRED) gentoo-dev 2007-07-20 08:38:16 UTC
(In reply to comment #76)
> 
> With these libraries installed, I tested again with different versions of Psi.
> The following happens at present:
> 
> - psi-0.10-r2 doesn't build (needs QCA1 which I removed)
> - psi-0.11_pre20070314 builds and works
> - psi-0.11_rc1 doesn't build (I now have qca-2.0.0_beta7; do I need beta5?
> Fails with "error: ‘const class QCA::Certificate’ has no member named
> ‘matchesHostname’".)
> - psi-0.11_rc2 builds, but doesn't work (see comment #44)
> 
> For now, I'm happy with psi-0.11_pre20070314 (no GnuPG ...), but I'm still not
> sure why RC2 doesn't work.
> 

0.11_rc1 needs qca-2.0.0_beta5.
beta7 is needed since psi-0.11_pre20070708.
Comment 82 Davide Pesavento (RETIRED) gentoo-dev 2007-08-02 21:14:17 UTC
Created attachment 126746 [details]
psi-0.11_pre20070801.ebuild

Updated ebuild. Now uses new eqmake4 function from qt4.eclass to generate Makefiles rather then manually call qmake.
Comment 83 Davide Pesavento (RETIRED) gentoo-dev 2007-09-09 14:38:33 UTC
Created attachment 130417 [details]
psi-0.11_pre20070909.ebuild

Updated snapshot. It now requires latest qca-2 test release.

I am maintaining an overlay for psi, qca2 and a few other ebuilds. If you are interested, please have a look at http://repo.or.cz/w/underlay.git
Comment 84 Andrey Melentyev 2007-09-12 19:38:29 UTC
(In reply to comment #83)
> Created an attachment (id=130417) [edit]
> psi-0.11_pre20070909.ebuild
> 
> Updated snapshot. It now requires latest qca-2 test release.
> 
> I am maintaining an overlay for psi, qca2 and a few other ebuilds. If you are
> interested, please have a look at http://repo.or.cz/w/underlay.git
> 

David, I've tried to emerge psi-0.11_pre20070909 using your overlay and I got hundreds of "undefined reference" errors. Is it an old --as-needed bug? What will you advice?

All errors are QCA related and look like this:
.obj/psiaccount.o: In function `PsiAccount::pgp_signFinished()':
psiaccount.cpp:(.text+0x12379): undefined reference to `QCA::SecureMessage::success() const'
psiaccount.cpp:(.text+0x123b6): undefined reference to `QCA::SecureMessage::signature() const'
psiaccount.cpp:(.text+0x124b2): undefined reference to `QCA::SecureMessage::errorCode() const'
psiaccount.cpp:(.text+0x124dc): undefined reference to `QCA::PGPKey::keyId() const'
psiaccount.cpp:(.text+0x12533): undefined reference to `QCA::KeyStoreEntry::isNull() const'
psiaccount.cpp:(.text+0x1254a): undefined reference to `QCA::KeyStoreEntry::id() const'
psiaccount.cpp:(.text+0x12593): undefined reference to `QCA::KeyStoreEntry::~KeyStoreEntry()'
psiaccount.cpp:(.text+0x125a7): undefined reference to `QCA::KeyStoreEntry::~KeyStoreEntry()'
psiaccount.cpp:(.text+0x125cb): undefined reference to `QCA::SecureMessage::errorCode() const'

Comment 85 Davide Pesavento (RETIRED) gentoo-dev 2007-09-12 20:28:30 UTC
(In reply to comment #84)
> (In reply to comment #83)
> > Created an attachment (id=130417) [edit]
> > psi-0.11_pre20070909.ebuild
> > 
> > Updated snapshot. It now requires latest qca-2 test release.
> > 
> > I am maintaining an overlay for psi, qca2 and a few other ebuilds. If you are
> > interested, please have a look at http://repo.or.cz/w/underlay.git
> > 
> 
> David, I've tried to emerge psi-0.11_pre20070909 using your overlay and I got
> hundreds of "undefined reference" errors. Is it an old --as-needed bug? What
> will you advice?
> 

Nope, I have a ~x86 box at home using --as-needed and psi emerges fine there.
It looks more likely a non slot-aware qca1 version installed on your system. You should either remove =qca-1* or upgrade to qca-1.0-r3 which can be found in my overlay.
Comment 86 Davide Pesavento (RETIRED) gentoo-dev 2007-10-04 16:49:37 UTC
0.11_rc3 was released.
Comment 87 emdej 2007-10-14 18:14:35 UTC
Stable Psi 0.11 will be released tomorrow.
Comment 88 Foxx Ladysgarden 2007-10-16 19:29:43 UTC
(In reply to comment #87)
> Stable Psi 0.11 will be released tomorrow.
indeed they have :)

quote:
"Well, despite everything, we're finally releasing 0.11. There's not  
much to say here that isn't said in the release notes / readme which  
everyone is encouraged to read before upgrading.

Windows installer:
http://downloads.sourceforge.net/psi/psi-0.11-win-setup.exe

Mac image:
http://downloads.sourceforge.net/psi/Psi-0.11.dmg

Source:
http://downloads.sourceforge.net/psi/psi-0.11.tar.bz2

Other archives:
http://sourceforge.net/project/showfiles.php? 
group_id=14635&package_id=53260&release_id=545913

Other packages will trickle in as they're available, I know that suse  
packages are ready thanks to Nikolay Derkach.

Translations will be coming in shortly; unfortunately due to a  
failure in our translation process (and due to no fault of the  
translators themselves) these aren't ready yet, but will be coming in  
shortly I have no doubt.

Happy release time :)

/K
"

source: http://lists.affinix.com/pipermail/psi-devel-affinix.com/2007-October/007393.html
Comment 89 Davide Pesavento (RETIRED) gentoo-dev 2007-10-16 21:52:04 UTC
Created attachment 133650 [details]
psi-0.11.ebuild

We are now waiting for bug #129536...
Comment 90 Gustavo Felisberto (RETIRED) gentoo-dev 2007-10-19 15:29:46 UTC
Przemyslaw Maciag is on his honeymoon.So this will take some time. Sorry guys.
Comment 91 Albert Holm 2007-10-20 14:48:02 UTC
Psi uses qca-cyrus-sasl if it is available.
Note that the current qca-cyrus-sasl plugin was released prior to kde-svn r723798 <http://websvn.kde.org/trunk/kdesupport/qca/plugins/qca-cyrus-sasl/qca-cyrus-sasl.cpp> and psi is affected by both problems.
Comment 92 Markus Ullmann (RETIRED) gentoo-dev 2007-11-04 15:20:05 UTC
*** Bug 198044 has been marked as a duplicate of this bug. ***
Comment 93 Tim Strong 2007-11-19 21:48:03 UTC
We've passed a full month that Psi 0.11 has been officially released and still no ebuild.  Just making sure this hasn't fallen into a black hole...
Comment 94 Luke-Jr 2007-11-25 12:08:16 UTC
Attachment 133650 [details] (psi-0.11.ebuild) does not work with the ebuilds from bug #129536. There's a bunch of QCA link errors.
Comment 95 Vadim Efimov 2007-11-25 12:43:55 UTC
Created attachment 136972 [details, diff]
this patch removes all sly sotring and just takes first smile for iconselect.

psi have built-in qca2 - why we don't use it?
May be add USE=builtin-qca for it ?
and small patch from http://forum.psi-im.org/thread/4235 - psi-iconselect-direct-order.patch
Comment 96 Luke-Jr 2007-11-25 12:49:37 UTC
The linking problem seems to be GCC (Gentoo 4.1.2 p1.0.2) preferring the /usr/lib64/libqca.so over /usr/lib64/qca2/libqca.so despite the latter being in -L immediately before -lqca


> psi have built-in qca2 - why we don't use it?

Why don't we just static link our entire systems and have them use double the RAM and HD space?
Comment 97 kavol 2007-12-04 11:42:17 UTC
hi, I'd like to ask ... what I understand from the comments, jingle support was removed - is there any way (er, I mean ebuild) to try psi with jingle support or do I have to follow the instructions at http://psi-im.org/wiki/Jingle_branch ?
Comment 98 mdj 2007-12-04 14:13:00 UTC
Skype is available with qtstatic flag, I don't understand why Psi can't be. It could be masked as long as it works only with this flag. Crowds are waiting for Psi-0.11 in portage!! :)
Comment 99 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-12-04 15:49:19 UTC
(In reply to comment #98)
> Skype is available with qtstatic flag, I don't understand why Psi can't be. It
> could be masked as long as it works only with this flag. Crowds are waiting for
> Psi-0.11 in portage!! :)

sorry for such a big delays - my personal life didn't allow me to work on psi ebuild for some time. I now have some time to change that and I'll do my best! expect to see changes in short time :)

Cheers,
Przemek
Comment 100 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-12-09 12:18:17 UTC
Created attachment 138080 [details]
psi-0.11.ebuild

Ok. This should do the trick with slotted qca.

psi makefiles are generated thrugh qmake and I'm not sure how order of certain libraries is created (I'll try to find out more from docs).

IMPORTANT: new qca gnupog and ossl plugins are available. take ebuild from bug http://bugs.gentoo.org/show_bug.cgi?id=129536 and rename them to beta2.

plz test and give me a sign is it works for you.

PS. I'm going to test icon patch today!

Cheers,
Przemek
Comment 101 Vadim Efimov 2007-12-09 17:19:38 UTC
(In reply to comment #100)
> 
> plz test and give me a sign is it works for you.
> 
> PS. I'm going to test icon patch today!
> 
> Cheers,
> Przemek
> 

seems to be it works... for me. thanks.
& i'm add psi-iconselect-direct-order.patch
how about jingle & plugins ?
Comment 102 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-12-09 18:30:56 UTC
(In reply to comment #101)
> seems to be it works... for me. thanks.
good! so I'm not the only one :)

> & i'm add psi-iconselect-direct-order.patch
ok. plz tell me - what this patch gives to psi?

> how about jingle & plugins ?
I'm testing them right now. _maybe_ I'll add them, but only as experimental... I have to see how much broken they are.
Comment 103 Vadim Efimov 2007-12-09 21:56:52 UTC
(In reply to comment #102)
> > & i'm add psi-iconselect-direct-order.patch
> ok. plz tell me - what this patch gives to psi?

http://forum.psi-im.org/thread/4235
 
> > how about jingle & plugins ?
> I'm testing them right now. _maybe_ I'll add them, but only as experimental...
> I have to see how much broken they are.
> 
jingle work for me ~year ago on x86, plugins just a framework at the moment...

any way - thanks for you work :)
Comment 104 Davide Pesavento (RETIRED) gentoo-dev 2007-12-09 22:25:52 UTC
(In reply to comment #102)
> (In reply to comment #101)
> 
> > how about jingle & plugins ?
> I'm testing them right now. _maybe_ I'll add them, but only as experimental...
> I have to see how much broken they are.
> 

AFAIK, public API for plugins isn't final yet and hasn't been officially released or announced. So I think that enabling plugins may not be a good idea...
Comment 105 Davide Pesavento (RETIRED) gentoo-dev 2007-12-09 22:34:09 UTC
> cd ${S}/src && eqmake4 src.pro
> cd ${S} && eqmake4 ${PN}.pro

This is not needed, qmake takes care of recursively running itself on *.pro files in subdirs, if you use the top-level Makefile generated by qmake. Running
`eqmake4 ${PN}.pro`
should be enough.

Furthermore, why did you set dependencies for qca plugins to >=2.0.0_beta2? AFAIK, beta1 works fine too...
Comment 106 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-12-09 22:41:02 UTC
(In reply to comment #104)
> AFAIK, public API for plugins isn't final yet and hasn't been officially
> released or announced. So I think that enabling plugins may not be a good
> idea...

plugins aren't at final stage. but I think I'll make use of them, with big info that users are enabling it on their own. few plugins now exists and people are using them.

as for jingle - official source tarball don't have them... I think I'll pass this one for now.

(In reply to comment #105)
> > cd ${S}/src && eqmake4 src.pro
> > cd ${S} && eqmake4 ${PN}.pro
> 
> This is not needed, qmake takes care of recursively running itself on *.pro
> files in subdirs, if you use the top-level Makefile generated by qmake. Running
> `eqmake4 ${PN}.pro`
> should be enough.

true, it should. I have to check one thing. maybe I try it now...

> Furthermore, why did you set dependencies for qca plugins to >=2.0.0_beta2?
> AFAIK, beta1 works fine too...

since beta2 are out, there's no need to add beta1 to the tree. If it not brakes anything, I prefer newer betas.
Comment 107 Davide Pesavento (RETIRED) gentoo-dev 2007-12-09 22:59:13 UTC
(In reply to comment #106)
> (In reply to comment #104)
> > AFAIK, public API for plugins isn't final yet and hasn't been officially
> > released or announced. So I think that enabling plugins may not be a good
> > idea...
> 
> plugins aren't at final stage. but I think I'll make use of them, with big info
> that users are enabling it on their own. few plugins now exists and people are
> using them.
> 
> as for jingle - official source tarball don't have them... I think I'll pass
> this one for now.

Wise choice. ;)

> 
> (In reply to comment #105)
> > > cd ${S}/src && eqmake4 src.pro
> > > cd ${S} && eqmake4 ${PN}.pro
> > 
> > This is not needed, qmake takes care of recursively running itself on *.pro
> > files in subdirs, if you use the top-level Makefile generated by qmake. Running
> > `eqmake4 ${PN}.pro`
> > should be enough.
> 
> true, it should. I have to check one thing. maybe I try it now...
> 
> > Furthermore, why did you set dependencies for qca plugins to >=2.0.0_beta2?
> > AFAIK, beta1 works fine too...
> 
> since beta2 are out, there's no need to add beta1 to the tree. If it not brakes
> anything, I prefer newer betas.
> 

Agreed.

Comment 108 Pavel Volkov 2008-01-02 14:02:29 UTC
(In reply to comment #100)

Works fine for me, however every window appears at top left corner of the screen. Is this a Psi bug?
Comment 109 Matthieu Volat 2008-01-19 12:06:19 UTC
I've been testing this ebuild under x86 arch (under the Kde3 destkop, the window maker wm and even under kde4, altough not the one from portage) along the qca2-related ebuilds in the portage tree for some times.

I didn't had any problem : compiled fine and is running nicely (I have no window positioning problem -- at least using the last stable qt4 release from portage).

Nice work
Comment 110 Markus Rothe (RETIRED) gentoo-dev 2008-01-24 09:16:02 UTC
Created attachment 141701 [details]
psi-0.11.ebuild

slightly modified ebuild. Mainly the mirror changed:

$ diff -ruN temp/psi-0.11.ebuild /var/paludis/repositories/local/net-im/psi/psi-0.11.ebuild 
--- temp/psi-0.11.ebuild	2008-01-24 10:06:19.799761352 +0100
+++ /var/paludis/repositories/local/net-im/psi/psi-0.11.ebuild	2008-01-24 10:03:13.841164169 +0100
@@ -6,8 +6,7 @@
 
 DESCRIPTION="QT 4.x Jabber Client, with Licq-like interface"
 HOMEPAGE="http://psi-im.org/"
-SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
-RESTRICT="mirror"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 IUSE="crypt doc kernel_linux spell ssl xscreensaver"
 SLOT="0"
@@ -31,18 +30,18 @@
 QT4_BUILT_WITH_USE_CHECK="qt3support"
 
 src_compile() {
-	# growl is mac osx extension only - maybe someday we will want this
+	# disable growl as it is a mac osx extension only
 	local myconf="--disable-growl --disable-bundled-qca"
 	use kernel_linux || myconf="${myconf} --disable-dnotify"
 	use ssl || myconf="${myconf} --disable-openssl"
 	use spell || myconf="${myconf} --disable-aspell"
 	use xscreensaver || myconf="${myconf} --disable-xss"
 
-	QTDIR=/usr/$(get_libdir) ./configure \
-		--prefix=/usr ${myconf} \
-		|| die "configure failed"
+	# cannot use econf because of non-standard configure script
+	./configure --disable-growl --disable-bundled-qca \
+		--prefix=/usr --qtdir=/usr ${myconf} \
+		|| die "econf failed"
 
-	cd ${S}/src && eqmake4 src.pro
 	cd ${S} && eqmake4 ${PN}.pro
 
 	SUBLIBS="-L/usr/lib/qca2" emake || die "emake failed"
Comment 111 Markus Rothe (RETIRED) gentoo-dev 2008-01-24 09:18:09 UTC
troll: would you mind, if I add the ebuild to the tree? It doesn't have any patches, as it seems to work fine without them. We might want to add an -r1 that will be a patched experimental version (jingle and stuff).
Comment 112 Markus Rothe (RETIRED) gentoo-dev 2008-01-24 09:24:54 UTC
Created attachment 141702 [details]
psi-0.11.ebuild

nah.. never review ebuilds in a rush. this one is better. I have had some duplicate configure options in there.

I also got rid of the multilib eclass as the configure script is 'intelligent' enough to find QT4 if you tell it only '--qtdir=/usr'.
Comment 113 Albert Holm 2008-01-24 09:39:24 UTC
(In reply to comment #112)

use ssl || myconf="${myconf} --disable-openssl" 

This does not make sense with external qca. 
configure help says "--disable-openssl   Disable use of OpenSSL (bundled QCA only)"
Comment 114 Markus Rothe (RETIRED) gentoo-dev 2008-01-24 09:47:49 UTC
Created attachment 141704 [details]
psi-0.11.ebuild

yep, I did it wrong twice! .. too early in the morning ;-)

but while I'm at it I read this in the configure options:

--disable-openssl            Disable use of OpenSSL (bundled QCA only)

As we do not use the bundled QCA we can ignore that option. I dumped the check for ssl in $myconf and the dependency for openssl. psi does not link directly to openssl. ssl use flag is still needed to specify the dependency on app-crypt/qca-ossl though.
Comment 115 Markus Rothe (RETIRED) gentoo-dev 2008-01-24 09:49:18 UTC
(In reply to comment #113)
> (In reply to comment #112)
> 
> use ssl || myconf="${myconf} --disable-openssl" 
> 
> This does not make sense with external qca. 
> configure help says "--disable-openssl   Disable use of OpenSSL (bundled QCA
> only)"
> 

thanks. I just figured out myself. Just compile checked my latest changes.
Comment 116 Taavi Ilves 2008-01-29 09:09:48 UTC
(In reply to comment #115)
> thanks. I just figured out myself. Just compile checked my latest changes.

Worked for me.

Comment 117 Matthieu Volat 2008-01-29 19:34:14 UTC
Seems to works fine again. Maybe this should be placed in the portage tree -- hardmasked of course.
Comment 118 Davide Pesavento (RETIRED) gentoo-dev 2008-01-30 22:55:32 UTC
   cd ${S} && eqmake4 ${PN}.pro

cd ${S} isn't necessary, and should be quoted if used anyway.


   SUBLIBS="-L/usr/lib/qca2"

Maybe "-L/usr/$(get_libdir)/qca2" ?
Comment 119 Markus Rothe (RETIRED) gentoo-dev 2008-01-31 07:49:29 UTC
Created attachment 142261 [details]
psi-0.11.ebuild

good point. thanks, I've fixed it.
Comment 120 Peter Große 2008-02-09 15:41:21 UTC
Created attachment 143041 [details]
psi-0.11.ebuild

psi 0.11 doesn't depend on libpng anymore.
you need to build qt4 with png support

psi and qt without png support gives:

Iconset::load(): Couldn't load image/png graphic for the psi/appearance icon for the Crystal - System (default) iconset
[...]

--- psi-0.11.ebuild.old 2008-02-09 15:39:09.000000000 +0100
+++ psi-0.11.ebuild     2008-02-09 15:23:56.000000000 +0100
@@ -15,7 +15,6 @@

 COMMON_DEPEND="$(qt4_min_version 4.2.3)
        =app-crypt/qca-2*
-       media-libs/libpng
        spell? ( app-text/aspell )
        xscreensaver? ( x11-libs/libXScrnSaver )"

@@ -26,7 +25,7 @@
        crypt? ( >=app-crypt/qca-gnupg-2.0.0_beta2 )
        ssl? ( >=app-crypt/qca-ossl-2.0.0_beta2 )"

-QT4_BUILT_WITH_USE_CHECK="qt3support"
+QT4_BUILT_WITH_USE_CHECK="qt3support png"

 src_compile() {
        # disable growl as it is a mac osx extension only
Comment 121 Marcel Pennewiß 2008-02-13 14:37:20 UTC
(In reply to comment #120)
> psi 0.11 doesn't depend on libpng anymore.
> you need to build qt4 with png support

works fine here (on x86-arch). thx
Comment 122 Sergiy Borodych 2008-02-13 18:29:05 UTC
works fine for me too
~amd64

I think this lines from /usr/portage/profiles/package.mask
not need anymore

# Stefan Schweizer <genstef@gentoo.org> (21 Aug 2006)
# beta psi, with jingle support
>=net-im/psi-0.11_alpha0

no such ebuild in portage tree
Comment 123 Matthieu Volat 2008-02-13 18:39:45 UTC
(In reply to comment #122)
> works fine for me too
> ~amd64
> 
> I think this lines from /usr/portage/profiles/package.mask
> not need anymore
> 
> # Stefan Schweizer <genstef@gentoo.org> (21 Aug 2006)
> # beta psi, with jingle support
> >=net-im/psi-0.11_alpha0
> 
> no such ebuild in portage tree
> 

I just synced and there is always psi-0.11_pre20070314.ebuild in portage, a version which works very bad with current stable Qt version. But I agree those two should be removed.
Comment 124 Peter Weller (RETIRED) gentoo-dev 2008-02-21 21:22:08 UTC
Bumped.
Comment 125 Anonymous bin ich 2008-02-23 08:51:20 UTC
Right now there is an ebuild for psi-0.11, but it doesn't have jingle USE flag. Does anybody know if jingle is supported or dropped in current psi?
Comment 126 Davide Pesavento (RETIRED) gentoo-dev 2008-02-23 10:26:32 UTC
(In reply to comment #125)
> Right now there is an ebuild for psi-0.11, but it doesn't have jingle USE flag.
> Does anybody know if jingle is supported or dropped in current psi?
> 

AFAIK, it's still experimental and thus NOT supported.
Comment 127 DEMAINE Benoît-Pierre, aka DoubleHP 2010-09-22 11:09:38 UTC
The error <<has different size in shared object, consider re-linking>> can be fixed by remergint the package owning the file. See bug 338347 . The issue is not in the app, but in portage 2.2, or in revdep-rebuild.