Commit Graph

247 Commits

Author SHA1 Message Date
Руслан Ижбулатов
5eb286b744 Make certain gtk3 types conditional (GST-style)
https://bugzilla.gnome.org/show_bug.cgi?id=675895
2012-05-17 00:01:46 -04:00
Natanael Copa
d6aee922bb Bug 676087-configure.ac: isnan() and isinf() are macros, not functions
The isnan() and isinf() are C99 macros not functions so use
AC_CHECK_DECL instead of AC_CHECK_FUNCS for those.
2012-05-16 23:55:40 -04:00
Benjamin Otte
20583c6d98 build: Don't invoke pkg-config directly
Instead, always use PKG_CHECK_MODULES(). That macro actually gets it
right. In particular the erroring out part when you miss xkbcommon or
wayland-client.
2012-05-07 04:12:26 +02:00
Chun-wei Fan
c97f0b660c Bug 670499-configure.ac: Check for nearbyint(), isinf() and isnan()
nearbyint(), isinf() and isnan() are C99 functions, so check for them.

Also clean up configure.ac a little bit as the checks for rint() and
round() can be a bit simpler, according to Matthias' suggestions.
2012-05-03 11:54:41 +08:00
Benjamin Otte
b0317280e7 build: Set G_ENABLE_DEBUG for minimal --enable-debug=minimum
With that flag set, we get GDK_DEBUG and GTK_DEBUG support. And those
provide useful features we want when debugging.
2012-05-02 02:00:11 +02:00
Matthias Clasen
b07e51bfee Bump version 2012-04-30 23:18:49 -04:00
Matthias Clasen
c0708f23df Bump to 3.5.2 2012-04-30 23:02:18 -04:00
Ryan Lortie
af71917015 GtkApplication: adjust to GApplication changes
GApplication now makes the session bus and object path available as a
public API on the application instance.  Use that instead of trying to
guess values for ourselves.

This causes this version of Gtk+ to depend on GLib 2.32.2, so bumping
version dependency accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=671249
2012-04-30 17:50:45 -04:00
Matthias Clasen
328add40ca Updates for 3.5.1 2012-04-30 07:02:01 -04:00
John Ralls
bfad99ad52 Bug 670373: modules/printing/cups/gtkprintbackendcups.c won't build with CUPS 1.6
The first, simple changes. Turns off the deprecation warnings and substitutes macros and short ifdef blocks where feasible.
2012-04-23 12:44:06 -07:00
Ryan Lortie
e84809c56a ./configure: fix error output for no -libXext
Due to the way the tests are structured, a missing libXext will give a
warning about a missing libX11 (even if libX11 is installed).  This is
confusing to people who are trying to build Gtk.

https://bugzilla.gnome.org/show_bug.cgi?id=674200
2012-04-20 14:38:47 -04:00
Rob Bradford
ba81a3a14c build: Add an enable flag to allow enabling Cairo GL backend
This change adds --enable-wayland-cairo-gl which turns on the define used in
the Wayland backend to determine whether to use EGL surfaces with Cairo GL or
whether to use the Cairo image backend with an SHM surface (the default).

Part of the fix for: https://bugzilla.gnome.org/show_bug.cgi?id=672361
2012-04-16 16:05:51 +01:00
Rob Bradford
cdf5c2af62 wayland: Add support for rendering into an SHM buffer with Cairo image backend
The first version of this change included a bug that meant that if you don't
compile for any other backend then it wouldn't search for cairo. Credit for
identifying the bug goes to darxus@chaosreigns.com.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=672361
2012-04-16 15:09:14 +01:00
Matthias Clasen
158784f66b Bump version 2012-04-13 21:26:43 -04:00
Cosimo Cecchi
398ba38cfe application-window: try to use the desktop name in the fallback menu
Try to fetch the name from the application desktop file for the
fallback menu if possible, instead of forcing applications to use
g_set_application_name or hardcoding "Application".

https://bugzilla.gnome.org/show_bug.cgi?id=673882
2012-04-12 21:41:46 -04:00
Cosimo Cecchi
1713cbe8d0 build: split out a HAVE_GIO_UNIX config variable
We'll use it in GtkApplicationWindow, since we need to conditionally
depend on gio-unix there.

https://bugzilla.gnome.org/show_bug.cgi?id=673882
2012-04-12 21:41:43 -04:00
Kalev Lember
da755ada52 configure: Use AM_PATH_GLIB_2_0() for finding glib-compile-resources
No need to manually set GLIB_COMPILE_RESOURCES when AM_PATH_GLIB_2_0()
does this for us.
2012-04-11 23:12:15 +03:00
Rui Matos
8dcbe9e2de configure.ac: Clean the ms-windows related stuff
Build fix and cleanup for the ms-windows engine removal.
2012-04-04 17:49:10 +02:00
Javier Jardón
440e9cdfd3 configure.ac: Depend on the corresponding stable versions 2012-04-03 03:19:05 +01:00
Matthias Clasen
a3dbc65ced Bump version 2012-03-26 10:14:43 -04:00
Matthias Clasen
c0bd2d9703 3.4.0 2012-03-26 09:26:46 -04:00
Matthias Clasen
d4e3d4ae9b Bump version 2012-03-20 12:36:33 -04:00
Matthias Clasen
f931ffeb77 3.3.20 2012-03-20 12:33:28 -04:00
Javier Jardón
80d54b4533 build: require cups >= 1.2
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=672182
2012-03-19 00:10:14 +00:00
Matthias Clasen
de62a1096b Drop support for pre-R6 X
X11 R6 was released in 1995 - time to let go.
2012-03-10 23:27:21 -05:00
Matthias Clasen
f8fccae852 Drop unused automake condition for XI2
We fail the build if XI2 is not present, nowadays.
2012-03-10 23:15:12 -05:00
Matthias Clasen
82041de9b5 Drop unneeded XI2 defines
The X headers don't use these defines anywhere.
2012-03-10 23:13:19 -05:00
Matthias Clasen
4b05f4178a configure.ac: Improve the checks for XInput 2.2
Check for the XIScrollClassInfo struct in addition to the existing
check for XIAllowTouchEvents() because Ubuntu Oneiric seems to
have an incomplete backport which has one but not the other.

Based on a patch by Murray Cumming,
https://bugzilla.gnome.org/show_bug.cgi?id=671453
2012-03-06 07:45:04 -05:00
Matthias Clasen
3ac4c467b3 Bump version 2012-03-05 17:13:12 -05:00
Matthias Clasen
f1d14f4aa8 3.3.18 2012-03-05 17:12:26 -05:00
Matthias Clasen
185973983a Bump glib dep to 2.31.20
Needed for --valist-marshallers
2012-03-05 08:15:54 -05:00
Javier Jardón
962a5d8b8a Require XInput2.h in X11 backend
Also remove support for XInput.h
2012-03-02 12:52:12 +00:00
Carlos Garnacho
43a38de785 configure: Detect XInput 2.2 2012-03-01 16:19:57 -05:00
Matthias Clasen
e580c79ae0 Add versioned deprecation macros
These macros follow the recent changes in GLibs deprecation
setup. We now annotate deprecated functions with the version
they were deprecated in, and you can define the macro
GDK_VERSION_MIN_REQUIRED to cut off deprecation warnings for
'recent' deprecations.

At the same time, we introduce version annotations for new API
and allow you to avoid 'recent' API additions by defining
GDK_VERSION_MAX_ALLOWED.
2012-02-27 07:11:43 -05:00
Matthias Clasen
ca05315c8a Bump version 2012-02-21 10:45:07 +01:00
Matthias Clasen
fbaa9b2211 Bump glib dep 2012-02-21 02:00:54 +01:00
Matthias Clasen
074bb5d5db Updates 2012-02-21 01:50:19 +01:00
Matthias Clasen
71efe31f16 Move widget-factory to demos/
Lets install this, for the benefit of artists everywhere.
2012-02-09 08:45:40 -05:00
Matthias Clasen
9a2ea96a1b Bump version 2012-02-06 17:32:46 -05:00
Matthias Clasen
de1b5e67b6 3.3.14 2012-02-06 16:38:47 -05:00
Matthias Clasen
a45b3df9d0 Bump requirements of glib and gdk-pixbuf 2012-02-05 17:56:22 -05:00
Matthias Clasen
36242f8035 Bump version 2012-01-30 23:16:43 -05:00
Matthias Clasen
25231e36a2 3.3.12 2012-01-30 23:15:55 -05:00
Benjamin Otte
fd4f701c50 css: Use GArray in GtkCssComputedValues
GValueArray is deprecated in glib. Also, bump the required glib version
for g_array_set_clear_func().
2012-01-25 19:05:33 +01:00
Matthias Clasen
d5656b6139 bump rev 2012-01-20 16:13:37 -05:00
Matthias Clasen
d9f1ac1c9c 3.3.10 2012-01-20 16:12:25 -05:00
Matthias Clasen
15b4198a80 Bump GLib dep
This is needed for the app menu moves.
2012-01-20 15:30:46 -05:00
Matthias Clasen
299a4eca28 Back to odd 2012-01-16 23:14:07 -05:00
Matthias Clasen
4d76860697 3.3.8 2012-01-16 23:13:27 -05:00
Matthias Clasen
f802b7e0a8 Bump GLib dep to 2.31.10
Needed for GResource
2012-01-16 17:24:27 -05:00