annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17671
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17647
diff changeset
1 #!/bin/bash
17647
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
17671
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17647
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: 17647
diff changeset
6
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
7 VERSION=0.14
17647
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
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
10 # into ~/pidgin/libpurple/protocols at the correct location.
17671
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17647
diff changeset
11 # (if this command fails, run it manually).
c5645d80aedc Update for v0.8 release.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17647
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: 17685
diff changeset
13 cd ../../..
1f08b7a0fc12 Update for 0.11, and fix build process on Unix. Closes #2086.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17685
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: 17685
diff changeset
15 cd libpurple/protocols/myspace
17647
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
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
18 mv ~/pidgin/config.h ~/pidgin/config.h-
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
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
20 mv ~/pidgin/config.h- ~/pidgin/config.h
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
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}
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
27 cp ~/pidgin/pidgin/pixmaps/protocols/48/myspace.png \
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
28 win32-archive/pixmaps/pidgin/protocols/48/
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
29 cp ~/pidgin/pidgin/pixmaps/protocols/22/myspace.png \
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
30 win32-archive/pixmaps/pidgin/protocols/22/
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
31 cp ~/pidgin/pidgin/pixmaps/protocols/16/myspace.png \
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
32 win32-archive/pixmaps/pidgin/protocols/16/
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
33 mkdir -p win32-archive/pixmaps/emotes/default
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
34 cp ~/pidgin/pidgin/pixmaps/emotes/default/22/theme \
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
35 win32-archive/pixmaps/emotes/default/theme
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
36 # Use DOS line endings and .txt file extension for convenience
c9da1580687c Use a better directory layout for the Win32 archive, now you can just unzip
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 17975
diff changeset
37 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
38 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
39 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
40 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
41 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
42 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
43 rm -rf win32-archive
17647
04a00333546a Add script to produce tarballs and zip archives for releases, for v0.8.
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
diff changeset
44 ls -l ../msimprpl-$VERSION*