changeset 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 644144f1a5c2
children 1148aa2a377d
files libpurple/protocols/myspace/README libpurple/protocols/myspace/release.sh
diffstat 2 files changed, 28 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/README	Tue Aug 07 04:48:16 2007 +0000
+++ b/libpurple/protocols/myspace/README	Wed Aug 08 04:09:17 2007 +0000
@@ -1,4 +1,4 @@
-MySpaceIM Protocol Plugin      by Jeff Connelly 20070414
+MySpaceIM Protocol Plugin      by Jeff Connelly 20070807
 
 
 Greetings. This package contains a plugin for libpurple (as used in
@@ -10,6 +10,9 @@
 
 For features and TODO, see http://developer.pidgin.im/wiki/MySpaceIM
 
+Windows installation: Unzip the archive to C:\Program Files\Pidgin
+Unix/source installation: run "make install"
+
 Usage:
 
 Login using your _email address_ you use to login to myspace.com. You can't
@@ -21,7 +24,7 @@
 you desire. Replies will always be shown as coming from a user's username, 
 even if you IM by email or userid.
 
-Feedback welcome.
+Feedback welcome. You can IM my test account at "msimprpl" if you feel like it.
 
 Enjoy,
 -Jeff Connelly
--- a/libpurple/protocols/myspace/release.sh	Tue Aug 07 04:48:16 2007 +0000
+++ b/libpurple/protocols/myspace/release.sh	Wed Aug 08 04:09:17 2007 +0000
@@ -4,7 +4,7 @@
 
 # Package a new msimprpl for release. Must be run with bash.
 
-VERSION=0.13
+VERSION=0.14
 make
 # Include 'myspace' directory in archive, so it can easily be unextracted
 # into ~/pidgin/libpurple/protocols at the correct location.
@@ -19,6 +19,26 @@
 make -f Makefile.mingw
 mv ~/pidgin/config.h- ~/pidgin/config.h
 cp ~/pidgin/win32-install-dir/plugins/libmyspace.dll .
-# Zip is more common with Win32 users. Just include a few files in this archive.
-zip ../msimprpl-$VERSION-win32.zip libmyspace.dll README LICENSE CHANGES
+# Zip is more common with Win32 users. Just include a few files in this archive,
+# but (importantly) preserve the install directory structure!
+mkdir -p win32-archive/plugins
+cp libmyspace.dll win32-archive/plugins
+mkdir -p win32-archive/pixmaps/pidgin/protocols/{48,22,16}
+cp ~/pidgin/pidgin/pixmaps/protocols/48/myspace.png \
+        win32-archive/pixmaps/pidgin/protocols/48/
+cp ~/pidgin/pidgin/pixmaps/protocols/22/myspace.png \
+        win32-archive/pixmaps/pidgin/protocols/22/
+cp ~/pidgin/pidgin/pixmaps/protocols/16/myspace.png \
+        win32-archive/pixmaps/pidgin/protocols/16/
+mkdir -p win32-archive/pixmaps/emotes/default
+cp ~/pidgin/pidgin/pixmaps/emotes/default/22/theme \
+        win32-archive/pixmaps/emotes/default/theme
+        # Use DOS line endings and .txt file extension for convenience
+u2d < README > win32-archive/msimprpl-README.txt
+u2d < LICENSE > win32-archive/msimprpl-LICENSE.txt
+u2d < CHANGES > win32-archive/msimprpl-CHANGES.txt
+cd win32-archive
+zip -r ../../msimprpl-$VERSION-win32.zip *
+cd ..
+rm -rf win32-archive
 ls -l ../msimprpl-$VERSION*