I am looking for npruntime/npapi plugin samples which were earlier present under "https://hg.mozilla.org/mozilla-central/file/2255d7d187b2/modules", But it looks like these samples were removed from the mozilla-central repository possibly for all good reasons,
Where can I find these samples and process to compile those under Ubuntu/Linux environment.
You can get NPAPI headers and samples from https://code.google.com/p/npapi-sdk/
Building sample process:
check out the repository.
$ svn checkout http://npapi-sdk.googlecode.com/svn/trunk/ npapi-sdk-read-only
build basic sample.
$ cd npapi-sdk-read-only/samples/unix-basic
$ make