GithubHelp home page GithubHelp logo

achadwick-test / libmypaint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mypaint/libmypaint

0.0 0.0 0.0 1.78 MB

libmypaint, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects.

Home Page: http://mypaint.org

License: Other

Python 11.49% C 87.57% C++ 0.94%

libmypaint's Introduction

libmypaint - MyPaint brush engine library

Translation Status Travis Build Status Appveyor Build Status

This is a self-contained C library that is isolated from MyPaint. It allows other applications to make use of the MyPaint brush engine.

License: ISC, see COPYING for details

Prerequisites

Build dependencies:

Optional dependencies:

Building

To build for a given prefix, but not install any files yet:

$ scons prefix=/tmp/testprefix1
$ scons prefix=/tmp/testprefix1 .

These two lines are equivalent. SCons's default target location is . (the current working directory).

To build and install libmypaint somewhere else, you will need to supply a different target location. For the simplest case, the target is the same as the prefix.

$ scons prefix=/tmp/testprefix1 install
$ scons prefix=/tmp/testprefix1 /tmp/testprefix1

These two lines are equivalent too. To save time, install is an alias for the current value of the prefix build variable.

Packagers often need the ability to build for a given prefix, but have to install somewhere else. We recommend using the sandboxing options built into SCons for this.

$ scons prefix=/usr --install-sandbox=/tmp/sandbox1 /tmp/sandbox1

This builds libmypaint as if its eventual prefix will be /usr, but puts the files into /tmp/sandbox1/usr as if the sandbox was the root of the filesystem. Note that you have to repeat the sandbox location in this case.

You can also build a minimal version of libmypaint directly into your application by including "libmypaint.c".

Build options

To list out libmypaint's build variables, with help texts, run

$ scons --help

Testing

Please run the test suite before sending any pull requests. You must build libmypaint staticly for the tests to run. We use python-nose as a test runner. Run the test suite like this:

$ scons use_sharedlib=false
$ nosetests

Documentation

Further documentation can be found in the MyPaint wiki: https://github.com/mypaint/mypaint/wiki/Brushlib.

libmypaint's People

Contributors

jonnor avatar martinxyz avatar achadwick avatar tokyogeometry avatar weblate avatar prescott66 avatar taijuin avatar zoiba avatar raimongn avatar portnov avatar qulogic avatar geun-tak avatar mdias avatar asereze avatar cortexer avatar trokenheim avatar amarao avatar fmommeja avatar dankor avatar ilovepumpkin avatar tedil avatar lantw44 avatar jsbueno avatar zerng07 avatar iirelu avatar tommis avatar ryandesign avatar nijel avatar asetilkolin avatar sineaggi 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.