diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-06-08 19:34:08 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-06-08 19:34:08 +0200 |
commit | 764593212f164db8836b18645ee8571f86e562df (patch) | |
tree | b8beffd0f5b8651051502c8b97273f8847c316bf | |
parent | 822efb96d0421bdb56251b36c37118e537a2a388 (diff) | |
download | totem-pl-parser-764593212f164db8836b18645ee8571f86e562df.tar.gz |
build: Remove autotools
Now that we can use Meson as a build system.
-rw-r--r-- | Makefile.am | 61 | ||||
-rw-r--r-- | Makefile.decl | 53 | ||||
-rwxr-xr-x | autogen.sh | 39 | ||||
-rw-r--r-- | configure.ac | 256 | ||||
-rw-r--r-- | docs/Makefile.am | 3 | ||||
-rw-r--r-- | docs/reference/Makefile.am | 109 | ||||
-rw-r--r-- | git.mk | 200 | ||||
-rw-r--r-- | lib/Makefile.am | 16 | ||||
-rw-r--r-- | plparse/Makefile.am | 237 | ||||
-rw-r--r-- | plparse/plparser-mini.symbols | 3 | ||||
-rw-r--r-- | plparse/plparser.symbols | 46 | ||||
-rw-r--r-- | plparse/tests/Makefile.am | 83 |
12 files changed, 0 insertions, 1106 deletions
diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 5ab25ad..0000000 --- a/Makefile.am +++ /dev/null @@ -1,61 +0,0 @@ -SUBDIRS = lib plparse po docs - -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} - -EXTRA_DIST = \ - COPYING.LIB \ - autogen.sh \ - intltool-extract.in \ - intltool-merge.in \ - intltool-update.in \ - AUTHORS NEWS \ - gtk-doc.make \ - totem-plparser.pc.in \ - totem-plparser-mini.pc \ - totem-pl-parser.spec \ - totem-pl-parser.doap \ - MAINTAINERS \ - $(NULL) - -CLEANFILES = totem-plparser.pc - -DISTCLEANFILES = intltool-extract intltool-merge intltool-update \ - gtk-doc.make - -MAINTAINERCLEANFILES = \ - INSTALL \ - aclocal.m4 \ - compile \ - config.guess \ - config.h.in \ - config.sub \ - depcomp \ - install-sh \ - intltool-extract.in \ - intltool-merge.in \ - intltool-update.in \ - ltmain.sh \ - missing \ - gtk-doc.make \ - ChangeLog \ - `find "$(srcdir)" -type f -name Makefile.in -print` \ - $(NULL) - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = totem-plparser.pc totem-plparser-mini.pc - -DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc --enable-introspection --enable-uninstalled-tests - -# Build ChangeLog from GIT history -ChangeLog: - @if test -f $(top_srcdir)/.git/HEAD; then \ - pushd $(top_srcdir) ; \ - git log --stat --after="Mon Jul 20 23:47:57 2009" > $@; \ - popd ; \ - fi - -dist: ChangeLog - -.PHONY: ChangeLog - --include $(top_srcdir)/git.mk diff --git a/Makefile.decl b/Makefile.decl deleted file mode 100644 index aab33c3..0000000 --- a/Makefile.decl +++ /dev/null @@ -1,53 +0,0 @@ -GTESTER = gtester # in $PATH for non-GLIB packages -GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages - -# initialize variables for unconditional += appending -TEST_PROGS = - -# test: run all tests in cwd and subdirs -test: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} - @ for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done - -# test-report: run tests in subdirs and generate report -# perf-report: run tests in subdirs with -m perf and generate report -# full-report: like test-report: with -m perf and -m slow -test-report perf-report full-report: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || { \ - case $@ in \ - test-report) test_options="-k";; \ - perf-report) test_options="-k -m=perf";; \ - full-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ - elif test -n "${TEST_PROGS}" ; then \ - ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ - fi ; \ - } - @ ignore_logdir=true ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ - ignore_logdir=false ; \ - fi ; \ - for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done ; \ - $$ignore_logdir || { \ - echo '<?xml version="1.0"?>' > $@.xml ; \ - echo '<report-collection>' >> $@.xml ; \ - for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ - sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ - done ; \ - echo >> $@.xml ; \ - echo '</report-collection>' >> $@.xml ; \ - rm -rf "$$GTESTER_LOGDIR"/ ; \ - ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ - } -.PHONY: test test-report perf-report full-report -# run make test as part of make check -check-local: test diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 9bf7673..0000000 --- a/autogen.sh +++ /dev/null @@ -1,39 +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 -} - -# shellcheck disable=SC2016 -PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac) - -if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then - echo "*** WARNING: I am going to run 'configure' with no arguments." >&2 - echo "*** If you wish to pass any to it, please specify them on the" >&2 - echo "*** '$0' command line." >&2 - echo "" >&2 -fi - -aclocal --install || exit 1 -gtkdocize --copy || exit 1 -intltoolize --force --copy --automake || exit 1 -autoreconf --verbose --force --install || exit 1 - -cd "$olddir" -if [ "$NOCONFIGURE" = "" ]; then - $srcdir/configure "$@" || exit 1 - - if [ "$1" = "--help" ]; then exit 0 else - echo "Now type 'make' to compile $PKG_NAME" || exit 1 - fi -else - echo "Skipping configure process." -fi diff --git a/configure.ac b/configure.ac deleted file mode 100644 index f9fd4a5..0000000 --- a/configure.ac +++ /dev/null @@ -1,256 +0,0 @@ -AC_PREREQ(2.62) - -m4_define(totem_version_major, 3) -m4_define(totem_version_minor, 10) -m4_define(totem_version_micro, 7) - -AC_INIT([totem-pl-parser], - [totem_version_major.totem_version_minor.totem_version_micro], - [http://bugzilla.gnome.org/enter_bug.cgi?product=totem-pl-parser&component=General]) - -AC_CONFIG_SRCDIR([plparse/totem-pl-parser.c]) -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_MACRO_DIR([m4]) - -AX_IS_RELEASE([git-directory]) -AX_CHECK_ENABLE_DEBUG([yes]) - -AM_INIT_AUTOMAKE([1.9 dist-xz no-dist-gzip check-news subdir-objects]) -AM_MAINTAINER_MODE([enable]) -AC_USE_SYSTEM_EXTENSIONS - -# Enable silent build when available (Automake 1.11) -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) - -dnl Add the languages which your application supports to po/LINGUAS -GETTEXT_PACKAGE=totem-pl-parser -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name]) -AC_SUBST(GETTEXT_PACKAGE) -IT_PROG_INTLTOOL([0.35.0]) - -AC_PROG_CXX -AM_PROG_CC_C_O - -# Initialize libtool -LT_PREREQ([2.2]) -LT_INIT([]) - -PKG_PROG_PKG_CONFIG - -dnl Use local version of asprintf when not on the current system. -AC_CHECK_FUNCS(asprintf) -AC_CONFIG_LIBOBJ_DIR([lib]) -AC_REPLACE_FUNCS([asprintf]) - -AC_PATH_PROG([GLIB_GENMARSHAL],[glib-genmarshal]) -AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums]) - -# Requirements -GLIB_REQS=2.36.0 -GIO_REQS=2.24.0 -QUVI_REQS=0.9.1 -LIBARCHIVE_REQS=3.0 -LIBSOUP_REQS=2.43.0 - -# Before making a release, the PLPARSER_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 -PLPARSER_LT_VERSION=19:0:1 -AC_SUBST(PLPARSER_LT_VERSION) - -TOTEM_PL_PARSER_VERSION_MAJOR=totem_version_major -TOTEM_PL_PARSER_VERSION_MINOR=totem_version_minor -TOTEM_PL_PARSER_VERSION_MICRO=totem_version_micro -AC_SUBST(TOTEM_PL_PARSER_VERSION_MAJOR) -AC_SUBST(TOTEM_PL_PARSER_VERSION_MINOR) -AC_SUBST(TOTEM_PL_PARSER_VERSION_MICRO) - -pkg_modules="glib-2.0 >= $GLIB_REQS libxml-2.0 gthread-2.0 gio-2.0 >= $GIO_REQS libsoup-2.4 >= $LIBSOUP_REQS" - -################################## -# Checking libgmime dependency -################################## -gmime_message="" - -AC_ARG_ENABLE(gmime-i-know-what-im-doing, - AS_HELP_STRING([--disable-gmime-i-know-what-im-doing], - [Disable libgmime (Unsupported, breaks Podcast support).]), - [enable_gmime=no], - [enable_gmime=yes]) - -if test "x$enable_gmime" = "xyes" ; then - have_gmime3=no - PKG_CHECK_MODULES(GMIME, - gmime-3.0, - [have_gmime=yes have_gmime3=yes GMIME=gmime-3.0], - [have_gmime=no]) - - if test "x$have_gmime" = "xno" ; then - PKG_CHECK_MODULES(GMIME, - gmime-2.6, - [have_gmime=yes GMIME=gmime-2.6], - [have_gmime=no]) - fi - - if test "x$have_gmime" = "xyes" ; then - AC_SUBST(GMIME, $GMIME) - AC_SUBST(USEGMIME, yes) - AC_DEFINE(HAVE_GMIME, 1, [GMime available in the system]) - if test "x$have_gmime3" = xyes ; then - AC_DEFINE(HAVE_GMIME3, 1, [GMime 3.0 available in the system]) - fi - pkg_modules="$pkg_modules $GMIME" - else - AC_MSG_ERROR([libgmime is required to compile totem-pl-parser.]) - fi -else - AC_SUBST(USEGMIME, no) - gmime_message=" - ************************************************************** - Compiling totem-pl-parser without libgmime. - This will break podcast support and is completely unsupported. - **************************************************************" -fi - -################################## -# Checking quvi dependency -################################## - -QUVI="" -AC_ARG_ENABLE(quvi, - AS_HELP_STRING([--enable-quvi], - [Enable libquvi support (default is auto).]), - [], - [enable_quvi=auto]) -if test "x$enable_quvi" != "xno" ; then - PKG_CHECK_MODULES(QUVI, - libquvi-0.9 >= $QUVI_REQS glib-2.0, - [have_quvi=yes], [have_quvi=no]) - if test "x$enable_quvi" = "xyes" -a "x$have_quvi" = "xno" ; then - AC_MSG_ERROR([Quvi support requested but not available.]) - fi - if test "x$have_quvi" = "xyes" ; then - QUVI="libquvi-0.9" - AC_DEFINE(HAVE_QUVI, 1, [libquvi available in the system]) - fi -fi -AC_SUBST(QUVI, $QUVI) -AM_CONDITIONAL([HAVE_QUVI], [test "$have_quvi" = "yes"]) - -################################## -# Checking libarchive dependency -################################## - -ARCHIVE="" -AC_ARG_ENABLE(libarchive, - AS_HELP_STRING([--enable-libarchive], - [Enable libarchive support (default is auto).]), - [], - [enable_libarchive=auto]) -if test "x$enable_libarchive" != "xno" ; then - PKG_CHECK_MODULES(ARCHIVE, - libarchive >= $LIBARCHIVE_REQS, - [have_libarchive=yes], [have_libarchive=no]) - if test "x$enable_libarchive" = "xyes" -a "x$have_libarchive" = "xno" ; then - AC_MSG_ERROR([Libarchive support requested but not available.]) - fi - if test "x$have_libarchive" = "xyes" ; then - pkg_modules="$pkg_modules libarchive" - ARCHIVE="libarchive" - AC_DEFINE(HAVE_LIBARCHIVE, 1, [libarchive available in the system]) - fi -fi -AC_SUBST(ARCHIVE, $ARCHIVE) - -################################ -# Checking libgcrypt dependency -################################ - -AM_PATH_LIBGCRYPT([],[have_libgcrypt=yes],[have_libgcrypt=no]) - -ARCHIVE="" -AC_ARG_ENABLE(libgcrypt, - AS_HELP_STRING([--enable-libgcrypt], - [Enable libgcrypt support (default is auto).]), - [], - [enable_libgcrypt=auto]) -if test "x$enable_libgcrypt" != "xno" ; then - if test "x$enable_libgcrypt" = "xyes" -a "x$have_libgcrypt" = "xno" ; then - AC_MSG_ERROR([Libgcrypt support requested but not available.]) - fi - if test "x$have_libgcrypt" = "xyes" ; then - AC_DEFINE(HAVE_LIBGCRYPT, 1, [libgcrypt available in the system]) - use_libgcrypt=yes - fi -fi - -############################ -# Checking uninstalled tests -############################ - -AC_ARG_ENABLE(uninstalled-tests, - AS_HELP_STRING([--enable-uninstalled-tests], - [Uninstalled tests (default is no).]), - [], - [enable_uninstalled_tests=no]) -if test "x$enable_uninstalled_tests" != "xno" ; then - AC_DEFINE(UNINSTALLED_TESTS, 1, [Uninstalled tests]) -fi - - -dnl Check for packages for building libtotem-plparser.la -PKG_CHECK_MODULES(TOTEM_PLPARSER, [$pkg_modules]) -AC_SUBST(TOTEM_PLPARSER_CFLAGS) -AC_SUBST(TOTEM_PLPARSER_LIBS) - -PKG_CHECK_MODULES([TOTEM_PLPARSER_MINI], [gio-2.0]) - -AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS]) - -GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) -GOBJECT_INTROSPECTION_CHECK([0.9.5]) -AX_CODE_COVERAGE - -AC_CONFIG_FILES([ -Makefile -totem-plparser.pc -totem-plparser-uninstalled.pc -totem-plparser-mini.pc -totem-plparser-mini-uninstalled.pc -totem-pl-parser.spec -lib/Makefile -plparse/Makefile -plparse/tests/Makefile -plparse/totem-pl-parser-features.h -po/Makefile.in -docs/Makefile -docs/reference/Makefile -docs/reference/version.xml -]) - - -AC_OUTPUT - -if test "x$have_quvi" = "xyes"; then - AC_MSG_NOTICE([** Quvi video link parsing enabled]) -else - AC_MSG_NOTICE([ Quvi video link parsing disabled]) -fi -if test "x$have_libarchive" = "xyes"; then - AC_MSG_NOTICE([** ISO detection with libarchive enabled]) -else - AC_MSG_NOTICE([ ISO detection with libarchive disabled]) -fi -if test "x$use_libgcrypt" = "xyes"; then - AC_MSG_NOTICE([** AmazonAMZ decoding with libgcrypt enabled]) -else - AC_MSG_NOTICE([ AmazonAMZ decoding with libgcrypt disabled]) -fi - -echo " -$gmime_message -" diff --git a/docs/Makefile.am b/docs/Makefile.am deleted file mode 100644 index 034926c..0000000 --- a/docs/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -SUBDIRS = reference - --include $(top_srcdir)/git.mk diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am deleted file mode 100644 index 6eee1fa..0000000 --- a/docs/reference/Makefile.am +++ /dev/null @@ -1,109 +0,0 @@ -## Process this file with automake to produce Makefile.in - -# We require automake 1.6 at least. -AUTOMAKE_OPTIONS = 1.6 - -# This is a blank Makefile.am for using gtk-doc. -# Copy this to your project's API docs directory and modify the variables to -# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples -# of using the various options. - -# The name of the module, e.g. 'glib'. -DOC_MODULE=totem-pl-parser - -# 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="$(abs_top_srcdir)/plparse" - -# 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=--rebuild-types - -# Extra options to supply to gtkdoc-mkdb. -# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml -MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=totem_ - -# 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= - -# Add the builddir to the HTML path so that version.xml is found -MKHTML_OPTIONS=--path="$(abs_builddir)" - -# 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)/plparse/*.h -CFILE_GLOB=$(top_srcdir)/plparse/*.c - -# Header files to ignore when scanning. -# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h -IGNORE_HFILES= \ - bswap.h \ - stamp-totem-pl-parser-builtins.h \ - totem-disc.h \ - totem-pl-parser-amz.h \ - totem-pl-parser-builtins.h \ - totem-pl-parser-features.h \ - totem-pl-parser-lines.h \ - totemplparser-marshal.h \ - totem-pl-parser-media.h \ - totem-pl-parser-misc.h \ - totem-pl-parser-pla.h \ - totem-pl-parser-pls.h \ - totem-pl-parser-podcast.h \ - totem-pl-parser-private.h \ - totem-pl-parser-qt.h \ - totem-pl-parser-smil.h \ - totem-pl-parser-videosite.h \ - totem-pl-parser-wm.h \ - totem-pl-parser-xspf.h \ - xmllexer.h \ - xmlparser.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. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) -# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) -AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(TOTEM_PLPARSER_CFLAGS) -GTKDOC_LIBS=$(top_builddir)/plparse/libtotem-plparser.la $(TOTEM_PLPARSER_LIBS) - -# This includes the standard gtk-doc make rules, copied by gtkdocize. -include $(top_srcdir)/gtk-doc.make - -# This should be in gtk-doc.make, since we are calling gtkdoc-scan with -# --rebuild-types -SCANOBJ_FILES += $(DOC_MODULE).types - -# Other files to distribute -# e.g. EXTRA_DIST += version.xml.in -EXTRA_DIST += version.xml.in - -if ENABLE_GTK_DOC -#TESTS_ENVIRONMENT = cd $(builddir) && -#TESTS = $(GTKDOC_CHECK) -endif - --include $(top_srcdir)/git.mk @@ -1,200 +0,0 @@ -# git.mk -# -# Copyright 2009, Red Hat, Inc. -# Written by Behdad Esfahbod -# -# 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. -# -# The canonical source for this file is pango/git.mk, or whereever the -# header of pango/git.mk suggests in the future. -# -# 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. -# -# 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. -# -# 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. -# -# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see -# pango/Makefile.am. -# -# 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, mallard, intltool, gsettings. -# -# -# 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. -# -# ChangeLog -# -# - 2010-12-06 Add support for Mallard docs -# - 2010-12-06 Start this change log - -git-all: git-mk-install - -git-mk-install: - @echo Installing git makefile - @any_failed=; find $(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 - - -### .gitignore generation - -$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk - $(AM_V_GEN) \ - { \ - 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 x in \ - $(_DOC_C_DOCS) \ - $(_DOC_LC_DOCS) \ - $(_DOC_OMF_ALL) \ - $(_DOC_DSK_ALL) \ - $(_DOC_HTML_ALL) \ - $(_DOC_MOFILES) \ - $(_DOC_POFILES) \ - $(DOC_H_FILE) \ - "*/.xml2po.mo" \ - "*/*.omf.out" \ - ; do echo /$$x; 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 \ - po/Makefile \ - po/POTFILES \ - po/stamp-it \ - po/.intltool-merge-cache \ - "po/*.gmo" \ - "po/*.mo" \ - 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; \ - for x in \ - .gitignore \ - $(GITIGNOREFILES) \ - $(CLEANFILES) \ - $(PROGRAMS) \ - $(check_PROGRAMS) \ - $(EXTRA_PROGRAMS) \ - $(LTLIBRARIES) \ - so_locations \ - .libs _libs \ - $(MOSTLYCLEANFILES) \ - "*.$(OBJEXT)" \ - "*.lo" \ - $(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-recurse-maybe: - @if test "x$(SUBDIRS)" = "x$(DIST_SUBDIRS)"; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) gitignore-recurse; \ - fi; -gitignore-recurse: - @for subdir in $(DIST_SUBDIRS); do \ - case " $(SUBDIRS) " in \ - *" $$subdir "*) :;; \ - *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir");; \ - esac; \ - done -gitignore: $(srcdir)/.gitignore gitignore-recurse - -maintainer-clean: gitignore-clean -gitignore-clean: - -rm -f $(srcdir)/.gitignore - -.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe diff --git a/lib/Makefile.am b/lib/Makefile.am deleted file mode 100644 index b930e6a..0000000 --- a/lib/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -noinst_LTLIBRARIES = \ - libtotem_glibc.la - -common_defines = \ - -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ - -DDATADIR=\""$(datadir)"\" \ - $(DISABLE_DEPRECATED) - -noinst_HEADERS = totem_internal.h - -libtotem_glibc_la_SOURCES = stub.c -libtotem_glibc_la_LIBADD = @LTLIBOBJS@ - -EXTRA_DIST = asprintf.c - --include $(top_srcdir)/git.mk diff --git a/plparse/Makefile.am b/plparse/Makefile.am deleted file mode 100644 index afefa3c..0000000 --- a/plparse/Makefile.am +++ /dev/null @@ -1,237 +0,0 @@ -SUBDIRS = . tests -DIST_SUBDIRS = tests - -lib_LTLIBRARIES = libtotem-plparser.la libtotem-plparser-mini.la - -BUILTINFILES = totem-pl-parser-builtins.c totem-pl-parser-builtins.h -MARSHALFILES = totemplparser-marshal.c totemplparser-marshal.h - -BUILT_SOURCES = $(MARSHALFILES) \ - $(BUILTINFILES) - -totemplparser-marshal.c: totemplparser-marshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_totemplparser_marshal --header --body --internal $< > $@ - -totemplparser-marshal.h: totemplparser-marshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_totemplparser_marshal --header --internal $< > $@ - -plparserincludedir = $(pkgincludedir)/1/plparser -nodist_plparserinclude_HEADERS = totem-pl-parser-builtins.h -plparserinclude_HEADERS = \ - totem-pl-parser-features.h \ - totem-pl-parser.h \ - totem-pl-playlist.h \ - totem-pl-parser-mini.h - -plparser_sources = \ - totem-disc.c \ - totem-pl-parser.c \ - totem-pl-parser-amz.c \ - totem-pl-parser-lines.c \ - totem-pl-parser-media.c \ - totem-pl-parser-misc.c \ - totem-pl-parser-pla.c \ - totem-pl-parser-pls.c \ - totem-pl-parser-podcast.c \ - totem-pl-parser-qt.c \ - totem-pl-parser-smil.c \ - totem-pl-parser-videosite.c \ - totem-pl-parser-wm.c \ - totem-pl-parser-xspf.c \ - totem-pl-playlist.c - -nodist_libtotem_plparser_la_SOURCES = \ - $(MARSHALFILES) \ - $(BUILTINFILES) - -dist_libtotem_plparser_la_SOURCES = \ - $(plparser_sources) \ - totem-disc.h \ - totem-pl-parser-features.h \ - totem-pl-parser.h \ - totem-pl-parser-lines.h \ - totem-pl-parser-media.h \ - totem-pl-parser-misc.h \ - totem-pl-parser-pla.h \ - totem-pl-parser-pls.h \ - totem-pl-parser-podcast.h \ - totem-pl-parser-private.h \ - totem-pl-parser-qt.h \ - totem-pl-parser-smil.h \ - totem-pl-parser-videosite.h \ - totem-pl-parser-wm.h \ - totem-pl-parser-xspf.h \ - totem-pl-playlist.h \ - totem-pl-parser-amz.h \ - xmlparser.h xmlparser.c \ - xmllexer.h xmllexer.c \ - bswap.h - -libtotem_plparser_la_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lib \ - -I$(top_builddir)/plparse \ - -DGNOMELOCALEDIR=\""$(datadir)/locale"\"\ - -DLIBEXECDIR=\""$(libexecdir)"\" \ - $(DISABLE_DEPRECATED) \ - $(AM_CPPFLAGS) - -libtotem_plparser_la_CFLAGS = \ - $(TOTEM_PLPARSER_CFLAGS) \ - $(ARCHIVE_CFLAGS) \ - $(LIBGCRYPT_CFLAGS) \ - $(DBUS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(CODE_COVERAGE_CFLAGS) \ - $(AM_CFLAGS) \ - -D_FILE_OFFSET_BITS=64 \ - -D_LARGEFILE64_SOURCE \ - -I$(top_srcdir)/lib \ - -D_GNU_SOURCE - -libtotem_plparser_la_LIBADD = \ - $(TOTEM_PLPARSER_LIBS) \ - $(ARCHIVE_LIBS) \ - $(LIBGCRYPT_LIBS) \ - $(top_builddir)/lib/libtotem_glibc.la - -libtotem_plparser_la_LDFLAGS = \ - -version-info $(PLPARSER_LT_VERSION) \ - -export-symbols $(srcdir)/plparser.symbols \ - -no-undefined \ - $(WARN_LDFLAGS) \ - $(CODE_COVERAGE_LDFLAGS) \ - $(AM_LDFLAGS) - -libtotem_plparser_mini_la_SOURCES = \ - totem-pl-parser-mini.h \ - totem-pl-parser.c \ - totem-pl-parser-lines.c \ - totem-pl-parser-lines.h \ - totem-pl-parser-misc.c \ - totem-pl-parser-misc.h \ - totem-pl-parser-pls.c \ - totem-pl-parser-pls.h \ - totem-pl-parser-podcast.c \ - totem-pl-parser-podcast.h \ - totem-pl-parser-private.h \ - totem-pl-parser-qt.c \ - totem-pl-parser-qt.h \ - totem-pl-parser-smil.c \ - totem-pl-parser-smil.h \ - totem-pl-parser-videosite.c \ - totem-pl-parser-videosite.h \ - totem-pl-parser-wm.c \ - totem-pl-parser-wm.h \ - totem-pl-parser-xspf.c \ - totem-pl-parser-xspf.h \ - totem-pl-parser-amz.h \ - totem-pl-parser-amz.c \ - totem-pl-playlist.c \ - totem-pl-playlist.h - -libtotem_plparser_mini_la_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lib \ - -I$(top_builddir)/plparse \ - -DTOTEM_PL_PARSER_MINI \ - -DLIBEXECDIR=\""$(libexecdir)"\"\ - $(DISABLE_DEPRECATED) \ - $(AM_CPPFLAGS) - -libtotem_plparser_mini_la_CFLAGS = \ - $(TOTEM_PLPARSER_MINI_CFLAGS) \ - $(WARN_CFLAGS) \ - $(CODE_COVERAGE_CFLAGS) \ - $(AM_CFLAGS) - -libtotem_plparser_mini_la_LIBADD = \ - $(TOTEM_PLPARSER_MINI_LIBS) \ - $(top_builddir)/lib/libtotem_glibc.la - -libtotem_plparser_mini_la_LDFLAGS = \ - -version-info $(PLPARSER_LT_VERSION) \ - -export-symbols $(srcdir)/plparser-mini.symbols \ - -no-undefined \ - $(WARN_LDFLAGS) \ - $(CODE_COVERAGE_LDFLAGS) \ - $(AM_LDFLAGS) - -totem-pl-parser-builtins.h: totem-pl-parser.h - $(AM_V_GEN) ($(GLIB_MKENUMS) \ - --fhead "#ifndef __TOTEM_PL_PARSER_BUILTINS_H__\n#define __TOTEM_PL_PARSER_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ - --fprod "/* enumerations from \"@filename@\" */\n" \ - --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define TOTEM_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ - --ftail "G_END_DECLS\n\n#endif /* __TOTEM_PL_PARSER_BUILTINS_H__ */" $^ > xgen-$(@F) \ - && mv -f xgen-$(@F) $@) - -totem-pl-parser-builtins.c: totem-pl-parser.h totem-pl-parser-builtins.h - $(AM_V_GEN) ($(GLIB_MKENUMS) \ - --fhead "#include \"totem-pl-parser.h\"\n#include \"totem-pl-parser-builtins.h\"" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" $^ > xgen-$(@F) \ - && mv -f xgen-$(@F) $@) - -CLEANFILES = $(BUILT_SOURCES) - -DISTCLEANFILES = $(CLEANFILES) - -EXTRA_DIST = \ - totemplparser-marshal.list \ - totem-pl-parser-features.h.in \ - plparser.symbols \ - plparser-mini.symbols - -if HAVE_QUVI -libexecsubdir = $(libexecdir)/totem-pl-parser/ -libexecsub_PROGRAMS = 99-totem-pl-parser-videosite -99_totem_pl_parser_videosite_SOURCES = videosite-parser.c -99_totem_pl_parser_videosite_CFLAGS = $(QUVI_CFLAGS) $(WARN_CFLAGS) -DLIBEXECDIR=\""$(libexecdir)"\" -99_totem_pl_parser_videosite_LDADD = $(QUVI_LIBS) -99_totem_pl_parser_videosite_LDFLAGS = $(WARN_LDFLAGS) -endif - -# Introspection --include $(INTROSPECTION_MAKEFILE) -INTROSPECTION_GIRS = -INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --add-include-path=$(builddir) $(WARN_SCANNERFLAGS) -INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) - -if HAVE_INTROSPECTION -introspection_sources = \ - $(plparser_sources) \ - $(plparserinclude_HEADERS) \ - $(BUILTINFILES) \ - totemplparser-marshal.c - -TotemPlParser-1.0.gir: libtotem-plparser.la Makefile totemplparser-marshal.c totemplparser-marshal.h -TotemPlParser_1_0_gir_SCANNERFLAGS = --namespace=TotemPlParser --identifier-prefix=TotemPl --symbol-prefix=totem_pl --identifier-prefix=TotemDisc --symbol-prefix=totem_disc --identifier-prefix=TotemCd --symbol-prefix=totem_cd --nsversion=1.0 -TotemPlParser_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 -TotemPlParser_1_0_gir_CFLAGS = \ - $(TOTEM_PLPARSER_CFLAGS) \ - $(DBUS_CFLAGS) \ - $(AM_CFLAGS) \ - -D_FILE_OFFSET_BITS=64 \ - -D_LARGEFILE64_SOURCE \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lib \ - -I$(top_builddir)/plparse \ - -D_GNU_SOURCE -TotemPlParser_1_0_gir_LIBS = libtotem-plparser.la -TotemPlParser_1_0_gir_FILES = $(introspection_sources) -INTROSPECTION_GIRS += TotemPlParser-1.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) -endif - -@CODE_COVERAGE_RULES@ - --include $(top_srcdir)/git.mk diff --git a/plparse/plparser-mini.symbols b/plparse/plparser-mini.symbols deleted file mode 100644 index 5a117a2..0000000 --- a/plparse/plparser-mini.symbols +++ /dev/null @@ -1,3 +0,0 @@ -totem_pl_parser_can_parse_from_data -totem_pl_parser_can_parse_from_filename -totem_pl_parser_can_parse_from_uri diff --git a/plparse/plparser.symbols b/plparse/plparser.symbols deleted file mode 100644 index bb51a43..0000000 --- a/plparse/plparser.symbols +++ /dev/null @@ -1,46 +0,0 @@ -totem_cd_detect_type -totem_cd_detect_type_from_dir -totem_cd_detect_type_with_url -totem_cd_get_human_readable_name -totem_cd_has_medium -totem_cd_mrl_from_type -totem_disc_media_type_get_type -totem_disc_media_type_quark -totem_pl_parser_add_ignored_mimetype -totem_pl_parser_add_ignored_scheme -totem_pl_parser_can_parse_from_data -totem_pl_parser_can_parse_from_filename -totem_pl_parser_can_parse_from_uri -totem_pl_parser_error_get_type -totem_pl_parser_error_quark -totem_pl_parser_get_type -totemplparser_marshal_VOID__STRING_STRING_STRING -totem_pl_parser_new -totem_pl_parser_parse -totem_pl_parser_parse_async -totem_pl_parser_parse_finish -totem_pl_parser_parse_date -totem_pl_parser_parse_duration -totem_pl_parser_parse_with_base -totem_pl_parser_parse_with_base_async -totem_pl_parser_relative -totem_pl_parser_resolve_uri -totem_pl_parser_result_get_type -totem_pl_parser_type_get_type -totem_pl_parser_save -totem_pl_parser_metadata_get_type -totem_pl_playlist_get_type -totem_pl_playlist_new -totem_pl_playlist_size -totem_pl_playlist_prepend -totem_pl_playlist_append -totem_pl_playlist_insert -totem_pl_playlist_iter_first -totem_pl_playlist_iter_next -totem_pl_playlist_iter_prev -totem_pl_playlist_get_value -totem_pl_playlist_get_valist -totem_pl_playlist_get -totem_pl_playlist_set_value -totem_pl_playlist_set_valist -totem_pl_playlist_set diff --git a/plparse/tests/Makefile.am b/plparse/tests/Makefile.am deleted file mode 100644 index ef0a886..0000000 --- a/plparse/tests/Makefile.am +++ /dev/null @@ -1,83 +0,0 @@ -include $(top_srcdir)/Makefile.decl - -AM_CPPFLAGS = \ - -I$(top_srcdir)/plparse \ - -DTEST_SRCDIR=\""$(srcdir)/"\" - -noinst_PROGRAMS = $(TEST_PROGS) - -TEST_PROGS += parser -parser_SOURCES = parser.c -parser_LDADD = \ - $(progs_ldadd) \ - $(TOTEM_PLPARSER_LIBS) \ - ../libtotem-plparser.la -parser_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lib \ - -I$(top_builddir)/plparse \ - -DGNOMELOCALEDIR=\""$(datadir)/locale"\"\ - $(DISABLE_DEPRECATED) \ - $(AM_CPPFLAGS) -parser_CFLAGS = \ - $(TOTEM_PLPARSER_CFLAGS)\ - $(HAL_CFLAGS) \ - $(DBUS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(AM_CFLAGS) -parser_LDFLAGS = \ - $(WARN_LDFLAGS) \ - $(AM_LDFLAGS) - -TEST_PROGS += disc -disc_SOURCES = disc.c -disc_LDADD = \ - $(progs_ldadd) \ - ../libtotem-plparser.la \ - $(TOTEM_PLPARSER_LIBS) -disc_CPPFLAGS = \ - $(common_defines) \ - $(AM_CPPFLAGS) -disc_CFLAGS = \ - $(WARN_CFLAGS) \ - $(TOTEM_PLPARSER_CFLAGS)\ - $(AM_CFLAGS) -disc_LDFLAGS = \ - $(WARN_LDFLAGS) \ - $(AM_LDFLAGS) - -EXTRA_DIST = \ - 541405.xml \ - 560051.xml \ - 585407.rss \ - 602127.qtl \ - live-streaming.m3u \ - single-line.qtl \ - pukas.wax \ - asf-with-asx-suffix.asx \ - remote_xspf.php \ - HackerMedley \ - missing-items.pls \ - playlist.xspf \ - new-lastfm-output.xspf \ - old-lastfm-output.xspf \ - separator.m3u \ - 3gpp-file.mp4 \ - really-flv.mp4 \ - audio.php \ - big5.smi \ - O_G_Money_Snoop_Dogg.m3u \ - empty-asx.asx \ - emptyplaylist.pls \ - decrypted-amazon-track.xspf \ - WMA9.1_98_quality_48khz_vbr_s.wma \ - rss.xml \ - dont-ignore-mp2t.ts \ - empty-feed.xml \ - no-url-podcast.xml \ - xml-base.xspf \ - radioclasica.mp3.m3u \ - radios-freebox.m3u \ - relative.m3u - --include $(top_srcdir)/git.mk |