Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 2.13 KB

sec1.md

File metadata and controls

55 lines (38 loc) · 2.13 KB

Up: Readme.md, Next: Section 2

Prerequisites and License

Prerequisites

Tutorial document

This tutorial is about gobject libraries. It is originally used on Linux with C compiler, but now it is used more widely, on windows and macOS, with Vala, python and so on. However, this tutorial describes only C programs on Linux.

If you want to try to compile the examples in the tutorial, you need:

  • PC with Linux distribution like Ubuntu, Debian and so on.
  • Gcc
  • Glib. The version at the time this document is described is 2.68.0, but earlier version may work.
  • pkg-config
  • meson and ninja

Common Linux distributions has GLib, which is enough for you to compile the examples in this repository.

Software

This repository includes ruby programs. They are used to generate Markdown files, HTML files, LaTeX files and a PDF file.

You need:

  • Linux distribution like Ubuntu.
  • Ruby programming language. There are two ways to install it. One is installing the distribution's package. The other is using rbenv and ruby-build. If you want to use the latest version of ruby, use rbenv and ruby-build.
  • Rake. It is a gem, which is a library written in ruby. You can install it as a package of your distribution or use gem command instead.

License

Copyright (C) 2021 ToshioCP (Toshio Sekiya)

GObject tutorial repository contains the tutorial document and software such as converters, generators and controllers. All of them make up the 'GObject tutorial' package. This package is simply called 'GObject tutorial' in the following description. 'GObject tutorial' is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

'GObject tutorial' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Up: Readme.md, Next: Section 2