====== Introduction ====== {{ :en:dev:gb3:gb3_alpha.jpg?300}} **GB3** (Gribouillis version 3) is the third major version of my first try to make a higly portable painting program. **GB3 is a full re-write and better MVC design of the previous version (GB2).** Goals are: - Highly portable - Close to the host GUI toolkit - Easy to modify - Able to uses tablet specific features (pressure, tilt, ...) - Rich features like layers, undo/redo historic, multi-documents, and so on {{:en:dev:gb3:gb3_workspace.png?300 }} To reach them **GB3** uses following technologies: * **[[http://www.python.org/|Python 2.5.x]]** : (portability, easy modifications). * **[[http:///|PureMVC]]** : (like python, gives a framework for a graphic application, virualize the GUI toolkit used). * **[[..:pymui:start|PyMUI]]** : MUI Python binding (MorphOS) * **[[http://www.pygtk.org/|PyGTK]]** : GTK+ Python binding (others platforms) * **[[http://cairographics.org/pycairo/|PyCairo]]** : (rendering, portability) ===== Targets ===== **GB3 is designed to be simple**: it's not (for the moment...) an image editor/manipulator. It takes some ideas seen since a long time on Amiga, but also on OS stamped //modern//, like Linux.\\ We'll find some similarities with following projects: [[http://www.chibipaint.com/|ChibiPaint]], [[http://drawpile.sourceforge.net/|DrawPile]], [[http://www.flowpaint.org/|FlowPaint]], [[http://www.koffice.org/krita/|Krita]], [[http://mypaint.intilinux.com/|MyPaint]] and [[http://sourceforge.net/projects/qaquarelle/|Qaquarelle]]. ====== Downloads and Installation ====== **Current version is 3.1.500.** ===== Grunch ===== **GB3** as all my others programs is available under [[http://geit.de/eng_grunch.html|Grunch]] using my [[http://www.yomgui.fr/Yomgui_MorphOS.db|Grunch database]].\\ Download it and install the file in directory ''/Database/User''. **Grunch handles automatically for you all dependencies solving and installation!** ===== Downloads ===== ==== Dependencies ==== Gribouillis requires following dependencies: * [[..:python:rel2x:start|Python 2.x, r160 or better]] * [[..:pymui:start|PyMUI-v0.6, r254 or better]] * [[..:python:rel2x:start#PyCairo|PyCairo, 1.8.2]] (this is a MorphOS binary archive, [[http://www.cairographics.org/pycairo/|official web site here]]) * [[..:python:rel2x:start#Python Imaging Library|Python Imaging Library, 1.1.7, r10]] ==== Binaries ==== ^ Platform ^ URI ^ Size ^ MD5 ^ | MorphOS-PPC | **[[http://www.yomgui.fr/projects/GB_3.1.500_MorphOS.lha|MUI view - v3.1.500]]** | 1.5 MB | a630177bcd5d19a29c5dfdef37acc405 | ==== Sources ==== Sources are available as snapshot of the same revision used to generate binaries releases.\\ Only if you know how to build it yourself (eg. for other another platforms) or for you information ;-). ^ Platform ^ URI ^ Size ^ MD5 ^ | Any | **[[http://www.yomgui.fr/projects/GB_3.1.500_Sources.lha|Sources - v3.1.500]]** | 1.0MB | f93f6b49a96120fd6f2541a8662f6884 | ====== Credits ====== * **GB3** icons/images from Christophe DELORME and Sébastien POEZL. ====== Licenses ====== * **GB3** files (binaries/sources) are released under [[http://www.opensource.org/licenses/mit-license.php|the MIT License]].\\ * Some files in the stadnalone archive are distributed under their own licenses (Python, LGPL, etc). A license file is provided for them. ====== Bugs and limitations ====== //(This category is only maintained for the current release and subject of changes).// ===== General ===== * Waiting for your feedback! ===== PyMUI specific ===== * Waiting for your feedback! ===== PyGTK specific ===== * Where is the release! ====== Technical aspects ====== ===== Portability ===== Numerous others supposed cross-platform projects fail to reach this goal due to miss-understanding of used technologies. This is mostly seen for applications using //graphic user interfaces// (GUI).\\ Almost //cross-platform// projects try to find a toolkit adapted to the application's main language. This portable toolkits are written to expose the most common denominator between native GUI toolkits on each system.\\ Unfortunately most of the time these toolkits differs largely from each one, causing troubles and difficulties to keep nice API interface and system-friendly aspect in the same toolkit.\\ Except the language used, this is one reason of existence of so many //portable// GUI toolkits.\\ Consequence of this, toolkits don't try to expand to much their portability and limit their native support.\\ And for thus that don't try (like WxWidgets) to limit, porting them is a nightmare and even official examples are littered with platform conditional blocks to make them work. So is another solution exists?\\ I think yes, I've found my solution just by using a not so young software design pattern knowns as **MVC**.\\ The idea is to apply the MVC rules stricly: user interface (UI) is loosely coupled of the functionality.\\ MVC stands for //Model-View-Controler//: This is not a new thing in software development, but this concept was never be used in a whole to separate platforms UI backends (aka //the GUI toolkits//). So now the overall design is chosen, remains to find the language: **Python** is a good candidate! Why? * Python tries to be multi-platforms and highly portable (even if I found its C implementation mostly designed for POSIX), and Python interpretor exists in many forms (C, Java, ...). * Most of native toolkits have their binding in Python. * Python has a well documented C-API and the language is easily extensible using dynamic modules. * It's a script language, modifications don't need recompilation from clever maintainers. * An well-known simple MVC framework exists for Python: **PureMVC**. ===== Rich features ===== One of the main features of **GB3** (other than it's true multi-platform design ;-)) is to not put limit to the drawing surface: you can always grow your image in all direction, it's **border-less** (excepted when saving obviously).