summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2017-09-05 19:10:04 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2017-09-05 19:10:04 +0200
commit0e8cff30fee112828669e029e2b010033506ce6d (patch)
tree420e260e9841bd89fc7ae65cb6b69ab0f63bfd53
parentb4df316f0c3b20bf8d0429f89e7cdfa4a23059a6 (diff)
downloadlibgweather-wip/meson.tar.gz
Remove autotools build systemwip/meson
Good riddance
-rw-r--r--Makefile.am37
-rw-r--r--acinclude.m466
-rwxr-xr-xautogen.sh29
-rw-r--r--configure.ac225
-rw-r--r--data/Makefile.am41
-rw-r--r--data/glade/Makefile.am15
-rw-r--r--doc/Makefile.am94
-rw-r--r--git.mk291
-rw-r--r--libgweather/Makefile.am141
-rw-r--r--schemas/Makefile.am14
10 files changed, 0 insertions, 953 deletions
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index d91011a..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,37 +0,0 @@
-SUBDIRS = data libgweather schemas doc po po-locations
-
-AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
-
-EXTRA_DIST = \
- HACKING \
- MAINTAINERS
-
-MAINTAINERCLEANFILES = \
- $(srcdir)/INSTALL \
- $(srcdir)/ABOUT-NLS \
- $(srcdir)/build-aux \
- $(srcdir)/config.rpath \
- $(srcdir)/gtk-doc.make \
- $(srcdir)/m4 \
- $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
- $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
- $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL)
-
-GITIGNOREFILES = \
- $(PACKAGE)-\*.tar.{gz,bz2,xz} \
- po-locations/Makefile.in.in \
- po-locations/Makefile.in \
- po-locations/Makefile \
- po-locations/Makevars.template \
- po-locations/POTFILES \
- po-locations/Rules-quot \
- po-locations/stamp-it \
- po-locations/.intltool-merge-cache \
- "po-locations/*.gmo" \
- "po-locations/*.header" \
- "po-locations/*.mo" \
- "po-locations/*.sed" \
- "po-locations/*.sin" \
- po-locations/libgweather-locations.pot
-
--include $(top_srcdir)/git.mk
diff --git a/acinclude.m4 b/acinclude.m4
deleted file mode 100644
index fe90156..0000000
--- a/acinclude.m4
+++ /dev/null
@@ -1,66 +0,0 @@
-## this one is commonly used with AM_PATH_PYTHONDIR ...
-dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
-dnl Check if a module containing a given symbol is visible to python.
-AC_DEFUN([AM_CHECK_PYMOD],
-[AC_REQUIRE([AM_PATH_PYTHON])
-py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
-AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1)
-AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
-ifelse([$2],[], [prog="
-import sys
-try:
- import $1
-except ImportError:
- sys.exit(1)
-except:
- sys.exit(0)
-sys.exit(0)"], [prog="
-import $1
-$1.$2"])
-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
- then
- eval "py_cv_mod_$py_mod_var=yes"
- else
- eval "py_cv_mod_$py_mod_var=no"
- fi
-])
-py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
-if test "x$py_val" != xno; then
- AC_MSG_RESULT(yes)
- ifelse([$3], [],, [$3
-])dnl
-else
- AC_MSG_RESULT(no)
- ifelse([$4], [],, [$4
-])dnl
-fi
-])
-
-dnl a macro to check for ability to create python extensions
-dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
-dnl function also defines PYTHON_INCLUDES
-AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
-[AC_REQUIRE([AM_PATH_PYTHON])
-AC_MSG_CHECKING(for headers required to compile python extensions)
-dnl deduce PYTHON_INCLUDES
-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
-py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
-if test -x "$PYTHON-config"; then
-PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
-else
-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
-if test "$py_prefix" != "$py_exec_prefix"; then
- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
-fi
-fi
-AC_SUBST(PYTHON_INCLUDES)
-dnl check if the headers exist:
-save_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
-AC_TRY_CPP([#include <Python.h>],dnl
-[AC_MSG_RESULT(found)
-$1],dnl
-[AC_MSG_RESULT(not found)
-$2])
-CPPFLAGS="$save_CPPFLAGS"
-])
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index d7ff533..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-test -n "$srcdir" || srcdir=`dirname "$0"`
-test -n "$srcdir" || srcdir=.
-
-olddir=`pwd`
-
-cd $srcdir
-
-(test -f configure.ac) || {
- echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***"
- exit 1
-}
-
-aclocal --install || exit 1
-gtkdocize --copy || exit 1
-intltoolize --force --copy --automake || exit 1
-sed -e 's/subdir = po/subdir = po-locations/' \
- -e 's/GETTEXT_PACKAGE = @GETTEXT_PACKAGE@/GETTEXT_PACKAGE = libgweather-locations/' \
- po/Makefile.in.in > po-locations/Makefile.in.in
-autoreconf --verbose --force --install -Wno-portability || exit 1
-
-cd $olddir
-if [ "$NOCONFIGURE" = "" ]; then
- $srcdir/configure "$@" || exit 1
- echo "Now type 'make' to compile."
-else
- echo "Skipping configure process."
-fi
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 920546e..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,225 +0,0 @@
-m4_define(libgweather_major_version, 3)
-m4_define(libgweather_minor_version, 25)
-m4_define(libgweather_micro_version, 92)
-m4_define(libgweather_version, libgweather_major_version.libgweather_minor_version.libgweather_micro_version)
-
-AC_INIT([libgweather],
- [libgweather_version],
- [http://bugzilla.gnome.org/enter_bug.cgi?product=libgweather],
- [libgweather],
- [http://live.gnome.org/LibGWeather])
-AC_PREREQ([2.64])
-
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_AUX_DIR([build-aux])
-AX_IS_RELEASE([minor-version])
-
-AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz tar-ustar])
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-
-dnl === Versioning ============================================================
-
-LIBGWEATHER_MAJOR_VERSION=libgweather_major_version
-LIBGWEATHER_MINOR_VERSION=libgweather_minor_version
-LIBGWEATHER_MICRO_VERSION=libgweather_micro_version
-LIBGWEATHER_VERSION=libgweather_version
-AC_SUBST(LIBGWEATHER_MAJOR_VERSION)
-AC_SUBST(LIBGWEATHER_MINOR_VERSION)
-AC_SUBST(LIBGWEATHER_MICRO_VERSION)
-AC_SUBST(LIBGWEATHER_VERSION)
-
-# Before making a release, the LT_VERSION string should be modified.
-# The string is of the form C:R:A.
-# - If interfaces have been changed or added, but binary compatibility has
-# been preserved, change to C+1:0:A+1
-# - If binary compatibility has been broken (eg removed or changed interfaces)
-# change to C+1:0:0
-# - If the interface is the same as the previous version, change to C:R+1:A
-
-LT_VERSION=14:0:8
-AC_SUBST(LT_VERSION)
-
-GTK_REQUIRED=3.13.5
-GLIB_REQUIRED=2.35.1
-LIBSOUP_REQUIRED=2.44.0
-LIBXML_REQUIRED=2.6.0
-
-LT_PREREQ([2.2.6])
-LT_INIT([disable-static])
-LT_LIB_M
-
-PKG_PROG_PKG_CONFIG([0.19])
-
-AC_PROG_CC
-AM_PROG_CC_C_O
-
-GLIB_GSETTINGS
-
-AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS], [$ax_is_release], [], [-Wno-switch-default])
-
-PKG_CHECK_MODULES(DEPS, [gtk+-3.0 >= $GTK_REQUIRED
- libxml-2.0 >= $LIBXML_REQUIRED
- libsoup-2.4 >= $LIBSOUP_REQUIRED
- glib-2.0 >= $GLIB_REQUIRED
- gio-2.0
- geocode-glib-1.0])
-
-dnl -- check for glib; redundant at this point, but sets $GLIB_MKENUMS
-AM_PATH_GLIB_2_0($GLIB_REQUIRED)
-
-dnl gettext
-IT_PROG_INTLTOOL([0.50.0])
-IT_PO_SUBDIR([po-locations])
-
-GETTEXT_PACKAGE=libgweather-3.0
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
-
-dnl ***************************************************************************
-dnl *** Check for presence of tm.tm_gmtoff on the system ***
-dnl ***************************************************************************
-AC_CHECK_MEMBER([struct tm.tm_gmtoff],[struct_tm_tm_gmtoff=true],[struct_tm_tm_gmtoff=false],[#include <time.h>])
-case $struct_tm_tm_gmtoff in
- true)
- AC_DEFINE_UNQUOTED(HAVE_TM_TM_GMOFF, 1, Have the tm.tm_gmtoff member.)
- ;;
- *)
- AC_CHECK_DECL(timezone,AC_DEFINE(HAVE_TIMEZONE,1,Have timezone),,
-[
-#include <time.h>
-])
- ;;
-esac
-
-dnl ***************************************************************************
-dnl *** _NL_MEASUREMENT_MEASUREMENT is an enum and not a define ***
-dnl ***************************************************************************
-AC_MSG_CHECKING([for _NL_MEASUREMENT_MEASUREMENT])
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[
-char c;
-c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
-]])],[gtk_ok=yes],[gtk_ok=no])
-AC_MSG_RESULT($gtk_ok)
-if test "$gtk_ok" = "yes"; then
- AC_DEFINE([HAVE__NL_MEASUREMENT_MEASUREMENT], [1],
- [Define if _NL_MEASUREMENT_MEASUREMENT is available])
-fi
-
-dnl ***************************************************************************
-dnl *** Find tzdata ***
-dnl ***************************************************************************
-AC_ARG_WITH(zoneinfo-dir,
- [ --with-zoneinfo-dir tzdata zoneinfo directory],
- ZONEINFO_DIR="$withval")
-if test -z "$ZONEINFO_DIR"; then
- if test -d /usr/share/zoneinfo; then
- ZONEINFO_DIR="/usr/share/zoneinfo"
- elif test -d /usr/share/lib/zoneinfo/tab; then
- ZONEINFO_DIR="/usr/share/lib/zoneinfo/tab"
- else
- AC_MSG_ERROR(Can't find zoneinfo directory. Use --with-zoneinfo-dir)
- fi
-fi
-AC_DEFINE_UNQUOTED(ZONEINFO_DIR, "$ZONEINFO_DIR", [zoneinfo directory])
-
-AC_SUBST(VERSION)
-AC_SUBST(PACKAGE)
-AC_SUBST(DATADIR)
-AC_SUBST(LIBDIR)
-
-dnl ***************************************************************************
-dnl *** Glade ***
-dnl ***************************************************************************
-
-AC_ARG_ENABLE([glade-catalog],
- [AS_HELP_STRING([--enable-glade-catalog],
- [Install a glade catalog file [default=auto]])],
- [enable_glade_catalog=$enableval],
- [enable_glade_catalog=auto])
-
-if test "x$enable_glade_catalog" = "xno"; then
- found_glade_catalog="no (disabled, use --enable-glade-catalog to enable)"
-else
- AC_MSG_CHECKING([for Glade.])
-
- PKG_CHECK_EXISTS([gladeui-2.0],
- [found_glade_catalog=yes],
- [found_glade_catalog=no])
-fi
-
-if test "x$enable_glade_catalog" = "xyes" -a "x$found_glade_catalog" = "xno"; then
- AC_MSG_ERROR([You need to have gladeui-2.0 installed to build libgweather with glade enabled])
-fi
-AC_MSG_RESULT([$found_glade_catalog])
-
-if test "x$found_glade_catalog" = "xyes"; then
- AC_MSG_CHECKING([for Glade catalog dir])
- GLADE_DATA_DIR=`$PKG_CONFIG --variable=datadir gladeui-2.0 2>&AS_MESSAGE_LOG_FD`
- GLADE_CATALOG_DTD_DIR=`$PKG_CONFIG --variable=catalogdir gladeui-2.0 2>&AS_MESSAGE_LOG_FD`
- GLADE_CATALOG_DIR=`$PKG_CONFIG --variable=catalogdir gladeui-2.0 2>&AS_MESSAGE_LOG_FD | sed -e "s#^$GLADE_DATA_DIR#$datadir#"`
- AC_MSG_RESULT([$GLADE_CATALOG_DIR])
- AC_SUBST(GLADE_CATALOG_DIR)
- AC_SUBST(GLADE_CATALOG_DTD_DIR)
-fi
-
-AM_CONDITIONAL([ENABLE_GLADE_CATALOG],[test "x$found_glade_catalog" = "xyes"])
-
-AC_ARG_WITH([owm-apikey],
- [AS_HELP_STRING([--with-owm-apikey=APIKEY],
- [Specify an API key for OpenWeatherMap (optional)])])
-if test "x$with_owm_apikey" != x ; then
- AC_DEFINE_UNQUOTED(OWM_APIKEY, "$with_owm_apikey", [OpenWeatherMap API key])
-fi
-
-##################################################
-# Checks for gtk-doc and docbook-tools
-##################################################
-GTK_DOC_CHECK([1.11],[--flavour no-tmpl])
-
-GOBJECT_INTROSPECTION_CHECK([0.9.5])
-
-dnl ***************************************************************************
-dnl *** Vala bindings support ***
-dnl ***************************************************************************
-AC_ARG_ENABLE([vala],
- [AS_HELP_STRING([--enable-vala],
- [Install vala bindings [default=auto]])],
- [enable_vala=$enableval],
- [enable_vala=auto])
-
-m4_ifdef([VAPIGEN_CHECK],
- [VAPIGEN_CHECK([0.18],,,[no])],
- [AM_CONDITIONAL([ENABLE_VAPIGEN],[false])])
-
-dnl ***************************************************************************
-dnl *** Output Makefiles et al ***
-dnl ***************************************************************************
-AC_CONFIG_FILES([
-Makefile
-data/gweather-3.0.pc
-data/gweather-3.0-uninstalled.pc
-data/Makefile
-data/glade/Makefile
-doc/Makefile
-doc/version.xml
-libgweather/Makefile
-libgweather/gweather-version.h
-po/Makefile.in
-po-locations/Makefile.in
-schemas/Makefile
-])
-AC_OUTPUT
-
-dnl ***************************************************************************
-dnl *** Display Summary ***
-dnl ***************************************************************************
-echo "
-libgweather-$VERSION configure summary:
-
- Prefix: ${prefix}
- Source code location: ${srcdir}
- Compiler: ${CC}
- Introspection support: ${found_introspection}
- Build Vala bindings: ${enable_vala}
-" >&2
diff --git a/data/Makefile.am b/data/Makefile.am
deleted file mode 100644
index 1ccf14a..0000000
--- a/data/Makefile.am
+++ /dev/null
@@ -1,41 +0,0 @@
-
-SUBDIRS =
-
-if ENABLE_GLADE_CATALOG
-SUBDIRS += glade
-endif
-
-libgweatherdtddir = $(pkgdatadir)
-libgweatherdtd_DATA = locations.dtd
-
-libgweatherlocationsdir = $(pkgdatadir)
-libgweatherlocations_DATA = Locations.xml
-
-### Locations.xml rebuild
-rebuild-locations: locationdb.sqlite update-locations.py
- $(AM_V_GEN)($(srcdir)/update-locations.py > Locations.xml.new && mv Locations.xml.new Locations.xml) || rm -f Locations.xml.new
-
-locationdb.sqlite: build-locationdb.pl major-cities.txt sources/nsd_cccc.txt sources/POP_PLACES.txt sources/US_CONCISE.txt sources/geonames_dd_dms_date_*.txt city-fixups.pl station-fixups.pl
- $(AM_V_GEN)$(srcdir)/build-locationdb.pl
-
-check:
- xmllint --valid --path "$(srcdir)" --noout $(builddir)/Locations.xml
- $(srcdir)/check-timezones.sh $(builddir)/Locations.xml
-
-@INTLTOOL_XML_NOMERGE_RULE@
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gweather-3.0.pc
-
-EXTRA_DIST = \
- gweather-3.0.pc.in \
- gweather-3.0-uninstalled.pc.in \
- Locations.xml.in \
- $(libgweatherdtd_DATA) \
- check-timezones.sh \
- README \
- README.timezones
-
-CLEANFILES = $(libgweatherlocations_DATA)
-
--include $(top_srcdir)/git.mk
diff --git a/data/glade/Makefile.am b/data/glade/Makefile.am
deleted file mode 100644
index a1706a7..0000000
--- a/data/glade/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-catalogdir = $(GLADE_CATALOG_DIR)
-catalog_in_files = libgweather.xml.in
-catalog_DATA = $(catalog_in_files:.xml.in=.xml)
-
-EXTRA_DIST = \
- $(catalog_in_files)
-
-check-local: $(catalog_DATA)
- xmllint --dtdvalid $(GLADE_CATALOG_DTD_DIR)/glade-catalog.dtd --noout $<
-
-CLEANFILES = $(catalog_DATA)
-
-@INTLTOOL_XML_NOMERGE_RULE@
-
--include $(top_srcdir)/git.mk
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index d4f1690..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,94 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# We require automake 1.6 at least.
-AUTOMAKE_OPTIONS = 1.6
-
-# The name of the module, e.g. 'glib'.
-DOC_MODULE = libgweather
-
-# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
-DOC_MODULE_VERSION = 3.0
-
-# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
-#DOC_MODULE_VERSION=2
-
-# The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../libgweather
-
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=
-
-# Extra options to supply to gtkdoc-scan
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--deprecated-guards="GWEATHER_DISABLE_DEPRECATED"
-
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-MKTMPL_OPTIONS=
-
-# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=
-
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-FIXXREF_OPTIONS=
-
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/libgweather/*.h
-CFILE_GLOB=$(top_srcdir)/libgweather/*.c
-
-# Header files to ignore when scanning.
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=gweather-enum-types.h gweather-parser.h gweather-private.h
-
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-HTML_IMAGES=
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files= \
- version.xml
-
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-expand_content_files=
-
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-GTKDOC_CFLAGS = -I$(top_srcdir) $(GTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBSOUP_CFLAGS) -DGWEATHER_COMPILATION
-GTKDOC_LIBS = $(top_builddir)/libgweather/libgweather-3.la $(GTK_LIBS) $(LIBXML_LIBS) $(LIBSOUP_LIBS)
-
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
-
-# Files not to distribute
-# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
-# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
-#DISTCLEANFILES +=
-
-# Comment this out if you want your docs-status tested during 'make check'
-#TESTS = $(GTKDOC_CHECK)
-
-
--include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
deleted file mode 100644
index 7667636..0000000
--- a/git.mk
+++ /dev/null
@@ -1,291 +0,0 @@
-# git.mk
-#
-# Copyright 2009, Red Hat, Inc.
-# Copyright 2010,2011,2012,2013 Behdad Esfahbod
-# Written by Behdad Esfahbod
-#
-# Copying and distribution of this file, with or without modification,
-# is permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved.
-#
-# The latest version of this file can be downloaded from:
-# https://raw.github.com/behdad/git.mk/master/git.mk
-# Bugs, etc, should be reported upstream at:
-# https://github.com/behdad/git.mk
-#
-# To use in your project, import this file in your git repo's toplevel,
-# then do "make -f git.mk". This modifies all Makefile.am files in
-# your project to -include git.mk. Remember to add that line to new
-# Makefile.am files you create in your project, or just rerun the
-# "make -f git.mk".
-#
-# This enables automatic .gitignore generation. If you need to ignore
-# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
-# But think twice before doing that. If a file has to be in .gitignore,
-# chances are very high that it's a generated file and should be in one
-# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
-#
-# The only case that you need to manually add a file to GITIGNOREFILES is
-# when remove files in one of mostlyclean-local, clean-local, distclean-local,
-# or maintainer-clean-local make targets.
-#
-# Note that for files like editor backup, etc, there are better places to
-# ignore them. See "man gitignore".
-#
-# If "make maintainer-clean" removes the files but they are not recognized
-# by this script (that is, if "git status" shows untracked files still), send
-# me the output of "git status" as well as your Makefile.am and Makefile for
-# the directories involved and I'll diagnose.
-#
-# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
-# Makefile.am.sample in the git.mk git repo.
-#
-# Don't EXTRA_DIST this file. It is supposed to only live in git clones,
-# not tarballs. It serves no useful purpose in tarballs and clutters the
-# build dir.
-#
-# This file knows how to handle autoconf, automake, libtool, gtk-doc,
-# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu.
-#
-# This makefile provides the following targets:
-#
-# - all: "make all" will build all gitignore files.
-# - gitignore: makes all gitignore files in the current dir and subdirs.
-# - .gitignore: make gitignore file for the current dir.
-# - gitignore-recurse: makes all gitignore files in the subdirs.
-#
-# KNOWN ISSUES:
-#
-# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
-# submodule doesn't find us. If you have configure.{in,ac} files in
-# subdirs, add a proxy git.mk file in those dirs that simply does:
-# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste.
-# And add those files to git. See vte/gnome-pty-helper/git.mk for
-# example.
-#
-
-
-
-###############################################################################
-# Variables user modules may want to add to toplevel MAINTAINERCLEANFILES:
-###############################################################################
-
-#
-# Most autotools-using modules should be fine including this variable in their
-# toplevel MAINTAINERCLEANFILES:
-GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
- $(srcdir)/aclocal.m4 \
- $(srcdir)/ar-lib \
- $(srcdir)/autoscan.log \
- $(srcdir)/compile \
- $(srcdir)/config.guess \
- $(srcdir)/config.h.in \
- $(srcdir)/config.sub \
- $(srcdir)/configure.scan \
- $(srcdir)/depcomp \
- $(srcdir)/install-sh \
- $(srcdir)/ltmain.sh \
- $(srcdir)/missing \
- $(srcdir)/mkinstalldirs
-#
-# All modules should also be fine including the following variable, which
-# removes automake-generated Makefile.in files:
-GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
- `$(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' $(srcdir)/configure.ac | \
- while read f; do \
- case $$f in Makefile|*/Makefile) \
- test -f "$(srcdir)/$$f.am" && echo "$(srcdir)/$$f.in";; esac; \
- done`
-#
-# Modules that use libtool /and/ use AC_CONFIG_MACRO_DIR([m4]) may also
-# include this:
-GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
- $(srcdir)/m4/libtool.m4 \
- $(srcdir)/m4/ltoptions.m4 \
- $(srcdir)/m4/ltsugar.m4 \
- $(srcdir)/m4/ltversion.m4 \
- $(srcdir)/m4/lt~obsolete.m4
-
-
-
-###############################################################################
-# Default rule is to install ourselves in all Makefile.am files:
-###############################################################################
-
-git-all: git-mk-install
-
-git-mk-install:
- @echo "Installing git makefile"
- @any_failed=; \
- find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \
- if grep 'include .*/git.mk' $$x >/dev/null; then \
- echo "$$x already includes git.mk"; \
- else \
- failed=; \
- echo "Updating $$x"; \
- { cat $$x; \
- echo ''; \
- echo '-include $$(top_srcdir)/git.mk'; \
- } > $$x.tmp || failed=1; \
- if test x$$failed = x; then \
- mv $$x.tmp $$x || failed=1; \
- fi; \
- if test x$$failed = x; then : else \
- echo "Failed updating $$x"; >&2 \
- any_failed=1; \
- fi; \
- fi; done; test -z "$$any_failed"
-
-.PHONY: git-all git-mk-install
-
-
-
-###############################################################################
-# Actual .gitignore generation:
-###############################################################################
-
-$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
- @echo "git.mk: Generating $@"
- @{ \
- if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
- for x in \
- $(DOC_MODULE)-decl-list.txt \
- $(DOC_MODULE)-decl.txt \
- tmpl/$(DOC_MODULE)-unused.sgml \
- "tmpl/*.bak" \
- xml html \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
- for lc in $(DOC_LINGUAS); do \
- for x in \
- $(if $(DOC_MODULE),$(DOC_MODULE).xml) \
- $(DOC_PAGES) \
- $(DOC_INCLUDES) \
- ; do echo "/$$lc/$$x"; done; \
- done; \
- for x in \
- $(_DOC_OMF_ALL) \
- $(_DOC_DSK_ALL) \
- $(_DOC_HTML_ALL) \
- $(_DOC_MOFILES) \
- $(DOC_H_FILE) \
- "*/.xml2po.mo" \
- "*/*.omf.out" \
- ; do echo /$$x; done; \
- fi; \
- if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \
- for lc in $(HELP_LINGUAS); do \
- for x in \
- $(HELP_FILES) \
- "$$lc.stamp" \
- "$$lc.mo" \
- ; do echo "/$$lc/$$x"; done; \
- done; \
- fi; \
- if test "x$(gsettings_SCHEMAS)" = x; then :; else \
- for x in \
- $(gsettings_SCHEMAS:.xml=.valid) \
- $(gsettings__enum_file) \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/po/Makefile.in.in; then \
- for x in \
- po/Makefile.in.in \
- po/Makefile.in.in~ \
- po/Makefile.in \
- po/Makefile \
- po/Makevars.template \
- po/POTFILES \
- po/Rules-quot \
- po/stamp-it \
- po/.intltool-merge-cache \
- "po/*.gmo" \
- "po/*.header" \
- "po/*.mo" \
- "po/*.sed" \
- "po/*.sin" \
- po/$(GETTEXT_PACKAGE).pot \
- intltool-extract.in \
- intltool-merge.in \
- intltool-update.in \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/configure; then \
- for x in \
- autom4te.cache \
- configure \
- config.h \
- stamp-h1 \
- libtool \
- config.lt \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(DEJATOOL)" = x; then :; else \
- for x in \
- $(DEJATOOL) \
- ; do echo "/$$x.sum"; echo "/$$x.log"; done; \
- echo /site.exp; \
- fi; \
- if test "x$(am__dirstamp)" = x; then :; else \
- echo "$(am__dirstamp)"; \
- fi; \
- if test "x$(LTCOMPILE)" = x; then :; else \
- for x in \
- "*.lo" \
- ".libs" "_libs" \
- ; do echo "$$x"; done; \
- fi; \
- for x in \
- .gitignore \
- $(GITIGNOREFILES) \
- $(CLEANFILES) \
- $(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \
- $(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \
- $(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \
- so_locations \
- $(MOSTLYCLEANFILES) \
- "*.$(OBJEXT)" \
- $(DISTCLEANFILES) \
- $(am__CONFIG_DISTCLEAN_FILES) \
- $(CONFIG_CLEAN_FILES) \
- TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
- "*.tab.c" \
- $(MAINTAINERCLEANFILES) \
- $(BUILT_SOURCES) \
- $(DEPDIR) \
- Makefile \
- Makefile.in \
- "*.orig" \
- "*.rej" \
- "*.bak" \
- "*~" \
- ".*.sw[nop]" \
- ".dirstamp" \
- ; do echo "/$$x"; done; \
- } | \
- sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
- sed 's@/[.]/@/@g' | \
- LC_ALL=C sort | uniq > $@.tmp && \
- mv $@.tmp $@;
-
-all: $(srcdir)/.gitignore gitignore-recurse-maybe
-gitignore: $(srcdir)/.gitignore gitignore-recurse
-
-gitignore-recurse-maybe:
- @for subdir in $(DIST_SUBDIRS); do \
- case " $(SUBDIRS) " in \
- *" $$subdir "*) :;; \
- *) test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse-maybe || echo "Skipping $$subdir");; \
- esac; \
- done
-gitignore-recurse:
- @for subdir in $(DIST_SUBDIRS); do \
- test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir"); \
- done
-
-maintainer-clean: gitignore-clean
-gitignore-clean:
- -rm -f $(srcdir)/.gitignore
-
-.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe
diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am
deleted file mode 100644
index 8efa89e..0000000
--- a/libgweather/Makefile.am
+++ /dev/null
@@ -1,141 +0,0 @@
-# we need to build two libraries (one real and one static)
-# because we access private symbols from the tests
-lib_LTLIBRARIES = libgweather-3.la
-noinst_LTLIBRARIES = libgweather-internal-3.la
-noinst_PROGRAMS = test_metar test_locations test_sun_moon
-
-AM_CPPFLAGS = \
- -DGWEATHER_COMPILATION \
- -D_XOPEN_SOURCE=700 \
- -D_DEFAULT_SOURCE \
- $(DEPS_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- -I$(srcdir)
-
-AM_CFLAGS = $(WARN_CFLAGS)
-
-gweather_new_headers = \
- gweather.h \
- gweather-location.h gweather-location-entry.h \
- gweather-timezone.h gweather-timezone-menu.h \
- gweather-weather.h gweather-enums.h
-
-libgweatherincdir = $(includedir)/libgweather-3.0/libgweather
-libgweatherinc_HEADERS = \
- $(gweather_new_headers) \
- gweather-enum-types.h \
- gweather-version.h
-
-gweather_c_sources = \
- gweather.c gweather-private.c \
- gweather-weather.c \
- weather-metar.c weather-iwin.c weather-yahoo.c \
- weather-wx.c weather-yrno.c weather-owm.c \
- weather-sun.c weather-moon.c \
- gweather-location.c \
- gweather-timezone.c \
- gweather-location-entry.c \
- gweather-timezone-menu.c \
- gweather-parser.c
-
-introspection_sources = \
- $(gweather_c_sources) \
- $(gweather_new_headers)
-
-built_introspection_sources = \
- gweather-enum-types.h gweather-enum-types.c
-
-libgweather_internal_3_la_SOURCES = \
- $(gweather_c_sources) \
- $(gweather_new_headers) \
- $(built_introspection_sources) \
- gweather-private.h \
- gweather-parser.h
-
-libgweather_internal_3_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DG_LOG_DOMAIN=\"GWeather\" \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
- -DGWEATHER_XML_LOCATION_DIR=\""$(pkgdatadir)"\"
-
-libgweather_internal_3_la_LIBADD = \
- $(LIBM) \
- $(DEPS_LIBS)
-
-libgweather_3_la_SOURCES =
-libgweather_3_la_LIBADD = libgweather-internal-3.la
-libgweather_3_la_LDFLAGS = \
- -export-symbols-regex "^gweather_(.*)" \
- -version-info $(LT_VERSION) -no-undefined
-
-test_metar_SOURCES = test_metar.c
-test_metar_LDADD = libgweather-internal-3.la $(DEPS_LIBS)
-
-test_locations_SOURCES = test_locations.c
-test_locations_LDADD = libgweather-3.la $(DEPS_LIBS)
-
-test_sun_moon_SOURCES = test_sun_moon.c
-test_sun_moon_LDADD = libgweather-internal-3.la $(DEPS_LIBS)
-
-gweather-enum-types.h: $(gweather_new_headers)
- $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template gweather-enum-types.h.tmpl \
- $(gweather_new_headers) ) > gweather-enum-types.h.tmp \
- && mv gweather-enum-types.h.tmp gweather-enum-types.h \
- || rm -f gweather-enum-type.h.tmp
-
-gweather-enum-types.c: $(gweather_new_headers)
- $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template gweather-enum-types.c.tmpl \
- $(gweather_new_headers) ) > gweather-enum-types.c.tmp \
- && mv gweather-enum-types.c.tmp gweather-enum-types.c \
- || rm -f gweather-enum-type.c.tmp
-
-BUILT_SOURCES = gweather-enum-types.c gweather-enum-types.h
-
-EXTRA_DIST = gweather-version.h.in
-
-CLEANFILES = $(noinst_PROGRAMS) $(BUILT_SOURCES)
-
-# Introspection
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(srcdir) --c-include=libgweather/gweather.h
-INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
-
-if HAVE_INTROSPECTION
-GWeather-3.0.gir: libgweather-3.la Makefile
-GWeather_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
-GWeather_3_0_gir_CFLAGS = $(libgweather_internal_3_la_CPPFLAGS)
-GWeather_3_0_gir_LIBS = libgweather-3.la
-GWeather_3_0_gir_SCANNERFLAGS = --identifier-prefix=GWeather --symbol-prefix=gweather --pkg-export=gweather-3.0
-GWeather_3_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources)) $(addprefix $(builddir)/,$(built_introspection_sources))
-INTROSPECTION_GIRS += GWeather-3.0.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)
-
-if ENABLE_VAPIGEN
--include $(VAPIGEN_MAKEFILE)
-
-VAPIGEN_VAPIS = gweather-3.0.vapi
-
-gweather-3.0.vapi: GWeather-3.0.gir
-gweather_3_0_vapi_DEPS = gobject-2.0 gtk+-3.0
-gweather_3_0_vapi_METADATADIRS = $(srcdir)
-gweather_3_0_vapi_VAPIDIRS = $(datadir)/vala/vapi
-gweather_3_0_vapi_FILES = GWeather-3.0.gir
-
-vapidir = $(VAPIGEN_VAPIDIR)
-nodist_vapi_DATA = $(VAPIGEN_VAPIS)
-
-CLEANFILES += $(nodist_vapi_DATA)
-
-endif # ENABLE_VAPIGEN
-endif # HAVE_INTROSPECTION
-
--include $(top_srcdir)/git.mk
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
deleted file mode 100644
index 6cd21ee..0000000
--- a/schemas/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-gsettings_ENUM_NAMESPACE = org.gnome.GWeather
-gsettings_ENUM_FILES = $(top_srcdir)/libgweather/gweather-enums.h
-
-gsettings_SCHEMAS = org.gnome.GWeather.gschema.xml
-
-@GSETTINGS_RULES@
-
-EXTRA_DIST = \
- $(gsettings_SCHEMAS)
-
-CLEANFILES = \
- *.valid
-
--include $(top_srcdir)/git.mk