mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 03:13:01 +01:00
Update INSTALL.md
This commit is contained in:
parent
5ed26eda9b
commit
37912f2d88
@ -20,6 +20,7 @@
|
|||||||
| [OpenAL](http://openal.org) | AUDIO, SOUND NOTIFICATIONS | libopenal-dev |
|
| [OpenAL](http://openal.org) | AUDIO, SOUND NOTIFICATIONS | libopenal-dev |
|
||||||
| [OpenALUT](http://openal.org) | SOUND NOTIFICATIONS | libalut-dev |
|
| [OpenALUT](http://openal.org) | SOUND NOTIFICATIONS | libalut-dev |
|
||||||
| [LibNotify](https://developer.gnome.org/libnotify) | DESKTOP NOTIFICATIONS | libnotify-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 |
|
| [AsciiDoc](http://asciidoc.org/index.html) | DOCUMENTATION<sup>1</sup> | asciidoc |
|
||||||
|
|
||||||
<sup>1</sup>: see [Documentation](#documentation)
|
<sup>1</sup>: see [Documentation](#documentation)
|
||||||
@ -27,7 +28,7 @@
|
|||||||
#### OS X Notes
|
#### OS X Notes
|
||||||
Using [Homebrew](http://brew.sh):
|
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 --HEAD https://raw.githubusercontent.com/Tox/homebrew-tox/master/Formula/libtoxcore.rb
|
||||||
brew install libnotify
|
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_AV=1` → build toxic without audio call support
|
||||||
* `DISABLE_SOUND_NOTIFY=1` → build toxic without sound notifications support
|
* `DISABLE_SOUND_NOTIFY=1` → build toxic without sound notifications support
|
||||||
* `DISABLE_DESKTOP_NOTIFY=1` → build toxic without desktop notifications support
|
* `DISABLE_DESKTOP_NOTIFY=1` → build toxic without desktop notifications support
|
||||||
|
* `DISABLE_PYTHON=1` → build toxic without Python scripting support
|
||||||
|
|
||||||
#### Packaging
|
#### Packaging
|
||||||
* For packaging purpose, you can use `DESTDIR=""` to specify a directory where to store installed files
|
* For packaging purpose, you can use `DESTDIR=""` to specify a directory where to store installed files
|
||||||
|
@ -266,12 +266,9 @@ void terminate_python(void)
|
|||||||
|
|
||||||
void init_python(Tox *m)
|
void init_python(Tox *m)
|
||||||
{
|
{
|
||||||
wchar_t *program = Py_DecodeLocale("toxic", NULL);
|
|
||||||
user_tox = m;
|
user_tox = m;
|
||||||
PyImport_AppendInittab("toxic_api", PyInit_toxic_api);
|
PyImport_AppendInittab("toxic_api", PyInit_toxic_api);
|
||||||
Py_SetProgramName(program);
|
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
PyMem_RawFree(program);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void run_python(FILE *fp, char *path)
|
void run_python(FILE *fp, char *path)
|
||||||
|
Loading…
Reference in New Issue
Block a user