Comments (6)
Right now, the pkg-config filenames are broken by design. I guess Mozilla
thinks it's funny when random packages look for 6 different pkgconfig package
names to find NPAPI headers, and I don't think adding 7th there is really a
good solution. I'd go with using 'mozilla-plugin' which seems to be the most
widespread one.
Original comment by [email protected]
on 30 Aug 2011 at 4:23
from npapi-sdk.
My implementation:
- https://github.com/mgorny/npapi-sdk/commit/66c583ee27
Though it will still need a few more commits to make any real-life plugin
buildable with it.
Original comment by [email protected]
on 30 Aug 2011 at 5:04
from npapi-sdk.
Gentoo contributor - I'm really happy that you're interested in helping here
(thanks for the patch), but please keep it professional. No need for the snarky
comments. We're also just trying to help and perhaps not responsible for what
you think we are anyway.
I'd be happy to take a patch for this, let me know when it is done and ask
Wolfgang (the reporter of this bug) for review?
Original comment by [email protected]
on 1 Sep 2011 at 4:34
from npapi-sdk.
Ok, after some discussion I've recreated the patch to use a clean, new
npapi-sdk.pc file for it. This patch relies on my other autotools patch but the
file can be rebased easily if you're really against having a buildsystem. But
please remember to replace @VERSION@ with the actual NPAPI version (0.27) as
some upstreams really want to be able to check for the version.
If the patch gets a clean-go, I could start requesting plugin upstreams to use
that pkg-config file instead/next-to the random stuff they do now.
Original comment by [email protected]
on 4 Sep 2011 at 10:09
Attachments:
from npapi-sdk.
What Wolfgang created is
https://build.opensuse.org/package/view_file?project=mozilla%3AFactory&package=n
papi-sdk&file=npapi-sdk.pc.in. It's basically the same, and in any case I don't
think Wolfgang or anybody else really cares about the details. The only think
we need is you to provide ANY pkg-config file so plugin creators can start
searching for it.
+1 to commit Gentoo's patch.
Original comment by [email protected]
on 27 Sep 2011 at 2:48
from npapi-sdk.
I don't want to argue about buildsystem or not but I'd like a de-facto standard
with pkg-config file naming. The contents like the includedir can still be
modified from downstream maintainers but the consuming packages should only
have to care about one pkg-config file name. So review+ for the npapi-sdk.pc
name and content. If it's preprocessed or not is another issue.
Original comment by [email protected]
on 27 Sep 2011 at 3:02
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 simple autotools buildsystem HOT 9
- 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.