Comments (9)
Here's a patch to add one:
- https://github.com/mgorny/npapi-sdk/commit/9b054832e.diff
It may be also a good idea to move COPYING to the main dir, as the copyright
applies to NPAPI headers as well:
- https://github.com/mgorny/npapi-sdk/commit/1e369286c01.diff
Original comment by [email protected]
on 30 Aug 2011 at 4:45
from npapi-sdk.
Don't jab at us with phrases like "If this is supposed to be a serious project"
to imply that we're not serious if we don't do what you want. It's not
appreciated. Just make your argument and we'll make a decision.
Original comment by [email protected]
on 1 Sep 2011 at 4:25
from npapi-sdk.
And FYI, this is the canonical upstream header source for at least the top
three NPAPI-supporting browsers (in addition to a number of plugins; those tend
to be closed-source so it's hard to say how many). I'm pretty sure that makes
us a "serious project" whatever your personal opinion might be.
Original comment by stuart.morgan
on 2 Sep 2011 at 9:17
from npapi-sdk.
If this is a canonical header source, it would be nice to have a
canonical/supported/common way of installing and compiling against the API.
Providing a buildsystem and pkg-config support would provide a common and easy
way for package to discover and compile against NPAPI. This would make things
much cleaner for distros.
Please consider distributing such a buildsystem with NPAPI.
Original comment by ohnobinki
on 2 Sep 2011 at 4:43
from npapi-sdk.
Here are my patches which:
1) create a simple autotools install for it (installing headers into
/usr/include/npapi-sdk),
2) move COPYING into top-level dir (so that it is clear that LICENSE applies to
all files within),
3) generate NPAPI version consts from configure.ac (it is nicer to have the
version defined on one place only, and configure.ac needs one const).
The third patch is based on sources with pkg-config file added but can be
rebased easily to work without it.
Original comment by [email protected]
on 4 Sep 2011 at 10:12
Attachments:
- 0001-Add-an-autotools-build-system.patch
- 0002-Move-COPYING-to-the-root-dir.patch
- 0004-Generate-NP_VERSION_-from-VERSION.patch
from npapi-sdk.
Requiring everyone to run configure would make this much more painful for Mac
and Windows developers (as compared to just having to check out the source and
go). I'm all for making this easy to use on Linux, but not at the expense of
other platforms.
Original comment by stuart.morgan
on 5 Sep 2011 at 5:39
from npapi-sdk.
Then please just ignore the last patch here. This will make the package fully
compatible with autoconf-less run. Windows/Mac users could just grab files from
the package/svn as they do now, and Linux users could use configure to get the
pkg-config file as well.
Original comment by [email protected]
on 5 Sep 2011 at 6:47
from npapi-sdk.
Well, ignoring the last patch shouldn't be necessary. The tarball generated by
`make dist' includes a working npapi.h, so packages should be no less usable
than before on both Windows and Mac OSX as there is no need to run ./configure.
From what I remember, Mac OSX should be able to run the ./configure shipped in
a dist tarball out of the box. If you happen to have Xcode installed, as most
people developing on a Mac OSX box would, you also get a working make which
would allow you to install npapi-sdk to a prefix. Xcode also comes with a
working `autoreconf -vfi' which works with a checked out repo. (OK, I'm
confused; how are Mac OSX developers supposed to check out npapi-sdk's repo?
Oh, apparently Xcode includes SVN so we are already assuming that the Mac OSX
developer has XCode...)
The guides I've seen for compiling things on Windows point people to using
precompiled binaries for dependent libraries and such. Using a dist tarball to
get the npapi.h wouldn't be that different...
Original comment by ohnobinki
on 5 Sep 2011 at 2:01
from npapi-sdk.
I wouldn't add any build system here. Even WebKit uses 8(!!!) build systems
http://trac.webkit.org/wiki/Unifying%20the%20build%20system
I wonder what other build systems might be used in plugins.
These sources can't be used as is in browsers. Each browser has its own copy
checked in the source control.
Of cource, adding a build system might be harmless, but it might be useless as
well.
Original comment by [email protected]
on 23 Feb 2012 at 10:28
from npapi-sdk.
Related Issues (20)
- Please add NPAPI_VERSION_REVISION to provide true API version number HOT 2
- add support for NPNVdocumentOrigin HOT 2
- Samples unix-basic BasicPlugin not working HOT 7
- NP_GetPluginVersion has incorrect const-ness HOT 1
- NP_VERSION_MINOR must be increased HOT 1
- Using npapi sdk in browser code. NP_* functions HOT 5
- Const correctness of some functions' arguments HOT 2
- [patch] Can ndata be const void *? Is it used anywhere? HOT 1
- NP_* function declarations are declared with calling convention incompatible with NP_*Func types HOT 3
- Code review request HOT 2
- add support for Asynchronous Drawing Models (Bitmap and Windows Accelerated) HOT 7
- Fix a calling convention of NPN_* function pointers HOT 11
- Patch for /trunk/samples/mac-basic/Info.plist HOT 1
- Under MinGW bool and uintptr_t are unknown type names HOT 3
- OpenGL.h include in npapi.h on mac is problematic for some users HOT 4
- Plugin compiles but plugin error when loaded
- Need a tutorial or sample code to develop NPAPI Plugin for Safari5.1 from scratch HOT 1
- add a pkgconfig template HOT 6
- rev5 breaks API compatibility for plugins HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npapi-sdk.