Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/psi: ChangeLog psi-0.10-r4.ebuild psi-0.10.ebuild psi-0.10-r2.ebuild
Date: Tue, 22 Jan 2008 10:11:29
Message-Id: E1JHG6H-0003ru-W1@stork.gentoo.org
1 alonbl 08/01/22 10:11:25
2
3 Modified: ChangeLog
4 Added: psi-0.10-r4.ebuild
5 Removed: psi-0.10.ebuild psi-0.10-r2.ebuild
6 Log:
7 Support slotted qca, bug#129536, many QA issues.
8 (Portage version: 2.1.4)
9
10 Revision Changes Path
11 1.123 net-im/psi/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/ChangeLog?rev=1.123&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/ChangeLog?rev=1.123&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/ChangeLog?r1=1.122&r2=1.123
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v
20 retrieving revision 1.122
21 retrieving revision 1.123
22 diff -u -r1.122 -r1.123
23 --- ChangeLog 27 Sep 2007 13:50:50 -0000 1.122
24 +++ ChangeLog 22 Jan 2008 10:11:25 -0000 1.123
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-im/psi
27 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.122 2007/09/27 13:50:50 armin76 Exp $
29 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.123 2008/01/22 10:11:25 alonbl Exp $
31 +
32 +*psi-0.10-r4 (22 Jan 2008)
33 +
34 + 22 Jan 2008; Alon Bar-Lev <alonbl@g.o> -psi-0.10.ebuild,
35 + -psi-0.10-r2.ebuild, +psi-0.10-r4.ebuild:
36 + Support slotted qca, bug#129536, many QA issues.
37
38 27 Sep 2007; Raúl Porcel <armin76@g.o> psi-0.10-r3.ebuild:
39 sparc stable wrt #188439
40
41
42
43 1.1 net-im/psi/psi-0.10-r4.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/psi-0.10-r4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/psi-0.10-r4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: psi-0.10-r4.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.10-r4.ebuild,v 1.1 2008/01/22 10:11:25 alonbl Exp $
53
54 inherit eutils qt3
55
56 IUSE="ssl crypt xscreensaver extras audacious insecure-patches"
57 LANGS="ar bg ca cs da de el eo es et fi fr it hu mk nl pl pt pt_BR ru se sk sl
58 sr sr sw_TZ vi zh"
59 for X in ${LANGS} ; do
60 IUSE="${IUSE} linguas_${X}"
61 done
62
63 DESCRIPTION="QT 3.x Jabber Client, with Licq-like interface"
64 HOMEPAGE="http://psi-im.org/"
65 # translations from http://tanoshi.net/language.html
66 # polish translation contains special texts for patches from extras-version
67 HTTPMIRR="http://vivid.dat.pl/psi"
68 SRC_URI="mirror://sourceforge/psi/${P}.tar.bz2
69 extras? ( ${HTTPMIRR}/gentoo-${P}.tar.bz2
70 ${HTTPMIRR}/gentoo-${P}-r2.tar.bz2
71 insecure-patches? ( ${HTTPMIRR}/psi-extras-insecure.tar.bz2 ) )
72 linguas_ar? ( ${HTTPMIRR}/psi_ar-0.9.3.tar.bz2 )
73 linguas_bg? ( ${HTTPMIRR}/psi_bg-0.10-b-1.tar.bz2 )
74 linguas_ca? ( ${HTTPMIRR}/psi_ca-0.10-a-1.tar.bz2 )
75 linguas_cs? ( ${HTTPMIRR}/psi_cs-0.10-a-1.tar.bz2 )
76 linguas_da? ( ${HTTPMIRR}/psi_da-0.9.3.tar.bz2 )
77 linguas_de? ( ${HTTPMIRR}/psi_de-0.10-a-1.tar.bz2 )
78 linguas_el? ( ${HTTPMIRR}/psi_el-0.9.3-a.tar.bz2 )
79 linguas_eo? ( ${HTTPMIRR}/psi_eo-0.10-a.tar.bz2 )
80 linguas_es? ( ${HTTPMIRR}/psi_es-0.10-a.tar.bz2 )
81 linguas_et? ( ${HTTPMIRR}/psi_et-0.10-a-1.tar.bz2 )
82 linguas_fi? ( ${HTTPMIRR}/psi_fi-0.9.3.tar.bz2 )
83 linguas_fr? ( ${HTTPMIRR}/psi_fr-0.10-a-1.tar.bz2 )
84 linguas_it? ( ${HTTPMIRR}/psi_it-0.10-a-1.tar.bz2 )
85 linguas_hu? ( ${HTTPMIRR}/psi_hu-0.10-a.tar.bz2 )
86 linguas_mk? ( ${HTTPMIRR}/psi_mk-0.10-a.tar.bz2 )
87 linguas_nl? ( ${HTTPMIRR}/psi_nl-0.10-a.tar.bz2 )
88 linguas_pl? ( ${HTTPMIRR}/psi_pl-0.9.3-1.tar.bz2 )
89 linguas_pt? ( ${HTTPMIRR}/psi_pt-0.10-a-1.tar.bz2 )
90 linguas_pt_BR? ( ${HTTPMIRR}/psi_ptBR-0.10-a.tar.bz2 )
91 linguas_ru? ( ${HTTPMIRR}/psi_ru-0.9.3-a.tar.bz2 )
92 linguas_se? ( ${HTTPMIRR}/psi_se-0.9.3_rc1-1.tar.bz2 )
93 linguas_sk? ( ${HTTPMIRR}/psi_sk-0.10-a-1.tar.bz2 )
94 linguas_sl? ( ${HTTPMIRR}/psi_sl-0.10-b-1.tar.bz2 )
95 linguas_sr? ( ${HTTPMIRR}/psi_sr-0.10-a-1.tar.bz2 )
96 linguas_sv? ( ${HTTPMIRR}/psi_sv-0.9.3.tar.bz2 )
97 linguas_sw_TZ? ( ${HTTPMIRR}/psi_sw-0.9.3.tar.bz2 )
98 linguas_vi? ( ${HTTPMIRR}/psi_vi-0.10-b-1.tar.bz2 )
99 linguas_zh? ( ${HTTPMIRR}/psi_zh-0.10-a-1.tar.bz2 )"
100
101 SLOT="0"
102 LICENSE="GPL-2"
103 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
104
105 DEPEND="=app-crypt/qca-1*
106 $(qt_min_version 3.3)
107 xscreensaver? ( x11-misc/xscreensaver )
108 extras? ( audacious? ( media-sound/audacious ) )"
109
110 RDEPEND="${DEPEND}
111 ssl? ( =app-crypt/qca-tls-1* )
112 crypt? ( >=app-crypt/gnupg-1.2.2 )"
113
114 PATCHBASE="${WORKDIR}"
115 PATCHDIR="${PATCHBASE}/${PV}"
116
117 src_unpack() {
118 unpack ${A}
119 cd "${S}"
120 epatch "${FILESDIR}/psi-pathfix2.patch"
121 epatch "${FILESDIR}/psi-desktop2.patch"
122 epatch "${FILESDIR}/psi-reverse_trayicon2.patch"
123 epatch "${FILESDIR}/${P}-gpg2.patch"
124
125 if ! use extras; then
126 ewarn "You are going to install the original psi version. You might want to"
127 ewarn "try the version with extra unsuported patches by adding 'extras' to"
128 ewarn "your use flags."
129 else
130 ewarn "You are about to build a version of Psi with extra patches."
131 ewarn "Patched psi versions will not be supported by the psi development team,"
132 ewarn "but only (in limited scope) by the psi-gentoo patchset author."
133 ewarn "If you find any problem with patched psi, first contact with"
134 ewarn "troll@g.o through the bugzilla or directly by email."
135 ewarn
136 ewarn "If you do not want patched psi version, please press Control-C now and"
137 ewarn "add '-extras' to your USE flags."
138 ebeep
139 epause 10
140
141 cd "${S}"
142 # from http://norman.rasmussen.co.za/darcs/psi-muc/
143 epatch "${PATCHDIR}/psi-muc_support.patch"
144 epatch "${PATCHDIR}/psi-muc_support-update-20051123.patch"
145 epatch "${PATCHDIR}/psi-muc_support-update-20060114.patch"
146
147 # roster-nr
148 epatch "${PATCHDIR}/psi-fix_popup_richtext.patch"
149 epatch "${PATCHDIR}/psi-roster-nr-0.9.14.patch"
150 epatch "${PATCHDIR}/psi-status_indicator++_add-on_roster-nr.patch"
151 # indicator icon
152 cp "${FILESDIR}/psi-indicator.png" "${S}/iconsets/roster/default/indicator.png"
153
154 # from http://www.cs.kuleuven.ac.be/~remko/psi/
155 epatch "${PATCHDIR}/jep8-avatars_iris.diff"
156 epatch "${PATCHDIR}/jep8-avatars_psi.diff"
157
158 # from http://machekku.uaznia.net/jabber/psi/patches/
159 epatch "${PATCHDIR}/psi-machekku-smart_reply_and_forward-0.5_psi-gentoo.diff"
160 epatch "${PATCHDIR}/psi-machekku-keep_message_in_auto_away_status.diff"
161 epatch "${PATCHDIR}/psi-machekku-quote_emoticons.diff"
162 epatch "${PATCHDIR}/psi-machekku-emoticons_advanced_toggle.diff"
163 epatch "${PATCHDIR}/psi-machekku-linkify_fix.diff"
164 epatch "${PATCHDIR}/psi-machekku-autostatus_while_dnd.diff"
165 epatch "${PATCHDIR}/psi-machekku-visual_styles_manifest.diff"
166 epatch "${PATCHDIR}/psi-machekku-tool_window_minimize_fix_for_windows.diff"
167 epatch "${PATCHDIR}/psi-machekku-new_character_counter.diff"
168
169 # from ftp://ftp.patryk.one.pl/pub/psi/skazi/patches/
170 epatch "${PATCHDIR}/psi-options_resize-fix.diff"
171 epatch "${PATCHDIR}/psi-settoggles-fix.diff"
172 epatch "${PATCHDIR}/psi-line_in_options-mod.diff"
173 epatch "${PATCHDIR}/psi-empty_group-fix.diff"
174 epatch "${PATCHDIR}/psi-no_online_status-mod.diff"
175 epatch "${PATCHDIR}/psi-status_history-add-psi-gentoo.diff"
176 epatch "${PATCHDIR}/psi-icon_buttons_big_return-mod.diff"
177 epatch "${PATCHDIR}/psi-linkify-mod-rev-fix.diff"
178 epatch "${PATCHDIR}/psi-save_profile-mod.diff"
179 epatch "${PATCHDIR}/psi-url_emoticon-mod.diff"
180 epatch "${PATCHDIR}/psi-thin_borders-mod.diff"
181
182 # from http://www.uaznia.net/psi-daisy/patches/
183 epatch "${PATCHDIR}/filetransfer.diff"
184 epatch "${PATCHDIR}/psi-emots-mod.diff"
185 epatch "${PATCHDIR}/psi_michalj_statusicon_in_chatdlg_titlebar.diff"
186 epatch "${PATCHDIR}/psi_michalj_custom_rostericons_in_tooltips.diff"
187
188 # from ftp://ftp.patryk.one.pl/pub/psi/patches/
189 epatch "${PATCHDIR}/psi-psz-chatdlg_typed_msgs_history.diff"
190
191 # from http://kg.alternatywa.info/psi/patche/
192 epatch "${PATCHDIR}/psi-status-timeout-kfix.diff"
193 epatch "${PATCHDIR}/psi-kg-spoof.diff"
194 epatch "${PATCHDIR}/psi-kg-individual_status_add.diff"
195
196 # from pld-linux.org
197 epatch "${PATCHDIR}/psi-certs.patch"
198
199 # upstream patches from psi-flyspray
200 epatch "${PATCHDIR}/psi-fix_groupsortingstyle_toggles.patch"
201 epatch "${PATCHDIR}/psi-multiple_account_groups.diff"
202
203 # from http://psi-pedrito.go.pl/
204 epatch "${PATCHDIR}/pedrito-null-key-string-fix.diff"
205 epatch "${PATCHDIR}/pedrito-avatars-printf-off.diff"
206 epatch "${PATCHDIR}/pedrito-linkify_and_wrap-client.diff"
207 epatch "${PATCHDIR}/pedrito-group_menuitem_for_notinlist.diff"
208
209 # from psi-devel mailing list
210 epatch "${PATCHDIR}/psi-history_lug.patch"
211 epatch "${PATCHDIR}/psi-history-deletion-bugfix.patch"
212 epatch "${PATCHDIR}/checkboxes-sound-options.diff"
213
214 # from http://mircea.bardac.net/psi/patches/
215 epatch "${PATCHDIR}/psi-cli-v2.diff"
216
217 # from ubuntu
218 epatch "${PATCHDIR}/psi-trayicon_ubuntu_fix.patch"
219
220 # from http://home.unclassified.de/files/psi/patches/
221 epatch "${PATCHDIR}/statusdlg-enterkey.diff"
222 epatch "${PATCHDIR}/fix-min-window-notify.diff"
223 epatch "${PATCHDIR}/hide-no-resource-from-contextmenu.diff"
224 epatch "${PATCHDIR}/custom-sound-popup.patch"
225 epatch "${PATCHDIR}/offline-contact-animation.diff"
226
227 # from bugs.gentoo.org
228 epatch "${PATCHDIR}/psi-add-status-history.patch"
229
230 # from http://rydz.homedns.org
231 epatch "${PATCHDIR}/psi-filetransfer-finish-popup-qsorix.patch"
232
233 # from http://k.uaznia.net/jabber/psi/patches/
234 epatch "${PATCHDIR}/a-psi-k-emergency_away_status_button.diff"
235 epatch "${PATCHDIR}/psi-evil_message_support.patch"
236 epatch "${PATCHDIR}/psi-auto_responder.patch"
237 epatch "${PATCHDIR}/psi-auto_responder_gui.patch"
238
239 # from http://www.cs.kuleuven.ac.be/~remko/psi/
240 epatch "${PATCHDIR}/rosteritems_iris.diff"
241 # this one was chagned because of muc support
242 epatch "${PATCHDIR}/rosteritems_psi_with_muc.diff"
243
244 # from http://delx.cjb.net/psi/
245 epatch "${PATCHDIR}/psi-nicknames.patch"
246
247 # from http://norman.rasmussen.co.za/darcs/psi-rc/
248 epatch "${PATCHDIR}/norman-rc.diff"
249 epatch "${PATCHDIR}/norman-darcs-20051129.diff"
250 # from http://machekku.uaznia.net/jabber/psi/patches/
251 epatch "${PATCHDIR}/psi-machekku-rc_multiline_status_fix.diff"
252 # from http://norman.rasmussen.co.za/darcs/psi-rc/
253 epatch "${PATCHDIR}/psi-dynamic-priority-rc-fix.diff"
254 epatch "${PATCHDIR}/norman-darcs-20051231.patch"
255
256 # created for psi-gentoo and roster-nr
257 epatch "${PATCHDIR}/psi-smile_icon_emoticonset.patch"
258 epatch "${PATCHDIR}/psi-enable_avatars.patch"
259 epatch "${PATCHDIR}/psi-transport_icons_and_avatars.patch"
260 epatch "${PATCHDIR}/psi-client_avatars_icons.patch"
261 epatch "${PATCHDIR}/psi-emoticons_advanced_toggle-add-roster-nr.patch"
262 epatch "${PATCHDIR}/psi-chatdlg_messages_colors_distinguishes.patch"
263 epatch "${PATCHDIR}/psi-messages_color_backgrounds_in_chat.patch"
264 epatch "${PATCHDIR}/psi-sort-style-on-roster-nr.patch"
265 epatch "${PATCHDIR}/psi-says_mod.patch"
266 epatch "${PATCHDIR}/psi-muc_support_langpacks_fix.patch"
267 epatch "${PATCHDIR}/psi-copy_jid_or_status_message_to_clipboard.patch"
268 epatch "${PATCHDIR}/psi-timestamps_option_and_date_showing.patch"
269 epatch "${PATCHDIR}/psi-avatars_graph_settings_filetypes.patch"
270 epatch "${PATCHDIR}/psi-auto_responder_by_message.patch"
271 epatch "${PATCHDIR}/psi-taskbar_flashing.patch"
272 # by nelchael
273 epatch "${PATCHDIR}/psi-nelchael-exec_command.patch"
274 epatch "${PATCHDIR}/psi-nelchael-disconnect-sleep.patch"
275 use audacious && epatch "${PATCHDIR}/psi-nelchael-audacious-status-0.3.patch"
276
277 if use insecure-patches; then
278 # from http://www.uni-bonn.de/~nieuwenh/
279 epatch "${PATCHDIR}/libTeXFormula.diff"
280 # from pld-linux.org
281 epatch "${PATCHDIR}/psi-libTeXFormula-nicechats.patch"
282 fi;
283
284 epatch "${PATCHDIR}/psi-gentoo-version.patch"
285 fi
286 }
287
288 src_compile() {
289 # growl is mac osx extension only - maybe someday we will want this
290 local myconf="--disable-growl"
291 use xscreensaver || myconf="${myconf} --disable-xss"
292
293 ./configure \
294 --prefix=/usr \
295 --with-qca-inc=/usr/include/qca1 \
296 --with-qca-lib=/usr/lib/qca1 \
297 ${myconf} \
298 || die "Configure failed"
299
300 # fixes weird bugs : #150187 and #154556
301 cd "${S}/libpsi/psiwidgets"
302 ${QTDIR}/bin/qmake psiwidgets.pro \
303 QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
304 QMAKE=${QTDIR}/bin/qmake \
305 QMAKE_RPATH= \
306 || die "Qmake failed"
307
308 # for CXXFLAGS from make.conf
309 cd "${S}/src"
310 ${QTDIR}/bin/qmake src.pro \
311 QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
312 QMAKE=${QTDIR}/bin/qmake \
313 QMAKE_RPATH= \
314 || die "Qmake failed"
315 cd "${S}"
316 ${QTDIR}/bin/qmake psi.pro \
317 QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
318 QMAKE=${QTDIR}/bin/qmake \
319 QMAKE_RPATH= \
320 || die "Qmake failed"
321
322 emake || die "Make failed"
323
324 einfo "Building language packs"
325 cd "${WORKDIR}/langs"
326 for i in `ls -c1 | grep "\.ts$"` ; do
327 "${QTDIR}/bin/lrelease" $i
328 done;
329 }
330
331 src_install() {
332 einfo "Installing"
333 make INSTALL_ROOT="${D}" install || die "Make install failed"
334
335 #this way the docs will also be installed in the standard gentoo dir
336 for i in roster system emoticons; do
337 newdoc "${S}/iconsets/${i}/README" "README.${i}"
338 done;
339 newdoc certs/README README.certs
340 dodoc README TODO
341
342 #Install language packs
343 cp "${WORKDIR}/langs/"psi_*.qm "${D}/usr/share/psi/"
344 }
345
346
347
348 --
349 gentoo-commits@l.g.o mailing list