diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-09-03 23:06:09 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-09-03 23:06:09 +0000 |
commit | bb3bda448c8d864848528dc899e48a2fe2d5e73a (patch) | |
tree | 6e9103134115e925e64498be863d78b5348da747 /net-im/psi | |
parent | fixed parallel make (bug #104708). x86 stable on 1.0.2 (diff) | |
download | gentoo-2-bb3bda448c8d864848528dc899e48a2fe2d5e73a.tar.gz gentoo-2-bb3bda448c8d864848528dc899e48a2fe2d5e73a.tar.bz2 gentoo-2-bb3bda448c8d864848528dc899e48a2fe2d5e73a.zip |
another troll_ release :)
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-im/psi')
-rw-r--r-- | net-im/psi/ChangeLog | 32 | ||||
-rw-r--r-- | net-im/psi/Manifest | 9 | ||||
-rw-r--r-- | net-im/psi/files/digest-psi-0.10_rc2 | 30 | ||||
-rw-r--r-- | net-im/psi/files/psi-pathfix2.patch | 12 | ||||
-rw-r--r-- | net-im/psi/files/psi-reverse_trayicon2.patch | 33 | ||||
-rw-r--r-- | net-im/psi/psi-0.10_rc2.ebuild | 233 |
6 files changed, 323 insertions, 26 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog index 80dd73eeb9a2..a1d14d6cb755 100644 --- a/net-im/psi/ChangeLog +++ b/net-im/psi/ChangeLog @@ -1,32 +1,14 @@ # 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.79 2005/08/13 00:09:22 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.80 2005/09/03 23:06:09 humpback Exp $ - 13 Aug 2005; Gustavo Felisberto <humpback@gentoo.org>; - psi-0.9.3-r1.ebuild, psi-0.9.3-r2.ebuild, psi-0.9.3-r3.ebuild, - psi-0.9.3-r4.ebuild: - Cosmetic change to fix way that use flag was cheked. - - 28 Jul 2005; Caleb Tennis <caleb@gentoo.org> psi-0.9.3-r1.ebuild, - psi-0.9.3-r2.ebuild, psi-0.9.3-r3.ebuild, psi-0.9.3-r4.ebuild: - Fix qt dep per bug #100235 - - 28 Jul 2005; Guy Martin <gmsoft@gentoo.org> psi-0.9.3-r4.ebuild: - Stable on hppa. - - 17 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org> psi-0.9.3-r4.ebuild: - ppc stable - - 10 Jul 2005; Gustavo Felisberto <humpback@gentoo.org>; - +files/psi-add-status-history.patch, psi-0.9.3-r4.ebuild: - Fix for bad path in patch file. Closes bug #98503 +*psi-0.10_rc2 (03 Sep 2005) - 08 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org> psi-0.9.3-r4.ebuild: - Stable on sparc - - 07 Jul 2005; Gustavo Felisberto <humpback@gentoo.org>; - psi-0.9.3-r4.ebuild: - Stabble on x86 and AMD64 + 03 Sep 2005; Gustavo Felisberto <humpback@gentoo.org>; + +files/psi-pathfix2.patch, +files/psi-reverse_trayicon2.patch, + +psi-0.10_rc2.ebuild: + Added 0.10.0_rc2 hardmasked as this is some really beta code. But hardcore + users will get to see some of the new features psi is going to have. 02 Jul 2005; Gustavo Felisberto <humpback@gentoo.org>; psi-0.9.3-r1.ebuild, psi-0.9.3-r2.ebuild, psi-0.9.3-r3.ebuild, diff --git a/net-im/psi/Manifest b/net-im/psi/Manifest index 52e19c924fdf..a5b369ab7bfe 100644 --- a/net-im/psi/Manifest +++ b/net-im/psi/Manifest @@ -2,18 +2,25 @@ MD5 f67fb9545a019937912440c7fcebf9b2 psi-0.9.3-r2.ebuild 9438 MD5 76acc3aba2331ac16bff40358db640d8 psi-0.9.3-r4.ebuild 9127 MD5 0691899c53d869d2909e460646237a98 psi-0.9.3-r1.ebuild 8151 MD5 605af285d446205b316ffa6dceca96a2 psi-0.9.3-r3.ebuild 9836 -MD5 74aed80010c87a4b83e1cbcc40bc9319 ChangeLog 10341 +MD5 1db7823c0491a30d474f33e829407523 psi-0.9.3-r5.ebuild 9287 +MD5 cede69d334f2cd492f0452e0265e3bb0 psi-0.10_rc2.ebuild 8718 +MD5 98bd300fe98072b8ad161d13f46e978e ChangeLog 9428 MD5 9b91ead14acbf0da98d3b33e75c67e79 metadata.xml 306 MD5 b35105d488f11cae19484290159023b1 files/psi-add-status-history.patch 13703 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 55307aeb75ba675468f91832d951eff7 files/digest-psi-0.9.3-r4 1975 +MD5 55307aeb75ba675468f91832d951eff7 files/digest-psi-0.9.3-r5 1975 MD5 0d5cafd17325fc912c4855252d73378f files/psi-indicator.png 300 MD5 0250867fe42d1dc91e798336869a09d6 files/vcard-photo-interface.patch 32494 +MD5 0dacabdec9ce29cc56faadeeff01ec3b files/psi-pathfix2.patch 364 MD5 4195bf9d000383fae25545249a3f8709 files/psi-desktop_file_and_icons_directories.patch 1454 MD5 18253b59a4622a06bc3a17a4eef93d22 files/psi-status_indicator++_add-on_roster-nr.patch 9821 MD5 5fa629c5177a7b1c5090428e22b7ec30 files/psi-emergency.png 295 MD5 76f5cc28b75698adddaa068e5f4593f5 files/psi-pathfix.patch 462 MD5 893421922de588e6a40fbe8357976279 files/psi-reverse_trayicon.patch 937 +MD5 c56df83c60222d78dfb16956412057bb files/digest-psi-0.10_rc1 1978 +MD5 c1ccb520f5b861da2a97cf5a4c17cc20 files/digest-psi-0.10_rc2 1984 MD5 1c741813b6d820d43475058dbfab3100 files/psi-desktop.patch 492 +MD5 c2528c15be8277434647506d791663d8 files/psi-reverse_trayicon2.patch 937 diff --git a/net-im/psi/files/digest-psi-0.10_rc2 b/net-im/psi/files/digest-psi-0.10_rc2 new file mode 100644 index 000000000000..f9097c85f935 --- /dev/null +++ b/net-im/psi/files/digest-psi-0.10_rc2 @@ -0,0 +1,30 @@ +MD5 9f1e556e83a9927eb4ad2fefb5b224ef psi-0.10-test2.tar.bz2 1455921 +MD5 62dbb5c0be98ceed7a19a908439d9d67 psi-0.10-test2-gentoo-extras-0.1.tar.bz2 91673 +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-pathfix2.patch b/net-im/psi/files/psi-pathfix2.patch new file mode 100644 index 000000000000..fe4ca3831a78 --- /dev/null +++ b/net-im/psi/files/psi-pathfix2.patch @@ -0,0 +1,12 @@ +diff -Naur psi-0.10-test1-orig/src/src.pro psi-0.10-test1/src/src.pro +--- psi-0.10-test1-orig/src/src.pro 2005-08-21 17:44:36.000000000 +0000 ++++ psi-0.10-test1/src/src.pro 2005-08-24 22:19:38.000000000 +0000 +@@ -4,7 +4,7 @@ + + # Configuration + TEMPLATE = app +-CONFIG += qt thread x11 ++CONFIG += qt thread x11 no_fixpath + + CONFIG += debug + #CONFIG += use_crash diff --git a/net-im/psi/files/psi-reverse_trayicon2.patch b/net-im/psi/files/psi-reverse_trayicon2.patch new file mode 100644 index 000000000000..d23d4d63e2aa --- /dev/null +++ b/net-im/psi/files/psi-reverse_trayicon2.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 +--- src/tools/trayicon/trayicon_x11.cpp 2004/02/28 16:52:39 1.24 ++++ src/tools/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.10_rc2.ebuild b/net-im/psi/psi-0.10_rc2.ebuild new file mode 100644 index 000000000000..058274d3284b --- /dev/null +++ b/net-im/psi/psi-0.10_rc2.ebuild @@ -0,0 +1,233 @@ +# 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.10_rc2.ebuild,v 1.1 2005/09/03 23:06:09 humpback Exp $ + +inherit eutils + +VER="${PV/_rc/-test}" +MY_PV="${VER}" +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 +# extras? ( ${HTTPMIRR}/${PN}-${VER}-gentoo-extras-0.5.tar.bz2 ) +SRC_URI="mirror://sourceforge/psi/${MY_P}.tar.bz2 + extras? ( ${HTTPMIRR}/${PN}-${VER}-gentoo-extras-0.1.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="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +#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}/${PV}" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/psi-pathfix2.patch + epatch ${FILESDIR}/psi-desktop.patch + epatch ${FILESDIR}/psi-desktop_file_and_icons_directories.patch + epatch ${FILESDIR}/psi-reverse_trayicon2.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 + 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." + ebeep + epause 10 + + cd ${S} + # roster-nr + epatch ${PATCHDIR}/psi-roster-nr-0.8.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}/jep8-avatars_iris.diff + epatch ${PATCHDIR}/jep8-avatars_psi.diff + epatch ${PATCHDIR}/caps_broadcast.diff + + # from http://machekku.uaznia.net/jabber/psi/patches/ + epatch ${PATCHDIR}/psi-machekku-smart_reply_and_forward-0.5.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-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-tool_window_minimize_fix_for_windows.diff + epatch ${PATCHDIR}/psi-machekku-new_character_counter.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-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-subs_reason-recv.diff + epatch ${PATCHDIR}/psi-subs_reason-send.diff + epatch ${PATCHDIR}/psi-thin_borders-mod.diff + + # from http://www.uaznia.net/psi-daisy/patches/ + epatch ${PATCHDIR}/filetransfer.diff + epatch ${PATCHDIR}/emergency_button.diff + epatch ${PATCHDIR}/psi-emots-mod.diff + epatch ${PATCHDIR}/psi_michalj_statusicon_in_chatdlg_titlebar.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 + 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-min-window-notify.diff + epatch ${PATCHDIR}/offline-contact-animation.diff + epatch ${PATCHDIR}/hide-no-resource-from-contextmenu.diff + epatch ${PATCHDIR}/custom-sound-popup.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}/psi-history_lug.patch + epatch ${PATCHDIR}/psi-history-deletion-bugfix.patch + epatch ${PATCHDIR}/checkboxes-sound-options.diff + + # from http://mircea.bardac.net/psi/patches/ + epatch ${PATCHDIR}/psi-cli-v2.diff + + # 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-says_mod.patch + epatch ${PATCHDIR}/psi-enable_avatars.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" + + ${QTDIR}/bin/qmake psi.pro \ + QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS} ${extras}" \ + 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 + ${QTDIR}/bin/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/ +} + |