diff options
-rw-r--r-- | INSTALL | 236 | ||||
-rw-r--r-- | Makefile.am | 52 | ||||
-rw-r--r-- | Makefile.am.coverage | 48 | ||||
-rwxr-xr-x | autogen.sh | 10 | ||||
-rw-r--r-- | configure.ac | 164 | ||||
-rw-r--r-- | example/Makefile.am | 19 | ||||
-rw-r--r-- | libayatana-ido3.pc.in | 11 | ||||
-rw-r--r-- | m4/gcov.m4 | 86 | ||||
-rw-r--r-- | src/Makefile.am | 196 | ||||
-rw-r--r-- | src/ido.list | 1 | ||||
-rw-r--r-- | tests/Makefile.am | 50 |
11 files changed, 0 insertions, 873 deletions
diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 23e5f25..0000000 --- a/INSTALL +++ /dev/null @@ -1,236 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free -Software Foundation, Inc. - -This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - -These are generic installation instructions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is -disabled by default to prevent problems with accidental use of stale -cache files.) - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - -Some systems require unusual options for compilation or linking that the -`configure' script does not know about. Run `./configure --help' for -details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - -You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. - -Installation Names -================== - -By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - -Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - -There may be some features `configure' cannot figure out automatically, -but needs to determine by the type of machine the package will run on. -Usually, assuming the package is built to be run on the _same_ -architectures, `configure' can figure that out, but if it prints a -message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - -Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). Here is a another example: - - /bin/bash ./configure CONFIG_SHELL=/bin/bash - -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent -configuration-related scripts to be executed by `/bin/bash'. - -`configure' Invocation -====================== - -`configure' recognizes the following options to control how it operates. - -`--help' -`-h' - Print a summary of the options to `configure', and exit. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 427354e..0000000 --- a/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -NULL= - -V = @ -Q = $(V:1=) -QUIET_GEN = $(Q:@=@echo ' GEN '$@;) - -SUBDIRS = src example tests - -%-0.4.pc: %.pc - $(QUIET_GEN) cp -f $< $@ - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libayatana-ido3-0.4.pc - -CLEANFILES = \ - libayatana-ido3-0.4.pc \ - $(NULL) - -DISTCLEANFILES = \ - libayatana-ido.pc \ - libayatana-ido3.pc \ - Makefile.in \ - aclocal.m4 \ - autom4te.cache/ \ - compile \ - config.guess \ - config.h.in \ - config.h.in~ \ - config.sub \ - configure \ - depcomp \ - gtk-doc.make \ - install-sh \ - ltmain.sh \ - m4/gtk-doc.m4 \ - m4/libtool.m4 \ - m4/ltoptions.m4 \ - m4/ltsugar.m4 \ - m4/ltversion.m4 \ - m4/lt~obsolete.m4 \ - missing \ - omf.make \ - test-driver \ - xmldocs.make \ - $(NULL) - -EXTRA_DIST = libayatana-ido3.pc.in - -DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc --disable-silent-rules - -include $(top_srcdir)/Makefile.am.coverage diff --git a/Makefile.am.coverage b/Makefile.am.coverage deleted file mode 100644 index fb97747..0000000 --- a/Makefile.am.coverage +++ /dev/null @@ -1,48 +0,0 @@ - -# Coverage targets - -.PHONY: clean-gcno clean-gcda \ - coverage-html generate-coverage-html clean-coverage-html \ - coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr - -clean-local: clean-gcno clean-coverage-html clean-coverage-gcovr - -if HAVE_GCOV - -clean-gcno: - @echo Removing old coverage instrumentation - -find -name '*.gcno' -print | xargs -r rm - -clean-gcda: - @echo Removing old coverage results - -find -name '*.gcda' -print | xargs -r rm - -coverage-html: clean-gcda - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html - -generate-coverage-html: - @echo Collecting coverage data - $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool - LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info - -clean-coverage-html: clean-gcda - -$(LCOV) --directory $(top_builddir) -z - -rm -rf coverage.info coveragereport - -if HAVE_GCOVR - -coverage-gcovr: clean-gcda - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) generate-coverage-gcovr - -generate-coverage-gcovr: - @echo Generating coverage GCOVR report - $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml - -clean-coverage-gcovr: clean-gcda - -rm -rf $(top_builddir)/coverage.xml - -endif # HAVE_GCOVR - -endif # HAVE_GCOV diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 69a79c2..0000000 --- a/autogen.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -PKG_NAME="ayatana-ido" - -which mate-autogen || { - echo "You need mate-common from https://git.mate-desktop.org/mate-common" - exit 1 -} - -mate-autogen --enable-gtk-doc $@ diff --git a/configure.ac b/configure.ac deleted file mode 100644 index c98062b..0000000 --- a/configure.ac +++ /dev/null @@ -1,164 +0,0 @@ -# -# shamelessly stolen from clutter-gtk -# -m4_define([ido_major_version], [0]) -m4_define([ido_minor_version], [8]) -m4_define([ido_micro_version], [2]) - -m4_define([ido_api_version], - [ido_major_version.ido_minor_version]) -m4_define([ido_version], - [ido_major_version.ido_minor_version.ido_micro_version]) - -m4_define([ido_interface_age], [0]) -m4_define([ido_binary_age], - [m4_eval(100 * ido_minor_version + ido_micro_version)]) - -AC_PREREQ([2.64]) - -AC_INIT([ayatana-ido], - [ido_version], - [https://github.com/ArcticaProject/ayatana-ido/issues], - [ayatana-ido], - [https://github.com/ArcticaProject/ayatana-ido]) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_SRCDIR([src/libayatana-ido.h]) -AC_CONFIG_MACRO_DIR([m4]) - -AM_INIT_AUTOMAKE([check-news 1.11 foreign]) - -AM_SILENT_RULES([yes]) - -IDO_MAJOR_VERSION=ido_major_version -IDO_MINOR_VERSION=ido_minor_version -IDO_MICRO_VERSION=ido_micro_version -IDO_VERSION=ido_version -AC_SUBST(IDO_MAJOR_VERSION) -AC_SUBST(IDO_MINOR_VERSION) -AC_SUBST(IDO_MICRO_VERSION) -AC_SUBST(IDO_VERSION) - -m4_define([lt_current], - [m4_eval(100 * ido_minor_version + ido_micro_version - ido_interface_age)]) -m4_define([lt_revision], [ido_interface_age]) -m4_define([lt_age], [m4_eval(ido_binary_age - ido_interface_age)]) -IDO_LT_CURRENT=lt_current -IDO_LT_REV=lt_revision -IDO_LT_AGE=lt_age -IDO_LT_VERSION="$IDO_LT_CURRENT:$IDO_LT_REV:$IDO_LT_AGE" -IDO_LT_LDFLAGS="-version-info $IDO_LT_VERSION" - -AC_SUBST(IDO_LT_VERSION) -AC_SUBST(IDO_LT_LDFLAGS) - -dnl =========================================================================== - -# Checks for programs -AC_PROG_CC -AM_PROG_CC_C_O -AC_PROG_CXX - -# Initialize libtool -LT_PREREQ([2.2]) -LT_INIT([disable-static]) - -AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums]) -PKG_PROG_PKG_CONFIG - -# Checks for header files -AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h]) - -# Checks for typedefs, structures and compiler charecteristics -AC_C_CONST - -# Checks for library functions -AC_FUNC_MALLOC -AC_FUNC_MMAP -AC_CHECK_FUNCS([memset munmap strcasecmp strdup]) -AC_CHECK_LIBM - -GIO_REQUIRED_VERSION=2.37.0 -GTK_REQUIRED_VERSION=3.8.2 - -PKG_CHECK_MODULES(GTK,[gtk+-3.0 >= $GTK_REQUIRED_VERSION - gio-2.0 >= $GIO_REQUIRED_VERSION]) - -AC_SUBST(GTK_CFLAGS) -AC_SUBST(GTK_LIBS) - -dnl =========================================================================== - -if test "x$GCC" = "xyes"; then - GCC_FLAGS="-g -Wall" -fi -AC_SUBST(GCC_FLAGS) - -# use strict compiler flags only on development releases -m4_define([maintainer_flags_default], [m4_if(m4_eval(ido_minor_version % 2), [1], [yes], [no])]) -AC_ARG_ENABLE([maintainer-flags], - [AS_HELP_STRING([--enable-maintainer-flags=@<:@no/yes@:>@], - [Use strict compiler flags @<:@default=no@:>@])], - [], - [enable_maintainer_flags=maintainer_flags_default]) - -MAINTAINER_CFLAGS="" -AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"], - [ - MAINTAINER_CFLAGS="-Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self" - ] -) - -AC_SUBST(MAINTAINER_CFLAGS) - -dnl = gcov Coverage Reporting ================================================= - -m4_include([m4/gcov.m4]) -AC_TDD_GCOV -AM_CONDITIONAL([HAVE_GCOV], [test "x$ac_cv_check_gcov" = xyes]) -AM_CONDITIONAL([HAVE_LCOV], [test "x$ac_cv_check_lcov" = xyes]) -AM_CONDITIONAL([HAVE_GCOVR], [test "x$ac_cv_check_gcovr" = xyes]) -AC_SUBST(COVERAGE_CFLAGS) -AC_SUBST(COVERAGE_CXXFLAGS) -AC_SUBST(COVERAGE_LDFLAGS) - -dnl = GObject Introspection =================================================== - -GOBJECT_INTROSPECTION_CHECK([0.6.7]) - -dnl = Vala API Generation ===================================================== - -AC_PATH_PROG([VALA_API_GEN], [vapigen]) - -dnl = Google Test Framework =================================================== - -dnl xorg-gtest also provides gtest. -# CHECK_XORG_GTEST - -dnl = GTK Doc Check =========================================================== - -GTK_DOC_CHECK([1.8]) - -dnl =========================================================================== - -AC_CONFIG_FILES([ - Makefile - src/Makefile - example/Makefile - tests/Makefile - libayatana-ido3.pc -]) - -AC_OUTPUT - -echo "" -echo " ido $VERSION" -echo " ===============================" -echo "" -echo " Prefix : ${prefix}" -echo " gcov : ${use_gcov}" -echo " introspection: ${enable_introspection}" -echo "" -echo " Documentation: ${enable_gtk_doc}" -echo "" diff --git a/example/Makefile.am b/example/Makefile.am deleted file mode 100644 index d52ac1c..0000000 --- a/example/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -VER=3 - -noinst_PROGRAMS = \ - menus - -menus_SOURCES = \ - menus.c - -menus_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/src \ - -I$(top_builddir)/src \ - $(GCC_FLAGS) \ - $(GTK_CFLAGS) \ - $(MAINTAINER_CFLAGS) - -menus_LDADD = $(top_builddir)/src/libayatana-ido$(VER)-0.4.la $(GTK_LIBS) - -DISTCLEANFILES = Makefile.in diff --git a/libayatana-ido3.pc.in b/libayatana-ido3.pc.in deleted file mode 100644 index 84af090..0000000 --- a/libayatana-ido3.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: libayatana-ido3 -Description: Ayatana Indicator Display Objects -Version: @VERSION@ -Libs: -L${libdir} -layatana-ido3-0.4 -Cflags: -I${includedir}/libayatana-ido3-0.4 -Requires: gtk+-3.0 diff --git a/m4/gcov.m4 b/m4/gcov.m4 deleted file mode 100644 index bd96386..0000000 --- a/m4/gcov.m4 +++ /dev/null @@ -1,86 +0,0 @@ -# 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 diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 268e2fd..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,196 +0,0 @@ -NULL = - -CLEANFILES = - -lib_LTLIBRARIES = libayatana-ido3-0.4.la - -ido_built_public_sources = \ - idotypebuiltins.h - -stamp_files = \ - idotypebuiltins.h \ - idotypebuiltins.c \ - $(NULL) - -sources_h = \ - ayatanamenuitemfactory.h \ - idoalarmmenuitem.h \ - idocalendarmenuitem.h \ - idoentrymenuitem.h \ - idorange.h \ - idoscalemenuitem.h \ - idoswitchmenuitem.h \ - idousermenuitem.h \ - idoappointmentmenuitem.h \ - idobasicmenuitem.h \ - idoremovablemenuitem.h \ - idoprogressmenuitem.h \ - idotimestampmenuitem.h \ - idolocationmenuitem.h \ - idotimeline.h \ - libayatana-ido.h \ - idoactionhelper.h \ - idomediaplayermenuitem.h \ - idoplaybackmenuitem.h \ - idoapplicationmenuitem.h \ - idodetaillabel.h \ - idosourcemenuitem.h \ - $(NULL) - -sources_c = \ - ayatanamenuitemfactory.c \ - libayatana-ido.c \ - idotypebuiltins.c \ - idocalendarmenuitem.c \ - idoalarmmenuitem.c \ - idoentrymenuitem.c \ - idorange.c \ - idoscalemenuitem.c \ - idoswitchmenuitem.c \ - idotimeline.c \ - idomenuitemfactory.c \ - idoactionhelper.c \ - idousermenuitem.c \ - idomediaplayermenuitem.c \ - idoplaybackmenuitem.c \ - idoappointmentmenuitem.c \ - idobasicmenuitem.c \ - idoremovablemenuitem.c \ - idoprogressmenuitem.c \ - idotimestampmenuitem.c \ - idolocationmenuitem.c \ - idoapplicationmenuitem.c \ - idodetaillabel.c \ - idosourcemenuitem.c \ - $(NULL) - -EXTRA_DIST = \ - ido.list \ - idotypebuiltins.h.template \ - idotypebuiltins.c.template \ - $(NULL) - -idotypebuiltins.h: stamp-idotypebuiltins.h - -stamp-idotypebuiltins.h: $(sources_h) - ( cd $(srcdir) && $(GLIB_MKENUMS) --template idotypebuiltins.h.template \ - $(sources_h) ) >> xgen-gtbh \ - && (cmp -s xgen-gtbh idotypebuiltins.h || cp xgen-gtbh idotypebuiltins.h ) \ - && rm -f xgen-gtbh && echo timestamp > $(@F) \ - $(NULL) - -idotypebuiltins.c: stamp-idotypebuiltins.h - ( cd $(srcdir) && $(GLIB_MKENUMS) --template idotypebuiltins.c.template \ - $(sources_h) ) > xgen-gtbc \ - && cp xgen-gtbc idotypebuiltins.c && rm -f xgen-gtbc - -AM_CPPFLAGS = \ - -I$(srcdir) \ - -I$(top_srcdir) \ - -DG_LOG_DOMAIN=\"IDO\" \ - -DPREFIX=\"$(prefix)"\" \ - -DLIBDIR=\"$(libdir)"\" \ - -DG_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED \ - -DGDK_DISABLE_DEPRECATED \ - $(GCC_FLAGS) \ - $(GTK_CFLAGS) \ - $(MAINTAINER_CFLAGS) \ - -Wall -Wextra -Wno-unused-parameter -Wno-error=deprecated-declarations \ - $(NULL) - -AM_CFLAGS = \ - $(COVERAGE_CFLAGS) \ - $(NULL) - -libayatana_ido_0_4_la_SOURCES = \ - $(sources_h) \ - $(sources_c) \ - $(NULL) - -libayatana_ido3_0_4_la_SOURCES = $(libayatana_ido_0_4_la_SOURCES) - -libayatana_idoincludedir=$(includedir)/libayatana-ido3-0.4/libayatana-ido - -libayatana_idoinclude_HEADERS = \ - ayatanamenuitemfactory.h \ - idocalendarmenuitem.h \ - idoentrymenuitem.h \ - idorange.h \ - idoscalemenuitem.h \ - idoswitchmenuitem.h \ - idotimeline.h \ - libayatana-ido.h \ - $(NULL) - -libayatana_ido_0_4_la_LIBADD = $(GTK_LIBS) $(LIBM) -libayatana_ido_0_4_la_LDFLAGS = \ - $(GTK_LT_LDFLAGS) \ - $(COVERAGE_LDFLAGS) \ - -no-undefined \ - -export-symbols-regex "^[^_].*" \ - $(NULL) - -libayatana_ido3_0_4_la_LIBADD = $(libayatana_ido_0_4_la_LIBADD) -libayatana_ido3_0_4_la_LDFLAGS = $(libayatana_ido_0_4_la_LDFLAGS) - -DISTCLEANFILES = \ - Makefile.in \ - stamp-idotypebuiltins.h \ - idotypebuiltins.h \ - idotypebuiltins.c \ - $(NULL) - --include $(INTROSPECTION_MAKEFILE) -INTROSPECTION_GIRS = -INTROSPECTION_SCANNER_ARGS = \ - --symbol-prefix=ido \ - --warn-all \ - --identifier-prefix=Ido \ - $(NULL) - -if HAVE_INTROSPECTION - -AyatanaIdo3-0.4.gir: libayatana-ido3-0.4.la -AyatanaIdo3_0_4_gir_INCLUDES = Gtk-3.0 -AyatanaIdo3_0_4_gir_CFLAGS = -AyatanaIdo3_0_4_gir_LIBS = libayatana-ido3-0.4.la -AyatanaIdo3_0_4_gir_FILES = \ - idocalendarmenuitem.h \ - idoentrymenuitem.h \ - idorange.h \ - idoscalemenuitem.h \ - idoswitchmenuitem.h \ - idotimeline.h \ - $(sources_c) \ - $(NULL) - -AyatanaIdo3_0_4_gir_NAMESPACE = AyatanaIdo3 -AyatanaIdo3_0_4_gir_VERSION = 0.4 -AyatanaIdo3_0_4_gir_SCANNER_FLAGS = $(INTROSPECTION_SCANNER_ARGS) - -INTROSPECTION_GIRS += AyatanaIdo3-0.4.gir - -girdir = $(datadir)/gir-1.0 -gir_DATA = $(INTROSPECTION_GIRS) - -typelibdir = $(libdir)/girepository-1.0 -typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) - -CLEANFILES += $(gir_DATA) $(typelib_DATA) - -endif - -if HAVE_INTROSPECTION - -vapidir = $(datadir)/vala/vapi -vapi_DATA = AyatanaIdo3-0.4.vapi - -AyatanaIdo3-0.4.vapi: AyatanaIdo3-0.4.gir - $(VALA_API_GEN) --library=AyatanaIdo3-0.4 \ - --pkg gtk+-3.0 \ - $< - -CLEANFILES += $(vapi_DATA) - -endif diff --git a/src/ido.list b/src/ido.list deleted file mode 100644 index cd4f64d..0000000 --- a/src/ido.list +++ /dev/null @@ -1 +0,0 @@ -VOID:POINTER,UINT diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index a4bc763..0000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -IDOLIB = $(top_builddir)/src/libayatana-ido3-0.1.la - -# xorg-gtest isn't buildable https://bugs.launchpad.net/ubuntu/+source/xorg-gtest/+bug/1388892 -# check_LIBRARIES = libgtest.a -check_PROGRAMS = -TESTS = - -AM_CPPFLAGS = \ - $(GTEST_CPPFLAGS) \ - -I${top_srcdir}/src - -############################# -# Google Test base library -############################# - -nodist_libgtest_a_SOURCES = \ - $(XORG_GTEST_SOURCE)/src/xorg-gtest-all.cpp \ - $(GTEST_SOURCE)/gtest-all.cc \ - $(XORG_GTEST_SOURCE)/src/xorg-gtest_main.cpp -libgtest_a_CPPFLAGS = \ - $(XORG_GTEST_CPPFLAGS) \ - $(AM_CPPFLAGS) \ - $(GTEST_CPPFLAGS) -w -libgtest_a_CXXFLAGS = \ - $(AM_CXXFLAGS) - -############################# -# Menuitem tests -############################# - -# xorg-gtest isn't buildable https://bugs.launchpad.net/ubuntu/+source/xorg-gtest/+bug/1388892 -# TESTS += gtest-menuitems -# check_PROGRAMS += gtest-menuitems - -gtest_menuitems_SOURCES = \ - gtest-menuitems.cpp -gtest_menuitems_CPPFLAGS = \ - $(GCC_CFLAGS) \ - $(GTK_CFLAGS) \ - $(MAINTAINER_CFLAGS) \ - $(AM_CPPFLAGS) -gtest_menuitems_LDFLAGS = \ - -pthread -gtest_menuitems_LDADD = \ - $(GTK_LIBS) \ - $(IDOLIB) \ - libgtest.a \ - -lX11 -lXi - -DISTCLEANFILES = Makefile.in |