Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c107309f
Commit
c107309f
authored
Aug 10, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Added proper Conflicts: rules in debian/control. * configure.in fixes for BSD/OS.
parent
9f9e9578
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
29 deletions
+29
-29
ChangeLog
ChangeLog
+2
-0
Makefile.opts.in
Makefile.opts.in
+1
-2
configure
configure
+13
-15
configure.in
configure.in
+10
-11
debian/control
debian/control
+2
-0
plugins/dvd/Makefile
plugins/dvd/Makefile
+1
-1
No files found.
ChangeLog
View file @
c107309f
...
...
@@ -4,6 +4,8 @@
HEAD
*
Added
proper
Conflicts
:
rules
in
debian
/
control
.
*
configure
.
in
fixes
for
BSD
/
OS
.
*
Added
BSD
/
OS
libdvd
by
Steven
M
.
Schultz
<
sms
@
TO
.
GD
-
ES
.
COM
>
in
extras
/
BSDI_dvdioctl
after
he
suggested
us
to
do
so
.
License
is
GPL
.
*
./
configure
now
checks
for
an
installed
libdvd
under
BSD
/
OS
and
...
...
Makefile.opts.in
View file @
c107309f
...
...
@@ -106,8 +106,7 @@ OBJ_LIBDVDCSS = @OBJ_LIBDVDCSS@
# Other special cases
#
NEED_GETOPT
=
@NEED_GETOPT@
NEED_BSDI_LIBDVD
=
@NEED_BSDI_LIBDVD@
LOCAL_LIBDVDCSS
=
@LOCAL_LIBDVDCSS@
NEED_LIBDVDCSS
=
@NEED_LIBDVDCSS@
###############################################################################
# Configuration pre-processing
...
...
configure
View file @
c107309f
...
...
@@ -3573,10 +3573,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
#define DVD_STRUCT_IN_DVD_H 1
EOF
LINUX_DVD_STRUCT
=
1
OBJ_LIBDVDCSS
=
"
${
OBJ_LIBDVDCSS
}
bsdi_dvdioctl.o"
LIB_LIBDVDCSS
=
"
${
LIB_LIBDVDCSS
}
-ldvd"
CFLAGS_LIBDVDCSS
=
"
${
CFLAGS_LIBDVDCSS
}
-I../BSDI_ioctl"
LINUX_DVD_STRUCT
=
1
else
rm
-rf
conftest
*
...
...
@@ -3585,17 +3583,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:358
9
: checking for
$ac_hdr
"
>
&5
echo
"configure:358
7
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 359
4
"configure"
#line 359
2
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:359
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:359
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3617,6 +3615,8 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
EOF
NEED_BSDI_LIBDVD
=
1
OBJ_LIBDVDCSS
=
"
${
OBJ_LIBDVDCSS
}
bsdi_dvdioctl.o"
CFLAGS_LIBDVDCSS
=
"
${
CFLAGS_LIBDVDCSS
}
-I../BSDI_ioctl"
LINUX_DVD_STRUCT
=
1
else
...
...
@@ -3880,7 +3880,7 @@ fi
LIB
=
"
${
LIB
}
${
THREAD_LIB
}
"
LOCAL
_LIBDVDCSS
=
0
NEED
_LIBDVDCSS
=
0
STATIC_LIBDVDCSS
=
0
DUMMY_LIBDVDCSS
=
0
# Check whether --with-dvdcss or --without-dvdcss was given.
...
...
@@ -3891,7 +3891,7 @@ if test "${with_dvdcss+set}" = set; then
# local libdvdcss, statically linked
if
test
x
${
CAN_BUILD_LIBDVDCSS
}
=
x1
then
LOCAL
_LIBDVDCSS
=
1
NEED
_LIBDVDCSS
=
1
STATIC_LIBDVDCSS
=
1
BUILTINS
=
"
${
BUILTINS
}
dvd"
CFLAGS_DVD
=
"
${
CFLAGS_DVD
}
-I../../extras/libdvdcss"
...
...
@@ -3903,7 +3903,7 @@ if test "${with_dvdcss+set}" = set; then
# local libdvdcss, dynamically linked
if
test
x
${
CAN_BUILD_LIBDVDCSS
}
=
x1
then
LOCAL
_LIBDVDCSS
=
1
NEED
_LIBDVDCSS
=
1
BUILTINS
=
"
${
BUILTINS
}
dvd"
CFLAGS_DVD
=
"
${
CFLAGS_DVD
}
-I../../extras/libdvdcss"
LIB_DVD
=
"
${
LIB_DVD
}
-Llib -ldvdcss"
...
...
@@ -3936,7 +3936,7 @@ else
# if libdvdcss is in the archive, or to use the dummy replacement otherwise.
if
test
x
${
CAN_BUILD_LIBDVDCSS
}
=
x1
then
LOCAL
_LIBDVDCSS
=
1
NEED
_LIBDVDCSS
=
1
STATIC_LIBDVDCSS
=
1
BUILTINS
=
"
${
BUILTINS
}
dvd"
CFLAGS_DVD
=
"
${
CFLAGS_DVD
}
-I../../extras/libdvdcss"
...
...
@@ -4944,7 +4944,6 @@ fi
trap
''
1 2 15
...
...
@@ -5114,7 +5113,6 @@ s%@TRACE@%$TRACE%g
s%@PROFILING@%
$PROFILING
%g
s%@OPTIMS@%
$OPTIMS
%g
s%@NEED_GETOPT@%
$NEED_GETOPT
%g
s%@NEED_BSDI_LIBDVD@%
$NEED_BSDI_LIBDVD
%g
s%@MOC@%
$MOC
%g
s%@WINDRES@%
$WINDRES
%g
s%@LCFLAGS@%
$LCFLAGS
%g
...
...
@@ -5152,7 +5150,7 @@ s%@CFLAGS_SDL@%$CFLAGS_SDL%g
s%@CFLAGS_X11@%
$CFLAGS_X11
%g
s%@OBJ_DVD@%
$OBJ_DVD
%g
s%@OBJ_LIBDVDCSS@%
$OBJ_LIBDVDCSS
%g
s%@
LOCAL_LIBDVDCSS@%
$LOCAL
_LIBDVDCSS
%g
s%@
NEED_LIBDVDCSS@%
$NEED
_LIBDVDCSS
%g
CEOF
EOF
...
...
@@ -5400,8 +5398,8 @@ echo "
libdvdcss configuration
-----------------------
can be built :
${
CAN_BUILD_LIBDVDCSS
}
will be built :
${
LOCAL
_LIBDVDCSS
}
"
if
test
x
${
LOCAL
_LIBDVDCSS
}
=
x1
will be built :
${
NEED
_LIBDVDCSS
}
"
if
test
x
${
NEED
_LIBDVDCSS
}
=
x1
then
echo
"need BSDI libdvd :
${
NEED_BSDI_LIBDVD
}
"
echo
"link statically :
${
STATIC_LIBDVDCSS
}
"
...
...
configure.in
View file @
c107309f
...
...
@@ -253,16 +253,16 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
AC_EGREP_HEADER(dvd_struct,dvd.h,[
AC_DEFINE(DVD_STRUCT_IN_DVD_H, 1,
Define if <dvd.h> defines DVD_STRUCT.)
LINUX_DVD_STRUCT=1
OBJ_LIBDVDCSS="${OBJ_LIBDVDCSS} bsdi_dvdioctl.o"
LIB_LIBDVDCSS="${LIB_LIBDVDCSS} -ldvd"
CFLAGS_LIBDVDCSS="${CFLAGS_LIBDVDCSS} -I../BSDI_ioctl"
LINUX_DVD_STRUCT=1
],[
dnl
dnl BSDI: /sys/dev/scsi/scsi_ioctl.h, using our own libdvd
dnl
AC_CHECK_HEADERS(/sys/dev/scsi/scsi_ioctl.h,[
NEED_BSDI_LIBDVD=1
OBJ_LIBDVDCSS="${OBJ_LIBDVDCSS} bsdi_dvdioctl.o"
CFLAGS_LIBDVDCSS="${CFLAGS_LIBDVDCSS} -I../BSDI_ioctl"
LINUX_DVD_STRUCT=1
])
])
...
...
@@ -392,7 +392,7 @@ LIB="${LIB} ${THREAD_LIB}"
dnl
dnl DVD module: check for installed libdvdcss or local libdvdcss
dnl
LOCAL
_LIBDVDCSS=0
NEED
_LIBDVDCSS=0
STATIC_LIBDVDCSS=0
DUMMY_LIBDVDCSS=0
AC_ARG_WITH(dvdcss,
...
...
@@ -402,7 +402,7 @@ AC_ARG_WITH(dvdcss,
# local libdvdcss, statically linked
if test x${CAN_BUILD_LIBDVDCSS} = x1
then
LOCAL
_LIBDVDCSS=1
NEED
_LIBDVDCSS=1
STATIC_LIBDVDCSS=1
BUILTINS="${BUILTINS} dvd"
CFLAGS_DVD="${CFLAGS_DVD} -I../../extras/libdvdcss"
...
...
@@ -414,7 +414,7 @@ AC_ARG_WITH(dvdcss,
# local libdvdcss, dynamically linked
if test x${CAN_BUILD_LIBDVDCSS} = x1
then
LOCAL
_LIBDVDCSS=1
NEED
_LIBDVDCSS=1
BUILTINS="${BUILTINS} dvd"
CFLAGS_DVD="${CFLAGS_DVD} -I../../extras/libdvdcss"
LIB_DVD="${LIB_DVD} -Llib -ldvdcss"
...
...
@@ -446,7 +446,7 @@ AC_ARG_WITH(dvdcss,
# if libdvdcss is in the archive, or to use the dummy replacement otherwise.
[ if test x${CAN_BUILD_LIBDVDCSS} = x1
then
LOCAL
_LIBDVDCSS=1
NEED
_LIBDVDCSS=1
STATIC_LIBDVDCSS=1
BUILTINS="${BUILTINS} dvd"
CFLAGS_DVD="${CFLAGS_DVD} -I../../extras/libdvdcss"
...
...
@@ -849,7 +849,6 @@ AC_SUBST(TRACE)
AC_SUBST(PROFILING)
AC_SUBST(OPTIMS)
AC_SUBST(NEED_GETOPT)
AC_SUBST(NEED_BSDI_LIBDVD)
AC_SUBST(MOC)
AC_SUBST(WINDRES)
...
...
@@ -892,7 +891,7 @@ AC_SUBST(CFLAGS_X11)
AC_SUBST(OBJ_DVD)
AC_SUBST(OBJ_LIBDVDCSS)
AC_SUBST(
LOCAL
_LIBDVDCSS)
AC_SUBST(
NEED
_LIBDVDCSS)
AC_OUTPUT([Makefile.opts include/config.h])
...
...
@@ -923,8 +922,8 @@ echo "
libdvdcss configuration
-----------------------
can be built : ${CAN_BUILD_LIBDVDCSS}
will be built : ${
LOCAL
_LIBDVDCSS}"
if test x${
LOCAL
_LIBDVDCSS} = x1
will be built : ${
NEED
_LIBDVDCSS}"
if test x${
NEED
_LIBDVDCSS} = x1
then
echo "need BSDI libdvd : ${NEED_BSDI_LIBDVD}"
echo "link statically : ${STATIC_LIBDVDCSS}"
...
...
debian/control
View file @
c107309f
...
...
@@ -18,6 +18,7 @@ Description: a free MPEG and DVD player
Package: libdvdcss0.0.3
Architecture: any
Depends: ${shlibs:Depends}
Conflicts: libdvdcss0.0.2
Description: a portable abstraction library for DVD decryption
libdvdcss is a portable abstraction library for DVD decryption, it
provides a simple API to access a DVD device as a block device.
...
...
@@ -27,6 +28,7 @@ Description: a portable abstraction library for DVD decryption
Package: libdvdcss0.0.3-dev
Architecture: any
Depends: libdvdcss0.0.3 (= ${Source-Version}), libc6-dev
Conflicts: libdvdcss0.0.2-dev
Description: development files for libdvdcss0
libdvdcss is a portable abstraction library for DVD decryption, it
provides a simple API to access a DVD device as a block device.
...
...
plugins/dvd/Makefile
View file @
c107309f
...
...
@@ -30,7 +30,7 @@ $(BUILTIN_DVD): BUILTIN_%.o: %.c
# Real targets
#
ifeq
(1,$(
LOCAL
_LIBDVDCSS))
ifeq
(1,$(
NEED
_LIBDVDCSS))
../dvd.so
:
libdvdcss $(PLUGIN_DVD)
$(CC)
$(PCFLAGS)
-o
$@
$(PLUGIN_DVD)
$(PLCFLAGS)
$(LIB_DVD_PLUGIN)
...
...
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