diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/BUILD.win32 | 23 | ||||
-rw-r--r-- | doc/example_plugin.c | 13 |
2 files changed, 36 insertions, 0 deletions
diff --git a/doc/BUILD.win32 b/doc/BUILD.win32 new file mode 100644 index 00000000..03e1b8d9 --- /dev/null +++ b/doc/BUILD.win32 @@ -0,0 +1,23 @@ +Instructions for building the Bitlbee Win32 port
+================================================
+
+1. Download the latest version using bzr (http://www.bazaar-ng.org/):
+ bzr branch http://jelmer.vernstok.nl/oss/bitlbee/bzr/win32 bitlbee-win32
+2. Download and install the required development files:
+ from ftp://ftp.gtk.org/pub/gtk/v2.8/win32/
+ - glib
+ - glib-dev
+ - libiconv
+ - gettext
+ from http://ftp.mozilla.org/pub/mozilla.org/
+ - nss
+ - nspr
+
+I've put them inside c:\dev, so you might have the most with that location.
+
+3. Open bitlbee.dsw in VC++ and build :-)
+
+4. Now you're done. When running, make sure all the required DLL's are accessible. If they can't be found, place them inside c:\winnt\system32 or the Debug or Release directories inside bitlbee-...\win32\.
+
+5. To build setup files, compile the bitlbee.iss file using the Inno Setup
+ program (available from www.jrsoftware.org).
diff --git a/doc/example_plugin.c b/doc/example_plugin.c new file mode 100644 index 00000000..38d02260 --- /dev/null +++ b/doc/example_plugin.c @@ -0,0 +1,13 @@ +/* + * This is the most simple possible BitlBee plugin. To use, compile it as + * a shared library and place it in the plugin directory: + * + * gcc -o example.so -shared example.c + * cp example.so /usr/local/lib/bitlbee + */ +#include <stdio.h> + +void init_plugin(void) +{ + printf("I am a BitlBee plugin!\n"); +} |