root/configure.ac

Revision 98968034776475301602724ac3d400f65e8dd23c, 2.7 kB (checked in by Lincoln de Sousa <lincoln@…>, 5 weeks ago)

Fixing dbus path and name for the RemoteControl? object (Closes: #202)

Guake was exporting a wrong unique name in dbus in both service
file and dbusiface.py. The right one is org.guake.* not org.gnome.Guake
nor org.gnome_terminal.*.

  • Property mode set to 100644
Line 
1# Copyright (C) 2007-2009 Lincoln de Sousa <lincoln@minaslivre.org>
2# Copyright (C) 2007 Gabriel Falcão <gabrielteratos@gmail.com>
3#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License as
6# published by the Free Software Foundation; either version 2 of the
7# License, or (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12# General Public License for more details.
13#
14# You should have received a copy of the GNU General Public
15# License along with this program; if not, write to the
16# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17# Boston, MA 02111-1307, USA.
18
19AC_INIT([guake], [0.4.2], [http://guake.org/])
20
21AC_CONFIG_HEADERS([config.h])
22
23AC_CONFIG_MACRO_DIR([m4])
24
25AM_INIT_AUTOMAKE([-Wall -Werror])
26
27AC_PROG_LIBTOOL
28
29AC_PROG_CC
30
31AC_PROG_INTLTOOL([0.35.0])
32AM_GLIB_GNU_GETTEXT
33
34dnl python checks
35AM_PATH_PYTHON(2.4.0)
36
37PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
38PYTHON_LIBS="-lpython$PYTHON_VERSION"
39PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
40
41AC_SUBST([PYTHON_LIBS])
42AC_SUBST([PYTHON_CFLAGS])
43
44dnl gtk dependencie
45GTK_REQUIRED=2.10.0
46PKG_CHECK_MODULES([DEPENDENCIES], [
47    gtk+-2.0 >= $GTK_REQUIRED
48    pygtk-2.0
49    x11
50])
51AC_SUBST([DEPENDENCIES_CFLAGS])
52AC_SUBST([DEPENDENCIES_LIBS])
53
54dnl expanding useful variables
55AS_AC_EXPAND(LIBDIR, ${libdir})
56AS_AC_EXPAND(BINDIR, ${bindir})
57AS_AC_EXPAND(DATADIR, ${datarootdir})
58
59dnl Checking python-vte
60AC_MSG_CHECKING([for the python-vte package])
61ac_pvte_result=`$PYTHON -c 'try:
62    import vte
63except Exception, e:
64    print str(e)' 2> /dev/null`
65
66if test -z "$ac_pvte_result"; then
67    AC_MSG_RESULT([yes])
68else
69    AC_MSG_RESULT([no])
70    AC_MSG_ERROR([cannot import Python module "vte".
71    Please check if you have python-vte installed. The error was:
72    $ac_pvte_result])
73fi
74
75dnl gconf
76AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
77if test x"$GCONFTOOL" = xno; then
78    AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
79fi
80AM_GCONF_SOURCE_2
81
82dnl Internationalization
83GETTEXT_PACKAGE=guake
84ALL_LINGUAS="pt_BR ja es ru pl no de it fa hu el zh_CN fr"
85
86AC_SUBST([GETTEXT_PACKAGE])
87AC_SUBST([ALL_LINGUAS])
88
89dnl output files
90AC_CONFIG_FILES([
91    Makefile
92    data/Makefile
93    data/guake.desktop
94    data/guake-prefs.desktop
95    data/org.guake.Guake.service
96    data/pixmaps/Makefile
97    po/Makefile.in
98    src/Makefile
99    src/globalhotkeys/Makefile
100    src/guake_globals.py
101    src/guake
102    src/guake-prefs
103])
104
105AC_OUTPUT
Note: See TracBrowser for help on using the browser.