Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
981dcc18
Commit
981dcc18
authored
Aug 04, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./configure.in, ./mozilla/Makefile: we link the Mozilla plugin with libXt.
parent
934d98e3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
9 deletions
+68
-9
configure
configure
+48
-2
configure.in
configure.in
+9
-2
include/modules_inner.h
include/modules_inner.h
+6
-5
mozilla/Makefile
mozilla/Makefile
+5
-0
No files found.
configure
View file @
981dcc18
...
@@ -5531,8 +5531,8 @@ case "x${target_cpu}" in
...
@@ -5531,8 +5531,8 @@ case "x${target_cpu}" in
;;
;;
esac
esac
BUILTINS
=
"
${
BUILTINS
}
idct idctclassic motion imdct downmix mpeg_adec ac3_adec mpeg_vdec
"
BUILTINS
=
"
${
BUILTINS
}
"
PLUGINS
=
"
${
PLUGINS
}
dummy null rc logger mpeg_es mpeg_audio mpeg_ps mpeg_ts file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga"
PLUGINS
=
"
${
PLUGINS
}
dummy null rc logger mpeg_es mpeg_audio mpeg_ps mpeg_ts
idct idctclassic motion imdct downmix mpeg_adec ac3_adec mpeg_vdec
file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga"
MMX_MODULES
=
"memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
MMX_MODULES
=
"memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
MMXEXT_MODULES
=
"memcpymmxext idctmmxext motionmmxext"
MMXEXT_MODULES
=
"memcpymmxext idctmmxext motionmmxext"
...
@@ -9159,6 +9159,52 @@ fi
...
@@ -9159,6 +9159,52 @@ fi
if
test
"x
${
MOZILLA_CONFIG
}
"
!=
"xno"
if
test
"x
${
MOZILLA_CONFIG
}
"
!=
"xno"
then
then
if
test
"x
${
SYS
}
"
!=
"xmingw32"
;
then
LDFLAGS
=
"
${
save_LDFLAGS
}
-L
${
x_libraries
}
"
echo
$ac_n
"checking for XtStrings in -lXt""...
$ac_c
"
1>&6
echo
"configure:9166: checking for XtStrings in -lXt"
>
&5
ac_lib_var
=
`
echo
Xt
'_'
XtStrings |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 9174 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XtStrings();
int main() {
XtStrings()
; return 0; }
EOF
if
{
(
eval echo
configure:9185:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
mozilla_LDFLAGS
=
"
${
mozilla_LDFLAGS
}
-L
${
x_libraries
}
-lXt"
else
echo
"
$ac_t
""no"
1>&6
fi
LDFLAGS
=
"
${
save_LDFLAGS
}
"
fi
MOZILLA
=
1
MOZILLA
=
1
mozilla_CFLAGS
=
"
${
mozilla_CFLAGS
}
`
${
MOZILLA_CONFIG
}
--cflags
plugin java
--defines
| xargs
`
"
mozilla_CFLAGS
=
"
${
mozilla_CFLAGS
}
`
${
MOZILLA_CONFIG
}
--cflags
plugin java
--defines
| xargs
`
"
mozilla_LDFLAGS
=
"
${
mozilla_LDFLAGS
}
`
${
MOZILLA_CONFIG
}
--libs
|
sed
's#-I\(.*\)/mozilla/\([^ ]*\)#-I\1/\2 -I\1/mozilla/\2#g'
`
"
mozilla_LDFLAGS
=
"
${
mozilla_LDFLAGS
}
`
${
MOZILLA_CONFIG
}
--libs
|
sed
's#-I\(.*\)/mozilla/\([^ ]*\)#-I\1/\2 -I\1/mozilla/\2#g'
`
"
...
...
configure.in
View file @
981dcc18
...
@@ -433,8 +433,8 @@ esac
...
@@ -433,8 +433,8 @@ esac
dnl
dnl
dnl default modules
dnl default modules
dnl
dnl
BUILTINS="${BUILTINS}
idct idctclassic motion imdct downmix mpeg_adec ac3_adec mpeg_vdec
"
BUILTINS="${BUILTINS}"
PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_audio mpeg_ps mpeg_ts file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga"
PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_audio mpeg_ps mpeg_ts
idct idctclassic motion imdct downmix mpeg_adec ac3_adec mpeg_vdec
file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga"
dnl
dnl
dnl Accelerated modules
dnl Accelerated modules
...
@@ -1780,6 +1780,13 @@ then
...
@@ -1780,6 +1780,13 @@ then
AC_PATH_PROG(MOZILLA_CONFIG, mozilla-config, no)
AC_PATH_PROG(MOZILLA_CONFIG, mozilla-config, no)
if test "x${MOZILLA_CONFIG}" != "xno"
if test "x${MOZILLA_CONFIG}" != "xno"
then
then
if test "x${SYS}" != "xmingw32"; then
LDFLAGS="${save_LDFLAGS} -L${x_libraries}"
AC_CHECK_LIB(Xt,XtStrings,[
mozilla_LDFLAGS="${mozilla_LDFLAGS} -L${x_libraries} -lXt"
])
LDFLAGS="${save_LDFLAGS}"
fi
MOZILLA=1
MOZILLA=1
mozilla_CFLAGS="${mozilla_CFLAGS} `${MOZILLA_CONFIG} --cflags plugin java --defines | xargs`"
mozilla_CFLAGS="${mozilla_CFLAGS} `${MOZILLA_CONFIG} --cflags plugin java --defines | xargs`"
dnl Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150490
dnl Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150490
...
...
include/modules_inner.h
View file @
981dcc18
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* modules_inner.h : Macros used from within a module.
* modules_inner.h : Macros used from within a module.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: modules_inner.h,v 1.2
6 2002/08/01 11:04:46 tcastley
Exp $
* $Id: modules_inner.h,v 1.2
7 2002/08/04 08:45:35 sam
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -117,7 +117,8 @@
...
@@ -117,7 +117,8 @@
#define add_submodule( ) \
#define add_submodule( ) \
p_submodule->pp_shortcuts[ i_shortcut ] = NULL; \
p_submodule->pp_shortcuts[ i_shortcut ] = NULL; \
p_submodule = (module_t *)vlc_object_create( p_module, VLC_OBJECT_MODULE );\
p_submodule = \
(module_t *)vlc_object_create( p_module, VLC_OBJECT_MODULE ); \
vlc_object_attach( p_submodule, p_module ); \
vlc_object_attach( p_submodule, p_module ); \
p_submodule->b_submodule = VLC_TRUE; \
p_submodule->b_submodule = VLC_TRUE; \
/* Nuahahaha! Heritage! Polymorphism! Ugliness!! */
\
/* Nuahahaha! Heritage! Polymorphism! Ugliness!! */
\
...
...
mozilla/Makefile
View file @
981dcc18
...
@@ -16,6 +16,8 @@ PLUGIN_OBJ = libvlcplugin.so
...
@@ -16,6 +16,8 @@ PLUGIN_OBJ = libvlcplugin.so
#
#
all
:
$(PLUGIN_OBJ)
all
:
$(PLUGIN_OBJ)
distclean
:
clean
clean
:
clean
:
rm
-f
*
.o
*
.so
rm
-f
*
.o
*
.so
rm
-Rf
.dep
rm
-Rf
.dep
...
@@ -35,3 +37,6 @@ $(PLUGIN_OBJ): Makefile ../lib/libvlc.a $(BUILTIN_OBJ:%=../%) $(C_OBJ)
...
@@ -35,3 +37,6 @@ $(PLUGIN_OBJ): Makefile ../lib/libvlc.a $(BUILTIN_OBJ:%=../%) $(C_OBJ)
$(C_OBJ)
:
%.o: %.c vlcplugin.h
$(C_OBJ)
:
%.o: %.c vlcplugin.h
$(CC)
$(CFLAGS)
-I
../include
$(mozilla_CFLAGS)
-c
$<
-o
$@
$(CC)
$(CFLAGS)
-I
../include
$(mozilla_CFLAGS)
-c
$<
-o
$@
../%
:
@
cd
..
&&
$(MAKE)
$
(
@:../%
=
%
)
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