GithubHelp home page GithubHelp logo

noqisofon / gluezilla Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mono/gluezilla

1.0 1.0 0.0 297 KB

Home Page: http://www.mono-project.com/

License: Other

C# 28.49% C 6.39% C++ 63.72% Shell 1.40%

gluezilla's Introduction

A simple library to embed Gecko (xulrunner) for the Mono Winforms
WebControl.

gluezilla - c glue for xulrunner
tests/browser - test app

Building
========

	Since Mozilla has changed quite a bit across various versions
	and the way that it has been packaged and its APIs differ from
	one version to another you will need to tune your setup
	according to your OS.
	
	The recommended version of the Mozilla engine is >= 1.8


====================================
Using your distro's mozilla packages
Example Platform: openSUSE 10.2
====================================

	Before starting, make sure you install the 
	following packages and any dependencies they
	may have:

		mozilla-nss-devel
		mozilla-nspr-devel
		mozilla-xulrunner181
		mozilla-xulrunner181-devel	


	Invoke configure like this:

		./autogen.sh [--enable-optimize=yes]
		
	The --enable-optimize flag will enable -O2, if =no it will use -g3
	instead.


=====================================================
Using the Mozilla packages instead of distro packages
=====================================================

	If for some reason you have problems installing the xulrunner packages, 
	you can use the mozilla-distributed ones to build.	Inside the build 
	directory there are some scripts to help set up a local build.
	
	1) Obtain the xulrunner runtime and sdk from Mozilla. You can either
	download directly, or:
	
		* go to the build/ directory
		* run "get-gecko-sdk.sh"
	
		This will download and untar the packages for you.
	
	
	2) Run "make". This will create the proper directories with the contents of
	the sdk plus some extra headers that are needed.
	
	
	3) Go to xulrunner/ and run:
		
		./xulrunner --register-user
		
		This will register the runtime for your user. You can use --register-global
		to register this runtime for all users, instead
		
			
	4) Now you can build gluezilla. Invoke configure like this:
	
		./autogen.sh --enable-local=yes [--enable-optimize=yes]

		The --enable-optimize flag will enable -O2, if =no it will use -g3
		instead.


Testing
=======

	Once you have build and installed the software, go to:

		cd tests/browser
		
	and type
	
		make test
		
	Before running the test app, you will need to create the following directory
	tree where the test app is:
	
	Cache
	components
	Profiles
	Profiles/profile
		
	Then run
	
		mono test.exe	

gluezilla's People

Contributors

noqisofon avatar robert-j avatar shana avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.