Menu

Source

Development (8)
Konrad Twardowski

Makagiga Source Code

Tip: Source compilation is optional. Precompiled binary packages are compatible with all CPU architectures.

Regular Source Download

Subversion (SVN) Code Repository

This project's repository can be checked out through anonymous (read only) SVN with the following command:

svn checkout svn://svn.code.sf.net/p/makagiga/code/trunk/makagiga makagiga-code

or

svn checkout http://svn.code.sf.net/p/makagiga/code/trunk/makagiga makagiga-code

To update the code, simply run the "svn up" command.

Warning: The trunk code contains the latest changes and untested features. Use at your own risk!

Requirements

Basic Ant Commands

  • ant compile - compile src/*.java files
  • ant run - compile and run Makagiga
  • ant clean - remove all compiled and binary files. Run this if you have any compilation/runtime errors (binary incompatibility) after source update.
  • ant help - list all ant commands

Note: By default it will run using devel profile.
To change this, edit build.properties file and adjust command line options in prog_args=.

Building Binary Packages

To build a minimal set of binary packages run:

ant dist

This will create all required *.jar files and portable *.zip package.

Building Debian/RPM/Windows Binary Packages

  • ant builddeb - build Debian package (requires alien and rpm packages)
  • ant buildrpm - build RPM package (requires rpm package)
  • ant setup - build installer for Windows (requires nsis package)

Plugins Source Code

All plugins source is available in SVN repository.

svn checkout svn://svn.code.sf.net/p/makagiga/code/trunk/plugins/NAME

or

svn checkout http://svn.code.sf.net/p/makagiga/code/trunk/plugins/NAME

Where NAME is one of the plugin project names.

Note: Plugin requires Makagiga [SDK] to compile.

Overview

Source Root
├── build/                            # Output for compiled *.class files; see "ant compile"
├── dist/                             # Binary packages; run "ant bin" or "ant dist" to generate
├── examples/                         # Sample applications that use Makagiga API
├── i18n/                             # Generated automatically, do not modify; see "./po" directory instead
├── images/                           # Icons and other images
│   ├── small/                        # Small icons (16x16)
│   ├── ui/                           # Normal icons (48x48)
│   └── stock-index.txt               # A list of images in *.jar file; run "ant index-images" to generate
├── nbproject/                        # NetBeans IDE project files
├── po/                               # Language translations; see "ant i18n" and Wiki
│   ├── makagiga.pot                  # English messages extracted from Java source files
│   └── pl.po                         # Example: Polish translation
├── sdk/                              # Makagiga SDK (plugin development)
│   ├── Projects/                     # Root directory for external Makagiga plugin projects
│   ├── SDK/
│   │   └── template/                 # SDK templates; run "start" to generate a new plugin project
│   └── start*                        # SDK launchers
├── src/                              # Java source files
│   ├── com/
│   │   └── jhlabs/                   # A custom subset of JH Labs image filters
│   ├── edu/                          # Bug warning suppressor (SuppressFBWarnings.java)
│   ├── makagiga/                     # Internal APIs
│   │   └── sdk/                      # Makagiga SDK wizard
│   ├── META-INF/
│   │   └── services/                 # Extensions loaded by "ServiceLoader"
│   └── org/
│       ├── makagiga/                 # See http://makagiga.sourceforge.net/api/
│       │   │                         # for module/package description
│       │   ├── commons/              # Core classes
│       │   │   ├── color/
│       │   │   │   └── palettes/
│       │   │   │       ├── *.bgpl    # Binary version of *.gpl; run "ant convert-gpl" to generate
│       │   │   │       └── *.gpl     # Color palettes in GIMP format
│       │   │   ├── script/
│       │   │   │   └── js/           # JavaScript snippets; see Scripting Wiki
│       │   │   ├── swing/            # Core UI classes
│       │   │   ├── syntax/
│       │   │   │   └── *.syntax      # Syntax highlighting definition
│       │   │   ├── Config.java       # Settings file
│       │   │   ├── FS.java           # File System/IO utilities
│       │   │   ├── MAction.java      # UI action
│       │   │   ├── OS.java           # Operating System/Desktop Environment utilities
│       │   │   ├── Property.java     # Property API
│       │   │   ├── TK.java           # Various useful utilities
│       │   │   └── UI.java           # User Interface utilities
│       │   ├── desktop/              # Widgets
│       │   ├── editors/              # Editors/Viewers
│       │   ├── feeds/                # RSS Viewer (core classes)
│       │   ├── fs/                   # Makagiga Virtual File System
│       │   │   ├── feeds/            # RSS Viewer (UI classes)
│       │   │   └── tree/             # Main "data" VFS
│       │   ├── ghns/                 # Plugin downloader (core classes)
│       │   ├── internetsearch/       # Internet Search panel/plugins
│       │   ├── plugins/              # Plugin framework
│       │   ├── resources/
│       │   │   ├── tips/             # Tips of the Day (sort of)
│       │   │   ├── Main*.properties  # Localized application info
│       │   │   └── Main.properties   # Application info, version, etc.; run "ant version" to generate
│       │   ├── test/                 # Unit test framework; see "./test" directory
│       │   ├── todo/                 # Tasks (core classes)
│       │   ├── tools/                # Various utilities and built-in plugins
│       │   │   ├── summary/          # Tracks all tasks/todo lists and displays alarm notifications
│       │   │   └── update/           # Automatic update notifications
│       │   ├── tree/                 # Tree UI
│       │   │   └── version/          # Tree version control and backups
│       │   ├── web/                  # Web utilities
│       │   │   └── wiki/             # Wikipedia page display support
│       │   ├── Main.java             # Main file; application startup
│       │   ├── MainWindow.java       # Main window
│       │   ├── Sidebar.java          # Left sidebar
│       │   ├── Tabs.java             # Tabs
│       ├── pushingpixels/
│       │   └── trident/              # Animation framework
│       └── simplericity/             # Mac OS X support (currently unused)
├── test/                             # Unit tests; run "ant test" or "ant test-quick"
│   └── src/                          # Java source files
├── tools/                            # Various scripts, lints, and tools
│   ├── apidoc/                       # Javadoc utilities
│   │   ├── Javadoc/
│   │   │   └── src/                  # Custom Taglets (experimental)
│   │   └── syntax/                   # Automatic syntax highlighting in Javadoc
│   ├── build/                        # Scripts used by build.xml
│   ├── entities/                     # Generates "./src/org/makagiga/commons/html/entities.data"
│   ├── icon-theme/                   # Icon theme updater
│   └── win-launcher/                 # .exe launchers for Windows
├── .settings/, .classpath, .project  # Eclipse project files
├── build.properties                  # Application info/version and build/run settings
├── build.xml                         # Ant project file
├── makagiga.ico, makagiga.png        # Icons (32x32)
├── makagiga.jnlp                     # Web Start launcher
├── makagiga.nsi                      # NSIS project file (installer for Windows)
├── makagiga.spec                     # RPM project file (also used to generate Debian package)
├── PORTING.txt                       # API changes, etc.
└── splash*                           # Splash screen image

Browse Code

https://sourceforge.net/p/makagiga/code/


Related

Wiki: Patches
Wiki: SDK

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.