Fri, 27 Apr 2007 04:25:21 +0000
Kill the libpurpleperl hack library and move the init stuff to perl.so itself.
This works fine for me and I'm hoping will work fine on Solaris as well. When
it gets tested we'll want to drop libpurpleperl.c but until I know it works I
don't want to drop it (because of mtn's die die dir merge stuff).
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
| 3 | /* Prototypes for the BOOT section below. */ | |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
4 | PURPLE_PERL_BOOT_PROTO(GtkUI__Account); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
5 | PURPLE_PERL_BOOT_PROTO(GtkUI__BuddyList); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
6 | PURPLE_PERL_BOOT_PROTO(GtkUI__Connection); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
7 | PURPLE_PERL_BOOT_PROTO(GtkUI__Conversation); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
8 | PURPLE_PERL_BOOT_PROTO(GtkUI__Conversation__Window); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
9 | PURPLE_PERL_BOOT_PROTO(GtkUI__Debug); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
10 | PURPLE_PERL_BOOT_PROTO(GtkUI__Dialogs); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
11 | PURPLE_PERL_BOOT_PROTO(GtkUI__IMHtml); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
12 | PURPLE_PERL_BOOT_PROTO(GtkUI__IMHtmlToolbar); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
13 | PURPLE_PERL_BOOT_PROTO(GtkUI__Log); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
14 | PURPLE_PERL_BOOT_PROTO(GtkUI__MenuTray); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
15 | PURPLE_PERL_BOOT_PROTO(GtkUI__Plugin); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
16 | PURPLE_PERL_BOOT_PROTO(GtkUI__PluginPref); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
17 | PURPLE_PERL_BOOT_PROTO(GtkUI__Pounce); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
18 | PURPLE_PERL_BOOT_PROTO(GtkUI__Prefs); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
19 | PURPLE_PERL_BOOT_PROTO(GtkUI__Privacy); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
20 | PURPLE_PERL_BOOT_PROTO(GtkUI__Roomlist); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
21 | PURPLE_PERL_BOOT_PROTO(GtkUI__Status); |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
22 | #ifndef _WIN32 |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
23 | PURPLE_PERL_BOOT_PROTO(GtkUI__Session); |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
24 | #endif |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
25 | PURPLE_PERL_BOOT_PROTO(GtkUI__Sound); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
26 | PURPLE_PERL_BOOT_PROTO(GtkUI__StatusBox); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
27 | PURPLE_PERL_BOOT_PROTO(GtkUI__Themes); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
28 | PURPLE_PERL_BOOT_PROTO(GtkUI__Utils); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
29 | PURPLE_PERL_BOOT_PROTO(GtkUI__Xfer); |
| 14478 | 30 | |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
31 | MODULE = Purple::GtkUI PACKAGE = Purple::GtkUI PREFIX = pidgin_ |
| 14478 | 32 | PROTOTYPES: ENABLE |
| 33 | ||
| 34 | BOOT: | |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
35 | PURPLE_PERL_BOOT(GtkUI__Account); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
36 | PURPLE_PERL_BOOT(GtkUI__BuddyList); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
37 | PURPLE_PERL_BOOT(GtkUI__Connection); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
38 | PURPLE_PERL_BOOT(GtkUI__Conversation); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
39 | PURPLE_PERL_BOOT(GtkUI__Conversation__Window); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
40 | PURPLE_PERL_BOOT(GtkUI__Debug); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
41 | PURPLE_PERL_BOOT(GtkUI__Dialogs); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
42 | PURPLE_PERL_BOOT(GtkUI__IMHtml); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
43 | PURPLE_PERL_BOOT(GtkUI__IMHtmlToolbar); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
44 | PURPLE_PERL_BOOT(GtkUI__Log); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
45 | PURPLE_PERL_BOOT(GtkUI__MenuTray); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
46 | PURPLE_PERL_BOOT(GtkUI__Plugin); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
47 | PURPLE_PERL_BOOT(GtkUI__PluginPref); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
48 | PURPLE_PERL_BOOT(GtkUI__Pounce); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
49 | PURPLE_PERL_BOOT(GtkUI__Prefs); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
50 | PURPLE_PERL_BOOT(GtkUI__Privacy); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
51 | PURPLE_PERL_BOOT(GtkUI__Roomlist); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
52 | PURPLE_PERL_BOOT(GtkUI__Status); |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
53 | #ifndef _WIN32 |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
54 | PURPLE_PERL_BOOT(GtkUI__Session); |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
55 | #endif |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
56 | PURPLE_PERL_BOOT(GtkUI__Sound); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
57 | PURPLE_PERL_BOOT(GtkUI__StatusBox); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
58 | PURPLE_PERL_BOOT(GtkUI__Themes); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
59 | PURPLE_PERL_BOOT(GtkUI__Utils); |
|
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15590
diff
changeset
|
60 | PURPLE_PERL_BOOT(GtkUI__Xfer); |