A program that automatically generates CMake and Meson configuration files for your Vala project
Vala CMake Makefile Meson CoffeeScript Shell Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autovala-atom Added capture for atom Jan 21, 2018
cmake Now adds the version and the project name to the PO files May 19, 2018
data Updated the bash-completion data Aug 17, 2017
debian Now adds the version and the project name to the PO files May 19, 2018
doc Now uses -rdynamic when linking, to ensure that gtk programs with bui… May 8, 2018
gedit_plugin Added forgoten file May 22, 2018
meson_scripts Fixed data file installation in meson Oct 29, 2017
packages/examples Now allows to generate PKGBUILD files for Arch's Pacman that support … May 10, 2015
po Now adds the version and the project name to the PO files May 19, 2018
rpmbuild/SPECS Now adds the version and the project name to the PO files May 19, 2018
scratch_plugin Added missing files Oct 30, 2016
src Now adds the version and the project name to the PO files May 19, 2018
wiki Now uses -rdynamic when linking, to ensure that gtk programs with bui… May 8, 2018
AUTHORS Starting to parse the README file to extract the description for the … Nov 21, 2014
CMakeLists.txt Now puts the "add_dependencies" in each CMakeLists.txt file instead o… Oct 14, 2017
COPYING Added GPLv3 license Apr 28, 2013
HISTORY.md Now adds the version and the project name to the PO files May 19, 2018
INSTALL.md Extra dependencies Feb 14, 2017
PKGBUILD Now adds the version and the project name to the PO files May 19, 2018
README.md Added note about migration to autovala Aug 6, 2018
autovala.avprj Now adds the version and the project name to the PO files May 19, 2018
meson.build Now the pkgconfig files generated by cmake are better Oct 29, 2017
uncrustify.cfg Now ignores the built-in defines like VALA_X_Y, DOVA and so on Apr 23, 2018

README.md

AUTOVALA

IMPORTANT: Autovala has been migrated to Gitlab

https://gitlab.com/rastersoft/autovala

Autovala is a program and a library designed to help in the creation of projects with Vala and CMake. It also has support for Genie.

Now also has experimental Meson build system support.

The idea is quite simple: CMake is very powerful, but writting the CMakeLists files is boring and repetitive. Why not let the computer create them, by guessing what to do with each file? And if, at the end, there are mistakes, let the user fix them in an easy way, and generate the final CMakeLists files.

This is what Autovala does. This process is done in three steps:

* First, Autovala checks all the folders and files, and writes a project
file with the type of each file
* It also peeks the source files to determine which Vala packages they need,
and generate automagically that list
* After that (and after allowing the user to check, if (s)he wishes, the
project file), it uses that project file to generate the needed CMakeLists
files

Autovala greatly simplifies the process of working with Vala because:

* Automatically determines the vala packages and libraries needed to compile
and run the project, by inspecting the source code
* Automatically generates the .vapi and pkg-config files for libraries
* Automatically determinates the final destination for an icon, by checking
its type (svg or png) and, in the later case, its size.
* Automatically generates manpages from text files in several possible input
format (markdown, html, latex...).
* Greatly simplifies creating libraries in Vala, or a project with a binary
that uses a library defined in the same project.
* Automatically generates the metadata files to create .DEB and .RPM packages.
* Easily integrates unitary tests for each binary in the project.
* Can generate automatically DBUS bindings by using the DBUS introspection
capabilities.
* Automatically generates the list of source files for GETTEXT.
* Simplifies mixing C and Vala source files.

COMPILING AUTOVALA

Details about how to compile autovala are available in the INSTALL.md file.

You also can compile the plugins for Gedit and Scratch Text Editor, which are in the folders gedit_plugin and scratch_plugin. You can find inside the instructions.

USING AUTOVALA

The DOC folder contains the Wiki dumped in HTML format. Just open the index.html file with your browser, or go to the Wiki section in GitHub, and enjoy.

CONTACTING THE AUTHOR

Sergio Costas Rodriguez
rastersoft@gmail.com
http://www.rastersoft.com
https://gitlab.com/rastersoft/autovala