#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial 5
AU_ALIAS([AC_PYTHON_MODULE], [AX_PYTHON_MODULE])
AC_DEFUN([AX_PYTHON_MODULE],[
if test -z $PYTHON;
then
PYTHON="python"
fi
PYTHON_NAME=`basename $PYTHON`
AC_MSG_CHECKING($PYTHON_NAME module: $1)
$PYTHON -c "import $1" 2>/dev/null
if test $? -eq 0;
then
AC_MSG_RESULT(yes)
eval AS_TR_CPP(HAVE_PYMOD_$1)=yes
else
AC_MSG_RESULT(no)
eval AS_TR_CPP(HAVE_PYMOD_$1)=no
#
if test -n "$2"
then
AC_MSG_ERROR(failed to find required module $1)
exit 1
fi
fi
])
./m4/gcov.m4 0000644 0000041 0000041 00000004717 13350212604 012770 0 ustar www-data www-data # Checks for existence of coverage tools:
# * gcov
# * lcov
# * genhtml
# * gcovr
#
# Sets ac_cv_check_gcov to yes if tooling is present
# and reports the executables to the variables LCOV, GCOVR and GENHTML.
AC_DEFUN([AC_TDD_GCOV],
[
AC_ARG_ENABLE(gcov,
AS_HELP_STRING([--enable-gcov],
[enable coverage testing with gcov]),
[use_gcov=$enableval], [use_gcov=no])
if test "x$use_gcov" = "xyes"; then
# we need gcc:
if test "$GCC" != "yes"; then
AC_MSG_ERROR([GCC is required for --enable-gcov])
fi
# Check if ccache is being used
AC_CHECK_PROG(SHTOOL, shtool, shtool)
case `$SHTOOL path $CC` in
*ccache*[)] gcc_ccache=yes;;
*[)] gcc_ccache=no;;
esac
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
AC_MSG_ERROR([ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])
fi
lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11"
AC_CHECK_PROG(LCOV, lcov, lcov)
AC_CHECK_PROG(GENHTML, genhtml, genhtml)
if test "$LCOV"; then
AC_CACHE_CHECK([for lcov version], glib_cv_lcov_version, [
glib_cv_lcov_version=invalid
lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
for lcov_check_version in $lcov_version_list; do
if test "$lcov_version" = "$lcov_check_version"; then
glib_cv_lcov_version="$lcov_check_version (ok)"
fi
done
])
else
lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
AC_MSG_ERROR([$lcov_msg])
fi
case $glib_cv_lcov_version in
""|invalid[)]
lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
AC_MSG_ERROR([$lcov_msg])
LCOV="exit 0;"
;;
esac
if test -z "$GENHTML"; then
AC_MSG_ERROR([Could not find genhtml from the lcov package])
fi
ac_cv_check_gcov=yes
ac_cv_check_lcov=yes
# Remove all optimization flags from CFLAGS
changequote({,})
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
changequote([,])
# Add the special gcc flags
COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
COVERAGE_LDFLAGS="-lgcov"
# Check availability of gcovr
AC_CHECK_PROG(GCOVR, gcovr, gcovr)
if test -z "$GCOVR"; then
ac_cv_check_gcovr=no
else
ac_cv_check_gcovr=yes
fi
fi
]) # AC_TDD_GCOV
./m4/gtest.m4 0000644 0000041 0000041 00000004771 13350212604 013160 0 ustar www-data www-data # Copyright (C) 2012 Canonical, Ltd.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# Checks whether the gtest source is available on the system. Allows for
# adjusting the include and source path. Sets have_gtest=yes if the source is
# present. Sets GTEST_CPPFLAGS and GTEST_SOURCE to the preprocessor flags and
# source location respectively.
AC_DEFUN([CHECK_GTEST],
[
AC_ARG_WITH([gtest-include-path],
[AS_HELP_STRING([--with-gtest-include-path],
[location of the Google test headers])],
[GTEST_CPPFLAGS="-I$withval"])
AC_ARG_WITH([gtest-source-path],
[AS_HELP_STRING([--with-gtest-source-path],
[location of the Google test sources, defaults to /usr/src/gtest])],
[GTEST_SOURCE="$withval"],
[GTEST_SOURCE="/usr/src/gtest"])
GTEST_CPPFLAGS="$GTEST_CPPFLAGS -I$GTEST_SOURCE"
AC_LANG_PUSH([C++])
tmp_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $GTEST_CPPFLAGS"
AC_CHECK_HEADER([gtest/gtest.h])
CPPFLAGS="$tmp_CPPFLAGS"
AC_LANG_POP
AC_CHECK_FILES([$GTEST_SOURCE/src/gtest-all.cc]
[$GTEST_SOURCE/src/gtest_main.cc],
[have_gtest_source=yes],
[have_gtest_source=no])
AS_IF([test "x$ac_cv_header_gtest_gtest_h" = xyes -a \
"x$have_gtest_source" = xyes],
[have_gtest=yes]
[AC_SUBST(GTEST_CPPFLAGS)]
[AC_SUBST(GTEST_SOURCE)],
[have_gtest=no])
]) # CHECK_GTEST
./doc/ 0000755 0000041 0000041 00000000000 13350212604 012004 5 ustar www-data www-data ./doc/reference/ 0000755 0000041 0000041 00000000000 13350212604 013742 5 ustar www-data www-data ./doc/reference/messaging-menu-docs.xml.in 0000644 0000041 0000041 00000002535 13350212604 020743 0 ustar www-data www-data
]>
./doc/reference/Makefile.am 0000644 0000041 0000041 00000001044 13350212604 015775 0 ustar www-data www-data DOC_MODULE = messaging-menu
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
DOC_SOURCE_DIR = $(top_srcdir)/libmessaging-menu
MKDB_OPTIONS=--xml-mode --output-format=xml
# Used for dependencies. The docs will be rebuilt if any of these change.
HFILE_GLOB = $(top_srcdir)/libmessaging-menu/*.h
CFILE_GLOB = $(top_srcdir)/libmessaging-menu/*.c
IGNORE_HFILES= \
indicator-messages-service.h
INCLUDES=-I$(top_srcdir)/libmessaging-menu $(GIO_CFLAGS)
GTKDOC_LIBS=$(top_builddir)/libmessaging-menu/libmessaging-menu.la
include $(top_srcdir)/gtk-doc.make
./doc/Makefile.am 0000644 0000041 0000041 00000000024 13350212604 014034 0 ustar www-data www-data SUBDIRS = reference
./AUTHORS 0000644 0000041 0000041 00000000031 13350212604 012301 0 ustar www-data www-data # Generated by Makefile
./data/ 0000755 0000041 0000041 00000000000 13350212604 012150 5 ustar www-data www-data ./data/indicator-messages.service.in 0000644 0000041 0000041 00000000275 13350212604 017724 0 ustar www-data www-data [Unit]
Description=Indicator Messages Service
PartOf=graphical-session.target
After=indicators-pre.target
[Service]
ExecStart=@pkglibexecdir@/indicator-messages-service
Restart=on-failure
./data/com.canonical.indicator.messages.gschema.xml 0000644 0000041 0000041 00000000733 13350212604 022570 0 ustar www-data www-data
List of applications that are shown in the messaging menu
Applications corresponding to the desktop file ids in this list are shown in the messaging menu.
[]
./data/icons/ 0000755 0000041 0000041 00000000000 13350212604 013263 5 ustar www-data www-data ./data/icons/22x22/ 0000755 0000041 0000041 00000000000 13350212604 014042 5 ustar www-data www-data ./data/icons/22x22/categories/ 0000755 0000041 0000041 00000000000 13350212604 016167 5 ustar www-data www-data ./data/icons/22x22/categories/applications-email-panel.png 0000644 0000041 0000041 00000001747 13350212604 023556 0 ustar www-data www-data PNG
IHDR Ĵl; sBIT|d pHYs
B(x tEXtSoftware www.inkscape.org< dIDAT8Mh\U͛7oK|4֦+EučmR1W-dRqnZBq!.7uiM53I潗wDrQka QIl5TZzuXAIt~:7{nѪYV(0v98RgAN_%|yT&|n-kZ/h9(Wz}O_|.a%;1BZ^ZcS3|]*-N ./N7(ڱ7*c :ҬJZfzL*~PZx<>D33Giܾs+!rq>5IowS5<4D("xw;wGͦ?491,)+Ăq@aY6ёfZ٦0VTOpfPD:2c *##666H#}%b$CwlƲ,
c2ݒ0{;C~_H(
cshxGRyfΑ?(x_0@2irlrcL=sL "~OT
?[ɞ`JɓclDրɧ^nq]~Hblw-hh'cgtDS!ډ6l0P_hME*]')D@kilmuD4n;~kԈh2# J)wx1h==6Z}}Za:lHTJN*qfF/_@(A)F[0 l`iJ)%uUJ)'OO IENDB` ./data/icons/22x22/categories/Makefile.am 0000644 0000041 0000041 00000000202 13350212604 020215 0 ustar www-data www-data
iconsdir = $(datadir)/icons/hicolor/22x22/categories
icons_DATA = \
applications-email-panel.png
EXTRA_DIST = $(icons_DATA)
./data/icons/22x22/status/ 0000755 0000041 0000041 00000000000 13350212604 015365 5 ustar www-data www-data ./data/icons/22x22/status/indicator-messages-new.png 0000644 0000041 0000041 00000002025 13350212604 022442 0 ustar www-data www-data PNG
IHDR Ĵl; bKGD pHYs
B(x tIME 4| IDAT8˽KlU{:㸱c;̓4Z
U*RP7=Y5TBHJ@BTTE.XBJJAvl&{ȉP #93s)® ~ Bb;) )`d$AbȮ
TAAm KJ%2A9V^f*@صv,\2@Cg\_)\p\JQ*B^f
6kUky*c?
I(\Y#p)(p/[]M QLB#dk}к**.1<Z>[|DO ",{O=+ł{}x\/e,ra"B A"6.z<| ZDa24~0(@ɽ['ͣt~vJ)R4|sDQFi^uC>J)|w2hF$^