Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
b6b695f1
Commit
b6b695f1
authored
May 21, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove internal Python build support
parent
c5e0f9db
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
75 deletions
+21
-75
Makefile.am
Makefile.am
+0
-4
bindings/python/Makefile.am
bindings/python/Makefile.am
+0
-25
bindings/python/setup.py
bindings/python/setup.py
+3
-17
configure.ac
configure.ac
+18
-29
No files found.
Makefile.am
View file @
b6b695f1
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
# - libs/* are needed by modules
# - libs/* are needed by modules
BASE_SUBDIRS
=
po src modules share doc
test
BASE_SUBDIRS
=
po src modules share doc
test
EXTRA_SUBDIRS
=
m4 extras/package/ipkg
\
EXTRA_SUBDIRS
=
m4 extras/package/ipkg
\
bindings/python
\
libs/loader libs/srtp
\
libs/loader libs/srtp
\
projects/mozilla projects/activex
projects/mozilla projects/activex
DIST_SUBDIRS
=
$(BASE_SUBDIRS)
$(EXTRA_SUBDIRS)
DIST_SUBDIRS
=
$(BASE_SUBDIRS)
$(EXTRA_SUBDIRS)
...
@@ -28,9 +27,6 @@ endif
...
@@ -28,9 +27,6 @@ endif
if
BUILD_ACTIVEX
if
BUILD_ACTIVEX
SUBDIRS
+=
projects/activex
SUBDIRS
+=
projects/activex
endif
endif
if
BUILD_PYTHON
SUBDIRS
+=
bindings/python
endif
EXTRA_DIST
=
\
EXTRA_DIST
=
\
HACKING
\
HACKING
\
...
...
bindings/python/Makefile.am
deleted
100644 → 0
View file @
c5e0f9db
##############################################################################
# Building the Python binding
###############################################################################
EXTRA_DIST
=
vlcglue.h setup.py vlcwrapper.py vlcwidget.py
\
vlc_module.c
\
vlc_media.c vlc_position.c
\
vlc_instance.c vlc_mediaplayer.c
if
BUILD_PYTHON
all
:
if
HAVE_WIN32
COMPILERARG
=
--compiler
=
mingw32
else
COMPILERARG
=
endif
srcdir
=
"
`
cd
$(srcdir)
;
pwd
`
"
top_builddir
=
"
$(abs_top_builddir)
"
python
"
$(srcdir)
/setup.py"
build
$(COMPILERARG)
install
:
top_builddir
=
"
$(abs_top_builddir)
"
srcdir
=
"
`
cd
$(srcdir)
;
pwd
`
"
python
$(srcdir)
/setup.py
install
clean
:
$(RM)
-rf
build
endif
bindings/python/setup.py
View file @
b6b695f1
...
@@ -2,16 +2,8 @@ from distutils.core import setup, Extension
...
@@ -2,16 +2,8 @@ from distutils.core import setup, Extension
import
os
import
os
# Get build variables (buildir, srcdir)
# Get build variables (buildir, srcdir)
try
:
top_builddir
=
os
.
path
.
join
(
'..'
,
'..'
)
top_builddir
=
os
.
environ
[
'top_builddir'
]
os
.
environ
[
'top_builddir'
]
=
top_builddir
except
KeyError
:
# Note: do not initialize here, so that we get
# a correct default value if the env. var is
# defined but empty
top_builddir
=
None
if
not
top_builddir
:
top_builddir
=
os
.
path
.
join
(
'..'
,
'..'
)
os
.
environ
[
'top_builddir'
]
=
top_builddir
# Determine the extra link args. Normally, vlc-config should take care
# Determine the extra link args. Normally, vlc-config should take care
# of this and return the right path values, from a development tree or
# of this and return the right path values, from a development tree or
...
@@ -30,13 +22,7 @@ else:
...
@@ -30,13 +22,7 @@ else:
linkargs
=
[
'-L'
+
d
]
linkargs
=
[
'-L'
+
d
]
# For out-of-tree compilations
# For out-of-tree compilations
try
:
srcdir
=
'.'
srcdir
=
os
.
environ
[
'srcdir'
]
except
KeyError
:
# Note: same as above
srcdir
=
None
if
not
srcdir
:
srcdir
=
'.'
def
get_vlcconfig
():
def
get_vlcconfig
():
vlcconfig
=
None
vlcconfig
=
None
...
...
configure.ac
View file @
b6b695f1
...
@@ -29,6 +29,24 @@ AS_IF([test "x${enable_maintainer_mode}" != "xno"],
...
@@ -29,6 +29,24 @@ AS_IF([test "x${enable_maintainer_mode}" != "xno"],
[enable_maintainer_mode="yes"])
[enable_maintainer_mode="yes"])
AM_MAINTAINER_MODE
AM_MAINTAINER_MODE
dnl
dnl Deprecated options
dnl to notify packagers that stuff has changed
dnl
AC_ARG_ENABLE(python-bindings,
[ --enable-python-bindings Always fails for historical reasons)],,
[enable_python_bindings="no"])
AS_IF([test "${enable_python_bindings}" != "no"], [
AC_MSG_ERROR([Python bindings are now built from a separate source package])
])
AC_ARG_ENABLE(java-bindings,
[ --enable-java-bindings Always fails for historical reasons],,
[enable_java_bindings="no"])
AS_IF([test "${enable_java_bindings}" != "no"], [
AC_MSG_ERROR([Java bindings are now built from a separate source package])
])
dnl
dnl
dnl Save *FLAGS
dnl Save *FLAGS
dnl
dnl
...
@@ -6145,34 +6163,6 @@ AC_CHECK_LIB(Xsp, XSPSetPixelDoubling,[
...
@@ -6145,34 +6163,6 @@ AC_CHECK_LIB(Xsp, XSPSetPixelDoubling,[
VLC_ADD_LIBS([x11 xvideo xvmc glx],[-lXsp])
VLC_ADD_LIBS([x11 xvideo xvmc glx],[-lXsp])
])
])
dnl
dnl Mediacontrol Python bindings
dnl
AC_ARG_ENABLE(python-bindings,
[ --enable-python-bindings Enable Python bindings (default disabled)])
if test "${enable_python_bindings}" = "yes"; then
AC_PATH_PROG(PYTHON_CONFIG, python-config, no)
CFLAGS="${CFLAGS_save} `${PYTHON_CONFIG} --cflags`"
AC_CHECK_HEADER([Python.h],
PLUGINS_BINDINGS="${PLUGINS_BINDINGS} python",
AC_MSG_ERROR([You have to install python-dev to build the bindings]),
[]
)
CFLAGS="${CFLAGS_save}"
fi
AM_CONDITIONAL(BUILD_PYTHON, [test "${enable_python_bindings}" = "yes"])
dnl
dnl Java bindings
dnl
AC_ARG_ENABLE(java-bindings,
[ --enable-java-bindings Always fail for historical reasons],,
[enable_java_bindings="no"])
AS_IF([test "${enable_java_bindings}" != "no"], [
AC_MSG_ERROR([Java bindings are now built from a separate source package])
])
dnl
dnl
dnl test plugins
dnl test plugins
dnl
dnl
...
@@ -6248,7 +6238,6 @@ then
...
@@ -6248,7 +6238,6 @@ then
VLC_ADD_LDFLAGS([qte_main],[${LDFLAGS_qte} ${LDFLAGS_qt_video}])
VLC_ADD_LDFLAGS([qte_main],[${LDFLAGS_qte} ${LDFLAGS_qt_video}])
fi
fi
dnl
dnl
dnl Plugin and builtin checks
dnl Plugin and builtin checks
dnl
dnl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment