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
9f750249
Commit
9f750249
authored
Apr 18, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fix UNIX X11 build for plugin
- give myself some credit - removed unnecessary PLUGIN_TO_HOST_GLUE macro
parent
7ea1d7c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
6 deletions
+29
-6
configure.ac
configure.ac
+5
-2
mozilla/support/npunix.c
mozilla/support/npunix.c
+1
-4
mozilla/vlcruntime.cpp
mozilla/vlcruntime.cpp
+23
-0
No files found.
configure.ac
View file @
9f750249
...
@@ -5009,10 +5009,13 @@ then
...
@@ -5009,10 +5009,13 @@ then
then
then
AC_MSG_ERROR([Please install the Mozilla development tools, mozilla-config was not found.])
AC_MSG_ERROR([Please install the Mozilla development tools, mozilla-config was not found.])
else
else
if
test "${SYS}" != "mingw32"
; then
if
${MOZILLA_CONFIG} --defines | grep -q 'MOZ_X11=1'
; then
LDFLAGS="${LDFLAGS_save} ${X_LIBS} ${X_PRE_LIBS}"
LDFLAGS="${LDFLAGS_save} ${X_LIBS} ${X_PRE_LIBS}"
AC_CHECK_LIB(Xt,XtStrings,
AC_CHECK_LIB(Xt,XtStrings,
[VLC_ADD_LDFLAGS([mozilla],[${X_LIBS} ${X_PRE_LIBS} -lXt -lX11 -lSM -lICE])],
[
VLC_ADD_CPPFLAGS([mozilla],[${X_CFLAGS}])
VLC_ADD_LDFLAGS([mozilla],[${X_LIBS} ${X_PRE_LIBS} -lXt -lX11 -lSM -lICE])
],
[],
[],
[[${X_LIBS} ${X_PRE_LIBS} -lX11 -lSM -lICE]
[[${X_LIBS} ${X_PRE_LIBS} -lX11 -lSM -lICE]
])
])
...
...
mozilla/support/npunix.c
View file @
9f750249
...
@@ -58,9 +58,6 @@
...
@@ -58,9 +58,6 @@
#define PLUGINDEBUGSTR(msg)
#define PLUGINDEBUGSTR(msg)
#endif
#endif
#define PLUGIN_TO_HOST_GLUE(name, fp) (fp)
#define HOST_TO_PLUGIN_GLUE(name, fp) (fp)
/***********************************************************************
/***********************************************************************
*
*
* Globals
* Globals
...
@@ -702,7 +699,7 @@ NP_Initialize(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs)
...
@@ -702,7 +699,7 @@ NP_Initialize(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs)
pluginFuncs
->
getvalue
=
NewNPP_GetValueProc
(
Private_GetValue
);
pluginFuncs
->
getvalue
=
NewNPP_GetValueProc
(
Private_GetValue
);
if
(
navMinorVers
>=
NPVERS_HAS_NOTIFICATION
)
if
(
navMinorVers
>=
NPVERS_HAS_NOTIFICATION
)
{
{
pluginFuncs
->
urlnotify
=
NewNPP_URLNotifyProc
(
P
LUGIN_TO_HOST_GLUE
(
urlnotify
,
Private_URLNotify
)
);
pluginFuncs
->
urlnotify
=
NewNPP_URLNotifyProc
(
P
rivate_URLNotify
);
}
}
#ifdef OJI
#ifdef OJI
if
(
navMinorVers
>=
NPVERS_HAS_LIVECONNECT
)
if
(
navMinorVers
>=
NPVERS_HAS_LIVECONNECT
)
...
...
mozilla/vlcruntime.cpp
View file @
9f750249
/*****************************************************************************
* vlcruntime.cpp: support for NPRuntime API for Netscape Script-able plugins
* FYI: http://www.mozilla.org/projects/plugins/npruntime.html
*****************************************************************************
* Copyright (C) 2005 the VideoLAN team
*
* Authors: Damien Fouilleul <Damien.Fouilleul@laposte.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "config.h"
#include "config.h"
#include <stdio.h>
#include <stdio.h>
...
...
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