annotate pidgin.apspec.in @ 16903:11a0f2b4ac83

If the read() in resolved() fails, we should detect the failure and set size (which it would otherwise set, since it is passed by reference) to 0 and res to NULL. This ''may'' fix a rather odd crash described in Adium Trac #6623 (http://trac.adiumx.com/ticket/6623), and it is certainly good sanity checking.
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 05 May 2007 18:29:49 +0000
parents 1ac4039a2634
children 56042b2f8b64
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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,
16719
1ac4039a2634 disapproval of revision 'c0c4c168411c9fbc5ccb9790a43e21a62f6dcd55'
Luke Schierer <lschiere@pidgin.im>
parents: 16718
diff changeset
17 including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN Messenger, Jabber,
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