annotate libpurple/protocols/myspace/release.sh @ 23863:54432ea0a5ab

Support some older versions of the ILN command. Apparently some IM monitoring software inserts these, even though it's invalid on MSNP15. Also, quit processing the ILN command if the user is not known to us. Fixes #6656.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 21 Aug 2008 06:40:00 +0000
parents 582a5608cfc1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17914
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17890
diff changeset
1 #!/bin/bash
17890
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
2 # Created:20070618
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
3 # By Jeff Connelly
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
4
17914
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17890
diff changeset
5 # Package a new msimprpl for release. Must be run with bash.
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17890
diff changeset
6
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
7 VERSION=0.18
17890
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
8 make
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
9 # Include 'myspace' directory in archive, so it can easily be unextracted
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
10 # into ~/pidgin/libpurple/protocols at the correct location.
17914
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17890
diff changeset
11 # (if this command fails, run it manually).
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17890
diff changeset
12 # This convenient command requires bash.
17940
1f08b7a0fc12 Update for 0.11, and fix build process on Unix. Closes #2086.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17928
diff changeset
13 cd ../../..
1f08b7a0fc12 Update for 0.11, and fix build process on Unix. Closes #2086.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17928
diff changeset
14 tar -cf libpurple/protocols/msimprpl-$VERSION.tar libpurple/protocols/myspace/{CHANGES,ChangeLog,LICENSE,Makefile.*,*.c,*.h,README,release.sh,.deps/*} autogen.sh configure.ac
1f08b7a0fc12 Update for 0.11, and fix build process on Unix. Closes #2086.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17928
diff changeset
15 cd libpurple/protocols/myspace
17890
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
16 gzip ../msimprpl-$VERSION.tar
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
17
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
18 mv ~/pidgin/config.h ~/pidgin/config.h-
17890
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
19 make -f Makefile.mingw
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
20 mv ~/pidgin/config.h- ~/pidgin/config.h
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
21 cp ~/pidgin/win32-install-dir/plugins/libmyspace.dll .
18886
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
22 # Zip is more common with Win32 users. Just include a few files in this archive,
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
23 # but (importantly) preserve the install directory structure!
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
24 mkdir -p win32-archive/plugins
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
25 cp libmyspace.dll win32-archive/plugins
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
26 mkdir -p win32-archive/pixmaps/pidgin/protocols/{48,22,16}
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
27 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/protocols/48/myspace.png \
18887
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
28 win32-archive/pixmaps/pidgin/protocols/48/
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
29 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/protocols/22/myspace.png \
18887
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
30 win32-archive/pixmaps/pidgin/protocols/22/
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
31 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/protocols/16/myspace.png \
18887
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
32 win32-archive/pixmaps/pidgin/protocols/16/
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
33 mkdir -p win32-archive/pixmaps/pidgin/emotes/default
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
34 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/emotes/default/theme \
18887
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
35 win32-archive/pixmaps/pidgin/emotes/default/theme
18903
3159f259bbe4 Support all emoticons used in the official MySpaceIM client.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18887
diff changeset
36 # Emoticons in MySpaceIM but not Pidgin 2.1.0
19596
582a5608cfc1 Update msimprpl to 0.18, targetting Pidgin/libpurple 2.2.0. msimprpl 0.17 was
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 19595
diff changeset
37 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/emotes/default/{sinister,sidefrown,pirate,mohawk,messed,bulgy-eyes}.png \
18903
3159f259bbe4 Support all emoticons used in the official MySpaceIM client.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18887
diff changeset
38 win32-archive/pixmaps/pidgin/emotes/default/
3159f259bbe4 Support all emoticons used in the official MySpaceIM client.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18887
diff changeset
39
3159f259bbe4 Support all emoticons used in the official MySpaceIM client.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18887
diff changeset
40 # Use DOS line endings and .txt file extension for convenience
18886
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
41 u2d < README > win32-archive/msimprpl-README.txt
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
42 u2d < LICENSE > win32-archive/msimprpl-LICENSE.txt
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
43 u2d < CHANGES > win32-archive/msimprpl-CHANGES.txt
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
44 cd win32-archive
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
45 zip -r ../../msimprpl-$VERSION-win32.zip *
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
46 cd ..
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
47 rm -rf win32-archive
17890
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
48 ls -l ../msimprpl-$VERSION*