Skip to content

Commit

Permalink
2005-10-21 Matthew Allum <[email protected]>
Browse files Browse the repository at this point in the history
        * configure.ac:
        * src/Makefile.am:
        * src/matchbox-keyboard-ui-cairo-backend.c:
        * src/matchbox-keyboard-ui-cairo-backend.h:
        * src/matchbox-keyboard-ui-xft-backend.c:
        * src/matchbox-keyboard-ui-xft-backend.h:
        * src/matchbox-keyboard-ui.c: (mb_kbd_ui_resources_create):
        * src/matchbox-keyboard.h:
        Break out rendering backend and add optional initial cairo
        based rendering backend ( based on patch from Tuukka Pasanen )

        * layouts/Makefile.am:
        * layouts/keyboard-fi.xml:
        Add finish layout via  Tuukka Pasanen

git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1265 b067294f-1dea-0310-9683-c47a78595994
  • Loading branch information
mallum committed Oct 20, 2005
1 parent 74587ec commit 5be8f19
Show file tree
Hide file tree
Showing 11 changed files with 1,237 additions and 251 deletions.
17 changes: 17 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
2005-10-21 Matthew Allum <[email protected]>

* configure.ac:
* src/Makefile.am:
* src/matchbox-keyboard-ui-cairo-backend.c:
* src/matchbox-keyboard-ui-cairo-backend.h:
* src/matchbox-keyboard-ui-xft-backend.c:
* src/matchbox-keyboard-ui-xft-backend.h:
* src/matchbox-keyboard-ui.c: (mb_kbd_ui_resources_create):
* src/matchbox-keyboard.h:
Break out rendering backend and add optional initial cairo
based rendering backend ( based on patch from Tuukka Pasanen )

* layouts/Makefile.am:
* layouts/keyboard-fi.xml:
Add finish layout via Tuukka Pasanen

2005-10-10 Matthew Allum <[email protected]>

* src/matchbox-keyboard-ui.c: (mb_kbd_ui_event_loop):
Expand Down
33 changes: 28 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_FUNC_STAT

AC_ARG_ENABLE(debug,
[ --enable-debug enable debug ( verbose ) build],
enable_debug=$enableval, enable_debug=no )

AC_ARG_ENABLE(cairo,
[ --disable-cairo disable Cairo support [default=auto]],
enable_cairo=$enableval,
enable_cairo=yes)

AC_ARG_ENABLE(debug,
[ --enable-debug enable debug ( verbose ) build],
enable_debug=$enableval, enable_debug=no )
Expand All @@ -37,9 +46,20 @@ AC_ARG_WITH(expat-lib,
[ --with-expat-lib=DIR Use Expat library in DIR],
expat_lib=$withval, expat_lib=yes)

PKG_CHECK_MODULES(FAKEKEY, libfakekey,,
AC_MSG_ERROR([*** You need to install libfakekey from MB SVN ***]))

if test x$enable_cairo = xyes; then
PKG_CHECK_MODULES(CAIRO, cairo,, [enable_cairo="no"])
fi

if test x$enable_cairo = xno; then
PKG_CHECK_MODULES(XFT, xft,,
AC_MSG_ERROR([*** Required xft Librarys not found ***]))
fi

AM_CONDITIONAL(WANT_CAIRO, test x$enable_cairo = xyes)

PKG_CHECK_MODULES(LIBMB, xft libfakekey,,
AC_MSG_ERROR([*** Required Librarys not found ***]))

dnl ------ Expat ------------------------------------------------------------

Expand Down Expand Up @@ -140,14 +160,17 @@ dnl ------ GCC flags --------------------------------------------------------

if test "x$GCC" = "xyes"; then
GCC_WARNINGS="-g -Wall -fno-strict-aliasing"
LIBMB_CFLAGS="$GCC_WARNINGS $LIBMB_CFLAGS"
FAKEKEY_CFLAGS="$GCC_WARNINGS $FAKEKEY_CFLAGS"
fi


dnl ------ Substitute in found libs, clags to Makefiles etc -----------------

AC_SUBST(LIBMB_CFLAGS)
AC_SUBST(LIBMB_LIBS)
AC_SUBST(FAKEKEY_CFLAGS)
AC_SUBST(FAKEKEY_LIBS)

AC_SUBST(XFT_CFLAGS)
AC_SUBST(XFT_LIBS)

AC_SUBST(EXPAT_LIBS)
AC_SUBST(EXPAT_CFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion layouts/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
keyboardsdir = $(datadir)/matchbox-keyboard
keyboards_DATA = keyboard.xml keyboard-extended.xml keyboard-dvorak.xml \
keyboard-ru.xml
keyboard-ru.xml keyboard-fi.xml
Loading

0 comments on commit 5be8f19

Please sign in to comment.