Skip to content

bagnose/doodle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doodle - a simple diagramming tool written in D using GtkD toolkit.

Author: David Bryant <bagnose@gmail.com>

Build instructions (approximately - adjust for your local setup):

1.  Clone and build my 'doodle-support' branch of bob:
    https://github.com/bagnose/bob
    Put executables bob and bob-config somewhere in your path.

        cd ${HOME}/source/d
        git clone https://github.com/GrahamStJack/bob.git bob.git
        cd bob.git
        git checkout doodle-support
        ./build_with_dmd.sh         # XXX tries build directly into ~/bin
        cp bob bob-config ${HOME}/local/bin

2.  Download and build GtkD (2 options here):

        Official release (https://github.com/gtkd-developers/GtkD/downloads):

            cd ${HOME}/source/d
            wget https://github.com/downloads/gtkd-developers/GtkD/GtkD-2.0.zip
            mkdir GtkD-2.0 ; cd GtkD-2.0
            unzip ../GtkD-2.0.zip
            make

        Or git (https://github.com/gtkd-developers/GtkD):

            cd ${HOME}/source/d
            git clone https://github.com/gtkd-developers/GtkD.git GtkD.git
            cd GtkD.git
            make

3.  Clone doodle and establish build directory: https://github.com/bagnose/doodle

        cd ${HOME}/source/d
        git clone https://github.com/bagnose/doodle.git doodle.git
        cd doodle.git
        bob-config --mode=debug ${HOME}/build/doodle/debug

4.  Adjust doodle build directory symlink to GtkD

        cd ${HOME}/build/doodle/debug/src

        Official release:

            ln -s ${HOME}/source/d/GtkD-2.0 GtkD

        Or git:

            ln -s ${HOME}/source/d/GtkD.git GtkD

4.  Build doodle:

        cd ${HOME}/build/doodle/debug
        bob

6.  Run doodle:

        ./run dist/bin/doodle


Other info:

    Building within vim:

        set makeprg=bob
        :make

    ctags with D support:

        wget http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
        tar zxvf ctags-5.8.tar.gz
        cd ctags-5.8
        patch < ${HOME}/source/d/doodle.git/nobuild/ctags.patch
        ./configure --prefix=${HOME}/local
        make && make install

        cd ${HOME}/build/doodle/debug
        find -L src -name \*.d | ctags -L- --extra=+f -f TAGS ;

    Make the TAGS:

        cd ${HOME}/build/doodle/debug
        ${HOME}/source/d/doodle.git/nobuild/make-tags.sh
        # find -L src -name \*.d | ctags -L- --extra=+f -f TAGS ;

    docutils with plantuml support:

        svn checkout \
           http://docutils.svn.sourceforge.net/svnroot/docutils/trunk/docutils \
           docutils-plantuml-patched.svn
        cd docutils-plantuml-patched.svn
        patch -p0 < ${HOME}/source/d/doodle.git/nobuild/docutils-plantuml.patch
        ./setup.py build
        ./setup.py install --prefix=${HOME}/local

About

A diagramming tool developed in D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published