2020-12-21 13:30:45 +01:00
|
|
|
Up: [Readme.md](Readme.md), Next: [Section 2](sec2.md)
|
2021-01-11 03:15:04 +01:00
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
# Prerequisite and Licence
|
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
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
### Tutorial document
|
2020-12-21 13:12:05 +01:00
|
|
|
|
2020-12-22 03:56:06 +01:00
|
|
|
This tutorial is about gtk4 libraries.
|
2020-12-22 03:30:06 +01:00
|
|
|
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
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
- PC with linux distribution like ubuntu, debian and so on.
|
|
|
|
- Gcc
|
|
|
|
- Gtk4. Gtk included linux distributions is version three at present.
|
|
|
|
You need to install gtk4 to your computer.
|
|
|
|
Refer to [gtk4 gitlab repository](https://gitlab.gnome.org/GNOME/gtk).
|
|
|
|
However, it might make some trouble like, for example, your pc doesn't recognize usb port.
|
2020-12-23 15:32:44 +01:00
|
|
|
Therefore, I strongly recommend you not to install gtk4 to the computer you usually use.
|
|
|
|
Instead, Install it to another computer only used to try gtk4.
|
2020-12-21 13:12:05 +01:00
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
### Software
|
2020-12-21 13:12:05 +01:00
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
This repository inclludes ruby programs.
|
|
|
|
They are used to generate 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
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
- Linux distribution like ubuntu.
|
|
|
|
- Ruby programing language.
|
|
|
|
There are two ways to install it.
|
|
|
|
One is install the distribution's package.
|
|
|
|
The other is using rbenv and ruby-build.
|
|
|
|
If you want to use the latest version of ruby, use rbenv.
|
|
|
|
- Rake.
|
|
|
|
It is a gem, which is a library written in ruby.
|
|
|
|
You can install it as a package of your ditribution or use gem command.
|
2020-12-21 13:12:05 +01:00
|
|
|
|
2020-12-22 03:30:06 +01:00
|
|
|
## Licence
|
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
|
|
|
|
2020-12-22 03:56:06 +01:00
|
|
|
Gtk4 tutorial repository containes the tutorial document and softwares such as converters, generators and controlers.
|
|
|
|
All of them make up the 'Gtk4 tutorial' package.
|
|
|
|
This package is simply called 'Gtk4 tutorial' in the following description.
|
2020-12-22 03:30:06 +01: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
|
|
|
|
2020-12-22 03:56:06 +01:00
|
|
|
'Gtk4 tutorial' is distributed in the hope that it will be useful,
|
2020-12-22 03:30:06 +01:00
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
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-11 03:15:04 +01:00
|
|
|
|
2020-12-21 13:30:45 +01:00
|
|
|
Up: [Readme.md](Readme.md), Next: [Section 2](sec2.md)
|