Mercurial > pidgin
annotate gaim.spec.in @ 8986:8cf32769ba1b
[gaim-migrate @ 9761]
" This patch adds a Plugin Actions menu item after the
Account Actions menu. The Plugin Actions menu is
populated from the added 'actions' slot in
GaimPluginInfo. As a demonstration, the Idle Maker
plugin has been converted to no longer require GTK code
and the Preferences interface just to perform its
actions. Instead, it uses a Plugin Action to spawn a
Fields Request.
There's also a minor fix for consistency in the menu
building for buddy actions. The pre-existing method for
instructing a menu list to display a separator was to
insert a NULL rather than a proto_buddy_menu into the
GList of actions. The code for the buddy menus was
instead checking for a proto_buddy_menu with a '-'
label. This has been fixed, and it now correctly uses
NULL to indicate a separator."
"Date: 2004-05-16 02:25
Sender: taliesein
Logged In: YES
user_id=77326
I need to add a callback to this patch to watch for
loading/unloading of plugins (to determine when to rebuild
the menu). Since the appropriate way to handle Plugin
Actions is still mildly up for debate, I'm holding of on
correcting the patch until I know for sure whether I should
fix this patch, or scrap it and write a new one using a
different method."
"Date: 2004-05-18 12:26
Sender: taliesein
Logged In: YES
user_id=77326
I've completed changes to this patch to also add plugin load
and unload signals (it looks like plugin.c actually had
pre-signal callbacks in place, but they were never used or
converted to signals)
This patch now will correctly update the Plugin Action menu
as plugins load and unload."
I'm not entirely sure i like the ui of a plugins actions menu, but i think
that having some way for plugins to add actions on an account is a good
thing, and i'm not sure that every viable action fits under the accounts
actions menu. we may want to merge the two (the existing accounts actions
and this plugins actions), but both times it came up in #gaim no one seemed
to want to comment, and on one commented to the gaim-devel post either.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 20 May 2004 05:11:44 +0000 |
parents | 2a9e8ba61ec7 |
children | 63f07fa577eb |
rev | line source |
---|---|
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
1 Summary: A Gtk+ based multiprotocol instant messaging client |
6171 | 2 Name: @PACKAGE@ |
3 Version: @VERSION@ | |
7656 | 4 Release: 0 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
5 Epoch: 1 |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
6 License: GPL |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
7 Group: Applications/Internet |
7670 | 8 URL: http://gaim.sourceforge.net/ |
7777 | 9 Packager: %{packager} |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
10 Source: %{name}-%{version}.tar.gz |
6171 | 11 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
7670 | 12 |
7777 | 13 %if "%{_vendor}" == "MandrakeSoft" |
14 Requires: gtk+2.0 >= 2.0.0, libnss3 | |
15 BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel | |
16 Provides: libgaim-remote0 | |
17 %else | |
7235 | 18 Requires: gtk2 >= 2.0.0, mozilla-nss, gtkspell, audiofile, libao |
7411 | 19 BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel |
6171 | 20 %endif |
21 | |
22 %package devel | |
23 Summary: Development headers, documentation, and libraries for Gaim. | |
24 Group: Applications/Internet | |
5033
14bbf22917d9
[gaim-migrate @ 5376]
Christian Hammond <chipx86@chipx86.com>
parents:
5009
diff
changeset
|
25 |
322 | 26 %description |
3162 | 27 Gaim allows you to talk to anyone using a variety of messaging |
28 protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, | |
29 MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These | |
30 protocols are implemented using a modular, easy to use design. | |
7163 | 31 To use a protocol, just add an account using the account editor. |
3162 | 32 |
33 Gaim supports many common features of other clients, as well as many | |
7163 | 34 unique features, such as perl scripting, TCL scripting and C plugins. |
3162 | 35 |
7163 | 36 Gaim is NOT affiliated with or endorsed by America Online, Inc., |
37 Microsoft Corporation, Yahoo! Inc., or ICQ Inc. | |
2578 | 38 |
6171 | 39 %description devel |
40 | |
41 The gaim-devel package contains the header files, developer | |
42 documentation, and libraries required for development of gaim scripts | |
43 and plugins. | |
44 | |
322 | 45 %prep |
46 %setup | |
47 | |
48 %build | |
6171 | 49 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
50 --bindir=%{_bindir} \ | |
51 --datadir=%{_datadir} \ | |
52 --includedir=%{_includedir} \ | |
53 --libdir=%{_libdir} \ | |
54 --mandir=%{_mandir} \ | |
6995
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
55 --sysconfdir=%{_sysconfdir} \ |
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
56 --with-perl-lib=%{buildroot}%{_prefix} |
6171 | 57 make %{?_smp_mflags} |
322 | 58 |
59 %install | |
6171 | 60 rm -rf %{buildroot} |
61 make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ | |
62 datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ | |
63 libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ | |
64 sysconfdir=%{buildroot}%{_sysconfdir} \ | |
65 install | |
66 | |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
67 rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/*/*/perllocal.pod |
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
68 |
6171 | 69 %clean |
70 rm -rf %{buildroot} | |
322 | 71 |
72 %files | |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
73 %defattr(-, root, root) |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
74 |
8058 | 75 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS COPYRIGHT |
6171 | 76 %doc README ChangeLog |
77 %doc %{_mandir}/man1/* | |
7006 | 78 %doc %{_mandir}/man3*/* |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
79 |
6246 | 80 %dir %{_libdir}/gaim |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
81 %attr(755, root, root) %{_libdir}/gaim/* |
6171 | 82 %attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
83 %attr(755, root, root) %{_libdir}/perl5 |
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
84 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
85 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
86 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
87 %{_datadir}/pixmaps/* |
6246 | 88 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
89 %{_datadir}/sounds/gaim/* |
4030 | 90 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
91 |
6171 | 92 %files devel |
93 | |
6994
830070d70f3c
[gaim-migrate @ 7550]
Christian Hammond <chipx86@chipx86.com>
parents:
6736
diff
changeset
|
94 %doc plugins/HOWTO |
6301 | 95 %doc HACKING PROGRAMMING_NOTES |
6171 | 96 |
97 %attr(755, root, root) %{_libdir}/libgaim-remote.la | |
6246 | 98 %dir %{_includedir}/gaim-remote |
6171 | 99 %{_includedir}/gaim-remote/*.h |
2224 | 100 |
101 %changelog | |
8115 | 102 * Thu Jan 15 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
103 - Removed the manual strip command, as it seems to be unwarranted if | |
104 the necessary programs are properly installed. (For me, this was | |
105 elfutils.) | |
106 | |
6246 | 107 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
108 - Added pkgconfig build dependency. | |
109 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
110 - Added Gaim-specific directories to list of Gaim's files. | |
111 | |
6171 | 112 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
113 - Complete spec file rewrite to take advantage of "new" RPM features | |
114 and make things prettier. | |
115 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
116 attempt to define our own. |