forked from AuroraMiddleware/gtk
Merge branch 'drop-the-plus' into 'master'
Rename some references to GTK+ See merge request GNOME/gtk!553
This commit is contained in:
commit
1aeeefdccb
26
README.md
26
README.md
@ -1,17 +1,17 @@
|
|||||||
GTK+ — The GTK toolkit
|
GTK — The GTK toolkit
|
||||||
======================
|
=====================
|
||||||
|
|
||||||
[![Build Status](https://gitlab.gnome.org/GNOME/gtk/badges/master/build.svg)](https://gitlab.gnome.org/GNOME/gtk/pipelines)
|
[![Build Status](https://gitlab.gnome.org/GNOME/gtk/badges/master/build.svg)](https://gitlab.gnome.org/GNOME/gtk/pipelines)
|
||||||
|
|
||||||
General information
|
General information
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
GTK is a multi-platform toolkit for creating graphical user interfaces.
|
||||||
Offering a complete set of widgets, GTK+ is suitable for projects ranging
|
Offering a complete set of widgets, GTK is suitable for projects ranging
|
||||||
from small one-off projects to complete application suites.
|
from small one-off projects to complete application suites.
|
||||||
|
|
||||||
GTK+ is free software and part of the GNU Project. However, the
|
GTK is free software and part of the GNU Project. However, the
|
||||||
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
|
licensing terms for GTK, the GNU LGPL, allow it to be used by all
|
||||||
developers, including those developing proprietary software, without any
|
developers, including those developing proprietary software, without any
|
||||||
license fees or royalties.
|
license fees or royalties.
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Nightly documentation can be found at
|
|||||||
Building and installing
|
Building and installing
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
In order to build GTK+ you will need:
|
In order to build GTK you will need:
|
||||||
|
|
||||||
- [a C99 compatible compiler](https://wiki.gnome.org/Projects/GLib/CompilerRequirements)
|
- [a C99 compatible compiler](https://wiki.gnome.org/Projects/GLib/CompilerRequirements)
|
||||||
- [Python 3](https://www.python.org/)
|
- [Python 3](https://www.python.org/)
|
||||||
@ -79,7 +79,7 @@ If you are building the Wayland backend, you will also need:
|
|||||||
- Wayland-cursor
|
- Wayland-cursor
|
||||||
- Wayland-EGL
|
- Wayland-EGL
|
||||||
|
|
||||||
Once you have all the necessary dependencies, you can build GTK+ by using
|
Once you have all the necessary dependencies, you can build GTK by using
|
||||||
Meson:
|
Meson:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -94,7 +94,7 @@ You can run the test suite using:
|
|||||||
$ meson test
|
$ meson test
|
||||||
```
|
```
|
||||||
|
|
||||||
And, finally, you can install GTK+ using:
|
And, finally, you can install GTK using:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo ninja install
|
$ sudo ninja install
|
||||||
@ -118,10 +118,10 @@ In the bug report please include:
|
|||||||
|
|
||||||
* Information about your system. For instance:
|
* Information about your system. For instance:
|
||||||
|
|
||||||
- which version of GTK+ you are using
|
- which version of GTK you are using
|
||||||
- what operating system and version
|
- what operating system and version
|
||||||
- for Linux, which distribution
|
- for Linux, which distribution
|
||||||
- if you built GTK+, the list of options used to configure the build
|
- if you built GTK, the list of options used to configure the build
|
||||||
|
|
||||||
And anything else you think is relevant.
|
And anything else you think is relevant.
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ In the bug report please include:
|
|||||||
Release notes
|
Release notes
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The release notes for GTK+ are part of the migration guide in the API
|
The release notes for GTK are part of the migration guide in the API
|
||||||
reference. See:
|
reference. See:
|
||||||
|
|
||||||
- [3.x release notes](https://developer.gnome.org/gtk3/unstable/gtk-migrating-2-to-3.html)
|
- [3.x release notes](https://developer.gnome.org/gtk3/unstable/gtk-migrating-2-to-3.html)
|
||||||
@ -152,7 +152,7 @@ reference. See:
|
|||||||
Licensing terms
|
Licensing terms
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
GTK+ is released under the terms of the GNU Lesser General Public License,
|
GTK is released under the terms of the GNU Lesser General Public License,
|
||||||
version 2.1 or, at your option, any later version, as published by the Free
|
version 2.1 or, at your option, any later version, as published by the Free
|
||||||
Software Foundation.
|
Software Foundation.
|
||||||
|
|
||||||
|
14
gtk.doap
14
gtk.doap
@ -6,20 +6,20 @@
|
|||||||
xmlns="http://usefulinc.com/ns/doap#">
|
xmlns="http://usefulinc.com/ns/doap#">
|
||||||
|
|
||||||
<name xml:lang="en">gtk+</name>
|
<name xml:lang="en">gtk+</name>
|
||||||
<shortname>gtk+</shortname>
|
<shortname>gtk</shortname>
|
||||||
<shortdesc xml:lang="en">Multi-platform toolkit</shortdesc>
|
<shortdesc xml:lang="en">Multi-platform toolkit</shortdesc>
|
||||||
<description xml:lang="en">GTK+ is a multi-platform toolkit for creating graphical user
|
<description xml:lang="en">GTK is a multi-platform toolkit for creating graphical user
|
||||||
interfaces. Offering a complete set of widgets, GTK+ is suitable for
|
interfaces. Offering a complete set of widgets, GTK is suitable for
|
||||||
projects ranging from small one-off tools to complete application
|
projects ranging from small one-off tools to complete application
|
||||||
suites.
|
suites.
|
||||||
|
|
||||||
GTK+ has been designed from the ground up to support a range of
|
GTK has been designed from the ground up to support a range of
|
||||||
languages, not only C/C++. Using GTK+ from languages such as Perl and
|
languages, not only C/C++. Using GTK from languages such as Perl and
|
||||||
Python (especially in combination with the Glade GUI builder) provides
|
Python (especially in combination with the Glade GUI builder) provides
|
||||||
an effective method of rapid application development.
|
an effective method of rapid application development.
|
||||||
|
|
||||||
GTK+ is free software and part of the GNU Project. However, the
|
GTK is free software and part of the GNU Project. However, the
|
||||||
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
|
licensing terms for GTK, the GNU LGPL, allow it to be used by all
|
||||||
developers, including those developing proprietary software, without
|
developers, including those developing proprietary software, without
|
||||||
any license fees or royalties.</description>
|
any license fees or royalties.</description>
|
||||||
<homepage rdf:resource="http://www.gtk.org/" />
|
<homepage rdf:resource="http://www.gtk.org/" />
|
||||||
|
@ -7,8 +7,8 @@ targets=@GDK_BACKENDS@
|
|||||||
gtk_binary_version=@GTK_BINARY_VERSION@
|
gtk_binary_version=@GTK_BINARY_VERSION@
|
||||||
gtk_host=@host@
|
gtk_host=@host@
|
||||||
|
|
||||||
Name: GTK+
|
Name: GTK
|
||||||
Description: GTK+ Unix print support
|
Description: GTK Unix print support
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: gtk+-@GTK_API_VERSION@ @GTK_PACKAGES@
|
Requires: gtk+-@GTK_API_VERSION@ @GTK_PACKAGES@
|
||||||
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@/unix-print
|
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@/unix-print
|
@ -7,8 +7,8 @@ targets=@GDK_BACKENDS@
|
|||||||
gtk_binary_version=@GTK_BINARY_VERSION@
|
gtk_binary_version=@GTK_BINARY_VERSION@
|
||||||
gtk_host=@host@
|
gtk_host=@host@
|
||||||
|
|
||||||
Name: GTK+
|
Name: GTK
|
||||||
Description: GTK+ Graphical UI Library
|
Description: GTK Graphical UI Library
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: @GDK_PACKAGES@ @GSK_PACKAGES@ @GTK_PACKAGES@
|
Requires: @GDK_PACKAGES@ @GSK_PACKAGES@ @GTK_PACKAGES@
|
||||||
Requires.private: @GDK_PRIVATE_PACKAGES@ @GSK_PRIVATE_PACKAGES@ @GTK_PRIVATE_PACKAGES@
|
Requires.private: @GDK_PRIVATE_PACKAGES@ @GSK_PRIVATE_PACKAGES@ @GTK_PRIVATE_PACKAGES@
|
12
meson.build
12
meson.build
@ -867,27 +867,27 @@ pkgconf.set('GTK_EXTRA_CFLAGS', '')
|
|||||||
|
|
||||||
pkg_install_dir = join_paths(get_option('libdir'), 'pkgconfig')
|
pkg_install_dir = join_paths(get_option('libdir'), 'pkgconfig')
|
||||||
|
|
||||||
pkgs = [ 'gtk+-4.0.pc' ]
|
pkgs = [ 'gtk4.pc' ]
|
||||||
|
|
||||||
pkg_targets = ''
|
pkg_targets = ''
|
||||||
foreach backend: [ 'broadway', 'quartz', 'wayland', 'win32', 'x11', ]
|
foreach backend: [ 'broadway', 'quartz', 'wayland', 'win32', 'x11', ]
|
||||||
if get_variable('@0@_enabled'.format(backend))
|
if get_variable('@0@_enabled'.format(backend))
|
||||||
pkgs += ['gtk+-@0@-4.0.pc'.format(backend)]
|
pkgs += ['gtk4-@0@.pc'.format(backend)]
|
||||||
pkg_targets += ' ' + backend
|
pkg_targets += ' ' + backend
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
pkgconf.set('GDK_BACKENDS', pkg_targets.strip())
|
pkgconf.set('GDK_BACKENDS', pkg_targets.strip())
|
||||||
|
|
||||||
foreach pkg: pkgs
|
foreach pkg: pkgs
|
||||||
configure_file(input: 'gtk+-4.0.pc.in',
|
configure_file(input: 'gtk4.pc.in',
|
||||||
output: pkg,
|
output: pkg,
|
||||||
configuration: pkgconf,
|
configuration: pkgconf,
|
||||||
install_dir: pkg_install_dir)
|
install_dir: pkg_install_dir)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if os_unix
|
if os_unix
|
||||||
configure_file(input: 'gtk+-unix-print-4.0.pc.in',
|
configure_file(input: 'gtk4-unix-print.pc.in',
|
||||||
output: 'gtk+-unix-print-4.0.pc',
|
output: 'gtk4-unix-print.pc',
|
||||||
configuration: pkgconf,
|
configuration: pkgconf,
|
||||||
install_dir: pkg_install_dir)
|
install_dir: pkg_install_dir)
|
||||||
endif
|
endif
|
||||||
@ -910,7 +910,7 @@ meson.add_install_script('build-aux/meson/post-install.sh',
|
|||||||
summary = [
|
summary = [
|
||||||
'',
|
'',
|
||||||
'------',
|
'------',
|
||||||
'GTK+ @0@ (@1@)'.format(gtk_version, gtk_api_version),
|
'GTK @0@ (@1@)'.format(gtk_version, gtk_api_version),
|
||||||
'',
|
'',
|
||||||
' Display backends: @0@'.format(pkg_targets.strip()),
|
' Display backends: @0@'.format(pkg_targets.strip()),
|
||||||
' Print backends: @0@'.format(' '.join(print_backends)),
|
' Print backends: @0@'.format(' '.join(print_backends)),
|
||||||
|
Loading…
Reference in New Issue
Block a user