Mon, 18 Jan 2016 00:18:07 -0600
Don't have proxy code call callbacks if connect data disposed
The raw socket implementation wouldn't call callbacks after the
connect data was disposed. Replicate this behavior with the Gio
implementation.
The GCancellable is only cancelled when disposing the connect
data, so if the return from the async function is that it was
cancelled, it's safe to assume that the connect data has been
disposed.
| 10362 | 1 | # -*-shell-script-*- |
| 2 | ||
| 3 | [Meta] | |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
4 | RootName: @pidgin.im/pidgin:$SOFTWAREVERSION |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
5 | DisplayName: Pidgin Internet Messenger |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
6 | ShortName: Pidgin |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
7 | Maintainer: The Pidgin Developers |
|
33955
55aa58076485
Use https URLs for pidgin.im and developer.pidgin.im.
Mark Doliner <mark@kingant.net>
parents:
16961
diff
changeset
|
8 | URL: https://pidgin.im/ |
| 10362 | 9 | Packager: Tim Ringenbach <marv_sf@users.sourceforge.net> |
| 10689 | 10 | Summary: A GTK+ based multiprotocol instant messaging client |
| 10362 | 11 | SoftwareVersion: @VERSION@ |
| 12 | InterfaceVersion: 2.0 | |
| 13 | PackageVersion: 1 | |
| 14 | ||
| 10689 | 15 | [Description] |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
16 | Pidgin allows you to talk to anyone using a variety of messaging protocols, |
|
16961
b6955f946f8f
s/Jabber/XMPP in user-visible places.
Richard Laager <rlaager@pidgin.im>
parents:
16799
diff
changeset
|
17 | including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN Messenger, XMPP, |
|
14143
37e104c11b2c
[gaim-migrate @ 16702]
Mark Doliner <markdoliner@pidgin.im>
parents:
13258
diff
changeset
|
18 | Gadu-Gadu, and Zephyr. These protocols are implemented using a |
| 10689 | 19 | modular, easy to use design. To use a protocol, just add an account using the |
| 20 | account editor. | |
| 10362 | 21 | |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
22 | Pidgin supports many common features of other clients, as well as many unique |
| 10689 | 23 | features, such as perl scripting, TCL scripting and C plugins. |
| 10362 | 24 | |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
25 | Pidgin is NOT affiliated with or endorsed by America Online, Inc., Microsoft |
| 10689 | 26 | Corporation, Yahoo! Inc., or ICQ Inc. |
| 10362 | 27 | |
| 28 | [BuildPrepare] | |
| 13258 | 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 |
| 30 | #APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-vv | |
| 31 | ||
| 10362 | 32 | |
| 33 | [BuildUnprepare] | |
| 34 | unprepareBuild | |
| 35 | ||
| 36 | [Imports] | |
| 37 | rm -rf include | |
| 10509 | 38 | rm -rf lib/pkgconfig |
| 10362 | 39 | find -name '*.la' | xargs rm |
| 40 | echo '*' | import | |
| 41 | ||
| 42 | [Prepare] | |
| 43 | # Dependency checking | |
| 44 | require @gtk.org/gtk 2.2 | |
| 45 | require @68k.org/libaudiofile 0.0 | |
| 46 | require @xiph.org/libao 2.0 | |
| 10528 | 47 | require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; } |
| 10362 | 48 | |
| 49 | [Install] | |
| 50 | # Put your installation script here | |
| 51 | installExe ./bin/* | |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
52 | installLib ./lib/libpurple-remote.so.0.0.0 |
| 10362 | 53 | # do the plugins |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
54 | copyFiles ./lib/pidgin "$PREFIX/lib" |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
55 | installMan 1 ./man/man1/pidgin.1 |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
56 | installDesktop "Networking/Instant Messaging" ./share/applications/pidgin.desktop |
| 10689 | 57 | installLocale ./share/locale |
| 10362 | 58 | copyFiles ./share/pixmaps "$PREFIX/share" |
| 59 | copyFiles ./share/sounds "$PREFIX/share" | |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
60 | installIcon ./share/pixmaps/pidgin.png |
| 10362 | 61 | # install and fix the .pc file |
| 62 | # move this to the -devel package when I make one | |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
63 | # copyFile ./lib/pkgconfig/pidgin.pc "$PREFIX/lib/pkgconfig/pidgin.pc" |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
14143
diff
changeset
|
64 | # safeSed "$PREFIX/lib/pkgconfig/pidgin.pc" "s|prefix=/usr/local|prefix=$PREFIX|" |
| 10362 | 65 | |
| 66 | [Uninstall] | |
| 67 | # Usually just the following line is enough to uninstall everything | |
| 68 | uninstallFromLog |