libpurple/protocols/myspace/release.sh

Sun, 01 Jul 2007 23:33:27 +0000

author
Jeff Connelly <jeff2@soc.pidgin.im>
date
Sun, 01 Jul 2007 23:33:27 +0000
branch
soc.2007.msimprpl
changeset 18006
a63c60e26d12
parent 18004
65007eda1656
child 18008
7f787f93dc0d
permissions
-rw-r--r--

In msim_tooltip_text, do not try to display items with no value. In Linux,
"%s" on a null pointer is formatted as "(null)", but on Windows this leads to
a crash.

Closes #1999.

#!/bin/bash
# Created:20070618
# By Jeff Connelly

# Package a new msimprpl for release. Must be run with bash.

VERSION=0.8
make
cd ..
# Include 'myspace' directory in archive, so it can easily be unextracted
# into ~/pidgin/libpurple/protocols at the correct location.
# (if this command fails, run it manually).
# This convenient command requires bash.
tar -cf msimprpl-$VERSION.tar myspace/{CHANGES,ChangeLog,LICENSE,Makefile*,*.c,*.h,README,release.sh,.deps/*}
cd myspace
gzip ../msimprpl-$VERSION.tar

mv ~/pidgin/config.h ~/pidgin/config.h-
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
ls -l ../msimprpl-$VERSION*

mercurial