# [Colony Gateway (NPAPI Plugin)](http://getcolony.com)
NPAPI-based plugin that provides a series of native features like:
* Printing using direct access to the printing infra-structure of the operative system
* Creation of native-based GUI elements
The current implementation supports only x86/x64 architectures and Windows, Linux, and Mac OS X.
## Building
To build both the CRX (Google Chrome) and the XPI (Mozilla Firefox) files for the plugin
one should use the scripts created for such effect under the [scripts](scripts) directory. The
automated process assumes the Windows build process using the Visual Studio IDE.
### Windows
Use Visual Studio 2008 Express for compilation with no additional dependencies. The build process should
create the plugin files in the output.
### Mac OS X
Download the [Gecko SDK 1.9 32 bit](https://developer.mozilla.org/en-US/docs/Gecko_SDK) from the official
website.
Use the `/Library/Internet Plug-Ins/` directory to test the plugin while the proper extension package file
is not created. Remember to rename the `*.bundle` package into an `*.plugin` based package.
### Linux
Use the `/usr/lib/mozilla/plugins/` directory to test the `*.so` based plugin file for development purposes.
[Mozilla Firefox](http://www.mozilla.org) should be the primary browser for the debugging of the NPAPI-based plugin.
### Python
It's also possible to build a Python module that exports the functionality in the NPAPI Plugin for
running the python script as `python setup.py install` under an UNIX-based machine.
## Packaging
### Google Chrome
Create a package file containing references to the complete set of plugin files for the various
platforms as defined in the `src/colony_npapi/descriptors/manifest_u.json` file.
```javascript
"plugins" : [{
"path" : "npcolony.dll",
"public" : true
}, {
"path" : "libnpcolony.so",
"public" : true
}, {
"path" : "npcolony.plugin",
"public" : true
}]
```
Copy the proper files (`npcolony.dll`, `libnpcolony.so` and `npcolony.plugin`) into the proper release directory
and then run the `make_all build` script to create the target files (eg: cbx and xpi).
```bash
make_all build <dir>
```
## Examples
There's an [examples directory](examples) containing HTML samples to test the plugin.
## License
Colony Gateway is currently licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/).
## Build Automation
[![Build Status](https://app.travis-ci.com/hivesolutions/colony-npapi.svg?branch=master)](https://travis-ci.com/github/hivesolutions/colony-npapi)
[![Build Status GitHub](https://github.com/hivesolutions/colony-npapi/workflows/Main%20Workflow/badge.svg)](https://github.com/hivesolutions/colony-npapi/actions)
[![Coverage Status](https://coveralls.io/repos/hivesolutions/colony-npapi/badge.svg?branch=master)](https://coveralls.io/r/hivesolutions/colony-npapi?branch=master)
[![PyPi Status](https://img.shields.io/pypi/v/npcolony.svg)](https://pypi.python.org/pypi/npcolony)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)
Raw data
{
"_id": null,
"home_page": "http://colony_npapi.hive.pt",
"name": "npcolony",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "colony npapi native",
"author": "Hive Solutions Lda.",
"author_email": "development@hive.pt",
"download_url": "https://files.pythonhosted.org/packages/59/37/4471ad67bb0fbf9bf3c9a03381c207749697186a06761f845c5d8ab945b3/npcolony-1.2.6.tar.gz",
"platform": null,
"description": "# [Colony Gateway (NPAPI Plugin)](http://getcolony.com)\n\nNPAPI-based plugin that provides a series of native features like:\n\n* Printing using direct access to the printing infra-structure of the operative system\n* Creation of native-based GUI elements\n\nThe current implementation supports only x86/x64 architectures and Windows, Linux, and Mac OS X.\n\n## Building\n\nTo build both the CRX (Google Chrome) and the XPI (Mozilla Firefox) files for the plugin\none should use the scripts created for such effect under the [scripts](scripts) directory. The\nautomated process assumes the Windows build process using the Visual Studio IDE.\n\n### Windows\n\nUse Visual Studio 2008 Express for compilation with no additional dependencies. The build process should\ncreate the plugin files in the output.\n\n### Mac OS X\n\nDownload the [Gecko SDK 1.9 32 bit](https://developer.mozilla.org/en-US/docs/Gecko_SDK) from the official\nwebsite.\n\nUse the `/Library/Internet Plug-Ins/` directory to test the plugin while the proper extension package file\nis not created. Remember to rename the `*.bundle` package into an `*.plugin` based package.\n\n### Linux\n\nUse the `/usr/lib/mozilla/plugins/` directory to test the `*.so` based plugin file for development purposes.\n[Mozilla Firefox](http://www.mozilla.org) should be the primary browser for the debugging of the NPAPI-based plugin.\n\n### Python\n\nIt's also possible to build a Python module that exports the functionality in the NPAPI Plugin for\nrunning the python script as `python setup.py install` under an UNIX-based machine.\n\n## Packaging\n\n### Google Chrome\n\nCreate a package file containing references to the complete set of plugin files for the various\nplatforms as defined in the `src/colony_npapi/descriptors/manifest_u.json` file.\n\n```javascript\n\"plugins\" : [{\n \"path\" : \"npcolony.dll\",\n \"public\" : true\n}, {\n \"path\" : \"libnpcolony.so\",\n \"public\" : true\n}, {\n \"path\" : \"npcolony.plugin\",\n \"public\" : true\n}]\n```\n\nCopy the proper files (`npcolony.dll`, `libnpcolony.so` and `npcolony.plugin`) into the proper release directory\nand then run the `make_all build` script to create the target files (eg: cbx and xpi).\n\n```bash\nmake_all build <dir>\n```\n\n## Examples\n\nThere's an [examples directory](examples) containing HTML samples to test the plugin.\n\n## License\n\nColony Gateway is currently licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/).\n\n## Build Automation\n\n[![Build Status](https://app.travis-ci.com/hivesolutions/colony-npapi.svg?branch=master)](https://travis-ci.com/github/hivesolutions/colony-npapi)\n[![Build Status GitHub](https://github.com/hivesolutions/colony-npapi/workflows/Main%20Workflow/badge.svg)](https://github.com/hivesolutions/colony-npapi/actions)\n[![Coverage Status](https://coveralls.io/repos/hivesolutions/colony-npapi/badge.svg?branch=master)](https://coveralls.io/r/hivesolutions/colony-npapi?branch=master)\n[![PyPi Status](https://img.shields.io/pypi/v/npcolony.svg)](https://pypi.python.org/pypi/npcolony)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "Colony Framework",
"version": "1.2.6",
"project_urls": {
"Homepage": "http://colony_npapi.hive.pt"
},
"split_keywords": [
"colony",
"npapi",
"native"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "59374471ad67bb0fbf9bf3c9a03381c207749697186a06761f845c5d8ab945b3",
"md5": "628b19b072af277d1cfdfa998945deb5",
"sha256": "7945861333407e0afd2015354b58fe1969f43e162ab0c658c0b1cebf439d7702"
},
"downloads": -1,
"filename": "npcolony-1.2.6.tar.gz",
"has_sig": false,
"md5_digest": "628b19b072af277d1cfdfa998945deb5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 45966,
"upload_time": "2024-05-29T22:24:20",
"upload_time_iso_8601": "2024-05-29T22:24:20.342647Z",
"url": "https://files.pythonhosted.org/packages/59/37/4471ad67bb0fbf9bf3c9a03381c207749697186a06761f845c5d8ab945b3/npcolony-1.2.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-29 22:24:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "npcolony"
}