Compare commits
8 Commits
frame-cloc
...
wip/ebassi
Author | SHA1 | Date | |
---|---|---|---|
|
5a9acc455b | ||
|
61ed9351d7 | ||
|
71a4190f61 | ||
|
a2fabfcda5 | ||
|
974c70d181 | ||
|
089aee9219 | ||
|
f1747ba4da | ||
|
9cd69d97ca |
40
CONTRIBUTING.md
Normal file
40
CONTRIBUTING.md
Normal file
@@ -0,0 +1,40 @@
|
||||
If you want to hack on the GTK+ project, you'll need to have the development
|
||||
tools appropriate for your operating system, including:
|
||||
|
||||
- Python (2.7 or 3.x)
|
||||
- Meson
|
||||
- Ninja
|
||||
- Gettext (19.7 or newer)
|
||||
- a C99 compatible compiler
|
||||
|
||||
Up-to-date instructions about developing GNOME applications and libraries
|
||||
can be found here:
|
||||
|
||||
https://developer.gnome.org
|
||||
|
||||
Information about using git with GNOME can be found here:
|
||||
|
||||
https://wiki.gnome.org/Git
|
||||
|
||||
In order to get Git GTK+ installed on your system, you need to have the
|
||||
required versions of all the GTK+ dependencies; typically, this means a
|
||||
recent version of GLib, Cairo, Pango, and ATK.
|
||||
|
||||
**Note**: if you plan to push changes to back to the master repository and
|
||||
have a GNOME account, you want to use the following instead:
|
||||
|
||||
```sh
|
||||
$ git clone ssh://<username>@git.gnome.org/git/gtk+
|
||||
```
|
||||
|
||||
To compile the Git version of GTK+ on your system, you will need to
|
||||
configure your build using Meson:
|
||||
|
||||
```sh
|
||||
$ meson _builddir .
|
||||
```
|
||||
|
||||
For information about submitting patches and pushing changes to Git, see the
|
||||
`README.md` and `README.commits` files. In particular, don't, under any
|
||||
circumstances, push anything to Git before reading and understanding
|
||||
`README.commmits`.
|
64
HACKING
64
HACKING
@@ -1,64 +0,0 @@
|
||||
If you want to hack on the GTK+ project, you'll need to have
|
||||
the following packages installed:
|
||||
|
||||
- GNU autoconf 2.62
|
||||
- GNU automake 1.11
|
||||
- GNU libtool 2.2
|
||||
- indent (GNU indent 1.9.1 is known good)
|
||||
- GNU gettext 10.40
|
||||
|
||||
These should be available by ftp from ftp.gnu.org or any of the
|
||||
fine GNU mirrors. Beta software can be found at alpha.gnu.org.
|
||||
|
||||
Up-to-date instructions about developing GNOME applications and libraries
|
||||
can be found here:
|
||||
|
||||
http://library.gnome.org/devel/
|
||||
|
||||
Information about using git with GNOME can be found here:
|
||||
|
||||
https://wiki.gnome.org/Git
|
||||
|
||||
In order to get GIT GTK+ installed on your system, you need to have
|
||||
the most recent GIT versions of GLib, Pango, and ATK installed as well.
|
||||
The installation process of these libraries is similar to that of GTK+,
|
||||
but needs to be fulfilled prior to installation of GTK+.
|
||||
|
||||
If at all possible, please use GIT to get the latest development version of
|
||||
gtk+ and glib. You can do the following to get glib and gtk+ from GIT:
|
||||
|
||||
$ git clone git://git.gnome.org/glib
|
||||
$ git clone git://git.gnome.org/pango
|
||||
$ git clone git://git.gnome.org/atk
|
||||
$ git clone git://git.gnome.org/gtk+
|
||||
|
||||
Note: if you plan to push changes to back to the master repository and
|
||||
have a gnome account, you want to use the following instead:
|
||||
|
||||
$ git clone ssh://<username>@git.gnome.org/git/gtk+
|
||||
|
||||
To compile the GIT version of GTK+ on your system, you will need to take
|
||||
several steps to setup the tree for compilation. You can do all these
|
||||
steps at once by running:
|
||||
|
||||
gtk+$ ./autogen.sh
|
||||
|
||||
Basically this does the following for you:
|
||||
|
||||
gtk+$ aclocal; automake; autoconf
|
||||
|
||||
The above commands create the `configure' script. Now you
|
||||
run the `configure' script in `gtk+/' to create all Makefiles.
|
||||
More information about that in `INSTALL'.
|
||||
|
||||
Before running `autogen.sh' or `configure', make sure you have libtool
|
||||
in your path.
|
||||
|
||||
Note that autogen.sh runs configure for you. If you wish to pass
|
||||
options like `--prefix=/usr' to `configure' you can give those options
|
||||
to `autogen.sh' and they will be passed on to `configure'.
|
||||
|
||||
For information about submitting patches and pushing changes
|
||||
to GIT, see the `README' and `README.commits' files. In particular,
|
||||
don't, under any circumstances, push anything to GIT before
|
||||
reading and understanding `README.commmits'.
|
42
INSTALL.in
42
INSTALL.in
@@ -1,42 +0,0 @@
|
||||
Prerequisites
|
||||
=============
|
||||
|
||||
GTK+ requires the following packages:
|
||||
|
||||
- The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
|
||||
the same location as GTK+. GTK+ @GTK_VERSION@ requires at least
|
||||
GLib @GLIB_REQUIRED_VERSION@, Pango @PANGO_REQUIRED_VERSION@,
|
||||
GdkPixbuf @GDK_PIXBUF_REQUIRED_VERSION@, ATK @ATK_REQUIRED_VERSION@
|
||||
and cairo @CAIRO_REQUIRED_VERSION@.
|
||||
|
||||
- libepoxy, for cross-platform OpenGL support.
|
||||
It can be found here: https://github.com/anholt/libepoxy
|
||||
|
||||
- Each GDK backend has its own backend-specific requirements. For
|
||||
the X11 backend, X11 R6 and XInput version 2 (as well as a number
|
||||
of other extensions) are required. The Wayland backend requires
|
||||
(obviously) the Wayland libraries.
|
||||
|
||||
- gobject-introspection @INTROSPECTION_REQUIRED_VERSION@ or newer.
|
||||
|
||||
Simple install procedure
|
||||
========================
|
||||
|
||||
% tar xf gtk+-@GTK_VERSION@.tar.xz # unpack the sources
|
||||
% cd gtk+-@GTK_VERSION@ # change to the toplevel directory
|
||||
% ./configure # run the `configure' script
|
||||
% make # build GTK+
|
||||
[ Become root if necessary ]
|
||||
% make install # install GTK+
|
||||
|
||||
The Details
|
||||
===========
|
||||
|
||||
Complete information about installing GTK+ and related libraries
|
||||
can be found in the file:
|
||||
|
||||
docs/reference/gtk/html/gtk-building.html
|
||||
|
||||
Or online at:
|
||||
|
||||
http://library.gnome.org/devel/gtk/stable/gtk-building.html
|
12
MAINTAINERS
12
MAINTAINERS
@@ -1,12 +0,0 @@
|
||||
Matthias Clasen
|
||||
E-mail: mclasen@redhat.com
|
||||
Userid: matthiasc
|
||||
|
||||
Tim Janik
|
||||
E-mail: timj@gtk.org
|
||||
Userid: timj
|
||||
|
||||
Note that a lot of people are contributing to GTK+, and some parts of it
|
||||
are technically maintained by other people. The people listed above are
|
||||
meant as contacts for administrative questions such as cvs accounts. Other
|
||||
questions are best directed to the mailing list gtk-devel-list@gnome.org.
|
112
Makefile.am
112
Makefile.am
@@ -1,112 +0,0 @@
|
||||
## Makefile.am for GTK+
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SRC_SUBDIRS = gdk gsk gtk modules demos tests testsuite examples
|
||||
SUBDIRS = po po-properties $(SRC_SUBDIRS) docs win32
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
|
||||
meson_build_files = $(shell find . -type f -name '*meson.*' -print 2>/dev/null)
|
||||
meson_files = \
|
||||
$(meson_build_files) \
|
||||
meson_options.txt \
|
||||
subprojects/graphene.wrap \
|
||||
gdk/gen-gdk-gresources-xml.py \
|
||||
gsk/gen-gsk-gresources-xml.py \
|
||||
gtk/gen-gtk-gresources-xml.py \
|
||||
gtk/gentypefuncs.py \
|
||||
demos/gtk-demo/geninclude.py \
|
||||
gdk/wayland/genprotocolfiles.py \
|
||||
build-aux/meson/post-install.sh \
|
||||
$()
|
||||
|
||||
EXTRA_DIST += \
|
||||
autogen.sh \
|
||||
HACKING \
|
||||
README \
|
||||
README.in \
|
||||
INSTALL \
|
||||
INSTALL.in \
|
||||
NEWS.pre-1-0 \
|
||||
README.commits \
|
||||
README.win32 \
|
||||
config.h.win32 \
|
||||
makefile.msc \
|
||||
gtk-zip.sh.in \
|
||||
sanitize-la.sh \
|
||||
po/README.translators \
|
||||
po/po2tbl.sed.in \
|
||||
make-pot \
|
||||
$(meson_files)
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
|
||||
$(srcdir)/m4/gtk-doc.m4 \
|
||||
$(srcdir)/INSTALL \
|
||||
$(srcdir)/README \
|
||||
$(srcdir)/gtk-doc.make \
|
||||
$(srcdir)/ChangeLog
|
||||
|
||||
|
||||
## Copy .pc files to target-specific names
|
||||
gtk+-x11-4.0.pc gtk+-win32-4.0.pc gtk+-quartz-4.0.pc gtk+-broadway-4.0.pc gtk+-wayland-4.0.pc gtk+-mir-4.0.pc: gtk+-4.0.pc
|
||||
rm -f $@ && \
|
||||
cp gtk+-4.0.pc $@
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = gtk+-4.0.pc gail-4.0.pc
|
||||
pkgconfig_DATA += ${GDK_BACKENDS:%=gtk+-%-4.0.pc}
|
||||
|
||||
if OS_UNIX
|
||||
pkgconfig_DATA += gtk+-unix-print-4.0.pc
|
||||
endif
|
||||
|
||||
DISTCLEANFILES = \
|
||||
gtk+-unix-print-4.0.pc \
|
||||
gtk+-4.0.pc \
|
||||
gtk+-x11-4.0.pc \
|
||||
gtk+-win32-4.0.pc \
|
||||
gtk+-quartz-4.0.pc \
|
||||
gtk+-broadway-4.0.pc \
|
||||
gtk+-wayland-4.0.pc \
|
||||
gtk+-mir-4.0.pc \
|
||||
gail-4.0.pc \
|
||||
config.lt
|
||||
|
||||
distclean-local:
|
||||
if test "$(srcdir)" = "."; then :; else \
|
||||
rm -f ChangeLog; \
|
||||
fi
|
||||
|
||||
ChangeLog:
|
||||
$(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
|
||||
(GIT_DIR=$(top_srcdir)/.git $(top_builddir)/build-aux/missing git log GTK_2_16_0^^.. --stat) | fmt --split-only > $@.tmp \
|
||||
&& mv -f $@.tmp $@ \
|
||||
|| ($(RM) $@.tmp; \
|
||||
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
|
||||
(test -f $@ || echo git-log is required to generate this file >> $@)); \
|
||||
else \
|
||||
test -f $@ || \
|
||||
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
|
||||
echo A git checkout and git-log is required to generate this file >> $@); \
|
||||
fi
|
||||
|
||||
.PHONY: ChangeLog
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(pkgconfigdir)/gtk+-4.0.pc
|
||||
|
||||
AM_DISTCHECK_CONFIGURE_FLAGS = \
|
||||
--enable-gtk-doc \
|
||||
--disable-doc-cross-references \
|
||||
--enable-man \
|
||||
--disable-maintainer-mode \
|
||||
--enable-introspection \
|
||||
--enable-installed-tests
|
||||
|
||||
GITIGNORE_TRANSLATION_DIRS = po-properties
|
||||
GITIGNOREFILES = po-properties/gtk40-properties.pot
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,96 +0,0 @@
|
||||
# GTK+ - The GIMP Toolkit
|
||||
|
||||
GTESTER = gtester -k # in $PATH for non-GLIB packages
|
||||
GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages
|
||||
|
||||
# initialize variables for unconditional += appending
|
||||
EXTRA_DIST =
|
||||
TEST_PROGS =
|
||||
|
||||
### testing rules
|
||||
|
||||
# Xvfb based test rules
|
||||
XVFB = Xvfb -ac -noreset -screen 0 1024x768x16
|
||||
XIDS = 101 102 103 104 105 106 107 197 199 211 223 227 293 307 308 309 310 311 \
|
||||
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 \
|
||||
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 \
|
||||
1008 1009 4703 4721 4723 4729 4733 4751 9973 9974 9975 9976 9977 9978 9979 \
|
||||
9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 \
|
||||
9995 9996 9997 9998 9999
|
||||
|
||||
if USE_X11
|
||||
SKIP_GDKTARGET = \
|
||||
false
|
||||
else
|
||||
SKIP_GDKTARGET = \
|
||||
echo "Gtk+Tests:INFO: Skipping GUI tests for non-X11 target."
|
||||
endif
|
||||
|
||||
if PLATFORM_WIN32
|
||||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
XVFB_START = \
|
||||
${XVFB} -help 2>/dev/null 1>&2 \
|
||||
&& XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \
|
||||
&& { ${XVFB} :$$XID -nolisten tcp -auth /dev/null >/dev/null 2>&1 & \
|
||||
trap "kill -15 $$! " 0 HUP INT QUIT TRAP USR1 PIPE TERM ; } \
|
||||
|| { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
|
||||
&& DISPLAY=:$$XID && export DISPLAY
|
||||
# call as: $(XVFB_START) && someprogram
|
||||
|
||||
# test: run all tests in cwd and subdirs
|
||||
test: test-cwd test-recurse
|
||||
# test-cwd: run tests in cwd
|
||||
test-cwd: ${TEST_PROGS}
|
||||
@$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \
|
||||
$(XVFB_START) && { set -e; $(TESTS_ENVIRONMENT) G_TEST_SRCDIR="${abs_srcdir}" G_TEST_BUILDDIR="${abs_builddir}" ${GTESTER} --verbose ${TEST_PROGS}; }; \
|
||||
}
|
||||
# test-recurse: run tests in subdirs
|
||||
test-recurse:
|
||||
@ for subdir in $(SUBDIRS) ; do \
|
||||
test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \
|
||||
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) test ) || exit $? ; \
|
||||
done
|
||||
# test-report: run tests in subdirs and generate report
|
||||
# perf-report: run tests in subdirs with -m perf and generate report
|
||||
# full-report: like test-report: with -m perf and -m slow
|
||||
test-report perf-report full-report: ${TEST_PROGS}
|
||||
@ ignore_logdir=true ; \
|
||||
if test -z "$$GTESTER_LOGDIR" ; then \
|
||||
GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
|
||||
ignore_logdir=false ; \
|
||||
fi ; \
|
||||
for subdir in $(SUBDIRS) ; do \
|
||||
test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \
|
||||
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
|
||||
done ; \
|
||||
$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \
|
||||
case $@ in \
|
||||
test-report) test_options="-k";; \
|
||||
perf-report) test_options="-k -m=perf";; \
|
||||
full-report) test_options="-k -m=perf -m=slow";; \
|
||||
esac ; \
|
||||
$(XVFB_START) && { \
|
||||
set -e; \
|
||||
if test -z "$$GTESTER_LOGDIR" ; then \
|
||||
G_TEST_SRCDIR="${abs_srcdir}" G_TEST_BUILDDIR="${abs_builddir}" ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
|
||||
elif test -n "${TEST_PROGS}" ; then \
|
||||
G_TEST_SRCDIR="${abs_srcdir}" G_TEST_BUILDDIR="${abs_builddir}" ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
|
||||
fi ; \
|
||||
}; \
|
||||
}; \
|
||||
$$ignore_logdir || { \
|
||||
echo '<?xml version="1.0"?>' > $@.xml ; \
|
||||
echo '<report-collection>' >> $@.xml ; \
|
||||
for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
|
||||
sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
|
||||
done ; \
|
||||
echo >> $@.xml ; \
|
||||
echo '</report-collection>' >> $@.xml ; \
|
||||
rm -rf "$$GTESTER_LOGDIR"/ ; \
|
||||
${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
|
||||
}
|
||||
.PHONY: test test-cwd test-recurse test-report perf-report full-report
|
||||
# run make test-cwd as part of make check
|
||||
check-local: test-cwd
|
82
README.in
82
README.in
@@ -1,82 +0,0 @@
|
||||
General Information
|
||||
===================
|
||||
|
||||
This is GTK+ version @GTK_VERSION@. GTK+ is a multi-platform toolkit for
|
||||
creating graphical user interfaces. Offering a complete set of widgets,
|
||||
GTK+ is suitable for projects ranging from small one-off projects to
|
||||
complete application suites.
|
||||
|
||||
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
|
||||
developers, including those developing proprietary software, without any
|
||||
license fees or royalties.
|
||||
|
||||
The official download locations are:
|
||||
ftp://ftp.gtk.org/pub/gtk
|
||||
http://download.gnome.org/sources/gtk+
|
||||
|
||||
The official web site is:
|
||||
http://www.gtk.org/
|
||||
|
||||
Information about mailing lists can be found at
|
||||
http://www.gtk.org/mailing-lists.php
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
See the file 'INSTALL'
|
||||
|
||||
|
||||
How to report bugs
|
||||
==================
|
||||
|
||||
Bugs should be reported to the GNOME bug tracking system.
|
||||
(http://bugzilla.gnome.org, product glib.) You will need
|
||||
to create an account for yourself.
|
||||
|
||||
In the bug report please include:
|
||||
|
||||
* Information about your system. For instance:
|
||||
|
||||
- What operating system and version
|
||||
- For Linux, what version of the C library
|
||||
|
||||
And anything else you think is relevant.
|
||||
|
||||
* How to reproduce the bug.
|
||||
|
||||
If you can reproduce it with one of the test programs that are built
|
||||
in the tests/ subdirectory, that will be most convenient. Otherwise,
|
||||
please include a short test program that exhibits the behavior.
|
||||
As a last resort, you can also provide a pointer to a larger piece
|
||||
of software that can be downloaded.
|
||||
|
||||
* If the bug was a crash, the exact text that was printed out
|
||||
when the crash occurred.
|
||||
|
||||
* Further information such as stack traces may be useful, but
|
||||
is not necessary.
|
||||
|
||||
|
||||
Patches
|
||||
=======
|
||||
|
||||
Patches should also be submitted to bugzilla.gnome.org. If the
|
||||
patch fixes an existing bug, add the patch as an attachment
|
||||
to that bug report.
|
||||
|
||||
Otherwise, enter a new bug report that describes the patch,
|
||||
and attach the patch to that bug report.
|
||||
|
||||
Patches should be in unified diff form. (The -up option to GNU diff)
|
||||
Even better are git-formatted patches. (Use git format-patch)
|
||||
|
||||
|
||||
Release notes
|
||||
=============
|
||||
|
||||
Release notes for releases of GTK+ 3.x are part of the migration
|
||||
guide in the GTK+ documentation. See
|
||||
|
||||
https://developer.gnome.org/gtk3/unstable/gtk-migrating-2-to-3.html
|
170
README.md
Normal file
170
README.md
Normal file
@@ -0,0 +1,170 @@
|
||||
GTK+ — The GTK toolkit
|
||||
======================
|
||||
|
||||
General information
|
||||
-------------------
|
||||
|
||||
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
||||
Offering a complete set of widgets, GTK+ is suitable for projects ranging
|
||||
from small one-off projects to complete application suites.
|
||||
|
||||
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
|
||||
developers, including those developing proprietary software, without any
|
||||
license fees or royalties.
|
||||
|
||||
The official download location
|
||||
|
||||
- https://download.gnome.org/sources/gtk+
|
||||
|
||||
The official web site
|
||||
|
||||
- https://www.gtk.org
|
||||
|
||||
The official developers blog
|
||||
|
||||
- https://blog.gtk.org
|
||||
|
||||
Information about mailing lists can be found at
|
||||
|
||||
- http://www.gtk.org/mailing-lists.php
|
||||
|
||||
Building and installing
|
||||
-----------------------
|
||||
|
||||
In order to build GTK+ you will need:
|
||||
|
||||
- a C99 compatible compiler
|
||||
- Python 3
|
||||
- [Meson](http://mesonbuild.com)
|
||||
- [Ninja](https://ninja-build.org)
|
||||
|
||||
You will also need various dependencies, based on the platform you are
|
||||
building for:
|
||||
|
||||
- [GLib](https://download.gnome.org/sources/glib)
|
||||
- [GdkPixbuf](https://download.gnome.org/sources/gdk-pixbuf)
|
||||
- [GObject-Introspection](https://download.gnome.org/sources/gobject-introspection)
|
||||
- [Cairo](https://www.cairographics.org)
|
||||
- [Pango](https://download.gnome.org/sources/pango)
|
||||
- [Epoxy](https://github.com/anholt/libepoxy)
|
||||
- [Graphene](https://github.com/ebassi/graphene)
|
||||
- [ATK](https://download.gnome.org/sources/atk)
|
||||
- [Xkb-common](https://github.com/xkbcommon/libxkbcommon)
|
||||
|
||||
If you are building the X11 backend, you will also need:
|
||||
|
||||
- Xlib, and the following X extensions:
|
||||
- xrandr
|
||||
- xrender
|
||||
- xi
|
||||
- xext
|
||||
- xfixes (optional)
|
||||
- xcursor (optional)
|
||||
- xdamage (optional)
|
||||
- xcomposite (optional)
|
||||
- [atk-bridge-2.0](https://download.gnome.org/sources/at-spi2-atk)
|
||||
|
||||
If you are building the Wayland backend, you will also need:
|
||||
|
||||
- Wayland-client
|
||||
- Wayland-protocols
|
||||
- Wayland-cursor
|
||||
- Wayland-EGL
|
||||
|
||||
Once you have all the necessary dependencies, you can build GTK+ by using
|
||||
Meson:
|
||||
|
||||
```sh
|
||||
$ meson _build .
|
||||
$ cd _build
|
||||
$ ninja
|
||||
```
|
||||
|
||||
You can run the test suite using:
|
||||
|
||||
```sh
|
||||
$ mesontest
|
||||
```
|
||||
|
||||
And, finally, you can install GTK+ using:
|
||||
|
||||
```
|
||||
$ sudo ninja install
|
||||
```
|
||||
|
||||
Complete information about installing GTK+ and related libraries
|
||||
can be found in the file:
|
||||
|
||||
```
|
||||
docs/reference/gtk/html/gtk-building.html
|
||||
```
|
||||
|
||||
Or [online](https://developer.gnome.org/gtk4/stable/gtk-building.html)
|
||||
|
||||
How to report bugs
|
||||
------------------
|
||||
|
||||
Bugs should be reported to the GNOME [bug tracking system](https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2b).
|
||||
You will need an account for yourself.
|
||||
|
||||
In the bug report please include:
|
||||
|
||||
* Information about your system. For instance:
|
||||
|
||||
- which version of GTK+ you are using
|
||||
- what operating system and version
|
||||
- for Linux, which distribution
|
||||
- if you built GTK+, the list of options used to configure the build
|
||||
|
||||
And anything else you think is relevant.
|
||||
|
||||
* How to reproduce the bug.
|
||||
|
||||
If you can reproduce it with one of the test programs that are built
|
||||
in the tests/ subdirectory, that will be most convenient. Otherwise,
|
||||
please include a short test program that exhibits the behavior.
|
||||
As a last resort, you can also provide a pointer to a larger piece
|
||||
of software that can be downloaded.
|
||||
|
||||
* If the bug was a crash, the exact text that was printed out
|
||||
when the crash occurred.
|
||||
|
||||
* Further information such as stack traces may be useful, but
|
||||
is not necessary.
|
||||
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
Patches should also be submitted to the bug tracking system. If the patch
|
||||
fixes an existing bug, add the patch as an attachment to that bug report;
|
||||
otherwise, enter a new bug report that describes the patch, and attach the
|
||||
patch to that bug report.
|
||||
|
||||
Patches should be in Git-formatted form. You should use `git format-patch`
|
||||
to generate them. We recommend using [git-bz](http://git.fishsoup.net/man/git-bz.html).
|
||||
|
||||
For more information on the recommended workflow, please read
|
||||
[this wiki page](https://wiki.gnome.org/Git/WorkingWithPatches).
|
||||
|
||||
Please, follow the `CODING_STYLE` document in order to conform to GTK+'s
|
||||
coding style when submitting a code contribution.
|
||||
|
||||
Release notes
|
||||
-------------
|
||||
|
||||
The release notes for GTK+ are part of the migration guide in the API
|
||||
reference. See:
|
||||
|
||||
- [3.x release notes](https://developer.gnome.org/gtk3/unstable/gtk-migrating-2-to-3.html)
|
||||
- [4.x release notes](https://developer.gnome.org/gtk4/unstable/gtk-migrating-3-to-4.html)
|
||||
|
||||
Licensing terms
|
||||
---------------
|
||||
|
||||
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
|
||||
Software Foundation.
|
||||
|
||||
Please, see the `COPYING` file for further information.
|
206
README.win32
206
README.win32
@@ -1,206 +0,0 @@
|
||||
The Win32 backend in GTK+ is not as stable or correct as the X11 one.
|
||||
|
||||
For prebuilt runtime and developer packages see
|
||||
http://ftp.gnome.org/pub/gnome/binaries/win32/
|
||||
|
||||
Building GTK+ on Win32
|
||||
======================
|
||||
|
||||
First you obviously need developer packages for the compile-time
|
||||
dependencies: GDK-Pixbuf, Pango, atk, glib, gettext-runtime, libiconv at least.
|
||||
See http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .
|
||||
|
||||
For people compiling GTK+ with Visual C++ 2005 or later, it is
|
||||
recommended that the same compiler is used for at least GDK-Pixbuf,
|
||||
Pango, atk and glib so that crashes and errors caused by different CRTs
|
||||
can be avoided. The VS 2008 project files and/or VS Makefiles are
|
||||
either already available or will be available in the next stable release.
|
||||
Unfortunately compiling with Microsoft's compilers versions 2003 or earlier
|
||||
is not supported as compiling the latest stable GLib (which *is* required for
|
||||
building this GTK+ release) requires features from newer compilers
|
||||
and/or Platform SDKs
|
||||
|
||||
After installing the dependencies, there are two ways to build GTK+
|
||||
for win32.
|
||||
|
||||
1) GNU tools, ./configure && make install
|
||||
-----------------------------------------
|
||||
|
||||
This requires you have mingw and MSYS.
|
||||
|
||||
Use the configure script, and the resulting Makefiles (which use
|
||||
libtool and gcc to do the compilation). I use this myself, but it can
|
||||
be hard to setup correctly.
|
||||
|
||||
The full script I run to build GTK+ 2.16 unpacked from a source
|
||||
distribution is as below. This is from bulding GTK+ 2.16.5. I don't
|
||||
use any script like this to build the development branch, as I don't
|
||||
distribute any binaries from development branches.
|
||||
|
||||
# This is a shell script that calls functions and scripts from
|
||||
# tml@iki.fi's personal work env<6E>ronment. It is not expected to be
|
||||
# usable unmodified by others, and is included only for reference.
|
||||
|
||||
MOD=gtk+
|
||||
VER=2.16.5
|
||||
REV=1
|
||||
ARCH=win32
|
||||
|
||||
THIS=${MOD}_${VER}-${REV}_${ARCH}
|
||||
|
||||
RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
|
||||
DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
|
||||
|
||||
HEX=`echo $THIS | md5sum | cut -d' ' -f1`
|
||||
TARGET=c:/devel/target/$HEX
|
||||
|
||||
usedev
|
||||
usemsvs6
|
||||
|
||||
(
|
||||
|
||||
set -x
|
||||
|
||||
DEPS=`latest --arch=${ARCH} glib atk cairo pango libpng zlib libtiff jpeg`
|
||||
PROXY_LIBINTL=`latest --arch=${ARCH} proxy-libintl`
|
||||
|
||||
PKG_CONFIG_PATH=
|
||||
for D in $DEPS; do
|
||||
PATH=/devel/dist/${ARCH}/$D/bin:$PATH
|
||||
[ -d /devel/dist/${ARCH}/$D/lib/pkgconfig ] && PKG_CONFIG_PATH=/devel/dist/${ARCH}/$D/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
done
|
||||
|
||||
LIBPNG=`latest --arch=${ARCH} libpng`
|
||||
ZLIB=`latest --arch=${ARCH} zlib`
|
||||
LIBTIFF=`latest --arch=${ARCH} libtiff`
|
||||
JPEG=`latest --arch=${ARCH} jpeg`
|
||||
|
||||
patch -p0 <<'EOF'
|
||||
EOF
|
||||
|
||||
lt_cv_deplibs_check_method='pass_all' \
|
||||
CC='gcc -mtune=pentium3 -mthreads' \
|
||||
CPPFLAGS="-I/devel/dist/${ARCH}/${LIBPNG}/include \
|
||||
-I/devel/dist/${ARCH}/${ZLIB}/include \
|
||||
-I/devel/dist/${ARCH}/${LIBTIFF}/include \
|
||||
-I/devel/dist/${ARCH}/${JPEG}/include \
|
||||
-I/devel/dist/${ARCH}/${PROXY_LIBINTL}/include" \
|
||||
LDFLAGS="-L/devel/dist/${ARCH}/${LIBPNG}/lib \
|
||||
-L/devel/dist/${ARCH}/${ZLIB}/lib \
|
||||
-L/devel/dist/${ARCH}/${LIBTIFF}/lib \
|
||||
-L/devel/dist/${ARCH}/${JPEG}/lib \
|
||||
-L/devel/dist/${ARCH}/${PROXY_LIBINTL}/lib -Wl,--exclude-libs=libintl.a \
|
||||
-Wl,--enable-auto-image-base" \
|
||||
LIBS=-lintl \
|
||||
CFLAGS=-O2 \
|
||||
./configure \
|
||||
--enable-win32-backend \
|
||||
--disable-gdiplus \
|
||||
--with-included-immodules \
|
||||
--without-libjasper \
|
||||
--enable-debug=yes \
|
||||
--enable-explicit-deps=no \
|
||||
--disable-gtk-doc \
|
||||
--disable-static \
|
||||
--prefix=$TARGET &&
|
||||
|
||||
libtoolcacheize &&
|
||||
rm gtk/gtk.def &&
|
||||
(PATH="$PWD/gdk-pixbuf/.libs:/devel/target/$HEX/bin:$PATH" make -j3 install || (rm .libtool-cache* && PATH="/devel/target/$HEX/bin:$PATH" make -j3 install)) &&
|
||||
|
||||
PATH="/devel/target/$HEX/bin:$PATH" gdk-pixbuf-query-loaders >/devel/target/$HEX/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
||||
|
||||
grep -v -E 'Automatically generated|Created by|LoaderDir =' <$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders >$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp &&
|
||||
mv $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
||||
grep -v -E 'Automatically generated|Created by|ModulesPath =' <$TARGET/etc/gtk-2.0/gtk.immodules >$TARGET/etc/gtk-2.0/gtk.immodules.temp &&
|
||||
mv $TARGET/etc/gtk-2.0/gtk.immodules.temp $TARGET/etc/gtk-2.0/gtk.immodules &&
|
||||
|
||||
./gtk-zip.sh &&
|
||||
|
||||
mv /tmp/${MOD}-${VER}.zip /tmp/$RUNZIP &&
|
||||
mv /tmp/${MOD}-dev-${VER}.zip /tmp/$DEVZIP
|
||||
|
||||
) 2>&1 | tee /devel/src/tml/packaging/$THIS.log
|
||||
|
||||
(cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
|
||||
manifestify /tmp/$RUNZIP /tmp/$DEVZIP
|
||||
|
||||
You should not just copy the above blindly. There are some things in
|
||||
the script that are very specific to *my* build setup on *my* current
|
||||
machine. For instance the "latest" command, the "usedev" and
|
||||
"usemsvs6" shell functions, the /devel/dist folder. The above script
|
||||
is really just meant for reference, to give an idea. You really need
|
||||
to understand what things like PKG_CONFIG_PATH are and set them up
|
||||
properly after installing the dependencies before building GTK+.
|
||||
|
||||
As you see above, after running configure, one can just say "make
|
||||
install", like on Unix. A post-build fix is needed, running
|
||||
gdk-pixbuf-query-loaders once more to get a correct gdk-pixbuf.loaders
|
||||
file.
|
||||
|
||||
For a 64-bit build you need to remove the gtk/gtk.def file and let it
|
||||
be regenerated by the makefilery. This is because the 64-bit GTK dll
|
||||
has a slightly different list of exported function names. This is on
|
||||
purpose and not a bug. The API is the same at the source level, and
|
||||
the same #defines of some function names to actually have a _utf8
|
||||
suffix is used (just to keep the header simpler). But the
|
||||
corresponding non-suffixed function to maintain ABI stability are not
|
||||
needed in the 64-bit case (because there are no older EXEs around that
|
||||
would require such for ABI stability).
|
||||
|
||||
|
||||
2) Microsoft's tools
|
||||
--------------------
|
||||
|
||||
Use the Microsoft compiler, cl and Make, nmake. Say nmake -f
|
||||
makefile.msc in gdk and gtk. Be prepared to manually edit various
|
||||
makefile.msc files, and the makefile snippets in build/win32.
|
||||
|
||||
There are also VS 2008/2010 solution and project files to build GTK+, which
|
||||
are maintained by Chun-wei Fan. They should build GTK+ out of the box,
|
||||
provided that the afore-mentioned dependencies are installed. They will
|
||||
build GDK with the Win32 backend, GTK+ itself (with GAIL/a11y built in),
|
||||
the GAIL-Util library and the gtk-demo program.
|
||||
|
||||
Please refer to the following GNOME Live! page for a more detailed ouline
|
||||
on the process of building the GTK+ stack and its dependencies with Visual
|
||||
C++:
|
||||
|
||||
https://wiki.gnome.org/Projects/GTK+/Win32/MSVCCompilationOfGTKStack
|
||||
|
||||
Alternative 1 also generates Microsoft import libraries (.lib), if you
|
||||
have lib.exe available. It might also work for cross-compilation from
|
||||
Unix.
|
||||
|
||||
I (Tor) use method 1 myself. Hans Breuer has been taking care of the MSVC
|
||||
makefiles. At times, we disagree a bit about various issues, and for
|
||||
instance the makefile.msc files might not produce identically named
|
||||
DLLs and import libraries as the "autoconfiscated" makefiles and
|
||||
libtool do. If this bothers you, you will have to fix the makefiles.
|
||||
|
||||
Using GTK+ on Win32
|
||||
===================
|
||||
|
||||
To use GTK+ on Win32, you also need either one of the above mentioned
|
||||
compilers. Other compilers might work, but don't count on it. Look for
|
||||
prebuilt developer packages (DLLs, import libraries, headers) on the
|
||||
above website.
|
||||
|
||||
Multi-threaded use of GTK+ on Win32
|
||||
===================================
|
||||
|
||||
Multi-threaded GTK+ programs might work on Windows in special simple
|
||||
cases, but not in general. Sorry. If you have all GTK+ and GDK calls
|
||||
in the same thread, it might work. Otherwise, probably not at
|
||||
all. Possible ways to fix this are being investigated.
|
||||
|
||||
Wintab
|
||||
======
|
||||
|
||||
The tablet support uses the Wintab API. The Wintab development kit is
|
||||
no longer required. The wintab.h header file is bundled with GTK+
|
||||
sources. Unfortunately it seems that only Wacom tablets come with
|
||||
support for the Wintab API nowadays.
|
||||
|
||||
--Tor Lillqvist <tml@iki.fi>, <tml@novell.com>
|
||||
--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|
79
acinclude.m4
79
acinclude.m4
@@ -1,79 +0,0 @@
|
||||
# autoconf 2.13 / 2.50 compatibility macro
|
||||
|
||||
# GLIB_AC_DIVERT_BEFORE_HELP(STUFF)
|
||||
# ---------------------------------
|
||||
# Put STUFF early enough so that they are available for $ac_help expansion.
|
||||
# Handle both classic (<= v2.13) and modern autoconf
|
||||
AC_DEFUN([GLIB_AC_DIVERT_BEFORE_HELP],
|
||||
[ifdef([m4_divert_text], [m4_divert_text([NOTICE],[$1])],
|
||||
[ifdef([AC_DIVERT], [AC_DIVERT([NOTICE],[$1])],
|
||||
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
$1
|
||||
AC_DIVERT_POP()])])])
|
||||
|
||||
# GTK_ADD_LIB(VAR,LIBNAME)
|
||||
# ---------------------------------
|
||||
# Helper macro to add a -lBlah to a variable, avoiding repeats
|
||||
# Note that this needs to be quoted when used in an enclosing macro
|
||||
AC_DEFUN([GTK_ADD_LIB],
|
||||
[ case "$$1 " in
|
||||
*-l$2[[\ \ ]]*) ;;
|
||||
*) $1="-l$2 $$1" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
|
||||
# Checks the location of the XML Catalog
|
||||
# Usage:
|
||||
# JH_PATH_XML_CATALOG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
# Defines XMLCATALOG and XML_CATALOG_FILE substitutions
|
||||
AC_DEFUN([JH_PATH_XML_CATALOG],
|
||||
[
|
||||
# check for the presence of the XML catalog
|
||||
AC_ARG_WITH([xml-catalog],
|
||||
AC_HELP_STRING([--with-xml-catalog=CATALOG],
|
||||
[path to xml catalog to use]),,
|
||||
[with_xml_catalog=/etc/xml/catalog])
|
||||
jh_found_xmlcatalog=true
|
||||
XML_CATALOG_FILE="$with_xml_catalog"
|
||||
AC_SUBST([XML_CATALOG_FILE])
|
||||
AC_MSG_CHECKING([for XML catalog ($XML_CATALOG_FILE)])
|
||||
if test -f "$XML_CATALOG_FILE"; then
|
||||
AC_MSG_RESULT([found])
|
||||
else
|
||||
jh_found_xmlcatalog=false
|
||||
AC_MSG_RESULT([not found])
|
||||
fi
|
||||
|
||||
# check for the xmlcatalog program
|
||||
AC_PATH_PROG(XMLCATALOG, xmlcatalog, no)
|
||||
if test "x$XMLCATALOG" = xno; then
|
||||
jh_found_xmlcatalog=false
|
||||
fi
|
||||
|
||||
if $jh_found_xmlcatalog; then
|
||||
ifelse([$1],,[:],[$1])
|
||||
else
|
||||
ifelse([$2],,[AC_MSG_ERROR([could not find XML catalog])],[$2])
|
||||
fi
|
||||
])
|
||||
|
||||
# Checks if a particular URI appears in the XML catalog
|
||||
# Usage:
|
||||
# JH_CHECK_XML_CATALOG(URI, [FRIENDLY-NAME], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
AC_DEFUN([JH_CHECK_XML_CATALOG],
|
||||
[
|
||||
AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
|
||||
AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
|
||||
if $jh_found_xmlcatalog && \
|
||||
AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
|
||||
AC_MSG_RESULT([found])
|
||||
ifelse([$3],,,[$3
|
||||
])dnl
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
ifelse([$4],,
|
||||
[AC_MSG_ERROR([could not find ifelse([$2],,[$1],[$2]) in XML catalog])],
|
||||
[$4])
|
||||
fi
|
||||
])
|
46
autogen.sh
46
autogen.sh
@@ -1,46 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
test -n "$srcdir" || srcdir=`dirname "$0"`
|
||||
test -n "$srcdir" || srcdir=.
|
||||
|
||||
olddir=`pwd`
|
||||
cd "$srcdir"
|
||||
|
||||
mkdir -p m4
|
||||
|
||||
GTKDOCIZE=`which gtkdocize`
|
||||
if test -z $GTKDOCIZE; then
|
||||
echo "*** No GTK-Doc found, please install it ***"
|
||||
exit 1
|
||||
else
|
||||
gtkdocize || exit $?
|
||||
fi
|
||||
|
||||
PKGCONFIG=`which pkg-config`
|
||||
if test -z "$PKGCONFIG"; then
|
||||
echo "*** pkg-config not found, please install it ***"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pkg-config --print-errors gobject-introspection-1.0
|
||||
if [ $? != 0 ]; then
|
||||
echo "You probably need to install 'libgirepository1.0-dev'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# README and INSTALL are required by automake, but may be deleted by clean
|
||||
# up rules. to get automake to work, simply touch these here, they will be
|
||||
# regenerated from their corresponding *.in files by ./configure anyway.
|
||||
touch README INSTALL
|
||||
|
||||
AUTORECONF=`which autoreconf`
|
||||
if test -z $AUTORECONF; then
|
||||
echo "*** No autoreconf found, please install it ***"
|
||||
exit 1
|
||||
else
|
||||
autoreconf --force --install --verbose || exit $?
|
||||
fi
|
||||
|
||||
cd "$olddir"
|
||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
@@ -1,337 +0,0 @@
|
||||
/* config.h.win32.in. Merged from two versions generated by configure for gcc and MSVC. */
|
||||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* always defined to indicate that i18n is enabled */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* define to enable packagekit */
|
||||
/* #undef ENABLE_PACKAGEKIT */
|
||||
|
||||
/* The prefix for our gettext translation domains. */
|
||||
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
|
||||
|
||||
/* Disable deprecation warnings from glib */
|
||||
/* #undef GLIB_DISABLE_DEPRECATION_WARNINGS */
|
||||
|
||||
/* Define if debugging is enabled */
|
||||
#define GTK_COMPILED_WITH_DEBUGGING "yes"
|
||||
|
||||
/* Define the location where the catalogs will be installed */
|
||||
#define GTK_LOCALEDIR "NONE/share/locale"
|
||||
|
||||
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
|
||||
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
|
||||
|
||||
/* define if we have colord */
|
||||
/* #undef HAVE_COLORD */
|
||||
|
||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
/* #undef HAVE_CRT_EXTERNS_H */
|
||||
|
||||
/* Define to 1 if CUPS 1.2 API is available */
|
||||
/* #undef HAVE_CUPS_API_1_2 */
|
||||
|
||||
/* Define to 1 if you have the `dcgettext' function. */
|
||||
#define HAVE_DCGETTEXT 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||
*/
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_DECL_ISINF 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||
*/
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_DECL_ISNAN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
/* #undef HAVE_DLFCN_H */
|
||||
|
||||
/* Define to 1 if you have the `exp2' function. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_EXP2 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `flockfile' function. */
|
||||
#undef HAVE_FLOCKFILE
|
||||
|
||||
/* Define to 1 if you have the <ftw.h> header file. */
|
||||
/* #undef HAVE_FTW_H */
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
#else
|
||||
/* #undef HAVE_GETPAGESIZE */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `getresuid' function. */
|
||||
/* #undef HAVE_GETRESUID */
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
||||
/* Define if gio-unix is available */
|
||||
/* #undef HAVE_GIO_UNIX */
|
||||
|
||||
/* Have GNU ftw */
|
||||
/* #undef HAVE_GNU_FTW */
|
||||
|
||||
/* Define to 1 if you have the `httpGetAuthString' function. */
|
||||
/* #undef HAVE_HTTPGETAUTHSTRING */
|
||||
|
||||
/* Define if cups http_t authstring field is accessible */
|
||||
/* #undef HAVE_HTTP_AUTHSTRING */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_INTTYPES_H 1
|
||||
#else
|
||||
/* #undef HAVE_INTTYPES_H */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if the system has the type `IPrintDialogCallback'. */
|
||||
#define HAVE_IPRINTDIALOGCALLBACK 1
|
||||
|
||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||
/* #undef HAVE_LC_MESSAGES */
|
||||
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_LIBM 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define to 1 if you have the `localtime_r' function. */
|
||||
/* #undef HAVE_LOCALTIME_R */
|
||||
|
||||
/* Define to 1 if you have the `log2' function. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_LOG2 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `lstat' function. */
|
||||
/* #undef HAVE_LSTAT */
|
||||
|
||||
/* Define to 1 if you have the `mallinfo' function. */
|
||||
/* #undef HAVE_MALLINFO */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mkstemp' function. */
|
||||
/* #undef HAVE_MKSTEMP */
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
/* #undef HAVE_MMAP */
|
||||
|
||||
/* Define to 1 if nearbyint() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_NEARBYINT 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if libpapi available */
|
||||
/* #undef HAVE_PAPI */
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
/* #undef HAVE_PWD_H */
|
||||
|
||||
/* Have the Xrandr extension library */
|
||||
/* #undef HAVE_RANDR */
|
||||
|
||||
/* Define to 1 if rint() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_RINT 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if round() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_ROUND 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if sincos() is available */
|
||||
/* #undef HAVE_SINCOS */
|
||||
|
||||
/* Have the sockaddr_un.sun_len member */
|
||||
/* #undef HAVE_SOCKADDR_UN_SUN_LEN */
|
||||
|
||||
/* Define to 1 if solaris xinerama is available */
|
||||
/* #undef HAVE_SOLARIS_XINERAMA */
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_STDINT_H 1
|
||||
#else
|
||||
#if (_MSC_VER >= 1600) /* VS 2010+ ships with stdint.h */
|
||||
#define HAVE_STDINT_H 1
|
||||
#endif
|
||||
/* #undef HAVE_STDINT_H */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_STRINGS_H 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/mman.h> header file. */
|
||||
/* #undef HAVE_SYS_MMAN_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
/* #undef HAVE_SYS_PARAM_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if sys/sysinfo.h is available */
|
||||
/* #undef HAVE_SYS_SYSINFO_H */
|
||||
|
||||
/* Define to 1 if sys/systeminfo.h is available */
|
||||
/* #undef HAVE_SYS_SYSTEMINFO_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
#else /* _MSC_VER */
|
||||
/* #undef HAVE_SYS_TIME_H */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_UNISTD_H 1
|
||||
#else
|
||||
/* #undef HAVE_UNISTD_H */
|
||||
#endif
|
||||
|
||||
/* Have the XCOMPOSITE X extension */
|
||||
/* #undef HAVE_XCOMPOSITE */
|
||||
|
||||
/* Have the Xcursor library */
|
||||
/* #undef HAVE_XCURSOR */
|
||||
|
||||
/* Have the XDAMAGE X extension */
|
||||
/* #undef HAVE_XDAMAGE */
|
||||
|
||||
/* Have the XFIXES X extension */
|
||||
/* #undef HAVE_XFIXES */
|
||||
|
||||
/* Define to 1 if XFree Xinerama is available */
|
||||
/* #undef HAVE_XFREE_XINERAMA */
|
||||
|
||||
/* Have XGenericEvent */
|
||||
/* #undef HAVE_XGENERICEVENTS */
|
||||
|
||||
/* Define to 1 if xinerama is available */
|
||||
/* #undef HAVE_XINERAMA */
|
||||
|
||||
/* Define to use XKB extension */
|
||||
/* #undef HAVE_XKB */
|
||||
|
||||
/* Have the SYNC extension library */
|
||||
/* #undef HAVE_XSYNC */
|
||||
|
||||
/* Define to 1 if you have the `_lock_file' function. */
|
||||
#define HAVE__LOCK_FILE
|
||||
|
||||
/* Define if _NL_MEASUREMENT_MEASUREMENT is available */
|
||||
/* #undef HAVE__NL_MEASUREMENT_MEASUREMENT */
|
||||
|
||||
/* Define if _NL_PAPER_HEIGHT is available */
|
||||
/* #undef HAVE__NL_PAPER_HEIGHT */
|
||||
|
||||
/* Define if _NL_PAPER_WIDTH is available */
|
||||
/* #undef HAVE__NL_PAPER_WIDTH */
|
||||
|
||||
/* Define if _NL_TIME_FIRST_WEEKDAY is available */
|
||||
/* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
|
||||
|
||||
/* Define to 1 if you have the `_NSGetEnviron' function. */
|
||||
/* #undef HAVE__NSGETENVIRON */
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#define LT_OBJDIR ".libs/"
|
||||
|
||||
/* Define if <X11/extensions/XIproto.h> needed for xReply */
|
||||
/* #undef NEED_XIPROTO_H_FOR_XREPLY */
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
#ifndef _MSC_VER
|
||||
/* #undef NO_MINUS_C_MINUS_O */
|
||||
#else
|
||||
#define NO_MINUS_C_MINUS_O 1
|
||||
#endif
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "gtk+"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "gtk+ @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "gtk+"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@"
|
||||
|
||||
/* Use NSBundle functions to determine load paths for libraries, translations,
|
||||
etc. */
|
||||
/* #undef QUARTZ_RELOCATION */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if gmodule works and should be used */
|
||||
#define USE_GMODULE 1
|
||||
|
||||
/* Define to 1 if XInput 2.0 is available */
|
||||
/* #undef XINPUT_2 */
|
||||
|
||||
/* Define to 1 if XInput 2.2 is available */
|
||||
/* #undef XINPUT_2_2 */
|
||||
|
||||
/* Define to 1 if the X Window System is missing or not being used. */
|
||||
/* #undef X_DISPLAY_MISSING */
|
||||
|
||||
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||
/* # define _DARWIN_USE_64_BIT_INODE 1 */
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
||||
/* defines how to decorate public symbols while building */
|
||||
#ifdef _MSC_VER
|
||||
#define _GDK_EXTERN __declspec (dllexport) extern
|
||||
#else
|
||||
#define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
||||
#endif
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#define gid_t int
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#define uid_t int
|
2090
configure.ac
2090
configure.ac
File diff suppressed because it is too large
Load Diff
@@ -1,6 +0,0 @@
|
||||
## Makefile.am for gtk+/demos
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = gtk-demo widget-factory icon-browser
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,206 +0,0 @@
|
||||
## Makefile.am for gtk+/demos
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
## These should be in the order you want them to appear in the
|
||||
## demo app, which means alphabetized by demo title, not filename
|
||||
demos_base = \
|
||||
application_demo.c \
|
||||
assistant.c \
|
||||
builder.c \
|
||||
button_box.c \
|
||||
changedisplay.c \
|
||||
clipboard.c \
|
||||
colorsel.c \
|
||||
combobox.c \
|
||||
css_accordion.c \
|
||||
css_basics.c \
|
||||
css_blendmodes.c \
|
||||
css_multiplebgs.c \
|
||||
css_pixbufs.c \
|
||||
css_shadows.c \
|
||||
cursors.c \
|
||||
dialog.c \
|
||||
drawingarea.c \
|
||||
editable_cells.c \
|
||||
entry_buffer.c \
|
||||
entry_completion.c \
|
||||
event_axes.c \
|
||||
expander.c \
|
||||
filtermodel.c \
|
||||
fishbowl.c \
|
||||
widgetbowl.c \
|
||||
foreigndrawing.c \
|
||||
gestures.c \
|
||||
glarea.c \
|
||||
headerbar.c \
|
||||
hypertext.c \
|
||||
iconview.c \
|
||||
iconview_edit.c \
|
||||
images.c \
|
||||
infobar.c \
|
||||
links.c \
|
||||
listbox.c \
|
||||
flowbox.c \
|
||||
list_store.c \
|
||||
markup.c \
|
||||
menus.c \
|
||||
modelbutton.c \
|
||||
overlay.c \
|
||||
overlay2.c \
|
||||
panes.c \
|
||||
pickers.c \
|
||||
pixbufs.c \
|
||||
popover.c \
|
||||
printing.c \
|
||||
revealer.c \
|
||||
rotated_text.c \
|
||||
scale.c \
|
||||
search_entry.c \
|
||||
search_entry2.c \
|
||||
shortcuts.c \
|
||||
sidebar.c \
|
||||
sizegroup.c \
|
||||
spinbutton.c \
|
||||
spinner.c \
|
||||
stack.c \
|
||||
tabs.c \
|
||||
textmask.c \
|
||||
textview.c \
|
||||
textscroll.c \
|
||||
theming_style_classes.c \
|
||||
toolpalette.c \
|
||||
transparent.c \
|
||||
tree_store.c
|
||||
|
||||
demos_opt =
|
||||
|
||||
if BUILD_FONT_DEMO
|
||||
demos_opt += font_features.c
|
||||
endif
|
||||
|
||||
if OS_UNIX
|
||||
demos_opt += pagesetup.c
|
||||
endif
|
||||
|
||||
demos = $(demos_base) $(demos_opt)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GDK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
if BUILD_FONT_DEMO
|
||||
AM_CPPFLAGS += $(FONTDEMO_CFLAGS)
|
||||
LDADDS += $(FONTDEMO_LIBS)
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = gtk4-demo gtk4-demo-application
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
dist_desktop_DATA = gtk4-demo.desktop
|
||||
|
||||
BUILT_SOURCES = demos.h demo_resources.c
|
||||
|
||||
EXTRA_DIST += \
|
||||
data/source.svg \
|
||||
data/symbolic-source.svg \
|
||||
demo.gresource.xml \
|
||||
$(resource_files) \
|
||||
org.gtk.Demo.gschema.xml \
|
||||
demos.h.win32
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.Demo.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
demos.h: $(demos) geninclude.pl
|
||||
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
|
||||
|
||||
demos.h.win32: $(demos_base) geninclude.pl
|
||||
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos_base)) > demos.h.win32
|
||||
|
||||
nodist_gtk4_demo_SOURCES = demos.h
|
||||
|
||||
gtk4_demo_SOURCES = \
|
||||
$(demos) \
|
||||
gtkfishbowl.c \
|
||||
gtkfishbowl.h \
|
||||
demo_resources.c \
|
||||
main.c
|
||||
|
||||
gtk4_demo_DEPENDENCIES = $(DEPS)
|
||||
gtk4_demo_LDADD = $(LDADDS)
|
||||
gtk4_demo_LDFLAGS = -export-dynamic
|
||||
|
||||
gtk4_demo_application_SOURCES = \
|
||||
application.c \
|
||||
demo_resources.c
|
||||
|
||||
gtk4_demo_application_LDADD = $(LDADDS)
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/demo.gresource.xml)
|
||||
|
||||
demo_resources.c: demo.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
|
||||
|
||||
iconthemedir = $(datadir)/icons/hicolor
|
||||
|
||||
appsicon16dir = $(iconthemedir)/16x16/apps
|
||||
appsicon22dir = $(iconthemedir)/22x22/apps
|
||||
appsicon24dir = $(iconthemedir)/24x24/apps
|
||||
appsicon32dir = $(iconthemedir)/32x32/apps
|
||||
appsicon48dir = $(iconthemedir)/48x48/apps
|
||||
appsicon256dir = $(iconthemedir)/256x256/apps
|
||||
appsiconscalabledir = $(iconthemedir)/scalable/apps
|
||||
|
||||
dist_appsicon16_DATA = data/16x16/gtk4-demo.png data/16x16/gtk4-demo-symbolic.symbolic.png
|
||||
dist_appsicon22_DATA = data/22x22/gtk4-demo.png data/22x22/gtk4-demo-symbolic.symbolic.png
|
||||
dist_appsicon24_DATA = data/24x24/gtk4-demo.png data/24x24/gtk4-demo-symbolic.symbolic.png
|
||||
dist_appsicon32_DATA = data/32x32/gtk4-demo.png data/32x32/gtk4-demo-symbolic.symbolic.png
|
||||
dist_appsicon48_DATA = data/48x48/gtk4-demo.png data/48x48/gtk4-demo-symbolic.symbolic.png
|
||||
dist_appsicon256_DATA = data/256x256/gtk4-demo.png data/256x256/gtk4-demo-symbolic.symbolic.png
|
||||
|
||||
update_icon_cache = $(top_builddir)/gtk/gtk4-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
||||
|
||||
install-data-hook: install-update-icon-cache
|
||||
uninstall-hook: uninstall-update-icon-cache
|
||||
|
||||
install-update-icon-cache:
|
||||
$(AM_V_at)$(POST_INSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
uninstall-update-icon-cache:
|
||||
$(AM_V_at)$(POST_UNINSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gtk4-demo gtk4-demo-application
|
||||
|
||||
gtk4_demo_FILES = $(gtk4_demo_SOURCES)
|
||||
gtk4_demo_EXCLUDES = font_features.c|pagesetup.c
|
||||
|
||||
gtk4_demo_application_FILES = $(gtk4_demo_application_SOURCES)
|
||||
gtk4_demo_application_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs12/gtk4-demo.vcxproj \
|
||||
$(top_builddir)/win32/vs12/gtk4-demo-application.vcxproj
|
||||
|
||||
DISTCLEANFILES = demos.h demos.h.win32
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,91 +0,0 @@
|
||||
## Makefile for building the gtk test apps with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
## There is no install target, you have to decide where and
|
||||
## how to install for yourself.
|
||||
|
||||
TOP = ..\..\..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
!IFNDEF PERL
|
||||
PERL = perl
|
||||
!ENDIF
|
||||
|
||||
################################################################
|
||||
|
||||
# Possibly override versions from build/win32/module.defs
|
||||
GTK_VER = 2.0
|
||||
GDK_PIXBUF_VER = 2.0
|
||||
|
||||
GDK_LIBS = ../../gdk/gdk-win32-$(GTK_VER).lib
|
||||
GTK_LIBS = ../../gtk/gtk-win32-$(GTK_VER).lib
|
||||
GDK_PIXBUF_LIBS = ../../gdk-pixbuf/gdk_pixbuf-$(GDK_PIXBUF_VER).lib
|
||||
|
||||
INCLUDES = -FImsvc_recommended_pragmas.h -I . -I ../.. -I ../../gdk -I ../../gdk-pixbuf -I ../../gtk
|
||||
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) $(INTL_CFLAGS) $(ATK_CFLAGS) $(CAIRO_CFLAGS)
|
||||
LDFLAGS = /link /machine:ix86 $(LINKDEBUG)
|
||||
DEFINES = -DG_LOG_DOMAIN=\"GtkDemo\" -DGTK_VERSION=\"$(GTK_VER)\" \
|
||||
-DDEMOCODEDIR=\".\"
|
||||
|
||||
TOUCH = copy makefile.msc+nul
|
||||
|
||||
all : \
|
||||
demos.h \
|
||||
gtk-demo.exe
|
||||
|
||||
## These should be in the order you want them to appear in the
|
||||
## demo app, which means alphabetized by demo title, not filename
|
||||
DEMOS = \
|
||||
button_box.c \
|
||||
clipboard.c \
|
||||
colorsel.c \
|
||||
dialog.c \
|
||||
drawingarea.c \
|
||||
editable_cells.c \
|
||||
entry_completion.c \
|
||||
expander.c \
|
||||
hypertext.c \
|
||||
iconview.c \
|
||||
images.c \
|
||||
list_store.c \
|
||||
menus.c \
|
||||
panes.c \
|
||||
pixbufs.c \
|
||||
rotated_text.c \
|
||||
sizegroup.c \
|
||||
textview.c \
|
||||
tree_store.c \
|
||||
ui_manager.c \
|
||||
|
||||
|
||||
demos.h: $(DEMOS) geninclude.pl
|
||||
$(PERL) geninclude.pl $(DEMOS) > demos.h
|
||||
|
||||
OBJECTS = \
|
||||
button_box.obj \
|
||||
changedisplay.obj \
|
||||
clipboard.obj \
|
||||
colorsel.obj \
|
||||
dialog.obj \
|
||||
drawingarea.obj \
|
||||
editable_cells.obj \
|
||||
entry_completion.obj \
|
||||
expander.obj \
|
||||
hypertext.obj \
|
||||
iconview.obj \
|
||||
images.obj \
|
||||
list_store.obj \
|
||||
menus.obj \
|
||||
panes.obj \
|
||||
pixbufs.obj \
|
||||
rotated_text.obj \
|
||||
sizegroup.obj \
|
||||
textview.obj \
|
||||
tree_store.obj \
|
||||
ui_manager.obj \
|
||||
main.obj \
|
||||
|
||||
gtk-demo.exe : demos.h $(OBJECTS)
|
||||
$(CC) $(CFLAGS) -Fegtk-demo.exe $(OBJECTS) $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) \
|
||||
$(CAIRO_LIBS) $(PANGOCAIRO_LIBS) $(PANGO_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
||||
|
@@ -1,48 +0,0 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
bin_PROGRAMS = gtk4-icon-browser
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
dist_desktop_DATA = gtk4-icon-browser.desktop
|
||||
|
||||
gtk4_icon_browser_SOURCES = \
|
||||
main.c \
|
||||
iconbrowserapp.c iconbrowserapp.h \
|
||||
iconbrowserwin.c iconbrowserwin.h \
|
||||
iconstore.c iconstore.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c
|
||||
|
||||
resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/iconbrowser.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
menus.ui \
|
||||
iconbrowser.gresource.xml \
|
||||
window.ui \
|
||||
icon.list
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gtk4-icon-browser
|
||||
|
||||
gtk4_icon_browser_FILES = $(gtk4_icon_browser_SOURCES)
|
||||
gtk4_icon_browser_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: $(top_builddir)/win32/vs12/gtk4-icon-browser.vcxproj
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,71 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
bin_PROGRAMS = gtk4-widget-factory
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
dist_desktop_DATA = gtk4-widget-factory.desktop
|
||||
|
||||
gtk4_widget_factory_SOURCES = \
|
||||
widget-factory.c \
|
||||
widget_factory_resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
widget_factory_resources.c
|
||||
|
||||
gtk4_widget_factory_DEPENDENCIES = \
|
||||
$(top_builddir)/gtk/libgtk-4.la
|
||||
|
||||
gtk4_widget_factory_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
gtk4_widget_factory_LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
widget_factory_resources.c: widget-factory.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/widget-factory.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
|
||||
|
||||
|
||||
iconthemedir = $(datadir)/icons/hicolor
|
||||
|
||||
appsicon16dir = $(iconthemedir)/16x16/apps
|
||||
appsicon22dir = $(iconthemedir)/22x22/apps
|
||||
appsicon24dir = $(iconthemedir)/24x24/apps
|
||||
appsicon32dir = $(iconthemedir)/32x32/apps
|
||||
appsicon48dir = $(iconthemedir)/48x48/apps
|
||||
appsicon256dir = $(iconthemedir)/256x256/apps
|
||||
|
||||
dist_appsicon16_DATA = data/16x16/gtk4-widget-factory.png data/16x16/gtk4-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon22_DATA = data/22x22/gtk4-widget-factory.png data/22x22/gtk4-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon24_DATA = data/24x24/gtk4-widget-factory.png data/24x24/gtk4-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon32_DATA = data/32x32/gtk4-widget-factory.png data/32x32/gtk4-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon48_DATA = data/48x48/gtk4-widget-factory.png data/48x48/gtk4-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon256_DATA = data/256x256/gtk4-widget-factory.png data/256x256/gtk4-widget-factory-symbolic.symbolic.png
|
||||
|
||||
update_icon_cache = $(top_builddir)/gtk/gtk4-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
||||
|
||||
install-data-hook: install-update-icon-cache
|
||||
uninstall-hook: uninstall-update-icon-cache
|
||||
|
||||
install-update-icon-cache:
|
||||
$(AM_V_at)$(POST_INSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
uninstall-update-icon-cache:
|
||||
$(AM_V_at)$(POST_UNINSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
EXTRA_DIST += \
|
||||
widget-factory.ui \
|
||||
widget-factory.css \
|
||||
menus.ui \
|
||||
help-overlay.ui \
|
||||
widget-factory.gresource.xml \
|
||||
data/source.svg \
|
||||
data/symbolic-source.svg
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,20 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = reference tools
|
||||
|
||||
EXTRA_DIST += \
|
||||
CODING-STYLE \
|
||||
developers.txt \
|
||||
dnd_internals.txt \
|
||||
focus_tracking.txt \
|
||||
RELEASE-HOWTO \
|
||||
sizing-test.txt \
|
||||
styles.txt \
|
||||
text_widget_internals.txt \
|
||||
tree-column-sizing.png \
|
||||
tree-column-sizing.txt \
|
||||
widget_geometry.txt \
|
||||
widget_system.txt
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,108 +0,0 @@
|
||||
How to do a GTK+ release?
|
||||
=========================
|
||||
|
||||
Make sure you have suitable versions of autoconf and libtool.
|
||||
Also make sure you have the following packages installed with all their
|
||||
dependencies:
|
||||
* gtk-doc
|
||||
* docbook-utils
|
||||
Without those packages make distcheck will *not* pass.
|
||||
Make sure that gtk-doc is the latest released version.
|
||||
|
||||
|
||||
0) Go back to a pristine working directory. With git, this works:
|
||||
|
||||
git clean -f -x
|
||||
|
||||
1) autogen and build it, make sure to enable docs by specifying
|
||||
--enable-gtk-doc --enable-man
|
||||
|
||||
2) Update NEWS based on the content of git log; follow the format
|
||||
of prior entries. This includes finding noteworthy new features,
|
||||
collecting summaries for all the fixed bugs that are referenced
|
||||
and collecting all updated translations.
|
||||
Also collect the names of all contributors that are mentioned.
|
||||
We don't discriminate between bug reporters, patch writers,
|
||||
committers, etc. Anybody who is mentioned in ChangeLog gets
|
||||
credits, but only real names, not email addresses or nicknames.
|
||||
|
||||
3) Update the pot files and commit the changes:
|
||||
|
||||
make -C po gtk40.pot
|
||||
make -C po-properties gtk40-properties.pot
|
||||
|
||||
4) In particular, if this is a major, stable, release, verify that
|
||||
README.in contains the relevant release notes and that the
|
||||
required versions of dependencies in INSTALL.in are in sync
|
||||
with configure.ac.
|
||||
|
||||
5) Verify that the version in configure.ac has been bumped after the last
|
||||
release. (Note that this is critical, a slip-up here will cause the
|
||||
soname to change).
|
||||
|
||||
6) Make sure that make check is happy (If you don't do it here, make distcheck
|
||||
will also catch it, but it is kind of disheartening to see make distcheck
|
||||
fail due to an extraneous symbol after watching it build the docs for an
|
||||
hour...).
|
||||
Typical problems to expect here (depending on whether this is a devel
|
||||
snapshot or a stable release):
|
||||
* forgotten source files
|
||||
* new symbols missing from .symbols files
|
||||
* symbols that are exported by should be private (static or _-prefixed)
|
||||
* symbols that cause PLT entries. This is either caused by using a function
|
||||
in the same library function without including the header or by using a
|
||||
function from a different library, which is not yet allowed by the filter
|
||||
in pltcheck.sh
|
||||
|
||||
7) If this is a devel release, make sure that the docs for new symbols
|
||||
are in good shape. Look at the -unused.txt files and add stuff found
|
||||
there to the corresponding -sections.txt file. Look at the
|
||||
-undocumented.txt files and see if there is anything in there that
|
||||
should be documented. If it is, this may be due to typos in the doc
|
||||
comments in the source. Make sure that all new symbols have proper
|
||||
Since: tags, and that there is an index in the main -docs.sgml for
|
||||
the next stable version.
|
||||
|
||||
8) make distcheck
|
||||
|
||||
9) Fix broken stuff found by 8), commit changes: git commit -a, repeat.
|
||||
|
||||
10) Once distcheck succeeds, verify that the tree is clean: git diff should
|
||||
come up empty.
|
||||
|
||||
10) Now you've got the tarball. Check that the tarball size looks
|
||||
reasonable compared to previous releases. If the size goes down
|
||||
a lot, likely the docs went missing for some reason. Or the translations.
|
||||
If the size goes up by a lot, something else may be wrong.
|
||||
|
||||
11) Tag the release. The git command for doing that looks like
|
||||
|
||||
git tag -m "GTK+ 2.12.10" 2.12.10
|
||||
|
||||
12) Push the tagged commit upstream. The git command for doing that is
|
||||
|
||||
git push origin refs/tags/2.12.10
|
||||
|
||||
13) Bump the version number in configure.ac and commit and push this change
|
||||
|
||||
14) Upload the tarball to master.gnome.org and run install-module to transfer
|
||||
it to download.gnome.org. If you don't have an account on master.gnome.org,
|
||||
find someone who can do it for you. The command for this looks like
|
||||
|
||||
scp gtk+-2.12.10.tar.xz matthiasc@master.gnome.org:
|
||||
ssh matthiasc@master.gnome.org ftpadmin install gtk+-2.12.10.tar.xz
|
||||
|
||||
15) Upload the tarball and checksum to ftp.gtk.org and put them in the right
|
||||
directory below /ftp/pub. Pay attention to correct ownership, and don't
|
||||
forget to update the LATEST file in the directory.
|
||||
|
||||
16) Go to the gnome-announce list archives, find the last announce message,
|
||||
create a new message in the same form, replacing version numbers,
|
||||
commentary at the top about "what this release is about" and the
|
||||
summary of changes.
|
||||
|
||||
17) Send it to gnome-announce-list, gtk-list, gtk-app-devel-list and
|
||||
gtk-devel-list. Set reply-to to desktop-devel-list.
|
||||
|
||||
18) Add a link to the release announcement to www.gtk.org which lives
|
||||
in the gtk-web git module.
|
126
docs/RELEASE-HOWTO.md
Normal file
126
docs/RELEASE-HOWTO.md
Normal file
@@ -0,0 +1,126 @@
|
||||
How to do a GTK+ release?
|
||||
=========================
|
||||
|
||||
## Before we begin
|
||||
|
||||
Make sure you have suitable versions of Meson and Ninja.
|
||||
|
||||
Also make sure you have the following packages installed with all their
|
||||
dependencies:
|
||||
|
||||
* gtk-doc
|
||||
* docbook-utils
|
||||
|
||||
Without those packages make distcheck will *not* pass.
|
||||
|
||||
Make sure that gtk-doc is the latest released version.
|
||||
|
||||
## Release check list
|
||||
|
||||
0. Save all your work, then move to the branch from which you want
|
||||
to release. Go back to a pristine working directory. With Git,
|
||||
this works:
|
||||
|
||||
```sh
|
||||
$ git clean -dfx
|
||||
```
|
||||
|
||||
1. Build using the common sequence:
|
||||
|
||||
```sh
|
||||
$ meson _build .
|
||||
$ ninja -C _build
|
||||
```
|
||||
|
||||
2. Update NEWS based on the content of git log; follow the format of prior
|
||||
entries. This includes finding noteworthy new features, collecting
|
||||
summaries for all the fixed bugs that are referenced and collecting all
|
||||
updated translations. Also collect the names of all contributors that
|
||||
are mentioned. We don't discriminate between bug reporters, patch
|
||||
writers, committers, etc. Anybody who is mentioned in the commit log
|
||||
gets a credit, but only real names, not email addresses or nicknames.
|
||||
|
||||
3. Update the pot files and commit the changes:
|
||||
|
||||
```sh
|
||||
$ ninja -C _build gtk40-pot
|
||||
$ ninja -C _build gtk40-properties-pot
|
||||
```
|
||||
|
||||
4. If this is a major, stable, release, verify that the release notes
|
||||
in the API reference contain the relevant items.
|
||||
|
||||
5. Verify that the version in `meson.build` has been bumped after the last
|
||||
release. **Note**: this is critical, a slip-up here will cause the soname
|
||||
to change.
|
||||
|
||||
6. Make sure that `mesontest` is happy (`ninja dist` will also run the test
|
||||
suite, but it's better to catch issues before committing and tagging
|
||||
the release). Typical problems to expect here (depending on whether this
|
||||
is a devel snapshot or a stable release):
|
||||
|
||||
* forgotten source files
|
||||
* new symbols missing the `GDK_AVAILABLE_IN_` annotation
|
||||
* wrong introspection annotations
|
||||
* missing documentation
|
||||
|
||||
7. If this is a devel release, make sure that the docs for new symbols are
|
||||
in good shape. Look at the -unused.txt files and add stuff found there
|
||||
to the corresponding `-sections.txt` file. Look at the `-undocumented.txt`
|
||||
files and see if there is anything in there that should be documented.
|
||||
If it is, this may be due to typos in the doc comments in the source.
|
||||
Make sure that all new symbols have proper Since: tags, and that there
|
||||
is an index in the main `-docs.xml` for the next stable version.
|
||||
|
||||
8. Run `ninja dist` to generate the tarball.
|
||||
|
||||
9. Fix broken stuff found by 8), commit changes, repeat.
|
||||
|
||||
10. Once `dist` succeeds, verify that the tree is clean and all the changes
|
||||
needed to make the release have been committed: `git diff` should come
|
||||
up empty. The last commit must be the commit that bumps up the version
|
||||
of the release in the `meson.build` file. Use `git rebase` if you had to
|
||||
add more commits after the version bump and `dist` successfully passing.
|
||||
If you change the history, remember to rebuild the tarball.
|
||||
|
||||
11. Now you've got the tarball. Check that the tarball size looks reasonable
|
||||
compared to previous releases. If the size goes down a lot, likely the
|
||||
docs went missing for some reason. Or the translations. If the size goes
|
||||
up by a lot, something else may be wrong.
|
||||
|
||||
12. Tag the release. The git command for doing that looks like:
|
||||
|
||||
```sh
|
||||
$ git tag -m "GTK+ 4.2.0" 4.2.0
|
||||
```
|
||||
|
||||
13. Bump the version number in `meson.build` and commit the change.
|
||||
|
||||
14. Push the changes upstream, and push the tag as well. The git command for
|
||||
doing that is:
|
||||
|
||||
```sh
|
||||
$ git push origin
|
||||
$ git push origin 4.2.0
|
||||
```
|
||||
|
||||
15. Upload the tarball to `master.gnome.org` and run `ftpadmin install` to
|
||||
transfer it to `download.gnome.org`. If you don't have an account on
|
||||
`master.gnome.org`, find someone who can do it for you. The command for
|
||||
this looks like:
|
||||
|
||||
```sh
|
||||
$ scp gtk+-4.2.0.tar.xz matthiasc@master.gnome.org:
|
||||
$ ssh matthiasc@master.gnome.org ftpadmin install gtk+-4.2.0.tar.xz
|
||||
```
|
||||
|
||||
16. Go to the gnome-announce list archives, find the last announce message,
|
||||
create a new message in the same form, replacing version numbers,
|
||||
commentary at the top about "what this release is about" and the
|
||||
summary of changes.
|
||||
|
||||
17. Send it to gnome-announce-list, gtk-list, gtk-app-devel-list and
|
||||
gtk-devel-list. Set reply-to to desktop-devel-list.
|
||||
|
||||
18. Add a link to the release announcement to www.gtk.org which lives
|
||||
in the gtk-web git module.
|
@@ -1,8 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = gdk gsk gtk
|
||||
|
||||
GITIGNOREFILES = */*.1
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,207 +0,0 @@
|
||||
DOC_MODULE = gdk4
|
||||
DOC_MAIN_SGML_FILE = gdk4-docs.xml
|
||||
SCAN_OPTIONS = \
|
||||
--deprecated-guards=GDK_DISABLE_DEPRECATED \
|
||||
--ignore-decorators=G_GNUC_WARN_UNUSED_RESULT
|
||||
|
||||
DOC_SOURCE_DIR = \
|
||||
$(top_srcdir)/gdk \
|
||||
$(top_srcdir)/gdk/x11 \
|
||||
$(top_builddir)/gdk
|
||||
|
||||
HFILE_GLOB = \
|
||||
$(top_srcdir)/gdk/*.h \
|
||||
$(top_srcdir)/gdk/x11/gdkx.h \
|
||||
$(top_builddir)/gdk/*.h
|
||||
CFILE_GLOB = \
|
||||
$(top_srcdir)/gdk/*.c
|
||||
|
||||
IGNORE_HFILES = \
|
||||
gdkintl.h \
|
||||
gdkmarshalers.h \
|
||||
gdkkeysyms.h \
|
||||
gdkinternals.h \
|
||||
gdkprivate.h \
|
||||
gdk-private.h \
|
||||
gdkapplaunchcontextprivate.h \
|
||||
gdkcursorprivate.h \
|
||||
gdkdevicemanagerprivate.h \
|
||||
gdkdeviceprivate.h \
|
||||
gdkdisplaymanagerprivate.h \
|
||||
gdkdisplayprivate.h \
|
||||
gdkdndprivate.h \
|
||||
gdkdrawcontextprivate.h \
|
||||
gdkframeclockprivate.h \
|
||||
gdkglcontextprivate.h \
|
||||
gdkkeysprivate.h \
|
||||
gdkmonitorprivate.h \
|
||||
gdkscreenprivate.h \
|
||||
gdkseatdefaultprivate.h \
|
||||
gdkseatprivate.h \
|
||||
gdkvisualprivate.h \
|
||||
gdkvulkancontextprivate.h \
|
||||
keyname-table.h \
|
||||
win32 \
|
||||
x11 \
|
||||
quartz \
|
||||
broadway \
|
||||
wayland \
|
||||
$()
|
||||
|
||||
EXTRA_HFILES = \
|
||||
$(top_srcdir)/gdk/x11/gdkx.h \
|
||||
$()
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
GTKDOC_LIBS = $(top_builddir)/gtk/libgtk-4.la $(GDK_DEP_LIBS)
|
||||
|
||||
MKDB_OPTIONS = --output-format=xml --name-space=gdk
|
||||
|
||||
content_files = \
|
||||
version.xml \
|
||||
$()
|
||||
|
||||
HTML_IMAGES = \
|
||||
images/rotated-text.png \
|
||||
images/X_cursor.png \
|
||||
images/arrow.png \
|
||||
images/based_arrow_down.png \
|
||||
images/based_arrow_up.png \
|
||||
images/boat.png \
|
||||
images/bogosity.png \
|
||||
images/bottom_left_corner.png \
|
||||
images/bottom_right_corner.png \
|
||||
images/bottom_side.png \
|
||||
images/bottom_tee.png \
|
||||
images/box_spiral.png \
|
||||
images/center_ptr.png \
|
||||
images/circle.png \
|
||||
images/clock.png \
|
||||
images/coffee_mug.png \
|
||||
images/cross.png \
|
||||
images/cross_reverse.png \
|
||||
images/crosshair.png \
|
||||
images/diamond_cross.png \
|
||||
images/dot.png \
|
||||
images/dotbox.png \
|
||||
images/double_arrow.png \
|
||||
images/draft_large.png \
|
||||
images/draft_small.png \
|
||||
images/draped_box.png \
|
||||
images/exchange.png \
|
||||
images/fleur.png \
|
||||
images/gobbler.png \
|
||||
images/gumby.png \
|
||||
images/hand1.png \
|
||||
images/hand2.png \
|
||||
images/heart.png \
|
||||
images/icon.png \
|
||||
images/iron_cross.png \
|
||||
images/left_ptr.png \
|
||||
images/left_side.png \
|
||||
images/left_tee.png \
|
||||
images/leftbutton.png \
|
||||
images/ll_angle.png \
|
||||
images/lr_angle.png \
|
||||
images/man.png \
|
||||
images/middlebutton.png \
|
||||
images/mouse.png \
|
||||
images/pencil.png \
|
||||
images/pirate.png \
|
||||
images/plus.png \
|
||||
images/question_arrow.png \
|
||||
images/right_ptr.png \
|
||||
images/right_side.png \
|
||||
images/right_tee.png \
|
||||
images/rightbutton.png \
|
||||
images/rtl_logo.png \
|
||||
images/sailboat.png \
|
||||
images/sb_down_arrow.png \
|
||||
images/sb_h_double_arrow.png \
|
||||
images/sb_left_arrow.png \
|
||||
images/sb_right_arrow.png \
|
||||
images/sb_up_arrow.png \
|
||||
images/sb_v_double_arrow.png \
|
||||
images/shuttle.png \
|
||||
images/sizing.png \
|
||||
images/spider.png \
|
||||
images/spraycan.png \
|
||||
images/star.png \
|
||||
images/target.png \
|
||||
images/tcross.png \
|
||||
images/top_left_arrow.png \
|
||||
images/top_left_corner.png \
|
||||
images/top_right_corner.png \
|
||||
images/top_side.png \
|
||||
images/top_tee.png \
|
||||
images/trek.png \
|
||||
images/ul_angle.png \
|
||||
images/umbrella.png \
|
||||
images/ur_angle.png \
|
||||
images/watch.png \
|
||||
images/xterm.png \
|
||||
images/alias_cursor.png \
|
||||
images/all_scroll_cursor.png \
|
||||
images/cell_cursor.png \
|
||||
images/col_resize_cursor.png \
|
||||
images/copy_cursor.png \
|
||||
images/crosshair_cursor.png \
|
||||
images/default_cursor.png \
|
||||
images/e_resize_cursor.png \
|
||||
images/ew_resize_cursor.png \
|
||||
images/grabbing_cursor.png \
|
||||
images/grab_cursor.png \
|
||||
images/hand_cursor.png \
|
||||
images/context_menu_cursor.png \
|
||||
images/help_cursor.png \
|
||||
images/move_cursor.png \
|
||||
images/ne_resize_cursor.png \
|
||||
images/nesw_resize_cursor.png \
|
||||
images/no_drop_cursor.png \
|
||||
images/not_allowed_cursor.png \
|
||||
images/n_resize_cursor.png \
|
||||
images/ns_resize_cursor.png \
|
||||
images/nw_resize_cursor.png \
|
||||
images/nwse_resize_cursor.png \
|
||||
images/pointer_cursor.png \
|
||||
images/progress_cursor.png \
|
||||
images/row_resize_cursor.png \
|
||||
images/se_resize_cursor.png \
|
||||
images/s_resize_cursor.png \
|
||||
images/sw_resize_cursor.png \
|
||||
images/text_cursor.png \
|
||||
images/vertical_text_cursor.png \
|
||||
images/wait_cursor.png \
|
||||
images/w_resize_cursor.png \
|
||||
images/X_cursor.png \
|
||||
images/zoom_in_cursor.png \
|
||||
images/zoom_out_cursor.png \
|
||||
$()
|
||||
|
||||
if ENABLE_DOC_CROSS_REFERENCES
|
||||
# Extra options to supply to gtkdoc-fixref
|
||||
FIXXREF_OPTIONS = \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
||||
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
|
||||
endif
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
EXTRA_DIST += version.xml.in
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
|
||||
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
|
||||
#TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,64 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
DOC_MODULE = gsk4
|
||||
DOC_MAIN_SGML_FILE = gsk4-docs.xml
|
||||
|
||||
SCAN_OPTIONS = --deprecated-guards=GDK_DISABLE_DEPRECATED \
|
||||
--ignore-decorators=G_GNUC_WARN_UNUSED_RESULT
|
||||
|
||||
DOC_SOURCE_DIR = $(top_srcdir)/gsk $(top_builddir)/gsk
|
||||
|
||||
HFILE_GLOB = $(top_srcdir)/gsk/*.h
|
||||
CFILE_GLOB = $(top_srcdir)/gsk/*.c
|
||||
|
||||
IGNORE_HFILES = \
|
||||
gskcairorendererprivate.h \
|
||||
gskdebugprivate.h \
|
||||
gskdriverprivate.h \
|
||||
gskprofilerprivate.h \
|
||||
gskglrendererprivate.h \
|
||||
gskprivate.h \
|
||||
gskprofilerprivate.h \
|
||||
gskrendererprivate.h \
|
||||
gskrendernodeprivate.h \
|
||||
gskshaderbuilderprivate.h \
|
||||
$()
|
||||
|
||||
EXTRA_HFILES =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gsk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
GTKDOC_LIBS = $(top_builddir)/gtk/libgtk-4.la $(GDK_DEP_LIBS)
|
||||
|
||||
MKDB_OPTIONS=--output-format=xml --name-space=gsk
|
||||
|
||||
content_files = \
|
||||
version.xml
|
||||
|
||||
HTML_IMAGES =
|
||||
|
||||
if ENABLE_DOC_CROSS_REFERENCES
|
||||
# Extra options to supply to gtkdoc-fixref
|
||||
FIXXREF_OPTIONS = \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
||||
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
|
||||
endif
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
EXTRA_DIST += version.xml.in
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
|
||||
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
|
||||
#TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,567 +0,0 @@
|
||||
DOC_MODULE = gtk4
|
||||
|
||||
DOC_MAIN_SGML_FILE = gtk4-docs.xml
|
||||
|
||||
SCAN_OPTIONS = --deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
|
||||
|
||||
DOC_SOURCE_DIR = $(top_srcdir)/gtk $(top_builddir)/gtk
|
||||
|
||||
HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
||||
CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
||||
|
||||
# Header files to ignore when scanning
|
||||
IGNORE_HFILES = \
|
||||
inspector \
|
||||
a11y \
|
||||
gtkaccelgroupprivate.h \
|
||||
gtkaccelmapprivate.h \
|
||||
gtkadjustmentprivate.h \
|
||||
gtkallocatedbitmaskprivate.h \
|
||||
gtkappchooserprivate.h \
|
||||
gtkapplicationaccelsprivate.h \
|
||||
gtkapplicationprivate.h \
|
||||
gtkbindingsprivate.h \
|
||||
gtkbitmaskprivate.h \
|
||||
gtkboxgadgetprivate.h \
|
||||
gtkboxprivate.h \
|
||||
gtkbuilderprivate.h \
|
||||
gtkbuiltiniconprivate.h \
|
||||
gtkbuttonprivate.h \
|
||||
gtkcellareaboxcontextprivate.h \
|
||||
gtkcheckbuttonprivate.h \
|
||||
gtkclipboardprivate.h \
|
||||
gtkcolorchooserprivate.h \
|
||||
gtkcoloreditorprivate.h \
|
||||
gtkcolorplaneprivate.h \
|
||||
gtkcolorscaleprivate.h \
|
||||
gtkcolorswatchprivate.h \
|
||||
gtkcolorutils.h \
|
||||
gtkcomboboxprivate.h \
|
||||
gtkcomposetable.h \
|
||||
gtkcontainerprivate.h \
|
||||
gtkcssanimatedstyleprivate.h \
|
||||
gtkcssanimationprivate.h \
|
||||
gtkcssarrayvalueprivate.h \
|
||||
gtkcssbgsizevalueprivate.h \
|
||||
gtkcssbordervalueprivate.h \
|
||||
gtkcsscalcvalueprivate.h \
|
||||
gtkcsscolorvalueprivate.h \
|
||||
gtkcsscornervalueprivate.h \
|
||||
gtkcsscustomgadgetprivate.h \
|
||||
gtkcsscustompropertyprivate.h \
|
||||
gtkcssdimensionvalueprivate.h \
|
||||
gtkcsseasevalueprivate.h \
|
||||
gtkcssenginevalueprivate.h \
|
||||
gtkcssenumvalueprivate.h \
|
||||
gtkcssgadgetprivate.h \
|
||||
gtkcssiconthemevalueprivate.h \
|
||||
gtkcssimagebuiltinprivate.h \
|
||||
gtkcssimagecrossfadeprivate.h \
|
||||
gtkcssimagefallbackprivate.h \
|
||||
gtkcssimagegradientprivate.h \
|
||||
gtkcssimageiconthemeprivate.h \
|
||||
gtkcssimagelinearprivate.h \
|
||||
gtkcssimageradialprivate.h \
|
||||
gtkcssimageprivate.h \
|
||||
gtkcssimagerecolorprivate.h \
|
||||
gtkcssimagescaledprivate.h \
|
||||
gtkcssimagesurfaceprivate.h \
|
||||
gtkcssimageurlprivate.h \
|
||||
gtkcssimagevalueprivate.h \
|
||||
gtkcssimagewin32private.h \
|
||||
gtkcssinheritvalueprivate.h \
|
||||
gtkcssinitialvalueprivate.h \
|
||||
gtkcsskeyframesprivate.h \
|
||||
gtkcsslookupprivate.h \
|
||||
gtkcssmatcherprivate.h \
|
||||
gtkcssnodeprivate.h \
|
||||
gtkcssnodestylecacheprivate.h \
|
||||
gtkcssnodedeclarationprivate.h \
|
||||
gtkcssnumbervalueprivate.h \
|
||||
gtkcsspalettevalueprivate.h \
|
||||
gtkcsspathnodeprivate.h \
|
||||
gtkcssparserprivate.h \
|
||||
gtkcsspositionvalueprivate.h \
|
||||
gtkcssproviderprivate.h \
|
||||
gtkcssrepeatvalueprivate.h \
|
||||
gtkcssrgbavalueprivate.h \
|
||||
gtkcsssectionprivate.h \
|
||||
gtkcssselectorprivate.h \
|
||||
gtkcssshadowsvalueprivate.h \
|
||||
gtkcssshadowvalueprivate.h \
|
||||
gtkcssshorthandpropertyprivate.h\
|
||||
gtkcssstaticstyleprivate.h \
|
||||
gtkcssstringvalueprivate.h \
|
||||
gtkcssstylechangeprivate.h \
|
||||
gtkcssstylefuncsprivate.h \
|
||||
gtkcssstyleprivate.h \
|
||||
gtkcssstylepropertyprivate.h \
|
||||
gtkcsstransformvalueprivate.h \
|
||||
gtkcsstransientnodeprivate.h \
|
||||
gtkcsstransitionprivate.h \
|
||||
gtkcsstypedvalueprivate.h \
|
||||
gtkcsstypesprivate.h \
|
||||
gtkcssunsetvalueprivate.h \
|
||||
gtkcssvalueprivate.h \
|
||||
gtkcsswidgetnodeprivate.h \
|
||||
gtkcsswin32sizevalueprivate.h \
|
||||
gtkdebugupdatesprivate.h \
|
||||
gtkdialogprivate.h \
|
||||
gtkdndprivate.h \
|
||||
gtkentryprivate.h \
|
||||
gtkeventcontrollerprivate.h \
|
||||
gtkfilechoosernativeprivate.h \
|
||||
gtkfilechooserprivate.h \
|
||||
gtkfilechooserwidgetprivate.h \
|
||||
gtkfontchooserprivate.h \
|
||||
gtkgesturedragprivate.h \
|
||||
gtkgesturelongpressprivate.h \
|
||||
gtkgesturemultipressprivate.h \
|
||||
gtkgesturepanprivate.h \
|
||||
gtkgestureprivate.h \
|
||||
gtkgesturerotateprivate.h \
|
||||
gtkgesturesingleprivate.h \
|
||||
gtkgestureswipeprivate.h \
|
||||
gtkgesturezoomprivate.h \
|
||||
gtkheaderbarprivate.h \
|
||||
gtkhslaprivate.h \
|
||||
gtkiconprivate.h \
|
||||
gtkiconhelperprivate.h \
|
||||
gtkiconthemeprivate.h \
|
||||
gtkiconviewprivate.h \
|
||||
gtkimagedefinitionprivate.h \
|
||||
gtkimageprivate.h \
|
||||
gtkimcontextsimpleprivate.h \
|
||||
gtkimmoduleprivate.h \
|
||||
gtklabelprivate.h \
|
||||
gtklockbuttonprivate.h \
|
||||
gtkmagnifierprivate.h \
|
||||
gtkmenubuttonprivate.h \
|
||||
gtkmenuitemprivate.h \
|
||||
gtkmenuprivate.h \
|
||||
gtkmenushellprivate.h \
|
||||
gtkmodulesprivate.h \
|
||||
gtkmountoperationprivate.h \
|
||||
gtkorientableprivate.h \
|
||||
gtkpixelcacheprivate.h \
|
||||
gtkplacessidebarprivate.h \
|
||||
gtkplacesviewprivate.h \
|
||||
gtkplacesviewrowprivate.h \
|
||||
gtkpopoverprivate.h \
|
||||
gtkprinter-private.h \
|
||||
gtkprintoperation-private.h \
|
||||
gtkprivate.h \
|
||||
gtkprogresstrackerprivate.h \
|
||||
gtkrangeprivate.h \
|
||||
gtkrecentchooserprivate.h \
|
||||
gtkrenderbackgroundprivate.h \
|
||||
gtkrenderborderprivate.h \
|
||||
gtkrendericonprivate.h \
|
||||
gtkroundedboxprivate.h \
|
||||
gtkscaleprivate.h \
|
||||
gtksearchengine.h \
|
||||
gtksearchenginemodel.h \
|
||||
gtksearchenginequartz.h \
|
||||
gtksearchenginesimple.h \
|
||||
gtksearchenginetracker.h \
|
||||
gtksearchentryprivate.h \
|
||||
gtkselectionprivate.h \
|
||||
gtksettingsprivate.h \
|
||||
gtkshortcutsshortcutprivate.h \
|
||||
gtkshortcutswindowprivate.h \
|
||||
gtksidebarrowprivate.h \
|
||||
gtksizegroup-private.h \
|
||||
gtksizerequestcacheprivate.h \
|
||||
gtksnapshotprivate.h \
|
||||
gtkstyleanimationprivate.h \
|
||||
gtkstylecascadeprivate.h \
|
||||
gtkstylecontextprivate.h \
|
||||
gtkstylepropertyprivate.h \
|
||||
gtkstyleproviderprivate.h \
|
||||
gtktextattributes.h \
|
||||
gtktextattributesprivate.h \
|
||||
gtktextchildprivate.h \
|
||||
gtktexthandleprivate.h \
|
||||
gtktextiterprivate.h \
|
||||
gtktextmarkprivate.h \
|
||||
gtktexttagprivate.h \
|
||||
gtktextviewprivate.h \
|
||||
gtktogglebuttonprivate.h \
|
||||
gtktoolbarprivate.h \
|
||||
gtktoolpaletteprivate.h \
|
||||
gtktooltipprivate.h \
|
||||
gtktooltipwindowprivate.h \
|
||||
gtkutilsprivate.h \
|
||||
gtktreeprivate.h \
|
||||
gtkwidgetprivate.h \
|
||||
gtkwin32themeprivate.h \
|
||||
gtkwindowprivate.h \
|
||||
fnmatch.h \
|
||||
gtkactionmuxer.h \
|
||||
gtkactionobserver.h \
|
||||
gtkactionobservable.h \
|
||||
gtk9slice.h \
|
||||
gtkanimationdescription.h \
|
||||
gtkbitmaskprivateimpl.h \
|
||||
gtkbookmarksmanager.h \
|
||||
gtkdbusgenerated.c \
|
||||
gtkdbusgenerated.h \
|
||||
gtkdebug.h \
|
||||
gtkactionhelper.h \
|
||||
gtkdndcursors.h \
|
||||
gtkfilechooserdefault.h \
|
||||
gtkfilechooserembed.h \
|
||||
gtkfilechooserentry.h \
|
||||
gtkfilechoosersettings.h \
|
||||
gtkfilechooserutils.h \
|
||||
gtkfilesystem.h \
|
||||
gtkfilesystemmodel.h \
|
||||
gtkfilesystemunix.h \
|
||||
gtkfilesystemwin32.h \
|
||||
gtkfontchooserutils.h \
|
||||
gtkiconcache.h \
|
||||
gtkiconcachevalidator.h \
|
||||
gtkiconthemeparser.h \
|
||||
gtkintl.h \
|
||||
gtkkeyhash.h \
|
||||
gtkkineticscrolling.h \
|
||||
gtkmarshal.h \
|
||||
gtkmnemonichash.h \
|
||||
gtkmenutracker.h \
|
||||
gtkmenutrackeritem.h \
|
||||
gtkmenusectionbox.h \
|
||||
gtkmodelmenu.h \
|
||||
gtkmodelmenuitem.h \
|
||||
gtkmodifierstyle.h \
|
||||
gtkpathbar.h \
|
||||
gtkprintbackend.h \
|
||||
gtkprinteroption.h \
|
||||
gtkprinteroptionset.h \
|
||||
gtkprinteroptionwidget.h \
|
||||
gtkprinter-private.h \
|
||||
gtkprintoperation-portal.h \
|
||||
gtkprint-win32.h \
|
||||
gtkprintutils.h \
|
||||
gtkprivate.h \
|
||||
gtkprivatetypebuiltins.h \
|
||||
gtkquery.h \
|
||||
gtkrbtree.h \
|
||||
gtkrecentchooserdefault.h \
|
||||
gtkrecentchooserutils.h \
|
||||
gtksearchengine.h \
|
||||
gtksearchenginetracker.h \
|
||||
gtksearchenginesimple.h \
|
||||
gtksearchenginequartz.h \
|
||||
gtksequence.h \
|
||||
gtktextbtree.h \
|
||||
gtktextbufferserialize.h \
|
||||
gtktextdisplay.h \
|
||||
gtktextlayout.h \
|
||||
gtktextsegment.h \
|
||||
gtktexttypes.h \
|
||||
gtktextutil.h \
|
||||
gtktimeline.h \
|
||||
gtkthemes.h \
|
||||
gtktrashmonitor.h \
|
||||
gtktrayicon.h \
|
||||
gtktreedatalist.h \
|
||||
gtktreemenu.h \
|
||||
gtktypebuiltins.h \
|
||||
gtkwidgetpathprivate.h \
|
||||
gtkwindow-decorate.h \
|
||||
gtkwin32drawprivate.h \
|
||||
gtkwin32themeprivate.h \
|
||||
xdgmime \
|
||||
xembed.h \
|
||||
$()
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_ENABLE_BROKEN \
|
||||
-Wno-deprecated-declarations \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
CPPFLAGS += \
|
||||
-UGTK_DISABLE_SINGLE_INCLUDES
|
||||
|
||||
GTKDOC_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb
|
||||
MKDB_OPTIONS = --output-format=xml --name-space=gtk
|
||||
|
||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
||||
content_files = \
|
||||
broadway.xml \
|
||||
building.sgml \
|
||||
compiling.sgml \
|
||||
css-overview.xml \
|
||||
css-properties.xml \
|
||||
drawing-model.xml \
|
||||
getting_started.xml \
|
||||
glossary.xml \
|
||||
gtk4-broadwayd.xml \
|
||||
gtk4-demo-application.xml \
|
||||
gtk4-demo.xml \
|
||||
gtk4-icon-browser.xml \
|
||||
gtk4-widget-factory.xml \
|
||||
gtk4-builder-tool.xml \
|
||||
gtk4-encode-symbolic-svg.xml \
|
||||
gtk4-launch.xml \
|
||||
gtk4-query-immodules.xml \
|
||||
gtk4-query-settings.xml \
|
||||
gtk4-update-icon-cache.xml \
|
||||
input-handling.xml \
|
||||
migrating-2to4.xml \
|
||||
migrating-3to4.xml \
|
||||
mir.xml \
|
||||
osx.sgml \
|
||||
overview.xml \
|
||||
question_index.sgml \
|
||||
resources.sgml \
|
||||
running.sgml \
|
||||
text_widget.sgml \
|
||||
tree_widget.sgml \
|
||||
version.xml \
|
||||
visual_index.xml \
|
||||
wayland.xml \
|
||||
windows.sgml \
|
||||
x11.sgml \
|
||||
$()
|
||||
|
||||
expand_content_files = \
|
||||
compiling.sgml \
|
||||
drawing-model.xml \
|
||||
getting_started.xml \
|
||||
glossary.xml \
|
||||
input-handling.xml \
|
||||
migrating-2to4.xml \
|
||||
migrating-3to4.xml \
|
||||
question_index.sgml \
|
||||
text_widget.sgml \
|
||||
tree_widget.sgml \
|
||||
$()
|
||||
|
||||
# Images to copy into HTML directory
|
||||
HTML_IMAGES = \
|
||||
$(srcdir)/images/aboutdialog.png \
|
||||
$(srcdir)/images/accel-label.png \
|
||||
$(srcdir)/images/action-bar.png \
|
||||
$(srcdir)/images/appchooserbutton.png \
|
||||
$(srcdir)/images/appchooserdialog.png \
|
||||
$(srcdir)/images/assistant.png \
|
||||
$(srcdir)/images/box-packing.png \
|
||||
$(srcdir)/images/box-expand.png \
|
||||
$(srcdir)/images/button.png \
|
||||
$(srcdir)/images/check-button.png \
|
||||
$(srcdir)/images/color-button.png \
|
||||
$(srcdir)/images/colorchooser.png \
|
||||
$(srcdir)/images/combo-box.png \
|
||||
$(srcdir)/images/combo-box-entry.png \
|
||||
$(srcdir)/images/combo-box-text.png \
|
||||
$(srcdir)/images/entry.png \
|
||||
$(srcdir)/images/figure-hierarchical-drawing.png \
|
||||
$(srcdir)/images/figure-windowed-label.png \
|
||||
$(srcdir)/images/file-button.png \
|
||||
$(srcdir)/images/filechooser.png \
|
||||
$(srcdir)/images/font-button.png \
|
||||
$(srcdir)/images/fontchooser.png \
|
||||
$(srcdir)/images/frame.png \
|
||||
$(srcdir)/images/glarea.png \
|
||||
$(srcdir)/images/headerbar.png \
|
||||
$(srcdir)/images/icon-view.png \
|
||||
$(srcdir)/images/image.png \
|
||||
$(srcdir)/images/info-bar.png \
|
||||
$(srcdir)/images/label.png \
|
||||
$(srcdir)/images/levelbar.png \
|
||||
$(srcdir)/images/link-button.png \
|
||||
$(srcdir)/images/list-and-tree.png \
|
||||
$(srcdir)/images/lock-button.png \
|
||||
$(srcdir)/images/lockbutton.png \
|
||||
$(srcdir)/images/lockbutton-locked.png \
|
||||
$(srcdir)/images/lockbutton-unlocked.png \
|
||||
$(srcdir)/images/lockbutton-sorry.png \
|
||||
$(srcdir)/images/menubar.png \
|
||||
$(srcdir)/images/menu-button.png \
|
||||
$(srcdir)/images/messagedialog.png \
|
||||
$(srcdir)/images/multiline-text.png \
|
||||
$(srcdir)/images/notebook.png \
|
||||
$(srcdir)/images/panes.png \
|
||||
$(srcdir)/images/pagesetupdialog.png \
|
||||
$(srcdir)/images/placessidebar.png \
|
||||
$(srcdir)/images/popup-anchors.png \
|
||||
$(srcdir)/images/popup-flip.png \
|
||||
$(srcdir)/images/popup-slide.png \
|
||||
$(srcdir)/images/printdialog.png \
|
||||
$(srcdir)/images/progressbar.png \
|
||||
$(srcdir)/images/radio-group.png \
|
||||
$(srcdir)/images/recentchooserdialog.png \
|
||||
$(srcdir)/images/scales.png \
|
||||
$(srcdir)/images/scrollbar.png \
|
||||
$(srcdir)/images/scrolledwindow.png \
|
||||
$(srcdir)/images/search-bar.png \
|
||||
$(srcdir)/images/search-entry.png \
|
||||
$(srcdir)/images/separator.png \
|
||||
$(srcdir)/images/sidebar.png \
|
||||
$(srcdir)/images/spinbutton.png \
|
||||
$(srcdir)/images/spinner.png \
|
||||
$(srcdir)/images/stack.png \
|
||||
$(srcdir)/images/stackswitcher.png \
|
||||
$(srcdir)/images/statusbar.png \
|
||||
$(srcdir)/images/toggle-button.png \
|
||||
$(srcdir)/images/toolbar.png \
|
||||
$(srcdir)/images/toolpalette.png \
|
||||
$(srcdir)/images/tree-view-coordinates.png \
|
||||
$(srcdir)/images/volumebutton.png \
|
||||
$(srcdir)/images/window.png \
|
||||
$(srcdir)/images/layout-btlr.png \
|
||||
$(srcdir)/images/layout-btrl.png \
|
||||
$(srcdir)/images/layout-lrbt.png \
|
||||
$(srcdir)/images/layout-lrtb.png \
|
||||
$(srcdir)/images/layout-rlbt.png \
|
||||
$(srcdir)/images/layout-rltb.png \
|
||||
$(srcdir)/images/layout-tblr.png \
|
||||
$(srcdir)/images/layout-tbrl.png \
|
||||
$(srcdir)/images/widget-hvalign.png \
|
||||
$(srcdir)/images/window-default.png \
|
||||
$(srcdir)/images/hello-world.png \
|
||||
$(srcdir)/images/grid-packing.png \
|
||||
$(srcdir)/images/drawing.png \
|
||||
$(srcdir)/images/switch.png \
|
||||
$(srcdir)/images/linear.png \
|
||||
$(srcdir)/images/ease.png \
|
||||
$(srcdir)/images/ease-in-out.png \
|
||||
$(srcdir)/images/ease-in.png \
|
||||
$(srcdir)/images/ease-out.png \
|
||||
$(srcdir)/images/gradient1.png \
|
||||
$(srcdir)/images/gradient2.png \
|
||||
$(srcdir)/images/gradient3.png \
|
||||
$(srcdir)/images/gradient4.png \
|
||||
$(srcdir)/images/border1.png \
|
||||
$(srcdir)/images/border2.png \
|
||||
$(srcdir)/images/border3.png \
|
||||
$(srcdir)/images/slices.png \
|
||||
$(srcdir)/images/checks.png \
|
||||
$(srcdir)/images/options.png \
|
||||
$(srcdir)/images/arrows.png \
|
||||
$(srcdir)/images/expanders.png \
|
||||
$(srcdir)/images/background.png \
|
||||
$(srcdir)/images/frames.png \
|
||||
$(srcdir)/images/frame-gap.png \
|
||||
$(srcdir)/images/sliders.png \
|
||||
$(srcdir)/images/focus.png \
|
||||
$(srcdir)/images/handles.png \
|
||||
$(srcdir)/images/extensions.png \
|
||||
$(srcdir)/images/bloatpad-osx.png \
|
||||
$(srcdir)/images/bloatpad-gnome.png \
|
||||
$(srcdir)/images/bloatpad-xfce.png \
|
||||
$(srcdir)/images/down-center.png \
|
||||
$(srcdir)/images/down-end.png \
|
||||
$(srcdir)/images/down-start.png \
|
||||
$(srcdir)/images/left-center.png \
|
||||
$(srcdir)/images/left-end.png \
|
||||
$(srcdir)/images/left-start.png \
|
||||
$(srcdir)/images/right-center.png \
|
||||
$(srcdir)/images/right-end.png \
|
||||
$(srcdir)/images/right-start.png \
|
||||
$(srcdir)/images/up-center.png \
|
||||
$(srcdir)/images/up-end.png \
|
||||
$(srcdir)/images/up-start.png \
|
||||
$(srcdir)/images/list-box.png \
|
||||
$(srcdir)/images/getting-started-app1.png \
|
||||
$(srcdir)/images/getting-started-app2.png \
|
||||
$(srcdir)/images/getting-started-app3.png \
|
||||
$(srcdir)/images/getting-started-app4.png \
|
||||
$(srcdir)/images/getting-started-app6.png \
|
||||
$(srcdir)/images/getting-started-app7.png \
|
||||
$(srcdir)/images/getting-started-app8.png \
|
||||
$(srcdir)/images/getting-started-app9.png \
|
||||
$(srcdir)/images/getting-started-app10.png \
|
||||
$(srcdir)/images/exampleapp.png \
|
||||
$(srcdir)/images/flow-box.png \
|
||||
$(srcdir)/images/inspector.png \
|
||||
$(srcdir)/images/gedit-shortcuts.png \
|
||||
$(srcdir)/images/clocks-shortcuts.png \
|
||||
$(srcdir)/images/builder-shortcuts.png
|
||||
|
||||
if ENABLE_DOC_CROSS_REFERENCES
|
||||
# Extra options to supply to gtkdoc-fixref
|
||||
FIXXREF_OPTIONS=--extra-dir=../gdk/html \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
|
||||
--extra-dir=$(ATK_PREFIX)/share/gtk-doc/html/atk \
|
||||
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
|
||||
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
|
||||
endif
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
EXTRA_DIST += version.xml.in gtk4.types.in
|
||||
|
||||
########################################################################
|
||||
|
||||
man_MANS = \
|
||||
gtk4-broadwayd.1 \
|
||||
gtk4-builder-tool.1 \
|
||||
gtk4-demo.1 \
|
||||
gtk4-demo-application.1 \
|
||||
gtk4-encode-symbolic-svg.1 \
|
||||
gtk4-icon-browser.1 \
|
||||
gtk4-launch.1 \
|
||||
gtk4-query-immodules.1 \
|
||||
gtk4-query-settings.1 \
|
||||
gtk4-update-icon-cache.1 \
|
||||
gtk4-widget-factory.1
|
||||
|
||||
if ENABLE_MAN
|
||||
|
||||
XSLTPROC_FLAGS = \
|
||||
--nonet \
|
||||
--stringparam man.output.quietly 1 \
|
||||
--stringparam funcsynopsis.style ansi \
|
||||
--stringparam man.th.extra1.suppress 1 \
|
||||
--stringparam man.authors.section.enabled 0 \
|
||||
--stringparam man.copyright.section.enabled 0
|
||||
|
||||
.xml.1:
|
||||
$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
||||
|
||||
dist-local-check-mans-enabled:
|
||||
if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
|
||||
|
||||
else
|
||||
|
||||
$(man_MANS):
|
||||
echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
|
||||
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
||||
|
||||
dist-local-check-mans-enabled:
|
||||
echo "*** --enable-man must be used in order to make dist"
|
||||
false
|
||||
|
||||
endif
|
||||
|
||||
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST += $(man_MANS)
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
|
||||
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
|
||||
#TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
||||
dist-hook-local: dist-local-check-mans-enabled all-local
|
||||
|
||||
gtk-docs-clean: clean
|
||||
cd $(srcdir) && rm -rf xml html
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -16,14 +16,7 @@ How to compile GTK+ itself
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 id="overview">
|
||||
<title>Building GTK+ on UNIX-like systems</title>
|
||||
<para>
|
||||
This chapter covers building and installing GTK+ on UNIX and
|
||||
UNIX-like systems such as Linux. Compiling GTK+ on Microsoft
|
||||
Windows is different in detail and somewhat more difficult to
|
||||
get going since the necessary tools aren't included with
|
||||
the operating system.
|
||||
</para>
|
||||
<title>Building GTK+</title>
|
||||
<para>
|
||||
Before we get into the details of how to compile GTK+, we should
|
||||
mention that in many cases, binary packages of GTK+ prebuilt for
|
||||
@@ -35,64 +28,51 @@ How to compile GTK+ itself
|
||||
already.
|
||||
</para>
|
||||
<para>
|
||||
On UNIX-like systems GTK+ uses the standard GNU build system,
|
||||
using <application>autoconf</application> for package
|
||||
configuration and resolving portability issues,
|
||||
<application>automake</application> for building makefiles that
|
||||
comply with the GNU Coding Standards, and
|
||||
<application>libtool</application> for building shared libraries
|
||||
on multiple platforms.
|
||||
In order to build GTK+, you will need <application>meson</application>
|
||||
installed on your system. On Linux, and other UNIX-like operating
|
||||
systems, you will also need <application>ninja</application>. This
|
||||
guide does not cover how to install these two requirements, but you
|
||||
can refer to the <ulink url="http://mesonbuild.com">Meson website</ulink>
|
||||
for more information. The <ulink url="https://ninja-build.org">Ninja</ulink>
|
||||
build tool is also usable on various operating systems, so we will
|
||||
refer to it in the examples.
|
||||
</para>
|
||||
<para>
|
||||
If you are building GTK+ from the distributed source packages,
|
||||
then you won't need these tools installed; the necessary pieces
|
||||
of the tools are already included in the source packages. But
|
||||
it's useful to know a bit about how packages that use these
|
||||
tools work. A source package is distributed as a
|
||||
<literal>tar.bz2</literal> or <literal>tar.xz</literal> file
|
||||
which you unpack into a directory full of the source files as follows:
|
||||
If you are building GTK+ from a source distribution or from a Git
|
||||
clone, you will need to use <application>meson</application> to
|
||||
configure the project. The most commonly useful argument is the
|
||||
<systemitem>--prefix</systemitem> one, which determines where the
|
||||
files will go once installed. To install GTK+ under a prefix
|
||||
like <filename>/opt/gtk</filename> you would run Meson as:
|
||||
</para>
|
||||
<programlisting>
|
||||
tar xvfj gtk+-3.2.0.tar.bz2
|
||||
tar xvfJ gtk+-3.2.0.tar.xz
|
||||
</programlisting>
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
meson --prefix /opt/gtk builddir
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
<para>
|
||||
In the toplevel directory that is created, there will be
|
||||
a shell script called <filename>configure</filename> which
|
||||
you then run to take the template makefiles called
|
||||
<filename>Makefile.in</filename> in the package and create
|
||||
makefiles customized for your operating system.
|
||||
The <filename>configure</filename> script can be passed
|
||||
various command line arguments to determine how the package
|
||||
is built and installed. The most commonly useful argument is
|
||||
the <systemitem>--prefix</systemitem> argument which
|
||||
determines where the package is installed. To install a package
|
||||
in <filename>/opt/gtk</filename> you would run configure as:
|
||||
Meson will create the <filename>builddir</filename> directory and
|
||||
place all the build artefacts there.
|
||||
</para>
|
||||
<programlisting>
|
||||
./configure --prefix=/opt/gtk
|
||||
</programlisting>
|
||||
<para>
|
||||
A full list of options can be found by running
|
||||
<filename>configure</filename> with the
|
||||
<systemitem>--help</systemitem> argument. In general, the defaults are
|
||||
right and should be trusted. After you've run
|
||||
<filename>configure</filename>, you then run the
|
||||
<command>make</command> command to build the package and install
|
||||
it.
|
||||
You can get a list of all available options for the build by
|
||||
running <application>mesonconf</application>.
|
||||
</para>
|
||||
<programlisting>
|
||||
make
|
||||
make install
|
||||
</programlisting>
|
||||
<para>
|
||||
After Meson successfully configured the build directory, you then
|
||||
can run the build, using Ninja:
|
||||
</para>
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
cd builddir
|
||||
ninja
|
||||
ninja install
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
<para>
|
||||
If you don't have permission to write to the directory you are
|
||||
installing in, you may have to change to root temporarily before
|
||||
running <literal>make install</literal>. Also, if you are
|
||||
installing in a system directory, on some systems (such as
|
||||
Linux), you will need to run <command>ldconfig</command> after
|
||||
<literal>make install</literal> so that the newly installed
|
||||
libraries will be found.
|
||||
running <literal>ninja install</literal>.
|
||||
</para>
|
||||
<para>
|
||||
Several environment variables are useful to pass to set before
|
||||
@@ -131,35 +111,21 @@ How to compile GTK+ itself
|
||||
<para>
|
||||
Before you can compile the GTK+ widget toolkit, you need to have
|
||||
various other tools and libraries installed on your
|
||||
system. The two tools needed during the build process (as
|
||||
differentiated from the tools used in when creating GTK+
|
||||
mentioned above such as <application>autoconf</application>)
|
||||
are <command>pkg-config</command> and GNU make.
|
||||
system. Dependencies of GTK+ have their own build systems, so
|
||||
you will need to refer to their own installation instructions.
|
||||
</para>
|
||||
<para>
|
||||
A particular important tool used by GTK+ to find its dependencies
|
||||
is <application>pkg-config</application>.
|
||||
</para>
|
||||
<para>
|
||||
<ulink url="https://www.freedesktop.org/wiki/Software/pkg-config/">pkg-config</ulink>
|
||||
is a tool for tracking the compilation flags needed for
|
||||
libraries that are used by the GTK+ libraries. (For each
|
||||
library, a small <literal>.pc</literal> text file is installed
|
||||
in a standard location that contains the compilation flags
|
||||
needed for that library along with version number information.)
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<ulink
|
||||
url="https://www.freedesktop.org/wiki/Software/pkg-config/">pkg-config</ulink>
|
||||
is a tool for tracking the compilation flags needed for
|
||||
libraries that are used by the GTK+ libraries. (For each
|
||||
library, a small <literal>.pc</literal> text file is installed
|
||||
in a standard location that contains the compilation flags
|
||||
needed for that library along with version number information.)
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The GTK+ makefiles will mostly work with different versions
|
||||
of <command>make</command>, however, there tends to be
|
||||
a few incompatibilities, so the GTK+ team recommends
|
||||
installing <ulink url="https://www.gnu.org/software/make">GNU
|
||||
make</ulink> if you don't already have it on your system
|
||||
and using it. (It may be called <command>gmake</command>
|
||||
rather than <command>make</command>.)
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
Some of the libraries that GTK+ depends on are maintained by
|
||||
by the GTK+ team: GLib, GdkPixbuf, Pango, ATK and GObject Introspection.
|
||||
@@ -171,17 +137,14 @@ How to compile GTK+ itself
|
||||
The GLib library provides core non-graphical functionality
|
||||
such as high level data types, Unicode manipulation, and
|
||||
an object and type system to C programs. It is available
|
||||
from the <ulink url="https://ftp.gtk.org/pub/glib/">GTK+
|
||||
FTP site</ulink> or
|
||||
<ulink url="https://download.gnome.org/sources/glib/">here</ulink>.
|
||||
from <ulink url="https://download.gnome.org/sources/glib/">here</ulink>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <ulink url="https://git.gnome.org/browse/gdk-pixbuf/">GdkPixbuf library</ulink>
|
||||
provides facilities for loading images in a variety of file formats.
|
||||
It is available
|
||||
<ulink url="https://download.gnome.org/sources/gdk-pixbuf/">here</ulink>.
|
||||
It is available <ulink url="https://download.gnome.org/sources/gdk-pixbuf/">here</ulink>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
@@ -250,15 +213,22 @@ How to compile GTK+ itself
|
||||
<para>
|
||||
<ulink url="https://www.cairographics.org">Cairo</ulink>
|
||||
is a graphics library that supports vector graphics and image
|
||||
compositing. Both Pango and GTK+ use cairo for all of their
|
||||
drawing.
|
||||
compositing. Both Pango and GTK+ use Cairo for drawing.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<ulink url="https://github.com/anholt/libepoxy">libepoxy</ulink>
|
||||
is a library that abstracts the differences between different
|
||||
OpenGL libraries. GTK+ uses it for cross-platform GL support.
|
||||
OpenGL libraries. GTK+ uses it for cross-platform GL support
|
||||
and for its own drawing.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<ulink url="https://github.com/anholt/libepoxy">Graphene</ulink>
|
||||
is a library that provides vector and matrix types for 2D and
|
||||
3D transformations. GTK+ uses it internally for drawing.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
@@ -284,35 +254,32 @@ How to compile GTK+ itself
|
||||
<title>Building and testing GTK+</title>
|
||||
<para>
|
||||
First make sure that you have the necessary external
|
||||
dependencies installed: <command>pkg-config</command>, GNU make,
|
||||
dependencies installed: <command>pkg-config</command>, Meson, Ninja,
|
||||
the JPEG, PNG, and TIFF libraries, FreeType, and, if necessary,
|
||||
libiconv and libintl. To get detailed information about building
|
||||
these packages, see the documentation provided with the
|
||||
individual packages.
|
||||
On a Linux system, it's quite likely you'll have all of these
|
||||
installed already except for <command>pkg-config</command>.
|
||||
individual packages. On any average Linux system, it's quite likely
|
||||
you'll have all of these installed already, or they will be easily
|
||||
accessible through your operating system package repositories.
|
||||
</para>
|
||||
<para>
|
||||
Then build and install the GTK+ libraries in the order:
|
||||
GLib, Pango, ATK, then GTK+. For each library, follow the
|
||||
steps of <literal>configure</literal>, <literal>make</literal>,
|
||||
<literal>make install</literal> mentioned above. If you're
|
||||
lucky, this will all go smoothly, and you'll be ready to
|
||||
<link linkend="gtk-compiling">start compiling your own GTK+
|
||||
applications</link>. You can test your GTK+ installation
|
||||
by running the <command>gtk3-demo</command> program that
|
||||
GLib, Cairo, Pango, ATK, then GTK+. For each library, follow the
|
||||
instructions they provide, and make sure to share common settings
|
||||
between them and the GTK+ build; if you are using a separate prefix
|
||||
for GTK+, for instance, you will need to use the same prefix for all
|
||||
its dependencies you build. If you're lucky, this will all go smoothly,
|
||||
and you'll be ready to <link linkend="gtk-compiling">start compiling
|
||||
your own GTK+ applications</link>. You can test your GTK+ installation
|
||||
by running the <command>gtk4-demo</command> program that
|
||||
GTK+ installs.
|
||||
</para>
|
||||
<para>
|
||||
If one of the <filename>configure</filename> scripts fails or running
|
||||
<command>make</command> fails, look closely at the error
|
||||
messages printed; these will often provide useful information
|
||||
as to what went wrong. When <filename>configure</filename>
|
||||
fails, extra information, such as errors that a test compilation
|
||||
ran into, is found in the file <filename>config.log</filename>.
|
||||
Looking at the last couple of hundred lines in this file will
|
||||
frequently make clear what went wrong. If all else fails, you
|
||||
can ask for help on the gtk-list mailing list.
|
||||
If one of the projects you're configuring or building fails, look
|
||||
closely at the error messages printed; these will often provide useful
|
||||
information as to what went wrong. Every build system has its own
|
||||
log that can help you understand the issue you're encountering. If all
|
||||
else fails, you can ask for help on the gtk-list mailing list.
|
||||
See <xref linkend="gtk-resources"/> for more information.
|
||||
</para>
|
||||
</refsect1>
|
||||
@@ -320,129 +287,124 @@ How to compile GTK+ itself
|
||||
<title>Extra Configuration Options</title>
|
||||
|
||||
<para>
|
||||
In addition to the normal options, the
|
||||
<command>configure</command> script for the GTK+ library
|
||||
supports a number of additional arguments. (Command line
|
||||
arguments for the other GTK+ libraries are described in
|
||||
the documentation distributed with the those libraries.)
|
||||
In addition to the normal options provided by Meson, GTK+ defines
|
||||
various arguments that modify what should be built.
|
||||
|
||||
<cmdsynopsis>
|
||||
<command>configure</command>
|
||||
<command>meson</command>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-modules</arg>
|
||||
<arg choice="plain">--enable-modules</arg>
|
||||
<arg choice="plain">-Ddisable-modules=true</arg>
|
||||
<arg choice="plain">-Ddisable-modules=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg>--with-included-immodules=MODULE1,MODULE2,...</arg>
|
||||
<arg choice="plain">-Dwith-included-immodules=MODULE1,MODULE2,...</arg>
|
||||
<arg choice="plain">-Dwith-included-immodules=all</arg>
|
||||
<arg choice="plain">-Dwith-included-immodules=none</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-debug=[no/minimum/yes]</arg>
|
||||
<arg choice="plain">-Denable-documentation=true</arg>
|
||||
<arg choice="plain">-Denable-documentation=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-Bsymbolic</arg>
|
||||
<arg choice="plain">--enable-Bsymbolic</arg>
|
||||
<arg choice="plain">-Denable-man-pages=true</arg>
|
||||
<arg choice="plain">-Denable-man-pages=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-xkb</arg>
|
||||
<arg choice="plain">--enable-xkb</arg>
|
||||
<arg choice="plain">-Denable-cups-print-backend=yes</arg>
|
||||
<arg choice="plain">-Denable-cups-print-backend=no</arg>
|
||||
<arg choice="plain">-Denable-cups-print-backend=auto</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-xinerama</arg>
|
||||
<arg choice="plain">--enable-xinerama</arg>
|
||||
<arg choice="plain">-Denable-papi-print-backend=yes</arg>
|
||||
<arg choice="plain">-Denable-papi-print-backend=no</arg>
|
||||
<arg choice="plain">-Denable-papi-print-backend=auto</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-gtk-doc</arg>
|
||||
<arg choice="plain">--enable-gtk-doc</arg>
|
||||
<arg choice="plain">-Denable-cloudprint-print-backend=yes</arg>
|
||||
<arg choice="plain">-Denable-cloudprint-print-backend=no</arg>
|
||||
<arg choice="plain">-Denable-cloudprint-print-backend=auto</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-cups</arg>
|
||||
<arg choice="plain">--enable-cups</arg>
|
||||
<arg choice="plain">-Denable-test-print-backend=yes</arg>
|
||||
<arg choice="plain">-Denable-test-print-backend=no</arg>
|
||||
<arg choice="plain">-Denable-test-print-backend=auto</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--disable-papi</arg>
|
||||
<arg choice="plain">--enable-papi</arg>
|
||||
<arg choice="plain">-Denable-colord=yes</arg>
|
||||
<arg choice="plain">-Denable-colord=no</arg>
|
||||
<arg choice="plain">-Denable-colord=auto</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-xinput</arg>
|
||||
<arg choice="plain">--disable-xinput</arg>
|
||||
<arg choice="plain">-Denable-vulkan=yes</arg>
|
||||
<arg choice="plain">-Denable-vulkan=no</arg>
|
||||
<arg choice="plain">-Denable-vulkan=auto</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-packagekit</arg>
|
||||
<arg choice="plain">--disable-packagekit</arg>
|
||||
<arg choice="plain">-Denable-x11-backend=true</arg>
|
||||
<arg choice="plain">-Denable-x11-backend=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-x11-backend</arg>
|
||||
<arg choice="plain">--disable-x11-backend</arg>
|
||||
<arg choice="plain">-Denable-xinerama=true</arg>
|
||||
<arg choice="plain">-Denable-xinerama=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-win32-backend</arg>
|
||||
<arg choice="plain">--disable-win32-backend</arg>
|
||||
<arg choice="plain">-Denable-win32-backend=true</arg>
|
||||
<arg choice="plain">-Denable-win32-backend=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-quartz-backend</arg>
|
||||
<arg choice="plain">--disable-quartz-backend</arg>
|
||||
<arg choice="plain">-Denable-quartz-backend=true</arg>
|
||||
<arg choice="plain">-Denable-quartz-backend=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-broadway-backend</arg>
|
||||
<arg choice="plain">--disable-broadway-backend</arg>
|
||||
<arg choice="plain">-Denable-broadway-backend=true</arg>
|
||||
<arg choice="plain">-Denable-broadway-backend=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-wayland-backend</arg>
|
||||
<arg choice="plain">--disable-wayland-backend</arg>
|
||||
<arg choice="plain">-Denable-wayland-backend=true</arg>
|
||||
<arg choice="plain">-Denable-wayland-backend=false</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-mir-backend</arg>
|
||||
<arg choice="plain">--disable-mir-backend</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-introspection=[no/auto/yes]</arg>
|
||||
</group>
|
||||
<sbr/>
|
||||
<group>
|
||||
<arg choice="plain">--enable-installed-tests</arg>
|
||||
<arg choice="plain">--disable-installed-tests</arg>
|
||||
<arg choice="plain">-Denable-mir-backend=true</arg>
|
||||
<arg choice="plain">-Denable-mir-backend=false</arg>
|
||||
</group>
|
||||
</cmdsynopsis>
|
||||
</para>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-modules</systemitem> and
|
||||
<systemitem>--enable-modules</systemitem></title>
|
||||
<title><systemitem>disable-modules</systemitem></title>
|
||||
|
||||
<para>
|
||||
Normally GTK+ will try to build the input method modules
|
||||
as little shared libraries that are loaded on demand.
|
||||
The <systemitem>--disable-modules</systemitem> argument
|
||||
The <systemitem>disable-modules</systemitem> option
|
||||
indicates that they should all be built statically
|
||||
into the GTK+ library instead. This is useful for
|
||||
people who need to produce statically-linked binaries.
|
||||
If neither <systemitem>--disable-modules</systemitem> nor
|
||||
<systemitem>--enable-modules</systemitem> is specified,
|
||||
If <systemitem>disable-modules</systemitem> is not specified,
|
||||
then the <command>configure</command> script will try to
|
||||
auto-detect whether shared modules work on your system.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--with-included-immodules</systemitem></title>
|
||||
<title><systemitem>with-included-immodules</systemitem></title>
|
||||
|
||||
<para>
|
||||
This option allows you to specify which input method modules you
|
||||
@@ -452,101 +414,18 @@ How to compile GTK+ itself
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--enable-debug</systemitem></title>
|
||||
<title><systemitem>enable-xinerama</systemitem></title>
|
||||
|
||||
<para>
|
||||
Turns on various amounts of debugging support. Setting this to
|
||||
'no' disables g_assert(), g_return_if_fail(), g_return_val_if_fail() and all cast checks between different object types. Setting it
|
||||
to 'minimum' disables only cast checks. Setting it to 'yes' enables
|
||||
<link linkend="GTK-Debug-Options">runtime debugging</link>.
|
||||
The default is 'minimum'.
|
||||
Note that 'no' is fast, but dangerous as it tends to destabilize
|
||||
even mostly bug-free software by changing the effect of many bugs
|
||||
from simple warnings into fatal crashes. Thus
|
||||
<option>--enable-debug=no</option> should <emphasis>not</emphasis>
|
||||
be used for stable releases of GTK+.
|
||||
By default GTK+ will try to link against the Xinerama libraries
|
||||
if they are found. This options can be used to explicitly control
|
||||
whether Xinerama should be used.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-Bsymbolic</systemitem> and
|
||||
<systemitem>--enable-Bsymbolic</systemitem></title>
|
||||
<para>
|
||||
The option <systemitem>--disable-Bsymbolic</systemitem>
|
||||
turns off the use of the -Bsymbolic-functions linker flag.
|
||||
This is only necessary if you want to override GTK+ functions
|
||||
by using <envar>LD_PRELOAD</envar>.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--enable-explicit-deps</systemitem> and
|
||||
<systemitem>--disable-explicit-deps</systemitem></title>
|
||||
<para>
|
||||
If <systemitem>--enable-explicit-deps</systemitem> is
|
||||
specified then GTK+ will write the full set of libraries
|
||||
that GTK+ depends upon into its <literal>.pc</literal> files to be used when
|
||||
programs depending on GTK+ are linked. Otherwise, GTK+
|
||||
only will include the GTK+ libraries themselves, and
|
||||
will depend on system library dependency facilities to
|
||||
bring in the other libraries.
|
||||
By default GTK+ will disable explicit dependencies unless
|
||||
it detects that they are needed on the system. (If you
|
||||
specify <systemitem>--enable-static</systemitem> to force
|
||||
building of static libraries, then explicit dependencies
|
||||
will be written since library dependencies don't work
|
||||
for static libraries.) Specifying
|
||||
<systemitem>--enable-explicit-deps</systemitem> or
|
||||
<systemitem>--enable-static</systemitem> can cause
|
||||
compatibility
|
||||
problems when libraries that GTK+ depends upon change
|
||||
their versions, and should be avoided if possible.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-xkb</systemitem> and
|
||||
<systemitem>--enable-xkb</systemitem></title>
|
||||
|
||||
<para>
|
||||
By default the <command>configure</command> script will try
|
||||
to auto-detect whether the XKB extension is supported by
|
||||
the X libraries GTK+ is linked with.
|
||||
These options can be used to explicitly control whether
|
||||
GTK+ will support the XKB extension.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-xinerama</systemitem> and
|
||||
<systemitem>--enable-xinerama</systemitem></title>
|
||||
|
||||
<para>
|
||||
By default the <command>configure</command> script will try
|
||||
to link against the Xinerama libraries if they are found.
|
||||
These options can be used to explicitly control whether
|
||||
Xinerama should be used.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-xinput</systemitem> and
|
||||
<systemitem>--enable-xinput</systemitem></title>
|
||||
<para>
|
||||
Controls whether GTK+ is built with support for the XInput
|
||||
or XInput2 extension. These extensions provide an extended
|
||||
interface to input devices such as graphics tablets.
|
||||
When this support is compiled in, specially written
|
||||
GTK+ programs can get access to subpixel positions,
|
||||
multiple simultaneous input devices, and extra "axes"
|
||||
provided by the device such as pressure and tilt
|
||||
information.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-gtk-doc</systemitem> and
|
||||
<systemitem>--enable-gtk-doc</systemitem></title>
|
||||
<title><systemitem>enable-documentation</systemitem> and
|
||||
<systemitem>enable-man-pages</systemitem></title>
|
||||
|
||||
<para>
|
||||
The <application>gtk-doc</application> package is
|
||||
@@ -557,93 +436,50 @@ How to compile GTK+ itself
|
||||
<application>gtk-doc</application> installed and
|
||||
are modifying GTK+, you may want to enable
|
||||
<application>gtk-doc</application> support by passing
|
||||
in <systemitem>--enable-gtk-doc</systemitem>. If not
|
||||
enabled, pre-generated HTML files distributed with GTK+
|
||||
will be installed.
|
||||
in <systemitem>enable-documentation</systemitem>.
|
||||
</para>
|
||||
<para>
|
||||
Additionally, some tools provided by GTK+ have their own
|
||||
manual pages generated using a similar set of dependencies;
|
||||
if you have <application>xsltproc</application> then you
|
||||
can generate manual pages by passing <systemitem>enable-man-pages</systemitem>
|
||||
when configuring the build.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-cups</systemitem> and
|
||||
<systemitem>--enable-cups</systemitem></title>
|
||||
<title><systemitem>enable-cups-print-backend</systemitem>,
|
||||
<systemitem>enable-papi-print-backend</systemitem>,
|
||||
<systemitem>enable-cloudprint-print-backend</systemitem>, and
|
||||
<systemitem>enable-test-print-backend</systemitem></title>
|
||||
|
||||
<para>
|
||||
By default the <command>configure</command> script will try
|
||||
to build the cups print backend if the cups libraries are found.
|
||||
These options can be used to explicitly control whether
|
||||
the cups print backend should be built.
|
||||
By default, GTK+ will try to build various print backends if
|
||||
their dependencies are found. These options can be used to
|
||||
explicitly control whether each print backend should be built
|
||||
or not.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-papi</systemitem> and
|
||||
<systemitem>--enable-papi</systemitem></title>
|
||||
<title><systemitem>-Denable-x11-backend</systemitem>,
|
||||
<systemitem>-Denable-win32-backend</systemitem>,
|
||||
<systemitem>-Denable-quartz-backend</systemitem>,
|
||||
<systemitem>-Denable-broadway-backend</systemitem>,
|
||||
<systemitem>-Denable-wayland-backend</systemitem>, and
|
||||
<systemitem>-Denable-mir-backend</systemitem></title>
|
||||
|
||||
<para>
|
||||
By default the <command>configure</command> script will try
|
||||
to build the papi print backend if the papi libraries are found.
|
||||
These options can be used to explicitly control whether
|
||||
the papi print backend should be built.
|
||||
Enable specific backends for GDK. If none of these options
|
||||
are given, the Wayland backend will be enabled by default,
|
||||
if the platform is Linux; the X11 backend will also be enabled
|
||||
by default, unless the platform is Windows, in which case the
|
||||
default is win32, or the platform is macOS, in which case the
|
||||
default is quartz. If any backend is explicitly enabled or disabled,
|
||||
no other platform will be enabled automatically.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--disable-packagekit</systemitem> and
|
||||
<systemitem>--enable-packagekit</systemitem></title>
|
||||
<para>
|
||||
By default the <command>configure</command> script will try
|
||||
to build the PackageKit support for the open-with dialog if
|
||||
the PackageKit libraries are found.
|
||||
These options can be used to explicitly control whether
|
||||
PackageKit support should be built.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--enable-x11-backend</systemitem>,
|
||||
<systemitem>--disable-x11-backend</systemitem>,
|
||||
<systemitem>--enable-win32-backend</systemitem>,
|
||||
<systemitem>--disable-win32-backend</systemitem>,
|
||||
<systemitem>--enable-quartz-backend</systemitem>,
|
||||
<systemitem>--disable-quartz-backend</systemitem>,
|
||||
<systemitem>--enable-broadway-backend</systemitem>,
|
||||
<systemitem>--disable-broadway-backend</systemitem>,
|
||||
<systemitem>--enable-wayland-backend</systemitem>,
|
||||
<systemitem>--disable-wayland-backend</systemitem>
|
||||
<systemitem>--enable-mir-backend</systemitem>, and
|
||||
<systemitem>--disable-mir-backend</systemitem></title>
|
||||
|
||||
<para>
|
||||
Enables specific backends for GDK. If none of these options
|
||||
are given, the x11 backend will be enabled by default,
|
||||
unless the platform is Windows, in which case the default is
|
||||
win32. If any backend is explicitly enabled or disabled, no
|
||||
other platform will be enabled automatically. Other
|
||||
supported backends are the quartz backend for OS X.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--enable-introspection</systemitem></title>
|
||||
|
||||
<para>
|
||||
Build with or without introspection support.
|
||||
The default is 'auto'.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--enable-installed-tests</systemitem> or
|
||||
<systemitem>--disable-installed-tests</systemitem></title>
|
||||
|
||||
<para>
|
||||
Whether to install tests on the system. If enabled, tests
|
||||
and their data are installed in <filename>${libexecdir}/gtk+/installed-tests</filename>.
|
||||
Metadata for the tests is installed in <filename>${prefix}/share/installed-tests/gtk+</filename>.
|
||||
To run the installed tests, gnome-desktop-testing-runner
|
||||
can be used.
|
||||
</para>
|
||||
</formalpara>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
@@ -1,45 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_srcdir)/gdk/x11 \
|
||||
-I$(top_srcdir)/tests \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(top_builddir)/gdk/libgdk-4.la \
|
||||
$(top_builddir)/tests/gtkgears.o \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GDK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
if USE_X11
|
||||
noinst_PROGRAMS = \
|
||||
doc-shooter
|
||||
endif
|
||||
|
||||
doc_shooter_DEPENDENCIES = $(DEPS)
|
||||
doc_shooter_LDADD = $(LDADDS)
|
||||
doc_shooter_SOURCES = \
|
||||
shadow.c \
|
||||
shadow.h \
|
||||
shooter.c \
|
||||
widgets.c \
|
||||
widgets.h
|
||||
|
||||
clean-local:
|
||||
for file in *.png; do \
|
||||
case "$$file" in \
|
||||
folder.png|gnome.png) ;; \
|
||||
*) rm -f $$file ;; \
|
||||
esac ; \
|
||||
done
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,34 +0,0 @@
|
||||
SUBDIRS = \
|
||||
bp \
|
||||
application1 application2 application3 \
|
||||
application4 application5 application6 \
|
||||
application7 application8 application9 \
|
||||
application10
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
hello-world \
|
||||
window-default \
|
||||
plugman \
|
||||
sunny \
|
||||
action-namespace \
|
||||
grid-packing \
|
||||
drawing \
|
||||
builder \
|
||||
search-bar
|
||||
|
||||
EXTRA_DIST = builder.ui
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,19 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,48 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
gears-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,30 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
exampleapp.gresource.xml
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,30 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
exampleapp.gresource.xml
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,31 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui app-menu.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
exampleapp.gresource.xml
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,45 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui app-menu.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,47 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,47 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,48 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
gears-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,48 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h \
|
||||
resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
gears-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,32 +0,0 @@
|
||||
AM_CPPFLAGS = \
|
||||
-DSRCDIR=\"$(abs_srcdir)\" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(top_builddir)/gdk/libgdk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_PROGRAMS = bloatpad
|
||||
|
||||
|
||||
bloatpad_SOURCES = bloatpad.c
|
||||
nodist_bloatpad_SOURCES = bloatpad-gresources.c
|
||||
|
||||
resource_files = \
|
||||
bloatpad.gresources.xml \
|
||||
gtk/menus.ui \
|
||||
gtk/help-overlay.ui
|
||||
|
||||
bloatpad-gresources.c: $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
|
||||
|
||||
CLEANFILES = bloatpad-gresources.c
|
||||
|
||||
EXTRA_DIST = $(resource_files)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
548
gdk/Makefile.am
548
gdk/Makefile.am
@@ -1,548 +0,0 @@
|
||||
## Makefile.am for gtk+/gdk
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
-include $(INTROSPECTION_MAKEFILE)
|
||||
INTROSPECTION_GIRS =
|
||||
INTROSPECTION_SCANNER_ENV = \
|
||||
CC="$(CC)"
|
||||
INTROSPECTION_SCANNER_ARGS = \
|
||||
--add-include-path=../gdk \
|
||||
--warn-all
|
||||
INTROSPECTION_COMPILER_ARGS = \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=.
|
||||
|
||||
SUBDIRS = $(GDK_BACKENDS) .
|
||||
|
||||
DIST_SUBDIRS = win32 x11 quartz broadway wayland mir
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
EXTRA_DIST += \
|
||||
keynames.txt \
|
||||
keynames-translate.txt \
|
||||
keyname-table.h \
|
||||
gdkkeynames.c \
|
||||
gen-keyname-table.pl \
|
||||
gdkconfig.h.win32 \
|
||||
gdkconfig.h.win32_vulkan \
|
||||
gdkkeysyms-update.pl \
|
||||
gdkmarshalers.list \
|
||||
gdkwindowimpl.h \
|
||||
makefile.msc \
|
||||
gdkenumtypes.c.template \
|
||||
gdkenumtypes.h.template \
|
||||
gdkversionmacros.h.in
|
||||
|
||||
GDK_CFLAGS_DEFINES = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION
|
||||
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GDK_CFLAGS_DEFINES) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
#
|
||||
# setup source file variables
|
||||
#
|
||||
#
|
||||
#
|
||||
#GDK header files for public installation (non-generated)
|
||||
#
|
||||
#
|
||||
gdk_public_h_sources = \
|
||||
gdk.h \
|
||||
gdk-autocleanup.h \
|
||||
gdkapplaunchcontext.h \
|
||||
gdkcairo.h \
|
||||
gdkcursor.h \
|
||||
gdkdevice.h \
|
||||
gdkdevicepad.h \
|
||||
gdkdevicetool.h \
|
||||
gdkdevicemanager.h \
|
||||
gdkdisplay.h \
|
||||
gdkdisplaymanager.h \
|
||||
gdkdnd.h \
|
||||
gdkdrawcontext.h \
|
||||
gdkdrawingcontext.h \
|
||||
gdkevents.h \
|
||||
gdkframetimings.h \
|
||||
gdkglcontext.h \
|
||||
gdkkeys.h \
|
||||
gdkkeysyms.h \
|
||||
gdkmain.h \
|
||||
gdkmonitor.h \
|
||||
gdkpango.h \
|
||||
gdkframeclock.h \
|
||||
gdkpixbuf.h \
|
||||
gdkprivate.h \
|
||||
gdkproperty.h \
|
||||
gdkrectangle.h \
|
||||
gdkrgba.h \
|
||||
gdkscreen.h \
|
||||
gdkseat.h \
|
||||
gdkselection.h \
|
||||
gdkthreads.h \
|
||||
gdktypes.h \
|
||||
gdkvisual.h \
|
||||
gdkvulkancontext.h \
|
||||
gdkwindow.h
|
||||
|
||||
gdk_h_sources = \
|
||||
$(gdk_public_h_sources)
|
||||
|
||||
gdk_private_headers = \
|
||||
gdk-private.h \
|
||||
gdkapplaunchcontextprivate.h \
|
||||
gdkcursorprivate.h \
|
||||
gdkdevicemanagerprivate.h \
|
||||
gdkdeviceprivate.h \
|
||||
gdkdevicepadprivate.h \
|
||||
gdkdevicetoolprivate.h \
|
||||
gdkdisplaymanagerprivate.h \
|
||||
gdkdisplayprivate.h \
|
||||
gdkdndprivate.h \
|
||||
gdkdrawcontextprivate.h \
|
||||
gdkdrawingcontextprivate.h \
|
||||
gdkframeclockidle.h \
|
||||
gdkframeclockprivate.h \
|
||||
gdkglcontextprivate.h \
|
||||
gdkmonitorprivate.h \
|
||||
gdkscreenprivate.h \
|
||||
gdkseatprivate.h \
|
||||
gdkseatdefaultprivate.h \
|
||||
gdkinternals.h \
|
||||
gdkintl.h \
|
||||
gdkkeysprivate.h \
|
||||
gdkvisualprivate.h \
|
||||
gdkvulkancontextprivate.h \
|
||||
gdkx.h
|
||||
|
||||
gdk_c_sources = \
|
||||
gdk.c \
|
||||
gdkapplaunchcontext.c \
|
||||
gdkcairo.c \
|
||||
gdkcursor.c \
|
||||
gdkdeprecated.c \
|
||||
gdkdevice.c \
|
||||
gdkdevicepad.c \
|
||||
gdkdevicetool.c \
|
||||
gdkdevicemanager.c \
|
||||
gdkdisplay.c \
|
||||
gdkdisplaymanager.c \
|
||||
gdkdnd.c \
|
||||
gdkdrawcontext.c \
|
||||
gdkdrawingcontext.c \
|
||||
gdkevents.c \
|
||||
gdkframetimings.c \
|
||||
gdkgl.c \
|
||||
gdkglcontext.c \
|
||||
gdkglobals.c \
|
||||
gdkkeys.c \
|
||||
gdkkeyuni.c \
|
||||
gdkmonitor.c \
|
||||
gdkframeclock.c \
|
||||
gdkframeclockidle.c \
|
||||
gdkpango.c \
|
||||
gdkpixbuf-drawable.c \
|
||||
gdkproperty.c \
|
||||
gdkrectangle.c \
|
||||
gdkrgba.c \
|
||||
gdkscreen.c \
|
||||
gdkseat.c \
|
||||
gdkseatdefault.c \
|
||||
gdkselection.c \
|
||||
gdkvisual.c \
|
||||
gdkvulkancontext.c \
|
||||
gdkwindow.c \
|
||||
gdkwindowimpl.c
|
||||
|
||||
gdk_built_sources = \
|
||||
gdkenumtypes.h \
|
||||
gdkenumtypes.c \
|
||||
gdkmarshalers.h \
|
||||
gdkmarshalers.c \
|
||||
gdkresources.h \
|
||||
gdkresources.c \
|
||||
gdkversionmacros.h
|
||||
|
||||
#
|
||||
# setup GDK sources and their dependencies
|
||||
#
|
||||
|
||||
gdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
gdkinclude_HEADERS = $(gdk_public_h_sources)
|
||||
nodist_gdkinclude_HEADERS = gdkconfig.h gdkenumtypes.h gdkversionmacros.h
|
||||
|
||||
deprecatedincludedir = $(includedir)/gtk-4.0/gdk/deprecated
|
||||
deprecatedinclude_HEADERS = $(deprecated_h_sources)
|
||||
|
||||
common_sources = \
|
||||
$(gdk_private_headers) \
|
||||
$(gdk_c_sources) \
|
||||
gdkenumtypes.c \
|
||||
gdkmarshalers.c \
|
||||
gdkmarshalers.h \
|
||||
gdkresources.h \
|
||||
gdkresources.c
|
||||
|
||||
libgdk_4_la_SOURCES = $(common_sources)
|
||||
libgdk_4_la_CFLAGS = $(AM_CFLAGS) $(GTK_WARN_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
||||
libgdk_4_la_LIBADD = $(GDK_DEP_LIBS) $(SHM_LIBS)
|
||||
libgdk_4_la_LDFLAGS = $(LDADD)
|
||||
|
||||
if USE_X11
|
||||
libgdk_4_la_LIBADD += x11/libgdk-x11.la
|
||||
endif # USE_X11
|
||||
|
||||
if USE_QUARTZ
|
||||
libgdk_4_la_CFLAGS += -xobjective-c
|
||||
libgdk_4_la_LIBADD += quartz/libgdk-quartz.la
|
||||
endif # USE_QUARTZ
|
||||
|
||||
if USE_WIN32
|
||||
libgdk_4_la_LIBADD += win32/libgdk-win32.la
|
||||
endif # USE_WIN32
|
||||
|
||||
if USE_BROADWAY
|
||||
libgdk_4_la_LIBADD += broadway/libgdk-broadway.la
|
||||
endif # USE_BROADWAY
|
||||
|
||||
if USE_WAYLAND
|
||||
libgdk_4_la_LIBADD += wayland/libgdk-wayland.la
|
||||
endif
|
||||
|
||||
if USE_MIR
|
||||
libgdk_4_la_LIBADD += mir/libgdk-mir.la
|
||||
endif
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
|
||||
introspection_files = \
|
||||
$(gdk_h_sources) \
|
||||
$(gdk_c_sources) \
|
||||
gdkenumtypes.c \
|
||||
gdkenumtypes.h \
|
||||
$()
|
||||
|
||||
Gdk-noinst-4.0.gir: libgdk-4.la Makefile
|
||||
Gdk_noinst_4_0_gir_SCANNERFLAGS = \
|
||||
--c-include="gdk/gdk.h"
|
||||
Gdk_noinst_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 cairo-1.0
|
||||
Gdk_noinst_4_0_gir_LIBS = libgdk-4.la
|
||||
Gdk_noinst_4_0_gir_FILES = $(introspection_files)
|
||||
Gdk_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS)
|
||||
Gdk_noinst_4_0_gir_EXPORT_PACKAGES = gdk-4.0
|
||||
INTROSPECTION_GIRS += Gdk-noinst-4.0.gir
|
||||
if OS_WIN32
|
||||
Gdk_noinst_4_0_gir_CFLAGS += -I$(srcdir)/win32 -I$(srcdir)
|
||||
endif
|
||||
if USE_X11
|
||||
x11_introspection_files = \
|
||||
x11/gdkapplaunchcontext-x11.c \
|
||||
x11/gdkasync.c \
|
||||
x11/gdkcursor-x11.c \
|
||||
x11/gdkdevice-core-x11.c \
|
||||
x11/gdkdevicemanager-core-x11.c \
|
||||
x11/gdkdevicemanager-x11.c \
|
||||
x11/gdkdevicemanager-xi2.c \
|
||||
x11/gdkdevice-xi2.c \
|
||||
x11/gdkdisplay-x11.c \
|
||||
x11/gdkdnd-x11.c \
|
||||
x11/gdkeventsource.c \
|
||||
x11/gdkeventtranslator.c \
|
||||
x11/gdkgeometry-x11.c \
|
||||
x11/gdkkeys-x11.c \
|
||||
x11/gdkmain-x11.c \
|
||||
x11/gdkproperty-x11.c \
|
||||
x11/gdkscreen-x11.c \
|
||||
x11/gdkselection-x11.c \
|
||||
x11/gdksettings.c \
|
||||
x11/gdkvisual-x11.c \
|
||||
x11/gdkwindow-x11.c \
|
||||
x11/gdkxftdefaults.c \
|
||||
x11/gdkxid.c \
|
||||
x11/xsettings-client.c \
|
||||
x11/gdkx.h \
|
||||
x11/gdkx11applaunchcontext.h \
|
||||
x11/gdkx11cursor.h \
|
||||
x11/gdkx11device.h \
|
||||
x11/gdkx11device-core.h \
|
||||
x11/gdkx11device-xi2.h \
|
||||
x11/gdkx11devicemanager.h \
|
||||
x11/gdkx11devicemanager-core.h \
|
||||
x11/gdkx11devicemanager-xi2.h \
|
||||
x11/gdkx11display.h \
|
||||
x11/gdkx11dnd.h \
|
||||
x11/gdkx11keys.h \
|
||||
x11/gdkx11property.h \
|
||||
x11/gdkx11screen.h \
|
||||
x11/gdkx11selection.h \
|
||||
x11/gdkx11utils.h \
|
||||
x11/gdkx11visual.h \
|
||||
x11/gdkx11window.h
|
||||
|
||||
GdkX11-noinst-4.0.gir: libgdk-4.la Gdk-noinst-4.0.gir Makefile
|
||||
GdkX11_noinst_4_0_gir_SCANNERFLAGS = \
|
||||
--identifier-prefix=Gdk \
|
||||
--c-include="gdk/gdkx.h" \
|
||||
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir
|
||||
GdkX11_noinst_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0
|
||||
GdkX11_noinst_4_0_gir_LIBS = libgdk-4.la
|
||||
GdkX11_noinst_4_0_gir_FILES = $(x11_introspection_files)
|
||||
GdkX11_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk
|
||||
GdkX11_noinst_4_0_gir_EXPORT_PACKAGES = gdk-x11-4.0
|
||||
INTROSPECTION_GIRS += GdkX11-noinst-4.0.gir
|
||||
|
||||
endif # USE_X11
|
||||
|
||||
w32_introspection_files = \
|
||||
win32/gdkcursor-win32.c \
|
||||
win32/gdkdevicemanager-win32.c \
|
||||
win32/gdkdevice-virtual.c \
|
||||
win32/gdkdevice-win32.c \
|
||||
win32/gdkdevice-wintab.c \
|
||||
win32/gdkdisplaymanager-win32.c \
|
||||
win32/gdkdisplay-win32.c \
|
||||
win32/gdkdnd-win32.c \
|
||||
win32/gdkevents-win32.c \
|
||||
win32/gdkgeometry-win32.c \
|
||||
win32/gdkglobals-win32.c \
|
||||
win32/gdkkeys-win32.c \
|
||||
win32/gdkmain-win32.c \
|
||||
win32/gdkproperty-win32.c \
|
||||
win32/gdkscreen-win32.c \
|
||||
win32/gdkselection-win32.c \
|
||||
win32/gdkwin32.h \
|
||||
win32/gdkwin32cursor.h \
|
||||
win32/gdkwin32display.h \
|
||||
win32/gdkwin32displaymanager.h \
|
||||
win32/gdkwin32dnd.h \
|
||||
win32/gdkwin32id.c \
|
||||
win32/gdkwin32keys.h \
|
||||
win32/gdkwin32misc.h \
|
||||
win32/gdkwin32screen.h \
|
||||
win32/gdkwin32window.h \
|
||||
win32/gdkwindow-win32.c
|
||||
|
||||
if OS_WIN32
|
||||
GdkWin32-noinst-4.0.gir: libgdk-4.la Gdk-noinst-4.0.gir Makefile
|
||||
GdkWin32_noinst_4_0_gir_SCANNERFLAGS = \
|
||||
--identifier-prefix=Gdk \
|
||||
--c-include="gdk/gdkwin32.h" \
|
||||
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir
|
||||
GdkWin32_noinst_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0
|
||||
GdkWin32_noinst_4_0_gir_LIBS = libgdk-4.la
|
||||
GdkWin32_noinst_4_0_gir_FILES = $(w32_introspection_files)
|
||||
GdkWin32_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk -I$(srcdir)/win32 -I$(srcdir)
|
||||
INTROSPECTION_GIRS += GdkWin32-noinst-4.0.gir
|
||||
|
||||
endif # OS_WIN32
|
||||
|
||||
noinst_DATA = $(INTROSPECTION_GIRS)
|
||||
|
||||
CLEANFILES += $(INTROSPECTION_GIRS)
|
||||
|
||||
endif # HAVE_INTROSPECTION
|
||||
|
||||
if OS_WIN32
|
||||
gdk.def: libgdk-4.la
|
||||
echo "LIBRARY libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@" >$@
|
||||
echo "EXPORTS" >>$@
|
||||
objdump -p .libs/libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@.dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@
|
||||
install-def-file: gdk.def
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
$(INSTALL) gdk.def $(DESTDIR)$(libdir)/gdk-win32-4.0.def
|
||||
uninstall-def-file:
|
||||
-rm $(DESTDIR)$(libdir)/gdk-win32-4.0.def
|
||||
else
|
||||
install-def-file:
|
||||
uninstall-def-file:
|
||||
endif
|
||||
|
||||
if MS_LIB_AVAILABLE
|
||||
noinst_DATA = gdk-win32-$(GTK_API_VERSION).lib
|
||||
|
||||
gdk-win32-$(GTK_API_VERSION).lib: libgdk-4.la gdk.def
|
||||
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgdk-win32-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gdk.def -out:$@
|
||||
|
||||
install-ms-lib:
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
$(INSTALL) gdk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
|
||||
|
||||
uninstall-ms-lib:
|
||||
-rm $(DESTDIR)$(libdir)/gdk-win32-$(GTK_API_VERSION).lib
|
||||
else
|
||||
install-ms-lib:
|
||||
uninstall-ms-lib:
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-4.la
|
||||
|
||||
MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
|
||||
EXTRA_DIST += \
|
||||
$(gdk_built_sources) \
|
||||
fallback-c89.c
|
||||
|
||||
install-exec-hook:
|
||||
if DISABLE_EXPLICIT_DEPS
|
||||
$(SHELL) $(top_srcdir)/sanitize-la.sh $(DESTDIR)$(libdir)/libgdk-4.la
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = \
|
||||
$(gdk_built_sources) \
|
||||
gdkconfig.h
|
||||
|
||||
gdkenumtypes.h: stamp-gdkenumtypes.h
|
||||
@true
|
||||
stamp-gdkenumtypes.h: $(gdk_h_sources) gdkenumtypes.h.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.h.template \
|
||||
$(gdk_h_sources) ) >> xgen-geth \
|
||||
&& (cmp -s xgen-geth gdkenumtypes.h || cp xgen-geth gdkenumtypes.h ) \
|
||||
&& rm -f xgen-geth \
|
||||
&& echo timestamp > $(@F)
|
||||
gdkenumtypes.c: $(gdk_h_sources) gdkenumtypes.c.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.c.template \
|
||||
$(gdk_h_sources) ) > xgen-getc \
|
||||
&& cp xgen-getc gdkenumtypes.c \
|
||||
&& rm -f xgen-getc
|
||||
|
||||
#
|
||||
# Marshaller generation
|
||||
#
|
||||
gdkmarshalers.h: gdkmarshalers.list
|
||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||
--prefix=_gdk_marshal \
|
||||
--header \
|
||||
$(srcdir)/gdkmarshalers.list > gdkmarshalers-h.tmp \
|
||||
&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
|
||||
|| ( rm -f gdkmarshalers-h.tmp && exit 1)
|
||||
gdkmarshalers.c: gdkmarshalers.list
|
||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||
--prefix=_gdk_marshal \
|
||||
--body \
|
||||
--prototypes \
|
||||
$(srcdir)/gdkmarshalers.list > gdkmarshalers-c.tmp \
|
||||
&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
|
||||
|| ( rm -f gdkmarshalers-c.tmp && exit 1 )
|
||||
|
||||
gdkconfig.h: stamp-gc-h
|
||||
$(AM_V_GEN) if test -f gdkconfig.h; then :; \
|
||||
else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
|
||||
stamp-gc-h: $(top_builddir)/config.status
|
||||
$(AM_V_at) cd $(top_builddir) && $(SHELL) ./config.status gdk/gdkconfig.h \
|
||||
&& echo timestamp > gdk/$(@F)
|
||||
|
||||
#
|
||||
# Resources
|
||||
#
|
||||
|
||||
glsl_sources := $(wildcard $(srcdir)/resources/glsl/*.glsl)
|
||||
|
||||
gdk.gresource.xml: Makefile.am
|
||||
$(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
|
||||
echo "<gresources>" >> $@; \
|
||||
echo " <gresource prefix='/org/gtk/libgdk'>" >> $@; \
|
||||
for f in $(glsl_sources); do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file alias='glsl/$$n'>resources/glsl/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " </gresource>" >> $@; \
|
||||
echo "</gresources>" >> $@;
|
||||
|
||||
EXTRA_DIST += $(glsl_sources)
|
||||
CLEANFILES += gdk.gresource.xml
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/gdk.gresource.xml)
|
||||
|
||||
gdkresources.h: gdk.gresource.xml
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \
|
||||
--sourcedir=$(srcdir) --c-name _gdk --generate-header --manual-register
|
||||
gdkresources.c: gdk.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \
|
||||
--sourcedir=$(srcdir) --c-name _gdk --generate-source --manual-register
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gdk-4
|
||||
|
||||
gdk_4_FILES = $(libgdk_4_la_SOURCES)
|
||||
gdk_4_EXCLUDES = dummy
|
||||
gdk_4_HEADERS_DIR = $(gdkincludedir)
|
||||
|
||||
gdk_4_HEADERS_INST = \
|
||||
$(gdkinclude_HEADERS) \
|
||||
$(deprecatedinclude_HEADERS) \
|
||||
$(nodist_gdkinclude_HEADERS)
|
||||
|
||||
gdk_4_HEADERS_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
# Introspection Items for MSVC
|
||||
MSVC_INTROSPECT_GIRS = Gdk-4.0.gir GdkWin32-4.0.gir
|
||||
|
||||
BASE_MSVC_GIR_CFLAGS = \
|
||||
$(GDK_CFLAGS_DEFINES) \
|
||||
-I../.. -I../../gdk -I.../../gdk/win32
|
||||
|
||||
INTROSPECTION_INTERMEDIATE_ITEMS = \
|
||||
$(top_builddir)/win32/Gdk-4.0.gir.msvc.introspect \
|
||||
$(top_builddir)/win32/Gdk_4_0_gir_list \
|
||||
$(top_builddir)/win32/GdkWin32-4.0.gir.msvc.introspect \
|
||||
$(top_builddir)/win32/GdkWin32_4_0_gir_list
|
||||
|
||||
Gdk_4_0_gir_MSVC_FILES = $(introspection_files)
|
||||
Gdk_4_0_gir_MSVC_EXPORT_PACKAGES = $(Gdk_noinst_4_0_gir_EXPORT_PACKAGES)
|
||||
Gdk_4_0_gir_MSVC_INCLUDE_GIRS = $(Gdk_noinst_4_0_gir_INCLUDES)
|
||||
Gdk_4_0_gir_MSVC_LIBS = gtk-4
|
||||
Gdk_4_0_gir_MSVC_CFLAGS = $(BASE_MSVC_GIR_CFLAGS)
|
||||
Gdk_4_0_gir_MSVC_SCANNERFLAGS = $(Gdk_noinst_4_0_gir_SCANNERFLAGS)
|
||||
|
||||
GdkWin32_4_0_gir_MSVC_FILES = $(w32_introspection_files)
|
||||
GdkWin32_4_0_gir_MSVC_INCLUDE_GIRS = $(GdkWin32_noinst_4_0_gir_INCLUDES)
|
||||
GdkWin32_4_0_gir_MSVC_LIBS = $(Gdk_4_0_gir_MSVC_LIBS)
|
||||
GdkWin32_4_0_gir_MSVC_CFLAGS = $(BASE_MSVC_GIR_CFLAGS)
|
||||
GdkWin32_4_0_gir_MSVC_SCANNERFLAGS = \
|
||||
--identifier-prefix=Gdk \
|
||||
--c-include="gdk/gdkwin32.h" \
|
||||
--include-uninstalled=./Gdk-4.0.gir
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvc-introspection
|
||||
|
||||
else
|
||||
INTROSPECTION_INTERMEDIATE_ITEMS =
|
||||
endif
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs12/gdk-4.vcxproj \
|
||||
$(top_builddir)/win32/vs12/gdk-4.vs12.headers \
|
||||
$(INTROSPECTION_INTERMEDIATE_ITEMS)
|
||||
|
||||
DISTCLEANFILES = gdkconfig.h stamp-gc-h
|
||||
|
||||
install-data-local: install-ms-lib install-def-file
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-def-file
|
||||
rm -f $(DESTDIR)$(configexecincludedir)/gdkconfig.h
|
||||
|
||||
# if srcdir!=builddir, clean out maintainer-clean files from builddir
|
||||
# this allows dist to pass.
|
||||
distclean-local:
|
||||
if test $(srcdir) != .; then \
|
||||
rm -f $(MAINTAINERCLEANFILES); \
|
||||
fi
|
||||
|
||||
.PHONY: files
|
||||
|
||||
files:
|
||||
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
|
||||
echo $$p; \
|
||||
done
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,107 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
NULL =
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
libgdkbroadwayincludedir = $(includedir)/gtk-4.0/gdk/broadway
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS) -lrt
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-broadway.la
|
||||
|
||||
bin_PROGRAMS = gtk4-broadwayd
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkbroadway.h
|
||||
|
||||
libgdkbroadwayinclude_HEADERS = \
|
||||
gdkbroadwaydisplay.h \
|
||||
gdkbroadwaywindow.h \
|
||||
gdkbroadwaycursor.h \
|
||||
gdkbroadwaymonitor.h
|
||||
|
||||
EXTRA_DIST += toarray.pl
|
||||
|
||||
clienthtml.h: client.html
|
||||
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl client_html $(srcdir)/client.html > $@
|
||||
|
||||
EXTRA_DIST += client.html
|
||||
|
||||
broadwayjs.h: broadway.js rawinflate.min.js
|
||||
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl broadway_js $(srcdir)/broadway.js $(srcdir)/rawinflate.min.js > $@
|
||||
|
||||
EXTRA_DIST += broadway.js rawinflate.min.js
|
||||
|
||||
# built headers that don't get installed
|
||||
broadway_built_private_headers = \
|
||||
clienthtml.h \
|
||||
broadwayjs.h
|
||||
|
||||
broadway_built_sources = \
|
||||
${broadway_built_private_headers}
|
||||
|
||||
libgdk_broadway_la_SOURCES = \
|
||||
${broadway_built_private_headers}\
|
||||
gdkcursor-broadway.c \
|
||||
gdkdevice-broadway.h \
|
||||
gdkdevice-broadway.c \
|
||||
gdkdevicemanager-broadway.h \
|
||||
gdkdevicemanager-broadway.c \
|
||||
gdkdisplay-broadway.c \
|
||||
gdkdisplay-broadway.h \
|
||||
gdkdnd-broadway.c \
|
||||
gdkeventsource.c \
|
||||
gdkeventsource.h \
|
||||
gdkglobals-broadway.c \
|
||||
gdkkeys-broadway.c \
|
||||
gdkmonitor-broadway.c \
|
||||
gdkmonitor-broadway.h \
|
||||
gdkproperty-broadway.c \
|
||||
gdkscreen-broadway.c \
|
||||
gdkscreen-broadway.h \
|
||||
gdkselection-broadway.c \
|
||||
gdkwindow-broadway.c \
|
||||
gdkwindow-broadway.h \
|
||||
gdkprivate-broadway.h \
|
||||
gdkbroadway-server.h \
|
||||
gdkbroadway-server.c
|
||||
|
||||
if OS_UNIX
|
||||
libgdk_broadway_la_LIBADD = \
|
||||
$(SHM_LIBS) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
gtk4_broadwayd_SOURCES = \
|
||||
broadway-protocol.h \
|
||||
broadwayd.c \
|
||||
broadway-server.h \
|
||||
broadway-server.c \
|
||||
broadway-buffer.c \
|
||||
broadway-buffer.h \
|
||||
broadway-output.h \
|
||||
broadway-output.c
|
||||
|
||||
if OS_WIN32
|
||||
gtk4_broadwayd_LDADD = $(GDK_DEP_LIBS) -lws2_32
|
||||
else
|
||||
gtk4_broadwayd_LDADD = $(GDK_DEP_LIBS) @SHM_LIBS@
|
||||
endif
|
||||
|
||||
MAINTAINERCLEANFILES = $(broadway_built_sources)
|
||||
EXTRA_DIST += $(broadway_built_sources)
|
||||
|
||||
BUILT_SOURCES = $(broadway_built_sources)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
173
gdk/makefile.msc
173
gdk/makefile.msc
@@ -1,173 +0,0 @@
|
||||
## Makefile for building the GDK DLL with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
## You must first build the Win32-dependent sources in the win32 subdirectory.
|
||||
|
||||
## There is no install target, you have to decide where and
|
||||
## how to install for yourself.
|
||||
|
||||
TOP = ..\..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
# Location of the Wintab toolkit. Downloadable from http://www.pointing.com.
|
||||
# definition should possibly go to build/win32/module.def, too.
|
||||
!IFNDEF WTKIT
|
||||
WTKIT = $(TOP)\wtkit126
|
||||
!ENDIF
|
||||
|
||||
###############################################################
|
||||
|
||||
# Nothing much configurable below
|
||||
# overwrite version?
|
||||
GTK_VER=3.0
|
||||
|
||||
!IFNDEF PERL
|
||||
PERL = perl
|
||||
!ENDIF
|
||||
|
||||
INCLUDES = -FImsvc_recommended_pragmas.h \
|
||||
-I . -I .. \
|
||||
$(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CAIRO_CFLAGS) $(GDK_PIXBUF_CFLAGS) \
|
||||
|
||||
DEFINES = \
|
||||
-DHAVE_CONFIG_H \
|
||||
-DGDK_VERSION=\"$(GTK_VER)\" \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DGDK_COMPILATION -DG_LOG_DOMAIN=\"Gdk\"
|
||||
|
||||
EXTRALIBS = \
|
||||
$(WTKIT)\lib\i386\wntab32x.lib \
|
||||
$(GLIB_LIBS) $(GDK_PIXBUF_LIBS) \
|
||||
$(CAIRO_LIBS) $(CAIRO_GOBJECT_LIBS) \
|
||||
$(PANGOWIN32_LIBS) $(PANGOCAIRO_LIBS) $(INTL_LIBS)
|
||||
|
||||
gdk-win32-backend :
|
||||
cd win32
|
||||
nmake -nologo -f makefile.msc
|
||||
cd ..
|
||||
|
||||
all: \
|
||||
..\config.h \
|
||||
gdkconfig.h \
|
||||
gdkenumtypes.h \
|
||||
gdkenumtypes.c \
|
||||
gdkmarshalers.h \
|
||||
gdkmarshalers.c \
|
||||
gdk-win32-backend \
|
||||
libgdk-win32-$(GTK_VER)-0.dll \
|
||||
# testgdk.exe \
|
||||
# gdk-win32-$(GTK_VER)s.lib \
|
||||
# gdk-x11-$(GTK_VER).dll \
|
||||
|
||||
gdk_OBJECTS = \
|
||||
gdk.obj \
|
||||
gdkapplaunchcontext.obj \
|
||||
gdkcairo.obj \
|
||||
gdkcolor.obj \
|
||||
gdkcursor.obj \
|
||||
gdkdevice.obj \
|
||||
gdkdevicemanager.obj \
|
||||
gdkdisplay.obj \
|
||||
gdkdisplaymanager.obj \
|
||||
gdkdnd.obj \
|
||||
gdkenumtypes.obj \
|
||||
gdkevents.obj \
|
||||
gdkglobals.obj \
|
||||
gdkkeynames.obj \
|
||||
gdkkeys.obj \
|
||||
gdkkeyuni.obj \
|
||||
gdkmarshalers.obj \
|
||||
gdkpango.obj \
|
||||
gdkpixbuf-drawable.obj \
|
||||
gdkrectangle.obj \
|
||||
gdkrgba.obj \
|
||||
gdkscreen.obj \
|
||||
gdkselection.obj \
|
||||
gdkvisual.obj \
|
||||
gdkwindow.obj \
|
||||
gdkwindowimpl.obj \
|
||||
|
||||
gdk_public_h_sources = \
|
||||
gdk.h \
|
||||
gdkapplaunchcontext.h \
|
||||
gdkcairo.h \
|
||||
gdkcolor.h \
|
||||
gdkcursor.h \
|
||||
gdkdevice.h \
|
||||
gdkdevicemanager.h \
|
||||
gdkdisplay.h \
|
||||
gdkdisplaymanager.h \
|
||||
gdkdnd.h \
|
||||
gdkevents.h \
|
||||
gdkkeys.h \
|
||||
gdkkeysyms.h \
|
||||
gdkmain.h \
|
||||
gdkpango.h \
|
||||
gdkpixbuf.h \
|
||||
gdkprivate.h \
|
||||
gdkproperty.h \
|
||||
gdkrectangle.h \
|
||||
gdkrgba.h \
|
||||
gdkscreen.h \
|
||||
gdkselection.h \
|
||||
gdktestutils.h \
|
||||
gdkthreads.h \
|
||||
gdktypes.h \
|
||||
gdkvisual.h \
|
||||
gdkwindow.h
|
||||
|
||||
# private marshalers
|
||||
gdkmarshalers.h : gdkmarshalers.list
|
||||
$(GLIB)\gobject\glib-genmarshal --prefix=_gdk_marshal gdkmarshalers.list --header >>gdkmarshalers.h
|
||||
|
||||
gdkmarshalers.c : gdkmarshalers.list
|
||||
$(GLIB)\gobject\glib-genmarshal --prefix=_gdk_marshal gdkmarshalers.list --body >gdkmarshalers.c
|
||||
|
||||
gdkenumtypes.h: $(gdk_public_h_sources) gdkenumtypes.h.template
|
||||
$(PERL) $(GLIB)\gobject\glib-mkenums --template gdkenumtypes.h.template \
|
||||
$(gdk_public_h_sources) > gdkenumtypes.h
|
||||
|
||||
gdkenumtypes.c: $(gdk_public_h_sources) gdkenumtypes.c.template
|
||||
$(PERL) $(GLIB)\gobject\glib-mkenums --template gdkenumtypes.c.template \
|
||||
$(gdk_public_h_sources) > gdkenumtypes.c
|
||||
|
||||
..\config.h : ..\config.h.win32
|
||||
copy ..\config.h.win32 ..\config.h
|
||||
|
||||
gdkconfig.h : gdkconfig.h.win32
|
||||
copy gdkconfig.h.win32 gdkconfig.h
|
||||
|
||||
gdk.def: gdk.symbols
|
||||
echo EXPORTS > gdk.def
|
||||
cl /EP -DG_OS_WIN32 -DGDK_WINDOWING_WIN32 \
|
||||
-DG_GNUC_CONST= \
|
||||
gdk.symbols >> gdk.def
|
||||
|
||||
# /force /verbose:lib
|
||||
libgdk-win32-$(GTK_VER)-0.dll : $(gdk_OBJECTS) gdk.def win32\gdk-win32.lib
|
||||
$(CC) $(CFLAGS) -LD -Fe$@ $(gdk_OBJECTS) win32\gdk-win32.lib $(EXTRALIBS) \
|
||||
gdi32.lib user32.lib imm32.lib shell32.lib ole32.lib uuid.lib win32\gdk.res \
|
||||
$(LDFLAGS) /implib:gdk-win32-$(GTK_VER).lib /def:gdk.def
|
||||
|
||||
gdk-win32-$(GTK_VER)s.lib : $(gdk_OBJECTS)
|
||||
lib /out:gdk-win32-$(GTK_VER)s.lib $(gdk_OBJECTS) win32\gdk-win32.lib
|
||||
|
||||
gdk-x11-$(GTK_VER).dll : $(gdk_OBJECTS) gdk.def x11\gdk-x11.lib
|
||||
$(CC) $(CFLAGS) -LD -Fegdk-x11-$(GTK_VER).dll $(gdk_OBJECTS) \
|
||||
$(PANGO)\pango\pangox-$(PANGO_VER).lib \
|
||||
x11\gdk-x11.lib $(X11_LIBS) $(EXTRALIBS) user32.lib $(LDFLAGS) /def:gdk.def
|
||||
|
||||
testgdk.exe : libgdk-win32-$(GTK_VER)-0.dll testgdk.obj
|
||||
$(CC) -Fetestgdk.exe testgdk.obj gdk-win32-$(GTK_VER).lib $(EXTRALIBS) $(LDFLAGS)
|
||||
|
||||
clean::
|
||||
cd win32
|
||||
nmake -f makefile.msc clean
|
||||
cd ..
|
||||
del gdkmarshalers.c
|
||||
del gdkmarshalers.h
|
||||
del *.dll
|
||||
del *.obj
|
||||
del *.lib
|
||||
del *.err
|
||||
del *.res
|
@@ -1,42 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
libgdkmirincludedir = $(includedir)/gtk-4.0/gdk/mir
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
libgdk-mir.la
|
||||
|
||||
libgdk_mir_la_SOURCES = \
|
||||
gdkmircursor.c \
|
||||
gdkmirdevicemanager.c \
|
||||
gdkmirdisplay.c \
|
||||
gdkmireventsource.c \
|
||||
gdkmirglcontext.c \
|
||||
gdkmirkeyboard.c \
|
||||
gdkmirkeymap.c \
|
||||
gdkmirpointer.c \
|
||||
gdkmirscreen.c \
|
||||
gdkmirwindow.c \
|
||||
gdkmirwindowimpl.c \
|
||||
gdkmir-debug.c \
|
||||
gdkmir-private.h \
|
||||
gdkmir.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkmir.h
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,72 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
libgdkquartzincludedir = $(includedir)/gtk-4.0/gdk/quartz
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS) \
|
||||
"-xobjective-c"
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-quartz.la
|
||||
|
||||
libgdk_quartz_la_SOURCES = \
|
||||
GdkQuartzView.c \
|
||||
GdkQuartzView.h \
|
||||
GdkQuartzNSWindow.c \
|
||||
GdkQuartzNSWindow.h \
|
||||
gdkcursor-quartz.c \
|
||||
gdkdevice-core-quartz.c \
|
||||
gdkdevicemanager-core-quartz.c \
|
||||
gdkdevicemanager-core-quartz.h \
|
||||
gdkdisplay-quartz.c \
|
||||
gdkdisplay-quartz.h \
|
||||
gdkdisplaymanager-quartz.c \
|
||||
gdkdnd-quartz.c \
|
||||
gdkdnd-quartz.h \
|
||||
gdkevents-quartz.c \
|
||||
gdkeventloop-quartz.c \
|
||||
gdkglcontext-quartz.c \
|
||||
gdkglcontext-quartz.h \
|
||||
gdkglobals-quartz.c \
|
||||
gdkkeys-quartz.c \
|
||||
gdkmonitor-quartz.c \
|
||||
gdkmonitor-quartz.h \
|
||||
gdkprivate-quartz.h \
|
||||
gdkproperty-quartz.c \
|
||||
gdkquartz.h \
|
||||
gdkscreen-quartz.c \
|
||||
gdkscreen-quartz.h \
|
||||
gdkselection-quartz.c \
|
||||
gdkutils-quartz.c \
|
||||
gdkwindow-quartz.c \
|
||||
gdkwindow-quartz.h \
|
||||
xcursors.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkquartz.h
|
||||
|
||||
libgdkquartzinclude_HEADERS = \
|
||||
gdkquartzcursor.h \
|
||||
gdkquartzdevice-core.h \
|
||||
gdkquartzdevicemanager-core.h \
|
||||
gdkquartzdisplay.h \
|
||||
gdkquartzdisplaymanager.h \
|
||||
gdkquartzdnd.h \
|
||||
gdkquartzkeys.h \
|
||||
gdkquartzmonitor.h \
|
||||
gdkquartzscreen.h \
|
||||
gdkquartzutils.h \
|
||||
gdkquartzwindow.h
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,109 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
libgdkwaylandincludedir = $(includedir)/gtk-4.0/gdk/wayland
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS) $(SHM_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
libgdk-wayland.la
|
||||
|
||||
BUILT_SOURCES = \
|
||||
pointer-gestures-unstable-v1-client-protocol.h \
|
||||
pointer-gestures-unstable-v1-protocol.c \
|
||||
xdg-shell-unstable-v6-client-protocol.h \
|
||||
xdg-shell-unstable-v6-protocol.c \
|
||||
xdg-foreign-unstable-v1-client-protocol.h \
|
||||
xdg-foreign-unstable-v1-protocol.c \
|
||||
gtk-primary-selection-client-protocol.h \
|
||||
gtk-primary-selection-protocol.c \
|
||||
tablet-unstable-v2-client-protocol.h \
|
||||
tablet-unstable-v2-protocol.c \
|
||||
keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h \
|
||||
keyboard-shortcuts-inhibit-unstable-v1-protocol.c \
|
||||
gtk-shell-client-protocol.h \
|
||||
gtk-shell-protocol.c
|
||||
|
||||
nodist_libgdk_wayland_la_SOURCES = \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
libgdk_wayland_la_SOURCES = \
|
||||
gdkapplaunchcontext-wayland.c \
|
||||
gdkcursor-wayland.c \
|
||||
gdkdevice-wayland.c \
|
||||
gdkdisplay-wayland.c \
|
||||
gdkdisplay-wayland.h \
|
||||
gdkdnd-wayland.c \
|
||||
gdkeventsource.c \
|
||||
gdkkeys-wayland.c \
|
||||
gdkglcontext-wayland.c \
|
||||
gdkglcontext-wayland.h \
|
||||
gdkmonitor-wayland.c \
|
||||
gdkmonitor-wayland.h \
|
||||
gdkscreen-wayland.c \
|
||||
gdkseat-wayland.h \
|
||||
gdkselection-wayland.c \
|
||||
gdkvulkancontext-wayland.c \
|
||||
gdkvulkancontext-wayland.h \
|
||||
gdkwindow-wayland.c \
|
||||
gdkwayland.h \
|
||||
gdkprivate-wayland.h \
|
||||
wm-button-layout-translation.c \
|
||||
wm-button-layout-translation.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkwayland.h
|
||||
|
||||
libgdkwaylandinclude_HEADERS = \
|
||||
gdkwaylanddevice.h \
|
||||
gdkwaylanddisplay.h \
|
||||
gdkwaylandglcontext.h \
|
||||
gdkwaylandmonitor.h \
|
||||
gdkwaylandselection.h \
|
||||
gdkwaylandwindow.h
|
||||
|
||||
.SECONDEXPANSION:
|
||||
|
||||
define protostability
|
||||
$(shell echo $1 | sed 's/.*\(\<unstable\>\|\<stable\>\).*/\1/')
|
||||
endef
|
||||
|
||||
define protoname
|
||||
$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
|
||||
endef
|
||||
|
||||
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
||||
$(AM_V_GEN)$(SED) -i -e 's/WL_EXPORT //' $@
|
||||
%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
%-protocol.c : $(srcdir)/protocol/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
||||
$(AM_V_GEN)$(SED) -i -e 's/WL_EXPORT //' $@
|
||||
|
||||
%-server-protocol.h : $(srcdir)/protocol/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|
||||
%-client-protocol.h : $(srcdir)/protocol/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
EXTRA_DIST += \
|
||||
protocol/gtk-primary-selection.xml \
|
||||
protocol/gtk-shell.xml
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,108 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
libgdkwin32includedir = $(includedir)/gtk-4.0/gdk/win32
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DINSIDE_GDK_WIN32 \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS) \
|
||||
$(GDK_WIN32_EXTRA_CFLAGS) \
|
||||
-DGDK_COMPILATION
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-win32.la
|
||||
|
||||
SUBDIRS=rc
|
||||
|
||||
EXTRA_DIST += \
|
||||
bdfcursor.c \
|
||||
makefile.msc
|
||||
|
||||
libgdk_win32_la_SOURCES = \
|
||||
gdkcursor-win32.c \
|
||||
gdkdevicemanager-win32.c \
|
||||
gdkdevicemanager-win32.h \
|
||||
gdkdevice-virtual.c \
|
||||
gdkdevice-virtual.h \
|
||||
gdkdevice-win32.c \
|
||||
gdkdevice-win32.h \
|
||||
gdkdevice-wintab.c \
|
||||
gdkdevice-wintab.h \
|
||||
gdkdisplay-win32.c \
|
||||
gdkdisplay-win32.h \
|
||||
gdkdisplaymanager-win32.c \
|
||||
gdkdnd-win32.c \
|
||||
gdkevents-win32.c \
|
||||
gdkgeometry-win32.c \
|
||||
gdkglcontext-win32.c \
|
||||
gdkglcontext-win32.h \
|
||||
gdkglobals-win32.c \
|
||||
gdkkeys-win32.c \
|
||||
gdkmain-win32.c \
|
||||
gdkmonitor-win32.c \
|
||||
gdkmonitor-win32.h \
|
||||
gdkprivate-win32.h \
|
||||
gdkproperty-win32.c \
|
||||
gdkscreen-win32.c \
|
||||
gdkselection-win32.c \
|
||||
gdkvulkancontext-win32.c \
|
||||
gdkvulkancontext-win32.h \
|
||||
gdkwin32cursor.h \
|
||||
gdkwin32display.h \
|
||||
gdkwin32displaymanager.h \
|
||||
gdkwin32dnd.h \
|
||||
gdkwin32glcontext.h \
|
||||
gdkwin32.h \
|
||||
gdkwin32id.c \
|
||||
gdkwin32keys.h \
|
||||
gdkwin32monitor.h \
|
||||
gdkwin32screen.h \
|
||||
gdkwin32window.h \
|
||||
gdkwindow-win32.c \
|
||||
gdkwindow-win32.h \
|
||||
pktdef.h \
|
||||
wintab.h \
|
||||
xcursors.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkwin32.h
|
||||
|
||||
libgdkwin32include_HEADERS = \
|
||||
gdkwin32cursor.h \
|
||||
gdkwin32display.h \
|
||||
gdkwin32displaymanager.h\
|
||||
gdkwin32dnd.h \
|
||||
gdkwin32glcontext.h \
|
||||
gdkwin32keys.h \
|
||||
gdkwin32misc.h \
|
||||
gdkwin32monitor.h \
|
||||
gdkwin32screen.h \
|
||||
gdkwin32window.h
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gdk4-win32
|
||||
|
||||
gdk4_win32_FILES = $(libgdk_win32_la_SOURCES)
|
||||
gdk4_win32_EXCLUDES = dummy
|
||||
gdk4_win32_HEADERS_DIR = $(libgdkwin32includedir)
|
||||
|
||||
gdk4_win32_HEADERS_INST = $(libgdkwin32include_HEADERS)
|
||||
|
||||
gdk4_win32_HEADERS_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs12/gdk4-win32.vcxproj \
|
||||
$(top_builddir)/win32/vs12/gdk4-win32.vs12.headers
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,70 +0,0 @@
|
||||
## Makefile for building the GDK DLL with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
################################################################
|
||||
|
||||
# Nothing much configurable below
|
||||
|
||||
TOP = ../../..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
# Location of the Wintab toolkit. Downloadable from http://www.pointing.com.
|
||||
# definition should possibly go to build/win32/module.def, too.
|
||||
!IFNDEF WTKIT
|
||||
WTKIT = $(TOP)\wtkit126
|
||||
!ENDIF
|
||||
|
||||
GTK_VER=3.0
|
||||
|
||||
DEFINES = \
|
||||
-DHAVE_CONFIG_H -DINSIDE_GDK_WIN32 -DGDK_VERSION=\"$(GTK_VER)\" \
|
||||
-DGDK_COMPILATION -DG_LOG_DOMAIN=\"Gdk\"
|
||||
|
||||
INCLUDES = -FImsvc_recommended_pragmas.h \
|
||||
-I. -I.. -I..\.. $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CAIRO_CFLAGS) \
|
||||
$(GDK_PIXBUF_CFLAGS) -I$(WTKIT)\include -I$(GLIB) \
|
||||
|
||||
all: \
|
||||
..\..\config.h \
|
||||
..\gdkconfig.h \
|
||||
gdk-win32.lib \
|
||||
gdk.res
|
||||
|
||||
gdk_win32_OBJECTS = \
|
||||
gdkcursor-win32.obj \
|
||||
gdkdevice-win32.obj \
|
||||
gdkdevice-wintab.obj \
|
||||
gdkdevicemanager-win32.obj \
|
||||
gdkdnd-win32.obj \
|
||||
gdkdisplay-win32.obj \
|
||||
gdkdisplaymanager-win32.obj \
|
||||
gdkevents-win32.obj \
|
||||
gdkgeometry-win32.obj \
|
||||
gdkglobals-win32.obj \
|
||||
gdkinput.obj \
|
||||
gdkkeys-win32.obj \
|
||||
gdkmain-win32.obj \
|
||||
gdkproperty-win32.obj \
|
||||
gdkscreen-win32.obj \
|
||||
gdkselection-win32.obj \
|
||||
gdktestutils-win32.obj \
|
||||
gdkwin32id.obj \
|
||||
gdkwindow-win32.obj
|
||||
|
||||
..\..\config.h : ..\..\config.h.win32
|
||||
copy ..\..\config.h.win32 ..\..\config.h
|
||||
|
||||
..\gdkconfig.h : ..\gdkconfig.h.win32
|
||||
copy ..\gdkconfig.h.win32 ..\gdkconfig.h
|
||||
|
||||
gdk.res : rc\gdk.rc
|
||||
rc -DBUILDNUMBER=0 -r -fo gdk.res rc\gdk.rc
|
||||
|
||||
gdk-win32.lib : $(gdk_win32_OBJECTS)
|
||||
lib -out:gdk-win32.lib $(gdk_win32_OBJECTS)
|
||||
|
||||
clean::
|
||||
del *.obj
|
||||
del *.lib
|
||||
del *.err
|
||||
del *.res
|
@@ -1,5 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
EXTRA_DIST += gtk.ico
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,94 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
||||
libgdkx11includedir = $(includedir)/gtk-4.0/gdk/x11
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-x11.la
|
||||
|
||||
libgdk_x11_la_SOURCES = \
|
||||
MwmUtil.h \
|
||||
gdkapplaunchcontext-x11.c \
|
||||
gdkasync.c \
|
||||
gdkasync.h \
|
||||
gdkcursor-x11.c \
|
||||
gdkdevice-core-x11.c \
|
||||
gdkdevice-xi2.c \
|
||||
gdkdevicemanager-core-x11.c \
|
||||
gdkdevicemanager-x11.c \
|
||||
gdkdevicemanager-xi2.c \
|
||||
gdkdevicemanagerprivate-core.h \
|
||||
gdkdisplay-x11.c \
|
||||
gdkdisplay-x11.h \
|
||||
gdkdnd-x11.c \
|
||||
gdkeventsource.c \
|
||||
gdkeventsource.h \
|
||||
gdkeventtranslator.c \
|
||||
gdkeventtranslator.h \
|
||||
gdkgeometry-x11.c \
|
||||
gdkglcontext-x11.c \
|
||||
gdkglcontext-x11.h \
|
||||
gdkkeys-x11.c \
|
||||
gdkmain-x11.c \
|
||||
gdkmonitor-x11.c \
|
||||
gdkmonitor-x11.h \
|
||||
gdkproperty-x11.c \
|
||||
gdkscreen-x11.c \
|
||||
gdkscreen-x11.h \
|
||||
gdkselection-x11.c \
|
||||
gdkvisual-x11.c \
|
||||
gdkvulkancontext-x11.c \
|
||||
gdkvulkancontext-x11.h \
|
||||
gdkwindow-x11.c \
|
||||
gdkwindow-x11.h \
|
||||
gdkxftdefaults.c \
|
||||
gdkxid.c \
|
||||
gdkx.h \
|
||||
gdkprivate-x11.h \
|
||||
xsettings-client.h \
|
||||
xsettings-client.c
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkx.h
|
||||
|
||||
libgdkx11include_HEADERS = \
|
||||
gdkx-autocleanups.h \
|
||||
gdkx11applaunchcontext.h \
|
||||
gdkx11cursor.h \
|
||||
gdkx11device.h \
|
||||
gdkx11device-core.h \
|
||||
gdkx11device-xi2.h \
|
||||
gdkx11devicemanager.h \
|
||||
gdkx11devicemanager-core.h \
|
||||
gdkx11devicemanager-xi2.h \
|
||||
gdkx11display.h \
|
||||
gdkx11dnd.h \
|
||||
gdkx11glcontext.h \
|
||||
gdkx11keys.h \
|
||||
gdkx11monitor.h \
|
||||
gdkx11property.h \
|
||||
gdkx11screen.h \
|
||||
gdkx11selection.h \
|
||||
gdkx11utils.h \
|
||||
gdkx11visual.h \
|
||||
gdkx11window.h
|
||||
|
||||
# We need to include all these C files here since the conditionals
|
||||
# don't seem to be correctly expanded for the dist files.
|
||||
EXTRA_DIST += \
|
||||
gdksettings.c
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
334
git.mk
334
git.mk
@@ -1,334 +0,0 @@
|
||||
# git.mk
|
||||
#
|
||||
# Copyright 2009, Red Hat, Inc.
|
||||
# Copyright 2010,2011,2012,2013 Behdad Esfahbod
|
||||
# Written by Behdad Esfahbod
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# is permitted in any medium without royalty provided the copyright
|
||||
# notice and this notice are preserved.
|
||||
#
|
||||
# The latest version of this file can be downloaded from:
|
||||
# https://raw.github.com/behdad/git.mk/master/git.mk
|
||||
# Bugs, etc, should be reported upstream at:
|
||||
# https://github.com/behdad/git.mk
|
||||
#
|
||||
# To use in your project, import this file in your git repo's toplevel,
|
||||
# then do "make -f git.mk". This modifies all Makefile.am files in
|
||||
# your project to -include git.mk. Remember to add that line to new
|
||||
# Makefile.am files you create in your project, or just rerun the
|
||||
# "make -f git.mk".
|
||||
#
|
||||
# This enables automatic .gitignore generation. If you need to ignore
|
||||
# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
|
||||
# But think twice before doing that. If a file has to be in .gitignore,
|
||||
# chances are very high that it's a generated file and should be in one
|
||||
# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
|
||||
#
|
||||
# The only case that you need to manually add a file to GITIGNOREFILES is
|
||||
# when remove files in one of mostlyclean-local, clean-local, distclean-local,
|
||||
# or maintainer-clean-local make targets.
|
||||
#
|
||||
# Note that for files like editor backup, etc, there are better places to
|
||||
# ignore them. See "man gitignore".
|
||||
#
|
||||
# If "make maintainer-clean" removes the files but they are not recognized
|
||||
# by this script (that is, if "git status" shows untracked files still), send
|
||||
# me the output of "git status" as well as your Makefile.am and Makefile for
|
||||
# the directories involved and I'll diagnose.
|
||||
#
|
||||
# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
|
||||
# Makefile.am.sample in the git.mk git repo.
|
||||
#
|
||||
# Don't EXTRA_DIST this file. It is supposed to only live in git clones,
|
||||
# not tarballs. It serves no useful purpose in tarballs and clutters the
|
||||
# build dir.
|
||||
#
|
||||
# This file knows how to handle autoconf, automake, libtool, gtk-doc,
|
||||
# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu, appdata,
|
||||
# appstream.
|
||||
#
|
||||
# This makefile provides the following targets:
|
||||
#
|
||||
# - all: "make all" will build all gitignore files.
|
||||
# - gitignore: makes all gitignore files in the current dir and subdirs.
|
||||
# - .gitignore: make gitignore file for the current dir.
|
||||
# - gitignore-recurse: makes all gitignore files in the subdirs.
|
||||
#
|
||||
# KNOWN ISSUES:
|
||||
#
|
||||
# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
|
||||
# submodule doesn't find us. If you have configure.{in,ac} files in
|
||||
# subdirs, add a proxy git.mk file in those dirs that simply does:
|
||||
# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste.
|
||||
# And add those files to git. See vte/gnome-pty-helper/git.mk for
|
||||
# example.
|
||||
#
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Variables user modules may want to add to toplevel MAINTAINERCLEANFILES:
|
||||
###############################################################################
|
||||
|
||||
#
|
||||
# Most autotools-using modules should be fine including this variable in their
|
||||
# toplevel MAINTAINERCLEANFILES:
|
||||
GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
|
||||
$(srcdir)/aclocal.m4 \
|
||||
$(srcdir)/autoscan.log \
|
||||
$(srcdir)/configure.scan \
|
||||
`AUX_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1' ./configure.ac); \
|
||||
test "x$$AUX_DIR" = "x$(srcdir)/" && AUX_DIR=$(srcdir); \
|
||||
for x in \
|
||||
ar-lib \
|
||||
compile \
|
||||
config.guess \
|
||||
config.sub \
|
||||
config.rpath \
|
||||
depcomp \
|
||||
install-sh \
|
||||
ltmain.sh \
|
||||
missing \
|
||||
mkinstalldirs \
|
||||
test-driver \
|
||||
ylwrap \
|
||||
; do echo "$$AUX_DIR/$$x"; done` \
|
||||
`cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' ./configure.ac | \
|
||||
head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
|
||||
#
|
||||
# All modules should also be fine including the following variable, which
|
||||
# removes automake-generated Makefile.in files:
|
||||
GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
|
||||
`cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' ./configure.ac | \
|
||||
while read f; do \
|
||||
case $$f in Makefile|*/Makefile) \
|
||||
test -f "$(srcdir)/$$f.am" && echo "$(srcdir)/$$f.in";; esac; \
|
||||
done`
|
||||
#
|
||||
# Modules that use libtool and use AC_CONFIG_MACRO_DIR() may also include this,
|
||||
# though it's harmless to include regardless.
|
||||
GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
|
||||
`MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
|
||||
if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
|
||||
for x in \
|
||||
libtool.m4 \
|
||||
ltoptions.m4 \
|
||||
ltsugar.m4 \
|
||||
ltversion.m4 \
|
||||
lt~obsolete.m4 \
|
||||
; do echo "$$MACRO_DIR/$$x"; done; \
|
||||
fi`
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Default rule is to install ourselves in all Makefile.am files:
|
||||
###############################################################################
|
||||
|
||||
git-all: git-mk-install
|
||||
|
||||
git-mk-install:
|
||||
@echo "Installing git makefile"
|
||||
@any_failed=; \
|
||||
find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \
|
||||
if grep 'include .*/git.mk' $$x >/dev/null; then \
|
||||
echo "$$x already includes git.mk"; \
|
||||
else \
|
||||
failed=; \
|
||||
echo "Updating $$x"; \
|
||||
{ cat $$x; \
|
||||
echo ''; \
|
||||
echo '-include $$(top_srcdir)/git.mk'; \
|
||||
} > $$x.tmp || failed=1; \
|
||||
if test x$$failed = x; then \
|
||||
mv $$x.tmp $$x || failed=1; \
|
||||
fi; \
|
||||
if test x$$failed = x; then : else \
|
||||
echo "Failed updating $$x"; >&2 \
|
||||
any_failed=1; \
|
||||
fi; \
|
||||
fi; done; test -z "$$any_failed"
|
||||
|
||||
.PHONY: git-all git-mk-install
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Actual .gitignore generation:
|
||||
###############################################################################
|
||||
|
||||
$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
|
||||
@echo "git.mk: Generating $@"
|
||||
@{ \
|
||||
if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
|
||||
for x in \
|
||||
$(DOC_MODULE)-decl-list.txt \
|
||||
$(DOC_MODULE)-decl.txt \
|
||||
tmpl/$(DOC_MODULE)-unused.sgml \
|
||||
"tmpl/*.bak" \
|
||||
xml html \
|
||||
; do echo "/$$x"; done; \
|
||||
FLAVOR=$$(cd $(top_srcdir); $(AUTOCONF) --trace 'GTK_DOC_CHECK:$$2' ./configure.ac); \
|
||||
case $$FLAVOR in *no-tmpl*) echo /tmpl;; esac; \
|
||||
fi; \
|
||||
if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
|
||||
for lc in $(DOC_LINGUAS); do \
|
||||
for x in \
|
||||
$(if $(DOC_MODULE),$(DOC_MODULE).xml) \
|
||||
$(DOC_PAGES) \
|
||||
$(DOC_INCLUDES) \
|
||||
; do echo "/$$lc/$$x"; done; \
|
||||
done; \
|
||||
for x in \
|
||||
$(_DOC_OMF_ALL) \
|
||||
$(_DOC_DSK_ALL) \
|
||||
$(_DOC_HTML_ALL) \
|
||||
$(_DOC_MOFILES) \
|
||||
$(DOC_H_FILE) \
|
||||
"*/.xml2po.mo" \
|
||||
"*/*.omf.out" \
|
||||
; do echo /$$x; done; \
|
||||
fi; \
|
||||
if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \
|
||||
for lc in $(HELP_LINGUAS); do \
|
||||
for x in \
|
||||
$(HELP_FILES) \
|
||||
"$$lc.stamp" \
|
||||
"$$lc.mo" \
|
||||
; do echo "/$$lc/$$x"; done; \
|
||||
done; \
|
||||
fi; \
|
||||
if test "x$(gsettings_SCHEMAS)" = x; then :; else \
|
||||
for x in \
|
||||
$(gsettings_SCHEMAS:.xml=.valid) \
|
||||
$(gsettings__enum_file) \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
if test "x$(appdata_XML)" = x; then :; else \
|
||||
for x in \
|
||||
$(appdata_XML:.xml=.valid) \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
if test "x$(appstream_XML)" = x; then :; else \
|
||||
for x in \
|
||||
$(appstream_XML:.xml=.valid) \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
for tdir in po $(GITIGNORE_TRANSLATION_DIRS); do \
|
||||
if test -f "$(srcdir)/$$tdir/Makefile.in.in"; then \
|
||||
for x in \
|
||||
$$tdir/Makefile.in.in \
|
||||
$$tdir/Makefile.in.in~ \
|
||||
$$tdir/Makefile.in \
|
||||
$$tdir/Makefile \
|
||||
$$tdir/Makevars.template \
|
||||
$$tdir/POTFILES \
|
||||
$$tdir/Rules-quot \
|
||||
$$tdir/stamp-it \
|
||||
$$tdir/stamp-po \
|
||||
$$tdir/.intltool-merge-cache \
|
||||
"$$tdir/*.gmo" \
|
||||
"$$tdir/*.header" \
|
||||
"$$tdir/*.mo" \
|
||||
"$$tdir/*.sed" \
|
||||
"$$tdir/*.sin" \
|
||||
$$tdir/$(GETTEXT_PACKAGE).pot \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
for x in \
|
||||
ABOUT-NLS \
|
||||
intltool-extract.in \
|
||||
intltool-merge.in \
|
||||
intltool-update.in \
|
||||
; do echo "/$$x"; done; \
|
||||
done; \
|
||||
if test -f $(srcdir)/configure; then \
|
||||
for x in \
|
||||
autom4te.cache \
|
||||
configure \
|
||||
config.h \
|
||||
stamp-h1 \
|
||||
libtool \
|
||||
config.lt \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
if test "x$(DEJATOOL)" = x; then :; else \
|
||||
for x in \
|
||||
$(DEJATOOL) \
|
||||
; do echo "/$$x.sum"; echo "/$$x.log"; done; \
|
||||
echo /site.exp; \
|
||||
fi; \
|
||||
if test "x$(am__dirstamp)" = x; then :; else \
|
||||
echo "$(am__dirstamp)"; \
|
||||
fi; \
|
||||
if test "x$(LTCOMPILE)" = x -a "x$(LTCXXCOMPILE)" = x -a "x$(GTKDOC_RUN)" = x; then :; else \
|
||||
for x in \
|
||||
"*.lo" \
|
||||
".libs" "_libs" \
|
||||
; do echo "$$x"; done; \
|
||||
fi; \
|
||||
for x in \
|
||||
.gitignore \
|
||||
$(GITIGNOREFILES) \
|
||||
$(CLEANFILES) \
|
||||
$(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \
|
||||
$(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \
|
||||
$(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \
|
||||
so_locations \
|
||||
$(MOSTLYCLEANFILES) \
|
||||
$(TEST_LOGS) \
|
||||
$(TEST_LOGS:.log=.trs) \
|
||||
$(TEST_SUITE_LOG) \
|
||||
"*.gcda" \
|
||||
"*.gcno" \
|
||||
$(DISTCLEANFILES) \
|
||||
$(am__CONFIG_DISTCLEAN_FILES) \
|
||||
$(CONFIG_CLEAN_FILES) \
|
||||
TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
|
||||
"*.tab.c" \
|
||||
$(MAINTAINERCLEANFILES) \
|
||||
$(BUILT_SOURCES) \
|
||||
$(patsubst %.vala,%.c,$(filter %.vala,$(SOURCES))) \
|
||||
$(filter %_vala.stamp,$(DIST_COMMON)) \
|
||||
$(filter %.vapi,$(DIST_COMMON)) \
|
||||
$(filter $(addprefix %,$(notdir $(patsubst %.vapi,%.h,$(filter %.vapi,$(DIST_COMMON))))),$(DIST_COMMON)) \
|
||||
Makefile \
|
||||
Makefile.in \
|
||||
"*.orig" \
|
||||
"*.rej" \
|
||||
"*.bak" \
|
||||
"*~" \
|
||||
".*.sw[nop]" \
|
||||
".dirstamp" \
|
||||
; do echo "/$$x"; done; \
|
||||
for x in \
|
||||
"*.$(OBJEXT)" \
|
||||
$(DEPDIR) \
|
||||
; do echo "$$x"; done; \
|
||||
} | \
|
||||
sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
|
||||
sed 's@/[.]/@/@g' | \
|
||||
LC_ALL=C sort | uniq > $@.tmp && \
|
||||
mv $@.tmp $@;
|
||||
|
||||
all: $(srcdir)/.gitignore gitignore-recurse-maybe
|
||||
gitignore: $(srcdir)/.gitignore gitignore-recurse
|
||||
|
||||
gitignore-recurse-maybe:
|
||||
@for subdir in $(DIST_SUBDIRS); do \
|
||||
case " $(SUBDIRS) " in \
|
||||
*" $$subdir "*) :;; \
|
||||
*) test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir");; \
|
||||
esac; \
|
||||
done
|
||||
gitignore-recurse:
|
||||
@for subdir in $(DIST_SUBDIRS); do \
|
||||
test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir"); \
|
||||
done
|
||||
|
||||
maintainer-clean: gitignore-clean
|
||||
gitignore-clean:
|
||||
-rm -f $(srcdir)/.gitignore
|
||||
|
||||
.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe
|
334
gsk/Makefile.am
334
gsk/Makefile.am
@@ -1,334 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
GSK_CFLAG_DEFINES = \
|
||||
-DG_LOG_DOMAIN=\"Gsk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGSK_COMPILATION
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GSK_CFLAG_DEFINES) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gsk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_WARN_FLAGS) \
|
||||
$(GSK_DEP_CFLAGS)
|
||||
|
||||
BUILT_SOURCES =
|
||||
|
||||
CLEANFILES =
|
||||
DISTCLEANFILES =
|
||||
|
||||
noinst_LTLIBRARIES =
|
||||
|
||||
if HAVE_VULKAN
|
||||
gsk_private_vulkan_source_h = \
|
||||
gskvulkanblendpipelineprivate.h \
|
||||
gskvulkanborderpipelineprivate.h \
|
||||
gskvulkanboxshadowpipelineprivate.h \
|
||||
gskvulkanbufferprivate.h \
|
||||
gskvulkanclipprivate.h \
|
||||
gskvulkancolorpipelineprivate.h \
|
||||
gskvulkancommandpoolprivate.h \
|
||||
gskvulkaneffectpipelineprivate.h \
|
||||
gskvulkanimageprivate.h \
|
||||
gskvulkanlineargradientpipelineprivate.h \
|
||||
gskvulkanmemoryprivate.h \
|
||||
gskvulkanpipelineprivate.h \
|
||||
gskvulkanpushconstantsprivate.h \
|
||||
gskvulkanrenderprivate.h \
|
||||
gskvulkanrendererprivate.h \
|
||||
gskvulkanrenderpassprivate.h \
|
||||
gskvulkanshaderprivate.h
|
||||
gsk_private_vulkan_source_c = \
|
||||
gskvulkanblendpipeline.c \
|
||||
gskvulkanborderpipeline.c \
|
||||
gskvulkanboxshadowpipeline.c \
|
||||
gskvulkanbuffer.c \
|
||||
gskvulkanclip.c \
|
||||
gskvulkancolorpipeline.c \
|
||||
gskvulkancommandpool.c \
|
||||
gskvulkaneffectpipeline.c \
|
||||
gskvulkanlineargradientpipeline.c \
|
||||
gskvulkanimage.c \
|
||||
gskvulkanmemory.c \
|
||||
gskvulkanpipeline.c \
|
||||
gskvulkanpushconstants.c \
|
||||
gskvulkanrender.c \
|
||||
gskvulkanrenderer.c \
|
||||
gskvulkanrenderpass.c \
|
||||
gskvulkanshader.c
|
||||
gsk_private_vulkan_include_shaders = \
|
||||
resources/vulkan/clip.frag.glsl \
|
||||
resources/vulkan/clip.vert.glsl \
|
||||
resources/vulkan/constants.glsl \
|
||||
resources/vulkan/rounded-rect.glsl
|
||||
gsk_private_vulkan_fragment_shaders = \
|
||||
resources/vulkan/blend.frag \
|
||||
resources/vulkan/border.frag \
|
||||
resources/vulkan/color.frag \
|
||||
resources/vulkan/color-matrix.frag \
|
||||
resources/vulkan/inset-shadow.frag \
|
||||
resources/vulkan/linear.frag \
|
||||
resources/vulkan/outset-shadow.frag
|
||||
gsk_private_vulkan_vertex_shaders = \
|
||||
resources/vulkan/blend.vert \
|
||||
resources/vulkan/border.vert \
|
||||
resources/vulkan/color.vert \
|
||||
resources/vulkan/color-matrix.vert \
|
||||
resources/vulkan/inset-shadow.vert \
|
||||
resources/vulkan/linear.vert \
|
||||
resources/vulkan/outset-shadow.vert
|
||||
gsk_private_vulkan_shaders = \
|
||||
$(gsk_private_vulkan_fragment_shaders) \
|
||||
$(gsk_private_vulkan_vertex_shaders)
|
||||
gsk_private_vulkan_compiled_shaders = \
|
||||
$(gsk_private_vulkan_fragment_shaders:.frag=.frag.spv) \
|
||||
$(gsk_private_vulkan_vertex_shaders:.vert=.vert.spv) \
|
||||
$(gsk_private_vulkan_fragment_shaders:.frag=-clip.frag.spv) \
|
||||
$(gsk_private_vulkan_vertex_shaders:.vert=-clip.vert.spv) \
|
||||
$(gsk_private_vulkan_fragment_shaders:.frag=-clip-rounded.frag.spv) \
|
||||
$(gsk_private_vulkan_vertex_shaders:.vert=-clip-rounded.vert.spv)
|
||||
endif
|
||||
|
||||
gsk_public_source_h = \
|
||||
gskenums.h \
|
||||
gskrenderer.h \
|
||||
gskrendernode.h \
|
||||
gskroundedrect.h \
|
||||
gsktexture.h \
|
||||
gsktypes.h
|
||||
gsk_private_source_h = \
|
||||
$(gsk_private_vulkan_source_h) \
|
||||
gskcairoblurprivate.h \
|
||||
gskcairorendererprivate.h \
|
||||
gskdebugprivate.h \
|
||||
gskgldriverprivate.h \
|
||||
gskglprofilerprivate.h \
|
||||
gskglrendererprivate.h \
|
||||
gskprivate.h \
|
||||
gskprofilerprivate.h \
|
||||
gskrendererprivate.h \
|
||||
gskrendernodeprivate.h \
|
||||
gskroundedrectprivate.h \
|
||||
gskshaderbuilderprivate.h \
|
||||
gsktextureprivate.h
|
||||
gsk_private_source_shaders = \
|
||||
resources/glsl/blend.fs.glsl \
|
||||
resources/glsl/blend.vs.glsl \
|
||||
resources/glsl/blit.fs.glsl \
|
||||
resources/glsl/blit.vs.glsl \
|
||||
resources/glsl/color.vs.glsl \
|
||||
resources/glsl/color.fs.glsl \
|
||||
resources/glsl/es2_common.fs.glsl \
|
||||
resources/glsl/es2_common.vs.glsl \
|
||||
resources/glsl/gl3_common.fs.glsl \
|
||||
resources/glsl/gl3_common.vs.glsl \
|
||||
resources/glsl/gl_common.fs.glsl \
|
||||
resources/glsl/gl_common.vs.glsl
|
||||
gsk_public_source_c = \
|
||||
gskrenderer.c \
|
||||
gskrendernode.c \
|
||||
gskrendernodeimpl.c \
|
||||
gskroundedrect.c \
|
||||
gsktexture.c
|
||||
gsk_private_source_c = \
|
||||
$(gsk_private_vulkan_source_c) \
|
||||
gskcairoblur.c \
|
||||
gskcairorenderer.c \
|
||||
gskdebug.c \
|
||||
gskgldriver.c \
|
||||
gskglprofiler.c \
|
||||
gskglrenderer.c \
|
||||
gskprivate.c \
|
||||
gskprofiler.c \
|
||||
gskshaderbuilder.c
|
||||
gsk_built_source_h = \
|
||||
gskenumtypes.h \
|
||||
gskresources.h
|
||||
gsk_built_source_c = \
|
||||
gskenumtypes.c \
|
||||
gskresources.c
|
||||
|
||||
all_sources = \
|
||||
$(gsk_public_source_h) \
|
||||
$(gsk_public_source_c) \
|
||||
$(gsk_private_source_h) \
|
||||
$(gsk_private_source_c)
|
||||
|
||||
BUILT_SOURCES += $(gsk_built_source_h) $(gsk_built_source_c) gsk.resources.xml
|
||||
|
||||
gskenumtypes.h: $(gsk_public_source_h) gskenumtypes.h.template
|
||||
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(filter %.template,$^) $(filter-out %.template,$^) > \
|
||||
gskenumtypes.h.tmp && \
|
||||
mv gskenumtypes.h.tmp gskenumtypes.h
|
||||
|
||||
gskenumtypes.c: $(gsk_public_source_h) gskenumtypes.c.template
|
||||
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(filter %.template,$^) $(filter-out %.template,$^) > \
|
||||
gskenumtypes.c.tmp && \
|
||||
mv gskenumtypes.c.tmp gskenumtypes.c
|
||||
|
||||
EXTRA_DIST += gskenumtypes.h.template gskenumtypes.c.template
|
||||
DISTCLEANFILES += gskenumtypes.h gskenumtypes.c
|
||||
|
||||
resource_files = \
|
||||
$(gsk_private_source_shaders) \
|
||||
$(gsk_private_vulkan_compiled_shaders) \
|
||||
$(gsk_private_vulkan_shaders)
|
||||
|
||||
resources/vulkan/%-clip-rounded.frag.spv: resources/vulkan/%.frag
|
||||
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
||||
$(AM_V_GEN) $(GLSLC) -fshader-stage=fragment -DCLIP_ROUNDED_RECT -o $@.tmp $< && mv $@.tmp $@
|
||||
|
||||
resources/vulkan/%-clip-rounded.vert.spv: resources/vulkan/%.vert
|
||||
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
||||
$(AM_V_GEN) $(GLSLC) -fshader-stage=vertex -DCLIP_ROUNDED_RECT -o $@.tmp $< && mv $@.tmp $@
|
||||
|
||||
resources/vulkan/%-clip.frag.spv: resources/vulkan/%.frag
|
||||
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
||||
$(AM_V_GEN) $(GLSLC) -fshader-stage=fragment -DCLIP_RECT -o $@.tmp $< && mv $@.tmp $@
|
||||
|
||||
resources/vulkan/%-clip.vert.spv: resources/vulkan/%.vert
|
||||
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
||||
$(AM_V_GEN) $(GLSLC) -fshader-stage=vertex -DCLIP_RECT -o $@.tmp $< && mv $@.tmp $@
|
||||
|
||||
resources/vulkan/%.frag.spv: resources/vulkan/%.frag
|
||||
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
||||
$(AM_V_GEN) $(GLSLC) -fshader-stage=fragment -DCLIP_NONE -o $@.tmp $< && mv $@.tmp $@
|
||||
|
||||
resources/vulkan/%.vert.spv: resources/vulkan/%.vert
|
||||
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
||||
$(AM_V_GEN) $(GLSLC) -fshader-stage=vertex -DCLIP_NONE -o $@.tmp $< && mv $@.tmp $@
|
||||
|
||||
gsk.resources.xml: Makefile.am
|
||||
$(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
|
||||
echo "<gresources>" >> $@; \
|
||||
echo " <gresource prefix='/org/gtk/libgsk'>" >> $@; \
|
||||
for f in $(gsk_private_source_shaders); do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file alias='glsl/$$n'>resources/glsl/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for f in $(gsk_private_vulkan_compiled_shaders); do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file alias='vulkan/$$n'>resources/vulkan/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for f in $(gsk_private_vulkan_shaders); do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file alias='vulkan/$$n'>resources/vulkan/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " </gresource>" >> $@; \
|
||||
echo "</gresources>" >> $@
|
||||
|
||||
gskresources.h: gsk.resources.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< \
|
||||
--target=$@ --sourcedir=$(srcdir) --c-name _gsk --generate-header --manual-register
|
||||
|
||||
gskresources.c: gsk.resources.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< \
|
||||
--target=$@ --sourcedir=$(srcdir) --c-name _gsk --generate-source --manual-register
|
||||
|
||||
EXTRA_DIST += $(resource_files) $(gsk_private_vulkan_include_shaders)
|
||||
CLEANFILES += gsk.resources.xml
|
||||
DISTCLEANFILES += gskresources.h gskresources.c
|
||||
|
||||
libgsk_4_la_SOURCES = $(all_sources)
|
||||
nodist_libgsk_4_la_SOURCES = $(gsk_built_source_h) $(gsk_built_source_c)
|
||||
libgsk_4_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
||||
libgsk_4_la_LIBADD = $(GSK_DEP_LIBS) $(top_builddir)/gdk/libgdk-4.la
|
||||
|
||||
noinst_LTLIBRARIES += libgsk-4.la
|
||||
|
||||
gskincludedir = $(includedir)/gtk-4.0/gsk
|
||||
gskinclude_HEADERS = $(gsk_public_source_h) gskenumtypes.h gsk.h
|
||||
|
||||
-include $(INTROSPECTION_MAKEFILE)
|
||||
INTROSPECTION_GIRS =
|
||||
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
|
||||
INTROSPECTION_SCANNER_ARGS = \
|
||||
--add-include-path=../gdk \
|
||||
--add-include-path=../gsk \
|
||||
--warn-all
|
||||
INTROSPECTION_COMPILER_ARGS = \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=. \
|
||||
--includedir=../gdk
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
|
||||
introspection_files = $(gsk_public_source_h) $(gsk_public_source_c)
|
||||
|
||||
Gsk-noinst-4.0.gir: libgsk-4.la Makefile
|
||||
Gsk_noinst_4_0_gir_SCANNERFLAGS = \
|
||||
--add-include-path=$(top_builddir)/gdk \
|
||||
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir \
|
||||
--c-include="gsk/gsk.h"
|
||||
Gsk_noinst_4_0_gir_LIBS = libgsk-4.la
|
||||
Gsk_noinst_4_0_gir_FILES = $(introspection_files)
|
||||
Gsk_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
||||
Gsk_noinst_4_0_gir_EXPORT_PACKAGES = gsk-4.0
|
||||
Gsk_noinst_4_0_gir_INCLUDES = GObject-2.0 cairo-1.0 Graphene-1.0
|
||||
INTROSPECTION_GIRS += Gsk-noinst-4.0.gir
|
||||
|
||||
noinst_DATA = $(INTROSPECTION_GIRS)
|
||||
|
||||
CLEANFILES += $(INTROSPECTION_GIRS)
|
||||
|
||||
endif
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gsk-4
|
||||
|
||||
gsk_4_FILES = $(all_sources) $(gsk_built_source_c)
|
||||
gsk_4_EXCLUDES = gskvulkan*.c
|
||||
gsk_4_HEADERS_DIR = $(gskincludedir)
|
||||
gsk_4_HEADERS_INST = $(gskinclude_HEADERS)
|
||||
gsk_4_HEADERS_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
$(top_builddir)/win32/gsk.enum.headers: Makefile $(gsk_public_source_h)
|
||||
-$(RM) $(top_builddir)/win32/gsk.enum.headers
|
||||
for F in $(gsk_public_source_h); do \
|
||||
case $$F in \
|
||||
*.h) \
|
||||
echo $$F' ^'>>$(top_builddir)/win32/gsk.enum.headers \
|
||||
;; \
|
||||
esac \
|
||||
done
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
# Introspection Items for MSVC
|
||||
MSVC_INTROSPECT_GIRS = Gsk-4.0.gir
|
||||
|
||||
BASE_MSVC_GIR_CFLAGS = \
|
||||
$(GSK_CFLAG_DEFINES) \
|
||||
-I../.. -I../../gdk -I.../../gsk
|
||||
|
||||
INTROSPECTION_INTERMEDIATE_ITEMS = \
|
||||
$(top_builddir)/win32/Gsk-4.0.gir.msvc.introspect \
|
||||
$(top_builddir)/win32/Gsk_4_0_gir_list \
|
||||
$(top_builddir)/win32/gsk.enum.headers
|
||||
|
||||
Gsk_4_0_gir_MSVC_FILES = $(introspection_files)
|
||||
Gsk_4_0_gir_MSVC_EXPORT_PACKAGES = $(Gsk_noinst_4_0_gir_EXPORT_PACKAGES)
|
||||
Gsk_4_0_gir_MSVC_INCLUDE_GIRS = $(Gsk_noinst_4_0_gir_INCLUDES)
|
||||
Gsk_4_0_gir_MSVC_LIBS = gtk-4
|
||||
Gsk_4_0_gir_MSVC_CFLAGS = $(BASE_MSVC_GIR_CFLAGS)
|
||||
Gsk_4_0_gir_MSVC_SCANNERFLAGS = \
|
||||
--add-include-path=. \
|
||||
--include-uninstalled=../gdk/Gdk-4.0.gir
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvc-introspection
|
||||
|
||||
else
|
||||
INTROSPECTION_INTERMEDIATE_ITEMS =
|
||||
endif
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs12/gsk-4.vcxproj \
|
||||
$(top_builddir)/win32/vs12/gsk-4.vs12.headers \
|
||||
$(top_builddir)/win32/gsk.enum.headers \
|
||||
$(INTROSPECTION_INTERMEDIATE_ITEMS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,62 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Build zipfiles for GTK on Win32
|
||||
|
||||
ZIP=/tmp/gtk+-@GTK_VERSION@.zip
|
||||
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@.zip
|
||||
|
||||
SHORTAPIVERSION=`echo @GTK_API_VERSION@ | tr -d '.'`
|
||||
APIVERSIONMAJOR=`echo @GTK_API_VERSION@ | sed -e 's/\..*//'`
|
||||
|
||||
cd @prefix@
|
||||
|
||||
mkdir -p share/doc/gtk+-@GTK_VERSION@
|
||||
cp -p @abs_srcdir@/COPYING share/doc/gtk+-@GTK_VERSION@
|
||||
|
||||
mkdir -p share/doc/gtk+-dev-@GTK_VERSION@
|
||||
cp -p @abs_srcdir@/COPYING share/doc/gtk+-dev-@GTK_VERSION@
|
||||
|
||||
rm $ZIP
|
||||
zip $ZIP -@ <<EOF
|
||||
etc/gtk-@GTK_API_VERSION@/gtkrc
|
||||
etc/gtk-@GTK_API_VERSION@/im-multipress.conf
|
||||
bin/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
||||
bin/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
||||
bin/gtk-query-immodules-@GTK_API_VERSION@.exe
|
||||
lib/gtk-@GTK_API_VERSION@/3.0.0/loaders.cache
|
||||
lib/gtk-@GTK_API_VERSION@/3.0.0/immodules.cache
|
||||
EOF
|
||||
|
||||
zip $ZIP lib/gtk-@GTK_API_VERSION@/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-@GTK_API_VERSION@/@GTK_BINARY_VERSION@/immodules/*.dll lib/gtk-@GTK_API_VERSION@/@GTK_BINARY_VERSION@/engines/*.dll
|
||||
|
||||
zip $ZIP share/themes/Raleigh/gtk-@GTK_API_VERSION@/gtkrc
|
||||
zip $ZIP share/themes/Default/gtk-@GTK_API_VERSION@-key/gtkrc
|
||||
zip $ZIP share/themes/Emacs/gtk-@GTK_API_VERSION@-key/gtkrc
|
||||
zip $ZIP share/themes/MS-Windows/gtk-@GTK_API_VERSION@/gtkrc
|
||||
|
||||
zip $ZIP share/locale/*/LC_MESSAGES/gtk${SHORTAPIVERSION}.mo
|
||||
zip $ZIP share/locale/*/LC_MESSAGES/gtk${SHORTAPIVERSION}-properties.mo
|
||||
|
||||
zip -r -D $ZIP share/doc/gtk+-@GTK_VERSION@
|
||||
|
||||
rm $DEVZIP
|
||||
zip -r -D $DEVZIP -@ <<EOF
|
||||
include/gtk-@GTK_API_VERSION@
|
||||
include/gail-1.0
|
||||
bin/gtk-builder-convert
|
||||
bin/gtk${APIVERSIONMAJOR}-demo.exe
|
||||
bin/gtk-update-icon-cache.exe
|
||||
share/man
|
||||
lib/libgdk-win32-@GTK_API_VERSION@.dll.a
|
||||
lib/gdk-win32-@GTK_API_VERSION@.lib
|
||||
lib/libgtk-win32-@GTK_API_VERSION@.dll.a
|
||||
lib/gtk-win32-@GTK_API_VERSION@.lib
|
||||
lib/gailutil.lib
|
||||
lib/gtk-@GTK_API_VERSION@/include
|
||||
lib/pkgconfig
|
||||
share/aclocal
|
||||
share/gtk-@GTK_API_VERSION@
|
||||
share/gtk-doc
|
||||
EOF
|
||||
|
||||
zip -r $DEVZIP share/doc/gtk+-dev-@GTK_VERSION@
|
1728
gtk/Makefile.am
1728
gtk/Makefile.am
File diff suppressed because it is too large
Load Diff
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
version="1.0.0.0"
|
||||
processorArchitecture="@EXE_MANIFEST_ARCHITECTURE@"
|
||||
name="libgtk3"
|
||||
type="win32"
|
||||
/>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="@EXE_MANIFEST_ARCHITECTURE@"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
@@ -1,642 +0,0 @@
|
||||
## Makefile for building the gtk DLL with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
## There is no install target, you have to decide where and
|
||||
## how to install for yourself.
|
||||
|
||||
TOP = ..\..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
################################################################
|
||||
|
||||
# Not the real version but the one used in the DLL names
|
||||
GTK_VER = 3.0
|
||||
|
||||
|
||||
GDK_LIBS = ../gdk/gdk-win32-$(GTK_VER).lib
|
||||
GTK_LIBS = gtk-win32-$(GTK_VER).lib
|
||||
GTK_BINARY_VERSION = @GTK_BINARY_VERSION@
|
||||
|
||||
# Perl and awk are needed to generate some source files.
|
||||
# These generated source files are distribuyted with the Win32 GTk+ source
|
||||
# distributions, so don't worry if you don't have perl and awk.
|
||||
PERL = perl
|
||||
AWK = gawk
|
||||
|
||||
INCLUDES = -FImsvc_recommended_pragmas.h -I . -I .. -I ../gdk $(GDK_PIXBUF_CFLAGS)
|
||||
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) \
|
||||
$(INTL_CFLAGS) $(ATK_CFLAGS) $(CAIRO_CFLAGS)
|
||||
LDFLAGS = $(ATK_LIBS) /link /machine:ix86 $(LINKDEBUG)
|
||||
# Some files use near as an identifier
|
||||
# Don't define GTK_COMPILATION here, because it's for gtk-x.x.dll only
|
||||
DEFINES = \
|
||||
-DHAVE_CONFIG_H \
|
||||
$(G_DEBUGGING) -DGTK_DISABLE_COMPAT_H -DG_LOG_DOMAIN=\"Gtk\" -Dnear=xxnear \
|
||||
-DPANGO_ENABLE_BACKEND \
|
||||
-DGTK_VERSION=\"$(GTK_VER)\" -DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
|
||||
-DGTK_HOST=\"win32\" \
|
||||
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
|
||||
-DGTK_PRINT_BACKENDS=\"file,lpr\" \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
-DGTK_PRINT_PREVIEW_COMMAND="\"evince --unlink-tempfile --preview %f\"" \
|
||||
-DGTK_LIBDIR=\"/magic/path/replaced/at/runtime\"
|
||||
|
||||
EXTRALIBS = \
|
||||
$(GDK_LIBS) \
|
||||
$(GDK_PIXBUF_LIBS) \
|
||||
$(PANGO_LIBS) $(INTL_LIBS) \
|
||||
$(GLIB_LIBS) $(GMODULE_LIBS) $(GIO_LIBS) \
|
||||
$(CAIRO_LIBS) $(PANGOCAIRO_LIBS) $(CAIRO_GOBJECT_LIBS) \
|
||||
|
||||
TOUCH = copy makefile.msc+nul
|
||||
|
||||
gtkbuiltincache.h: gtk-update-icon-cache.exe
|
||||
del gtkicontheme.obj
|
||||
gtk-update-icon-cache --force --ignore-theme-index \
|
||||
--source builtin_icons stock-icons > gtkbuiltincache.h
|
||||
|
||||
GENERATED = \
|
||||
gtktypebuiltins.h gtktypebuiltins.c \
|
||||
gtkmarshalers.h gtkmarshalers.c \
|
||||
gtk.def gtktypefuncs.inc
|
||||
|
||||
all : \
|
||||
..\config.h \
|
||||
$(GENERATED) \
|
||||
gtk-update-icon-cache.exe \
|
||||
gtkbuiltincache.h \
|
||||
libgtk-win32-$(GTK_VER)-0.dll \
|
||||
gtk-query-immodules-$(GTK_VER).exe \
|
||||
# gtk-win32-$(GTK_VER)s.lib \
|
||||
# gtk-x11-$(GTK_VER).dll
|
||||
|
||||
gtk_OBJECTS_cell = \
|
||||
gtkcellarea.obj \
|
||||
gtkcellareabox.obj \
|
||||
gtkcellareaboxcontext.obj \
|
||||
gtkcellareacontext.obj \
|
||||
gtkcelleditable.obj \
|
||||
gtkcelllayout.obj \
|
||||
gtkcellrenderer.obj \
|
||||
gtkcellrendereraccel.obj \
|
||||
gtkcellrenderercombo.obj \
|
||||
gtkcellrendererpixbuf.obj \
|
||||
gtkcellrendererprogress.obj \
|
||||
gtkcellrendererspin.obj \
|
||||
gtkcellrendererspinner.obj \
|
||||
gtkcellrenderertext.obj \
|
||||
gtkcellrenderertoggle.obj \
|
||||
gtkcellview.obj \
|
||||
gtkliststore.obj \
|
||||
gtktreednd.obj \
|
||||
gtktreemenu.obj \
|
||||
gtktreemodel.obj \
|
||||
gtktreemodelfilter.obj \
|
||||
gtktreemodelsort.obj \
|
||||
gtktreeselection.obj \
|
||||
gtktreesortable.obj \
|
||||
gtktreestore.obj \
|
||||
gtktreeview.obj \
|
||||
gtktreeviewcolumn.obj \
|
||||
|
||||
gtk_OBJECTS_file = \
|
||||
gtkfilechooser.obj \
|
||||
gtkfilechooserbutton.obj \
|
||||
gtkfilechooserdefault.obj \
|
||||
gtkfilechooserdialog.obj \
|
||||
gtkfilechooserembed.obj \
|
||||
gtkfilechooserentry.obj \
|
||||
# gtkfilechoosersettings.obj \
|
||||
gtkfilechooserutils.obj \
|
||||
gtkfilechooserwidget.obj \
|
||||
gtkfilefilter.obj \
|
||||
gtkfilesystem.obj \
|
||||
gtkfilesystemmodel.obj \
|
||||
|
||||
gtk_OBJECTS_print = \
|
||||
gtkprint-win32.obj \
|
||||
gtkprintcontext.obj \
|
||||
gtkprintoperation-win32.obj \
|
||||
gtkprintoperation.obj \
|
||||
gtkprintoperationpreview.obj \
|
||||
gtkprintsettings.obj \
|
||||
gtkprintutils.obj \
|
||||
|
||||
gtk_OBJECTS_text = \
|
||||
gtktextattributes.obj \
|
||||
gtktextbtree.obj \
|
||||
gtktextbuffer.obj \
|
||||
gtktextbufferrichtext.obj \
|
||||
gtktextbufferserialize.obj \
|
||||
gtktextchild.obj \
|
||||
gtktextdisplay.obj \
|
||||
gtktextiter.obj \
|
||||
gtktextlayout.obj \
|
||||
gtktextmark.obj \
|
||||
gtktextsegment.obj \
|
||||
gtktexttag.obj \
|
||||
gtktexttagtable.obj \
|
||||
gtktexttypes.obj \
|
||||
gtktextutil.obj \
|
||||
gtktextview.obj \
|
||||
|
||||
gtk_OBJECTS_recent = \
|
||||
gtkrecentaction.obj \
|
||||
gtkrecentchooserdefault.obj \
|
||||
gtkrecentchooserdialog.obj \
|
||||
gtkrecentchoosermenu.obj \
|
||||
gtkrecentchooserwidget.obj \
|
||||
gtkrecentchooserutils.obj \
|
||||
gtkrecentchooser.obj \
|
||||
gtkrecentfilter.obj \
|
||||
gtkrecentmanager.obj \
|
||||
|
||||
gtk_OBJECTS = \
|
||||
fnmatch.obj \
|
||||
gtk9slice.obj \
|
||||
gtkaboutdialog.obj \
|
||||
gtkaccelgroup.obj \
|
||||
gtkaccellabel.obj \
|
||||
gtkaccelmap.obj \
|
||||
gtkaccessible.obj \
|
||||
gtkaction.obj \
|
||||
gtkactiongroup.obj \
|
||||
gtkactivatable.obj \
|
||||
gtkadjustment.obj \
|
||||
gtkalignment.obj \
|
||||
gtkanimationdescription.obj \
|
||||
gtkappchooser.obj \
|
||||
gtkappchooserbutton.obj \
|
||||
gtkappchooserdialog.obj \
|
||||
gtkappchoosermodule.obj \
|
||||
gtkappchooseronline.obj \
|
||||
gtkappchooseronlinepk.obj \
|
||||
gtkappchooserwidget.obj \
|
||||
gtkapplication.obj \
|
||||
gtkarrow.obj \
|
||||
gtkaspectframe.obj \
|
||||
gtkassistant.obj \
|
||||
gtkbin.obj \
|
||||
gtkbindings.obj \
|
||||
gtkbbox.obj \
|
||||
gtkbox.obj \
|
||||
gtkborder.obj \
|
||||
gtkbuildable.obj \
|
||||
gtkbuilder.obj \
|
||||
gtkbuilderparser.obj \
|
||||
gtkbutton.obj \
|
||||
gtkcalendar.obj \
|
||||
gtkcheckbutton.obj \
|
||||
gtkcheckmenuitem.obj \
|
||||
gtkclipboard.obj \
|
||||
gtkcolorbutton.obj \
|
||||
gtkcolorsel.obj \
|
||||
gtkcolorseldialog.obj \
|
||||
gtkcombobox.obj \
|
||||
gtkcomboboxtext.obj \
|
||||
gtkcontainer.obj \
|
||||
gtkcssprovider.obj \
|
||||
gtkdialog.obj \
|
||||
gtkdnd.obj \
|
||||
gtkdrawingarea.obj \
|
||||
gtkeditable.obj \
|
||||
gtkentry.obj \
|
||||
gtkentrybuffer.obj \
|
||||
gtkentrycompletion.obj \
|
||||
gtkexpander.obj \
|
||||
gtkfixed.obj \
|
||||
gtkfontsel.obj \
|
||||
gtkfontbutton.obj \
|
||||
gtkframe.obj \
|
||||
gtkgradient.obj \
|
||||
gtkgrid.obj \
|
||||
gtkhandlebox.obj \
|
||||
gtkhbbox.obj \
|
||||
gtkhbox.obj \
|
||||
gtkhpaned.obj \
|
||||
gtkhscale.obj \
|
||||
gtkhscrollbar.obj \
|
||||
gtkhseparator.obj \
|
||||
gtkhsv.obj \
|
||||
gtkiconcache.obj \
|
||||
gtkiconcachevalidator.obj \
|
||||
gtkiconfactory.obj \
|
||||
gtkicontheme.obj \
|
||||
gtkiconview.obj \
|
||||
gtkimage.obj \
|
||||
gtkimagemenuitem.obj \
|
||||
gtkimcontext.obj \
|
||||
gtkimcontextsimple.obj \
|
||||
gtkimmodule.obj \
|
||||
gtkimmulticontext.obj \
|
||||
gtkinfobar.obj \
|
||||
gtkinvisible.obj \
|
||||
gtkkeyhash.obj \
|
||||
gtklabel.obj \
|
||||
gtklayout.obj \
|
||||
gtklinkbutton.obj \
|
||||
gtkmain.obj \
|
||||
gtkmarshalers.obj \
|
||||
gtkmenu.obj \
|
||||
gtkmenubar.obj \
|
||||
gtkmenuitem.obj \
|
||||
gtkmenushell.obj \
|
||||
gtkmenutoolbutton.obj \
|
||||
gtkmessagedialog.obj \
|
||||
gtkmisc.obj \
|
||||
gtkmnemonichash.obj \
|
||||
gtkmodifierstyle.obj \
|
||||
gtkmodules.obj \
|
||||
gtkmountoperation.obj \
|
||||
gtkmountoperation-stub.obj \
|
||||
gtknotebook.obj \
|
||||
gtkorientable.obj \
|
||||
gtkpagesetup.obj \
|
||||
gtkpaned.obj \
|
||||
gtkpango.obj \
|
||||
gtkpapersize.obj \
|
||||
gtkpathbar.obj \
|
||||
gtkprogressbar.obj \
|
||||
gtkquery.obj \
|
||||
gtkradioaction.obj \
|
||||
gtkradiobutton.obj \
|
||||
gtkradiotoolbutton.obj \
|
||||
gtkradiomenuitem.obj \
|
||||
gtkrange.obj \
|
||||
gtkrbtree.obj \
|
||||
gtkrc.obj \
|
||||
gtkscale.obj \
|
||||
gtkscalebutton.obj \
|
||||
gtkscrollable.obj \
|
||||
gtkscrollbar.obj \
|
||||
gtkscrolledwindow.obj \
|
||||
gtksearchengine.obj \
|
||||
gtksearchenginebeagle.obj \
|
||||
gtksearchenginesimple.obj \
|
||||
gtksearchenginetracker.obj \
|
||||
gtkselection.obj \
|
||||
gtkseparator.obj \
|
||||
gtkseparatormenuitem.obj \
|
||||
gtkseparatortoolitem.obj \
|
||||
gtksettings.obj \
|
||||
gtkshow.obj \
|
||||
gtkstacksidebar.obj \
|
||||
gtksizegroup.obj \
|
||||
gtksizerequest.obj \
|
||||
gtkspinbutton.obj \
|
||||
gtkspinner.obj \
|
||||
gtkstatusicon.obj \
|
||||
gtkstyle.obj \
|
||||
gtkstylecontext.obj \
|
||||
gtkstyleproperties.obj \
|
||||
gtkstyleprovider.obj \
|
||||
gtkstatusbar.obj \
|
||||
gtkstock.obj \
|
||||
gtkswitch.obj \
|
||||
gtksymboliccolor.obj \
|
||||
gtktable.obj \
|
||||
gtktearoffmenuitem.obj \
|
||||
gtktestutils.obj \
|
||||
gtkthemingengine.obj \
|
||||
gtktimeline.obj \
|
||||
gtktoggleaction.obj \
|
||||
gtktogglebutton.obj \
|
||||
gtktoggletoolbutton.obj \
|
||||
gtktoolbar.obj \
|
||||
gtktoolbutton.obj \
|
||||
gtktoolitem.obj \
|
||||
gtktoolitemgroup.obj \
|
||||
gtktoolpalette.obj \
|
||||
gtktoolshell.obj \
|
||||
gtktooltip.obj \
|
||||
gtktreedatalist.obj \
|
||||
gtktypebuiltins.obj \
|
||||
gtkuimanager.obj \
|
||||
gtkvbbox.obj \
|
||||
gtkvbox.obj \
|
||||
gtkviewport.obj \
|
||||
gtkvolumebutton.obj \
|
||||
gtkvpaned.obj \
|
||||
gtkvscale.obj \
|
||||
gtkvscrollbar.obj \
|
||||
gtkvseparator.obj \
|
||||
gtkwidget.obj \
|
||||
gtkwidgetpath.obj \
|
||||
gtkwin32embed.obj \
|
||||
gtkwin32embedwidget.obj \
|
||||
gtkwindow.obj \
|
||||
# gtkwrapbox.obj \
|
||||
|
||||
# Source headers which are non-autogenerated headers
|
||||
gtk_public_h_sources = \
|
||||
gtk.h \
|
||||
gtkaboutdialog.h \
|
||||
gtkaccelgroup.h \
|
||||
gtkaccellabel.h \
|
||||
gtkaccelmap.h \
|
||||
gtkaccessible.h \
|
||||
gtkaction.h \
|
||||
gtkactiongroup.h \
|
||||
gtkactivatable.h \
|
||||
gtkadjustment.h \
|
||||
gtkalignment.h \
|
||||
gtkappchooser.h \
|
||||
gtkappchooserbutton.h \
|
||||
gtkappchooserdialog.h \
|
||||
gtkappchooserwidget.h \
|
||||
gtkapplication.h \
|
||||
gtkarrow.h \
|
||||
gtkaspectframe.h \
|
||||
gtkassistant.h \
|
||||
gtkbbox.h \
|
||||
gtkbin.h \
|
||||
gtkbindings.h \
|
||||
gtkborder.h \
|
||||
gtkbox.h \
|
||||
gtkbuilder.h \
|
||||
gtkbuildable.h \
|
||||
gtkbutton.h \
|
||||
gtkcalendar.h \
|
||||
gtkcellarea.h \
|
||||
gtkcellareacontext.h \
|
||||
gtkcellareabox.h \
|
||||
gtkcelleditable.h \
|
||||
gtkcelllayout.h \
|
||||
gtkcellrenderer.h \
|
||||
gtkcellrendereraccel.h \
|
||||
gtkcellrenderercombo.h \
|
||||
gtkcellrendererpixbuf.h \
|
||||
gtkcellrendererprogress.h \
|
||||
gtkcellrendererspin.h \
|
||||
gtkcellrendererspinner.h\
|
||||
gtkcellrenderertext.h \
|
||||
gtkcellrenderertoggle.h \
|
||||
gtkcellview.h \
|
||||
gtkcheckbutton.h \
|
||||
gtkcheckmenuitem.h \
|
||||
gtkclipboard.h \
|
||||
gtkcolorbutton.h \
|
||||
gtkcolorsel.h \
|
||||
gtkcolorseldialog.h \
|
||||
gtkcombobox.h \
|
||||
gtkcomboboxtext.h \
|
||||
gtkcontainer.h \
|
||||
gtkcssprovider.h \
|
||||
gtkdebug.h \
|
||||
gtkdialog.h \
|
||||
gtkdnd.h \
|
||||
gtkdrawingarea.h \
|
||||
gtkeditable.h \
|
||||
gtkentry.h \
|
||||
gtkentrybuffer.h \
|
||||
gtkentrycompletion.h \
|
||||
gtkenums.h \
|
||||
gtkexpander.h \
|
||||
gtkfilechooser.h \
|
||||
gtkfilechooserbutton.h \
|
||||
gtkfilechooserdialog.h \
|
||||
gtkfilechooserwidget.h \
|
||||
gtkfilefilter.h \
|
||||
gtkfixed.h \
|
||||
gtkfontbutton.h \
|
||||
gtkfontsel.h \
|
||||
gtkframe.h \
|
||||
gtkgradient.h \
|
||||
gtkgrid.h \
|
||||
gtkhandlebox.h \
|
||||
gtkhbbox.h \
|
||||
gtkhbox.h \
|
||||
gtkhpaned.h \
|
||||
gtkhscale.h \
|
||||
gtkhscrollbar.h \
|
||||
gtkhseparator.h \
|
||||
gtkhsv.h \
|
||||
gtkiconfactory.h \
|
||||
gtkicontheme.h \
|
||||
gtkiconview.h \
|
||||
gtkimage.h \
|
||||
gtkimagemenuitem.h \
|
||||
gtkimcontext.h \
|
||||
gtkimcontextsimple.h \
|
||||
gtkimmodule.h \
|
||||
gtkimmulticontext.h \
|
||||
gtkinfobar.h \
|
||||
gtkinvisible.h \
|
||||
gtklabel.h \
|
||||
gtklayout.h \
|
||||
gtklinkbutton.h \
|
||||
gtkliststore.h \
|
||||
gtkmain.h \
|
||||
gtkmenu.h \
|
||||
gtkmenubar.h \
|
||||
gtkmenuitem.h \
|
||||
gtkmenushell.h \
|
||||
gtkmenutoolbutton.h \
|
||||
gtkmessagedialog.h \
|
||||
gtkmisc.h \
|
||||
gtkmodules.h \
|
||||
gtkmountoperation.h \
|
||||
gtknotebook.h \
|
||||
gtkorientable.h \
|
||||
gtkpagesetup.h \
|
||||
gtkpaned.h \
|
||||
gtkpapersize.h \
|
||||
gtkprintcontext.h \
|
||||
gtkprintoperation.h \
|
||||
gtkprintoperationpreview.h \
|
||||
gtkprintsettings.h \
|
||||
gtkprogressbar.h \
|
||||
gtkradioaction.h \
|
||||
gtkradiobutton.h \
|
||||
gtkradiomenuitem.h \
|
||||
gtkradiotoolbutton.h \
|
||||
gtkrange.h \
|
||||
gtkrc.h \
|
||||
gtkrecentaction.h \
|
||||
gtkrecentchooser.h \
|
||||
gtkrecentchooserdialog.h \
|
||||
gtkrecentchoosermenu.h \
|
||||
gtkrecentchooserwidget.h \
|
||||
gtkrecentfilter.h \
|
||||
gtkrecentmanager.h \
|
||||
gtkscale.h \
|
||||
gtkscalebutton.h \
|
||||
gtkscrollable.h \
|
||||
gtkscrollbar.h \
|
||||
gtkscrolledwindow.h \
|
||||
gtkselection.h \
|
||||
gtkseparator.h \
|
||||
gtkseparatormenuitem.h \
|
||||
gtkseparatortoolitem.h \
|
||||
gtksettings.h \
|
||||
gtkshow.h \
|
||||
gtkstacksidebar.h \
|
||||
gtksizegroup.h \
|
||||
gtksizerequest.h \
|
||||
gtkspinbutton.h \
|
||||
gtkspinner.h \
|
||||
gtkstatusbar.h \
|
||||
gtkstatusicon.h \
|
||||
gtkstock.h \
|
||||
gtkstylecontext.h \
|
||||
gtkstyleproperties.h \
|
||||
gtkstyleprovider.h \
|
||||
gtkstyle.h \
|
||||
gtkswitch.h \
|
||||
gtksymboliccolor.h \
|
||||
gtktable.h \
|
||||
gtktearoffmenuitem.h \
|
||||
gtktestutils.h \
|
||||
gtktextbuffer.h \
|
||||
gtktextbufferrichtext.h \
|
||||
gtktextchild.h \
|
||||
gtktextdisplay.h \
|
||||
gtktextiter.h \
|
||||
gtktextmark.h \
|
||||
gtktexttag.h \
|
||||
gtktexttagtable.h \
|
||||
gtktextview.h \
|
||||
gtkthemingengine.h \
|
||||
gtktoggleaction.h \
|
||||
gtktogglebutton.h \
|
||||
gtktoggletoolbutton.h \
|
||||
gtktoolbar.h \
|
||||
gtktoolbutton.h \
|
||||
gtktoolitem.h \
|
||||
gtktoolitemgroup.h \
|
||||
gtktoolpalette.h \
|
||||
gtktoolshell.h \
|
||||
gtktooltip.h \
|
||||
gtktreednd.h \
|
||||
gtktreemodel.h \
|
||||
gtktreemodelfilter.h \
|
||||
gtktreemodelsort.h \
|
||||
gtktreeselection.h \
|
||||
gtktreesortable.h \
|
||||
gtktreestore.h \
|
||||
gtktreeview.h \
|
||||
gtktreeviewcolumn.h \
|
||||
gtkuimanager.h \
|
||||
gtkvbbox.h \
|
||||
gtkvbox.h \
|
||||
gtkviewport.h \
|
||||
gtkvolumebutton.h \
|
||||
gtkvpaned.h \
|
||||
gtkvscale.h \
|
||||
gtkvscrollbar.h \
|
||||
gtkvseparator.h \
|
||||
gtkwidget.h \
|
||||
gtkwidgetpath.h \
|
||||
gtkwindow.h
|
||||
|
||||
# these aren't use here, but listed for reference
|
||||
gtk_extra_sources = \
|
||||
gtkversion.h \
|
||||
gtk-boxed.defs \
|
||||
gtkmarshal.list \
|
||||
|
||||
..\config.h : ..\config.h.win32
|
||||
copy ..\config.h.win32 ..\config.h
|
||||
|
||||
gtk.def: gtk.symbols makefile.msc
|
||||
echo EXPORTS > gtk.def
|
||||
cl /EP -DG_OS_WIN32 -DGDK_WINDOWING_WIN32 \
|
||||
-DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
|
||||
-DG_GNUC_PRINTF=;G_GNUC_PRINTF gtk.symbols >> gtk.def
|
||||
|
||||
# generate type identifier header (GTK_TYPE_WIDGET_FLAGS)
|
||||
# use 'echo' to work around 'command line too long'
|
||||
gtktypebuiltins.h: $(gtk_public_h_sources) makefile.msc
|
||||
echo #ifndef __GTK_TYPE_BUILTINS_H__ > gtktypebuiltins.h
|
||||
echo #define __GTK_TYPE_BUILTINS_H__ >> gtktypebuiltins.h
|
||||
echo #include "glib-object.h" >> gtktypebuiltins.h
|
||||
echo G_BEGIN_DECLS >> gtktypebuiltins.h
|
||||
$(PERL) $(GLIB)\gobject\glib-mkenums \
|
||||
--fprod "/* enumerations from \"@filename@\" */\n" \
|
||||
--vhead "GType @enum_name@_get_type (void);\n#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
|
||||
--ftail "G_END_DECLS\n\n#endif /* __GTK_TYPE_BUILTINS_H__ */" \
|
||||
$(gtk_public_h_sources) >> gtktypebuiltins.h
|
||||
|
||||
gtktypebuiltins.c: $(gtk_public_h_sources) makefile.msc
|
||||
$(PERL) $(GLIB)\gobject\glib-mkenums \
|
||||
--fhead "#define GTK_ENABLE_BROKEN\n#include \"gtk.h\"\n#include \"gtkprivate.h\"" \
|
||||
--fprod "\n/* enumerations from \"@filename@\" */" \
|
||||
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
|
||||
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
||||
--vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
|
||||
$(gtk_public_h_sources) > xgen-gtbc
|
||||
copy xgen-gtbc gtktypebuiltins.c
|
||||
|
||||
# private marshalers
|
||||
gtkmarshalers.h : gtkmarshalers.list makefile.msc
|
||||
$(GLIB)\gobject\glib-genmarshal --prefix=_gtk_marshal gtkmarshalers.list --header >gtkmarshalers.h
|
||||
|
||||
gtkmarshalers.c : gtkmarshalers.list makefile.msc
|
||||
$(GLIB)\gobject\glib-genmarshal --prefix=_gtk_marshal gtkmarshalers.list --body >gtkmarshalers.c
|
||||
|
||||
gtktypefuncs.inc : makefile.msc
|
||||
echo /*none*/ > gtktypefuncs.inc
|
||||
|
||||
gtk-win32.res : gtk-win32.rc
|
||||
rc -DBUILDNUMBER=0 -r -fo gtk-win32.res gtk-win32.rc
|
||||
|
||||
# build some static limits to covercome command line too long
|
||||
# may also speed up the build
|
||||
|
||||
gtk-cell.lib : $(gtk_OBJECTS_cell)
|
||||
lib /out:gtk-cell.lib $(gtk_OBJECTS_cell)
|
||||
|
||||
gtk-file.lib : $(gtk_OBJECTS_file)
|
||||
lib /out:gtk-file.lib $(gtk_OBJECTS_file)
|
||||
|
||||
gtk-print.lib : $(gtk_OBJECTS_print)
|
||||
lib /out:gtk-print.lib $(gtk_OBJECTS_print)
|
||||
|
||||
gtk-recent.lib : $(gtk_OBJECTS_recent)
|
||||
lib /out:gtk-recent.lib $(gtk_OBJECTS_recent)
|
||||
|
||||
gtk-text.lib : $(gtk_OBJECTS_text)
|
||||
lib /out:gtk-text.lib $(gtk_OBJECTS_text)
|
||||
|
||||
gtk-core.lib : $(gtk_OBJECTS)
|
||||
lib /out:gtk-core.lib $(gtk_OBJECTS)
|
||||
|
||||
gtk_SUBLIBS = \
|
||||
gtk-cell.lib \
|
||||
gtk-file.lib \
|
||||
gtk-print.lib \
|
||||
gtk-recent.lib \
|
||||
gtk-text.lib \
|
||||
gtk-core.lib
|
||||
|
||||
#
|
||||
# Linking:
|
||||
#
|
||||
libgtk-win32-$(GTK_VER)-0.dll : $(gtk_SUBLIBS) gtk.def gtk-win32.res
|
||||
$(CC) $(CFLAGS) -LD -Fm -Fe$@ $(gtk_SUBLIBS) gtk-win32.res $(EXTRALIBS) \
|
||||
gdi32.lib user32.lib advapi32.lib wsock32.lib shell32.lib ole32.lib \
|
||||
comdlg32.lib winspool.lib comctl32.lib \
|
||||
$(LDFLAGS) /implib:gtk-win32-$(GTK_VER).lib /def:gtk.def
|
||||
|
||||
gtk-win32-$(GTK_VER)s.lib : $(gtk_OBJECTS)
|
||||
lib /out:gtk-win32-$(GTK_VER)s.lib $(gtk_OBJECTS)
|
||||
|
||||
gtk-query-immodules-$(GTK_VER).exe : queryimmodules.obj
|
||||
$(CC) $(CFLAGS) -Fe$@ queryimmodules.obj $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LDFLAGS)
|
||||
|
||||
gtk-update-icon-cache.exe : updateiconcache.obj
|
||||
$(CC) $(CFLAGS) -Fe$@ updateiconcache.obj $(GDK_PIXBUF_LIBS) $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS) $(LDFLAGS)
|
||||
|
||||
gtk-x11-$(GTK_VER).dll : $(gtk_OBJECTS) gtk.def
|
||||
$(CC) $(CFLAGS) -LD -Fm -Fegtk-x11-$(GTK_VER).dll $(gtk_OBJECTS) ../gdk/gdk-x11-$(GTK_VER).lib $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(INTL_LIBS) $(GLIB_LIBS) gdi32.lib user32.lib advapi32.lib $(LDFLAGS) /def:gtk.def
|
||||
|
||||
# General rule for compiling the objects into the DLL
|
||||
.c.obj :
|
||||
$(CC) $(CFLAGS) -GF -Zm400 -GD -c -DGTK_COMPILATION -DG_LOG_DOMAIN=\"Gtk\" $<
|
||||
|
||||
$(EXAMPLE).obj : ..\examples\$(EXAMPLE)\$(EXAMPLE).c
|
||||
$(CC) $(CFLAGS) -c -DG_LOG_DOMAIN=\"$(EXAMPLE)\" ..\examples\$(EXAMPLE)\$(EXAMPLE).c
|
||||
|
||||
$(EXAMPLE).exe : $(EXAMPLE).obj
|
||||
$(CC) $(CFLAGS) $(EXAMPLE).obj $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
||||
|
3
m4/.gitignore
vendored
3
m4/.gitignore
vendored
@@ -1,3 +0,0 @@
|
||||
!/ax_prog_cc_for_build.m4
|
||||
!/pkg_config_for_build.m4
|
||||
*.m4
|
@@ -1,127 +0,0 @@
|
||||
# ===========================================================================
|
||||
# http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
|
||||
# ===========================================================================
|
||||
#
|
||||
# SYNOPSIS
|
||||
#
|
||||
# AX_PROG_CC_FOR_BUILD
|
||||
#
|
||||
# DESCRIPTION
|
||||
#
|
||||
# This macro searches for a C compiler that generates native executables,
|
||||
# that is a C compiler that surely is not a cross-compiler. This can be
|
||||
# useful if you have to generate source code at compile-time like for
|
||||
# example GCC does.
|
||||
#
|
||||
# The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
|
||||
# needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
|
||||
# The value of these variables can be overridden by the user by specifying
|
||||
# a compiler with an environment variable (like you do for standard CC).
|
||||
#
|
||||
# It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
|
||||
# file extensions for the build platform, and GCC_FOR_BUILD to `yes' if
|
||||
# the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
|
||||
# substituted in the Makefile.
|
||||
#
|
||||
# LICENSE
|
||||
#
|
||||
# Copyright (c) 2008 Paolo Bonzini <bonzini@gnu.org>
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification, are
|
||||
# permitted in any medium without royalty provided the copyright notice
|
||||
# and this notice are preserved. This file is offered as-is, without any
|
||||
# warranty.
|
||||
|
||||
#serial 7
|
||||
|
||||
AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
|
||||
AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_PROG_CPP])dnl
|
||||
AC_REQUIRE([AC_EXEEXT])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
|
||||
dnl Use the standard macros, but make them use other variable names
|
||||
dnl
|
||||
pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
|
||||
pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
|
||||
pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
|
||||
pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
|
||||
pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
|
||||
pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
|
||||
pushdef([ac_cv_objext], ac_cv_build_objext)dnl
|
||||
pushdef([ac_exeext], ac_build_exeext)dnl
|
||||
pushdef([ac_objext], ac_build_objext)dnl
|
||||
pushdef([CC], CC_FOR_BUILD)dnl
|
||||
pushdef([CPP], CPP_FOR_BUILD)dnl
|
||||
pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
|
||||
pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
|
||||
pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
|
||||
pushdef([LIBS], LIBS_FOR_BUILD)dnl
|
||||
pushdef([host], build)dnl
|
||||
pushdef([host_alias], build_alias)dnl
|
||||
pushdef([host_cpu], build_cpu)dnl
|
||||
pushdef([host_vendor], build_vendor)dnl
|
||||
pushdef([host_os], build_os)dnl
|
||||
pushdef([ac_cv_host], ac_cv_build)dnl
|
||||
pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
|
||||
pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
|
||||
pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
|
||||
pushdef([ac_cv_host_os], ac_cv_build_os)dnl
|
||||
pushdef([ac_cpp], ac_build_cpp)dnl
|
||||
pushdef([ac_compile], ac_build_compile)dnl
|
||||
pushdef([ac_link], ac_build_link)dnl
|
||||
|
||||
save_cross_compiling=$cross_compiling
|
||||
save_ac_tool_prefix=$ac_tool_prefix
|
||||
cross_compiling=no
|
||||
ac_tool_prefix=
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_EXEEXT
|
||||
|
||||
ac_tool_prefix=$save_ac_tool_prefix
|
||||
cross_compiling=$save_cross_compiling
|
||||
|
||||
dnl Restore the old definitions
|
||||
dnl
|
||||
popdef([ac_link])dnl
|
||||
popdef([ac_compile])dnl
|
||||
popdef([ac_cpp])dnl
|
||||
popdef([ac_cv_host_os])dnl
|
||||
popdef([ac_cv_host_vendor])dnl
|
||||
popdef([ac_cv_host_cpu])dnl
|
||||
popdef([ac_cv_host_alias])dnl
|
||||
popdef([ac_cv_host])dnl
|
||||
popdef([host_os])dnl
|
||||
popdef([host_vendor])dnl
|
||||
popdef([host_cpu])dnl
|
||||
popdef([host_alias])dnl
|
||||
popdef([host])dnl
|
||||
popdef([LIBS])dnl
|
||||
popdef([LDFLAGS])dnl
|
||||
popdef([CPPFLAGS])dnl
|
||||
popdef([CFLAGS])dnl
|
||||
popdef([CPP])dnl
|
||||
popdef([CC])dnl
|
||||
popdef([ac_objext])dnl
|
||||
popdef([ac_exeext])dnl
|
||||
popdef([ac_cv_objext])dnl
|
||||
popdef([ac_cv_exeext])dnl
|
||||
popdef([ac_cv_prog_cc_g])dnl
|
||||
popdef([ac_cv_prog_cc_cross])dnl
|
||||
popdef([ac_cv_prog_cc_works])dnl
|
||||
popdef([ac_cv_prog_gcc])dnl
|
||||
popdef([ac_cv_prog_CPP])dnl
|
||||
|
||||
dnl Finally, set Makefile variables
|
||||
dnl
|
||||
BUILD_EXEEXT=$ac_build_exeext
|
||||
BUILD_OBJEXT=$ac_build_objext
|
||||
AC_SUBST(BUILD_EXEEXT)dnl
|
||||
AC_SUBST(BUILD_OBJEXT)dnl
|
||||
AC_SUBST([CFLAGS_FOR_BUILD])dnl
|
||||
AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
|
||||
AC_SUBST([LDFLAGS_FOR_BUILD])dnl
|
||||
])
|
@@ -1,20 +0,0 @@
|
||||
# PKG_PROG_PKG_CONFIG_FOR_BUILD([MIN-VERSION])
|
||||
# ----------------------------------
|
||||
AC_DEFUN([PKG_PROG_PKG_CONFIG_FOR_BUILD],
|
||||
[m4_pattern_allow([^PKG_CONFIG_FOR_BUILD$])
|
||||
AC_ARG_VAR([PKG_CONFIG_FOR_BUILD], [path to build system's pkg-config utility])
|
||||
|
||||
if test "x$ac_cv_env_PKG_CONFIG_FOR_BUILD_set" != "xset"; then
|
||||
AC_PATH_PROG([PKG_CONFIG_FOR_BUILD], [pkg-config])
|
||||
fi
|
||||
if test -n "$PKG_CONFIG_FOR_BUILD"; then
|
||||
_pkg_for_build_min_version=m4_default([$1], [0.9.0])
|
||||
AC_MSG_CHECKING([build system's pkg-config is at least version $_pkg_min_version])
|
||||
if $PKG_CONFIG_FOR_BUILD --atleast-pkgconfig-version $_pkg_min_version; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
PKG_CONFIG_FOR_BUILD=""
|
||||
fi
|
||||
fi[]dnl
|
||||
])# PKG_PROG_PKG_CONFIG_FOR_BUILD
|
72
make-pot
72
make-pot
@@ -1,72 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
# This script extracts the typical xgettext invokation out of
|
||||
# po/Makefile.in.in, in order for it to be available as a shell
|
||||
# command without the need to autogen first. This is needed for
|
||||
# translation tools such as the damn lies website.
|
||||
#
|
||||
# Call this from your GTK+ checkout directory, like this:
|
||||
#
|
||||
# ./make-pot
|
||||
#
|
||||
# to generate po/gtk40.pot, and like this:
|
||||
#
|
||||
# ./make-pot properties
|
||||
#
|
||||
# to generate po-properties/gtk40-properties.pot.
|
||||
#
|
||||
# Various things can be passed in by environment variables, which
|
||||
# are heavily inspired by the variables used in po/Makefile.in.in:
|
||||
#
|
||||
# XGETTEXT - path of the xgettext binary
|
||||
# top_srcdir - the location of the GTK+ checkout
|
||||
# srcdir - the directory where POTFILES.in is located (defaults to
|
||||
# $top_srcdir/po or $top_srcdir/po-properties)
|
||||
# GETTEXT_PACKAGE - the gettext domain, used for naming the resulting
|
||||
# .pot file (defaults to gtk40 or gtk40-properties)
|
||||
# XGETTEXT_KEYWORDS - --keyword arguments to pass to xgettext
|
||||
|
||||
|
||||
XGETTEXT="${XGETTEXT:-xgettext}"
|
||||
top_srcdir="${top_srcdir:-.}"
|
||||
|
||||
if test "$1" = "properties"; then
|
||||
srcdir="${srcdir:-$top_srcdir/po-properties}"
|
||||
GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk40-properties}"
|
||||
XGETTEXT_KEYWORDS="${XGETTEXT_KEYWORDS:- --keyword --keyword=P_ }"
|
||||
else
|
||||
srcdir="${srcdir:-$top_srcdir/po}"
|
||||
GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk40}"
|
||||
XGETTEXT_KEYWORDS="${XGETTEXT_KEYWORDS:- --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 }"
|
||||
fi
|
||||
|
||||
$XGETTEXT --default-domain="$GETTEXT_PACKAGE" \
|
||||
--directory="$top_srcdir" \
|
||||
--add-comments \
|
||||
$XGETTEXT_KEYWORDS \
|
||||
--from-code=utf-8 \
|
||||
--flag=g_dngettext:2:pass-c-format \
|
||||
--flag=g_strdup_printf:1:c-format \
|
||||
--flag=g_string_printf:2:c-format \
|
||||
--flag=g_string_append_printf:2:c-format \
|
||||
--flag=g_error_new:3:c-format \
|
||||
--flag=g_set_error:4:c-format \
|
||||
--flag=g_markup_printf_escaped:1:c-format \
|
||||
--flag=g_log:3:c-format \
|
||||
--flag=g_print:1:c-format \
|
||||
--flag=g_printerr:1:c-format \
|
||||
--flag=g_printf:1:c-format \
|
||||
--flag=g_fprintf:2:c-format \
|
||||
--flag=g_sprintf:2:c-format \
|
||||
--flag=g_snprintf:3:c-format \
|
||||
--flag=g_scanner_error:2:c-format \
|
||||
--flag=g_scanner_warn:2:c-format \
|
||||
--flag=gtk_message_dialog_format_secondary_markup:2:c-format \
|
||||
--flag=gtk_message_dialog_format_secondary_text:2:c-format \
|
||||
--flag=gtk_message_dialog_new:5:c-format \
|
||||
--flag=gtk_message_dialog_new_with_markup:5:c-format \
|
||||
--files-from="$srcdir/POTFILES.in" \
|
||||
&& test ! -f "$GETTEXT_PACKAGE.po" \
|
||||
|| ( rm -f "$srcdir/$GETTEXT_PACKAGE.pot" \
|
||||
&& mv "$GETTEXT_PACKAGE.po" "$srcdir/$GETTEXT_PACKAGE.pot" )
|
||||
|
24
makefile.msc
24
makefile.msc
@@ -1,24 +0,0 @@
|
||||
## Makefile for building the Gtk+ dlls with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
PARTS = gdk gtk tests
|
||||
|
||||
all : \
|
||||
config.h \
|
||||
sub-all
|
||||
|
||||
sub-all:
|
||||
for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=all
|
||||
|
||||
clean : sub-clean
|
||||
|
||||
sub-clean:
|
||||
for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean
|
||||
|
||||
sub-one:
|
||||
@cd $(THIS)
|
||||
@nmake -nologo -f makefile.msc $(TARGET)
|
||||
@cd ..
|
||||
|
||||
config.h: config.h.win32
|
||||
copy config.h.win32 config.h
|
@@ -1,9 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = input
|
||||
|
||||
if OS_UNIX
|
||||
SUBDIRS += printbackends
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,276 +0,0 @@
|
||||
## Makefile.am for gtk+/modules/input
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DGTK_LOCALEDIR=\"$(localedir)\" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_XIM_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
-DGTK_COMPILATION \
|
||||
$(INCLUDED_IMMODULE_DEFINE)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
moduledir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/immodules
|
||||
|
||||
im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_xim_la_SOURCES = \
|
||||
gtkimcontextxim.c \
|
||||
gtkimcontextxim.h \
|
||||
imxim.c
|
||||
libstatic_im_xim_la_SOURCES = $(im_xim_la_SOURCES)
|
||||
im_xim_la_LIBADD = $(LDADDS)
|
||||
if USE_X11
|
||||
if INCLUDE_IM_XIM
|
||||
STATIC_XIM_MODULE = libstatic-im-xim.la
|
||||
else
|
||||
XIM_MODULE=im-xim.la
|
||||
endif
|
||||
endif
|
||||
|
||||
im_am_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_am_et_la_SOURCES = imam-et.c
|
||||
libstatic_im_am_et_la_SOURCES = $(im_am_et_la_SOURCES)
|
||||
im_am_et_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_AM_ET
|
||||
STATIC_AM_ET_MODULE = libstatic-im-am-et.la
|
||||
else
|
||||
AM_ET_MODULE = im-am-et.la
|
||||
endif
|
||||
|
||||
im_cedilla_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_cedilla_la_SOURCES = imcedilla.c
|
||||
libstatic_im_cedilla_la_SOURCES = $(im_cedilla_la_SOURCES)
|
||||
im_cedilla_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_CEDILLA
|
||||
STATIC_CEDILLA_MODULE = libstatic-im-cedilla.la
|
||||
else
|
||||
CEDILLA_MODULE = im-cedilla.la
|
||||
endif
|
||||
|
||||
im_cyrillic_translit_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c
|
||||
libstatic_im_cyrillic_translit_la_SOURCES = $(im_cyrillic_translit_la_SOURCES)
|
||||
im_cyrillic_translit_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_CYRILLIC_TRANSLIT
|
||||
STATIC_CYRILLIC_TRANSLIT_MODULE = libstatic-im-cyrillic-translit.la
|
||||
else
|
||||
CYRILLIC_TRANSLIT_MODULE = im-cyrillic-translit.la
|
||||
endif
|
||||
|
||||
im_ti_er_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ti_er_la_SOURCES = imti-er.c
|
||||
libstatic_im_ti_er_la_SOURCES = $(im_ti_er_la_SOURCES)
|
||||
im_ti_er_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_TI_ER
|
||||
STATIC_TI_ER_MODULE = libstatic-im-ti-er.la
|
||||
else
|
||||
TI_ER_MODULE = im-ti-er.la
|
||||
endif
|
||||
|
||||
im_ti_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ti_et_la_SOURCES = imti-et.c
|
||||
libstatic_im_ti_et_la_SOURCES = $(im_ti_et_la_SOURCES)
|
||||
im_ti_et_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_TI_ET
|
||||
STATIC_TI_ET_MODULE = libstatic-im-ti-et.la
|
||||
else
|
||||
TI_ET_MODULE = im-ti-et.la
|
||||
endif
|
||||
|
||||
im_thai_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_thai_la_SOURCES = \
|
||||
thai-charprop.c \
|
||||
thai-charprop.h \
|
||||
gtkimcontextthai.c \
|
||||
gtkimcontextthai.h \
|
||||
imthai.c
|
||||
libstatic_im_thai_la_SOURCES = $(im_thai_la_SOURCES)
|
||||
im_thai_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_THAI
|
||||
STATIC_THAI_MODULE = libstatic-im-thai.la
|
||||
else
|
||||
THAI_MODULE = im-thai.la
|
||||
endif
|
||||
|
||||
im_viqr_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_viqr_la_SOURCES = imviqr.c
|
||||
libstatic_im_viqr_la_SOURCES = $(im_viqr_la_SOURCES)
|
||||
im_viqr_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_VIQR
|
||||
STATIC_VIQR_MODULE = libstatic-im-viqr.la
|
||||
else
|
||||
VIQR_MODULE = im-viqr.la
|
||||
endif
|
||||
|
||||
im_inuktitut_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_inuktitut_la_SOURCES = iminuktitut.c
|
||||
libstatic_im_inuktitut_la_SOURCES = $(im_inuktitut_la_SOURCES)
|
||||
im_inuktitut_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_INUKTITUT
|
||||
STATIC_INUKTITUT_MODULE = libstatic-im-inuktitut.la
|
||||
else
|
||||
INUKTITUT_MODULE = im-inuktitut.la
|
||||
endif
|
||||
|
||||
im_ipa_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ipa_la_SOURCES = imipa.c
|
||||
libstatic_im_ipa_la_SOURCES = $(im_ipa_la_SOURCES)
|
||||
im_ipa_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_IPA
|
||||
STATIC_IPA_MODULE = libstatic-im-ipa.la
|
||||
else
|
||||
IPA_MODULE = im-ipa.la
|
||||
endif
|
||||
|
||||
im_ime_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ime_la_SOURCES = \
|
||||
gtkimcontextime.c \
|
||||
gtkimcontextime.h \
|
||||
imime.c \
|
||||
imm-extra.h
|
||||
libstatic_im_ime_la_SOURCES = $(im_ime_la_SOURCES)
|
||||
im_ime_la_LIBADD = -limm32 $(LDADDS)
|
||||
libstatic_im_ime_la_LIBADD = -limm32
|
||||
if USE_WIN32
|
||||
if INCLUDE_IM_IME
|
||||
STATIC_IME_MODULE = libstatic-im-ime.la
|
||||
else
|
||||
IME_MODULE=im-ime.la
|
||||
endif
|
||||
endif
|
||||
|
||||
im_quartz_la_CPPFLAGS = $(AM_CPPFLAGS) -xobjective-c
|
||||
im_quartz_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_quartz_la_SOURCES = imquartz.c
|
||||
libstatic_im_quartz_la_SOURCES = $(im_quartz_la_SOURCES)
|
||||
im_quartz_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_QUARTZ
|
||||
STATIC_QUARTZ_MODULE = libstatic-im-quartz.la
|
||||
else
|
||||
if USE_QUARTZ
|
||||
QUARTZ_MODULE = im-quartz.la
|
||||
endif
|
||||
endif
|
||||
|
||||
im_broadway_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
im_broadway_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_broadway_la_SOURCES = imbroadway.c
|
||||
libstatic_im_broadway_la_SOURCES = $(im_broadway_la_SOURCES)
|
||||
im_broadway_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_BROADWAY
|
||||
STATIC_BROADWAY_MODULE = libstatic-im-broadway.la
|
||||
else
|
||||
if USE_BROADWAY
|
||||
BROADWAY_MODULE = im-broadway.la
|
||||
endif
|
||||
endif
|
||||
|
||||
multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\"
|
||||
im_multipress_la_CPPFLAGS = $(AM_CPPFLAGS) $(multipress_defs)
|
||||
libstatic_im_multipress_la_CPPFLAGS = $(im_multipress_la_CPPFLAGS)
|
||||
im_multipress_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_multipress_la_SOURCES = \
|
||||
gtkimcontextmultipress.c \
|
||||
gtkimcontextmultipress.h \
|
||||
immultipress.c
|
||||
libstatic_im_multipress_la_SOURCES = $(im_multipress_la_SOURCES)
|
||||
im_multipress_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_MULTIPRESS
|
||||
STATIC_MULTIPRESS_MODULE = libstatic-im-multipress.la
|
||||
else
|
||||
MULTIPRESS_MODULE = im-multipress.la
|
||||
endif
|
||||
|
||||
imconffiledir = $(sysconfdir)/gtk-4.0
|
||||
dist_imconffile_DATA = im-multipress.conf
|
||||
|
||||
if CROSS_COMPILING
|
||||
RUN_QUERY_IMMODULES_TEST=false
|
||||
else
|
||||
RUN_QUERY_IMMODULES_TEST=test -z "$(DESTDIR)"
|
||||
endif
|
||||
|
||||
# Running this if cross compiling or if DESTDIR is set is going to
|
||||
# not work at all, so skip it.
|
||||
# We use install-data-hook here to workaround a bug in automake and/or libtool
|
||||
# that makes the install target for the loader libraries a dependency on
|
||||
# install-data-am, and not install-exec-am. We need to ensure this gets run
|
||||
# after the libraries are installed in their final locations.
|
||||
install-data-hook:
|
||||
$(AM_V_GEN) if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
||||
echo $(mkinstalldirs) $(DESTDIR)$(libdir)/gtk-4.0/4.0.0 ; \
|
||||
$(mkinstalldirs) $(DESTDIR)$(libdir)/gtk-4.0/4.0.0 ; \
|
||||
echo "$(top_builddir)/gtk/gtk4-query-immodules$(EXEEXT) > $(DESTDIR)$(libdir)/gtk-4.0/4.0.0/immodules.cache" ; \
|
||||
$(top_builddir)/gtk/gtk4-query-immodules$(EXEEXT) > $(DESTDIR)$(libdir)/gtk-4.0/4.0.0/immodules.cache ; \
|
||||
else \
|
||||
echo "***" ; \
|
||||
echo "*** Warning: immodules.cache not built" ; \
|
||||
echo "***" ; \
|
||||
echo "*** Generate this file manually on host" ; \
|
||||
echo "*** system using gtk4-query-immodules" ; \
|
||||
echo "***" ; \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(libdir)/gtk-4.0/4.0.0/immodules.cache
|
||||
|
||||
if BUILD_DYNAMIC_MODULES
|
||||
|
||||
module_LTLIBRARIES = \
|
||||
$(AM_ET_MODULE) \
|
||||
$(CEDILLA_MODULE) \
|
||||
$(CYRILLIC_TRANSLIT_MODULE) \
|
||||
$(IME_MODULE) \
|
||||
$(INUKTITUT_MODULE) \
|
||||
$(IPA_MODULE) \
|
||||
$(MULTIPRESS_MODULE) \
|
||||
$(QUARTZ_MODULE) \
|
||||
$(BROADWAY_MODULE) \
|
||||
$(THAI_MODULE) \
|
||||
$(TI_ER_MODULE) \
|
||||
$(TI_ET_MODULE) \
|
||||
$(VIQR_MODULE) \
|
||||
$(XIM_MODULE)
|
||||
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
$(STATIC_AM_ET_MODULE) \
|
||||
$(STATIC_CEDILLA_MODULE) \
|
||||
$(STATIC_CYRILLIC_TRANSLIT_MODULE) \
|
||||
$(STATIC_IME_MODULE) \
|
||||
$(STATIC_INUKTITUT_MODULE) \
|
||||
$(STATIC_IPA_MODULE) \
|
||||
$(STATIC_MULTIPRESS_MODULE) \
|
||||
$(STATIC_QUARTZ_MODULE) \
|
||||
$(STATIC_BROADWAY_MODULE) \
|
||||
$(STATIC_THAI_MODULE) \
|
||||
$(STATIC_TI_ER_MODULE) \
|
||||
$(STATIC_TI_ET_MODULE) \
|
||||
$(STATIC_VIQR_MODULE) \
|
||||
$(STATIC_XIM_MODULE)
|
||||
|
||||
included-modules: $(noinst_LTLIBRARIES)
|
||||
|
||||
immodules.cache: Makefile.am $(module_LTLIBRARIES)
|
||||
$(AM_V_GEN) $(top_builddir)/gtk/gtk4-query-immodules$(EXEEXT) $(module_LTLIBRARIES) > immodules.cache
|
||||
|
||||
EXTRA_DIST += README.multipress
|
||||
|
||||
CLEANFILES = immodules.cache
|
||||
|
||||
if CROSS_COMPILING
|
||||
else
|
||||
all-local: immodules.cache
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,23 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = file lpr
|
||||
|
||||
if HAVE_CLOUDPRINT
|
||||
SUBDIRS += cloudprint
|
||||
endif
|
||||
|
||||
if HAVE_CUPS
|
||||
SUBDIRS += cups
|
||||
endif
|
||||
|
||||
if TEST_PRINT_BACKEND
|
||||
SUBDIRS += test
|
||||
endif
|
||||
|
||||
if HAVE_PAPI
|
||||
SUBDIRS += papi
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = cloudprint cups file lpr test papi
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,40 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
backenddir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-cloudprint.la
|
||||
|
||||
libprintbackend_cloudprint_la_SOURCES = \
|
||||
gtkprintbackendcloudprint.h \
|
||||
gtkprintbackendcloudprint.c \
|
||||
gtkprintercloudprint.h \
|
||||
gtkprintercloudprint.c \
|
||||
gtkcloudprintaccount.h \
|
||||
gtkcloudprintaccount.c
|
||||
|
||||
libprintbackend_cloudprint_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(AM_CPPFLAGS)
|
||||
|
||||
libprintbackend_cloudprint_la_CFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(REST_CFLAGS) \
|
||||
$(JSON_GLIB_CFLAGS) \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
libprintbackend_cloudprint_la_LDFLAGS = \
|
||||
-avoid-version -module $(no_undefined)
|
||||
|
||||
libprintbackend_cloudprint_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(REST_LIBS) \
|
||||
$(JSON_GLIB_LIBS) \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,40 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(CUPS_CFLAGS) \
|
||||
$(COLORD_CFLAGS) \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS)
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(COLORD_LIBS) \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
backenddir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-cups.la
|
||||
|
||||
libprintbackend_cups_la_SOURCES = \
|
||||
gtkprintbackendcups.c \
|
||||
gtkprintercups.c \
|
||||
gtkcupsutils.c \
|
||||
gtkcupssecretsutils.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendcups.h \
|
||||
gtkprintercups.h \
|
||||
gtkcupsutils.h \
|
||||
gtkcupssecretsutils.h
|
||||
|
||||
libprintbackend_cups_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
||||
libprintbackend_cups_la_LIBADD = $(LDADDS) $(CUPS_LIBS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,34 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
backenddir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-file.la
|
||||
|
||||
libprintbackend_file_la_SOURCES = \
|
||||
gtkprintbackendfile.c
|
||||
|
||||
libprintbackend_file_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(AM_CPPFLAGS)
|
||||
|
||||
libprintbackend_file_la_CFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
libprintbackend_file_la_LDFLAGS = \
|
||||
-avoid-version -module $(no_undefined)
|
||||
|
||||
libprintbackend_file_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendfile.h
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,30 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS)
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
backenddir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-lpr.la
|
||||
|
||||
libprintbackend_lpr_la_SOURCES = \
|
||||
gtkprintbackendlpr.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendlpr.h
|
||||
|
||||
libprintbackend_lpr_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
||||
libprintbackend_lpr_la_LIBADD = $(LDADDS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,32 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS)
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
backenddir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-papi.la
|
||||
|
||||
libprintbackend_papi_la_SOURCES = \
|
||||
gtkprinterpapi.c \
|
||||
gtkprintbackendpapi.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprinterpapi.h \
|
||||
gtkprintbackendpapi.h
|
||||
|
||||
libprintbackend_papi_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
||||
libprintbackend_papi_la_LIBADD = $(LDADDS) -lpapi
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,33 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
backenddir = $(libdir)/gtk-4.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-test.la
|
||||
|
||||
libprintbackend_test_la_SOURCES = \
|
||||
gtkprintbackendtest.c
|
||||
|
||||
libprintbackend_test_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(AM_CPPFLAGS)
|
||||
|
||||
libprintbackend_test_la_CFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
libprintbackend_test_la_LDFLAGS = \
|
||||
-avoid-version -module $(no_undefined)
|
||||
|
||||
libprintbackend_test_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendtest.h
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f $1 ]; then
|
||||
sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
|
||||
fi
|
||||
|
@@ -1,492 +0,0 @@
|
||||
## Makefile.am for gtk+/tests
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = visuals
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gsk \
|
||||
-I$(top_srcdir)/gsk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
DEPS =
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GDK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
|
||||
if OS_LINUX
|
||||
fontconfig_programs = testfontchooserdialog
|
||||
endif
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS) \
|
||||
rendernode \
|
||||
rendernode-create-tests \
|
||||
overlayscroll \
|
||||
syncscroll \
|
||||
animated-resizing \
|
||||
animated-revealing \
|
||||
motion-compression \
|
||||
scrolling-performance \
|
||||
blur-performance \
|
||||
simple \
|
||||
flicker \
|
||||
print-editor \
|
||||
video-timer \
|
||||
testaccel \
|
||||
testadjustsize \
|
||||
testappchooser \
|
||||
testappchooserbutton \
|
||||
testassistant \
|
||||
testbaseline \
|
||||
testbbox \
|
||||
testbox \
|
||||
testboxcss \
|
||||
testbuttons \
|
||||
testcairo \
|
||||
testcalendar \
|
||||
testclipboard \
|
||||
testcolorchooser \
|
||||
testcolorchooser2 \
|
||||
testcombo \
|
||||
testcombochange \
|
||||
testcellrenderertext \
|
||||
testdialog \
|
||||
testdnd \
|
||||
testdnd2 \
|
||||
testellipsise \
|
||||
testemblems \
|
||||
testentrycompletion \
|
||||
testentryicons \
|
||||
testfilechooser \
|
||||
testfilechooserbutton \
|
||||
testflowbox \
|
||||
testfontchooser \
|
||||
testfontoptions \
|
||||
$(fontconfig_programs) \
|
||||
testframe \
|
||||
testfullscreen \
|
||||
testgiconpixbuf \
|
||||
testglarea \
|
||||
testglblending \
|
||||
testgrid \
|
||||
testgtk \
|
||||
testheaderbar \
|
||||
testheightforwidth \
|
||||
testiconview \
|
||||
testiconview-keynav \
|
||||
testicontheme \
|
||||
testimage \
|
||||
testinput \
|
||||
testkineticscrolling \
|
||||
testlist \
|
||||
testlist2 \
|
||||
testlist3 \
|
||||
testlevelbar \
|
||||
testlockbutton \
|
||||
testmenubutton \
|
||||
testmountoperation \
|
||||
testmultidisplay \
|
||||
testnotebookdnd \
|
||||
testnouiprint \
|
||||
testorientable \
|
||||
testoverlay \
|
||||
testoverlaystyleclass \
|
||||
testprint \
|
||||
testrecentchooser \
|
||||
testrecentchoosermenu \
|
||||
testrichtext \
|
||||
testscale \
|
||||
testselection \
|
||||
testselectionmode \
|
||||
testspinbutton \
|
||||
testtoolbar \
|
||||
testtoolbar2 \
|
||||
stresstest-toolbar \
|
||||
testtreechanging \
|
||||
testtreednd \
|
||||
testtreeedit \
|
||||
testtreemodel \
|
||||
testtreeview \
|
||||
testtreefocus \
|
||||
testtreeflow \
|
||||
testtreecolumns \
|
||||
testtreecolumnsizing \
|
||||
testtreesort \
|
||||
testverticalcells \
|
||||
treestoretest \
|
||||
testxinerama \
|
||||
testgrouping \
|
||||
testtooltips \
|
||||
testexpand \
|
||||
testexpander \
|
||||
testvolumebutton \
|
||||
testscrolledwindow \
|
||||
testscrolledge \
|
||||
testswitch \
|
||||
testcellarea \
|
||||
testswitch \
|
||||
testtoplevelembed \
|
||||
testnoscreen \
|
||||
testtreepos \
|
||||
testsensitive \
|
||||
testtextview \
|
||||
testanimation \
|
||||
testpixbuf-scale \
|
||||
testgmenu \
|
||||
testlogout \
|
||||
teststack \
|
||||
testrevealer \
|
||||
testrevealer2 \
|
||||
testtitlebar \
|
||||
testsplitheaders \
|
||||
teststackedheaders \
|
||||
testactionbar \
|
||||
testwindowsize \
|
||||
testpopover \
|
||||
gdkgears \
|
||||
listmodel \
|
||||
testpopup \
|
||||
testpopupat \
|
||||
testgaction \
|
||||
testwidgetfocus \
|
||||
testcenterbox \
|
||||
$(NULL)
|
||||
|
||||
if USE_X11
|
||||
noinst_PROGRAMS += testerrors
|
||||
endif
|
||||
|
||||
rendernode_DEPENDENCIES = $(TEST_DEPS)
|
||||
rendernode_create_tests_DEPENDENCIES = $(TEST_DEPS)
|
||||
animated_resizing_DEPENDENCIES = $(TEST_DEPS)
|
||||
animated_revealing_DEPENDENCIES = $(TEST_DEPS)
|
||||
flicker_DEPENDENCIES = $(TEST_DEPS)
|
||||
motion_compression_DEPENDENCIES = $(TEST_DEPS)
|
||||
scrolling_performance_DEPENDENCIES = $(TEST_DEPS)
|
||||
blur_performance_DEPENDENCIES = $(TEST_DEPS)
|
||||
simple_DEPENDENCIES = $(TEST_DEPS)
|
||||
print_editor_DEPENDENCIES = $(TEST_DEPS)
|
||||
video_timer_DEPENDENCIES = $(TEST_DEPS)
|
||||
testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
|
||||
testicontheme_DEPENDENCIES = $(TEST_DEPS)
|
||||
testiconview_DEPENDENCIES = $(TEST_DEPS)
|
||||
testaccel_DEPENDENCIES = $(TEST_DEPS)
|
||||
testadjustsize_DEPENDENCIES = $(TEST_DEPS)
|
||||
testassistant_DEPENDENCIES = $(TEST_DEPS)
|
||||
testbaseline_DEPENDENCIES = $(TEST_DEPS)
|
||||
testbbox_DEPENDENCIES = $(TEST_DEPS)
|
||||
testbuttons_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcairo_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcalendar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testclipboard_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcolorchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcolorchooser2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcombo_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcombochange_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
|
||||
testdnd_DEPENDENCIES = $(TEST_DEPS)
|
||||
testdnd2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testellipsise_DEPENDENCIES = $(TEST_DEPS)
|
||||
testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
|
||||
testentryicons_DEPENDENCIES = $(TEST_DEPS)
|
||||
testerrors_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfilechooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testflowbox_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontoptions_DEPENDENCIES = $(TEST_DEPS)
|
||||
testframe_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgiconpixbuf = $(TEST_DEPS)
|
||||
testgrid_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgtk_DEPENDENCIES = $(TEST_DEPS)
|
||||
testheaderbar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testinput_DEPENDENCIES = $(TEST_DEPS)
|
||||
testimage_DEPENDENCIES = $(TEST_DEPS)
|
||||
testkineticscrolling_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlist_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlist2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlevelbar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlockbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmenubutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmountoperation_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnouiprint_DEPENDENCIES = $(TEST_DEPS)
|
||||
testappchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testorientable_DEPENDENCIES = $(TEST_DEPS)
|
||||
testoverlay_DEPENDENCIES = $(TEST_DEPS)
|
||||
testoverlaystyleclass_DEPENDENCIES = $(TEST_DEPS)
|
||||
testprint_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrichtext_DEPENDENCIES = $(TEST_DEPS)
|
||||
testscale_DEPENDENCIES = $(TEST_DEPS)
|
||||
testselection_DEPENDENCIES = $(TEST_DEPS)
|
||||
testspinbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtreechanging_DEPENDENCIES = $(DEPS)
|
||||
testtreednd_DEPENDENCIES = $(DEPS)
|
||||
testtreeedit_DEPENDENCIES = $(DEPS)
|
||||
testtreemodel_DEPENDENCIES = $(DEPS)
|
||||
testtreeview_DEPENDENCIES = $(DEPS)
|
||||
testtreefocus_DEPENDENCIES = $(DEPS)
|
||||
testtreeflow_DEPENDENCIES = $(DEPS)
|
||||
testtreecolumns_DEPENDENCIES = $(DEPS)
|
||||
testtreecolumnsizing_DEPENDENCIES = $(DEPS)
|
||||
testtreesort_DEPENDENCIES = $(DEPS)
|
||||
testverticalcells_DEPENDENCIES = $(DEPS)
|
||||
treestoretest_DEPENDENCIES = $(TEST_DEPS)
|
||||
testxinerama_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgrouping_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtooltips_DEPENDENCIES = $(TEST_DEPS)
|
||||
testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
|
||||
testscrolledge_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcellarea_DEPENDENCIES = $(TEST_DEPS)
|
||||
testexpand_DEPENDENCIES = $(TEST_DEPS)
|
||||
testexpander_DEPENDENCIES = $(TEST_DEPS)
|
||||
testswitch_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnoscreen_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtreepos_DEPENDENCIES = $(TEST_DEPS)
|
||||
testsensitive_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtextview_DEPENDENCIES = $(TEST_DEPS)
|
||||
testanimation_DEPENDENCIES = $(TEST_DEPS)
|
||||
testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgmenu_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlogout_DEPENDENCIES = $(TEST_DEPS)
|
||||
teststack_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrevealer_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrevealer2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtitlebar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testwindowsize_DEPENDENCIES = $(TEST_DEPS)
|
||||
listmodel_DEPENDENCIES = $(TEST_DEPS)
|
||||
testwidgetfocus_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcenterbox_DEPENDENCIES = $(TEST_DEPS)
|
||||
|
||||
animated_resizing_SOURCES = \
|
||||
animated-resizing.c \
|
||||
frame-stats.c \
|
||||
frame-stats.h \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
animated_revealing_SOURCES = \
|
||||
animated-revealing.c \
|
||||
frame-stats.c \
|
||||
frame-stats.h \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
scrolling_performance_SOURCES = \
|
||||
scrolling-performance.c \
|
||||
frame-stats.c \
|
||||
frame-stats.h \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
blur_performance_SOURCES = \
|
||||
blur-performance.c \
|
||||
../gsk/gskcairoblur.c
|
||||
|
||||
video_timer_SOURCES = \
|
||||
video-timer.c \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
testboxcss_SOURCES = \
|
||||
testboxcss.c
|
||||
|
||||
testentrycompletion_SOURCES = \
|
||||
testentrycompletion.c
|
||||
|
||||
testentryicons_SOURCES = \
|
||||
testentryicons.c
|
||||
|
||||
testfilechooser_SOURCES = \
|
||||
testfilechooser.c
|
||||
|
||||
testfilechooserbutton_SOURCES = \
|
||||
testfilechooserbutton.c
|
||||
|
||||
testflowbox_SOURCES = \
|
||||
testflowbox.c
|
||||
|
||||
testfontchooser_SOURCES = \
|
||||
testfontchooser.c
|
||||
|
||||
testfontchooserdialog_SOURCES = \
|
||||
testfontchooserdialog.c
|
||||
|
||||
testfontoptions_SOURCES = \
|
||||
testfontoptions.c
|
||||
|
||||
testgrid_SOURCES = \
|
||||
testgrid.c
|
||||
|
||||
testgtk_SOURCES = \
|
||||
testgtk.c
|
||||
|
||||
testtreechanging_SOURCES = \
|
||||
testtreechanging.c
|
||||
|
||||
testtreednd_SOURCES = \
|
||||
testtreednd.c
|
||||
|
||||
testtreeedit_SOURCES = \
|
||||
testtreeedit.c
|
||||
|
||||
testtreemodel_SOURCES = \
|
||||
testtreemodel.c
|
||||
|
||||
testtreeview_SOURCES = \
|
||||
testtreeview.c
|
||||
|
||||
testtoolbar_SOURCES = \
|
||||
testtoolbar.c
|
||||
|
||||
testmenubutton_SOURCES = \
|
||||
testmenubutton.c
|
||||
|
||||
testprint_SOURCES = \
|
||||
testprint.c \
|
||||
testprintfileoperation.h \
|
||||
testprintfileoperation.c
|
||||
|
||||
testspinbutton_SOURCES = \
|
||||
testspinbutton.c
|
||||
|
||||
testbaseline_SOURCES = \
|
||||
testbaseline.c
|
||||
|
||||
testbbox_SOURCES = \
|
||||
testbbox.c
|
||||
|
||||
testbuttons_SOURCES = \
|
||||
testbuttons.c
|
||||
|
||||
testframe_SOURCES = \
|
||||
testframe.c
|
||||
|
||||
testgiconpixbuf_SOURCES = \
|
||||
testgiconpixbuf.c
|
||||
|
||||
testiconview_SOURCES = \
|
||||
testiconview.c
|
||||
|
||||
testiconview_keynav_SOURCES = \
|
||||
testiconview-keynav.c
|
||||
|
||||
testrecentchooser_SOURCES = \
|
||||
testrecentchooser.c
|
||||
|
||||
testgrouping_SOURCES = \
|
||||
testgrouping.c
|
||||
|
||||
testtooltips_SOURCES = \
|
||||
testtooltips.c
|
||||
|
||||
testrecentchoosermenu_SOURCES = \
|
||||
testrecentchoosermenu.c
|
||||
|
||||
testvolumebutton_SOURCES = \
|
||||
testvolumebutton.c
|
||||
|
||||
testscrolledwindow_SOURCES = \
|
||||
testscrolledwindow.c
|
||||
|
||||
testcellarea_SOURCES = \
|
||||
testcellarea.c
|
||||
|
||||
testoverlay_SOURCES = \
|
||||
testoverlay.c
|
||||
|
||||
testoverlaystyleclass_SOURCES = \
|
||||
testoverlaystyleclass.c
|
||||
|
||||
testappchooser_SOURCES = \
|
||||
testappchooser.c
|
||||
|
||||
testappchooserbutton_SOURCES = \
|
||||
testappchooserbutton.c
|
||||
|
||||
testexpand_SOURCES = testexpand.c
|
||||
|
||||
testexpander_SOURCES = testexpander.c
|
||||
|
||||
testswitch_SOURCES = testswitch.c
|
||||
|
||||
testtoplevelembed_SOURCES = testtoplevelembed.c
|
||||
|
||||
testtextview_SOURCES = testtextview.c
|
||||
|
||||
testanimation_SOURCES = testanimation.c
|
||||
|
||||
testpixbuf_scale_SOURCES = testpixbuf-scale.c
|
||||
|
||||
testcolorchooser_SOURCES = testcolorchooser.c
|
||||
|
||||
testcolorchooser2_SOURCES = testcolorchooser2.c
|
||||
|
||||
testkineticscrolling_SOURCES = testkineticscrolling.c
|
||||
|
||||
teststack_SOURCES = teststack.c
|
||||
|
||||
testrevealer_SOURCES = testrevealer.c
|
||||
|
||||
testrevealer2_SOURCES = testrevealer2.c
|
||||
|
||||
testtitlebar_SOURCES = testtitlebar.c
|
||||
|
||||
testwindowsize_SOURCES = testwindowsize.c
|
||||
|
||||
gdkgears_SOURCES = \
|
||||
gdkgears.c \
|
||||
gtkgears.c \
|
||||
gtkgears.h
|
||||
|
||||
testglblending_SOURCES = \
|
||||
testglblending.c \
|
||||
gtkgears.c \
|
||||
gtkgears.h
|
||||
|
||||
listmodel_SOURCES = listmodel.c
|
||||
|
||||
testwidgetfocus_SOURCES = testwidgetfocus.c
|
||||
|
||||
testcenterbox_SOURCES = testcenterbox.c
|
||||
|
||||
EXTRA_DIST += \
|
||||
gradient1.png \
|
||||
testgtk.1 \
|
||||
testgtk.css \
|
||||
testgtk2.css \
|
||||
3DRings.xpm \
|
||||
FilesQueue.xpm \
|
||||
Modeller.xpm \
|
||||
check-y.xpm \
|
||||
check-n.xpm \
|
||||
marble.xpm \
|
||||
test.xpm \
|
||||
check-y.xpm \
|
||||
check-n.xpm \
|
||||
test.xpm \
|
||||
gnome-textfile.png \
|
||||
testsplitheaders.ui \
|
||||
teststackedheaders.ui \
|
||||
makefile.msc \
|
||||
mydialog.ui \
|
||||
mydialog2.ui \
|
||||
popover.ui \
|
||||
selectionmode.ui
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,110 +0,0 @@
|
||||
## Makefile for building the gtk test apps with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
## There is no install target, you have to decide where and
|
||||
## how to install for yourself.
|
||||
|
||||
TOP = ..\..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
################################################################
|
||||
|
||||
# Possibly override versions from build/win32/module.defs
|
||||
GTK_VER = 3.0
|
||||
|
||||
GDK_LIBS = ../gdk/gdk-win32-$(GTK_VER).lib
|
||||
GTK_LIBS = ../gtk/gtk-win32-$(GTK_VER).lib
|
||||
|
||||
INCLUDES = -I . -I .. -I ../gdk -I ../gtk $(GDK_PIXBUF_CFLAGS)
|
||||
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) $(INTL_CFLAGS) $(ATK_CFLAGS) $(CAIRO_CFLAGS)
|
||||
LDFLAGS = /link /machine:ix86 $(LINKDEBUG)
|
||||
DEFINES = -DG_LOG_DOMAIN=\"GtkTest\" -DGTK_VERSION=\"$(GTK_VER)\"
|
||||
|
||||
TOUCH = copy makefile.msc+nul
|
||||
|
||||
!IFNDEF TESTAPP
|
||||
|
||||
all : \
|
||||
..\config.h \
|
||||
prop-editor.obj \
|
||||
all-test-apps
|
||||
|
||||
..\config.h : ..\config.h.win32
|
||||
copy ..\config.h.win32 ..\config.h
|
||||
|
||||
|
||||
#
|
||||
# Test programs:
|
||||
#
|
||||
TESTAPPS = \
|
||||
# buildertest floatingtest \
|
||||
flicker \
|
||||
# objecttests \
|
||||
testaccel testactions testassistant \
|
||||
testbbox testbuttons \
|
||||
testcairo testcalendar testcellrenderertext testclientmessage testcombo testcombochange \
|
||||
testdnd \
|
||||
testellipsise testentrycompletion testentryicons \
|
||||
testfilechooser testfilechooserbutton testframe \
|
||||
testgrouping testgtk \
|
||||
testicontheme testiconview testimage testinput \
|
||||
testmountoperation testmenubars testmerge testmultidisplay testmultiscreen \
|
||||
testnouiprint testnotebookdnd \
|
||||
testorientable \
|
||||
testprint \
|
||||
testrecentchooser testrecentchoosermenu testrichtext \
|
||||
testscale testselection testspinbutton \
|
||||
testtoolbar testtooltips \
|
||||
testtreecolumns testtreecolumnsizing testtreeedit testtreeflow testtreefocus \
|
||||
testtreemodel testtreesort testtreeview treestoretest \
|
||||
teststatusicon \
|
||||
testthreads testvolumebutton testwindows testxinerama \
|
||||
simple
|
||||
|
||||
# syntax error : illegal character '-' in macro
|
||||
#stresstest-toolbar
|
||||
|
||||
|
||||
all-test-apps:
|
||||
@for %d in ($(TESTAPPS)) do @nmake -nologo -f makefile.msc one-test-app THIS=%d
|
||||
|
||||
one-test-app:
|
||||
@nmake -nologo -f makefile.msc $(THIS).exe TESTAPP=$(THIS) EXTRA_$(THIS)=1
|
||||
|
||||
!ELSE
|
||||
|
||||
EXTRA_OBJETCS = prop-editor.obj
|
||||
|
||||
!IFDEF EXTRA_buildertest
|
||||
EXTRA_LIBS = $(ATK_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testprint
|
||||
EXTRA_OBJETCS = testprintfileoperation.obj
|
||||
EXTRA_LIBS = $(PANGOCAIRO_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testnouiprint
|
||||
EXTRA_LIBS = $(PANGOCAIRO_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testfilechooser
|
||||
EXTRA_LIBS = gdi32.lib user32.lib shell32.lib
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testsocket
|
||||
EXTRA_OBJETCS = testsocket_common.obj
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testsocket_child
|
||||
EXTRA_OBJETCS = testsocket_common.obj
|
||||
!ENDIF
|
||||
|
||||
$(TESTAPP).exe : ../gtk/gtk-win32-$(GTK_VER).lib $(TESTAPP).obj $(EXTRA_OBJETCS)
|
||||
$(CC) $(CFLAGS) $(TESTAPP).obj $(EXTRA_OBJETCS) $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) \
|
||||
$(PANGO_LIBS) $(PANGOCAIRO_LIBS) $(GLIB_LIBS) $(CAIRO_LIBS) $(EXTRA_LIBS) $(LDFLAGS)
|
||||
|
||||
$(TESTAPP).obj : $(TESTAPP).c
|
||||
$(CC) $(CFLAGS) -c -DG_LOG_DOMAIN=\"$(TESTAPP)\" $(TESTAPP).c
|
||||
|
||||
!ENDIF
|
@@ -1,35 +0,0 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
noinst_PROGRAMS = visuals
|
||||
|
||||
visuals_DEPENDENCIES = $(TEST_DEPS)
|
||||
visuals_LDADD = $(LDADDS)
|
||||
visuals_SOURCES = visuals.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
inline-toolbar-horizontal.ui \
|
||||
inline-toolbar-vertical.ui \
|
||||
level-bar.ui \
|
||||
linked-buttons-horizontal.ui \
|
||||
linked-buttons-vertical.ui \
|
||||
osd-toolbars.ui \
|
||||
primary-toolbar.ui \
|
||||
suggested-action-buttons.ui
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,6 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = gdk gsk gtk a11y css reftests tools
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
@@ -1,125 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
NULL =
|
||||
|
||||
SUBDIRS = state
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
# work around random file systems showing up in the file chooser,
|
||||
# breaking the 'pickers' test
|
||||
TESTS_ENVIRONMENT = \
|
||||
GIO_USE_VOLUME_MONITOR=unix \
|
||||
GSETTINGS_BACKEND=memory \
|
||||
GTK_CSD=1 \
|
||||
G_ENABLE_DIAGNOSTIC=0
|
||||
|
||||
TEST_PROGS += accessibility-dump
|
||||
|
||||
TEST_PROGS += tree-performance
|
||||
|
||||
TEST_PROGS += text
|
||||
|
||||
TEST_PROGS += children
|
||||
|
||||
TEST_PROGS += derive
|
||||
|
||||
TEST_PROGS += value
|
||||
|
||||
TEST_PROGS += misc
|
||||
|
||||
TEST_PROGS += tree-relationships
|
||||
|
||||
TEST_PROGS += util
|
||||
|
||||
noinst_PROGS = testfocus
|
||||
|
||||
testdata = \
|
||||
hello-world.ui hello-world.txt \
|
||||
mnemonic.ui mnemonic.txt \
|
||||
accessible-name.ui accessible-name.txt \
|
||||
notebook.ui notebook.txt \
|
||||
range.ui range.txt \
|
||||
link.ui link.txt \
|
||||
text.ui text.txt \
|
||||
buttons.ui buttons.txt \
|
||||
colorchooser.ui colorchooser.txt \
|
||||
about.ui about.txt \
|
||||
messagedialog.ui messagedialog.txt \
|
||||
expander.ui expander.txt \
|
||||
assistant.ui assistant.txt \
|
||||
pickers.ui pickers.txt \
|
||||
label.ui label.txt \
|
||||
lockbutton.ui lockbutton.txt \
|
||||
spinner.ui spinner.txt \
|
||||
progress.ui progress.txt \
|
||||
infobar.ui infobar.txt \
|
||||
calendar.ui calendar.txt \
|
||||
statusbar.ui statusbar.txt \
|
||||
paned.ui paned.txt \
|
||||
iconview.ui iconview.txt \
|
||||
entries.ui entries.txt \
|
||||
scale-drawvalue.ui scale-drawvalue.txt \
|
||||
placeholder-text.ui placeholder-text.txt \
|
||||
menu.ui menu.txt \
|
||||
menubutton.ui menubutton.txt \
|
||||
menubutton2.ui menubutton2.txt \
|
||||
menubutton3.ui menubutton3.txt \
|
||||
combos.ui combos.txt \
|
||||
listbox.ui listbox.txt \
|
||||
stack.ui stack.txt \
|
||||
headerbar.ui headerbar.txt \
|
||||
tree.ui tree.txt \
|
||||
actionbar.ui actionbar.txt \
|
||||
tooltips.ui tooltips.txt \
|
||||
$(NULL)
|
||||
|
||||
test_in_files = \
|
||||
a11ytests.test.in \
|
||||
a11ychildren.test.in \
|
||||
a11ytree.test.in \
|
||||
a11yvalue.test.in \
|
||||
a11yderive.test.in \
|
||||
a11ytext.test.in \
|
||||
a11yutil.test.in \
|
||||
a11ymisc.test.in \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(testdata)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
a11ytestdir = $(insttestdir)/a11ytests
|
||||
a11ytest_DATA = $(testdata)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,55 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
GIO_USE_VOLUME_MONITOR=unix \
|
||||
GSETTINGS_BACKEND=memory \
|
||||
G_ENABLE_DIAGNOSTIC=0
|
||||
|
||||
test_programs = state-record
|
||||
|
||||
testdata = \
|
||||
focus1.ui focus1.in focus1.out \
|
||||
focus2.ui focus2.in focus2.out
|
||||
|
||||
EXTRA_DIST += $(testdata)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(test_programs)
|
||||
|
||||
statetestdir = $(insttestdir)/state
|
||||
statetest_DATA = $(testdata)
|
||||
|
||||
a11ystate.test: Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session-exclusive' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 $(insttestdir)/state-record --tap --directory $(statetestdir)' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
testfiles = a11ystate.test
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(testfiles)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(testfiles)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,48 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
SUBDIRS = parser nodes style
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
test_in_files =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
TEST_PROGS += api
|
||||
test_in_files += api.test.in
|
||||
|
||||
EXTRA_DIST += $(test_in_files)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,84 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
TEST_PROGS += test-css-nodes
|
||||
test_in_files = test-css-nodes.test.in
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
test_css_nodes_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_nodes_LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_nodes_SOURCES = \
|
||||
test-css-nodes.c \
|
||||
$(NULL)
|
||||
|
||||
test_data = \
|
||||
box.ltr.ui box.ltr.nodes \
|
||||
box.rtl.ui box.rtl.nodes \
|
||||
box-packing.ltr.ui box-packing.ltr.nodes \
|
||||
box-packing.rtl.ui box-packing.rtl.nodes \
|
||||
buttons.ui buttons.nodes \
|
||||
checkbutton.ltr.ui checkbutton.ltr.nodes \
|
||||
checkbutton.rtl.ui checkbutton.rtl.nodes \
|
||||
combobox.ui combobox.nodes \
|
||||
entries.ui entries.nodes \
|
||||
expander.ltr.ui expander.ltr.nodes \
|
||||
expander.rtl.ui expander.rtl.nodes \
|
||||
levelbar.ltr.ui levelbar.ltr.nodes \
|
||||
levelbar.rtl.ui levelbar.rtl.nodes \
|
||||
notebook-arrows.ui notebook-arrows.nodes \
|
||||
notebook-arrows2.ui notebook-arrows2.nodes \
|
||||
notebook.top.ltr.ui notebook.top.ltr.nodes \
|
||||
notebook.top.rtl.ui notebook.top.rtl.nodes \
|
||||
notebook.left.ltr.ui notebook.left.ltr.nodes \
|
||||
notebook.left.rtl.ui notebook.left.rtl.nodes \
|
||||
notebook.right.ltr.ui notebook.right.ltr.nodes \
|
||||
notebook.right.rtl.ui notebook.right.rtl.nodes \
|
||||
notebook.bottom.ltr.ui notebook.bottom.ltr.nodes \
|
||||
notebook.bottom.rtl.ui notebook.bottom.rtl.nodes \
|
||||
paned.ltr.ui paned.ltr.nodes \
|
||||
paned.rtl.ui paned.rtl.nodes \
|
||||
progressbar.ui progressbar.nodes \
|
||||
scale.ui scale.nodes \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(test_data)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/nodes
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += $(test_files)
|
||||
|
||||
CLEANFILES += $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/nodes
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,491 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
TEST_PROGS += test-css-parser
|
||||
test_in_files = test-css-parser.test.in
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
test_css_parser_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
test_css_parser_LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
test_css_parser_SOURCES = \
|
||||
test-css-parser.c
|
||||
|
||||
clean-local:
|
||||
rm $(builddir)/*.out.css || true
|
||||
|
||||
test_data = \
|
||||
animation-crash-3.12.css \
|
||||
animation-crash-3.12.errors \
|
||||
animation-crash-3.12.ref.css \
|
||||
animation-shorthand-crash.css \
|
||||
animation-shorthand-crash.ref.css \
|
||||
animation-delay.css \
|
||||
animation-delay.ref.css \
|
||||
animation-direction.css \
|
||||
animation-direction.ref.css \
|
||||
animation-duration.css \
|
||||
animation-duration.ref.css \
|
||||
animation-fill-mode.css \
|
||||
animation-fill-mode.ref.css \
|
||||
animation-iteration-count.css \
|
||||
animation-iteration-count.ref.css \
|
||||
animation-name.css \
|
||||
animation-name.ref.css \
|
||||
animation-play-state.css \
|
||||
animation-play-state.ref.css \
|
||||
animation-timing-function.css \
|
||||
animation-timing-function.ref.css \
|
||||
at-invalid-01.css \
|
||||
at-invalid-01.errors \
|
||||
at-invalid-01.ref.css \
|
||||
at-invalid-02.css \
|
||||
at-invalid-02.errors \
|
||||
at-invalid-02.ref.css \
|
||||
at-invalid-03.css \
|
||||
at-invalid-03.errors \
|
||||
at-invalid-03.ref.css \
|
||||
at-invalid-04.css \
|
||||
at-invalid-04.errors \
|
||||
at-invalid-04.ref.css \
|
||||
at-invalid-05.css \
|
||||
at-invalid-05.errors \
|
||||
at-invalid-05.ref.css \
|
||||
at-invalid-06.css \
|
||||
at-invalid-06.errors \
|
||||
at-invalid-06.ref.css \
|
||||
at-invalid-07.css \
|
||||
at-invalid-07.errors \
|
||||
at-invalid-07.ref.css \
|
||||
at-invalid-08.css \
|
||||
at-invalid-08.errors \
|
||||
at-invalid-08.ref.css \
|
||||
at-invalid-09.css \
|
||||
at-invalid-09.errors \
|
||||
at-invalid-09.ref.css \
|
||||
at-invalid-10.css \
|
||||
at-invalid-10.errors \
|
||||
at-invalid-10.ref.css \
|
||||
at-invalid-11.css \
|
||||
at-invalid-11.errors \
|
||||
at-invalid-11.ref.css \
|
||||
at-invalid-12.css \
|
||||
at-invalid-12.errors \
|
||||
at-invalid-12.ref.css \
|
||||
at-invalid-13.css \
|
||||
at-invalid-13.errors \
|
||||
at-invalid-13.ref.css \
|
||||
at-invalid-14.css \
|
||||
at-invalid-14.errors \
|
||||
at-invalid-14.ref.css \
|
||||
at-invalid-15.css \
|
||||
at-invalid-15.errors \
|
||||
at-invalid-15.ref.css \
|
||||
at-invalid-16.css \
|
||||
at-invalid-16.errors \
|
||||
at-invalid-16.ref.css \
|
||||
at-invalid-17.css \
|
||||
at-invalid-17.errors \
|
||||
at-invalid-17.ref.css \
|
||||
at-invalid-18.css \
|
||||
at-invalid-18.errors \
|
||||
at-invalid-18.ref.css \
|
||||
at-invalid-19.css \
|
||||
at-invalid-19.errors \
|
||||
at-invalid-19.ref.css \
|
||||
at-invalid-20.css \
|
||||
at-invalid-20.errors \
|
||||
at-invalid-20.ref.css \
|
||||
at-invalid-21.css \
|
||||
at-invalid-21.errors \
|
||||
at-invalid-21.ref.css \
|
||||
at-invalid-22.css \
|
||||
at-invalid-22.errors \
|
||||
at-invalid-22.ref.css \
|
||||
at-invalid-23.css \
|
||||
at-invalid-23.errors \
|
||||
at-invalid-23.ref.css \
|
||||
at-invalid-24.css \
|
||||
at-invalid-24.errors \
|
||||
at-invalid-24.ref.css \
|
||||
at-invalid-25.css \
|
||||
at-invalid-25.errors \
|
||||
at-invalid-25.ref.css \
|
||||
at-invalid-26.css \
|
||||
at-invalid-26.errors \
|
||||
at-invalid-26.ref.css \
|
||||
at-invalid-27.css \
|
||||
at-invalid-27.errors \
|
||||
at-invalid-27.ref.css \
|
||||
at-valid-01.css \
|
||||
at-valid-01.ref.css \
|
||||
at-valid-02.css \
|
||||
at-valid-02.ref.css \
|
||||
at-valid-03.css \
|
||||
at-valid-03.ref.css \
|
||||
at-valid-04.css \
|
||||
at-valid-04.ref.css \
|
||||
at-valid-05.css \
|
||||
at-valid-05.ref.css \
|
||||
at-valid-06.css \
|
||||
at-valid-06.ref.css \
|
||||
at-valid-07.css \
|
||||
at-valid-08.css \
|
||||
at-valid-08.ref.css \
|
||||
at-valid-09.css \
|
||||
at-valid-09.ref.css \
|
||||
at-valid-10.css \
|
||||
at-valid-10.ref.css \
|
||||
at-valid-11.css \
|
||||
at-valid-11.ref.css \
|
||||
at-valid-12.css \
|
||||
at-valid-12.ref.css \
|
||||
at-valid-13.css \
|
||||
at-valid-13.ref.css \
|
||||
at-valid-14.css \
|
||||
at-valid-14.ref.css \
|
||||
at-valid-15.css \
|
||||
at-valid-15.ref.css \
|
||||
at-valid-16.css \
|
||||
at-valid-16.ref.css \
|
||||
at-valid-17.css \
|
||||
at-valid-18.css \
|
||||
at-valid-18.ref.css \
|
||||
at-valid-19.css \
|
||||
at-valid-19.errors \
|
||||
at-valid-19.ref.css \
|
||||
at-valid-20.css \
|
||||
at-valid-20.errors \
|
||||
at-valid-20.ref.css \
|
||||
at-valid-21.css \
|
||||
at-valid-21.errors \
|
||||
at-valid-21.ref.css \
|
||||
background-blend-mode.css \
|
||||
background-blend-mode.ref.css \
|
||||
background-clip.css \
|
||||
background-clip.ref.css \
|
||||
background-image.css \
|
||||
background-image.ref.css \
|
||||
background-origin.css \
|
||||
background-origin.ref.css \
|
||||
background-position.css \
|
||||
background-position.errors \
|
||||
background-position.ref.css \
|
||||
background-position-errors.css \
|
||||
background-position-errors.errors \
|
||||
background-position-errors.ref.css \
|
||||
background-repeat.css \
|
||||
background-repeat.ref.css \
|
||||
background-shorthand.css \
|
||||
background-shorthand.ref.css \
|
||||
background-shorthand-single.css \
|
||||
background-shorthand-single.ref.css \
|
||||
background-size.css \
|
||||
background-size.ref.css \
|
||||
background-win32-color-is-no-error.css \
|
||||
background-win32-color-is-no-error.ref.css \
|
||||
border.css \
|
||||
border.errors \
|
||||
border.ref.css \
|
||||
border-color.css \
|
||||
border-color.ref.css \
|
||||
border-color-currentcolor.css \
|
||||
border-color-currentcolor.ref.css \
|
||||
border-image-source.css \
|
||||
border-image-source.ref.css \
|
||||
border-image-repeat.css \
|
||||
border-image-repeat.ref.css \
|
||||
border-image-slice.css \
|
||||
border-image-slice.ref.css \
|
||||
border-image-width.css \
|
||||
border-image-width.ref.css \
|
||||
border-infloop-3.12.css \
|
||||
border-infloop-3.12.errors \
|
||||
border-infloop-3.12.ref.css \
|
||||
border-radius.css \
|
||||
border-radius.ref.css \
|
||||
border-radius-shorthand.css \
|
||||
border-radius-shorthand.errors \
|
||||
border-radius-shorthand.ref.css \
|
||||
border-shorthand.css \
|
||||
border-shorthand.ref.css \
|
||||
border-style.css \
|
||||
border-style.ref.css \
|
||||
border-width.css \
|
||||
border-width.ref.css \
|
||||
box-shadow.css \
|
||||
box-shadow.ref.css \
|
||||
calc.css \
|
||||
calc.ref.css \
|
||||
calc-errors.css \
|
||||
calc-errors.ref.css \
|
||||
calc-errors.errors \
|
||||
calc-simple.css \
|
||||
calc-simple.ref.css \
|
||||
close-at-end-of-file.css \
|
||||
close-at-end-of-file.errors \
|
||||
close-at-end-of-file.ref.css \
|
||||
color.css \
|
||||
color.ref.css \
|
||||
colors-errors.css \
|
||||
colors-errors.errors \
|
||||
colors-errors.ref.css \
|
||||
colors-red.css \
|
||||
colors-red.ref.css \
|
||||
comment-detection.css \
|
||||
comment-detection.ref.css \
|
||||
cross-fade-basic.css \
|
||||
css-21-malformed-declarations.css \
|
||||
css-21-malformed-declarations.errors \
|
||||
css-21-malformed-declarations.ref.css \
|
||||
css-21-malformed-statements.css \
|
||||
css-21-malformed-statements.errors \
|
||||
css-21-malformed-statements.ref.css \
|
||||
currentcolor-everywhere.css \
|
||||
declarations.css \
|
||||
declarations.errors \
|
||||
declarations.ref.css \
|
||||
declarations-invalid-01.css \
|
||||
declarations-invalid-01.errors \
|
||||
declarations-invalid-01.ref.css \
|
||||
declarations-invalid-02.css \
|
||||
declarations-invalid-02.errors \
|
||||
declarations-invalid-02.ref.css \
|
||||
declarations-invalid-03.css \
|
||||
declarations-invalid-03.errors \
|
||||
declarations-invalid-03.ref.css \
|
||||
declarations-invalid-04.css \
|
||||
declarations-invalid-04.errors \
|
||||
declarations-invalid-04.ref.css \
|
||||
declarations-invalid-05.css \
|
||||
declarations-invalid-05.errors \
|
||||
declarations-invalid-05.ref.css \
|
||||
declarations-invalid-06.css \
|
||||
declarations-invalid-06.errors \
|
||||
declarations-invalid-06.ref.css \
|
||||
declarations-invalid-07.css \
|
||||
declarations-invalid-07.errors \
|
||||
declarations-invalid-07.ref.css \
|
||||
declarations-invalid-08.css \
|
||||
declarations-invalid-08.errors \
|
||||
declarations-invalid-08.ref.css \
|
||||
declarations-valid-01.css \
|
||||
declarations-valid-01.ref.css \
|
||||
declarations-valid-02.css \
|
||||
declarations-valid-02.ref.css \
|
||||
declarations-valid-03.css \
|
||||
declarations-valid-03.ref.css \
|
||||
declarations-valid-04.css \
|
||||
declarations-valid-04.ref.css \
|
||||
declarations-valid-05.css \
|
||||
declarations-valid-05.ref.css \
|
||||
declarations-valid-06.css \
|
||||
declarations-valid-06.ref.css \
|
||||
declarations-valid-07.css \
|
||||
declarations-valid-07.ref.css \
|
||||
declarations-valid-08.css \
|
||||
declarations-valid-08.ref.css \
|
||||
declarations-valid-09.css \
|
||||
declarations-valid-09.ref.css \
|
||||
declarations-valid-10.css \
|
||||
declarations-valid-10.ref.css \
|
||||
declarations-valid-11.css \
|
||||
declarations-valid-11.ref.css \
|
||||
declarations-valid-12.css \
|
||||
declarations-valid-12.ref.css \
|
||||
declarations-valid-13.css \
|
||||
declarations-valid-13.ref.css \
|
||||
declarations-valid-14.css \
|
||||
declarations-valid-14.ref.css \
|
||||
declarations-valid-15.css \
|
||||
declarations-valid-15.ref.css \
|
||||
declarations-valid-16.css \
|
||||
declarations-valid-16.ref.css \
|
||||
declarations-valid-17.css \
|
||||
declarations-valid-17.ref.css \
|
||||
declarations-valid-18.css \
|
||||
declarations-valid-18.ref.css \
|
||||
declarations-valid-22.css \
|
||||
declarations-valid-22.ref.css \
|
||||
declarations-valid-23.css \
|
||||
declarations-valid-23.ref.css \
|
||||
declarations-valid-24.css \
|
||||
declarations-valid-24.ref.css \
|
||||
declarations-valid-25.css \
|
||||
declarations-valid-25.ref.css \
|
||||
does-not-exist.css \
|
||||
does-not-exist.errors \
|
||||
does-not-exist.ref.css \
|
||||
doubled.css \
|
||||
doubled.ref.css \
|
||||
empty.css \
|
||||
font-family.css \
|
||||
font-family.ref.css \
|
||||
font-size.css \
|
||||
font-size.ref.css \
|
||||
font-stretch.css \
|
||||
font-stretch.ref.css \
|
||||
font-style.css \
|
||||
font-style.ref.css \
|
||||
font-variant.css \
|
||||
font-variant.ref.css \
|
||||
font-weight.css \
|
||||
font-weight.ref.css \
|
||||
freed-string-in-error-messages.css \
|
||||
freed-string-in-error-messages.errors \
|
||||
freed-string-in-error-messages.ref.css \
|
||||
import-cyclic-1.css \
|
||||
import-cyclic-1.errors \
|
||||
import-cyclic-1.ref.css \
|
||||
import-cyclic-2.css \
|
||||
import-cyclic-2.errors \
|
||||
import-cyclic-2.ref.css \
|
||||
import-cyclic-3.css \
|
||||
import-cyclic-3.errors \
|
||||
import-cyclic-3.ref.css \
|
||||
import-nonexistant.css \
|
||||
import-nonexistant.errors \
|
||||
import-nonexistant.ref.css \
|
||||
import-recursive.css \
|
||||
import-recursive.errors \
|
||||
import-recursive.ref.css \
|
||||
integer.css \
|
||||
integer.errors \
|
||||
integer.ref.css \
|
||||
keyframes-empty.css \
|
||||
keyframes-empty.ref.css \
|
||||
keyframes-ordering.css \
|
||||
keyframes-ordering.ref.css \
|
||||
letter-spacing.css \
|
||||
letter-spacing.ref.css \
|
||||
linear-gradient.css \
|
||||
linear-gradient.ref.css \
|
||||
margin.css \
|
||||
margin.ref.css \
|
||||
min-height.css \
|
||||
min-height.ref.css \
|
||||
min-width.css \
|
||||
min-width.ref.css \
|
||||
no-semicolon.css \
|
||||
no-semicolon.ref.css \
|
||||
not.css \
|
||||
not.ref.css \
|
||||
nth-child.css \
|
||||
nth-child.ref.css \
|
||||
opacity.css \
|
||||
opacity.ref.css \
|
||||
outline-color.css \
|
||||
outline-color.ref.css \
|
||||
outline-offset.css \
|
||||
outline-offset.ref.css \
|
||||
outline-radius.css \
|
||||
outline-radius.ref.css \
|
||||
outline-style.css \
|
||||
outline-style.ref.css \
|
||||
outline-width.css \
|
||||
outline-width.ref.css \
|
||||
padding.css \
|
||||
padding.ref.css \
|
||||
property-name-errors.css \
|
||||
property-name-errors.errors \
|
||||
property-name-errors.ref.css \
|
||||
pseudo-classes-known.css \
|
||||
pseudo-classes-known.ref.css \
|
||||
pseudo-classes-unknown.css \
|
||||
pseudo-classes-unknown.errors \
|
||||
pseudo-classes-unknown.ref.css \
|
||||
radial.css \
|
||||
radial.ref.css \
|
||||
radial-background-position-error.css \
|
||||
radial-background-position-error.errors \
|
||||
radial-background-position-error.ref.css \
|
||||
radial-positions.css \
|
||||
radial-positions.errors \
|
||||
radial-positions.ref.css \
|
||||
selector.css \
|
||||
selector.ref.css \
|
||||
shadow.css \
|
||||
shadow.ref.css \
|
||||
shorthand.css \
|
||||
shorthand.ref.css \
|
||||
simple.css \
|
||||
single-slash.css \
|
||||
single-slash.errors\
|
||||
single-slash.ref.css \
|
||||
string-values.css \
|
||||
string-values.ref.css \
|
||||
text-decoration-color.css \
|
||||
text-decoration-color.ref.css \
|
||||
text-decoration-line.css \
|
||||
text-decoration-line.ref.css \
|
||||
text-decoration-style.css \
|
||||
text-decoration-style.ref.css \
|
||||
test.png \
|
||||
text-shadow.css \
|
||||
text-shadow.ref.css \
|
||||
text-shadow-invalid-but-worked-in-3.12.css \
|
||||
text-shadow-invalid-but-worked-in-3.12.errors \
|
||||
text-shadow-invalid-but-worked-in-3.12.ref.css \
|
||||
transition.css \
|
||||
transition.ref.css \
|
||||
transition-delay.css \
|
||||
transition-delay.ref.css \
|
||||
transition-duration.css \
|
||||
transition-duration.ref.css \
|
||||
transition-property.css \
|
||||
transition-property.ref.css \
|
||||
transition-timing-function.css \
|
||||
transition-timing-function.ref.css \
|
||||
value-inherit.css \
|
||||
value-inherit.errors \
|
||||
value-inherit-shorthand.css \
|
||||
value-inherit-shorthand.ref.css \
|
||||
value-initial.css \
|
||||
value-initial.errors \
|
||||
value-initial-shorthand.css \
|
||||
value-initial-shorthand.ref.css \
|
||||
value-none.css \
|
||||
value-none.errors \
|
||||
value-none.ref.css \
|
||||
widget-style-property.css \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(test_data)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/parser
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += $(test_in_files)
|
||||
|
||||
CLEANFILES += $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/parser
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,80 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
TEST_PROGS += test-css-style
|
||||
test_in_files = test-css-style.test.in
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
test_css_style_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_style_LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_style_SOURCES = \
|
||||
test-css-style.c \
|
||||
resources.c \
|
||||
$(NULL)
|
||||
|
||||
test_data = \
|
||||
adjacent-states.ui adjacent-states.css adjacent-states.nodes \
|
||||
colornames.ui colornames.css colornames.nodes \
|
||||
currentcolor.ui currentcolor.css currentcolor.nodes \
|
||||
font.ui font.css font.nodes \
|
||||
gradient.ui gradient.css gradient.nodes \
|
||||
inherit.ui inherit.css inherit.nodes \
|
||||
label.ui label.css label.nodes \
|
||||
nth-child.ui nth-child.css nth-child.nodes \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/test-css-style.gresource.xml)
|
||||
|
||||
resources.c: test-css-style.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/test-css-style.gresource.xml
|
||||
|
||||
EXTRA_DIST += \
|
||||
test-css-style.gresource.xml \
|
||||
$(resource_files) \
|
||||
$(test_in_files) \
|
||||
$(test_data) \
|
||||
$(NULL)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/style
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_files) \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES += $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/style
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,55 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL=
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(NULL)
|
||||
|
||||
LDADD = \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(NULL)
|
||||
|
||||
#TEST_PROGS += check-gdk-cairo
|
||||
|
||||
TEST_PROGS += \
|
||||
cairo \
|
||||
cursor \
|
||||
display \
|
||||
encoding \
|
||||
keysyms \
|
||||
rectangle \
|
||||
rgba \
|
||||
seat \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES = \
|
||||
cairosurface.png \
|
||||
gdksurface.png \
|
||||
$(NULL)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=$(insttestdir)/$< --tap' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGRS:=.test)
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,39 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL=
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gsk \
|
||||
-I$(top_srcdir)/gsk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = $(GTK_DEP_LIBS)
|
||||
|
||||
TEST_PROGS += \
|
||||
$(NULL)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGRS:=.test)
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,303 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DGTK_LOCALEDIR=\"$(localedir)\"\
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gtk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
if OS_UNIX
|
||||
AM_CPPFLAGS += -DHAVE_UNIX_PRINT_WIDGETS
|
||||
endif
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-4.la
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
CLEANFILES =
|
||||
BUILT_SOURCES =
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
G_ENABLE_DIAGNOSTIC=0 \
|
||||
GIO_USE_VFS=local \
|
||||
GSETTINGS_BACKEND=memory
|
||||
|
||||
TEST_PROGS += \
|
||||
accel \
|
||||
accessible \
|
||||
adjustment \
|
||||
bitmask \
|
||||
builder \
|
||||
builderparser \
|
||||
cellarea \
|
||||
check-icon-names \
|
||||
check-cursor-names \
|
||||
clipboard \
|
||||
cssprovider \
|
||||
defaultvalue \
|
||||
entry \
|
||||
firefox-stylecontext \
|
||||
floating \
|
||||
focus \
|
||||
gestures \
|
||||
grid \
|
||||
gtkmenu \
|
||||
icontheme \
|
||||
keyhash \
|
||||
listbox \
|
||||
notify \
|
||||
no-gtk-init \
|
||||
object \
|
||||
objects-finalize \
|
||||
papersize \
|
||||
rbtree \
|
||||
recentmanager \
|
||||
regression-tests \
|
||||
scrolledwindow \
|
||||
spinbutton \
|
||||
stylecontext \
|
||||
templates \
|
||||
textbuffer \
|
||||
textiter \
|
||||
treemodel \
|
||||
treepath \
|
||||
treeview \
|
||||
typename \
|
||||
window \
|
||||
displayclose \
|
||||
revealer-size \
|
||||
widgetorder \
|
||||
$(NULL)
|
||||
|
||||
if OS_UNIX
|
||||
#TEST_PROGS += defaultvalue
|
||||
endif
|
||||
|
||||
if HAVE_CXX
|
||||
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
TEST_PROGS += autotestkeywords
|
||||
|
||||
autotestkeywords_SOURCES = autotestkeywords.cc
|
||||
autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
|
||||
|
||||
if HAVE_OBJC
|
||||
autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
treemodel_SOURCES = \
|
||||
treemodel.h \
|
||||
treemodel.c \
|
||||
liststore.c \
|
||||
treestore.c \
|
||||
filtermodel.c \
|
||||
sortmodel.c \
|
||||
modelrefcount.c \
|
||||
gtktreemodelrefcount.h \
|
||||
gtktreemodelrefcount.c \
|
||||
$(NULL)
|
||||
|
||||
builder_LDFLAGS = -export-dynamic
|
||||
|
||||
rbtree_CFLAGS = -DGTK_COMPILATION -UG_ENABLE_DEBUG
|
||||
rbtree_LDADD = $(GTK_DEP_LIBS)
|
||||
rbtree_SOURCES = \
|
||||
rbtree.c \
|
||||
gtkrbtree.c \
|
||||
$(NULL)
|
||||
|
||||
gtkrbtree.c: $(top_srcdir)/gtk/gtkrbtree.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
CLEANFILES += gtkrbtree.c
|
||||
|
||||
bitmask_CFLAGS = -DGTK_COMPILATION -UG_ENABLE_DEBUG
|
||||
bitmask_LDADD = $(GTK_DEP_LIBS)
|
||||
bitmask_SOURCES = \
|
||||
bitmask.c \
|
||||
gtkallocatedbitmask.c \
|
||||
$(NULL)
|
||||
|
||||
gtkallocatedbitmask.c: $(top_srcdir)/gtk/gtkallocatedbitmask.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
CLEANFILES += gtkallocatedbitmask.c
|
||||
|
||||
keyhash_CFLAGS = \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_LIBDIR=\"$(libdir)\" \
|
||||
-DGTK_DATADIR=\"$(datadir)\" \
|
||||
-DGTK_DATA_PREFIX=\"$(prefix)\" \
|
||||
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
|
||||
$(NULL)
|
||||
|
||||
keyhash_SOURCES = \
|
||||
keyhash.c \
|
||||
gtkkeyhash.c \
|
||||
gtkresources.c \
|
||||
gtkprivate.c \
|
||||
$(NULL)
|
||||
|
||||
gtkkeyhash.c: $(top_srcdir)/gtk/gtkkeyhash.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
gtkresources.c: $(top_builddir)/gtk/gtkresources.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
gtkprivate.c: $(top_srcdir)/gtk/gtkprivate.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
CLEANFILES += gtkkeyhash.c gtkresources.c gtkprivate.c
|
||||
|
||||
test_icontheme = \
|
||||
icons/index.theme \
|
||||
icons/16x16/simple.png \
|
||||
icons/16x16/twosize-fixed.svg \
|
||||
icons/16x16s/twosize.svg \
|
||||
icons/32x32/only32-symbolic.svg \
|
||||
icons/32x32/twosize-fixed.svg \
|
||||
icons/32x32s/twosize.svg \
|
||||
icons/scalable/everything-justregular.svg \
|
||||
icons/scalable/everything-justrtl-rtl.svg \
|
||||
icons/scalable/everything-rtl.svg \
|
||||
icons/scalable/everything-symbolic-rtl.svg \
|
||||
icons/scalable/everything-justsymbolic-symbolic.svg \
|
||||
icons/scalable/everything.svg \
|
||||
icons/scalable/everything-symbolic.svg \
|
||||
icons/scalable/nonsquare-symbolic.svg \
|
||||
icons/15/size-test.png \
|
||||
icons/16-22/size-test.png \
|
||||
icons/25+/size-test.svg \
|
||||
icons/35+/size-test.svg \
|
||||
icons/scalable/one-two.svg \
|
||||
icons/scalable/one-two-rtl.svg \
|
||||
icons2/scalable/one-two-three-symbolic.svg \
|
||||
icons2/scalable/one-two-symbolic.svg \
|
||||
icons2/scalable/one-two-symbolic-rtl.svg \
|
||||
icons2/index.theme \
|
||||
$(NULL)
|
||||
|
||||
test_ui = \
|
||||
ui/test1.ui ui/test1.expected \
|
||||
ui/test2.ui ui/test2.expected \
|
||||
ui/test3.ui ui/test3.expected \
|
||||
ui/test4.ui ui/test4.expected \
|
||||
ui/test5.ui ui/test5.expected \
|
||||
ui/test6.ui ui/test6.expected \
|
||||
ui/test7.ui ui/test7.expected \
|
||||
ui/label1.ui ui/label1.expected \
|
||||
ui/label2.ui ui/label2.expected \
|
||||
ui/label3.ui ui/label3.expected \
|
||||
ui/label4.ui ui/label4.expected \
|
||||
ui/label5.ui ui/label5.expected \
|
||||
ui/celllayout1.ui ui/celllayout1.expected \
|
||||
ui/celllayout2.ui ui/celllayout2.expected \
|
||||
ui/celllayout3.ui ui/celllayout3.expected \
|
||||
ui/celllayout4.ui ui/celllayout4.expected \
|
||||
ui/celllayout5.ui ui/celllayout5.expected \
|
||||
ui/celllayout6.ui ui/celllayout6.expected \
|
||||
ui/celllayout7.ui ui/celllayout7.expected \
|
||||
ui/container1.ui ui/container1.expected \
|
||||
ui/container2.ui ui/container2.expected \
|
||||
ui/container3.ui ui/container3.expected \
|
||||
ui/container4.ui ui/container4.expected \
|
||||
ui/container5.ui ui/container5.expected \
|
||||
ui/container6.ui ui/container6.expected \
|
||||
ui/container7.ui ui/container7.expected \
|
||||
ui/container8.ui ui/container8.expected \
|
||||
ui/scale1.ui ui/scale1.expected \
|
||||
ui/scale2.ui ui/scale2.expected \
|
||||
ui/scale3.ui ui/scale3.expected \
|
||||
ui/scale4.ui ui/scale4.expected \
|
||||
ui/scale5.ui ui/scale5.expected \
|
||||
ui/scale6.ui ui/scale6.expected \
|
||||
ui/scale7.ui ui/scale7.expected \
|
||||
ui/levelbar1.ui ui/levelbar1.expected \
|
||||
ui/levelbar2.ui ui/levelbar2.expected \
|
||||
ui/levelbar3.ui ui/levelbar3.expected \
|
||||
ui/levelbar4.ui ui/levelbar4.expected \
|
||||
ui/levelbar5.ui ui/levelbar5.expected \
|
||||
ui/levelbar6.ui ui/levelbar6.expected \
|
||||
ui/dialog1.ui ui/dialog1.expected \
|
||||
ui/dialog2.ui ui/dialog2.expected \
|
||||
ui/dialog3.ui ui/dialog3.expected \
|
||||
ui/dialog4.ui ui/dialog4.expected \
|
||||
ui/dialog5.ui ui/dialog5.expected \
|
||||
ui/dialog6.ui ui/dialog6.expected \
|
||||
ui/filefilter1.ui ui/filefilter1.expected \
|
||||
ui/filefilter2.ui ui/filefilter2.expected \
|
||||
ui/filefilter3.ui ui/filefilter3.expected \
|
||||
ui/filefilter4.ui ui/filefilter4.expected \
|
||||
ui/filefilter5.ui ui/filefilter5.expected \
|
||||
ui/filefilter6.ui ui/filefilter6.expected \
|
||||
ui/filefilter7.ui ui/filefilter7.expected \
|
||||
ui/filefilter8.ui ui/filefilter8.expected \
|
||||
ui/filefilter9.ui ui/filefilter9.expected \
|
||||
ui/filefilter10.ui ui/filefilter10.expected \
|
||||
ui/infobar1.ui ui/infobar1.expected \
|
||||
ui/infobar2.ui ui/infobar2.expected \
|
||||
ui/infobar3.ui ui/infobar3.expected \
|
||||
ui/infobar4.ui ui/infobar4.expected \
|
||||
ui/infobar5.ui ui/infobar5.expected \
|
||||
ui/infobar6.ui ui/infobar6.expected \
|
||||
ui/image1.ui ui/image1.expected \
|
||||
ui/image2.ui ui/image2.expected \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
file-chooser-test-dir/empty \
|
||||
file-chooser-test-dir/text.txt \
|
||||
$(test_icontheme) \
|
||||
$(test_ui) \
|
||||
$(NULL)
|
||||
|
||||
GTK_GSETTINGS_SCHEMAS = \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.ColorChooser.gschema.xml \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.FileChooser.gschema.xml \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES += gschemas.compiled
|
||||
CLEANFILES += gschemas.compiled
|
||||
|
||||
gschemas.compiled: $(GTK_GSETTINGS_SCHEMAS)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) \
|
||||
$(addprefix --schema-file=,$(GTK_GSETTINGS_SCHEMAS)) \
|
||||
--targetdir=$(builddir)
|
||||
|
||||
all-am: gschemas.compiled
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
nobase_insttest_DATA = $(test_icontheme) $(test_ui)
|
||||
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 $(insttestdir)/$< --tap' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGS:=.test)
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,536 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
NULL =
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
REFTEST_MODULE_DIR=$(abs_builddir) \
|
||||
GTK_IM_MODULE=gtk-im-context-simple \
|
||||
GSETTINGS_BACKEND=memory \
|
||||
G_ENABLE_DIAGNOSTIC=0
|
||||
|
||||
TEST_PROGS += gtk-reftest
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
gtk_reftest_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GMODULE_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
gtk_reftest_LDADD = \
|
||||
libgtkreftestprivate.la \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GMODULE_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
if PLATFORM_WIN32
|
||||
noinst_LTLIBRARIES =
|
||||
lib_LTLIBRARIES = \
|
||||
libgtkreftestprivate.la \
|
||||
$(NULL)
|
||||
else
|
||||
noinst_LTLIBRARIES = \
|
||||
libgtkreftestprivate.la \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
libgtkreftestprivate_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
||||
libgtkreftestprivate_la_LDFLAGS = $(no_undefined)
|
||||
libgtkreftestprivate_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-4.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GMODULE_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
libgtkreftestprivate_la_SOURCES = \
|
||||
reftest-compare.c \
|
||||
reftest-compare.h \
|
||||
reftest-module.c \
|
||||
reftest-module.h \
|
||||
reftest-snapshot.c \
|
||||
reftest-snapshot.h \
|
||||
$(NULL)
|
||||
|
||||
gtk_reftest_SOURCES = \
|
||||
gtk-reftest.c \
|
||||
gtk-reftest.h
|
||||
|
||||
clean-local:
|
||||
rm -rf output/ || true
|
||||
|
||||
EXTRA_DIST += \
|
||||
align-expand.sh \
|
||||
$(NULL)
|
||||
|
||||
testdata = \
|
||||
721800-0px-dotted-border.css \
|
||||
721800-0px-dotted-border.ref.ui \
|
||||
721800-0px-dotted-border.ui \
|
||||
actionbar.css \
|
||||
actionbar.ref.ui \
|
||||
actionbar.ui \
|
||||
animation-direction.css \
|
||||
animation-direction.ref.ui \
|
||||
animation-direction.ui \
|
||||
animation-fill-mode-iteration-count.css \
|
||||
animation-fill-mode-iteration-count.ref.ui \
|
||||
animation-fill-mode-iteration-count.ui \
|
||||
background-area.css \
|
||||
background-area.ref.ui \
|
||||
background-area.ui \
|
||||
background-blend-mode-clip-interaction.css \
|
||||
background-blend-mode-clip-interaction.ref.ui \
|
||||
background-blend-mode-clip-interaction.ui \
|
||||
background-color-transparent.css \
|
||||
background-color-transparent.ref.ui \
|
||||
background-color-transparent.ui \
|
||||
background-image-multiple.css \
|
||||
background-image-multiple.ref.ui \
|
||||
background-image-multiple.ui \
|
||||
background-origin.css \
|
||||
background-origin.ref.ui \
|
||||
background-origin.ui \
|
||||
background-positioning-area-empty.ref.ui \
|
||||
background-positioning-area-empty.ui \
|
||||
background-position.css \
|
||||
background-position.ref.ui \
|
||||
background-position.ui \
|
||||
background-position-repeat.css \
|
||||
background-position-repeat.ref.ui \
|
||||
background-position-repeat.ui \
|
||||
background-position-repeat-bg.png \
|
||||
background-position-simple.css \
|
||||
background-position-simple.ref.ui \
|
||||
background-position-simple.ui \
|
||||
background-size.css \
|
||||
background-size.ref.ui \
|
||||
background-size.ui \
|
||||
background-size-keywords.css \
|
||||
background-size-keywords.ref.ui \
|
||||
background-size-keywords.ui \
|
||||
background-size-zero.css \
|
||||
background-size-zero.ref.ui \
|
||||
background-size-zero.ui \
|
||||
background-window-transparent.css \
|
||||
background-window-transparent.ref.ui \
|
||||
background-window-transparent.ui \
|
||||
bad-color-names.css \
|
||||
bad-color-names.ref.ui \
|
||||
bad-color-names.ui \
|
||||
reference-background-origin.png \
|
||||
border-color-default.css \
|
||||
border-color-default.ref.ui \
|
||||
border-color-default.ui \
|
||||
border-corner-zero-width-rendering.css \
|
||||
border-corner-zero-width-rendering.ref.ui \
|
||||
border-corner-zero-width-rendering.ui \
|
||||
border-half-pixel.css \
|
||||
border-half-pixel.ref.ui \
|
||||
border-half-pixel.ui \
|
||||
border-image-ball-green.png \
|
||||
border-image-ball-red.png \
|
||||
border-image-ball-yellow.png \
|
||||
border-image-balls.png \
|
||||
border-image-3-balls-green.png \
|
||||
border-image-3-balls-green-squished.png \
|
||||
border-image-3-balls-yellow.png \
|
||||
border-image-3-balls-yellow-squished.png \
|
||||
border-image-excess-size.css \
|
||||
border-image-excess-size.ref.ui \
|
||||
border-image-excess-size.ui \
|
||||
border-image-url-scaled.css \
|
||||
border-image-url-scaled.ref.ui \
|
||||
border-image-url-scaled.ui \
|
||||
border-image-url.css \
|
||||
border-image-url.ref.ui \
|
||||
border-image-url.ui \
|
||||
border-radius-clamp.css \
|
||||
border-radius-clamp.ref.ui \
|
||||
border-radius-clamp.ui \
|
||||
border-rgb.png \
|
||||
border-rgb@2.png \
|
||||
border-style-none.css \
|
||||
border-style-none.ref.ui \
|
||||
border-style-none.ui \
|
||||
border-style.css \
|
||||
border-style.ref.ui \
|
||||
border-style.ui \
|
||||
box-order.css \
|
||||
box-order.ref.ui \
|
||||
box-order.ui \
|
||||
box-packing.css \
|
||||
box-packing.ref.ui \
|
||||
box-packing.ui \
|
||||
box-pseudo-classes.css \
|
||||
box-pseudo-classes.ref.ui \
|
||||
box-pseudo-classes.ui \
|
||||
box-shadow-changes-modify-clip.css \
|
||||
box-shadow-changes-modify-clip.ref.ui \
|
||||
box-shadow-changes-modify-clip.ui \
|
||||
box-shadow-spec-inset.css \
|
||||
box-shadow-spec-inset.ref.ui \
|
||||
box-shadow-spec-inset.ui \
|
||||
box-shadow-spread.css \
|
||||
box-shadow-spread.ref.ui \
|
||||
box-shadow-spread.ui \
|
||||
box-shadow-with-blend-mode.css \
|
||||
box-shadow-with-blend-mode.ref.ui \
|
||||
box-shadow-with-blend-mode.ui \
|
||||
button-wrapping.ui \
|
||||
button-wrapping.ref.ui \
|
||||
color-transition.css \
|
||||
color-transition.ref.ui \
|
||||
color-transition.ui \
|
||||
css-em-label-size.css \
|
||||
css-em-label-size.ui \
|
||||
css-em-label-size.ref.ui \
|
||||
css-currentcolor-alpha.css \
|
||||
css-currentcolor-alpha.ui \
|
||||
css-currentcolor-alpha.ref.ui \
|
||||
css-image-aspect-ratio.css \
|
||||
css-image-aspect-ratio.ui \
|
||||
css-image-aspect-ratio.ref.ui \
|
||||
css-image-color-aspect-ratio.css \
|
||||
css-image-color-aspect-ratio.ui \
|
||||
css-image-color-aspect-ratio.ref.ui \
|
||||
css-match-class.css \
|
||||
css-match-class.ref.ui \
|
||||
css-match-class.ui \
|
||||
css-match-descendant-later.css \
|
||||
css-match-descendant-later.ref.ui \
|
||||
css-match-descendant-later.ui \
|
||||
css-match-exact.css \
|
||||
css-match-exact.ref.ui \
|
||||
css-match-exact.ui \
|
||||
css-match-import.css \
|
||||
css-match-import-import.css \
|
||||
css-match-import.ui \
|
||||
css-match-import.ref.ui \
|
||||
css-match-inherit.css \
|
||||
css-match-inherit.ref.ui \
|
||||
css-match-inherit.ui \
|
||||
css-match-inherit-different-state.css \
|
||||
css-match-inherit-different-state.ref.ui \
|
||||
css-match-inherit-different-state.ui \
|
||||
css-match-name.css \
|
||||
css-match-name.ref.ui \
|
||||
css-match-name.ui \
|
||||
css-match-siblings.css \
|
||||
css-match-siblings.ref.ui \
|
||||
css-match-siblings.ui \
|
||||
css-match-type.css \
|
||||
css-match-type.ref.ui \
|
||||
css-match-type.ui \
|
||||
css-multi-state.css \
|
||||
css-multi-state.ref.ui \
|
||||
css-multi-state.ui \
|
||||
fixed-widget-stacking.ref.ui \
|
||||
fixed-widget-stacking.ui \
|
||||
flipping-icons.ref.ui \
|
||||
flipping-icons.ui \
|
||||
font-sizes-names.css \
|
||||
font-sizes-names.ref.ui \
|
||||
font-sizes-names.ui \
|
||||
gtk-image-effect-inherit.css \
|
||||
gtk-image-effect-inherit.ref.ui \
|
||||
gtk-image-effect-inherit.ui \
|
||||
green-20x20.png \
|
||||
grid-empty-with-spacing.ref.ui \
|
||||
grid-empty-with-spacing.ui \
|
||||
grid-expand.css \
|
||||
grid-expand.ref.ui \
|
||||
grid-expand.ui \
|
||||
grid-wfh.ui \
|
||||
grid-wfh.ref.ui \
|
||||
grid-homogeneous.css \
|
||||
grid-homogeneous.ref.ui \
|
||||
grid-homogeneous.ui \
|
||||
grid-spacing1.ref.ui \
|
||||
grid-spacing1.ui \
|
||||
grid-spacing2.ref.ui \
|
||||
grid-spacing2.ui \
|
||||
grid-spacing3.css \
|
||||
grid-spacing3.ref.ui \
|
||||
grid-spacing3.ui \
|
||||
gtk-icontheme-sizing.css \
|
||||
gtk-icontheme-sizing.ref.ui \
|
||||
gtk-icontheme-sizing.ui \
|
||||
icon-effect-missing.css \
|
||||
icon-effect-missing.ref.ui \
|
||||
icon-effect-missing.ui \
|
||||
icon-shadow-no-transform.css \
|
||||
icon-shadow-no-transform.ref.ui \
|
||||
icon-shadow-no-transform.ui \
|
||||
icon-style-basics.css \
|
||||
icon-style-basics.ref.ui \
|
||||
icon-style-basics.ui \
|
||||
icon-vfuncs.css \
|
||||
icon-vfuncs.ref.ui \
|
||||
icon-vfuncs.ui \
|
||||
iconview-empty.css \
|
||||
iconview-empty.ui \
|
||||
iconview-empty.ref.ui \
|
||||
image-icon-name-use-fallback.ui \
|
||||
image-icon-name-use-fallback.ref.ui \
|
||||
image-icon-shadow-clipping.css \
|
||||
image-icon-shadow-clipping.ref.ui \
|
||||
image-icon-shadow-clipping.ui \
|
||||
image-load-from-file.css \
|
||||
image-load-from-file.ref.ui \
|
||||
image-load-from-file.ui \
|
||||
image-recording-surface.ref.ui \
|
||||
image-recording-surface.ui \
|
||||
info-bar-message-types.css \
|
||||
info-bar-message-types.ref.ui \
|
||||
info-bar-message-types.ui \
|
||||
inherit-and-initial.css \
|
||||
inherit-and-initial.ref.ui \
|
||||
inherit-and-initial.ui \
|
||||
label-attribute-preference.css \
|
||||
label-attribute-preference.ref.ui \
|
||||
label-attribute-preference.ui \
|
||||
label-background.css \
|
||||
label-background.ref.ui \
|
||||
label-background.ui \
|
||||
label-box-shadow-clip.css \
|
||||
label-box-shadow-clip.ref.ui \
|
||||
label-box-shadow-clip.ui \
|
||||
label-clipping.css \
|
||||
label-clipping.ref.ui \
|
||||
label-clipping.ui \
|
||||
label-ellipsize-small.ref.ui \
|
||||
label-ellipsize-small.ui \
|
||||
label-ellipsize-with-big.ref.ui \
|
||||
label-ellipsize-with-big.ui \
|
||||
label-shadows.css \
|
||||
label-shadows.ref.ui \
|
||||
label-shadows.ui \
|
||||
label-sizing.css \
|
||||
label-sizing.ref.ui \
|
||||
label-sizing.ui \
|
||||
label-small-ellipsized.ref.ui \
|
||||
label-small-ellipsized.ui \
|
||||
label-text-shadow-clipping.css \
|
||||
label-text-shadow-clipping.ref.ui \
|
||||
label-text-shadow-clipping.ui \
|
||||
label-text-shadow-changes-modify-clip.css \
|
||||
label-text-shadow-changes-modify-clip.ref.ui \
|
||||
label-text-shadow-changes-modify-clip.ui \
|
||||
label-width-chars-dont-shrink.ref.ui \
|
||||
label-width-chars-dont-shrink.ui \
|
||||
label-wrap-justify.ref.ui \
|
||||
label-wrap-justify.ui \
|
||||
letter-spacing.css \
|
||||
letter-spacing.ui \
|
||||
letter-spacing.ref.ui \
|
||||
linear-gradient.css \
|
||||
linear-gradient.ref.ui \
|
||||
linear-gradient.ui \
|
||||
linear-gradient-transition-to-other.css \
|
||||
linear-gradient-transition-to-other.ref.ui \
|
||||
linear-gradient-transition-to-other.ui \
|
||||
link-coloring.css \
|
||||
link-coloring.ref.ui \
|
||||
link-coloring.ui \
|
||||
marble.xpm \
|
||||
messagedialog-secondarytext.ui \
|
||||
messagedialog-secondarytext.ref.ui \
|
||||
named-colors.css \
|
||||
named-colors.ref.ui \
|
||||
named-colors.ui \
|
||||
no-colors.css \
|
||||
no-colors.ref.ui \
|
||||
no-colors.ui \
|
||||
nonresizable-size.ref.ui \
|
||||
nonresizable-size.ui \
|
||||
notebook-childproperties.css \
|
||||
notebook-childproperties.ui \
|
||||
notebook-childproperties.ref.ui \
|
||||
notebook-tab-position.css \
|
||||
notebook-tab-position.ui \
|
||||
notebook-tab-position.ref.ui \
|
||||
nth-child.css \
|
||||
nth-child.ref.ui \
|
||||
nth-child.ui \
|
||||
opacity.css \
|
||||
opacity.ui \
|
||||
opacity.ref.ui \
|
||||
opacity-initial.css \
|
||||
opacity-initial.ref.ui \
|
||||
opacity-initial.ui \
|
||||
overlay-no-main-widget.ref.ui \
|
||||
overlay-no-main-widget.ui \
|
||||
paned-undersized.css \
|
||||
paned-undersized.ref.ui \
|
||||
paned-undersized.ui \
|
||||
pseudoclass-on-box.css \
|
||||
pseudoclass-on-box.ref.ui \
|
||||
pseudoclass-on-box.ui \
|
||||
pseudoclass-on-parent.css \
|
||||
pseudoclass-on-parent.ref.ui \
|
||||
pseudoclass-on-parent.ui \
|
||||
quit-mnemonic.css \
|
||||
quit-mnemonic.ref.ui \
|
||||
quit-mnemonic.ui \
|
||||
repeating-radial-gradient-at-beginning.css \
|
||||
repeating-radial-gradient-at-beginning.ref.ui \
|
||||
repeating-radial-gradient-at-beginning.ui \
|
||||
reset-to-defaults.css \
|
||||
revealer-extra-size.ref.ui \
|
||||
revealer-extra-size.ui \
|
||||
revealer-wrappable-contents.ref.ui \
|
||||
revealer-wrappable-contents.ui \
|
||||
rotated-layout.ref.ui \
|
||||
rotated-layout.ui \
|
||||
separator-size.css \
|
||||
separator-size.ref.ui \
|
||||
separator-size.ui \
|
||||
set-default-direction.ui \
|
||||
set-default-direction.ref.ui \
|
||||
shadow-clip-rounding.css \
|
||||
shadow-clip-rounding.ref.ui \
|
||||
shadow-clip-rounding.ui \
|
||||
shorthand-entry-border.css \
|
||||
shorthand-entry-border.ref.ui \
|
||||
shorthand-entry-border.ui \
|
||||
sibling-pseudoclasses.css \
|
||||
sibling-pseudoclasses.ref.ui \
|
||||
sibling-pseudoclasses.ui \
|
||||
simple.ref.ui \
|
||||
simple.ui \
|
||||
sizegroups-basics.css \
|
||||
sizegroups-basics.ui \
|
||||
sizegroups-basics.ref.ui \
|
||||
sizegroups-evolution-identity-page.ui \
|
||||
sizegroups-evolution-identity-page.ref.ui \
|
||||
sizegroups-get-preferred-null.ui \
|
||||
sizegroups-get-preferred-null.ref.ui \
|
||||
statusbar-remove-all.ref.ui \
|
||||
statusbar-remove-all.ui \
|
||||
style-context-save-inheritance.css \
|
||||
style-context-save-inheritance.ref.ui \
|
||||
style-context-save-inheritance.ui \
|
||||
style-properties-nth-child.css \
|
||||
style-properties-nth-child.ref.ui \
|
||||
style-properties-nth-child.ui \
|
||||
style-properties-only-child.css \
|
||||
style-properties-only-child.ref.ui \
|
||||
style-properties-only-child.ui \
|
||||
symbolic-icon-translucent-color.css \
|
||||
symbolic-icon-translucent-color.ref.ui \
|
||||
symbolic-icon-translucent-color.ui \
|
||||
textview-border-windows.css \
|
||||
textview-border-windows.ref.ui \
|
||||
textview-border-windows.ui \
|
||||
textview-margins.css \
|
||||
textview-margins.ref.ui \
|
||||
textview-margins.ui \
|
||||
textview-tags.ref.ui \
|
||||
textview-tags.ui \
|
||||
toplevel-vs-popup.ref.ui \
|
||||
toplevel-vs-popup.ui \
|
||||
treeview-crash-too-wide.ref.ui \
|
||||
treeview-crash-too-wide.ui \
|
||||
treeview-fixed-height.css \
|
||||
treeview-fixed-height.ref.ui \
|
||||
treeview-fixed-height.ui \
|
||||
treeview-headers-hidden.ref.ui \
|
||||
treeview-headers-hidden.ui \
|
||||
unresolvable.css \
|
||||
unresolvable.ref.ui \
|
||||
unresolvable.ui \
|
||||
window-border-width.ref.ui \
|
||||
window-border-width.ui \
|
||||
window-default-size.ref.ui \
|
||||
window-default-size.ui \
|
||||
window-height-for-width.ref.ui \
|
||||
window-height-for-width.ui \
|
||||
window-show-contents-on-map.ref.ui \
|
||||
window-show-contents-on-map.ui \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(testdata) \
|
||||
reftests-dark.test.in \
|
||||
reftests-hc.test.in \
|
||||
reftests-hci.test.in \
|
||||
reftests.test.in \
|
||||
$(NULL)
|
||||
|
||||
GTK_GSETTINGS_SCHEMAS = \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.ColorChooser.gschema.xml \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.FileChooser.gschema.xml \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES = gschemas.compiled
|
||||
|
||||
CLEANFILES = gschemas.compiled
|
||||
|
||||
gschemas.compiled: $(GTK_GSETTINGS_SCHEMAS)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) \
|
||||
$(addprefix --schema-file=,$(GTK_GSETTINGS_SCHEMAS)) \
|
||||
--targetdir=$(builddir)
|
||||
|
||||
all-am: gschemas.compiled
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = gtk-reftest
|
||||
|
||||
reftestdir = $(insttestdir)/reftests
|
||||
reftest_DATA = $(testdata)
|
||||
reftest_LTLIBRARIES = \
|
||||
libreftest.la \
|
||||
$(NULL)
|
||||
|
||||
libreftest_la_LDFLAGS = -rpath $(reftestdir)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
%.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
built_tests = \
|
||||
reftests.test \
|
||||
reftests-dark.test \
|
||||
reftests-hc.test \
|
||||
reftests-hci.test \
|
||||
$(NULL)
|
||||
|
||||
DISTCLEANFILES = $(built_tests)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(built_tests)
|
||||
else
|
||||
noinst_LTLIBRARIES += \
|
||||
libreftest.la \
|
||||
$(NULL)
|
||||
|
||||
libreftest_la_LDFLAGS = -rpath /iHaveNoIdeaWhatImDoing
|
||||
|
||||
endif
|
||||
|
||||
libreftest_la_LDFLAGS += -avoid-version -module $(no_undefined)
|
||||
libreftest_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
||||
libreftest_la_LIBADD = $(gtk_reftest_LDADD)
|
||||
libreftest_la_SOURCES = \
|
||||
expand-expander.c \
|
||||
frame-inhibitor.c \
|
||||
image-recording-surface.c \
|
||||
letter-spacing.c \
|
||||
set-default-direction.c \
|
||||
statusbar-remove-all.c \
|
||||
textview-border-windows.c \
|
||||
textview-tags.c \
|
||||
animation-direction.c \
|
||||
$(NULL)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,61 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
test_simplify = \
|
||||
simplify/test1.ui simplify/test1.expected \
|
||||
simplify/test2.ui simplify/test2.expected \
|
||||
simplify/test3.ui simplify/test3.expected \
|
||||
simplify/test4.ui simplify/test4.expected \
|
||||
simplify/test5.ui simplify/test5.expected \
|
||||
simplify/test6.ui simplify/test6.expected \
|
||||
simplify/test7.ui simplify/test7.expected \
|
||||
simplify/test8.ui simplify/test8.expected \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_simplify) \
|
||||
test-simplify.in \
|
||||
test-settings.in \
|
||||
$(NULL)
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
GTK_BUILDER_TOOL="$(top_builddir)/gtk/gtk-builder-tool" \
|
||||
GTK_QUERY_SETTINGS="$(top_builddir)/gtk/gtk-query-settings" \
|
||||
$(NULL)
|
||||
|
||||
TEST_PROGS += \
|
||||
test-simplify \
|
||||
test-settings \
|
||||
$(NULL)
|
||||
|
||||
test-simplify:test-simplify.in
|
||||
$(AM_V_GEN) cp $< $@
|
||||
|
||||
test-settings:test-settings.in
|
||||
$(AM_V_GEN) cp $< $@
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_SCRIPTS = $(TEST_PROGS)
|
||||
nobase_insttest_DATA = $(test_simplify)
|
||||
|
||||
%.test: % Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 TEST_DATA_DIR="$(insttestdir)/simplify" $(insttestdir)/$<' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGS:=.test)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(TEST_PROGS) \
|
||||
$(test_files) \
|
||||
$(NULL)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,55 +0,0 @@
|
||||
# Centralized autotools file
|
||||
# Create the Visual Studio 2012/2013/2015 project files
|
||||
# from the Visual Studio 2010 project files
|
||||
|
||||
# This autotools file, from GLib, can be used in other projects
|
||||
# that have Visual Studio build support.
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# November 05, 2012
|
||||
|
||||
# MSVC_BASE_VER: Baseline MSVC 201x version to copy/process project files from (100 for 2010, 120 for 2013)
|
||||
# MSVC_BASE_VER_LONG: Long Version of baseline Visual Studio 201x version (2010, 2012, 2013, 14, 15)
|
||||
# MSVC_BASE_TOOLSET: Use if baseline MSVC toolset is not in the form v$(MSVC_BASE_VER)0, meaning v$(MSVC_BASE_TOOLSET)
|
||||
# MSVC_VER_LONG: Long Version of target Visual Studio (2012, 2013, 14 and so on)
|
||||
# MSVC_VER: Short Version of target Visual Studio (110 for 2012, 120 for 2013, 140 for 2015, 141 for 2017)
|
||||
# MSVC_TOOLSET: Use if target MSVC toolsett is not in the form v $(MSVC_VER)0, meaning v$(MSVC_TOOLSET)
|
||||
|
||||
if MSVC_BASE_NO_TOOLSET_SET
|
||||
MSVC_BASE_TOOLSET = $(MSVC_BASE_VER)0
|
||||
endif
|
||||
|
||||
if MSVC_NO_TOOLSET_SET
|
||||
MSVC_TOOLSET = $(MSVC_VER)0
|
||||
endif
|
||||
|
||||
%.sln:
|
||||
sed 's/11\.00/12\.00/g' < $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
sed 's/$(MSVC_BASE_VER_LONG)/$(MSVC_VER_LONG)/g' < $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/win32/vs$(MSVC_VER)/$@
|
||||
rm $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
|
||||
%.txt:
|
||||
sed 's/vs$(MSVC_BASE_VER)/vs$(MSVC_VER)/g' < $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
sed 's/VS$(MSVC_BASE_VER)/VS$(MSVC_VER)/g' < $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/win32/vs$(MSVC_VER)/$@
|
||||
rm $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
|
||||
%.vcxproj:
|
||||
if test -e $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@; then \
|
||||
sed 's/v$(MSVC_BASE_TOOLSET)/v$(MSVC_TOOLSET)/g' < $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
else \
|
||||
sed 's/v$(MSVC_BASE_TOOLSET)/v$(MSVC_TOOLSET)/g' < $(top_builddir)/win32/vs$(MSVC_BASE_VER)/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
fi
|
||||
|
||||
%.props: $(top_builddir)/win32/vs$(MSVC_BASE_VER)/Makefile
|
||||
if test -e $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@; then \
|
||||
sed 's/<VSVer>$(MSVC_BASE_VER)<\/VSVer>/<VSVer>$(MSVC_VER)<\/VSVer>/g' < $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
else \
|
||||
sed 's/<VSVer>$(MSVC_BASE_VER)<\/VSVer>/<VSVer>$(MSVC_VER)<\/VSVer>/g' < $(top_builddir)/win32/vs$(MSVC_BASE_VER)/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
fi
|
||||
|
||||
%.vcxproj.filters:
|
||||
if test -e $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@; then \
|
||||
cp $(top_srcdir)/win32/vs$(MSVC_BASE_VER)/$@ $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
else \
|
||||
cp $(top_builddir)/win32/vs$(MSVC_BASE_VER)/$@ $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
fi
|
@@ -1,51 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
GENERATED_ITEMS = gen-enums.bat
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
GENERATED_ITEMS += \
|
||||
introspection.body.mak \
|
||||
Gdk_4_0_gir_list \
|
||||
GdkWin32_4_0_gir_list \
|
||||
Gsk_4_0_gir_list \
|
||||
Gtk_4_0_gir_list
|
||||
|
||||
MSVC_INTROSPECTION_INTERMEDIATE_FILES = \
|
||||
Gdk-4.0.gir.msvc.introspect \
|
||||
GdkWin32-4.0.gir.msvc.introspect \
|
||||
Gsk-4.0.gir.msvc.introspect \
|
||||
Gtk-4.0.gir.msvc.introspect
|
||||
|
||||
introspection.body.mak: $(MSVC_INTROSPECTION_INTERMEDIATE_FILES)
|
||||
-$(RM) introspection.body.mak
|
||||
for F in `ls *.msvc.introspect`; do \
|
||||
case $$F in \
|
||||
*) cat $(top_builddir)/win32/$$F >>introspection.body.mak \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
$(RM) $(MSVC_INTROSPECTION_INTERMEDIATE_FILES)
|
||||
endif
|
||||
|
||||
DISTCLEANFILES = $(GENERATED_ITEMS)
|
||||
|
||||
gen-enums.bat: $(srcdir)/gen-enums.batin gsk.enum.headers
|
||||
$(CPP) -P - <$(srcdir)/gen-enums.batin >$@
|
||||
$(RM) gsk.enum.headers
|
||||
|
||||
SUBDIRS = \
|
||||
vs12 \
|
||||
vs14 \
|
||||
vs15
|
||||
|
||||
EXTRA_DIST += \
|
||||
detectenv-msvc.mak \
|
||||
introspection-msvc.mak \
|
||||
gtk-introspection-msvc.mak \
|
||||
replace.py \
|
||||
pc_base.py \
|
||||
gtkpc.py \
|
||||
gen-enums.batin \
|
||||
$(GENERATED_ITEMS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,125 +0,0 @@
|
||||
# Author: Fan, Chun-wei
|
||||
# Common autotools file for constructing the g-ir-scanner and
|
||||
# g-ir-compiler command lines for Visual Studio builds.
|
||||
|
||||
# This is copied from $(srcroot)/win32 from the gobject-introspection
|
||||
# project, which may be included in projects that support both
|
||||
# Visual Studio builds and introspection.
|
||||
|
||||
# * Input variables:
|
||||
#
|
||||
# MSVC_INTROSPECT_GIRS - List of .gir's that should be built
|
||||
# in the NMake Makefiles
|
||||
#
|
||||
# * Simple tutorial
|
||||
#
|
||||
# Add this to Makefile.am where your library/program is built:
|
||||
# (Either YourLib_1_0_gir_MSVC_LIBS or YourLib_1_0_gir_MSVC_PROGRAM
|
||||
# is required unless --headers-only is specified in
|
||||
# YourLib_1_0_gir__MSVC_SCANNERFLAGS)
|
||||
#
|
||||
# include <this Makefile.msvc-introspection
|
||||
# MSVC_INTROSPECT_GIRS = YourLib-1.0.gir
|
||||
# YourLib_1_0_gir_NAMESPACE = YourLib # This is optional
|
||||
# YourLib_1_0_gir_VERSION = 1.0 # This is optional
|
||||
# YourLib_1_0_gir_MSVC_LIBS = yourlib-1.0
|
||||
# YourLib_1_0_gir_MSVC_FILES = $(libyourlib_1_0_SOURCES)
|
||||
# YourLib_1_0_gir_MSVC_PROGRAM = YourProgram
|
||||
# YourLib_1_0_gir_MSVC_PACKAGES = (Dependent .pc files)
|
||||
# YourLib_1_0_gir_MSVC_INCLUDE_GIRS = (Dependent external .gir's)
|
||||
# YourLiv_1_0_gir_MSVC_EXPORT_PACKAGES = (Packages exported by this .gir)
|
||||
|
||||
# Private functions
|
||||
|
||||
## Transform the MSVC project filename (no filename extensions) to something which can reference through a variable
|
||||
## without automake/make complaining, eg Gtk-2.0 -> Gtk_2_0
|
||||
_gir_name=$(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
||||
|
||||
# Namespace and Version is either fetched from the gir filename
|
||||
# or the _NAMESPACE/_VERSION variable combo
|
||||
_gir_namespace_msvc = $(or $($(_gir_name)_NAMESPACE),$(firstword $(subst -, ,$(notdir $(1)))))
|
||||
_gir_version_msvc = $(or $($(_gir_name)_VERSION),$(lastword $(subst -, ,$(1:.gir=))))
|
||||
_typelib_basename_msvc = $(_gir_namespace_msvc)'-'$(_gir_version_msvc)
|
||||
|
||||
# _PROGRAM is an optional variable which needs its own --program argument
|
||||
_gir_program_msvc = $(if $($(_gir_name)_MSVC_PROGRAM),--program=$($(_gir_name)_MSVC_PROGRAM))
|
||||
|
||||
# Deduce the sub-folder from $(srcroot) where the sources reside in
|
||||
_gir_source_path_raw_msvc:=$(subst $(abs_top_srcdir),,$(abs_srcdir))
|
||||
_gir_source_path_msvc=$(subst /,\\,$(_gir_source_path_raw_msvc))
|
||||
_gir_source_subdir_int_msvc=$(subst \\\\,\\,\\$(_gir_source_path_msvc)\\)
|
||||
_gir_source_subdir_msvc=$(subst \\.\\,\\,$(_gir_source_subdir_int_msvc))
|
||||
|
||||
_gir_files_raw_msvc=$(subst /,\\,$($(_gir_name)_MSVC_FILES))
|
||||
_gir_files_msvc=$(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_gir_source_path_msvc)\\,\\,$(_gir_files_raw_msvc))))
|
||||
|
||||
# Create a list of items for:
|
||||
# - Libraries
|
||||
# - Packages
|
||||
# - GIRs to include
|
||||
# - packages to export
|
||||
|
||||
_gir_libraries_msvc = $(foreach lib,$($(_gir_name)_MSVC_LIBS),--library=$(lib))
|
||||
_gir_packages_msvc = $(foreach pkg,$($(_gir_name)_MSVC_PACKAGES),--pkg=$(pkg))
|
||||
_gir_includes_msvc = $(foreach include,$($(_gir_name)_MSVC_INCLUDE_GIRS),--include=$(include))
|
||||
_gir_export_packages_msvc = $(foreach pkg,$($(_gir_name)_MSVC_EXPORT_PACKAGES),--pkg-export=$(pkg))
|
||||
|
||||
#
|
||||
# Create NMake Makefile Sections for Building Introspection files
|
||||
# from autotools files
|
||||
# $(1) - File Name of the .gir that is to be generated
|
||||
#
|
||||
|
||||
define gir-nmake-builder
|
||||
|
||||
# Basic sanity check, to make sure required variables are set
|
||||
$(if $($(_gir_name)_MSVC_FILES),,$(error Need to define $(_gir_name)_MSVC_FILES))
|
||||
$(if $(or $(findstring --header-only,$($(_gir_name)_MSVC_SCANNERFLAGS)),
|
||||
$($(_gir_name)_MSVC_LIBS),
|
||||
$($(_gir_name)_MSVC_PROGRAM)),,
|
||||
$(error Need to define $(_gir_name)_MSVC_LIBS or $(_gir_name)_MSVC_PROGRAM))
|
||||
|
||||
$(top_builddir)/win32/$(_gir_name)_list:
|
||||
for F in $(_gir_files_msvc); do \
|
||||
case $$$$F in \
|
||||
*.c|*.cpp|*.cc|*.cxx|*.h|*.hpp|*.hh|*.hxx) \
|
||||
echo '..\..'$(_gir_source_subdir_msvc)$$$$F >>$(top_builddir)/win32/$(_gir_name)_list \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
|
||||
$(top_builddir)/win32/$(1).msvc.introspect:
|
||||
-$(RM) $(top_builddir)/win32/$(1).msvc.introspect
|
||||
|
||||
# Assemble the Command to Run g-ir-scanner
|
||||
echo $(1)': '$(_gir_name)'_list '$($(_gir_name)_MSVC_GIR_DEPS)>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' @-echo Generating $$$$@...'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' $$$$(PYTHON) $$$$(G_IR_SCANNER) \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --verbose -no-libtool \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --namespace='$(_gir_namespace_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --nsversion='$(_gir_version_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$(_gir_packages_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$(_gir_libraries_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$(_gir_program_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --add-include-path=$$$$(G_IR_INCLUDEDIR) \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$(_gir_includes_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$(_gir_export_packages_msvc)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --cflags-begin \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$($(_gir_name)_MSVC_CFLAGS)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --cflags-end \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$($(_gir_name)_MSVC_SCANNERFLAGS)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --filelist='$(_gir_name)'_list \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' -o $$$$@'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo '' >>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
|
||||
# Finally Assemble the Command to Compile the generated .gir
|
||||
echo '$(_typelib_basename_msvc).typelib: '$(_typelib_basename_msvc)'.gir'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' @-echo Compiling $$$$@...'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' $$$$(G_IR_COMPILER) \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' --includedir=. --debug --verbose \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' '$(1)' \'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo ' -o $$$$@'>>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
echo '' >>$(top_builddir)/win32/$(1).msvc.introspect
|
||||
endef
|
||||
|
||||
$(foreach gir,$(MSVC_INTROSPECT_GIRS),$(eval $(call gir-nmake-builder,$(gir))))
|
@@ -1,153 +0,0 @@
|
||||
# Author: Fan, Chun-wei
|
||||
# Common Autotools file used to generate Visual Studio 2008+
|
||||
# Projects from their templates
|
||||
|
||||
# This autotools file, from GLib, can be used in other projects
|
||||
# that have Visual Studio build support.
|
||||
|
||||
# * Input variables:
|
||||
#
|
||||
# MSVCPROJS - List of Projects that should be generated
|
||||
#
|
||||
# * Simple tutorial
|
||||
#
|
||||
# Add this to Makefile.am where your library/program is built:
|
||||
# include <this Makefile.msvcproj>
|
||||
# MSVCPROJS = YourProject (can be multiple projects in a single srcdir)
|
||||
# YourProject_FILES = $(libyourlib_1_0_SOURCES)
|
||||
# YourProject_EXCLUDES = ... # list of sources to exclude, separated by '|', wildcards allowed; use random unsed value if none
|
||||
# (the following 3 lines if headers need to be installed)
|
||||
# YourProject_HEADERS_DIR = $(libyourlibincludedir)
|
||||
# YourProject_HEADERS_INST = $(libyourlib_1_0_HEADERS)
|
||||
# YourProject_HEADERS_EXCLUDES = ... # <list of headers to exclude from installation, separated by '|', wildcards allowed; use random unsed value if none>
|
||||
#
|
||||
# dist-hook: \ # (or add to it if it is already there, note the vs9 items will also call the vs10 items in the process)
|
||||
# $(top_builddir)/win32/vs9/YourProject.vcproj \
|
||||
# $(top_builddir)/win32/vs9/YourProject.headers # if headers need to be installed
|
||||
#
|
||||
# --or, if Visual Studio 2013 or later is required--
|
||||
# dist-hook: \ # (or add to it if it is already there, this does -not- call other vs items in the process)
|
||||
# $(top_builddir)/win32/vs12/YourProject.vcxproj \
|
||||
# $(top_builddir)/win32/vs12/YourProject.vs12.headers # if headers need to be installed
|
||||
|
||||
# Private functions
|
||||
|
||||
## Transform the MSVC project filename (no filename extensions) to something which can reference through a variable
|
||||
## without automake/make complaining, eg Gtk-2.0 -> Gtk_2_0
|
||||
_proj_name=$(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
||||
_proj_path_raw:=$(subst $(abs_top_srcdir),,$(abs_srcdir))
|
||||
_proj_path=$(subst /,\\,$(_proj_path_raw))
|
||||
_proj_subdir_int=$(subst \\\\,\\,\\$(_proj_path)\\)
|
||||
_proj_subdir=$(subst \\.\\,\\,$(_proj_subdir_int))
|
||||
|
||||
_proj_files_raw=$(subst /,\\,$($(_proj_name)_FILES))
|
||||
_proj_files=$(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_files_raw))))
|
||||
_proj_filters=$($(_proj_name)_EXCLUDES)
|
||||
|
||||
_proj_headers_raw=$(subst /,\\,$($(_proj_name)_HEADERS_INST))
|
||||
_proj_headers=$(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_headers_raw))))
|
||||
_proj_headers_excludes=$($(_proj_name)_HEADERS_EXCLUDES)
|
||||
|
||||
_headers_dest_posix=$(subst $(includedir),,$($(_proj_name)_HEADERS_DIR))
|
||||
_headers_destdir=$(subst /,\\,$(_headers_dest_posix))
|
||||
|
||||
#
|
||||
# Creates Visual Studio 2008/2010 projects from items passed in from autotools files
|
||||
# $(1) - Base Name of the MSVC project files (outputs)
|
||||
#
|
||||
|
||||
define msvcproj-builder
|
||||
|
||||
$(top_builddir)/win32/vs10/$(1).vcxproj: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(top_builddir)/win32/vs10/$(1).vcxproj.filters: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(1).sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(1).vs10.sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(1).vs10.sourcefiles.filters: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
|
||||
$(top_builddir)/win32/vs9/$(1).vcproj: Makefile
|
||||
-$(RM) $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj.filters
|
||||
|
||||
|
||||
for F in $(_proj_files); do \
|
||||
case $$$$F in \
|
||||
$(_proj_filters)) \
|
||||
;; \
|
||||
*.c|*.cpp|*.cc|*.cxx) \
|
||||
echo ' <File RelativePath="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).sourcefiles && \
|
||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).vs10.sourcefiles && \
|
||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'"><Filter>Source Files</Filter></ClCompile>' >>$(1).vs10.sourcefiles.filters \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
|
||||
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs9/$(1).vcprojin >$(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxprojin >$(top_builddir)/win32/vs10/$(1).vcxproj
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxproj.filtersin >$(top_builddir)/win32/vs10/$(1).vcxproj.filters
|
||||
$(RM) $(1).sourcefiles
|
||||
$(RM) $(1).vs10.sourcefiles
|
||||
$(RM) $(1).vs10.sourcefiles.filters
|
||||
|
||||
$(top_builddir)/win32/vs10/$(1).vs10.headers: $(top_builddir)/win32/vs9/$(1).headers
|
||||
|
||||
$(top_builddir)/win32/vs9/$(1).headers: Makefile
|
||||
-$(RM) $(top_builddir)/win32/vs9/$(1).headers
|
||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vs10.headers
|
||||
|
||||
for F in $(_proj_headers); do \
|
||||
case $$$$F in \
|
||||
$(_proj_headers_excludes)) \
|
||||
;; \
|
||||
*.h|*.hpp|*.hh|*.hxx) \
|
||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F'
' >>$(top_builddir)/win32/vs9/$(1).headers && \
|
||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F >>$(top_builddir)/win32/vs10/$(1).vs10.headers \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
|
||||
$(top_builddir)/win32/vs12/$(1).vcxproj.filters: $(top_builddir)/win32/vs12/$(1).vcxproj
|
||||
|
||||
$(top_builddir)/win32/vs12/$(1).vcxproj: Makefile
|
||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj.filters
|
||||
|
||||
for F in $(_proj_files); do \
|
||||
case $$$$F in \
|
||||
$(_proj_filters)) \
|
||||
;; \
|
||||
*.c|*.cpp|*.cc|*.cxx) \
|
||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).vs12.sourcefiles && \
|
||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'"><Filter>Source Files</Filter></ClCompile>' >>$(1).vs12.sourcefiles.filters \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs12/$(1).vcxprojin >$(top_builddir)/win32/vs12/$(1).vcxproj
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs12/$(1).vcxproj.filtersin >$(top_builddir)/win32/vs12/$(1).vcxproj.filters
|
||||
$(RM) $(1).vs12.sourcefiles
|
||||
$(RM) $(1).vs12.sourcefiles.filters
|
||||
|
||||
$(top_builddir)/win32/vs12/$(1).vs12.headers: Makefile
|
||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vs12.headers
|
||||
|
||||
for F in $(_proj_headers); do \
|
||||
case $$$$F in \
|
||||
$(_proj_headers_excludes)) \
|
||||
;; \
|
||||
*.h|*.hpp|*.hh|*.hxx) \
|
||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F >>$(top_builddir)/win32/vs12/$(1).vs12.headers \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
|
||||
endef
|
||||
|
||||
$(foreach proj,$(MSVCPROJS),$(eval $(call msvcproj-builder,$(proj))))
|
@@ -1,76 +0,0 @@
|
||||
# Common NMake Makefile module for checking the build environment
|
||||
# This can be copied from $(glib_srcroot)\build\win32 for GNOME items
|
||||
# that support MSVC builds and introspection under MSVC, and can be used
|
||||
# for building test programs as well.
|
||||
|
||||
# Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
|
||||
# VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
|
||||
!if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
|
||||
MSG = ^
|
||||
This Makefile is only for Visual Studio 2008 and later.^
|
||||
You need to ensure that the Visual Studio Environment is properly set up^
|
||||
before running this Makefile.
|
||||
!error $(MSG)
|
||||
!endif
|
||||
|
||||
ERRNUL = 2>NUL
|
||||
_HASH=^#
|
||||
|
||||
!if ![echo VCVERSION=_MSC_VER > vercl.x] \
|
||||
&& ![echo $(_HASH)if defined(_M_IX86) >> vercl.x] \
|
||||
&& ![echo PLAT=Win32 >> vercl.x] \
|
||||
&& ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
|
||||
&& ![echo PLAT=x64 >> vercl.x] \
|
||||
&& ![echo $(_HASH)endif >> vercl.x] \
|
||||
&& ![cl -nologo -TC -P vercl.x $(ERRNUL)]
|
||||
!include vercl.i
|
||||
!if ![echo VCVER= ^\> vercl.vc] \
|
||||
&& ![set /a $(VCVERSION) / 100 - 6 >> vercl.vc]
|
||||
!include vercl.vc
|
||||
!endif
|
||||
!endif
|
||||
!if ![del $(ERRNUL) /q/f vercl.x vercl.i vercl.vc]
|
||||
!endif
|
||||
|
||||
!if $(VCVERSION) > 1499 && $(VCVERSION) < 1600
|
||||
VSVER = 9
|
||||
!elseif $(VCVERSION) > 1599 && $(VCVERSION) < 1700
|
||||
VSVER = 10
|
||||
!elseif $(VCVERSION) > 1699 && $(VCVERSION) < 1800
|
||||
VSVER = 11
|
||||
!elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
|
||||
VSVER = 12
|
||||
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000
|
||||
VSVER = 14
|
||||
!else
|
||||
VSVER = 0
|
||||
!endif
|
||||
|
||||
!if "$(VSVER)" == "0"
|
||||
MSG = ^
|
||||
This NMake Makefile set supports Visual Studio^
|
||||
9 (2008) through 14 (2015). Your Visual Studio^
|
||||
version is not supported.
|
||||
!error $(MSG)
|
||||
!endif
|
||||
|
||||
VALID_CFGSET = FALSE
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
|
||||
VALID_CFGSET = TRUE
|
||||
!endif
|
||||
|
||||
# We want debugging symbols logged for all builds,
|
||||
# using .pdb files for release builds
|
||||
CFLAGS_BASE = /Zi
|
||||
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "Release"
|
||||
CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
|
||||
!else
|
||||
CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
|
||||
!endif
|
||||
|
||||
!if "$(PLAT)" == "x64"
|
||||
LDFLAGS_ARCH = /machine:x64
|
||||
!else
|
||||
LDFLAGS_ARCH = /machine:x86
|
||||
!endif
|
@@ -1,18 +0,0 @@
|
||||
@ECHO OFF
|
||||
|
||||
cd ..\gsk
|
||||
|
||||
if exist gskenumtypes.h del gskenumtypes.h
|
||||
if exist gskenumtypes.c del gskenumtypes.c
|
||||
|
||||
for %%f in (gskenumtypes.h gskenumtypes.c) do ^
|
||||
%2\python %1\bin\glib-mkenums ^
|
||||
--template %%f.template ^
|
||||
#include "gsk.enum.headers"
|
||||
&1> %%f
|
||||
|
||||
for %%f in (gskenumtypes.h gskenumtypes.c) do ^
|
||||
if %%~zf EQU 0 perl %1\bin\glib-mkenums ^
|
||||
--template %%f.template ^
|
||||
#include "gsk.enum.headers"
|
||||
&1> %%f
|
@@ -1,43 +0,0 @@
|
||||
# NMake Makefile to build Introspection Files for GTK+
|
||||
|
||||
!include detectenv-msvc.mak
|
||||
|
||||
APIVERSION = 4.0
|
||||
|
||||
CHECK_PACKAGE = gdk-pixbuf-2.0 atk pangocairo gio-2.0
|
||||
|
||||
built_install_girs = Gdk-$(APIVERSION).gir GdkWin32-$(APIVERSION).gir Gtk-$(APIVERSION).gir
|
||||
built_install_typelibs = Gdk-$(APIVERSION).typelib GdkWin32-$(APIVERSION).typelib Gtk-$(APIVERSION).typelib
|
||||
|
||||
!include introspection-msvc.mak
|
||||
|
||||
!if "$(BUILD_INTROSPECTION)" == "TRUE"
|
||||
|
||||
!if "$(PLAT)" == "x64"
|
||||
AT_PLAT=x86_64
|
||||
!else
|
||||
AT_PLAT=i686
|
||||
!endif
|
||||
|
||||
all: setgirbuildenv $(built_install_girs) $(built_install_typelibs)
|
||||
|
||||
setgirbuildenv:
|
||||
@set PYTHONPATH=$(PREFIX)\lib\gobject-introspection
|
||||
@set PATH=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(PREFIX)\bin;$(PATH)
|
||||
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
|
||||
@set LIB=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(LIB)
|
||||
|
||||
!include introspection.body.mak
|
||||
|
||||
install-introspection: all
|
||||
@-copy *.gir $(G_IR_INCLUDEDIR)
|
||||
@-copy /b *.typelib $(G_IR_TYPELIBDIR)
|
||||
|
||||
!else
|
||||
all:
|
||||
@-echo $(ERROR_MSG)
|
||||
!endif
|
||||
|
||||
clean:
|
||||
@-del /f/q *.typelib
|
||||
@-del /f/q *.gir
|
@@ -1,86 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Utility script to generate .pc files for GTK+
|
||||
# for Visual Studio builds, to be used for
|
||||
# building introspection files
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: April 26, 2016
|
||||
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
from replace import replace_multi, replace
|
||||
from pc_base import BasePCItems
|
||||
|
||||
def main(argv):
|
||||
base_pc = BasePCItems()
|
||||
|
||||
gdk_parser = argparse.ArgumentParser(description='Setup basic .pc file info')
|
||||
gdk_parser.add_argument('--vulkan',
|
||||
action='store_const',
|
||||
const=1,
|
||||
help='GSK with Vulkan renderer')
|
||||
gdk_parser.add_argument('--host',
|
||||
required=True,
|
||||
help='Build type')
|
||||
base_pc.setup(argv, gdk_parser)
|
||||
|
||||
atk_min_ver = '2.15.1'
|
||||
cairo_min_ver = '1.15.2'
|
||||
gdk_pixbuf_min_ver = '2.30.0'
|
||||
gdk_win32_sys_libs = '-lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid -lwinmm -ldwmapi'
|
||||
glib_min_ver = '2.49.4'
|
||||
epoxy_min_ver = '1.0'
|
||||
graphene_min_ver = '1.2'
|
||||
|
||||
cairo_backends = 'cairo-win32'
|
||||
gdk_backends = 'win32'
|
||||
gio_package = 'gio-2.0 >= ' + glib_min_ver
|
||||
vulkan_extra_libs = ''
|
||||
|
||||
gdk_args = gdk_parser.parse_args()
|
||||
if getattr(gdk_args, 'vulkan', None) is 1:
|
||||
# On Visual Studio, we link to zlib1.lib
|
||||
vulkan_extra_libs = ' -lvulkan-1'
|
||||
gdk_backends += ' vulkan'
|
||||
cairo_backends += ' cairo'
|
||||
|
||||
pkg_replace_items = {'@GTK_API_VERSION@': '4.0',
|
||||
'@GDK_BACKENDS@': gdk_backends}
|
||||
|
||||
pkg_required_packages = 'gdk-pixbuf >= ' + gdk_pixbuf_min_ver + ' ' + \
|
||||
'cairo >= ' + cairo_min_ver + ' ' + \
|
||||
'cairo-gobject >= ' + cairo_min_ver
|
||||
|
||||
gtk_pc_replace_items = {'@host@': gdk_args.host,
|
||||
'@GTK_BINARY_VERSION@': '4.0.0',
|
||||
'@GDK_PACKAGES@': gio_package + ' ' + \
|
||||
'pangowin32 pangocairo' + ' ' + \
|
||||
pkg_required_packages,
|
||||
'@GSK_PACKAGES@': pkg_required_packages + ' ' + \
|
||||
'graphene-1.0 >= ' + graphene_min_ver,
|
||||
'@GTK_PACKAGES@': 'atk >= ' + atk_min_ver + ' ' + \
|
||||
pkg_required_packages + ' ' + \
|
||||
gio_package,
|
||||
'@GDK_PRIVATE_PACKAGES@': gio_package + ' ' + cairo_backends,
|
||||
'@GSK_PRIVATE_PACKAGES@': 'epoxy >= ' + epoxy_min_ver,
|
||||
'@GTK_PRIVATE_PACKAGES@': 'atk',
|
||||
'@GDK_EXTRA_CFLAGS@': '',
|
||||
'@GSK_EXTRA_CFLAGS@': '',
|
||||
'@GTK_EXTRA_CFLAGS@': '',
|
||||
'@GDK_EXTRA_LIBS@': gdk_win32_sys_libs + vulkan_extra_libs,
|
||||
'@GSK_EXTRA_LIBS@': '',
|
||||
'@GTK_EXTRA_LIBS@': ''}
|
||||
|
||||
pkg_replace_items.update(base_pc.base_replace_items)
|
||||
gtk_pc_replace_items.update(pkg_replace_items)
|
||||
|
||||
# Generate gtk+-4.0.pc
|
||||
replace_multi(base_pc.top_srcdir + '/gtk+-4.0.pc.in',
|
||||
base_pc.srcdir + '/gtk+-4.0.pc',
|
||||
gtk_pc_replace_items)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main(sys.argv))
|
@@ -1,94 +0,0 @@
|
||||
# Common NMake Makefile module for checking the build environment is sane
|
||||
# for building introspection files under MSVC/NMake.
|
||||
# This can be copied from $(gi_srcroot)\build\win32 for GNOME items
|
||||
# that support MSVC builds and introspection under MSVC.
|
||||
|
||||
# Can override with env vars as needed
|
||||
# You will need to have built gobject-introspection for this to work.
|
||||
# Change or pass in or set the following to suit your environment
|
||||
|
||||
!if "$(PREFIX)" == ""
|
||||
PREFIX = ..\..\vs$(VSVER)\$(PLAT)
|
||||
!endif
|
||||
|
||||
!if ![setlocal] && \
|
||||
![set PFX=$(PREFIX)] && \
|
||||
![for %P in (%PFX%) do @echo PREFIX_FULL=%~dpnfP > pfx.x]
|
||||
!endif
|
||||
!include pfx.x
|
||||
|
||||
!if "$(PKG_CONFIG_PATH)" == ""
|
||||
PKG_CONFIG_PATH=$(PREFIX_FULL)\lib\pkgconfig
|
||||
!else
|
||||
PKG_CONFIG_PATH=$(PREFIX_FULL)\lib\pkgconfig;$(PKG_CONFIG_PATH)
|
||||
!endif
|
||||
|
||||
!if ![del $(ERRNUL) /q/f pfx.x]
|
||||
!endif
|
||||
|
||||
# Note: The PYTHON must be the Python release series that was used to build
|
||||
# the GObject-introspection scanner Python module!
|
||||
# Either having python.exe your PATH will work or passing in
|
||||
# PYTHON=<full path to your Python interpretor> will do
|
||||
|
||||
# This is required, and gobject-introspection needs to be built
|
||||
# before this can be successfully run.
|
||||
!if "$(PYTHON)" == ""
|
||||
PYTHON=python
|
||||
!endif
|
||||
|
||||
# Path to the pkg-config tool, if not already in the PATH
|
||||
!if "$(PKG_CONFIG)" == ""
|
||||
PKG_CONFIG=pkg-config
|
||||
!endif
|
||||
|
||||
# Don't change anything following this line!
|
||||
|
||||
GIR_SUBDIR = share\gir-1.0
|
||||
GIR_TYPELIBDIR = lib\girepository-1.0
|
||||
G_IR_SCANNER = $(PREFIX)\bin\g-ir-scanner
|
||||
G_IR_COMPILER = $(PREFIX)\bin\g-ir-compiler.exe
|
||||
G_IR_INCLUDEDIR = $(PREFIX)\$(GIR_SUBDIR)
|
||||
G_IR_TYPELIBDIR = $(PREFIX)\$(GIR_TYPELIBDIR)
|
||||
|
||||
VALID_PKG_CONFIG_PATH = FALSE
|
||||
|
||||
MSG_INVALID_PKGCONFIG = You must set or specifiy a valid PKG_CONFIG_PATH
|
||||
MSG_INVALID_CFG = You need to specify or set CFG to be release or debug to use this Makefile to build the Introspection Files
|
||||
|
||||
ERROR_MSG =
|
||||
|
||||
BUILD_INTROSPECTION = TRUE
|
||||
|
||||
!if ![set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)] \
|
||||
&& ![$(PKG_CONFIG) --print-errors --errors-to-stdout $(CHECK_PACKAGE) > pkgconfig.x] \
|
||||
&& ![setlocal] \
|
||||
&& ![set file="pkgconfig.x"] \
|
||||
&& ![FOR %A IN (%file%) DO @echo PKG_CHECK_SIZE=%~zA > pkgconfig.chksize] \
|
||||
&& ![del $(ERRNUL) /q/f pkgconfig.x]
|
||||
!endif
|
||||
|
||||
!include pkgconfig.chksize
|
||||
!if "$(PKG_CHECK_SIZE)" == "0"
|
||||
VALID_PKG_CONFIG_PATH = TRUE
|
||||
!else
|
||||
VALID_PKG_CONFIG_PATH = FALSE
|
||||
!endif
|
||||
|
||||
!if ![del $(ERRNUL) /q/f pkgconfig.chksize]
|
||||
!endif
|
||||
|
||||
VALID_CFGSET = FALSE
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
|
||||
VALID_CFGSET = TRUE
|
||||
!endif
|
||||
|
||||
!if "$(VALID_PKG_CONFIG_PATH)" != "TRUE"
|
||||
BUILD_INTROSPECTION = FALSE
|
||||
ERROR_MSG = $(MSG_INVALID_PKGCONFIG)
|
||||
!endif
|
||||
|
||||
!if "$(VALID_CFGSET)" != "TRUE"
|
||||
BUILD_INTROSPECTION = FALSE
|
||||
ERROR_MSG = $(MSG_INVALID_CFG)
|
||||
!endif
|
124
win32/pc_base.py
124
win32/pc_base.py
@@ -1,124 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Simple utility script to generate the basic info
|
||||
# needed in a .pc (pkg-config) file, used especially
|
||||
# for introspection purposes
|
||||
|
||||
# This can be used in various projects where
|
||||
# there is the need to generate .pc files,
|
||||
# and is copied from GLib's $(srcroot)/build/win32
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: March 10, 2016
|
||||
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
class BasePCItems:
|
||||
def __init__(self):
|
||||
self.base_replace_items = {}
|
||||
self.exec_prefix = ''
|
||||
self.includedir = ''
|
||||
self.libdir = ''
|
||||
self.prefix = ''
|
||||
self.srcdir = os.path.dirname(__file__)
|
||||
self.top_srcdir = self.srcdir + '\\..'
|
||||
self.version = ''
|
||||
|
||||
def setup(self, argv, parser=None):
|
||||
if parser is None:
|
||||
parser = argparse.ArgumentParser(description='Setup basic .pc file info')
|
||||
parser.add_argument('--prefix', help='prefix of the installed library',
|
||||
required=True)
|
||||
parser.add_argument('--exec-prefix',
|
||||
help='prefix of the installed programs, \
|
||||
if different from the prefix')
|
||||
parser.add_argument('--includedir',
|
||||
help='includedir of the installed library, \
|
||||
if different from ${prefix}/include')
|
||||
parser.add_argument('--libdir',
|
||||
help='libdir of the installed library, \
|
||||
if different from ${prefix}/lib')
|
||||
parser.add_argument('--version', help='Version of the package',
|
||||
required=True)
|
||||
args = parser.parse_args()
|
||||
|
||||
self.version = args.version
|
||||
|
||||
# check whether the prefix and exec_prefix are valid
|
||||
if not os.path.exists(args.prefix):
|
||||
raise SystemExit('Specified prefix \'%s\' is invalid' % args.prefix)
|
||||
|
||||
# use absolute paths for prefix
|
||||
self.prefix = os.path.abspath(args.prefix).replace('\\','/')
|
||||
|
||||
# check and setup the exec_prefix
|
||||
if getattr(args, 'exec_prefix', None) is None:
|
||||
exec_prefix_use_shorthand = True
|
||||
self.exec_prefix = '${prefix}'
|
||||
else:
|
||||
if args.exec_prefix.startswith('${prefix}'):
|
||||
exec_prefix_use_shorthand = True
|
||||
input_exec_prefix = args.prefix + args.exec_prefix[len('${prefix}'):]
|
||||
else:
|
||||
exec_prefix_use_shorthand = False
|
||||
input_exec_prefix = args.exec_prefix
|
||||
if not os.path.exists(input_exec_prefix):
|
||||
raise SystemExit('Specified exec_prefix \'%s\' is invalid' %
|
||||
args.exec_prefix)
|
||||
if exec_prefix_use_shorthand is True:
|
||||
self.exec_prefix = args.exec_prefix.replace('\\','/')
|
||||
else:
|
||||
self.exec_prefix = os.path.abspath(input_exec_prefix).replace('\\','/')
|
||||
|
||||
# check and setup the includedir
|
||||
if getattr(args, 'includedir', None) is None:
|
||||
self.includedir = '${prefix}/include'
|
||||
else:
|
||||
if args.includedir.startswith('${prefix}'):
|
||||
includedir_use_shorthand = True
|
||||
input_includedir = args.prefix + args.includedir[len('${prefix}'):]
|
||||
else:
|
||||
if args.includedir.startswith('${exec_prefix}'):
|
||||
includedir_use_shorthand = True
|
||||
input_includedir = input_exec_prefix + args.includedir[len('${exec_prefix}'):]
|
||||
else:
|
||||
includedir_use_shorthand = False
|
||||
input_includedir = args.includedir
|
||||
if not os.path.exists(input_includedir):
|
||||
raise SystemExit('Specified includedir \'%s\' is invalid' %
|
||||
args.includedir)
|
||||
if includedir_use_shorthand is True:
|
||||
self.includedir = args.includedir.replace('\\','/')
|
||||
else:
|
||||
self.includedir = os.path.abspath(input_includedir).replace('\\','/')
|
||||
|
||||
# check and setup the libdir
|
||||
if getattr(args, 'libdir', None) is None:
|
||||
self.libdir = '${prefix}/lib'
|
||||
else:
|
||||
if args.libdir.startswith('${prefix}'):
|
||||
libdir_use_shorthand = True
|
||||
input_libdir = args.prefix + args.libdir[len('${prefix}'):]
|
||||
else:
|
||||
if args.libdir.startswith('${exec_prefix}'):
|
||||
libdir_use_shorthand = True
|
||||
input_libdir = input_exec_prefix + args.libdir[len('${exec_prefix}'):]
|
||||
else:
|
||||
libdir_use_shorthand = False
|
||||
input_libdir = args.libdir
|
||||
if not os.path.exists(input_libdir):
|
||||
raise SystemExit('Specified libdir \'%s\' is invalid' %
|
||||
args.libdir)
|
||||
if libdir_use_shorthand is True:
|
||||
self.libdir = args.libdir.replace('\\','/')
|
||||
else:
|
||||
self.libdir = os.path.abspath(input_libdir).replace('\\','/')
|
||||
|
||||
# setup dictionary for replacing items in *.pc.in
|
||||
self.base_replace_items.update({'@VERSION@': self.version})
|
||||
self.base_replace_items.update({'@prefix@': self.prefix})
|
||||
self.base_replace_items.update({'@exec_prefix@': self.exec_prefix})
|
||||
self.base_replace_items.update({'@libdir@': self.libdir})
|
||||
self.base_replace_items.update({'@includedir@': self.includedir})
|
115
win32/replace.py
115
win32/replace.py
@@ -1,115 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Simple utility script to manipulate
|
||||
# certain types of strings in a file
|
||||
|
||||
# This can be used in various projects where
|
||||
# there is the need to replace strings in files,
|
||||
# and is copied from GLib's $(srcroot)/build/win32
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: September 03, 2014
|
||||
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import string
|
||||
import argparse
|
||||
|
||||
valid_actions = ['remove-prefix',
|
||||
'replace-var',
|
||||
'replace-str',
|
||||
'remove-str']
|
||||
|
||||
def open_file(filename, mode):
|
||||
if sys.version_info[0] < 3:
|
||||
return open(filename, mode=mode)
|
||||
else:
|
||||
return open(filename, mode=mode, encoding='utf-8')
|
||||
|
||||
def replace_multi(src, dest, replace_items):
|
||||
with open_file(src, 'r') as s:
|
||||
with open_file(dest, 'w') as d:
|
||||
for line in s:
|
||||
replace_dict = dict((re.escape(key), value) \
|
||||
for key, value in replace_items.items())
|
||||
replace_pattern = re.compile("|".join(replace_dict.keys()))
|
||||
d.write(replace_pattern.sub(lambda m: \
|
||||
replace_dict[re.escape(m.group(0))], line))
|
||||
|
||||
def replace(src, dest, instring, outstring):
|
||||
replace_item = {instring: outstring}
|
||||
replace_multi(src, dest, replace_item)
|
||||
|
||||
def check_required_args(args, params):
|
||||
for param in params:
|
||||
if getattr(args, param, None) is None:
|
||||
raise SystemExit('%s: error: --%s argument is required' % (__file__, param))
|
||||
|
||||
def warn_ignored_args(args, params):
|
||||
for param in params:
|
||||
if getattr(args, param, None) is not None:
|
||||
print('%s: warning: --%s argument is ignored' % (__file__, param))
|
||||
|
||||
def main(argv):
|
||||
|
||||
parser = argparse.ArgumentParser(description='Process strings in a file.')
|
||||
parser.add_argument('-a',
|
||||
'--action',
|
||||
help='Action to carry out. Can be one of:\n'
|
||||
'remove-prefix\n'
|
||||
'replace-var\n'
|
||||
'replace-str\n'
|
||||
'remove-str',
|
||||
choices=valid_actions)
|
||||
parser.add_argument('-i', '--input', help='Input file')
|
||||
parser.add_argument('-o', '--output', help='Output file')
|
||||
parser.add_argument('--instring', help='String to replace or remove')
|
||||
parser.add_argument('--var', help='Autotools variable name to replace')
|
||||
parser.add_argument('--outstring',
|
||||
help='New String to replace specified string or variable')
|
||||
parser.add_argument('--removeprefix', help='Prefix of string to remove')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
input_string = ''
|
||||
output_string = ''
|
||||
|
||||
# We must have action, input, output for all operations
|
||||
check_required_args(args, ['action','input','output'])
|
||||
|
||||
# Build the arguments by the operation that is to be done,
|
||||
# to be fed into replace()
|
||||
|
||||
# Get rid of prefixes from a string
|
||||
if args.action == 'remove-prefix':
|
||||
check_required_args(args, ['instring','removeprefix'])
|
||||
warn_ignored_args(args, ['outstring','var'])
|
||||
input_string = args.removeprefix + args.instring
|
||||
output_string = args.instring
|
||||
|
||||
# Replace an m4-style variable (those surrounded by @...@)
|
||||
if args.action == 'replace-var':
|
||||
check_required_args(args, ['var','outstring'])
|
||||
warn_ignored_args(args, ['instring','removeprefix'])
|
||||
input_string = '@' + args.var + '@'
|
||||
output_string = args.outstring
|
||||
|
||||
# Replace a string
|
||||
if args.action == 'replace-str':
|
||||
check_required_args(args, ['instring','outstring'])
|
||||
warn_ignored_args(args, ['var','removeprefix'])
|
||||
input_string = args.instring
|
||||
output_string = args.outstring
|
||||
|
||||
# Remove a string
|
||||
if args.action == 'remove-str':
|
||||
check_required_args(args, ['instring'])
|
||||
warn_ignored_args(args, ['var','outstring','removeprefix'])
|
||||
input_string = args.instring
|
||||
output_string = ''
|
||||
|
||||
replace(args.input, args.output, input_string, output_string)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main(sys.argv))
|
@@ -1,71 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
GENERATED_ITEMS = \
|
||||
gdk4-win32.vcxproj \
|
||||
gdk4-win32.vcxproj.filters \
|
||||
gdk-4.vcxproj \
|
||||
gdk-4.vcxproj.filters \
|
||||
gsk-4.vcxproj \
|
||||
gsk-4.vcxproj.filters \
|
||||
gtk-4.vcxproj \
|
||||
gtk-4.vcxproj.filters \
|
||||
gtk4-demo.vcxproj \
|
||||
gtk4-demo.vcxproj.filters \
|
||||
gtk4-demo-application.vcxproj \
|
||||
gtk4-demo-application.vcxproj.filters \
|
||||
gtk4-icon-browser.vcxproj \
|
||||
gtk4-icon-browser.vcxproj.filters \
|
||||
gtk4-install.props \
|
||||
gtk4-version-paths.props
|
||||
|
||||
MSVC12_HEADERS_LISTS = \
|
||||
gdk4-win32.vs12.headers \
|
||||
gdk-4.vs12.headers \
|
||||
gsk-4.vs12.headers \
|
||||
gtk-4.vs12.headers
|
||||
|
||||
EXTRA_DIST += \
|
||||
README.txt \
|
||||
gtk+-4.sln \
|
||||
gtk4-prebuild.vcxproj \
|
||||
gtk4-prebuild.vcxproj.filters \
|
||||
gdk4-win32.vcxprojin \
|
||||
gdk4-win32.vcxproj.filtersin \
|
||||
gdk-4.vcxprojin \
|
||||
gdk-4.vcxproj.filtersin \
|
||||
gsk-4.vcxprojin \
|
||||
gsk-4.vcxproj.filtersin \
|
||||
gtk-4.vcxprojin \
|
||||
gtk-4.vcxproj.filtersin \
|
||||
gtk4-builder-tool.vcxproj \
|
||||
gtk4-builder-tool.vcxproj.filters \
|
||||
gtk4-encode-symbolic-svg.vcxproj \
|
||||
gtk4-encode-symbolic-svg.vcxproj.filters \
|
||||
gtk4-query-settings.vcxproj \
|
||||
gtk4-query-settings.vcxproj.filters \
|
||||
gtk4-update-icon-cache.vcxproj \
|
||||
gtk4-update-icon-cache.vcxproj.filters \
|
||||
gtk4-demo.vcxprojin \
|
||||
gtk4-demo.vcxproj.filtersin \
|
||||
gtk4-demo-application.vcxprojin \
|
||||
gtk4-demo-application.vcxproj.filtersin \
|
||||
gtk4-icon-browser.vcxprojin \
|
||||
gtk4-icon-browser.vcxproj.filtersin \
|
||||
gtk4-install.vcxproj \
|
||||
gtk4-install.vcxproj.filters \
|
||||
gtk4-build-defines.props \
|
||||
gtk4-gen-srcs.props \
|
||||
gtk4-install.propsin \
|
||||
gtk4-version-paths.props.in \
|
||||
$(GENERATED_ITEMS)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(GENERATED_ITEMS)
|
||||
|
||||
gtk4-install.props: $(top_srcdir)/win32/vs12/gtk4-install.propsin $(MSVC12_HEADERS_LISTS)
|
||||
-$(RM) $(top_builddir)/win32/vs14/gtk4-install.props
|
||||
-$(RM) $(top_builddir)/win32/vs15/gtk4-install.props
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs12/gtk4-install.propsin >$@
|
||||
rm $(MSVC12_HEADERS_LISTS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@@ -1,109 +0,0 @@
|
||||
Please do not compile this package (GTK+) in paths that contain
|
||||
spaces in them-as strange problems may occur during compilation or during
|
||||
the use of the library.
|
||||
|
||||
A more detailed outline for instructions on building the GTK+ with Visual
|
||||
C++ can be found in the following GNOME Live! page:
|
||||
|
||||
https://wiki.gnome.org/Projects/GTK+/Win32/MSVCCompilationOfGTKStack
|
||||
|
||||
This VS12 solution and the projects it includes are intented to be used
|
||||
in a GTK+ source tree unpacked from a tarball. In a git checkout you
|
||||
first need to use some Unix-like environment or manual work to expand
|
||||
the files needed, like config.h.win32.in into config.h.win32 and the
|
||||
.vcxprojin and .vcxproj.filtersin files here into corresponding actual
|
||||
.vcxproj and vcxproj.filters files.
|
||||
|
||||
You will need the parts from below in the GTK+ stack: GDK-Pixbuf, Pango,
|
||||
ATK and GLib. External dependencies are at least Cairo
|
||||
(with Cairo-GObject support, meaning Cairo 1.10.x or later), zlib, libpng,
|
||||
gettext-runtime, fontconfig*, freetype*, expat*. See the
|
||||
build/win32/vs12/README.txt file in glib for details where to unpack them.
|
||||
|
||||
You will also need a Python 2.6+/3.x interpretor installed on your system,
|
||||
which can be obtained from the official installers available from
|
||||
http://www.python.org. Please note that the Python interpretor (python.exe)
|
||||
either needs to be in your PATH before attempting the build of GTK+, or it
|
||||
can be found in the path specified by PythonPath in gtk-version-paths.props.
|
||||
If you happen to change the PythonPath setting in gtk-version-paths.props after
|
||||
opening gtk+.sln with Visual Studio, you will need to close the gtk+.sln solution,
|
||||
delete all the *.sdf, *.suo and *.user files before re-attempting the build.
|
||||
|
||||
It is recommended that one builds the dependencies with VS12 as far as
|
||||
possible, especially those from and using the GTK+ stack (i.e. GLib,
|
||||
Cairo, ATK, Pango, GDK-Pixbuf), so that crashes caused by mixing calls
|
||||
to different CRTs can be kept at a minimum.
|
||||
|
||||
To build with Vulkan renderer support, use the configs that end with _Vulkan.
|
||||
You will need the LunarG Vulkan SDK installed, and its include\ directory
|
||||
and Bin\ (64-bit) or Bin32 (32-bit) need to be in your INCLUDE and LIB paths
|
||||
(or need to be set in your additional include paths and additional library paths)
|
||||
so that they can be found by the build. To run with the Vulkan renderer, set
|
||||
GSK_RENDERER=vulkan--you will need a video adapter with driver support for Vulkan
|
||||
to support this.
|
||||
|
||||
zlib, libpng, and Cairo do contain support for compiling under VS12
|
||||
using VS project files and/or makefiles at this time of writing, For the
|
||||
GTK+ stack, VS12 project files are either available under
|
||||
$(srcroot)/build/vs12 in the case of GLib (stable/unstable), ATK
|
||||
(stable/unstable) and GDK-Pixbuf (unstable), and should be in the next
|
||||
unstable version of Pango. There is no known official VS12 build
|
||||
support for fontconfig (along with freetype and expat) and
|
||||
gettext-runtime, so please use the binaries from:
|
||||
|
||||
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ (32 bit)
|
||||
ftp://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ (64 bit)
|
||||
|
||||
Unzip the binaries obtained from ftp.gnome.org in <root>\vs12\<PlatformName>,
|
||||
and build the following, if not already done so:
|
||||
|
||||
Note: put the resulting zlib, libpng, pcre and Cairo files as follows:
|
||||
.dll files: <root>\vs12\<PlatformName>\bin
|
||||
.lib files: <root>\vs12\<PlatformName>\lib
|
||||
.h files: <root>\vs12\<PlatformName>\include
|
||||
|
||||
The recommended build order for these dependencies:
|
||||
(first unzip any dependent binaries downloaded from the ftp.gnome.org
|
||||
as described in the README.txt file in the build/win32/vs12 folder)
|
||||
-zlib
|
||||
-libpng
|
||||
-(for GDK-Pixbuf, if not using GDI+) IJG JPEG or libjpeg-turbo
|
||||
-(for GDK-Pixbuf, if not using GDI+) libtiff
|
||||
[libtiff requires zlib and IJG JPEG or libjpeg-turbo]
|
||||
-(for GDK-Pixbuf, if not using GDI+) jasper [jpeg-2000 library]
|
||||
-(optional for GLib) PCRE (version 8.12 or later, use of CMake to
|
||||
build PCRE is recommended-see build/win32/vs12/README.txt of GLib)
|
||||
-GLib **
|
||||
-Cairo (inclusive of Cairo-GObject)
|
||||
-ATK**
|
||||
-Pango**
|
||||
-GDK-Pixbuf**
|
||||
(note the last 3 dependencies are not interdependent, so the last 3
|
||||
dependencies can be built in any order)
|
||||
|
||||
The "install" project will copy build results and headers into their
|
||||
appropriate location under <root>\vs12\<PlatformName>. For instance,
|
||||
built DLLs go into <root>\vs12\<PlatformName>\bin, built LIBs into
|
||||
<root>\vs12\<PlatformName>\lib and GTK+ headers into
|
||||
<root>\vs12\<PlatformName>\include\gtk-3.0. This is then from where
|
||||
project files higher in the stack are supposed to look for them, not
|
||||
from a specific GLib source tree.
|
||||
|
||||
Please note, as GTK+ uses the Adwaita theme for all platforms by default,
|
||||
most icons used are not included with GTK+ (which *are* needed), so please see
|
||||
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack (under the
|
||||
GTK+ section) on how to get those icons set up for use with GTK+.
|
||||
|
||||
*About the dependencies marked with *: These dependencies are optional
|
||||
as those are not compulsory components for building and running GTK+
|
||||
itself, but note that they are needed for people running and building
|
||||
GIMP or those who need complex script support via fontconfig. They
|
||||
are referred to by components in Cairo and Pango mainly.
|
||||
Decide whether you need fontconfig support prior to building Cairo
|
||||
and Pango.
|
||||
|
||||
**:Put the sources of the packages marked with ** in <root>\<package-
|
||||
source-tree>, and build with VS12 from there.
|
||||
|
||||
--Tor Lillqvist <tml@iki.fi>
|
||||
--Updated by Chun-wei Fan <fanc999@yahoo.com.tw>
|
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
#include "gdk-4.vs12.sourcefiles.filters"
|
||||
<ClCompile Include="..\..\gdk\gdkkeynames.c"><Filter>Source Files</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -1,126 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{5AE8F5CE-9103-4951-AEDE-EA2F3B573BE8}</ProjectGuid>
|
||||
<RootNamespace>gdk4</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="gtk4-build-defines.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="gtk4-build-defines.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="gtk4-build-defines.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="gtk4-build-defines.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\gdk;..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..\..\gdk;..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\gdk;..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..\..\gdk;..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
#include "gdk-4.vs12.sourcefiles"
|
||||
<ClCompile Include="..\..\gdk\gdkkeynames.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user