150
AC_MSG_CHECKING([Whether not to check for iso-codes])
151
AC_ARG_ENABLE([iso-codes],
152
AS_HELP_STRING([--disable-iso-codes],[Whether not to check for iso-codes at build-time]),
153
[],[disable_iso_codes_check=no])
154
if test x$disable_iso_codes_check = xno ; then
160
if test x$disable_iso_codes_check = "xno" ; then
161
AC_MSG_CHECKING([whether iso-codes has iso-639 domain])
162
if $PKG_CONFIG --variable=domains iso-codes | grep 639 >/dev/null ; then
167
AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX],["`$PKG_CONFIG --variable=prefix iso-codes`"],[ISO codes prefix])
170
AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX],["$prefix"],[ISO codes prefix])
174
166
dnl Check the smclient backend
175
GDK_TARGET="$($PKG_CONFIG --variable target gdk-2.0)"
167
GDK_TARGET="$($PKG_CONFIG --variable targets gdk-3.0)"
178
170
AC_MSG_CHECKING([which smclient backend to use])
281
272
AM_CONDITIONAL(HAVE_XVIDMODE, [test x$have_xvidmode = xyes])
283
274
dnl ================================================================
285
276
dnl ================================================================
278
PKG_CHECK_MODULES(PEAS, libpeas-1.0 >= $PEAS_REQS)
279
PKG_CHECK_MODULES(PEASGTK, libpeas-gtk-1.0 >= $PEAS_REQS)
281
# ================================================================
283
# ================================================================
284
# We don't need any of this at compile time, but it is needed for the Python plugins at runtime, so we check anyway.
287
286
AC_MSG_CHECKING([whether Python plugin support is requested])
288
287
AC_ARG_ENABLE([python],
289
288
AS_HELP_STRING([--enable-python],[Enable python support]),
290
[enable_python=$enableval have_python=$enableval],
291
[enable_python=autodetect have_python=yes])
289
[enable_python=$enableval],
290
[enable_python=autodetect])
292
291
AC_MSG_RESULT([$enable_python])
294
if test "x$have_python" != "xyes"; then
296
# Test for the Python run time and PyGObject
297
if test "x$enable_python" != "xno"; then
298
AM_PATH_PYTHON([$PYTHON_REQS],[have_python=yes],[have_python=no])
299
if test "x$PYTHON" = "x:"; then
303
PKG_CHECK_MODULES([PYGOBJECT],[pygobject-2.0 >= $PYGOBJECT_REQS],[have_pygobject=yes],[have_pygobject=no])
306
# Output the results of the Python checks
307
if test "x$have_python" != "xyes" -o "x$have_pygobject" != "xyes"; then
295
308
if test "x$enable_python" = "xyes"; then
296
AC_MSG_ERROR([Python not found])
309
AC_MSG_ERROR([python >= $PYTHON_REQS or pygobject-2.0 >= $PYGOBJECT_REQS not found])
297
310
elif test "x$enable_python" = "xautodetect"; then
299
AC_MSG_WARN([Python not found, disabling python support])
303
if test "x$have_python" != "xno"; then
304
AM_PATH_PYTHON([2.3],[],[have_python=no])
305
if test "x$PYTHON" = "x:"; then
310
if test "x$have_python" != "xno"; then
311
PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
312
PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'`
313
PYTHON_LIBS="-lpython$PYTHON_VERSION"
314
if test -d $PY_EXEC_PREFIX/lib64/python$PYTHON_VERSION ; then
315
PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib64/python$PYTHON_VERSION/config"
316
PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib64/python$PYTHON_VERSION/config/Makefile"
318
PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config"
319
PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config/Makefile"
321
PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
322
PYTHON_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
323
PYTHON_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
324
PYTHON_EXTRA_LIBS="$PYTHON_BASEMODLIBS $PYTHON_OTHER_LIBS"
325
AC_SUBST([PYTHON_LIBS])
326
AC_SUBST([PYTHON_LIB_LOC])
327
AC_SUBST([PYTHON_CFLAGS])
328
AC_SUBST([PYTHON_EXTRA_LIBS])
330
PYGTK_REQUIRED=2.12.0
332
PKG_CHECK_MODULES([PYGTK], [
333
pygtk-2.0 >= $PYGTK_REQUIRED
334
totem-plparser >= $TOTEM_PLPARSER_REQS],
338
if test "x$enable_python" = "xyes"; then
339
AC_MSG_ERROR([$PYGTK_PKG_ERRORS])
340
elif test "x$enable_python" = "xautodetect"; then
342
AC_MSG_WARN([$PYGTK_PKG_ERRORS])
343
AC_MSG_WARN([Disabling python support])
347
AC_SUBST([PYGTK_CFLAGS])
348
AC_SUBST([PYGTK_LIBS])
351
if test "x$have_python" != "xno"; then
352
AC_MSG_CHECKING([for pygtk defs])
353
PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
354
AC_MSG_RESULT([$PYGTK_DEFSDIR])
356
AC_MSG_CHECKING([for pygtk codegen])
357
PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
358
AC_MSG_RESULT([$PYGTK_CODEGEN])
360
AC_MSG_CHECKING([for pygtk h2def])
361
PYGTK_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/h2def.py"
362
AC_MSG_RESULT([$PYGTK_H2DEF])
364
AC_SUBST([PYGTK_DEFSDIR])
365
AC_SUBST([PYGTK_CODEGEN])
366
AC_SUBST([PYGTK_H2DEF])
368
dnl uncomment when http://bugzilla.gnome.org/show_bug.cgi?id=351072 fixed
369
dnl PKG_CHECK_EXISTS([pygobject-2.0 >= X.XX.X],
370
dnl AC_DEFINE([PYGOBJECT_CAN_MARSHAL_GVALUE]))
372
dnl Check for -fno-strict-aliasing
373
FLAGS="-fno-strict-aliasing"
374
save_CFLAGS="$CFLAGS"
375
CFLAGS="$CFLAGS $FLAGS"
376
AC_MSG_CHECKING([whether [$]CC understands $FLAGS])
377
AC_TRY_COMPILE([], [], [compiler_has_option=yes], [compiler_has_option=no])
378
CFLAGS="$save_CFLAGS"
379
AC_MSG_RESULT($compiler_has_option)
380
if test $compiler_has_option = yes; then
381
NO_STRICT_ALIASING_CFLAGS="$FLAGS"
383
AC_SUBST([NO_STRICT_ALIASING_CFLAGS])
386
if test "x$have_python" != "xno" -a "x$enable_python" != "xno"; then
312
AC_MSG_WARN([python >= $PYTHON_REQS or pygobject-2.0 >= $PYGOBJECT_REQS not found; disabling Python support])
314
elif test "x$enable_python" != "xno"; then
387
315
enable_python=yes
388
AC_DEFINE([ENABLE_PYTHON],[1],[Define to compile with python plugin support])
391
318
AM_CONDITIONAL([ENABLE_PYTHON],[test "x$enable_python" = "xyes"])
396
323
AC_MSG_CHECKING([whether Vala plugin support is requested])
397
324
AC_ARG_ENABLE([vala],
398
325
AS_HELP_STRING([--enable-vala],[Enable Vala plugin support]),
399
[enable_vala=$enableval have_vala=$enableval],
400
[enable_vala=autodetect have_vala=yes])
326
[enable_vala=$enableval],
401
328
AC_MSG_RESULT([$enable_vala])
402
329
if test "x$enable_vala" != "xno"; then
403
PKG_CHECK_MODULES(VALA, vala-1.0 >= $VALA_REQS, with_vala=yes,
405
if test "x$with_vala" = "xyes"; then
406
VALAC="`pkg-config --variable=prefix vala-1.0`/bin/valac"
408
elif test "x$enable_vala" = "xyes"; then
409
AC_MSG_ERROR([Vala plugin support explicitly requested, but not found])
330
AM_PROG_VALAC([$VALA_REQS])
331
if test "x$VALAC" = "x"; then
332
if test "x$enable_vala" = "xyes"; then
333
AC_MSG_ERROR([Vala plugin support explicitly requested, but not found])
412
341
AM_CONDITIONAL(ENABLE_VALA, test "x$with_vala" = "xyes")
414
343
# ********************
550
466
brasero-disc-recorder)
551
467
dnl this is only needed to use brasero icons
552
PKG_CHECK_MODULES(DISC_RECORDER, libxml-2.0 >= 2.6.0 gtk+-x11-2.0,
468
PKG_CHECK_MODULES(DISC_RECORDER, libxml-2.0 >= 2.6.0 gtk+-x11-3.0,
553
469
[BUILD_RECORDER=yes], [BUILD_RECORDER=no])
554
470
if test "${BUILD_RECORDER}" != "yes" ; then
555
plugin_error_or_ignore "you need libxml-2.0 >= 2.6.0 and gtk+-x11-2.0 to use the brasero-disc-recorder plugin"
471
plugin_error_or_ignore "you need libxml-2.0 >= 2.6.0 and gtk+-x11-3.0 to use the brasero-disc-recorder plugin"
476
dnl the nautilus check should be a run-time check
477
dnl but it might not always be running
478
PKG_CHECK_MODULES(SAVE_FILE_CHECK, gio-2.0 >= 2.26 libnautilus-extension >= 2.91.3,
479
[BUILD_SAVE_FILE=yes], [BUILD_SAVE_FILE=no])
480
if test "${BUILD_SAVE_FILE}" != "yes" ; then
481
plugin_error_or_ignore "you need gio-2.0 >=2.26 to use the save-file plugin"
484
PKG_CHECK_MODULES(SAVE_FILE, gio-2.0 >= 2.26)
560
PKG_CHECK_MODULES(LIBGDATA, libgdata >= 0.4.0,
488
PKG_CHECK_MODULES(LIBGDATA, libgdata >= 0.4.0 gdk-pixbuf-2.0 >= 2.23.0,
561
489
[HAVE_LIBGDATA=yes], [HAVE_LIBGDATA=no])
562
490
if test "${HAVE_LIBGDATA}" != "yes" ; then
563
491
plugin_error_or_ignore "you need libgdata >= 0.4.0 installed for the YouTube plugin"
495
# For timeout support. Remove this once we depend on libgdata >= 0.7.0
496
PKG_CHECK_MODULES(LIBGDATA_0_7, libgdata >= 0.7.0,
497
[HAVE_LIBGDATA_0_7=yes], [HAVE_LIBGDATA_0_7=no])
498
if test "${HAVE_LIBGDATA_0_7}" = "yes" ; then
499
AC_DEFINE([HAVE_LIBGDATA_0_7],[1],[Define if libgdata >= 0.7.0 is available])
502
PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4,
503
[HAVE_LIBSOUP=yes], [HAVE_LIBSOUP=no])
504
if test "${HAVE_LIBSOUP}" != "yes" ; then
505
plugin_error_or_ignore "you need libsoup-2.4 installed for the YouTube plugin"
567
509
dnl We need the souphttpsrc element for the YouTube plugin
568
510
AC_MSG_CHECKING([GStreamer 0.10 souphttpsrc plugin])
569
511
if $gst010_inspect souphttpsrc >/dev/null 2>/dev/null; then
570
512
AC_MSG_RESULT([yes])
572
514
AC_MSG_RESULT([no])
574
Cannot find required GStreamer-0.10 plugin 'souphttpsrc'.
575
It should be part of gst-plugins-good. Please install it.
515
plugin_error_or_ignore "you need souphttpsrc from gst-plugins-good installed for the YouTube plugin"
520
PKG_CHECK_MODULES(CHAPTERS, libxml-2.0 >= 2.6.0 gtk+-3.0 glib-2.0 >= 2.15.0,
521
[BUILD_CHAPTERS=yes], [BUILD_CHAPTERS=no])
522
if test "${BUILD_CHAPTERS}" != "yes" ; then
523
plugin_error_or_ignore "you need gtk+-3.0, glib-2.0 >= 2.15.0 and libxml-2.0 >= 2.6.0 to use the chapters plugin"
528
if test "${with_vala}" != "yes" ; then
529
plugin_error_or_ignore "you need vala installed to use the zeitgeist-dp plugin"
532
PKG_CHECK_MODULES(LIBZEITGEIST, zeitgeist-1.0 >= 0.3.6,
533
[HAS_LIBZEITGEIST=yes], [HAS_LIBZEITGEIST=no])
534
if test "${HAS_LIBZEITGEIST}" != "yes" ; then
535
plugin_error_or_ignore "you need zeitgeist-1.0 >= 0.3.6 to use the zeitgeist-dp plugin"
816
778
src/plugins/screensaver/Makefile
817
779
src/plugins/screenshot/Makefile
818
780
src/plugins/ontop/Makefile
819
src/plugins/galago/Makefile
781
src/plugins/im-status/Makefile
820
782
src/plugins/gromit/Makefile
821
783
src/plugins/iplayer/Makefile
822
784
src/plugins/lirc/Makefile
823
785
src/plugins/media-player-keys/Makefile
824
src/plugins/mythtv/Makefile
825
786
src/plugins/opensubtitles/Makefile
787
src/plugins/opensubtitles/org.gnome.totem.plugins.opensubtitles.gschema.xml.in
826
788
src/plugins/properties/Makefile
789
src/plugins/save-file/Makefile
827
790
src/plugins/sidebar-test/Makefile
828
791
src/plugins/skipto/Makefile
829
792
src/plugins/sample-python/Makefile
830
793
src/plugins/sample-vala/Makefile
831
794
src/plugins/thumbnail/Makefile
832
src/plugins/totem/Makefile
833
795
src/plugins/tracker/Makefile
834
796
src/plugins/youtube/Makefile
835
797
src/plugins/pythonconsole/Makefile
798
src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
836
799
src/plugins/publish/Makefile
800
src/plugins/publish/org.gnome.totem.plugins.publish.gschema.xml.in
837
801
src/plugins/jamendo/Makefile
802
src/plugins/jamendo/org.gnome.totem.plugins.jamendo.gschema.xml.in
838
803
src/plugins/brasero-disc-recorder/Makefile
804
src/plugins/chapters/Makefile
805
src/plugins/zeitgeist-dp/Makefile
839
806
src/backend/Makefile
840
807
browser-plugin/Makefile
809
data/org.gnome.totem.gschema.xml.in
842
810
data/totem.desktop.in.in
843
812
data/icons/Makefile
844
813
data/icons/16x16/Makefile
845
814
data/icons/22x22/Makefile
846
815
data/icons/24x24/Makefile
847
816
data/icons/32x32/Makefile
848
817
data/icons/48x48/Makefile
818
data/icons/256x256/Makefile
849
819
data/icons/scalable/Makefile
853
bindings/python/Makefile
854
bindings/vala/Makefile
856
823
docs/reference/Makefile
857
824
docs/reference/version.xml