Thu, 01 Dec 2005 20:09:27 +0000
[gaim-migrate @ 14589]
Ok, so I'm changing the semantics of gaim_account_notify_added, having it
check for the existance of a buddy was breaking some jabber scenarios. So
buddy checks should now be done in the prpls. I also added a
gaim_account_request_add. _notify_added only notifies the user of the add,
request_add notifies the user AND asks them if they want to add the buddy to
their buddy list.
I only updated jabber for these changes because it's the only protocol I
really know at all well. So everyone PLEASE make sure that the other protocols
get updated for this. That is make sure that when you expect to prompt the
user to add the buddy you use _request_add instead of just using _notify_added
and expecting the core to determine if it needs to prompt the user.
Oh, there are also some other jabber changes which should hopefully fix some
issues that people were seeing, like buddies not signing off when you
unsubscribed with them, etc. Let me know if anyone notices any jabber oddities
after this.
|
2275
137bb0c5d76e
[gaim-migrate @ 2285]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2177
diff
changeset
|
1 | #!/bin/sh |
| 1863 | 2 | |
|
3414
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
3 | SETUP_GETTEXT=./setup-gettext |
|
3388
aade8b732a63
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3174
diff
changeset
|
4 | |
|
3414
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
5 | ($SETUP_GETTEXT --gettext-tool) < /dev/null > /dev/null 2>&1 || { |
|
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
6 | echo; |
|
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
7 | echo "You must have gettext installed to compile Gaim"; |
|
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
8 | echo; |
|
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
9 | exit; |
| 1863 | 10 | } |
| 11 | ||
| 12 | (libtoolize --version) < /dev/null > /dev/null 2>&1 || { | |
| 13 | echo; | |
| 14 | echo "You must have libtool installed to compile Gaim"; | |
| 15 | echo; | |
| 16 | exit; | |
| 17 | } | |
| 18 | ||
| 19 | (automake --version) < /dev/null > /dev/null 2>&1 || { | |
| 20 | echo; | |
| 21 | echo "You must have automake installed to compile Gaim"; | |
| 22 | echo; | |
| 23 | exit; | |
| 24 | } | |
| 25 | ||
| 26 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
| 27 | echo; | |
| 28 | echo "You must have autoconf installed to compile Gaim"; | |
| 29 | echo; | |
| 30 | exit; | |
| 31 | } | |
| 32 | ||
| 33 | echo "Generating configuration files for Gaim, please wait...." | |
| 34 | echo; | |
| 35 | ||
|
3444
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
36 | # Backup the po/ChangeLog. This should prevent the annoying |
|
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
37 | # gettext ChangeLog modifications. |
|
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
38 | |
|
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
39 | cp -p po/ChangeLog po/ChangeLog.save |
|
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
40 | |
| 1863 | 41 | echo "Running gettextize, please ignore non-fatal messages...." |
|
3414
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
42 | $SETUP_GETTEXT |
|
3407
4ad5e2848604
[gaim-migrate @ 3426]
Christian Hammond <chipx86@chipx86.com>
parents:
3405
diff
changeset
|
43 | |
|
3444
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
44 | # Restore the po/ChangeLog file. |
|
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
45 | mv po/ChangeLog.save po/ChangeLog |
|
b31766d27ca1
[gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents:
3414
diff
changeset
|
46 | |
| 1863 | 47 | echo "Running libtoolize, please ignore non-fatal messages...." |
|
2754
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
48 | echo n | libtoolize --copy --force || exit; |
|
2162
2a9f076b0af9
[gaim-migrate @ 2172]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2157
diff
changeset
|
49 | |
| 3566 | 50 | # Add other directories to this list if people continue to experience |
| 51 | # brokennesses ... Obviously the real answer is for them to fix it | |
| 52 | # themselves, but for Luke's sake we have this. | |
| 53 | for dir in "/usr/local/share/aclocal" \ | |
| 54 | "/opt/gnome-1.4/share/aclocal" | |
| 55 | do | |
| 56 | if test -d $dir ; then | |
| 57 | ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir" | |
| 58 | fi | |
| 59 | done | |
| 3505 | 60 | |
| 12024 | 61 | aclocal $ACLOCAL_FLAGS -I ./m4 || exit; |
|
2754
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
62 | autoheader || exit; |
|
2770
d601b7b6eec9
[gaim-migrate @ 2783]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2754
diff
changeset
|
63 | automake --add-missing --copy; |
|
2754
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
64 | autoconf || exit; |
|
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
65 | automake || exit; |
| 1863 | 66 | ./configure $@ |
| 67 |