2014-01-02 22:34:55 +01:00
AC_INIT([sugar-toolkit-gtk3],[0.101.1],[],[sugar-toolkit-gtk3])
2006-04-26 06:18:21 +02:00
AC_PREREQ([2.59])
2006-08-21 15:59:40 +02:00
AC_CONFIG_MACRO_DIR([m4])
2006-04-26 06:18:21 +02:00
AC_CONFIG_SRCDIR([configure.ac])
2013-06-27 15:57:46 +02:00
AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip])
2006-04-26 06:18:21 +02:00
2009-10-20 08:26:46 +02:00
AM_MAINTAINER_MODE
2006-08-21 15:59:40 +02:00
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
2008-08-12 01:53:28 +02:00
GNOME_COMPILE_WARNINGS(maximum)
2006-10-16 18:19:44 +02:00
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
2013-09-28 11:33:40 +02:00
PYTHON=python2
2006-04-26 06:18:21 +02:00
AM_PATH_PYTHON
2006-08-21 15:59:40 +02:00
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
2006-04-26 06:18:21 +02:00
2013-01-28 19:01:44 +01:00
PKG_CHECK_MODULES(EXT, gtk+-3.0 gdk-3.0 gdk-pixbuf-2.0 sm ice alsa
2014-01-01 21:58:02 +01:00
librsvg-2.0 xfixes xi x11)
2007-01-23 22:13:03 +01:00
2012-08-31 13:57:06 +02:00
GLIB_MKENUMS=`$PKG_CONFIG glib-2.0 --variable=glib_mkenums`
AC_SUBST(GLIB_MKENUMS)
2006-07-05 17:00:11 +02:00
# Setup GETTEXT
#
2012-03-27 14:00:19 +02:00
ALL_LINGUAS="af am ar aym bg bi bn_IN bn ca cs da de dz el en es fa_AF fa ff fil fr gu ha he hi ht hu id ig is it ja km ko kos mg mi mk ml mn mr ms mvo nb ne nl pa pap pl ps pt_BR pt quz ro ru rw sd si sk sl sq sv sw ta te th tr tvl tzo ug ur vi wa yo zh_CN zh_TW"
2010-02-08 17:58:36 +01:00
2011-12-15 15:55:14 +01:00
GETTEXT_PACKAGE=sugar-toolkit-gtk3
2006-10-13 21:56:27 +02:00
AC_PROG_INTLTOOL([0.33])
2006-07-05 17:00:11 +02:00
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
2012-03-19 20:16:50 +01:00
GOBJECT_INTROSPECTION_REQUIRE([1.30.0])
2011-11-13 17:03:44 +01:00
2006-04-26 06:18:21 +02:00
AC_OUTPUT([
Makefile
sugar-activity: import and make independent of sugar-toolkit GTK versions
As we move to adding support for a second UI toolkit (GTK+ 3.x),
the sugar-activity binary used by all activities must become
backend-toolkit-independent. It would be wasteful to have two backend
toolkits loaded in memory, and in the GTK2/GTK3 case, it is impossible
(importing both results in an instant crash).
To achieve this, we split the existing sugar-toolkit activity/main.py:main()
functionality into two parts, moving it into the sugar-activity binary and
the Activity class as follows:
1. All toolkit-specific stuff is moved into the Activity class (i.e.
everything that interacts with GTK)
2. Everything that can be reasonably/easily moved into the Activity class
is also moved.
3. What remains is the stuff that is inherently involved with the
construction of the Activity object, not related to UI toolkits. This
is moved into the sugar-activity binary.
main.py is then removed from sugar-toolkit, and sugar-activity is moved
from sugar to sugar-toolkit-gtk3 in order to keep toolkit-related code
with the toolkit itself.
With this work done, the one remaining question is how to invoke the main
loop. An optional run_main_loop() method is added to the activity class,
for GTK2 this will run the GTK2 main loop, for GTK3 the GTK3 main loop will
be run, etc.
Signed-off-by: Daniel Drake <dsd@laptop.org>
2011-12-13 20:47:33 +01:00
bin/Makefile
2008-04-29 14:58:34 +02:00
src/Makefile
2011-10-29 10:19:34 +02:00
src/sugar3/Makefile
src/sugar3/activity/Makefile
src/sugar3/bundle/Makefile
src/sugar3/graphics/Makefile
2012-08-31 13:57:06 +02:00
src/sugar3/event-controller/Makefile
2011-10-29 10:19:34 +02:00
src/sugar3/presence/Makefile
src/sugar3/datastore/Makefile
2011-10-29 15:06:45 +02:00
src/sugar3/dispatch/Makefile
2012-12-07 16:53:50 +01:00
src/sugar3/test/Makefile
2013-09-10 22:42:48 +02:00
src/sugar3/config.py
2006-07-05 17:00:11 +02:00
po/Makefile.in
2006-04-26 06:18:21 +02:00
])