diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-02-27 16:23:36 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-02-27 16:23:36 +0000 |
commit | 7531cd8cb70d1bf862bbafd3ecdc913e14d22730 (patch) | |
tree | 11e193444ba9bbc00f67cd7af1690533e256cafc /net-im | |
parent | Version bump, resolves bug #83401. (diff) | |
download | historical-7531cd8cb70d1bf862bbafd3ecdc913e14d22730.tar.gz historical-7531cd8cb70d1bf862bbafd3ecdc913e14d22730.tar.bz2 historical-7531cd8cb70d1bf862bbafd3ecdc913e14d22730.zip |
new release with new patchs
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/psi/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/psi/Manifest | 13 | ||||
-rw-r--r-- | net-im/psi/files/digest-psi-0.9.3-r2 | 32 | ||||
-rw-r--r-- | net-im/psi/files/psi-desktop.patch | 20 | ||||
-rw-r--r-- | net-im/psi/files/psi-desktop_file_and_icons_directories.patch | 34 | ||||
-rw-r--r-- | net-im/psi/files/psi-pathfix.patch | 9 | ||||
-rw-r--r-- | net-im/psi/psi-0.9.3-r2.ebuild | 247 |
7 files changed, 361 insertions, 5 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog index 5b547d87399b..7cf48f47549d 100644 --- a/net-im/psi/ChangeLog +++ b/net-im/psi/ChangeLog @@ -1,6 +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.53 2005/02/03 21:47:04 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.54 2005/02/27 16:23:35 humpback Exp $ + +*psi-0.9.3-r2 (27 Feb 2005) + + 27 Feb 2005; Gustavo Felisberto <humpback@gentoo.org>; + +files/psi-desktop.patch, + +files/psi-desktop_file_and_icons_directories.patch, + +files/psi-pathfix.patch, +psi-0.9.3-r2.ebuild: + More fixes than can be named. Most of the patching credits must go to + Prezemek. This release helps close bugs #66380 and #80119. 03 Feb 2005; Gustavo Felisberto <humpback@gentoo.org>; -psi-0.9.1.ebuild, psi-0.9.3-r1.ebuild: diff --git a/net-im/psi/Manifest b/net-im/psi/Manifest index 038e773f2741..c6ffc0d45cfe 100644 --- a/net-im/psi/Manifest +++ b/net-im/psi/Manifest @@ -1,19 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 11bbdba22b094ccb5c38a7104b1e0ecc ChangeLog 6936 +MD5 c72d2b7bba4fd4dbdab9cd30217bc3d0 ChangeLog 7289 MD5 9b91ead14acbf0da98d3b33e75c67e79 metadata.xml 306 MD5 27eca0b6299f5b4772be31cdef6cd3d3 psi-0.9.2-r1.ebuild 1141 MD5 7a62550ce4fcae4f3c0eabd2acf58760 psi-0.9.2.ebuild 829 MD5 54ed604a76ce64e4cc97821d8b92daf3 psi-0.9.3-r1.ebuild 8122 +MD5 79e62a384590281d32a201eebacbaae7 psi-0.9.3-r2.ebuild 9410 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 5765c2029b335e7aacda89f4417b1f7b files/psi-desktop.patch 473 +MD5 4195bf9d000383fae25545249a3f8709 files/psi-desktop_file_and_icons_directories.patch 1454 +MD5 70151bfc9706b2d763cc7ed9c9b03b9f files/psi-pathfix.patch 224 MD5 c43f1bfd60e72f69346f0a67288c62e8 files/psi_gpg_fix 1193 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFCApvW8zY1VwezZiERAvROAJ4siYsrwjFWbKZxbTPi9+Wo83lXwQCdENK/ -9bzl/Sj0J1SuXxICQiOkW8s= -=YWr8 +iD8DBQFCIfQK8zY1VwezZiERAjmDAJ441capoYOwxFEmla3SqVlC4Ep5bgCcDNmK +wtWojjzNNO6X1zYyJgsIu9s= +=ePJm -----END PGP SIGNATURE----- diff --git a/net-im/psi/files/digest-psi-0.9.3-r2 b/net-im/psi/files/digest-psi-0.9.3-r2 new file mode 100644 index 000000000000..64e114bc3b71 --- /dev/null +++ b/net-im/psi/files/digest-psi-0.9.3-r2 @@ -0,0 +1,32 @@ +MD5 d20f3bb530235a246bc2d92308089744 psi-0.9.3.tar.bz2 1423322 +MD5 91c765b93225f8070abcf0f857aca13a psi-0.9.3-gentoo-extras-0.1.tar.bz2 55281 +MD5 4e3f6c24dd28bd45787aa73dca486b0d psi-0.9.3-gentoo-extras-0.2.tar.bz2 14804 +MD5 b87b7ae232b06dea36fc2c826075bc62 psi-0.9.3-gentoo-extras-0.3.tar.bz2 29429 +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-desktop.patch b/net-im/psi/files/psi-desktop.patch new file mode 100644 index 000000000000..571ebaaf77c0 --- /dev/null +++ b/net-im/psi/files/psi-desktop.patch @@ -0,0 +1,20 @@ +--- psi.desktop.orig 2004-11-30 03:12:57.000000000 +0000 ++++ psi.desktop 2004-11-30 03:16:28.920204528 +0000 +@@ -1,10 +1,9 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=Psi +-GenericName=Jabber Client +-Exec=psi -caption "%c" %i %m +-Icon=psi +-Terminal=0 +-Type=Application +-X-KDE-StartupNotify=true +- ++Comment=Jabber Client ++Comment[pl]=Klient Jabbera ++Exec=psi ++Icon=../icons/hicolor/48x48/apps/psi.png ++Terminal=false ++Categories=Qt;Network;InstantMessaging; ++Encoding=UTF-8 diff --git a/net-im/psi/files/psi-desktop_file_and_icons_directories.patch b/net-im/psi/files/psi-desktop_file_and_icons_directories.patch new file mode 100644 index 000000000000..526e4e4da993 --- /dev/null +++ b/net-im/psi/files/psi-desktop_file_and_icons_directories.patch @@ -0,0 +1,34 @@ +--- qcextra.orig 2005-02-02 13:47:03.881141824 +0000 ++++ qcextra 2005-02-02 13:50:24.941771472 +0000 +@@ -16,21 +16,17 @@ + + INSTALL_ROOT = $PREFIX + +-!isEmpty(KDE) { +- # desktop icon +- KDESHARE = \$\$KDE/share +- dt.path=\$\$KDE/share/applnk/Internet/ +- dt.extra = cp -f -p ../psi.desktop \$(INSTALL_ROOT)\$\$dt.path ++# icons and desktop files ++dt.path=/usr/share/applications/ ++dt.extra = cp -f -p ../psi.desktop \$(INSTALL_ROOT)\$\$dt.path + +- # icon files +- icon1.path=\$\$KDE/share/icons/hicolor/16x16/apps +- icon1.extra = cp -f -p ../iconsets/system/default/icon_16.png \$(INSTALL_ROOT)\$\$icon1.path/psi.png +- icon2.path=\$\$KDE/share/icons/hicolor/32x32/apps +- icon2.extra = cp -f -p ../iconsets/system/default/icon_32.png \$(INSTALL_ROOT)\$\$icon2.path/psi.png +- icon3.path=\$\$KDE/share/icons/hicolor/48x48/apps +- icon3.extra = cp -f -p ../iconsets/system/default/icon_48.png \$(INSTALL_ROOT)\$\$icon3.path/psi.png +- INSTALLS += dt icon1 icon2 icon3 +-} ++icon1.path=/usr/share/icons/hicolor/16x16/apps ++icon1.extra = cp -f -p ../iconsets/system/default/icon_16.png \$(INSTALL_ROOT)\$\$icon1.path/psi.png ++icon2.path=/usr/share/icons/hicolor/32x32/apps ++icon2.extra = cp -f -p ../iconsets/system/default/icon_32.png \$(INSTALL_ROOT)\$\$icon2.path/psi.png ++icon3.path=/usr/share/icons/hicolor/48x48/apps ++icon3.extra = cp -f -p ../iconsets/system/default/icon_48.png \$(INSTALL_ROOT)\$\$icon3.path/psi.png ++INSTALLS += dt icon1 icon2 icon3 + + EOT + diff --git a/net-im/psi/files/psi-pathfix.patch b/net-im/psi/files/psi-pathfix.patch new file mode 100644 index 000000000000..a885f84e8995 --- /dev/null +++ b/net-im/psi/files/psi-pathfix.patch @@ -0,0 +1,9 @@ +--- psi.pro.ori 2005-01-28 12:48:28.657105112 +0000 ++++ psi.pro 2005-01-28 12:49:35.801897552 +0000 +@@ -1,5 +1,5 @@ + TEMPLATE = subdirs +- ++CONFIG += no_fixpath + LIBPSI_CPP = ../libpsi + exists(libpsi) { + LIBPSI_CPP = libpsi diff --git a/net-im/psi/psi-0.9.3-r2.ebuild b/net-im/psi/psi-0.9.3-r2.ebuild new file mode 100644 index 000000000000..f1a7c3dbd49c --- /dev/null +++ b/net-im/psi/psi-0.9.3-r2.ebuild @@ -0,0 +1,247 @@ +# 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-r2.ebuild,v 1.1 2005/02/27 16:23:35 humpback Exp $ + +inherit eutils + +VER="0.9.3" +REV="" +MY_PV="${VER}${REV}" +MY_P="${PN}-${MY_PV}" +HTTPMIRR="http://gentoo-pt.org/~humpback/psi" +IUSE="kde ssl crypt extras" +#RESTRICT="nomirror" +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? ( http://gentoo-pt.org/~humpback/${PN}-${VER}-gentoo-extras-0.1.tar.bz2 + http://gentoo-pt.org/~humpback/${PN}-${VER}-gentoo-extras-0.2.tar.bz2 + http://gentoo-pt.org/~humpback/${PN}-${VER}-gentoo-extras-0.3.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 + + 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} + # from http://www.cs.kuleuven.ac.be/~remko/psi/ + epatch ${PATCHDIR}/avatars_psi.diff + epatch ${PATCHDIR}/jep8-avatars_psi.diff + epatch ${PATCHDIR}/jep8-avatars_iris.diff + epatch ${PATCHDIR}/rosteritems_psi.diff + epatch ${PATCHDIR}/rosteritems_iris.diff + epatch ${PATCHDIR}/menubar_psi.diff + + # from http://machekku.uaznia.net/jabber/psi/patches/ + epatch ${PATCHDIR}/psi-machekku-smart_reply_and_forward.diff + epatch ${PATCHDIR}/psi-machekku-quote_emoticons.diff + epatch ${PATCHDIR}/psi-machekku-keep_message_in_auto_away_status.diff + epatch ${PATCHDIR}/psi-machekku-emoticons_advanced_toggle.diff + + # from ftp://ftp.patryk.one.pl/pub/psi/skazi/patches/ + epatch ${PATCHDIR}/psi-weather_agent_icons-add.diff + epatch ${PATCHDIR}/psi-rich_contactview-0.7-add.diff + epatch ${PATCHDIR}/psi-status_indicator++-add.diff + 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-nicechats-mod.diff + epatch ${PATCHDIR}/psi-framechecks-mod.diff + epatch ${PATCHDIR}/psi-thin_borders-mod.diff + + # indicator icon + cp ${PATCHBASE}/psi-indicator.png ${S}/iconsets/roster/default/indicator.png + # additional files + cp ${PATCHBASE}/psi-richlistview.cpp ${S}/src/richlistview.cpp + cp ${PATCHBASE}/psi-richlistview.h ${S}/src/richlistview.h + cp ${PATCHBASE}/psi-roster-rich.README ${S}/README.rich-roster + + # from http://machekku.uaznia.net/jabber/psi/patches/ + epatch ${PATCHDIR}/psi-machekku-emoticons_advanced_toggle-add_richroster.diff + + # from ftp://ftp.patryk.one.pl/pub/psi/selfmade/patches/ + epatch ${PATCHDIR}/psi-group_openclose_single_click_not_only_arrow-mod.diff + + # from pld-linux.org + epatch ${PATCHDIR}/psi-certs.patch + epatch ${PATCHDIR}/psi-customos.patch + epatch ${PATCHDIR}/psi-icondef.xml_status_indicator.patch + + # from http://mrulik.dyndns.info/psi/ + epatch ${PATCHDIR}/filetransfer.diff + epatch ${PATCHDIR}/FT_port_already_bound.diff + epatch ${PATCHDIR}/emergency_button.diff + epatch ${PATCHDIR}/offline_statuses_in_roster.diff + # emergency icon + cp ${PATCHBASE}/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 + epatch ${PATCHDIR}/psi-psz-global_hotkeys.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-kg-new-transports-icons.diff + epatch ${PATCHDIR}/psi-kg-pl-specific-clients-avatars.diff + epatch ${PATCHDIR}/psi-kg-says_mod.diff + epatch ${PATCHDIR}/psi-psz-srv_lookup_enable-kfix.diff + epatch ${PATCHDIR}/psi-subs_reason-recv.diff + epatch ${PATCHDIR}/psi-subs_reason-send-kfix.diff + epatch ${PATCHDIR}/psi-apa-invite_reason2-add.diff + epatch ${PATCHDIR}/psi-kg-hide-disabled-emottoolbutton.diff + + # from http://michalj.alternatywa.info/psi/patches/ + epatch ${PATCHDIR}/psi-emots-mod.diff + + # from http://www.cs.kuleuven.ac.be/~remko/psi/rc/ + epatch ${PATCHDIR}/adhoc+rc.diff + + # from http://machekku.uaznia.net/jabber/psi/patches/ + epatch ${PATCHDIR}/psi-machekku-autocopy_on_select.diff + epatch ${PATCHDIR}/psi-machekku-enable_thread_in_messages.diff + epatch ${PATCHDIR}/psi-machekku-contact_icons_at_top-for_psi-psz.diff + epatch ${PATCHDIR}/psi-machekku-linkify_fix.diff + epatch ${PATCHDIR}/psi-machekku-new_headings_gui_resurrection.diff + + # from http://home.unclassified.de/files/psi/patches/ + epatch ${PATCHDIR}/statusdlg-enterkey.diff + epatch ${PATCHDIR}/hide-no-resource-from-contextmenu.diff + epatch ${PATCHDIR}/fix-window-flashing.diff + epatch ${PATCHDIR}/fix-min-window-notify.diff + epatch ${PATCHDIR}/contact-icon-space.diff + epatch ${PATCHDIR}/fix-rich-roster.diff + epatch ${PATCHDIR}/custom-sound-popup.diff + epatch ${PATCHDIR}/offline-contact-animation.diff + + # from bugs.gentoo.org + epatch ${PATCHDIR}/psi-add-status-history.patch + + # from http://www.uni-bonn.de/~nieuwenh/ + epatch ${PATCHDIR}/libTeXFormula.diff + + # few more goodies :) + epatch ${PATCHDIR}/psi-richroster-status_default_on.patch + epatch ${PATCHDIR}/psi-richroster-status_gui_on_off.patch + epatch ${PATCHDIR}/psi-roster_right_align_group_names.patch + epatch ${PATCHDIR}/psi-chatdlg_messages_colors_distinguishes.patch + epatch ${PATCHDIR}/psi-gentoo-version.patch + epatch ${PATCHDIR}/psi-reverse_trayicon.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 + + #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 README.rich-roster + + #Install language packs + cp ${WORKDIR}/langs/psi_*.qm ${D}/usr/share/psi/ +} |