Mercurial > pidgin
annotate pidgin.apspec.in @ 25977:0e93bbb7f5ca
Woo boy this function is a little crazy. I shuffled some things around:
1. We now call aim_srv_setextrainfo() after aim_locate_setprofile() This
fixes the bug where, if you set an available message, then set an
away message, then change your state to available but leave the same
away message up, the AIM servers would use your old available message.
I'm not really sure why it happens... maybe some sort of race condition
in how the server parses our requests. In any case, this fixes it, and
it's what the official clients seem to do (or AIM Lite at least)
2. Combine the code for stripping HTML and truncating the available
message. It was happening in two places before (one for available
messages and another for ICQ away messages)
3. Put our away message in the field we've been calling an "available"
message. This seems to be what the official clients do. Or AIM Lite
at least. I'm not sure if there will be other side effects.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 05 Mar 2009 23:54:50 +0000 |
parents | 56042b2f8b64 |
children |
rev | line source |
---|---|
15903
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
1 # -*-shell-script-*- |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
2 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
3 [Meta] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
4 RootName: @pidgin.im/pidgin:$SOFTWAREVERSION |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
5 DisplayName: Pidgin Internet Messenger |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
6 ShortName: Pidgin |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
7 Maintainer: The Pidgin Developers |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
8 URL: http://pidgin.im/ |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
9 Packager: Tim Ringenbach <marv_sf@users.sourceforge.net> |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
10 Summary: A GTK+ based multiprotocol instant messaging client |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
11 SoftwareVersion: @VERSION@ |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
12 InterfaceVersion: 2.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
13 PackageVersion: 1 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
14 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
15 [Description] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
16 Pidgin allows you to talk to anyone using a variety of messaging protocols, |
16904
56042b2f8b64
s/Jabber/XMPP in user-visible places.
Richard Laager <rlaager@wiktel.com>
parents:
16719
diff
changeset
|
17 including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN Messenger, XMPP, |
15903
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
18 Gadu-Gadu, and Zephyr. These protocols are implemented using a |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
19 modular, easy to use design. To use a protocol, just add an account using the |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
20 account editor. |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
21 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
22 Pidgin supports many common features of other clients, as well as many unique |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
23 features, such as perl scripting, TCL scripting and C plugins. |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
24 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
25 Pidgin is NOT affiliated with or endorsed by America Online, Inc., Microsoft |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
26 Corporation, Yahoo! Inc., or ICQ Inc. |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
27 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
28 [BuildPrepare] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
29 APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-gtktest --disable-glibtest --disable-vv --disable-fortify |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
30 #APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-vv |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
31 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
32 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
33 [BuildUnprepare] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
34 unprepareBuild |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
35 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
36 [Imports] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
37 rm -rf include |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
38 rm -rf lib/pkgconfig |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
39 find -name '*.la' | xargs rm |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
40 echo '*' | import |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
41 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
42 [Prepare] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
43 # Dependency checking |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
44 require @gtk.org/gtk 2.2 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
45 require @68k.org/libaudiofile 0.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
46 require @xiph.org/libao 2.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
47 require @gtkspell.sourceforge.net/gtkspell 0.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
48 require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; } |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
49 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
50 [Install] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
51 # Put your installation script here |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
52 installExe ./bin/* |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
53 installLib ./lib/libpurple-remote.so.0.0.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
54 # do the plugins |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
55 copyFiles ./lib/pidgin "$PREFIX/lib" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
56 installMan 1 ./man/man1/pidgin.1 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
57 installDesktop "Networking/Instant Messaging" ./share/applications/pidgin.desktop |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
58 installLocale ./share/locale |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
59 copyFiles ./share/pixmaps "$PREFIX/share" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
60 copyFiles ./share/sounds "$PREFIX/share" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
61 installIcon ./share/pixmaps/pidgin.png |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
62 # install and fix the .pc file |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
63 # move this to the -devel package when I make one |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
64 # copyFile ./lib/pkgconfig/pidgin.pc "$PREFIX/lib/pkgconfig/pidgin.pc" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
65 # safeSed "$PREFIX/lib/pkgconfig/pidgin.pc" "s|prefix=/usr/local|prefix=$PREFIX|" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
66 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
67 [Uninstall] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
68 # Usually just the following line is enough to uninstall everything |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
69 uninstallFromLog |