summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2020-03-25 22:01:02 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2020-03-25 22:16:30 +0100
commit991e6879c29e89651c35847beebab7c83e21e221 (patch)
treefc1c8f2d8d2f44274751648ea507500220e45270
parenta5c0a3353bf015e4ba88f7ba4eef41a4610aa3d7 (diff)
downloadlibwnck-991e6879c29e89651c35847beebab7c83e21e221.tar.gz
build: Remove autotools support
-rw-r--r--.gitlab-ci.yml22
-rw-r--r--Makefile.am54
-rwxr-xr-xautogen.sh44
-rw-r--r--configure.ac213
-rw-r--r--doc/Makefile.am54
-rw-r--r--git.mk359
-rw-r--r--libwnck/Makefile.am200
-rw-r--r--po/Makevars78
8 files changed, 2 insertions, 1022 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b47048..2c236ed 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,34 +19,16 @@ stages:
libgtk-3-dev
libgtk-3-doc
libstartup-notification0-dev
- libtool
libx11-dev
libxext-dev
libxres-dev
-
-
-build:ubuntu:autogen:
- <<: *base_build
- before_script:
- - *ubuntu_deps_install
- - apt-get install -q -y --no-install-recommends
- autoconf-archive
- automake
- autopoint
- script:
- - ./autogen.sh --enable-gtk-doc=yes
- - make
- - make distcheck
+ meson
+ ninja-build
build:ubuntu:meson:
<<: *base_build
before_script:
- *ubuntu_deps_install
- - apt-get install -q -y --no-install-recommends
- ninja-build
- python3-pip
- python3-setuptools
- - pip3 install meson
script:
- meson _build -Dgtk_doc=true
- ninja -C _build
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index a7a9031..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-NULL =
-
-SUBDIRS = libwnck doc po
-
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libwnck-3.0.pc
-
-EXTRA_DIST = \
- HACKING \
- MAINTAINERS
-
-MAINTAINERCLEANFILES = \
- $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
- $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
- $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
- `find "$(srcdir)/m4" -type f -name "*.m4" -print` \
- $(srcdir)/ABOUT-NLS \
- $(srcdir)/INSTALL \
- $(srcdir)/build-aux/config.rpath \
- $(srcdir)/config.h.in~ \
- $(srcdir)/configure \
- $(srcdir)/gtk-doc.make \
- $(srcdir)/po/Makefile.in.in \
- $(srcdir)/po/Makevars.template \
- $(srcdir)/po/Rules-quot \
- $(srcdir)/po/boldquot.sed \
- $(srcdir)/po/en@boldquot.header \
- $(srcdir)/po/en@quot.header \
- $(srcdir)/po/libwnck-3.0.pot \
- $(srcdir)/po/insert-header.sin \
- $(srcdir)/po/quot.sed \
- $(srcdir)/po/remove-potcdate.sin \
- $(srcdir)/po/stamp-po \
- $(NULL)
-
-CHANGELOG_GIT_RANGE = LIBWNCK_2_26_1..
-dist-hook:
- $(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
- ( echo '# Generated by Makefile. Do not edit.'; echo; \
- GIT_DIR="$(top_srcdir)/.git" ./missing --run \
- git log $(CHANGELOG_GIT_RANGE) --no-color -M -C --name-status ) \
- > ChangeLog.tmp \
- && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
- || ( rm -f ChangeLog.tmp ; echo Failed to generate ChangeLog >&2 ); \
- else \
- echo A git checkout is required to generate ChangeLog >&2; \
- fi
-
-GITIGNOREFILES = $(PACKAGE)-\*.tar.{gz,bz2,xz}
--include $(top_srcdir)/git.mk
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 6def199..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-
-srcdir=$(dirname "$0")
-test -z "$srcdir" && srcdir=.
-
-if [ ! -f $srcdir/configure.ac ]; then
- echo "**Error**: Directory "\'$srcdir\'" does not look like the top-level" \
- "project directory."
- exit 1
-fi
-
-olddir=$(pwd)
-cd "$srcdir"
-
-PKG_NAME=$(autoconf --trace 'AC_INIT:$1' "$srcdir/configure.ac")
-
-if [ "$#" = 0 ] && [ -z "$NOCONFIGURE" ]; 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 '$0'" \
- "command line." >&2
-fi
-
-set -x
-aclocal --install || exit 1
-gtkdocize --copy || exit 1
-autoreconf --verbose --force --install -Wno-portability || exit 1
-{ set +x; } 2>/dev/null
-
-cd "$olddir"
-
-if [ -z "$NOCONFIGURE" ]; then
- set -x
- $srcdir/configure "$@" || exit 1
- { set +x; } 2>/dev/null
-
- 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 a33ea57..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,213 +0,0 @@
-AC_PREREQ(2.62)
-
-m4_define([wnck_major_version], [3])
-m4_define([wnck_minor_version], [32])
-m4_define([wnck_micro_version], [0])
-m4_define([wnck_version],
- [wnck_major_version.wnck_minor_version.wnck_micro_version])
-
-AC_INIT([libwnck], [wnck_version],
- [http://bugzilla.gnome.org/enter_bug.cgi?product=libwnck])
-
-AX_IS_RELEASE([git-directory])
-
-AC_CONFIG_AUX_DIR([build-aux])
-AC_CONFIG_HEADERS(config.h)
-
-AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar])
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-AC_CONFIG_MACRO_DIR([m4])
-
-AX_CHECK_ENABLE_DEBUG([yes])
-
-dnl libtool versioning for libwnck
-
-dnl increment if the interface has additions, changes, removals.
-LIBWNCK_CURRENT=3
-
-dnl increment any time the source changes; set to
-dnl 0 if you increment CURRENT
-LIBWNCK_REVISION=0
-
-dnl increment if any interfaces have been added; set to 0
-dnl if any interfaces have been changed or removed. removal has
-dnl precedence over adding, so set to 0 if both happened.
-LIBWNCK_AGE=3
-
-AC_SUBST(LIBWNCK_CURRENT)
-AC_SUBST(LIBWNCK_REVISION)
-AC_SUBST(LIBWNCK_AGE)
-
-WNCK_MAJOR_VERSION=wnck_major_version
-WNCK_MINOR_VERSION=wnck_minor_version
-WNCK_MICRO_VERSION=wnck_micro_version
-AC_SUBST(WNCK_MAJOR_VERSION)
-AC_SUBST(WNCK_MINOR_VERSION)
-AC_SUBST(WNCK_MICRO_VERSION)
-
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen disable-static])
-
-AC_PROG_CC
-
-AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS])
-
-AC_ARG_ENABLE(deprecation_flags,
- [AC_HELP_STRING([--enable-deprecation-flags],
- [use *_DISABLE_DEPRECATED flags @<:@default=no@:>@])],,
- [enable_deprecation_flags=no])
-
-if test "x$enable_deprecation_flags" = "xyes"; then
- DISABLE_DEPRECATED_CFLAGS=$DISABLE_DEPRECATED
- AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
-fi
-
-AC_ARG_ENABLE(tools,
- [AC_HELP_STRING([--enable-tools],
- [install wnck-based tools @<:@default=yes@:>@])],,
- [enable_tools=yes])
-AM_CONDITIONAL(ENABLE_TOOLS, test "x$enable_tools" != "xno")
-
-AM_GNU_GETTEXT_VERSION([0.19.6])
-AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
-AM_GNU_GETTEXT([external])
-
-GETTEXT_PACKAGE=libwnck-3.0
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Package name])
-
-AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
-AC_PATH_PROG(PKG_CONFIG, pkg-config)
-
-AC_CHECK_LIBM
-AC_SUBST(LIBM)
-
-AC_ARG_ENABLE(startup-notification,
- [AC_HELP_STRING([--enable-startup-notification],
- [startup notification library @<:@default=auto@:>@])],,
- [enable_startup_notification=auto])
-
-STARTUP_NOTIFICATION_PACKAGE=
-if test "$enable_startup_notification" != "no"; then
- STARTUP_NOTIFICATION_REQUIRED=0.4
- PKG_CHECK_MODULES(STARTUP_NOTIFICATION,
- [libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_REQUIRED],
- [have_sn=yes],
- [have_sn=no])
-
- if test "$have_sn" = "no" -a "$enable_start_notification" = "yes"; then
- AC_MSG_ERROR([startup-notification support required but not found])
- fi
-
- if test "$have_sn" = "yes"; then
- AC_DEFINE_UNQUOTED(HAVE_STARTUP_NOTIFICATION, 1, [Define if you have libstartup-notification])
- STARTUP_NOTIFICATION_PACKAGE=libstartup-notification-1.0
- fi
-else
- have_sn=no
-fi
-AC_SUBST(STARTUP_NOTIFICATION_PACKAGE)
-
-PKG_CHECK_MODULES(XLIB, x11,
- X11_PACKAGE=x11,
- [X11_PACKAGE=
- AC_PATH_XTRA
- if test "x$no_x" = xyes; then
- AC_MSG_ERROR("no (requires X development libraries)")
- else
- XLIB_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
- XLIB_CFLAGS=$X_CFLAGS
- fi])
-AC_SUBST(X11_PACKAGE)
-
-PKG_CHECK_EXISTS([cairo-xlib-xrender],
- [AC_DEFINE_UNQUOTED([HAVE_CAIRO_XLIB_XRENDER], [1],
- [Define if building against cairo-xlib-xrender])
- CAIRO_XLIB_XRENDER_PACKAGE=cairo-xlib-xrender])
-
-AC_MSG_CHECKING([if building with X Resource Information Extension Library])
-if $PKG_CONFIG xres; then
- AC_MSG_RESULT([yes])
- have_xres=yes
- AC_DEFINE_UNQUOTED(HAVE_XRES, 1, [Define if you have the XRes library])
- XRES_PACKAGE=xres
-else
- AC_CHECK_LIB(XRes, XResQueryExtension,
- [XLIB_LIBS="$XLIB_LIBS -lXRes -lXext"
- have_xres=yes
- AC_DEFINE_UNQUOTED(HAVE_XRES, 1, [Define if you have the XRes library])
- AC_MSG_RESULT([yes])],
- [have_xres=no
- AC_MSG_RESULT([no])],
- $XLIB_LIBS -lXext)
- XRES_PACKAGE=
-fi
-AC_SUBST(XRES_PACKAGE)
-AC_SUBST(XLIB_CFLAGS)
-AC_SUBST(XLIB_LIBS)
-
-PKG_CHECK_MODULES([LIBWNCK],[
- gtk+-3.0 >= 3.22.0
- glib-2.0 >= 2.34
- gobject-2.0 >= 2.13.0
- $CAIRO_XLIB_XRENDER_PACKAGE
- $STARTUP_NOTIFICATION_PACKAGE
- $XRES_PACKAGE
-])
-
-##################################################
-# Checks for gtk-doc and docbook-tools
-##################################################
-GTK_DOC_CHECK([1.9])
-
-GOBJECT_INTROSPECTION_CHECK([0.6.14])
-
-if test "$enable_introspection" = "yes"; then
- # Redefine introspection dirs using proper prefixes
-
- INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir=${datadir} --variable=girdir gobject-introspection-1.0`
- AC_SUBST(INTROSPECTION_GIRDIR)
-
- INTROSPECTION_TYPELIBDIR=`$PKG_CONFIG --define-variable=libdir=${libdir} --variable=typelibdir gobject-introspection-1.0`
- AC_SUBST(INTROSPECTION_TYPELIBDIR)
-fi
-
-AC_OUTPUT([
-Makefile
-doc/Makefile
-po/Makefile.in
-libwnck/Makefile
-libwnck/version.h
-libwnck-3.0.pc
-libwnck-3.0-uninstalled.pc
-])
-
-dnl ---------------------------------------------------------------------------
-dnl - Show summary
-dnl ---------------------------------------------------------------------------
-
-echo "
- libwnck $VERSION
- `echo libwnck $VERSION | sed "s/./=/g"`
-
- prefix: ${prefix}
- exec_prefix: ${exec_prefix}
- libdir: ${libdir}
- bindir: ${bindir}
- sbindir: ${sbindir}
- sysconfdir: ${sysconfdir}
- localstatedir: ${localstatedir}
- datadir: ${datadir}
- source code location: ${srcdir}
- compiler: ${CC}
- cflags: ${CFLAGS}
- Maintainer mode: ${USE_MAINTAINER_MODE}
- Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags}
-
- Startup notification support: ${have_sn}
- XRes support: ${have_xres}
- Build introspection support: ${found_introspection}
- Build gtk-doc documentation: ${enable_gtk_doc}
- Install wnck-based tools: ${enable_tools}
-
-"
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index 6671d35..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# The name of the module.
-DOC_MODULE=libwnck
-DOC_MODULE_VERSION=3.0
-
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE=libwnck-docs.sgml
-
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../libwnck
-
-# Extra options to pass to gtkdoc-scangobj
-SCANGOBJ_OPTIONS=
-
-# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="WNCK_DISABLE_DEPRECATED"
-
-# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS=
-
-# Used for dependencies
-HFILE_GLOB=$(top_srcdir)/libwnck/*.h
-CFILE_GLOB=$(top_srcdir)/libwnck/*.c
-
-# Header files to ignore when scanning
-IGNORE_HFILES=
-
-EXTRA_HFILES =
-
-# Images to copy into HTML directory
-HTML_IMAGES =
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
-content_files = example-force-update.c example-lazy-initialization.c
-
-# Other files to distribute
-extra_files =
-
-# CFLAGS and LDFLAGS for compiling scan program. Only needed
-# if $(DOC_MODULE).types is non-empty.
-GTKDOC_CFLAGS = -I$(top_builddir) -I$(top_srcdir) $(LIBWNCK_CFLAGS) -DWNCK_I_KNOW_THIS_IS_UNSTABLE -DWNCK_COMPILATION
-GTKDOC_LIBS = $(top_builddir)/libwnck/libwnck-3.la $(LIBWNCK_LIBS)
-
-include $(top_srcdir)/gtk-doc.make
-
-CLEANFILES += gsf-scan.*
-
-.PHONY : dist-hook-local
-
--include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
deleted file mode 100644
index facca55..0000000
--- a/git.mk
+++ /dev/null
@@ -1,359 +0,0 @@
-# git.mk, a small Makefile to autogenerate .gitignore files
-# for autotools-based projects.
-#
-# 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:
-GIT_MK_URL = https://raw.githubusercontent.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, appdata,
-# appstream, hotdoc.
-#
-# 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)/autoscan.log \
- $(srcdir)/configure.scan \
- `AUX_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1' ./configure.ac); \
- test "x$$AUX_DIR" = "x$(srcdir)/" && AUX_DIR=$(srcdir); \
- for x in \
- ar-lib \
- compile \
- config.guess \
- config.rpath \
- config.sub \
- depcomp \
- install-sh \
- ltmain.sh \
- missing \
- mkinstalldirs \
- test-driver \
- ylwrap \
- ; do echo "$$AUX_DIR/$$x"; done` \
- `cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' ./configure.ac | \
- head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
-#
-# All modules should also be fine including the following variable, which
-# removes automake-generated Makefile.in files:
-GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
- `cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' ./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() may also include this,
-# though it's harmless to include regardless.
-GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
- `MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
- if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
- for x in \
- libtool.m4 \
- ltoptions.m4 \
- ltsugar.m4 \
- ltversion.m4 \
- lt~obsolete.m4 \
- ; do echo "$$MACRO_DIR/$$x"; done; \
- fi`
-
-
-
-###############################################################################
-# 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"
-
-git-mk-update:
- wget $(GIT_MK_URL) -O $(top_srcdir)/git.mk
-
-.PHONY: git-all git-mk-install git-mk-update
-
-
-
-###############################################################################
-# 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" \
- $(REPORT_FILES) \
- $(DOC_MODULE).pdf \
- xml html \
- ; do echo "/$$x"; done; \
- FLAVOR=$$(cd $(top_srcdir); $(AUTOCONF) --trace 'GTK_DOC_CHECK:$$2' ./configure.ac); \
- case $$FLAVOR in *no-tmpl*) echo /tmpl;; esac; \
- if echo "$(SCAN_OPTIONS)" | grep -q "\-\-rebuild-types"; then \
- echo "/$(DOC_MODULE).types"; \
- fi; \
- if echo "$(SCAN_OPTIONS)" | grep -q "\-\-rebuild-sections"; then \
- echo "/$(DOC_MODULE)-sections.txt"; \
- fi; \
- if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
- for x in \
- $(SETUP_FILES) \
- $(DOC_MODULE).types \
- ; do echo "/$$x"; done; \
- fi; \
- 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$(HOTDOC)" = x; then :; else \
- $(foreach project, $(HOTDOC_PROJECTS),echo "/$(call HOTDOC_TARGET,$(project))"; \
- echo "/$(shell $(call HOTDOC_PROJECT_COMMAND,$(project)) --get-conf-path output)" ; \
- echo "/$(shell $(call HOTDOC_PROJECT_COMMAND,$(project)) --get-private-folder)" ; \
- ) \
- for x in \
- .hotdoc.d \
- ; 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 "x$(appdata_XML)" = x; then :; else \
- for x in \
- $(appdata_XML:.xml=.valid) \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(appstream_XML)" = x; then :; else \
- for x in \
- $(appstream_XML:.xml=.valid) \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/po/Makefile.in.in; then \
- for x in \
- ABOUT-NLS \
- 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/stamp-po \
- 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$(findstring libtool,$(LTCOMPILE))" = x -a "x$(findstring libtool,$(LTCXXCOMPILE))" = x -a "x$(GTKDOC_RUN)" = 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) \
- $(TEST_LOGS) \
- $(TEST_LOGS:.log=.trs) \
- $(TEST_SUITE_LOG) \
- $(TESTS:=.test) \
- "*.gcda" \
- "*.gcno" \
- $(DISTCLEANFILES) \
- $(am__CONFIG_DISTCLEAN_FILES) \
- $(CONFIG_CLEAN_FILES) \
- TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
- "*.tab.c" \
- $(MAINTAINERCLEANFILES) \
- $(BUILT_SOURCES) \
- $(patsubst %.vala,%.c,$(filter %.vala,$(SOURCES))) \
- $(filter %_vala.stamp,$(DIST_COMMON)) \
- $(filter %.vapi,$(DIST_COMMON)) \
- $(filter $(addprefix %,$(notdir $(patsubst %.vapi,%.h,$(filter %.vapi,$(DIST_COMMON))))),$(DIST_COMMON)) \
- Makefile \
- Makefile.in \
- "*.orig" \
- "*.rej" \
- "*.bak" \
- "*~" \
- ".*.sw[nop]" \
- ".dirstamp" \
- ; do echo "/$$x"; done; \
- for x in \
- "*.$(OBJEXT)" \
- $(DEPDIR) \
- ; 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 || 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 || 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/libwnck/Makefile.am b/libwnck/Makefile.am
deleted file mode 100644
index 6b6c7f8..0000000
--- a/libwnck/Makefile.am
+++ /dev/null
@@ -1,200 +0,0 @@
-NULL =
-
-lib_LTLIBRARIES = libwnck-3.la
-bin_PROGRAMS =
-noinst_PROGRAMS = \
- test-pager \
- test-wnck \
- test-selector \
- test-tasklist \
- test-urgent \
- test-shutdown
-
-if ENABLE_TOOLS
-bin_PROGRAMS += \
- wnckprop \
- wnck-urgency-monitor
-else
-noinst_PROGRAMS += \
- wnckprop \
- wnck-urgency-monitor
-endif
-
-AM_CPPFLAGS = \
- $(LIBWNCK_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- -DWNCK_I_KNOW_THIS_IS_UNSTABLE \
- -DWNCK_LOCALEDIR=\"$(localedir)\" \
- $(DISABLE_DEPRECATED_CFLAGS)
-
-AM_CFLAGS = $(WARN_CFLAGS)
-
-wnck_headers = \
- libwnck.h \
- pager.h \
- application.h \
- class-group.h \
- screen.h \
- selector.h \
- tasklist.h \
- util.h \
- window.h \
- window-action-menu.h \
- workspace.h
-
-libwnckincludedir = $(includedir)/libwnck-3.0/libwnck
-libwnckinclude_HEADERS = \
- $(wnck_headers) \
- wnck-enum-types.h \
- version.h
-
-# Sources that are relevant for introspection
-wnck_sources = \
- application.c \
- class-group.c \
- pager.c \
- screen.c \
- selector.c \
- tasklist.c \
- util.c \
- window.c \
- window-action-menu.c \
- workspace.c
-
-wnck_accessibility_files = \
- pager-accessible.c \
- pager-accessible.h \
- pager-accessible-factory.c \
- pager-accessible-factory.h \
- workspace-accessible.c \
- workspace-accessible.h \
- workspace-accessible-factory.c \
- workspace-accessible-factory.h
-
-libwnck_3_la_SOURCES = \
- $(BUILT_SOURCES) \
- $(wnck_sources) \
- private.h \
- xutils.c \
- xutils.h \
- wnck-image-menu-item.c \
- wnck-image-menu-item-private.h \
- $(wnck_accessibility_files)
-
-libwnck_3_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- $(XLIB_CFLAGS) \
- -DG_LOG_DOMAIN=\"Wnck\" \
- -DWNCK_COMPILATION \
- -DSN_API_NOT_YET_FROZEN=1
-
-libwnck_3_la_LIBADD = \
- $(LIBWNCK_LIBS) \
- $(XLIB_LIBS) \
- $(LIBM)
-
-libwnck_3_la_LDFLAGS = \
- -version-info $(LIBWNCK_CURRENT):$(LIBWNCK_REVISION):$(LIBWNCK_AGE) \
- -no-undefined \
- -export-symbols-regex "^[^_].*" \
- $(WARN_LDFLAGS) \
- $(AM_LDFLAGS) \
- $(NULL)
-
-wnckprop_SOURCES = wnckprop.c
-wnck_urgency_monitor_SOURCES = wnck-urgency-monitor.c
-test_wnck_SOURCES = test-wnck.c
-test_tasklist_SOURCES = test-tasklist.c
-test_selector_SOURCES = test-selector.c
-test_pager_SOURCES = test-pager.c
-test_urgent_SOURCES = test-urgent.c
-test_shutdown_SOURCES = test-shutdown.c
-
-wnckprop_LDADD = $(LIBWNCK_LIBS) $(XLIB_LIBS) ./$(lib_LTLIBRARIES)
-wnck_urgency_monitor_LDADD = $(LIBWNCK_LIBS) ./$(lib_LTLIBRARIES)
-test_wnck_LDADD = $(LIBWNCK_LIBS) ./$(lib_LTLIBRARIES)
-test_tasklist_LDADD = $(LIBWNCK_LIBS) ./$(lib_LTLIBRARIES)
-test_selector_LDADD = $(LIBWNCK_LIBS) ./$(lib_LTLIBRARIES)
-test_pager_LDADD = $(LIBWNCK_LIBS) ./$(lib_LTLIBRARIES)
-test_urgent_LDADD = $(LIBWNCK_LIBS)
-test_shutdown_LDADD = $(LIBWNCK_LIBS) ./$(lib_LTLIBRARIES)
-
-wnck-enum-types.h: $(wnck_headers)
- $(AM_V_GEN)glib-mkenums \
- --fhead "#if !defined (__LIBWNCK_H_INSIDE__) && !defined (WNCK_COMPILATION)\n" \
- --fhead "#error \"Only <libwnck/libwnck.h> can be included directly.\"\n" \
- --fhead "#endif\n\n" \
- --fhead "#ifndef __WNCK_ENUM_TYPES_H__\n" \
- --fhead "#define __WNCK_ENUM_TYPES_H__\n\n" \
- --fhead "G_BEGIN_DECLS\n\n" \
- --ftail "G_END_DECLS\n\n" \
- --ftail "#endif /* __WNCK_ENUM_TYPES_H__ */\n" \
- --fprod "\n/* enumerations from \"@filename@\" */\n" \
- --eprod "#define WNCK_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \
- --eprod "GType @enum_name@_get_type (void);\n" \
- $^ > $@
-
-wnck-enum-types.c: $(wnck_headers)
- $(AM_V_GEN)glib-mkenums \
- --fhead "#include <libwnck/libwnck.h>\n" \
- --fprod "\n/* enumerations from \"@filename@\" */" \
- --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
- --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
- --vtail " { 0, NULL, NULL }\n};\n\n" \
- --vtail "GType\n@enum_name@_get_type (void)\n{\n" \
- --vtail " static GType type = 0;\n\n" \
- --vtail " if (!type)\n" \
- --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
- --vtail " return type;\n}\n\n" \
- $^ > $@
-
-wnck-resources.h wnck-resources.c: wnck.gresource.xml \
- $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/wnck.gresource.xml)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name libwnck $<
-
-BUILT_SOURCES = \
- wnck-enum-types.c \
- wnck-enum-types.h \
- wnck-resources.c \
- wnck-resources.h \
- $(NULL)
-
-CLEANFILES = \
- $(BUILT_SOURCES) \
- $(NULL)
-
-EXTRA_DIST = \
- default_icon.png \
- wnck.css \
- wnck.gresource.xml \
- version.h.in \
- $(NULL)
-
-# Introspection
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(srcdir) --c-include="libwnck/libwnck.h"
-INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
-
-if HAVE_INTROSPECTION
-introspection_sources = $(wnck_sources) $(libwnckinclude_HEADERS)
-
-Wnck-3.0.gir: libwnck-3.la
-Wnck_3_0_gir_INCLUDES = GObject-2.0 GdkPixbuf-2.0 Gtk-3.0
-Wnck_3_0_gir_CFLAGS = $(libwnck_3_la_CPPFLAGS)
-Wnck_3_0_gir_LIBS = libwnck-3.la
-Wnck_3_0_gir_SCANNERFLAGS = --pkg-export=libwnck-3.0 $(WARN_SCANNERFLAGS)
-Wnck_3_0_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += Wnck-3.0.gir
-
-girdir = $(INTROSPECTION_GIRDIR)
-gir_DATA = $(INTROSPECTION_GIRS)
-
-typelibdir = $(INTROSPECTION_TYPELIBDIR)
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-
-CLEANFILES += $(gir_DATA) $(typelib_DATA)
-endif
-
--include $(top_srcdir)/git.mk
diff --git a/po/Makevars b/po/Makevars
deleted file mode 100644
index d78d2e7..0000000
--- a/po/Makevars
+++ /dev/null
@@ -1,78 +0,0 @@
-# Makefile variables for PO directory in any package using GNU gettext.
-
-# Usually the message domain is the same as the package name.
-DOMAIN = libwnck-3.0
-
-# These two variables depend on the location of this directory.
-subdir = po
-top_builddir = ..
-
-# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments
-
-# This is the copyright holder that gets inserted into the header of the
-# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
-# package. (Note that the msgstr strings, extracted from the package's
-# sources, belong to the copyright holder of the package.) Translators are
-# expected to transfer the copyright for their translations to this person
-# or entity, or to disclaim their copyright. The empty string stands for
-# the public domain; in this case the translators are expected to disclaim
-# their copyright.
-COPYRIGHT_HOLDER = libwnck authors
-
-# This tells whether or not to prepend "GNU " prefix to the package
-# name that gets inserted into the header of the $(DOMAIN).pot file.
-# Possible values are "yes", "no", or empty. If it is empty, try to
-# detect it automatically by scanning the files in $(top_srcdir) for
-# "GNU packagename" string.
-PACKAGE_GNU = no
-
-# This is the email address or URL to which the translators shall report
-# bugs in the untranslated strings:
-# - Strings which are not entire sentences, see the maintainer guidelines
-# in the GNU gettext documentation, section 'Preparing Strings'.
-# - Strings which use unclear terms or require additional context to be
-# understood.
-# - Strings which make invalid assumptions about notation of date, time or
-# money.
-# - Pluralisation problems.
-# - Incorrect English spelling.
-# - Incorrect formatting.
-# It can be your email address, or a mailing list address where translators
-# can write to without being subscribed, or the URL of a web page through
-# which the translators can contact you.
-MSGID_BUGS_ADDRESS = https://gitlab.gnome.org/GNOME/libwnck/issues
-
-# This is the list of locale categories, beyond LC_MESSAGES, for which the
-# message catalogs shall be used. It is usually empty.
-EXTRA_LOCALE_CATEGORIES =
-
-# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
-# context. Possible values are "yes" and "no". Set this to yes if the
-# package uses functions taking also a message context, like pgettext(), or
-# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
-USE_MSGCTXT = yes
-
-# These options get passed to msgmerge.
-# Useful options are in particular:
-# --previous to keep previous msgids of translated messages,
-# --quiet to reduce the verbosity.
-MSGMERGE_OPTIONS =
-
-# These options get passed to msginit.
-# If you want to disable line wrapping when writing PO files, add
-# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
-# MSGINIT_OPTIONS.
-MSGINIT_OPTIONS =
-
-# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
-# has changed. Possible values are "yes" and "no". Set this to no if
-# the POT file is checked in the repository and the version control
-# program ignores timestamps.
-PO_DEPENDS_ON_POT = no
-
-# This tells whether or not to forcibly update $(DOMAIN).pot and
-# regenerate PO files on "make dist". Possible values are "yes" and
-# "no". Set this to no if the POT file and PO files are maintained
-# externally.
-DIST_DEPENDS_ON_UPDATE_PO = no