Code Monkey home page Code Monkey logo

chmsee's Introduction

Introduction

ChmSee is an HTML Help viewer for Unix/Linux.

Homepage: http://code.google.com/p/chmsee

Building

ChmSee 2.0 has been refacted from GTK+ based to a xulrunner application.

Most of ChmSee codes use cross-platform languages: JavaScript, XUL, CSS, building is unnecessary for them.

But there is still a component you need to compile, because it is written by C++ language. This is an important component that used to retrieve HTML and image from packed chm file. The source codes for this component are located in chmsee/src directory.

Before compiling, you must confirm xulrunner sdk and chmlib already installed in your system.

Then cd chmsee/src directory, choose one of Makefile.${OS} files and rename it to Makefile. If there isn't proper Makefile.${OS} file for your OS in chmsee distribution, you can create it yourself by copying a similar Makefile.${OS} or Makefile.sample to Makefile and modify the INCLUDE, LIB or CFLAGS variables in it.

If the Makefile is ready, type GNU make in the chmsee/src directory. After building finished, the compiled XPCOM component and its xpt defines will be output to chmsee/components directory.

Running

You can launch ChmSee immediately in the chmsee folder with xulrunner platform command from xulrunner sdk or firefox.

In the following examples, ChmSee source directory is located in ~/downloads/chmsee, and xulrunner sdk is installed to /usr/lib/xulrunner-sdk, firefox is installed to /usr/lib/firefox.

Launch ChmSee with xulrunner sdk tool:

$ cd ~/downloads/chmsee
$ /usr/lib/xulrunner-sdk/xulrunner application.ini

Launch ChmSee with firefox:

$ cd ~/downloads/chmsee
$ /usr/lib/firefox/firefox --app application.ini

Installing

You can also use xulrunner sdk tool xulrunner to install ChmSee to any directory.

If you want to install it to ~/tools/chmsee, enter following command:

$ /usr/lib/xulrunner-sdk/xulrunner --install-app ~/downloads/chmsee ~/tools

The ~/tools/chmsee directory will be created and contains an execute file chmsee, running this file will launch ChmSee program.

If chmsee can not launch and display a "Could not find the Mozilla runtime." message. You need ensure that there is a xulrunner runtime directory located in the installed chmsee folder, if not, add one by yourself:

$ cd ~/tools/chmsee
$ ln -s /usr/lib/xulrunner-sdk xulrunner

If you have firefox installed, this link can be changed to:

$ ln -s /usr/lib/firefox xulrunner

Report bug

If you encounter any ChmSee problem, please issue to http://code.google.com/p/chmsee/issues/entry, thanks.

About ChmSee logo

ChmSee logo comes from Open Clip Art Library. http://www.openclipart.org/detail/17922 It's author is AJ Ashton, thanks.

chmsee's People

Contributors

bbbush avatar cjacker avatar elindsey avatar jungleji avatar lidaobing avatar

Watchers

 avatar  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.