Gtk4-tutorial/gfm/sec1.md

53 lines
2 KiB
Markdown
Raw Normal View History

2021-01-13 12:59:15 +01:00
Up: [Readme.md](../Readme.md), Next: [Section 2](sec2.md)
# Prerequisite and License
2020-12-21 13:12:05 +01:00
2020-12-22 03:30:06 +01:00
## Prerequisite
2020-12-21 13:12:05 +01:00
2021-06-13 05:03:36 +02:00
### Gtk4 on a Linux OS
2020-12-21 13:12:05 +01:00
2021-06-13 05:03:36 +02:00
This tutorial is about Gtk4 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_.
2020-12-21 13:12:05 +01:00
2020-12-22 03:56:06 +01:00
If you want to try the examples in the tutorial, you need:
2020-12-21 13:12:05 +01:00
- PC with Linux distribution like Ubuntu, Debian and so on.
2021-06-13 05:03:36 +02:00
- Gcc.
- Gtk4.
The stable version of Gtk on Linux distributions is version three at present.
You need to install Gtk4 to your computer.
See [Section 3](sec3.md) for the installation of Gtk4.
2021-06-13 05:03:36 +02:00
### Ruby and rake for making the document
2021-06-13 05:03:36 +02:00
This repository includes Ruby programs.
They are used to make Markdown files, HTML files, Latex files and a PDF file.
2020-12-21 13:12:05 +01:00
2020-12-22 03:30:06 +01:00
You need:
2020-12-21 13:12:05 +01:00
- Linux distribution like Ubuntu.
- Ruby programming language.
2020-12-22 03:30:06 +01:00
There are two ways to install it.
2021-06-13 05:03:36 +02:00
One is installing the distribution's package.
2020-12-22 03:30:06 +01:00
The other is using rbenv and ruby-build.
If you want to use the latest version of ruby, use rbenv.
- Rake.
2021-06-13 05:03:36 +02:00
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.
2020-12-21 13:12:05 +01:00
## License
2020-12-21 13:12:05 +01:00
2020-12-22 03:30:06 +01:00
Copyright (C) 2020 ToshioCP (Toshio Sekiya)
2020-12-21 13:12:05 +01:00
Gtk4 tutorial repository contains the tutorial document and software such as converters, generators and controllers.
2020-12-22 03:56:06 +01:00
All of them make up the 'Gtk4 tutorial' package.
This package is simply called 'Gtk4 tutorial' in the following description.
2021-06-13 05:03:36 +02:00
'Gtk4 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.
2020-12-21 13:12:05 +01:00
2021-06-13 05:03:36 +02:00
'Gtk4 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.
2020-12-22 03:30:06 +01:00
See the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.html) for more details.
2020-12-21 13:12:05 +01:00
2021-01-13 12:59:15 +01:00
Up: [Readme.md](../Readme.md), Next: [Section 2](sec2.md)