diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-06-26 15:02:24 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-06-26 15:02:24 +0000 |
commit | 6f0889e26cea712de350e6bcf039e6c48bc3c8d6 (patch) | |
tree | b83fd6e9776ff3c3778ea0b538a9ce97a199bcc0 /net-im/psi | |
parent | Stable on hppa (diff) | |
download | historical-6f0889e26cea712de350e6bcf039e6c48bc3c8d6.tar.gz historical-6f0889e26cea712de350e6bcf039e6c48bc3c8d6.tar.bz2 historical-6f0889e26cea712de350e6bcf039e6c48bc3c8d6.zip |
to many closed bugs to name them all here
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-im/psi')
-rw-r--r-- | net-im/psi/ChangeLog | 23 | ||||
-rw-r--r-- | net-im/psi/Manifest | 31 | ||||
-rw-r--r-- | net-im/psi/files/digest-psi-0.9.3-r4 | 30 | ||||
-rw-r--r-- | net-im/psi/files/psi-emergency.png | bin | 0 -> 295 bytes | |||
-rw-r--r-- | net-im/psi/files/psi-indicator.png | bin | 0 -> 300 bytes | |||
-rw-r--r-- | net-im/psi/files/psi-pathfix.patch | 10 | ||||
-rw-r--r-- | net-im/psi/files/psi-reverse_trayicon.patch | 33 | ||||
-rw-r--r-- | net-im/psi/psi-0.9.3-r4.ebuild | 239 |
8 files changed, 343 insertions, 23 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog index 12cdffb39e56..b58c16448254 100644 --- a/net-im/psi/ChangeLog +++ b/net-im/psi/ChangeLog @@ -1,22 +1,15 @@ # ChangeLog for net-im/psi # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.65 2005/05/04 20:11:51 omkhar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.66 2005/06/26 15:02:24 humpback Exp $ - 04 May 2005; Omkhar Arasaratnam <omkhar@gentoo.org> psi-0.9.3-r3.ebuild: - Added ~ppc64 +*psi-0.9.3-r4 (26 Jun 2005) - 01 May 2005; Michael Hanselmann <hansmi@gentoo.org> psi-0.9.3-r2.ebuild: - Stable on ppc. - - 01 May 2005; Guy Martin <gmsoft@gentoo.org> psi-0.9.3-r2.ebuild: - Stable on hppa. - - 01 May 2005; Jason Wever <weeve@gentoo.org> psi-0.9.3-r2.ebuild: - Stable on SPARC. - - 26 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>; - psi-0.9.3-r2.ebuild: - Removing older versions and orphaned files. Moving psi-0.9.3-r2 to x86. + 26 Jun 2005; Gustavo Felisberto <humpback@gentoo.org>; + +files/psi-emergency.png, +files/psi-indicator.png, + files/psi-pathfix.patch, +files/psi-reverse_trayicon.patch, + +psi-0.9.3-r4.ebuild: + New revision that takes care of a bunch of pending bugs. 85% of credits go + to Maciag our Gentoo/Psi connection :) *psi-0.9.3-r3 (17 Apr 2005) diff --git a/net-im/psi/Manifest b/net-im/psi/Manifest index 3739e3422076..83df9f803f65 100644 --- a/net-im/psi/Manifest +++ b/net-im/psi/Manifest @@ -1,16 +1,31 @@ -MD5 2c3cf9e33f87d196370c7f8e30c9d096 psi-0.9.3-r2.ebuild 9403 -MD5 c411b408430456074b6fda7ae9160ede psi-0.9.3-r1.ebuild 8115 -MD5 851dc4656b475e721d464892241f681c psi-0.9.3-r3.ebuild 9803 -MD5 27eca0b6299f5b4772be31cdef6cd3d3 psi-0.9.2-r1.ebuild 1141 -MD5 1fb5d62e0b67dec801998724c1be1faf ChangeLog 8434 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 9990168ac7d4759e8404e6d43fa5f2f8 ChangeLog 8269 MD5 9b91ead14acbf0da98d3b33e75c67e79 metadata.xml 306 +MD5 27eca0b6299f5b4772be31cdef6cd3d3 psi-0.9.2-r1.ebuild 1141 MD5 7a62550ce4fcae4f3c0eabd2acf58760 psi-0.9.2.ebuild 829 +MD5 c411b408430456074b6fda7ae9160ede psi-0.9.3-r1.ebuild 8115 +MD5 2c3cf9e33f87d196370c7f8e30c9d096 psi-0.9.3-r2.ebuild 9403 +MD5 851dc4656b475e721d464892241f681c psi-0.9.3-r3.ebuild 9803 +MD5 dd5012d93cf1acb49068f381c6bf8539 psi-0.9.3-r4.ebuild 9003 +MD5 dab2c4d26326cec55a905a1a38351d51 files/digest-psi-0.9.2 63 MD5 dab2c4d26326cec55a905a1a38351d51 files/digest-psi-0.9.2-r1 63 MD5 fc8fae7a49b592b4f2c2914c21494c11 files/digest-psi-0.9.3-r1 1924 MD5 db2a4c5b68dbb0147392a4657f2dbc92 files/digest-psi-0.9.3-r2 2132 MD5 839e6fa5502e1f03a660918bc30e48b5 files/digest-psi-0.9.3-r3 2211 -MD5 dab2c4d26326cec55a905a1a38351d51 files/digest-psi-0.9.2 63 +MD5 55307aeb75ba675468f91832d951eff7 files/digest-psi-0.9.3-r4 1975 +MD5 1c741813b6d820d43475058dbfab3100 files/psi-desktop.patch 492 MD5 4195bf9d000383fae25545249a3f8709 files/psi-desktop_file_and_icons_directories.patch 1454 +MD5 5fa629c5177a7b1c5090428e22b7ec30 files/psi-emergency.png 295 +MD5 0d5cafd17325fc912c4855252d73378f files/psi-indicator.png 300 +MD5 76f5cc28b75698adddaa068e5f4593f5 files/psi-pathfix.patch 462 +MD5 893421922de588e6a40fbe8357976279 files/psi-reverse_trayicon.patch 937 MD5 c43f1bfd60e72f69346f0a67288c62e8 files/psi_gpg_fix 1193 -MD5 70151bfc9706b2d763cc7ed9c9b03b9f files/psi-pathfix.patch 224 -MD5 1c741813b6d820d43475058dbfab3100 files/psi-desktop.patch 492 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFCvsJU8zY1VwezZiERAoDhAJsETjARu8RNCtiXmkqygTIW2SRpHQCfS1r3 +sGu1Klt9rzA/E+Cwo3WQtXM= +=hp9J +-----END PGP SIGNATURE----- diff --git a/net-im/psi/files/digest-psi-0.9.3-r4 b/net-im/psi/files/digest-psi-0.9.3-r4 new file mode 100644 index 000000000000..f89263f8d622 --- /dev/null +++ b/net-im/psi/files/digest-psi-0.9.3-r4 @@ -0,0 +1,30 @@ +MD5 d20f3bb530235a246bc2d92308089744 psi-0.9.3.tar.bz2 1423322 +MD5 b148793cf8f1f6d93df089263b0b8ccf psi-0.9.3-gentoo-extras-0.5.tar.bz2 105895 +MD5 2885ffd0943e95edc0b8521309b01d32 psi_ar-0.9.3.tar.bz2 31466 +MD5 874f8f0aebcdc1294748546a59ddaefb psi_ca-0.9.3.tar.bz2 15750 +MD5 990dea4e96f093d07c5d5523c9875c6a psi_cs-0.9.3-a.tar.bz2 35212 +MD5 208ed7a4f2c8b0aa870beb806c025b6e psi_da-0.9.3.tar.bz2 30325 +MD5 b3bd808955398db752759d92186704f4 psi_de-0.9.3-c.tar.bz2 33169 +MD5 15446ce6e4e0ea87f92b06cd523ff0c9 psi_ee-0.9.3_rc1.tar.bz2 30213 +MD5 8a659618968a698ba7a5cd76b46be6f2 psi_el-0.9.3-a.tar.bz2 34891 +MD5 620bc429c65c223b886ed90f7f7b7bbb psi_eo-0.9.3-c.tar.bz2 32457 +MD5 e55e63f3230e2373c502ced04299b918 psi_es-0.9.3-a.tar.bz2 32347 +MD5 ef5f0d73b59d65fb1edcb42d698f64a9 psi_et-0.9.3-a.tar.bz2 30124 +MD5 d41e102a476ed319f0bcca4c516b4938 psi_fi-0.9.3.tar.bz2 23718 +MD5 22c3fe13e5c0fdaa33d8ef1fc2a2d560 psi_fr-0.9.3-a.tar.bz2 34898 +MD5 e7aeef2ed3f743a2937599e1f123adc6 psi_it-0.9.3.tar.bz2 15759 +MD5 6be3b0fc9ed02ef7f8cef70852ee1369 psi_jp-0.9.3.tar.bz2 25159 +MD5 9491e2c753cec234a99dd8ab4752bbcd psi_mk-0.9.3-a.tar.bz2 32472 +MD5 1e136c01250d3d52e888cdd5d6fe4c15 psi_nl-0.9.3-b.tar.bz2 33224 +MD5 f270e6ed02653bcf9c638b273b50a7cb psi_pl-0.9.3-1.tar.bz2 36619 +MD5 9246dadd5a8481d060c1336ffabf3ef7 psi_pt-0.9.3.tar.bz2 15746 +MD5 788ef1ad0f1212836865033e35ec917a psi_ptbr-0.9.3.tar.bz2 35934 +MD5 5e20def73cdfdee2b9af6798fa75417b psi_ru-0.9.3-a.tar.bz2 33201 +MD5 01bf0c623a576e2d9f4ff30942c50a29 psi_se-0.9.3_rc1.tar.bz2 15726 +MD5 f3bdd1aafbc7690628cf9df4214b5af3 psi_sk-0.9.3-a.tar.bz2 34654 +MD5 eccc3cb77801eb36208765325e8977cd psi_sl-0.9.3-a.tar.bz2 32850 +MD5 1857fe75dd81c85db90fb195b32c8bd0 psi_sr-0.9.3.tar.bz2 15754 +MD5 2773bbf4585e054e7c0ca472b5723014 psi_sv-0.9.3.tar.bz2 35122 +MD5 df93122447366aef362bafde0ed67618 psi_sw-0.9.3.tar.bz2 32917 +MD5 1dcc37d4fd5c598f269fffc3b04bde6a psi_vi-0.9.3-a.tar.bz2 34188 +MD5 6ef95100b9ff08b86f4404f32694d451 psi_zh-0.9.3-a.tar.bz2 31925 diff --git a/net-im/psi/files/psi-emergency.png b/net-im/psi/files/psi-emergency.png Binary files differnew file mode 100644 index 000000000000..c2cd5f8ad2ea --- /dev/null +++ b/net-im/psi/files/psi-emergency.png diff --git a/net-im/psi/files/psi-indicator.png b/net-im/psi/files/psi-indicator.png Binary files differnew file mode 100644 index 000000000000..b349dc364b7b --- /dev/null +++ b/net-im/psi/files/psi-indicator.png diff --git a/net-im/psi/files/psi-pathfix.patch b/net-im/psi/files/psi-pathfix.patch index a885f84e8995..b1f110dd1f23 100644 --- a/net-im/psi/files/psi-pathfix.patch +++ b/net-im/psi/files/psi-pathfix.patch @@ -7,3 +7,13 @@ LIBPSI_CPP = ../libpsi exists(libpsi) { LIBPSI_CPP = libpsi +--- src/src_oud.pro 2005-05-23 11:54:09.000000000 +0200 ++++ src/src.pro 2005-05-23 11:52:48.000000000 +0200 +@@ -7,6 +7,7 @@ + CONFIG += qt thread x11 + + CONFIG += debug ++CONFIG += no_fixpath + #CONFIG += use_crash + #DEFINES += GPG_DEBUG + diff --git a/net-im/psi/files/psi-reverse_trayicon.patch b/net-im/psi/files/psi-reverse_trayicon.patch new file mode 100644 index 000000000000..d87279fc93fb --- /dev/null +++ b/net-im/psi/files/psi-reverse_trayicon.patch @@ -0,0 +1,33 @@ + +Created by Przemysław 'Troll' Maciąg <pmaciag (at) gmail (dot) com> + +In cvs for 0.9.3 version somebody broke's trayicon... +This patch restores ability to show proper trayicon +in FVWM and few others (light) WM's. + +diff -u -p -r1.24 -r1.26 +--- cutestuff/trayicon/trayicon_x11.cpp 2004/02/28 16:52:39 1.24 ++++ cutestuff/trayicon/trayicon_x11.cpp 2004/08/20 03:22:01 1.26 +@@ -251,11 +261,6 @@ TrayIconFreeDesktop::TrayIconFreeDesktop + + if ( manager_window != None ) + send_message(dsp, manager_window, SYSTEM_TRAY_REQUEST_DOCK, winId(), 0, 0); +- else +- { +- object->hide(); +- return; +- } + + // some KDE mumbo-jumbo... why is it there? anybody? + Atom kwm_dockwindow_atom = XInternAtom(dsp, "KWM_DOCKWINDOW", false); +@@ -345,9 +371,7 @@ void TrayIcon::sysInstall() + d = (TrayIconPrivate *)(new TrayIconFreeDesktop(this, pm)); + + sysUpdateToolTip(); ++ d->show(); +- +- if ( v_isWMDock ) +- d->show(); + } + + void TrayIcon::sysRemove() diff --git a/net-im/psi/psi-0.9.3-r4.ebuild b/net-im/psi/psi-0.9.3-r4.ebuild new file mode 100644 index 000000000000..498a9ddec272 --- /dev/null +++ b/net-im/psi/psi-0.9.3-r4.ebuild @@ -0,0 +1,239 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.9.3-r4.ebuild,v 1.1 2005/06/26 15:02:24 humpback Exp $ + +inherit eutils + +VER="${PV}" +REV="" +MY_PV="${VER}${REV}" +MY_P="${PN}-${MY_PV}" +HTTPMIRR="http://gentoo-pt.org/~humpback/psi" +IUSE="kde ssl crypt extras" +QV="2.0" +DESCRIPTION="QT 3.x Jabber Client, with Licq-like interface" +HOMEPAGE="http://psi.affinix.com" +# translations from http://tanoshi.net/language.html +# polish translation contains special texts for patches from extras-version +SRC_URI="mirror://sourceforge/psi/${MY_P}.tar.bz2 + extras? ( ${HTTPMIRR}/${PN}-${VER}-gentoo-extras-0.5.tar.bz2 ) + linguas_ar? ( ${HTTPMIRR}/psi_ar-0.9.3.tar.bz2 ) + linguas_ca? ( ${HTTPMIRR}/psi_ca-0.9.3.tar.bz2 ) + linguas_cs? ( ${HTTPMIRR}/psi_cs-0.9.3-a.tar.bz2 ) + linguas_da? ( ${HTTPMIRR}/psi_da-0.9.3.tar.bz2 ) + linguas_de? ( ${HTTPMIRR}/psi_de-0.9.3-c.tar.bz2 ) + linguas_ee? ( ${HTTPMIRR}/psi_ee-0.9.3_rc1.tar.bz2 ) + linguas_el? ( ${HTTPMIRR}/psi_el-0.9.3-a.tar.bz2 ) + linguas_eo? ( ${HTTPMIRR}/psi_eo-0.9.3-c.tar.bz2 ) + linguas_es? ( ${HTTPMIRR}/psi_es-0.9.3-a.tar.bz2 ) + linguas_et? ( ${HTTPMIRR}/psi_et-0.9.3-a.tar.bz2 ) + linguas_fi? ( ${HTTPMIRR}/psi_fi-0.9.3.tar.bz2 ) + linguas_fr? ( ${HTTPMIRR}/psi_fr-0.9.3-a.tar.bz2 ) + linguas_it? ( ${HTTPMIRR}/psi_it-0.9.3.tar.bz2 ) + linguas_jp? ( ${HTTPMIRR}/psi_jp-0.9.3.tar.bz2 ) + linguas_mk? ( ${HTTPMIRR}/psi_mk-0.9.3-a.tar.bz2 ) + linguas_nl? ( ${HTTPMIRR}/psi_nl-0.9.3-b.tar.bz2 ) + linguas_pl? ( ${HTTPMIRR}/psi_pl-0.9.3-1.tar.bz2 ) + linguas_pt? ( ${HTTPMIRR}/psi_pt-0.9.3.tar.bz2 ) + linguas_ptBR? ( ${HTTPMIRR}/psi_ptbr-0.9.3.tar.bz2 ) + linguas_ru? ( ${HTTPMIRR}/psi_ru-0.9.3-a.tar.bz2 ) + linguas_se? ( ${HTTPMIRR}/psi_se-0.9.3_rc1.tar.bz2 ) + linguas_sk? ( ${HTTPMIRR}/psi_sk-0.9.3-a.tar.bz2 ) + linguas_sl? ( ${HTTPMIRR}/psi_sl-0.9.3-a.tar.bz2 ) + linguas_sr? ( ${HTTPMIRR}/psi_sr-0.9.3.tar.bz2 ) + linguas_sv? ( ${HTTPMIRR}/psi_sv-0.9.3.tar.bz2 ) + linguas_sw? ( ${HTTPMIRR}/psi_sw-0.9.3.tar.bz2 ) + linguas_vi? ( ${HTTPMIRR}/psi_vi-0.9.3-a.tar.bz2 ) + linguas_zh? ( ${HTTPMIRR}/psi_zh-0.9.3-a.tar.bz2 )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~hppa ~amd64 ~sparc" + +#After final relase we do not need this +S="${WORKDIR}/${MY_P}" + +DEPEND=">=app-crypt/qca-1.0-r2 + >=x11-libs/qt-3.3.1" + +RDEPEND="ssl? ( >=app-crypt/qca-tls-1.0-r2 ) + crypt? ( >=app-crypt/gnupg-1.2.2 )" + +PATCHBASE="${WORKDIR}" +PATCHDIR="${PATCHBASE}/${VER}" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/psi-pathfix.patch + epatch ${FILESDIR}/psi-desktop.patch + epatch ${FILESDIR}/psi-desktop_file_and_icons_directories.patch + epatch ${FILESDIR}/psi-reverse_trayicon.patch + + if !(use extras); then + ewarn "You are going to install the original psi version. You might want to" + ewarn "try the version with extra unsuported patches by adding 'extras' to" + ewarn "your use flags." + else + ebeep + ewarn "You are about to build a version of Psi with extra unsuported patches." + ewarn "Patched psi versions will not be supported by the Gentoo devs or the psi" + ewarn "development team." + ewarn "If you do not want that please press Control-C now and add '-extras' to " + ewarn "your USE flags." + epause 10 + + cd ${S} + # roster-nr + epatch ${PATCHDIR}/psi-roster-nr-0.7.patch + epatch ${PATCHDIR}/psi-status_indicator++_add-on_roster-nr.patch + # indicator icon + cp ${FILESDIR}/psi-indicator.png ${S}/iconsets/roster/default/indicator.png + + # from http://www.cs.kuleuven.ac.be/~remko/psi/ + epatch ${PATCHDIR}/rosteritems_iris.diff + epatch ${PATCHDIR}/rosteritems_psi.diff + epatch ${PATCHDIR}/avatars_psi.diff + epatch ${PATCHDIR}/jep8-avatars_iris.diff + epatch ${PATCHDIR}/jep8-avatars_psi.diff + epatch ${PATCHDIR}/caps_broadcast.diff + epatch ${PATCHDIR}/menubar_psi.diff + epatch ${PATCHDIR}/adhoc+rc.diff + + # from http://machekku.uaznia.net/jabber/psi/patches/ + epatch ${PATCHDIR}/psi-machekku-smart_reply_and_forward.diff + epatch ${PATCHDIR}/psi-machekku-keep_message_in_auto_away_status.diff + epatch ${PATCHDIR}/psi-machekku-quote_emoticons.diff + epatch ${PATCHDIR}/psi-machekku-emoticons_advanced_toggle.diff + epatch ${PATCHDIR}/psi-machekku-autocopy_on_select-0.2.diff + epatch ${PATCHDIR}/psi-machekku-enable_thread_in_messages.diff + epatch ${PATCHDIR}/psi-machekku-linkify_fix.diff + epatch ${PATCHDIR}/psi-machekku-new_headings_gui_resurrection.diff + epatch ${PATCHDIR}/psi-machekku-autostatus_while_dnd.diff + epatch ${PATCHDIR}/psi-machekku-visual_styles_manifest.diff + epatch ${PATCHDIR}/psi-machekku-gg_gateway_type.diff + epatch ${PATCHDIR}/psi-machekku-tool_window_minimize_fix_for_windows.diff + + # from ftp://ftp.patryk.one.pl/pub/psi/skazi/patches/ + epatch ${PATCHDIR}/psi-options_resize-fix.diff + epatch ${PATCHDIR}/psi-settoggles-fix.diff + epatch ${PATCHDIR}/psi-line_in_options-mod.diff + epatch ${PATCHDIR}/psi-empty_group-fix.diff + epatch ${PATCHDIR}/psi-gnome_toolwindow-mod.diff + epatch ${PATCHDIR}/psi-no_online_status-mod.diff + epatch ${PATCHDIR}/psi-status_history-add.diff + epatch ${PATCHDIR}/psi-icon_buttons_big_return-mod.diff + epatch ${PATCHDIR}/psi-linkify-mod-rev-fix.diff + epatch ${PATCHDIR}/psi-save_profile-mod.diff + epatch ${PATCHDIR}/psi-url_emoticon-mod.diff + epatch ${PATCHDIR}/psi-thin_borders-mod.diff + epatch ${PATCHDIR}/psi-nicechats-mod.diff + epatch ${PATCHDIR}/psi-subs_reason-recv.diff + epatch ${PATCHDIR}/psi-subs_reason-send.diff + + # from http://michalj.alternatywa.info/psi/patches/ + epatch ${PATCHDIR}/filetransfer.diff + epatch ${PATCHDIR}/emergency_button.diff + epatch ${PATCHDIR}/psi-emots-mod.diff + # emergency icon + cp ${FILESDIR}/psi-emergency.png ${S}/iconsets/system/default/emergency.png + + # from ftp://ftp.patryk.one.pl/pub/psi/patches/ + epatch ${PATCHDIR}/psi-psz-chatdlg_typed_msgs_history.diff + + # from http://kg.alternatywa.info/psi/patche/ + epatch ${PATCHDIR}/psi-status-timeout-kfix.diff + epatch ${PATCHDIR}/psi-kg-spoof.diff + epatch ${PATCHDIR}/psi-kg-individual_status_add.diff.no + epatch ${PATCHDIR}/psi-apa-invite_reason2-add.diff + epatch ${PATCHDIR}/psi-kg-hide-disabled-emottoolbutton.diff + + # from http://home.unclassified.de/files/psi/patches/ + epatch ${PATCHDIR}/statusdlg-enterkey.diff + epatch ${PATCHDIR}/fix-window-flashing.diff + epatch ${PATCHDIR}/fix-min-window-notify.diff + epatch ${PATCHDIR}/custom-sound-popup.diff + epatch ${PATCHDIR}/offline-contact-animation.diff + epatch ${PATCHDIR}/hide-no-resource-from-contextmenu.diff + + # from bugs.gentoo.org + epatch ${PATCHDIR}/psi-add-status-history.patch + + # from http://www.uni-bonn.de/~nieuwenh/ + epatch ${PATCHDIR}/libTeXFormula.diff + + # from pld-linux.org + epatch ${PATCHDIR}/psi-certs.patch + + # upstream patches from psi-flyspray + epatch ${PATCHDIR}/psi-fix_groupsortingstyle_toggles.patch + epatch ${PATCHDIR}/psi-multiple_account_groups.diff + + # psi-devel mailing list + epatch ${PATCHDIR}/checkboxes-sound-options.diff + epatch ${PATCHDIR}/psi-history_lug.patch + epatch ${PATCHDIR}/psi-cli-v2_gentoo.diff + epatch ${PATCHDIR}/vcard-photo-interface.patch + epatch ${PATCHDIR}/psi-history-deletion-bugfix.patch + + # from http://tleilax.if.pw.edu.pl/~myak/ + epatch ${PATCHDIR}/psi-myak-taskbar_flashing.patch + + # created for psi-gentoo and roster-nr + epatch ${PATCHDIR}/psi-transport_icons_and_avatars.patch + epatch ${PATCHDIR}/psi-emoticons_advanced_toggle-add-roster-nr.patch + epatch ${PATCHDIR}/psi-roster_right_align_group_names.patch + epatch ${PATCHDIR}/psi-chatdlg_messages_colors_distinguishes.patch + epatch ${PATCHDIR}/psi-messages_color_backgrounds_in_chat.patch + epatch ${PATCHDIR}/psi-sort-contacts-style-on-roster-nr.patch + epatch ${PATCHDIR}/psi-gentoo-version.patch + fi + einfo "" + einfo "Unpacking language files, you must have linguas_* in USE where" + einfo "* is the language files you wish. English is always available" + einfo "" + cd ${WORKDIR} + if ! [ -d langs ] ; then + mkdir langs + fi + local i + for i in `ls -c1 | grep "\.{ts,qm}$"` ; do + mv $i langs + done +} + +src_compile() { + use kde || myconf="${myconf} --disable-kde" + ./configure --prefix=/usr $myconf || die "Configure failed" + # for CXXFLAGS from make.conf + qmake psi.pro \ + QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \ + QMAKE_RPATH= \ + || die "Qmake failed" + + addwrite "$HOME/.qt" + addwrite "$QTDIR/etc/settings" + emake || die "Make failed" + + einfo "Building language packs" + cd ${WORKDIR}/langs + for i in `ls -c1 | grep "\.ts$"` ; do + lrelease $i + done; +} + +src_install() { + make INSTALL_ROOT="${D}" install || die "Make install failed" + + #this way the docs will also be installed in the standard gentoo dir + for i in roster system emoticons; do + newdoc ${S}/iconsets/${i}/README README.${i} + done; + newdoc certs/README README.certs + dodoc README TODO + + #Install language packs + cp ${WORKDIR}/langs/psi_*.qm ${D}/usr/share/psi/ +} + |