comparison libpurple/protocols/myspace/release.sh @ 18886:c9da1580687c

Use a better directory layout for the Win32 archive, now you can just unzip into the Pidgin installation directory and everything will be setup. Suggested by BigRedBrent at http://planet-soc.com/node/377#comment-2168.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 08 Aug 2007 04:09:17 +0000
parents 496affa42816
children 1148aa2a377d
comparison
equal deleted inserted replaced
18885:644144f1a5c2 18886:c9da1580687c
2 # Created:20070618 2 # Created:20070618
3 # By Jeff Connelly 3 # By Jeff Connelly
4 4
5 # Package a new msimprpl for release. Must be run with bash. 5 # Package a new msimprpl for release. Must be run with bash.
6 6
7 VERSION=0.13 7 VERSION=0.14
8 make 8 make
9 # Include 'myspace' directory in archive, so it can easily be unextracted 9 # Include 'myspace' directory in archive, so it can easily be unextracted
10 # into ~/pidgin/libpurple/protocols at the correct location. 10 # into ~/pidgin/libpurple/protocols at the correct location.
11 # (if this command fails, run it manually). 11 # (if this command fails, run it manually).
12 # This convenient command requires bash. 12 # This convenient command requires bash.
17 17
18 mv ~/pidgin/config.h ~/pidgin/config.h- 18 mv ~/pidgin/config.h ~/pidgin/config.h-
19 make -f Makefile.mingw 19 make -f Makefile.mingw
20 mv ~/pidgin/config.h- ~/pidgin/config.h 20 mv ~/pidgin/config.h- ~/pidgin/config.h
21 cp ~/pidgin/win32-install-dir/plugins/libmyspace.dll . 21 cp ~/pidgin/win32-install-dir/plugins/libmyspace.dll .
22 # Zip is more common with Win32 users. Just include a few files in this archive. 22 # Zip is more common with Win32 users. Just include a few files in this archive,
23 zip ../msimprpl-$VERSION-win32.zip libmyspace.dll README LICENSE CHANGES 23 # but (importantly) preserve the install directory structure!
24 mkdir -p win32-archive/plugins
25 cp libmyspace.dll win32-archive/plugins
26 mkdir -p win32-archive/pixmaps/pidgin/protocols/{48,22,16}
27 cp ~/pidgin/pidgin/pixmaps/protocols/48/myspace.png \
28 win32-archive/pixmaps/pidgin/protocols/48/
29 cp ~/pidgin/pidgin/pixmaps/protocols/22/myspace.png \
30 win32-archive/pixmaps/pidgin/protocols/22/
31 cp ~/pidgin/pidgin/pixmaps/protocols/16/myspace.png \
32 win32-archive/pixmaps/pidgin/protocols/16/
33 mkdir -p win32-archive/pixmaps/emotes/default
34 cp ~/pidgin/pidgin/pixmaps/emotes/default/22/theme \
35 win32-archive/pixmaps/emotes/default/theme
36 # Use DOS line endings and .txt file extension for convenience
37 u2d < README > win32-archive/msimprpl-README.txt
38 u2d < LICENSE > win32-archive/msimprpl-LICENSE.txt
39 u2d < CHANGES > win32-archive/msimprpl-CHANGES.txt
40 cd win32-archive
41 zip -r ../../msimprpl-$VERSION-win32.zip *
42 cd ..
43 rm -rf win32-archive
24 ls -l ../msimprpl-$VERSION* 44 ls -l ../msimprpl-$VERSION*