summaryrefslogtreecommitdiff
path: root/README.md
blob: cb8a1954a41f29437728a4d2212b10a4cd654854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Glade

User interface designer for Gtk+ and GNOME

* Web - <https://glade.gnome.org>
* Git - <https://gitlab.gnome.org/GNOME/glade>

Mailing Lists: 

Both users and devel mailing list have been archived, you can find the archives at

* https://mail.gnome.org/archives/glade-users-list/
* https://mail.gnome.org/archives/glade-devel-list/

## Development status

Glade is not being actively developed or maintained anymore. 
If you are interested in becoming a maintainer please contact us on gitlab. 

## General Information

Glade is a RAD tool to enable quick and easy development of user interfaces
for the GTK+ 3 toolkit and the GNOME desktop environment. 

The user interfaces designed in Glade are saved as XML and these can be loaded
by applications dynamically as needed by using GtkBuilder or used directly to
define a new GtkWidget derived object class using Gtk+ new template feature.

By using GtkBuilder, Glade XML files can be used in numerous programming 
languages including C, C++, C#, Vala, Java, Perl, Python, and others. 

This version of Glade targets GTK 3
If you need to work with GTK 2, you can still use Glade 3.8
([more information](http://blogs.gnome.org/tvb/2011/01/15/the-glade-dl/))

## License

Glade is distributed under the
[GNU General Public License](https://www.gnu.org/licenses/gpl-2.0.en.html),
version 2 (GPL) and
[GNU Library General Public License](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.en.html),
version 2 (LGPL) as described in the COPYING file.

## Manual instalation

Requirements

* C compiler like [gcc](https://gcc.gnu.org/)
* [Meson](http://mesonbuild.org) build system
* [GTK](http://www.gtk.org) 3.24.0 or above
* [libxml](http://xmlsoft.org/) 2.4.1 - used to parse XML files
* libgirepository1.0 - Build-time dependency
* xsltproc - for man pages generation

Optional dependencies:

* glib-networking plugins for TLS support (Needed for survey)
* libwebkit2gtk-4.0 - For Webkit plugin
* python-gi - For Python plugin
* libgjs - For JavaScript plugin
* gettext, itstool - For translation support

Download sources from git and build using meson/ninja

	# Install dependencies, for example in debian
	sudo apt install gcc meson libgtk-3-dev libxml2-dev libgirepository1.0-dev xsltproc gettext itstool
	
	# Optional dependencies
	sudo apt install libgjs-dev libwebkit2gtk-4.0-dev python-gi-dev glib-networking

	# Clone the source repository or download tarball
	git clone https://gitlab.gnome.org/GNOME/glade.git

	# Create build directory and configure project
	mkdir glade/build && cd glade/build
	meson --prefix=~/.local

	# Build and install
	ninja
	ninja install

To run it you might need to set up LD_LIBRARY_PATH depending on your
distribution defaults

	LD_LIBRARY_PATH=~/.local/lib/x86_64-linux-gnu/ glade

## Linux

Debian

	apt install glade

Fedora

	yum install glade

Any distribution with Flatpak

	flatpak install flathub org.gnome.Glade

[<img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-i-en.png'/>](https://flathub.org/apps/details/org.gnome.Glade)

## Windows

Available as a
[package](https://packages.msys2.org/package/mingw-w64-x86_64-glade) in
[MSYS2](https://www.msys2.org/)

	pacman -S mingw-w64-x86_64-glade

## OSX

Available as a [package](https://formulae.brew.sh/formula/glade) in
[Brew](https://brew.sh/)

	brew install glade