Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Graph control for display of ECL execution graphs
C++ CMake Shell Other
branch: master

Merge pull request #172 from xwang2713/GC_13297_deb_version

HPCC-13297 Replace '-' with '~' for rc build on DEB systems

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Failed to load latest commit information.
HPCCSystemsGraphViewControl HPCC-13297 Replace '-' with '~' for rc build on DEB systems
agg HPCC-10680 Add Unicode support for Graph Control Messages
build_utils HPCC-10201 Downloaded graphcontrol deb is 'of bad quality'
cmake/Modules IDE-313 IDE Install should uninstall previous 4.x.x versions
cmake_utils GH-105 Modified package name generation to match HPCC
expat HPCC-10680 Add Unicode support for Graph Control Messages
graphdb Merge branch 'candidate-5.0.6'
graphlayout IDE-281 Debugger crashes after Layout finishes
graphrender
lib2 Issue-117 Include freetype dynlib.
CPackReadMe.txt gh-6 Enable cmake package building on OSX, X11 + Windows
License.txt
README Issue_151 Improve GetLocalisedXGMML
doBuildGraphControl.bat
doBuildGraphControlStatic.bat Issue_100 Use "cmake --build" to perform the build.
doBuildGraphControlStatic64.bat Issue_100 Use "cmake --build" to perform the build.
version.cmake

README

#### Get cmake, git, git-svn ####
# Linux
sudo apt-get install cmake git git-svn 

# OSX
cmake:  http://cmake.org/cmake/resources/software.html
git: http://git-scm.com/download

#### Get required libraries #### 
# On Linux (Ubuntu 13.04)
sudo apt-get install libboost-dev libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-chrono-dev libfreetype6-dev libexpat1-dev libgtk2.0-dev

# On OSX (Snow Leopard)
sudo port install boost freetype expat

# On Windows
TODO:  How to get "externals folder" + how to install WIX

#### Create development folder #### 
mkdir ~/git
cd ~/git

#### Get GraphControl Sources #### 
git clone https://github.com/hpcc-systems/GraphControl.git
cd GraphControl
git checkout candidate-3.10.x
cd ..

#### Get Firebreath library #### 
git clone https://github.com/GordonSmith/FireBreath.git
cd FireBreath
git checkout closedown-5.0.x
cd ..

#### Get unrestricted (2.4) agg libraries #### 
git clone https://github.com/GordonSmith/agg.git
cd agg
git checkout graphcontrol-3.10.x
cd ..

#### Get AT&T Graphviz libraries #### 
wget http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz
tar xf graphviz-2.26.3.tar.gz
rm graphviz-2.26.3.tar.gz
cd graphviz-2.26.3
./configure
cd ..

#### Create general build folder #### 
mkdir build
cd build

#### Create build folder for GraphControl #### 
mkdir GraphControl
cd GraphControl

#### Generate GraphControl make files #### 
# On OSX and Linux
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_SYSTEM_BOOST=1 -DFB_PROJECTS_DIR:PATH=../GraphControl -DGRAPHVIZSRC_DIR=../../graphviz-2.26.3 -DAGGSRC_DIR=../../agg ../../FireBreath
# On Windows
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_SYSTEM_BOOST=1 -DFB_PROJECTS_DIR:PATH=../GraphControl -DGRAPHVIZSRC_DIR=../../graphviz-2.26.3 -DAGGSRC_DIR=../../agg -DEXTERNALS_DIRECTORY:PATH=c:/full/path/to/externals ../../FireBreath

#### Compile the sources #### 
cmake --build . --config Release

#### To install the plugin #### 
cmake --build . --config Release --target install

#### Create an install package #### 
# On OSX and Linux
cmake --build . --config Release --target package
# On Windows
cmake --build . --config Release --target HPCCSystemsGraphViewControl\HPCCSystemsGraphViewControl_WiXInstall
cd ..

#### For debugging, create a symbolic link to the built plugin #### 
# Linux
ln -s ~/git/build/GraphControl/bin/HPCCSystemsGraphViewControl/npHPCCSystemsGraphViewControl.so ~/.mozilla/plugins/npHPCCSystemsGraphViewControl.so
# OSX
ln -s ~/git/build/GraphControl/projects/HPCCSystemsGraphViewControl/HPCCSystemsGraphViewControl.plugin ~/Library/Internet\ Plug-Ins/HPCCSystemsGraphViewControl.plugin
Something went wrong with that request. Please try again.