Miscelaneous Ada libraries and tools.
Complete manual and documentation at docs/console.org file.
TODO tasks at TODO.org file.
Only Ada and GNAT libraries. gprbuild to build the sources easily.
In Fedora:
dnf install gcc-gnat gprbuild
In Manjaro:
pacman -S gcc-ada yaourt -S gprbuild
The gprbuild program is provided by Arch repositories (AUR). Thus, use yaourt or your preferred AUR package manager.
The file:test/emoji-test.txt file is used by the emoji test executable emoji_test_read
and the emoji-list.ads
library. This file was downloaded from the following URL: https://unicode.org/Public/emoji/12.1/
Once the executables are compiled, you can search for all emojis with “face” in their description by typing the following on the terminal:
bin/emoji_test_read test/emoji-test.txt face
Simply call make
to compile the library and all binaries.
make install
will install the library and binaries into the prefix.make params
will show the poarameters used by the Makefile.
To change the prefix use make install PREFIX=your_path_here
were your_path_here
is the path you want to install. For example: make install PREFIX=/home/me/all_Ada_codes
will install:
libs on /home/me/all_Ada_codes/lib
, binaries on /home/me/all_Ada_codes/bin
, etc.
Variables:
- PREFIX : The path where to install.
- LIBRARY_KIND : “dynamic” or “static”. The type of library to create.
Use gprbuild as follows.
gprbuild utils.gpr
gprbuild util_tools.gpr
gprbuild is usefull to compile libraries only by using the first line.
gprinstall can install the project.
gprinstall -p utils.gpr
will install all the libraries at the default PREFIX. use --prefix=PREFIX_PATH_HERE
parameter to change where the library should be installed.
This project is under the GNU General Public License version 3 (GPLv3) license except were stated.
Christian Gimenez, 2019.
The test/emoji-test.txt file has been downloaded from unicode.org, which it has its own copyright notices and state as follow:
© 2019 Unicode®, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. For terms of use, see http://www.unicode.org/terms_of_use.html