Thu, 30 Oct 2008 22:40:49 +0000
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
to detect when we're still using deprecated functions internally (and by
extension, when we've deprecated something we shouldn't have). In the
course of developing this changeset, I fixed a few such cases.
Given that the plan is to switch from PURPLE_HIDE_STRUCTS to
PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will
also ensure we have no regressions on the struct hiding work.
Deprecated functions are still available to the respective .c file, to
avoid missing prototype errors. Also, Perl and DBus undef the
*_DISABLE_DEPRECATED defines as appropriate so that deprecated functions
will still be exported to Perl plugins and via DBus. (Otherwise, we'd
be breaking backwards compatibility.)
| 14478 | 1 | use 5.006; |
| 2 | use ExtUtils::MakeMaker; | |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
3 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence the contents |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
4 | # of the Makefile that is written. |
| 14478 | 5 | WriteMakefile( |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
6 | 'NAME' => 'Pidgin', |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
7 | 'VERSION_FROM' => '@srcdir@/Pidgin.pm', # finds $VERSION |
| 14478 | 8 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
9 | ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
10 | 'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()), |
| 14478 | 11 | 'DEFINE' => '@DEBUG_CFLAGS@', |
|
15468
eba565166be9
Fix up perl to build against libpurple/pidgin instead of libgaim/gtk.
Ethan Blanton <elb@pidgin.im>
parents:
15435
diff
changeset
|
12 | 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@', |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
13 | 'OBJECT' => '$(O_FILES)', # link all the C files too |
| 15472 | 14 | 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"], |
| 14478 | 15 | # 'OPTIMIZE' => '-g', # For debugging. |
| 16 | ); |