annotate libpurple/protocols/myspace/release.sh @ 18887:1148aa2a377d

Use paths from win32-install-dir for -win32.zip release archive, instead of paths directly from source tree.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 08 Aug 2007 04:48:09 +0000
parents c9da1580687c
children 3159f259bbe4
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
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
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
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.
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
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}
18887
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
27 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/protocols/48/myspace.png \
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/
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
29 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/protocols/22/myspace.png \
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/
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
31 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/protocols/16/myspace.png \
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
1148aa2a377d Use paths from win32-install-dir for -win32.zip release archive, instead of
Jeffrey Connelly <jaconnel@calpoly.edu>
parents: 18886
diff changeset
34 cp ~/pidgin/win32-install-dir/pixmaps/pidgin/emotes/default/theme \
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
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
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
17890
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*