Copyright (C) 1995-2011 Opera Software AS. All rights reserved.
This file is part of the Opera web browser. It may not be distributed
under any circumstances.
The ns4plugins module implements support for loading Mozilla plugins in the browser and scripting of plugin objects from Javascript.
Opera uses NPAPI plugins and include NPAPI header files on certain platforms. As noted in opera:about for those builds, the modified MPL 1.1 Licensed NPAPI header files needed to build Opera are made available on Opera's sourcecode server. The files are currently npapi.h, npfunctions.h and nptypes.h. The licensed files are modified by changing and running the patch.sh script. Whenever committing changes of the MPL licensed header files to git, the corresponding files on the sourcecode server should be updated as well. Updating files requires ssh access to the server (contact sysadmin), alternatively contact the ns4plugins module owner, see module.about.
The NPAPI git repository on the sourcecode server is located in
It was created with the following commands on the server:
The local repository containing the modified files were then pushed to the server with the following commands:
Is found here.