From e20daf604e81ebd473c74dedda725bca27cd8dd1 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 11 Feb 2021 15:29:17 +0100 Subject: Remove Automake-related files --- Makefile.am | 22 ---- Makefile.am.coverage | 50 --------- Makefile.am.marshal | 44 -------- autogen.sh | 10 -- configure.ac | 218 ------------------------------------ data/Makefile.am | 5 - helper/test-loader-build | 3 - helper/test-loader.c | 18 --- m4/gcov.m4 | 86 -------------- src/Makefile.am | 149 ------------------------ src/ayatana-indicator-0.4.pc.in.in | 17 --- src/ayatana-indicator3-0.4.pc.in.in | 16 --- 12 files changed, 638 deletions(-) delete mode 100644 Makefile.am delete mode 100644 Makefile.am.coverage delete mode 100644 Makefile.am.marshal delete mode 100755 autogen.sh delete mode 100644 configure.ac delete mode 100644 data/Makefile.am delete mode 100755 helper/test-loader-build delete mode 100644 helper/test-loader.c delete mode 100644 m4/gcov.m4 delete mode 100644 src/Makefile.am delete mode 100644 src/ayatana-indicator-0.4.pc.in.in delete mode 100644 src/ayatana-indicator3-0.4.pc.in.in diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index bd052fd..0000000 --- a/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} - -SUBDIRS = \ - data \ - src \ - tools - -tools: libayatana-indicator - -if WANT_TESTS -SUBDIRS += \ - tests - -tests: libayatana-indicator -endif - -DISTCHECK_CONFIGURE_FLAGS = --disable-deprecations --disable-silent-rules --with-gtk=3 - -DISTCLEANFILES = \ - libayatana-indicator-*.tar.gz - -include $(top_srcdir)/Makefile.am.coverage diff --git a/Makefile.am.coverage b/Makefile.am.coverage deleted file mode 100644 index dc3b9c8..0000000 --- a/Makefile.am.coverage +++ /dev/null @@ -1,50 +0,0 @@ - -# Coverage targets - -EXTRA_DIST = trim-lcov.py - -.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 --no-checksum --compat-libtool | $(top_srcdir)/trim-lcov.py > coverage.info - 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/Makefile.am.marshal b/Makefile.am.marshal deleted file mode 100644 index a1e1070..0000000 --- a/Makefile.am.marshal +++ /dev/null @@ -1,44 +0,0 @@ -# Rules for generating marshal files using glib-genmarshal -# -# Define: -# glib_marshal_list = marshal list file -# glib_marshal_prefix = prefix for marshal functions -# -# before including Makefile.am.marshal. You will also need to have -# the following targets already defined: -# -# CLEANFILES -# DISTCLEANFILES -# BUILT_SOURCES -# EXTRA_DIST -# -# Author: Emmanuele Bassi - -marshal_h = $(glib_marshal_list:.list=.h) -marshal_c = $(glib_marshal_list:.list=.c) - -CLEANFILES += stamp-marshal -DISTCLEANFILES += $(marshal_h) $(marshal_c) -BUILT_SOURCES += $(marshal_h) $(marshal_c) -EXTRA_DIST += $(glib_marshal_list) - -stamp-marshal: $(glib_marshal_list) - $(QUIET_GEN)$(GLIB_GENMARSHAL) \ - --prefix=$(glib_marshal_prefix) \ - --header \ - $(srcdir)/$(glib_marshal_list) > xgen-mh \ - && (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \ - && rm -f xgen-mh \ - && echo timestamp > $(@F) - -$(marshal_h): stamp-marshal - @true - -$(marshal_c): $(marshal_h) - $(QUIET_GEN)(echo "#include \"$(marshal_h)\"" ; \ - $(GLIB_GENMARSHAL) \ - --prefix=$(glib_marshal_prefix) \ - --body \ - $(srcdir)/$(glib_marshal_list)) > xgen-mc \ - && cp xgen-mc $(marshal_c) \ - && rm -f xgen-mc diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 472f875..0000000 --- a/autogen.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -PKG_NAME="libayatana-indicator" - -which mate-autogen || { - echo "You need mate-common from https://git.mate-desktop.org/mate-common." - exit 1 -} - -. mate-autogen diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 9ba72ec..0000000 --- a/configure.ac +++ /dev/null @@ -1,218 +0,0 @@ -AC_INIT([libayatana-indicator], - [0.8.4], - [https://github.com/ArcticaProject/libayatana-indicator/issues], - [libayatana-indicator], - [https://github.com/ArcticaProject/libayatana-indicator]) - -AC_PREREQ([2.64]) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_MACRO_DIR([m4]) -AC_CONFIG_AUX_DIR([build-aux]) -AC_SUBST([ac_aux_dir]) - -AM_INIT_AUTOMAKE([1.11 -Wall tar-pax]) - -AM_MAINTAINER_MODE([enable]) - -AM_SILENT_RULES([yes]) - -# Check for programs -AC_PROG_CC -AM_PROG_CC_C_O -AM_PROG_AR - -# Initialize libtool -LT_PREREQ([2.2]) -LT_INIT - -# Upstream's pkg.m4 (since 0.27) offers this now, but define our own -# compatible version in case the local version of pkgconfig isn't new enough. -# https://bugs.freedesktop.org/show_bug.cgi?id=48743 -m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], - [AC_ARG_WITH([pkgconfigdir], - [AS_HELP_STRING([--with-pkgconfigdir], - [install directory for nx-x11.pc pkg-config file])], - [],[with_pkgconfigdir='$(libdir)/pkgconfig']) - AC_SUBST([pkgconfigdir], [${with_pkgconfigdir}])]) - -# Required when PKG_CHECK_MODULES called within an if statement -PKG_PROG_PKG_CONFIG - - -AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums]) -AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal]) - - -AC_ARG_ENABLE([deprecations], - [AS_HELP_STRING([--enable-deprecations], - [allow deprecated API usage @<:@default=yes@:>@])], - [], - [enable_deprecations=yes]) -AS_IF([test "x$enable_deprecations" = xno], - [CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES"] -) - -AC_ARG_ENABLE([ido], - [AS_HELP_STRING([--enable-ido], - [enable indicator widget loader @<:@default=yes@:>@])], - [], - [enable_ido=yes]) - -############################## -# Dependencies -############################## - -GTK_REQUIRED_VERSION=2.18 -GTK3_REQUIRED_VERSION=3.6 -GIO_UNIX_REQUIRED_VERSION=2.37 -IDO_REQUIRED_VERSION=0.8.0 - - -AC_ARG_WITH([gtk], - [AS_HELP_STRING([--with-gtk], - [Which version of gtk to use @<:@default=3@:>@])], - [], - [with_gtk=3]) -AS_IF([test "x$with_gtk" = x3], - [PKG_CHECK_MODULES(LIBINDICATOR, gtk+-3.0 >= $GTK3_REQUIRED_VERSION - gmodule-2.0 - gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION) - AS_IF([test "x$enable_ido" = xyes], [ - PKG_CHECK_MODULES(LIBINDICATOR_IDO, libayatana-ido3-0.4 >= $IDO_REQUIRED_VERSION) - ]) - ], - [test "x$with_gtk" = x2], - [PKG_CHECK_MODULES(LIBINDICATOR, gtk+-2.0 >= $GTK_REQUIRED_VERSION - gmodule-2.0 - gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION) - ], - [AC_MSG_FAILURE([Value for --with-gtk was neither 2 nor 3])] -) - -AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3]) -AM_CONDITIONAL(USE_IDO, [test "$enable_ido" = "yes"]) - -LT_LIB_M -AC_SUBST(LIBM) - -############################## -# Custom Junk -############################## - -AC_DEFUN([AC_DEFINE_PATH], [ - test "x$prefix" = xNONE && prefix="$ac_default_prefix" - test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - ac_define_path=`eval echo [$]$2` - ac_define_path=`eval echo [$]ac_define_path` - $1="$ac_define_path" - AC_SUBST($1) - ifelse($3, , - AC_DEFINE_UNQUOTED($1, "$ac_define_path"), - AC_DEFINE_UNQUOTED($1, "$ac_define_path", $3)) -]) - -############################## -# ./configure Flags messings -############################## - -cflags_set=${CFLAGS+set} -# find the actual value for $prefix that we'll end up with -REAL_PREFIX= -if test "x$prefix" = "xNONE"; then - REAL_PREFIX=$ac_default_prefix -else - REAL_PREFIX=$prefix -fi - -# Have to go $sysconfdir->$prefix/etc->/usr/local/etc -# if you actually know how to code shell then fix this :-) -SYSCONFDIR_TMP="$sysconfdir" -old_prefix=$prefix -prefix=$REAL_PREFIX -EXPANDED_SYSCONFDIR=`eval echo $SYSCONFDIR_TMP` -prefix=$old_prefix -AC_SUBST(EXPANDED_SYSCONFDIR) - -AC_DEFINE_PATH(PREFIX, "${prefix}", [prefix directory]) -AC_DEFINE_PATH(SYSCONFDIR, "${sysconfdir}", [system configuration dir]) -AC_DEFINE_PATH(LIBDIR, "${libdir}", [system configuration dir]) - -######################### -# Check for systemd -######################### -PKG_CHECK_MODULES(SYSTEMD, systemd, - [has_systemd=yes], - [] -) -if test "x$has_systemd" = "xyes"; then - SYSTEMD_USERDIR=`$PKG_CONFIG --variable=systemduserunitdir systemd` - AC_SUBST(SYSTEMD_USERDIR) - AC_DEFINE(HAVE_SYSTEMD, 1, [create ayatana-indicators-pre.target for systemd]) -fi - -######################### -# Check if build tests -######################### -AC_ARG_ENABLE([tests], - AC_HELP_STRING([--disable-tests], [disable tests]),, - [enable_tests=yes]) -AM_CONDITIONAL([WANT_TESTS], [test "x$enable_tests" != "xno"]) - -######################### -# Debug symbols -######################### -AC_ARG_ENABLE([debug], - AS_HELP_STRING([--enable-debug],[build with debug symbols]),, - [enable_debug=no]) - -if test "x$enable_debug" = "xyes"; then - CFLAGS="-g $CFLAGS" - AC_DEFINE(ENABLE_DEBUG, 1, [build with extra debug information]) -fi - -AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes") - -########################### -# 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) - -########################### -# Files -########################### - -AC_CONFIG_FILES([ -Makefile -data/Makefile -src/Makefile -src/ayatana-indicator-0.4.pc.in -src/ayatana-indicator3-0.4.pc.in -tests/Makefile -tools/Makefile -]) -AC_OUTPUT - -########################### -# Results -########################### - -AC_MSG_NOTICE([ - -Libindicator Configuration: - - Prefix: $prefix - GTK+ Version: $with_gtk - - Enable IDO loader: $enable_ido - Enable tests: $enable_tests - Enable debugging: $enable_debug - Coverage reporting: $use_gcov -]) diff --git a/data/Makefile.am b/data/Makefile.am deleted file mode 100644 index c4b1255..0000000 --- a/data/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -#if defined(HAVE_SYSTEMD) -systemd_DATA = ayatana-indicators.target -systemddir = $(SYSTEMD_USERDIR) -EXTRA_DIST = $(systemd_DATA) -#endif diff --git a/helper/test-loader-build b/helper/test-loader-build deleted file mode 100755 index fa1e006..0000000 --- a/helper/test-loader-build +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -gcc `pkg-config --cflags --libs gtk+-2.0` -I../libindicator/ test-loader.c ../libindicator/indicator-image-helper.c -o test-loader diff --git a/helper/test-loader.c b/helper/test-loader.c deleted file mode 100644 index 6a06248..0000000 --- a/helper/test-loader.c +++ /dev/null @@ -1,18 +0,0 @@ - -#include -#include "indicator-image-helper.h" - -int -main (int argv, char * argc[]) -{ - gtk_init(&argv, &argc); - - GtkImage * image = indicator_image_helper(argc[1]); - - GdkPixbuf * pixbuf = gtk_image_get_pixbuf(image); - - g_debug("Pixbuf width: %d", gdk_pixbuf_get_width(pixbuf)); - g_debug("Pixbuf height: %d", gdk_pixbuf_get_height(pixbuf)); - - return; -} diff --git a/m4/gcov.m4 b/m4/gcov.m4 deleted file mode 100644 index 3163584..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" - 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 4933c71..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,149 +0,0 @@ -if USE_GTK3 -VER=3 -lib_LTLIBRARIES = libayatana-indicator3.la -else -VER= -lib_LTLIBRARIES = libayatana-indicator.la -GTK_DISABLE_DEPRECATED = -DGTK_DISABLE_DEPRECATED -endif - -BUILT_SOURCES = indicator-object-enum-types.h indicator-object-enum-types.c -CLEANFILES = -DISTCLEANFILES = -EXTRA_DIST = \ - ayatana-indicator3-0.$(INDICATOR_API_VERSION).pc.in.in \ - ayatana-indicator-0.$(INDICATOR_API_VERSION).pc.in.in - -INDICATOR_ABI_VERSION = 7 -INDICATOR_API_VERSION = 4 - -%.pc: %.pc.in - sed \ - -e "s|\@indicator_api_version\@|$(INDICATOR_API_VERSION)|" \ - -e "s|\@indicator_abi_version\@|$(INDICATOR_ABI_VERSION)|" \ - $< > $@ - -CLEANFILES += ayatana-indicator$(VER)-0.$(INDICATOR_API_VERSION).pc - -include $(top_srcdir)/Makefile.am.marshal - -libayatana_indicatorincludedir=$(includedir)/libayatana-indicator$(VER)-0.$(INDICATOR_API_VERSION)/libayatana-indicator - -indicator_headers = \ - indicator.h \ - indicator-desktop-shortcuts.h \ - indicator-image-helper.h \ - indicator-object.h \ - indicator-service.h \ - indicator-service-manager.h - -if USE_GTK3 -indicator_headers += \ - indicator-ng.h -endif - -libayatana_indicatorinclude_HEADERS = \ - $(indicator_headers) - -libayatana_indicator_la_SOURCES = \ - $(indicator_headers) \ - dbus-shared.h \ - gen-indicator-service.xml.h \ - gen-indicator-service.xml.c \ - indicator-object.c \ - indicator-object-enum-types.c \ - indicator-desktop-shortcuts.c \ - indicator-image-helper.c \ - indicator-object-marshal.h \ - indicator-object-marshal.c \ - indicator-service.c \ - indicator-service-manager.c - -if USE_GTK3 -libayatana_indicator_la_SOURCES += \ - indicator-ng.c -endif - -libayatana_indicator_la_CFLAGS = \ - $(LIBINDICATOR_CFLAGS) \ - $(LIBINDICATOR_IDO_CFLAGS) \ - $(COVERAGE_CFLAGS) \ - $(GTK_DISABLE_DEPRECATED) \ - -DG_LOG_DOMAIN=\"libayatana-indicator\" \ - -Wall -Wno-error=deprecated-declarations - -libayatana_indicator_la_LIBADD = \ - $(LIBINDICATOR_LIBS) \ - $(LIBINDICATOR_IDO_LIBS) \ - $(LIBM) - -libayatana_indicator_la_LDFLAGS = \ - $(COVERAGE_LDFLAGS) \ - -version-info $(INDICATOR_ABI_VERSION):0:0 \ - -no-undefined \ - -export-symbols-regex "^[^_].*" - -# We duplicate these here because Automake won't let us use $(VER) on the left hand side. -# Since we carefully use $(VER) in the right hand side above, we can assign the same values. -# Only one version of the library is every compiled at the same time, so it is safe to reuse -# the right hand sides like this. -libayatana_indicator3includedir = $(libayatana_indicatorincludedir) -libayatana_indicator3include_HEADERS = $(indicator_headers) -libayatana_indicator3_la_SOURCES = $(libayatana_indicator_la_SOURCES) -libayatana_indicator3_la_CFLAGS = $(libayatana_indicator_la_CFLAGS) -libayatana_indicator3_la_LIBADD = $(libayatana_indicator_la_LIBADD) -libayatana_indicator3_la_LDFLAGS = $(libayatana_indicator_la_LDFLAGS) - -pkgconfig_DATA = ayatana-indicator$(VER)-0.$(INDICATOR_API_VERSION).pc -pkgconfigdir = $(libdir)/pkgconfig - -glib_marshal_list = indicator-object-marshal.list -glib_marshal_prefix = _indicator_object_marshal - -indicator-object-enum-types.h: s-enum-types-h - @true -s-enum-types-h: $(indicator_headers) - ( cd $(srcdir) && $(GLIB_MKENUMS) --template $(abs_srcdir)/indicator-object-enum-types.h.template \ - $(indicator_headers) ) >> tmp-indicator-object-enum-types.h \ - && (cmp -s tmp-indicator-object-enum-types.h indicator-object-enum-types.h || cp tmp-indicator-object-enum-types.h indicator-object-enum-types.h ) \ - && rm -f tmp-indicator-object-enum-types.h && echo timestamp > $(@F) - -indicator-object-enum-types.c: s-enum-types-c - @true -s-enum-types-c: $(indicator_headers) - ( cd $(srcdir) && $(GLIB_MKENUMS) --template $(abs_srcdir)/indicator-object-enum-types.c.template \ - $(indicator_headers) ) > tmp-indicator-object-enum-types.c \ - && (cmp -s tmp-indicator-object-enum-types.c indicator-object-enum-types.c || cp tmp-indicator-object-enum-types.c indicator-object-enum-types.c ) \ - && rm -f tmp-indicator-object-enum-types.c - -EXTRA_DIST += indicator-object-enum-types.h.template indicator-object-enum-types.c.template -CLEANFILES += \ - indicator-object-enum-types.h \ - indicator-object-enum-types.c \ - s-enum-types-h \ - s-enum-types-c - -################################## -# DBus Specs -################################## - -DBUS_SPECS = \ - indicator-service.xml - -gen-%.xml.h: %.xml - @echo "Building $@ from $<" - @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@ - -gen-%.xml.c: %.xml - @echo "Building $@ from $<" - echo "const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<)))) = " > $@ - @sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@ - @echo ";" >> $@ - -BUILT_SOURCES += \ - gen-indicator-service.xml.h \ - gen-indicator-service.xml.c - -CLEANFILES += $(BUILT_SOURCES) - -EXTRA_DIST += $(DBUS_SPECS) diff --git a/src/ayatana-indicator-0.4.pc.in.in b/src/ayatana-indicator-0.4.pc.in.in deleted file mode 100644 index 02ff40d..0000000 --- a/src/ayatana-indicator-0.4.pc.in.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ - -indicatordir=${exec_prefix}/lib/ayatana-indicators/@indicator_abi_version@ -iconsdir=@datarootdir@/@PACKAGE@/icons/ - -Cflags: -I${includedir}/libayatana-indicator-0.@indicator_api_version@ -Requires: gtk+-2.0 -Libs: -layatana-indicator - -Name: libayatana-indicator -Description: libayatana-indicator. -Version: @VERSION@ - diff --git a/src/ayatana-indicator3-0.4.pc.in.in b/src/ayatana-indicator3-0.4.pc.in.in deleted file mode 100644 index ff0862e..0000000 --- a/src/ayatana-indicator3-0.4.pc.in.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ - -indicatordir=${exec_prefix}/lib/ayatana-indicators3/@indicator_abi_version@/ -iconsdir=@datarootdir@/@PACKAGE@/icons/ - -Cflags: -I${includedir}/libayatana-indicator3-0.@indicator_api_version@ -Requires: gtk+-3.0 -Libs: -layatana-indicator3 - -Name: libayatana-indicator3 -Description: libayatana-indicator3. -Version: @VERSION@ -- cgit v1.2.3