BasicMediaPlayerPluginMac an example project by firebreath - macos

I have followed the following steps:
ran prepmac.sh examples
tried to build the FireBreath.xcodeproj got a lot many errors then added two header files and SpriteKit/SpriteKit.h to the BasicMediaPlayerPluginMac.mm only then i was able to build the project on success i linked it to Library/InternetPlugins folder. On opening the html page for the media player it says plugin missing. Application of x-vnd.fbBasicMediaPlayer not found, cannot read the plugin as error. I tried adding two other frameworks namely coregraphics/coregraphics.h and cocoa/cocoa.h but the build was unsuccesfull. I'm trying to look into the plugin and how it is developed.

Start from simplest possible setup. Build FBTestPlugin, it should not require any changes to the setup. Put the plugin to /Library/Internet-Plug Ins and restart your browser before trying to load it by the html sample supplied.
Note that project files should be never modified explicitly, only through cmake files and prep-scripts.
Good luck, these plugins are not simple to develop :)

Related

Modifing Alfresco 5.0.d Add-ons

I've been trying to modify an addon to accept filtering in custom datalists.
The addon is called DatalistExtensions for Alfresco Share and can be found at https://github.com/deas/contentreich-alfresco-datalists This is supposed to be working on the version 5.*
It comes with an example. That example doesn't work at all, it gives multiple errors... I fixed the errors but it still doesn't work.
The full explanation of the behaviour can be found here:
https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/filters-custom-datalists-07052016-1320
Now the problem:
I decided to modify the add-on itself. My test was easy, I found where the filter form is created which is inside the file: contentreich-extdl.xml that is found on contentreich-alfresco-datalists-master/contentreich-extdl-share/src/main/resources/alfresco/site-data/extension/
It didn't work at all... Since it was too strange to me I decided to delete one of the built-in filters and it was still working as always which just killed my mind.
The steps I did:
Added the lines into the file.
Ran the mvn package after the change.
Copied the target files created.
What am I missing to make this changes work?
It seems that the changes I was doing were not reflected, in order to archive that you must first clean your maven target and then build the package.
mvn clean
mvn package
or even
mvn clean package
Hope this helps other people!

CKBuilder gives me too many plugins

In anticipation of making some modifications to ckeditor, I'm trying to build it from source, as described in the documentation here. I want to build a version that is, as nearly as possible, identical to the version I already have installed on my production web server, so there won't be any surprises when I deploy my modified version later. Here are the steps I've followed:
Clone the git repository
git checkout 4.3.3 (this is the version on the production server)
copy the build-config.js from the production server to ckeditor-dev/dev/builder/ (my production version came from the online builder; the config is at http://ckeditor.com/builder/059ce76c63ea2ff01636265c46f713c5)
cd dev/builder ; ./build.sh
there were complaints about missing plugins (scayt and wsc) so I downloaded them as zip files (scayt_4.3.3.zip and wsc_4.3.3.zip) and unzipped them in ckeditor-dev/plugins
tried ./build.sh again
It apparently completed successfully, but the result in release/ckeditor is not a match for the production version as I had hoped. It contains a lot of plugins that I didn't ask for, and I know they're not dependencies of plugins I did ask for because the production version works fine without them. For example, I have release/ckeditor/plugins/adobeair which is not mentioned in my build-config.js.
The main ckeditor.js file is not a match for the production version either. i can see that part of the reason is that there is a different timestamp and version string ("4.3.3 DEV"), but there are lots of other changes too, which I can't easily examine because it's minified. And I can't really trust that this file was built correctly, since the plugin list wasn't built correctly. Also I can't break the build process down into smaller steps find out what it's doing because there's no source.
In a desperate move to try to understand what's going on, I reduced the plugin list in build-config.js to just the about plugin and ran ./build.sh again. This caused release/ckeditor/plugins to get even bigger!
Can anyone explain why the build.sh can't give me anything close to the version I downloaded from the online builder?
(By the way, this question is here instead of on the CKEditor support forum because they wouldn't let me post it there. Called me a spammer!)
CKBuilder which is used by the build script in https://github.com/ckeditor/ckeditor-dev is exactly the one which is used by http://ckeditor.com/builder. The difference is caused by different arguments passed to it.
By default CKBuilder adds all plugins, even those omitted in build-config.js, to the package, although it doesn't merge them into the ckeditor.js. They are available to be enabled on demand. So ckeditor.js is not bigger than that downloaded from http://ckeditor.com/builder.
To build a package with only those plugins which you specified in build-config.js pass -s option to the build script:
> ./dev/builder/build.sh -s
You can also check other options:
> ./dev/builder/build.sh --help
As you'll find there it is possible to change the version, leave JS and CSS unminified etc.
PS. Sorry for the spam filter on forum.

Building Unreal Engine 4: OS_X

After downloaded from github,
run the GenerateProjectFiles.command file,
it says
Setting up Unreal Engine 4 project files...
GenerateProjectFiles ERROR: It looks like youre missing some files that are required in order to generate projects. Please check that youve downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script.
~/UDK_4.0/UnrealEngine
logout
But I already have Xcode 5.1
and officially they have no reference about third-party dependencies.
any ideas to try?
If you enter the github site again there should be a Getting started page / Readme. You need to follow the links to download the two required files and extract them into the folder where you have the source / command file.

phpDocumentor2 not showing packages in html output

I am trying to get phpDocumentor2 to build API documentation for a PHP project I am working on.
The problem is that the HTML output landing page does not show the packages defined in my project. It only shows "Global ()" package.
I believe I am properly using the #package tag for my classes. phpDocumentor version is 2.0.0b4.
In my efforts to find the bottom of the problem I found a project that is already using phpdoc2. I downloaded that project and tried to build the documentation myself as it has a phpdoc.dist.xml file in its codebase root. I got the same problem: no packages in HTML output landing page, while the vendor's one is showing them (SimplePie, CodeIgniter, Streams etc.).
How can I get my phpdoc output showing packages?
I think you are experiencing a bug in the early betas. Keep watching for new beta releases, as they are coming out quite fast as bugs are reported and fixed.

Build firebreath plugin with XCode

I used prep script to generate my first plugin project, build the plugin and create a symlink in ~/Library/Internet Plugins/(exactly as the mac tutorial videos show). Every time I start a browser(Firefox, Chrome or Safari) and then close it, Xcode always alerted me that "the project file "~.xcodeproj" is modified but was changed externally. Keep this version or read from disk?"
I just can't figure out why?
So first of all, just for clarity, this is either a cmake issue or an xcode issue, not a FireBreath issue. I have never seen it happen before. The main thing I would try is to delete the build/ directory entirely and then re-run the prep script (which just runs cmake) and see if the problem persists.
If it does, most likely it's something odd with your computer configuration, and specifically your xcode configuration. :-/ I wish I could give you a better suggestion. You're also welcome to drop into the #firebreath IRC room at http://npapi.com/chat and we'll try to help you there.
i flow firebreath doc, create a symlink of plugin to ~/Library/Internet Plugins, but safari and firefox all not load the plugin.
but i cp the plugin package to ~/Library/Internet Plugins, and all browsers work.

Resources