annotate gaim.apspec.in @ 12498:a2de852981c1

[gaim-migrate @ 14810] SF Patch #1380806 from charkins "leave docklet loaded when notification area is not present" "From the summary, this sounds weird, but I think its better behavior. This really only effects some odd corner cases. The existing behavior is that the docklet plugin unloads itself after 10 seconds if the tray icon isn't created. The behavior with this patch is that there is a 3 second timeout (this is necessary to avoid race condition when restoring the gtkblist's visibility state on startup). After this timeout, the docklet plugin stays loaded waiting for a notification to appear, but is essentially non-functional. In the typical scenario, this patch doesn't effect the behavior. Here are some examples of where it does matter: 1) If gaim is closed with the buddy list hidden to the docklet, then gaim is started again without a notification area, the buddy list doesn't show up for 10 seconds (the time it takes for the docklet to timeout). This patch would reduce this to 3 seconds. 2) If the user removes the notification area from their panel, maybe to remove it from one panel and add it to a different panel, but doesn't add a new one back within 10 seconds, the current behavior would cause the docklet plugin to be unloaded. With this patch, the tray icon would automatically be added to the new notification area when it becomes available. 3) The gnome-panel dies and is not restarted within 10 seconds. Similar to #2. (There was a bug filed for this, but can't find it right now). My main concern was that it could be confusing to the user if they enable the docklet plugin, then 10 seconds later it gets disabled without any notification. This patch doesn't add any notification, but leaves the plugin running so it will automatically use a notification area when one becomes available. I also removed an unused parameter from docklet_remove() and changed the plugin description slightly to reflect the change in queuing/notification. Not sure how clear this is, so bug me on #gaim if you have any questions. --charkins" I made a few changes to this patch, but nothing terribly significant... committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 16 Dec 2005 09:16:14 +0000
parents a6d446cf090f
children d7983c1d79bb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1 # -*-shell-script-*-
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
2
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
3 [Meta]
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
4 RootName: @gaim.sourceforge.net/gaim:$SOFTWAREVERSION
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
5 DisplayName: Gaim Internet Messenger
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
6 ShortName: gaim
10552
895ab663c87c [gaim-migrate @ 11927]
Tim Ringenbach <marv@pidgin.im>
parents: 10528
diff changeset
7 Maintainer: The Gaim Developers
895ab663c87c [gaim-migrate @ 11927]
Tim Ringenbach <marv@pidgin.im>
parents: 10528
diff changeset
8 URL: http://gaim.sourceforge.net/
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
9 Packager: Tim Ringenbach <marv_sf@users.sourceforge.net>
10689
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
10 Summary: A GTK+ based multiprotocol instant messaging client
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
11 SoftwareVersion: @VERSION@
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
12 InterfaceVersion: 2.0
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
13 PackageVersion: 1
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
14
10689
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
15 [Description]
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
16 Gaim allows you to talk to anyone using a variety of messaging protocols,
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
17 including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN Messenger, Jabber,
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
18 Gadu-Gadu, Napster, and Zephyr. These protocols are implemented using a
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
19 modular, easy to use design. To use a protocol, just add an account using the
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
20 account editor.
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
21
10689
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
22 Gaim supports many common features of other clients, as well as many unique
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
23 features, such as perl scripting, TCL scripting and C plugins.
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
24
10689
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
25 Gaim is NOT affiliated with or endorsed by America Online, Inc., Microsoft
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
26 Corporation, Yahoo! Inc., or ICQ Inc.
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
27
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
28 [BuildPrepare]
10651
8fbab42659c2 [gaim-migrate @ 12176]
Tim Ringenbach <marv@pidgin.im>
parents: 10552
diff changeset
29 prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-gtktest
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
30
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
31 [BuildUnprepare]
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
32 unprepareBuild
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
33
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
34 [Imports]
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
35 rm -rf include
10509
07402c00520c [gaim-migrate @ 11806]
Tim Ringenbach <marv@pidgin.im>
parents: 10362
diff changeset
36 rm -rf lib/pkgconfig
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
37 find -name '*.la' | xargs rm
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
38 echo '*' | import
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
39
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
40 [Prepare]
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
41 # Dependency checking
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
42 require @gtk.org/gtk 2.2
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
43 require @68k.org/libaudiofile 0.0
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
44 require @xiph.org/libao 2.0
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
45 require @gtkspell.sourceforge.net/gtkspell 0.0
10528
c3a964f4fc61 [gaim-migrate @ 11849]
Tim Ringenbach <marv@pidgin.im>
parents: 10509
diff changeset
46 require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; }
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
47
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
48 [Install]
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
49 # Put your installation script here
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
50 installExe ./bin/*
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
51 # do the plugins
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
52 copyFiles ./lib/gaim "$PREFIX/lib"
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
53 installMan 1 ./man/man1/gaim.1
10552
895ab663c87c [gaim-migrate @ 11927]
Tim Ringenbach <marv@pidgin.im>
parents: 10528
diff changeset
54 installDesktop "Networking/Instant Messaging" ./share/applications/gaim.desktop
10689
04e61e64db63 [gaim-migrate @ 12238]
Tim Ringenbach <marv@pidgin.im>
parents: 10651
diff changeset
55 installLocale ./share/locale
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
56 copyFiles ./share/pixmaps "$PREFIX/share"
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
57 copyFiles ./share/sounds "$PREFIX/share"
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
58 installIcon ./share/pixmaps/gaim.png
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
59 # install and fix the .pc file
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
60 # move this to the -devel package when I make one
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
61 # copyFile ./lib/pkgconfig/gaim.pc "$PREFIX/lib/pkgconfig/gaim.pc"
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
62 # safeSed "$PREFIX/lib/pkgconfig/gaim.pc" "s|prefix=/usr/local|prefix=$PREFIX|"
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
63
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
64 [Uninstall]
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
65 # Usually just the following line is enough to uninstall everything
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
66 uninstallFromLog