1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-14 05:13:02 +01:00

Update INSTALL.md

This commit is contained in:
jakob 2017-05-19 21:09:29 -04:00
parent 5ed26eda9b
commit 37912f2d88
2 changed files with 3 additions and 4 deletions

View File

@ -20,6 +20,7 @@
| [OpenAL](http://openal.org) | AUDIO, SOUND NOTIFICATIONS | libopenal-dev |
| [OpenALUT](http://openal.org) | SOUND NOTIFICATIONS | libalut-dev |
| [LibNotify](https://developer.gnome.org/libnotify) | DESKTOP NOTIFICATIONS | libnotify-dev |
| [Python 3](http://www.python.org/) | PYTHON | python3-dev |
| [AsciiDoc](http://asciidoc.org/index.html) | DOCUMENTATION<sup>1</sup> | asciidoc |
<sup>1</sup>: see [Documentation](#documentation)
@ -27,7 +28,7 @@
#### OS X Notes
Using [Homebrew](http://brew.sh):
```
brew install openal-soft freealut libconfig
brew install openal-soft freealut libconfig python3
brew install --HEAD https://raw.githubusercontent.com/Tox/homebrew-tox/master/Formula/libtoxcore.rb
brew install libnotify
```
@ -55,6 +56,7 @@ Run `make doc` in the build directory after editing the asciidoc files to regene
* `DISABLE_AV=1` → build toxic without audio call support
* `DISABLE_SOUND_NOTIFY=1` → build toxic without sound notifications support
* `DISABLE_DESKTOP_NOTIFY=1` → build toxic without desktop notifications support
* `DISABLE_PYTHON=1` → build toxic without Python scripting support
#### Packaging
* For packaging purpose, you can use `DESTDIR=""` to specify a directory where to store installed files

View File

@ -266,12 +266,9 @@ void terminate_python(void)
void init_python(Tox *m)
{
wchar_t *program = Py_DecodeLocale("toxic", NULL);
user_tox = m;
PyImport_AppendInittab("toxic_api", PyInit_toxic_api);
Py_SetProgramName(program);
Py_Initialize();
PyMem_RawFree(program);
}
void run_python(FILE *fp, char *path)