fixing build errors in python-libburn. import still fails.

This commit is contained in:
Aren Olson 2009-06-09 15:34:41 +00:00
parent 63dc525ec7
commit b8ec7cb960
2 changed files with 12 additions and 12 deletions

View File

@ -376,7 +376,7 @@ static int _wrap_PyBurnBurn_drive_info__set_read_dvdram(PyBurnBurn_drive_info *s
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->read_dvdram)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->read_dvdram)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -401,7 +401,7 @@ static int _wrap_PyBurnBurn_drive_info__set_read_dvdr(PyBurnBurn_drive_info *sel
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->read_dvdr)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->read_dvdr)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -426,7 +426,7 @@ static int _wrap_PyBurnBurn_drive_info__set_read_dvdrom(PyBurnBurn_drive_info *s
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->read_dvdrom)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->read_dvdrom)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -451,7 +451,7 @@ static int _wrap_PyBurnBurn_drive_info__set_read_cdr(PyBurnBurn_drive_info *self
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->read_cdr)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->read_cdr)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -476,7 +476,7 @@ static int _wrap_PyBurnBurn_drive_info__set_read_cdrw(PyBurnBurn_drive_info *sel
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->read_cdrw)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->read_cdrw)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -501,7 +501,7 @@ static int _wrap_PyBurnBurn_drive_info__set_write_dvdram(PyBurnBurn_drive_info *
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->write_dvdram)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->write_dvdram)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -526,7 +526,7 @@ static int _wrap_PyBurnBurn_drive_info__set_write_dvdr(PyBurnBurn_drive_info *se
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->write_dvdr)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->write_dvdr)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -551,7 +551,7 @@ static int _wrap_PyBurnBurn_drive_info__set_write_cdr(PyBurnBurn_drive_info *sel
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->write_cdr)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->write_cdr)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -576,7 +576,7 @@ static int _wrap_PyBurnBurn_drive_info__set_write_cdrw(PyBurnBurn_drive_info *se
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->write_cdrw)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->write_cdrw)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -601,7 +601,7 @@ static int _wrap_PyBurnBurn_drive_info__set_write_simulate(PyBurnBurn_drive_info
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->write_simulate)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->write_simulate)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);
@ -626,7 +626,7 @@ static int _wrap_PyBurnBurn_drive_info__set_c2_errors(PyBurnBurn_drive_info *sel
__py_gil_state = (PyEval_ThreadsInitialized() ? PyGILState_Ensure() : (PyGILState_STATE) 0);
py_retval = Py_BuildValue((char *) "(O)", value);
if (!PyArg_ParseTuple(py_retval, (char *) "I", &self->obj->c2_errors)) {
if (!PyArg_ParseTuple(py_retval, (char *) "I", self->obj->c2_errors)) {
Py_DECREF(py_retval);
if (PyEval_ThreadsInitialized())
PyGILState_Release(__py_gil_state);

View File

@ -7,7 +7,7 @@ setup(name = "python-libburn",
description = "Python bindings to libburn",
ext_modules = [Extension("pyburn",
["pyburn.cpp"],
libraries=['libburn'],
libraries=[':libburn.so'],
include_dirs=['/usr/include/libburn'], # FIXME: make this more
# portable
)]