diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2019-03-22 08:26:59 +0100 |
---|---|---|
committer | Alberto Fanjul <albertofanjul@gmail.com> | 2020-05-27 22:15:56 +0200 |
commit | b9288f256298c6d00320ad1548802f4e4e305aee (patch) | |
tree | 026fb63f72b5623a42fd02004507d0f1af8cbd50 | |
parent | 85108840f8e24ae8cd9edadb631bbcaafb99d0a5 (diff) | |
download | glade-b9288f256298c6d00320ad1548802f4e4e305aee.tar.gz |
build: Remove autotools
Relay on meson for build
32 files changed, 0 insertions, 2461 deletions
diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 23e5f25d..00000000 --- a/INSTALL +++ /dev/null @@ -1,236 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free -Software Foundation, Inc. - -This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - -These are generic installation instructions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is -disabled by default to prevent problems with accidental use of stale -cache files.) - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - -Some systems require unusual options for compilation or linking that the -`configure' script does not know about. Run `./configure --help' for -details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - -You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. - -Installation Names -================== - -By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - -Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - -There may be some features `configure' cannot figure out automatically, -but needs to determine by the type of machine the package will run on. -Usually, assuming the package is built to be run on the _same_ -architectures, `configure' can figure that out, but if it prints a -message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - -Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). Here is a another example: - - /bin/bash ./configure CONFIG_SHELL=/bin/bash - -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent -configuration-related scripts to be executed by `/bin/bash'. - -`configure' Invocation -====================== - -`configure' recognizes the following options to control how it operates. - -`--help' -`-h' - Print a summary of the options to `configure', and exit. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 90686111..00000000 --- a/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} - -SUBDIRS = po data gladeui src plugins tests doc help -if BUILD_MAN_PAGES -SUBDIRS += man -endif -DIST_SUBDIRS = po data gladeui src plugins tests doc help man - -EXTRA_DIST = \ - autogen.sh \ - COPYING.GPL \ - COPYING.LGPL - -DISTCLEANFILES = - -DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection --enable-man-pages - -dist-hook: - @if test -d "$(srcdir)/.git"; \ - then \ - echo Creating ChangeLog && \ - ( cd "$(top_srcdir)" && \ - echo '# Generated by Makefile. Do not edit.'; echo; \ - $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \ - && mv -f ChangeLog.tmp $(distdir)/ChangeLog \ - || ( rm -f ChangeLog.tmp ; \ - echo Failed to generate ChangeLog >&2 ); \ - else \ - echo A git clone is required to generate a ChangeLog >&2; \ - fi diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index fd35663b..00000000 --- a/autogen.sh +++ /dev/null @@ -1,41 +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 500b99fc..00000000 --- a/configure.ac +++ /dev/null @@ -1,400 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.52) - -m4_define(glade_major_version, 3) -m4_define(glade_minor_version, 36) -m4_define(glade_micro_version, 0) -m4_define(glade_version, glade_major_version.glade_minor_version.glade_micro_version) - -AC_INIT([glade], [glade_version], - [https://gitlab.gnome.org/GNOME/glade/issues], - [glade], - [http://glade.gnome.org/]) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_SRCDIR([gladeui/glade.h]) -AC_CONFIG_MACRO_DIR([m4]) - -AC_DEFINE(GLADE_MAJOR_VERSION, glade_major_version, [Glade major version]) -AC_SUBST(GLADE_MAJOR_VERSION, glade_major_version) -AC_DEFINE(GLADE_MINOR_VERSION, glade_minor_version, [Glade minor version]) -AC_SUBST(GLADE_MINOR_VERSION, glade_minor_version) -AC_DEFINE(GLADE_MICRO_VERSION, glade_micro_version, [Glade micro version]) -AC_SUBST(GLADE_MICRO_VERSION, glade_micro_version) - -AC_CANONICAL_TARGET - -AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-bzip2]) -AM_MAINTAINER_MODE([enable]) - -# Support silent build rules, requires at least automake-1.11. Disable -# by either passing --disable-silent-rules to configure or passing V=1 -# to make -AM_SILENT_RULES([yes]) - -AX_CHECK_ENABLE_DEBUG([yes],[GNOME_ENABLE_DEBUG]) - -# Checks for programs -AC_PROG_CC -AC_PROG_INSTALL -AC_PROG_MAKE_SET - -# Initialize libtool -LT_PREREQ([2.2.6]) -LT_INIT([dlopen win32-dll disable-static]) - -AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources) -AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) -AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums) -AC_PATH_PROG(DLLTOOL, dlltool) - -# If the source code has changed at all, increment GLADE_REVISION -# If any interfaces have been added, removed, or changed, increment GLADE_CURRENT, and set GLADE_REVISION to 0. -# If any interfaces have been added since the last public release, then increment GLADE_AGE. -# If any interfaces have been removed since the last public release, then set GLADE_AGE to 0. -# Reference: http://www.gnu.org/software/libtool/manual/libtool.html#Versioning - -GLADE_REVISION=0 -GLADE_CURRENT=12 -GLADE_AGE=0 -GLADE_CURRENT_MINUS_AGE=`expr $GLADE_CURRENT - $GLADE_AGE` -AC_SUBST(GLADE_REVISION) -AC_SUBST(GLADE_CURRENT) -AC_SUBST(GLADE_AGE) -AC_SUBST(GLADE_CURRENT_MINUS_AGE) - -dnl are we unstable or stable? -m4_define([glade_unstable], - m4_if(m4_eval(glade_minor_version % 2), [1], [yes], [no])) -GLADE_UNSTABLE=glade_unstable -AC_SUBST(GLADE_UNSTABLE) - -dnl The symbol GLADE_UNSTABLE is defined above for substitution in -dnl Makefiles and conditionally defined here as a preprocessor symbol -dnl and automake conditional. -if test "x$GLADE_UNSTABLE" = "xyes"; then - AC_DEFINE(GLADE_UNSTABLE, 1, - [Define to 1 if this is an unstable version of Glade]) -fi -AM_CONDITIONAL(GLADE_UNSTABLE, test "x$GLADE_UNSTABLE" = "xyes") - -# ================================================================ - -# For the plugins, we don't use the warning flags defined by GNOME_COMPILE_WARNINGS. -# These flags include -Wmissing-prototypes, which we prefer not to use. -if test "x$GCC" = "xyes"; then - PLUGINS_WARN_CFLAGS="-Wall -Wnested-externs -Wpointer-arith" -fi -AC_SUBST(PLUGINS_WARN_CFLAGS) - - -dnl ================================================================ -dnl Collect some arguments. -dnl ================================================================ -AC_ARG_ENABLE(debug, - [AC_HELP_STRING([--enable-debug], - [enable debug build [default=no]])],, - [enable_debug="no"]) - -AM_CONDITIONAL([GLADE_DEBUG],[test "x$enable_debug" = "xyes"]) - -if test "x$enable_debug" = "xyes"; then - GLADE_DEBUG_FLAGS=-DGLADE_ENABLE_DEBUG -else - GLADE_DEBUG_FLAGS= -fi -AC_SUBST(GLADE_DEBUG_FLAGS) - -dnl ================================================================ -dnl Gettext stuff. -dnl ================================================================ -AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.19.8]) -AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) - -GETTEXT_PACKAGE=AC_PACKAGE_NAME -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.]) - -dnl ================================================================ -dnl va_copy. -dnl ================================================================ -AC_MSG_CHECKING([how to copy va_list]) -AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);], - AC_MSG_RESULT([va_copy]), - [ AH_TEMPLATE([va_copy], [define if va_copy is not available]) - AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; __va_copy(ap1, ap2);], - [ AC_DEFINE([va_copy], [__va_copy]) - AC_MSG_RESULT([__va_copy])], - [ AC_DEFINE([va_copy(dest,src)], [memcpy(&dest,&src,sizeof(va_list))]) - AC_MSG_RESULT([memcpy])] - ) - ]) - -dnl ================================================================ -dnl Check for gtk-doc -dnl ================================================================ -GTK_DOC_CHECK([1.13],[--flavour no-tmpl]) - -dnl ================================================================ -dnl Check for introspection -dnl ================================================================ -GOBJECT_INTROSPECTION_CHECK([1.32.0]) - -dnl ================================================================ -dnl Check for gtk+ -dnl ================================================================ -GTK_REQUIRED=3.22.0 -GLIB_REQUIRED=2.53.2 -PKG_CHECK_MODULES([GTK],[ - gtk+-3.0 >= $GTK_REQUIRED - glib-2.0 >= $GLIB_REQUIRED - gmodule-2.0 - libxml-2.0 >= 2.4.0 -]) - -PKG_CHECK_MODULES([GMODULE_EXPORT],[ - gmodule-export-2.0 -]) - -LT_LIB_M - -dnl ================================================================ -dnl Check for the unix print widgets in gtk+ -dnl ================================================================ -LIBS=$GTK_LIBS -AC_CHECK_FUNCS(gtk_print_unix_dialog_new,[have_unix_print=yes]; break,[have_unix_print=no]) -AM_CONDITIONAL(HAVE_GTK_UNIX_PRINT, test x"$have_unix_print" = "xyes") - -dnl ================================================================ -dnl Check for _gtk_widget_class_template_unset_only_for_glade() in gtk+ -dnl ================================================================ -LIBS=$GTK_LIBS -AC_CHECK_FUNCS(_gtk_widget_class_template_unset_only_for_glade,[have_template_unset=yes]; break,[have_template_unset=no]) -AM_CONDITIONAL(HAVE_GTK_TEMPLATE_UNSET, test x"$have_template_unset" = "xyes") - -dnl ================================================================ -dnl Python for optional python dev libs -dnl ================================================================ -PYGOBJECT_REQUIRED_MAJOR=3 -PYGOBJECT_REQUIRED_MINOR=8 -PYGOBJECT_REQUIRED_MICRO=0 -PYGOBJECT_REQS=$PYGOBJECT_REQUIRED_MAJOR.$PYGOBJECT_REQUIRED_MINOR.$PYGOBJECT_REQUIRED_MICRO - -AC_ARG_ENABLE(python, - AS_HELP_STRING([--disable-python], [disable python catalog]), - check_python=$enableval, check_python=yes) - -if test x"$check_python" = x"yes"; then - have_python=yes - - PKG_CHECK_MODULES([PYGOBJECT],[pygobject-3.0 >= $PYGOBJECT_REQS],[have_pygobject=yes],[have_pygobject=no]) - - AM_CHECK_PYTHON_HEADERS(, [have_python_headers=no]) - AM_CHECK_PYTHON_LIBS(, [have_python_lib=no]) - - if test x"$have_pygobject" = x"no"; then - have_python=no - fi - - if test x"$have_python_headers" = x"no"; then - have_python=no - fi - - if test x"$have_python_lib" = x"no"; then - have_python=no - fi - - AC_DEFINE_UNQUOTED(PYGOBJECT_REQUIRED_MAJOR, $PYGOBJECT_REQUIRED_MAJOR, pygobject major version required) - AC_DEFINE_UNQUOTED(PYGOBJECT_REQUIRED_MINOR, $PYGOBJECT_REQUIRED_MINOR, pygobject minor version required) - AC_DEFINE_UNQUOTED(PYGOBJECT_REQUIRED_MICRO, $PYGOBJECT_REQUIRED_MICRO, pygobject micro version required) - -else - have_python=no -fi - -AM_CONDITIONAL(BUILD_PYTHON, test x"$have_python" = "xyes") - -dnl ================================================================ -dnl WebKit2GTK support -dnl ================================================================ -WEBKIT2GTK_REQUIRED=2.12.0 - -AC_ARG_ENABLE(webkit2gtk, - AS_HELP_STRING([--disable-webkit2gtk], [disable webkit2gtk catalog]), - check_webkit2gtk=$enableval, check_webkit2gtk=yes) - -if test x"$check_webkit2gtk" = x"yes"; then - PKG_CHECK_MODULES([WEBKIT2GTK],[webkit2gtk-4.0 >= $WEBKIT2GTK_REQUIRED],[have_webkit2gtk=yes],[have_webkit2gtk=no]) -else - have_webkit2gtk=no -fi -AM_CONDITIONAL(BUILD_WEBKIT2GTK, test x"$have_webkit2gtk" = "xyes") - -# ================================================================== -# Glade User Manual (requires yelp-tools) -# ================================================================== - -YELP_HELP_INIT - -# ================================================================== -# Man pages (requires xsltproc) -# ================================================================== - -AC_ARG_ENABLE(man-pages, - AC_HELP_STRING([--enable-man-pages], - [build manual pages]),, - enable_man_pages=yes) -if test x$enable_man_pages = xyes; then - AC_PATH_PROG([XSLTPROC], [xsltproc]) - if test x$XSLTPROC = x; then - AC_MSG_ERROR([xsltproc is required to build manual pages]) - fi -fi -AM_CONDITIONAL(BUILD_MAN_PAGES, test x$enable_man_pages = xyes) - -dnl ================================================================ -dnl Check for windows -dnl ================================================================ -case $host_os in - *mingw* | pw32* | cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -AM_CONDITIONAL(PLATFORM_WIN32, test x"$platform_win32" = "xyes") - -case $host_os in - *mingw*) - native_win32=yes - ;; - *) - native_win32=no - ;; -esac -AM_CONDITIONAL(NATIVE_WIN32, test x"$native_win32" = "xyes") - -dnl ================================================================ -dnl Check for osx -dnl ================================================================ -AC_MSG_CHECKING([for Mac OS X platform]) -case "$host" in - *-*-darwin*) - platform_osx=yes - ;; - *) - platform_osx=no - ;; -esac -AC_MSG_RESULT([$platform_osx]) -AM_CONDITIONAL(PLATFORM_OSX, test x"$platform_osx" = "xyes") -AC_DEFINE(PLATFORM_OSX, test x"$platform_osx" = "xyes", [On OSX Platform]) - -if test "$native_win32" = "yes"; then - AC_CHECK_TOOL(WINDRES, windres, no) - if test "$WINDRES" = no; then - AC_MSG_ERROR([*** Could not find an implementation of windres in your PATH.]) - fi -fi - -dnl ================================================================ -dnl Check for GDK Quartz and MacOSX integration package -dnl ================================================================ -_gdk_tgt=`$PKG_CONFIG --variable=targets gdk-3.0` -AM_CONDITIONAL([GDK_TARGET_QUARTZ], [test x$_gdk_tgt = xquartz]) -if test "x$_gdk_tgt" = xquartz; then - - GTK_MAC_BUNDLE_FLAG= - - AC_ARG_ENABLE(mac-bundle, - AS_HELP_STRING([--enable-mac-bundle], [enable mac bundling]), - build_bundle=yes, build_bundle=no) - - if test "x$build_bundle" = xyes; then - PKG_CHECK_MODULES(GTK_MAC, gtk-mac-integration-gtk3) - AC_MSG_NOTICE([enableing mac bundle..]) - - GTK_MAC_BUNDLE_FLAG=-DMAC_BUNDLE - fi - - AC_SUBST(GTK_MAC_BUNDLE_FLAG) - AC_SUBST(GTK_MAC_LIBS) - AC_SUBST(GTK_MAC_CFLAGS) -fi - -dnl ================================================================ -dnl Enable installation of Gladeui catalog -dnl ================================================================ -AC_ARG_ENABLE([gladeui], - AS_HELP_STRING([--enable-gladeui], - [Enable installation of the Gladeui catalog]), - [enable_gladeui="$enableval"],[enable_gladeui="no"]) - -AM_CONDITIONAL(BUILD_GLADEUI, test x"$enable_gladeui" = "xyes") - -dnl ================================================================ -dnl Testing environment -dnl ================================================================ -GLADE_TEST_ENVIRONMENT='GLADE_TESTING=1 GLADE_CATALOG_SEARCH_PATH=$(top_srcdir)/plugins/gtk+ GLADE_MODULE_SEARCH_PATH=$(top_builddir)/plugins/gtk+/.libs GLADE_PIXMAP_DIR=$(top_srcdir)/data/icons GLADE_ICON_THEME_PATH=$(top_srcdir)/plugins/gtk+/icons/22x22' -AC_SUBST(GLADE_TEST_ENVIRONMENT) - -AC_SUBST([AM_CPPFLAGS]) -AC_SUBST([AM_CFLAGS]) -AC_SUBST([AM_CXXFLAGS]) -AC_SUBST([AM_LDFLAGS]) - -AC_CONFIG_FILES([ -Makefile -data/gladeui-2.0.pc -data/org.gnome.Glade.desktop.in -data/Makefile -data/icons/Makefile -data/icons/hicolor/Makefile -data/icons/hicolor/scalable/Makefile -data/icons/hicolor/scalable/apps/Makefile -data/icons/hicolor/symbolic/Makefile -data/icons/hicolor/symbolic/apps/Makefile -data/gettext/Makefile -data/gettext/its/Makefile -gladeui/Makefile -gladeui/gladeui.rc -gladeui/glade-previewer.rc -src/Makefile -src/glade.rc -plugins/Makefile -plugins/gtk+/Makefile -plugins/gtk+/icons/Makefile -plugins/gtk+/icons/16x16/Makefile -plugins/gtk+/icons/22x22/Makefile -plugins/python/Makefile -plugins/gladeui/Makefile -plugins/webkit2gtk/Makefile -po/Makefile.in -doc/Makefile -doc/version.xml -help/Makefile -man/Makefile -tests/Makefile -]) - -AC_OUTPUT - -echo " - -Configuration: - - Source code location: ${srcdir} - Compiler: ${CC} - Debug Enabled: ${enable_debug} - GTK+ UNIX Print Widgets: ${have_unix_print} - PYTHON Widgets support: ${have_python} - Gladeui Catalog: ${enable_gladeui} - WebKit2GTK+ Catalog: ${have_webkit2gtk} - Introspection Data: ${found_introspection} - - Build Reference Manual: ${enable_gtk_doc} - Build Manual Pages: ${enable_man_pages} -" diff --git a/data/Makefile.am b/data/Makefile.am deleted file mode 100644 index c26bf2aa..00000000 --- a/data/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = icons gettext - -desktopdir = $(datadir)/applications -desktop_in_files = org.gnome.Glade.desktop.in.in -desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop) -$(desktop_DATA): $(desktop_in_files) - $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = gladeui-2.0.pc - -appdatadir = $(datadir)/metainfo -appdata_DATA = $(appdata_in_files:.xml.in=.xml) -appdata_in_files = org.gnome.Glade.appdata.xml.in -$(appdata_DATA): $(appdata_in_files) - $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ - -EXTRA_DIST = \ - $(appdata_in_files) \ - $(desktop_in_files) \ - gladeui-2.0.pc.in - -CLEANFILES = \ - $(desktop_DATA) \ - $(pkgconfig_DATA) \ - $(appdata_DATA) diff --git a/data/gettext/Makefile.am b/data/gettext/Makefile.am deleted file mode 100644 index c74346bc..00000000 --- a/data/gettext/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = its diff --git a/data/gettext/its/Makefile.am b/data/gettext/its/Makefile.am deleted file mode 100644 index a938e67c..00000000 --- a/data/gettext/its/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -its_filesdir = $(datadir)/gettext/its -its_files = \ - glade-catalog.its \ - glade-catalog.loc \ - $(NULL) - -EXTRA_DIST = \ - $(its_files) \ - $(NULL) diff --git a/data/gladeui-2.0.pc.in b/data/gladeui-2.0.pc.in deleted file mode 100644 index cd0de655..00000000 --- a/data/gladeui-2.0.pc.in +++ /dev/null @@ -1,19 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -datarootdir=@datarootdir@ -datadir=@datadir@ -includedir=@includedir@/libgladeui-2.0 -catalogdir=${datadir}/@PACKAGE@/catalogs -pixmapdir=${datadir}/@PACKAGE@/pixmaps -moduledir=${libdir}/@PACKAGE@/modules - - -Name: Glade -Description: Glade interface designer library -URL: http://glade.gnome.org -Version: @PACKAGE_VERSION@ -Requires: gtk+-3.0 >= 2.91.2 libxml-2.0 >= 2.4.0 -Libs: -L${libdir} -lgladeui-2 -Libs.private: -lm -Cflags: -I${includedir} diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am deleted file mode 100644 index 02f7d9a9..00000000 --- a/data/icons/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = hicolor - -gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor - -install-data-hook: update-icon-cache -uninstall-hook: update-icon-cache -update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ - echo "Updating Gtk icon cache."; \ - $(gtk_update_icon_cache); \ - else \ - echo "*** Icon cache not updated. After (un)install, run this:"; \ - echo "*** $(gtk_update_icon_cache)"; \ - fi - - -pixmapsdir = $(pkgdatadir)/pixmaps -pixmaps_DATA = devhelp.png \ - plus.png \ - fixed-bg.png placeholder.png \ - deprecated-16x16.png \ - deprecated-22x22.png - - -EXTRA_DIST = $(pixmaps_DATA) glade.ico diff --git a/data/icons/hicolor/Makefile.am b/data/icons/hicolor/Makefile.am deleted file mode 100644 index 55b90790..00000000 --- a/data/icons/hicolor/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = scalable symbolic diff --git a/data/icons/hicolor/scalable/Makefile.am b/data/icons/hicolor/scalable/Makefile.am deleted file mode 100644 index ebbd1452..00000000 --- a/data/icons/hicolor/scalable/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = apps diff --git a/data/icons/hicolor/scalable/apps/Makefile.am b/data/icons/hicolor/scalable/apps/Makefile.am deleted file mode 100644 index 38c0633f..00000000 --- a/data/icons/hicolor/scalable/apps/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -## Process this file with automake to produce Makefile.in - -appicondir = $(datadir)/icons/hicolor/scalable/apps -appicon_DATA = \ - org.gnome.Glade.svg \ - $(NULL) - -EXTRA_DIST = $(appicon_DATA) diff --git a/data/icons/hicolor/symbolic/Makefile.am b/data/icons/hicolor/symbolic/Makefile.am deleted file mode 100644 index ebbd1452..00000000 --- a/data/icons/hicolor/symbolic/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = apps diff --git a/data/icons/hicolor/symbolic/apps/Makefile.am b/data/icons/hicolor/symbolic/apps/Makefile.am deleted file mode 100644 index 12816d91..00000000 --- a/data/icons/hicolor/symbolic/apps/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -## Process this file with automake to produce Makefile.in - -appicondir = $(datadir)/icons/hicolor/symbolic/apps -appicon_DATA = \ - org.gnome.Glade-symbolic.svg \ - glade-brand-symbolic.svg \ - $(NULL) - -EXTRA_DIST = $(appicon_DATA) diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index bf359bab..00000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,145 +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=gladeui - -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. -DOC_SOURCE_DIR=../gladeui - -# 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= - -# 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-fixref. Not normally needed. -# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html -# XXX We'll maybe want to use this to cross-ref into GTK+ docs... -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)/gladeui/*.h -CFILE_GLOB=$(top_srcdir)/gladeui/*.c - -# Header files to ignore when scanning. -# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h -IGNORE_HFILES=\ - glade-builtins.h \ - glade-debug.h \ - glade-accumulators.h \ - glade-marshallers.h \ - glade-paths.h \ - glade-custom.h \ - glade-cursor.h \ - glade-id-allocator.h \ - glade.h \ - glade-design-layout.h \ - glade-popup.h \ - glade-private.h \ - glade-gtk.h \ - glade-palette-expander.h \ - glade-palette-item.h \ - glade-named-icon-chooser-dialog.h \ - glade-palette-box.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 \ - catalogintro.sgml \ - widgetclasses.sgml \ - properties.sgml \ - gladepython.sgml - -# 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=\ - catalogintro.sgml \ - widgetclasses.sgml \ - properties.sgml \ - gladepython.sgml - -# 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. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) -# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) -GTKDOC_CFLAGS= \ - -I$(top_srcdir)/gladeui \ - -I$(top_builddir)/gladeui \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - `pkg-config --cflags gtk+-3.0` - -GTKDOC_LIBS= `pkg-config --libs gtk+-3.0` ${top_builddir}/gladeui/libgladeui-2.la - -# 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 - - -# XXX Seems this is no longer working with gtkdoc 1.9 :( -GTK_HOME = http://library.gnome.org/devel/gtk/stable -GDK_HOME = http://library.gnome.org/devel/gdk/stable -GOBJECT_HOME = http://library.gnome.org/devel/gobject/stable -GLIB_HOME = http://library.gnome.org/devel/glib/stable - -webdocs: all - rm -rf html-web - mkdir -p html-web - for file in `find html`; do \ - ROOT_PATH=`echo $${file} | sed 's/^html//'`; \ - if test "" != "$${ROOT_PATH}"; then \ - if test -d $$file; then \ - echo "Creating directory html-web$${ROOT_PATH}..."; \ - mkdir -p html-web$${ROOT_PATH}; \ - else \ - if echo $$file | grep -q '\.html$$'; then \ - echo "Creating file html-web$${ROOT_PATH}..."; \ - cat $$file | sed \ - -e 's!href="../gtk!href="$(GTK_HOME)!g' \ - -e 's!href="../gdk!href="$(GDK_HOME)!g' \ - -e 's!href="../gobject!href="$(GOBJECT_HOME)!g' \ - -e 's!href="../glib!href="$(GLIB_HOME)!g' \ - > html-web$${ROOT_PATH}; \ - else \ - echo "Copying file html-web$${ROOT_PATH}..."; \ - cp $$file html-web$${ROOT_PATH}; \ - fi \ - fi; \ - fi; \ - done diff --git a/glade-rules.mk b/glade-rules.mk deleted file mode 100644 index fd675021..00000000 --- a/glade-rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# In this file you will find generic and usefull rules to - -# GResource rules: -# These rules will create source and header files for any file ending with .gresource.xml -# You will have to manually load the resourse unless the file name ends with -# .static.gresource.xml in which case it will be loaded automatically - -%.h: %.gresource.xml - $(GLIB_COMPILE_RESOURCES) --manual-register --generate $< --target=$@ -%.c: %.gresource.xml - $(GLIB_COMPILE_RESOURCES) --manual-register --generate $< --target=$@ - -# rule for static resources -%.h: %.static.gresource.xml - $(GLIB_COMPILE_RESOURCES) --generate $< --target=$@ -%.c: %.static.gresource.xml - $(GLIB_COMPILE_RESOURCES) --generate $< --target=$@ diff --git a/gladeui/Makefile.am b/gladeui/Makefile.am deleted file mode 100644 index a650addc..00000000 --- a/gladeui/Makefile.am +++ /dev/null @@ -1,293 +0,0 @@ -## Previewer -include $(top_srcdir)/glade-rules.mk - -bin_PROGRAMS = glade-previewer -lib_LTLIBRARIES = libgladeui-2.la - -glade_previewer_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -DGLADE_GNOMEHELPDIR="\"$(HELP_DIR)\"" \ - $(GTK_CFLAGS) \ - $(GTK_MAC_CFLAGS) \ - $(WARN_CFLAGS) \ - $(GLADE_DEBUG_FLAGS) \ - $(AM_CPPFLAGS) - -glade_previewer_CFLAGS = \ - $(AM_CFLAGS) - -glade_previewer_LDFLAGS = $(AM_LDFLAGS) - -glade_previewer_LDADD = libgladeui-2.la $(GTK_MAC_LIBS) - -glade_previewer_SOURCES = \ - glade-previewer-main.c \ - glade-previewer.c \ - glade-preview-template.c - -if NATIVE_WIN32 -glade_previewer_LDADD += glade-win32-res.o -if !GLADE_UNSTABLE -glade_previewer_LDFLAGS += -mwindows -endif -endif - -glade-win32-res.o: glade-previewer.rc - $(WINDRES) $< $@ - -## Rest of the UI ;) - -common_defines = \ - -DG_LOG_DOMAIN=\"GladeUI\" \ - -DGLADE_CATALOGSDIR="\"$(pkgdatadir)/catalogs\""\ - -DGLADE_MODULESDIR="\"$(pkglibdir)/modules\"" \ - -DGLADE_PIXMAPSDIR="\"$(pkgdatadir)/pixmaps\"" \ - -DGLADE_LOCALEDIR="\"$(datadir)/locale\""\ - -DGLADE_BINDIR="\"$(bindir)\""\ - -DGLADE_LIBDIR="\"$(libdir)\"" - -BUILT_SOURCES = \ - glade-marshallers.c \ - glade-marshallers.h \ - gladeui-resources.c \ - gladeui-resources.h \ - gladeui-enum-types.c \ - gladeui-enum-types.h - - -UI_FILES = \ - glade-design-layout.css \ - glade-editor.ui \ - glade-project-properties.ui \ - glade-adaptor-chooser-widget.ui \ - glade-adaptor-chooser.ui \ - glade-base-editor.ui \ - glade-property-label.ui - -GRAPHICS_FILES = \ - atk.png - - -EXTRA_DIST = \ - $(UI_FILES) \ - $(GRAPHICS_FILES) \ - glade-marshallers.list \ - gladeui.rc.in \ - icon-naming-spec.c \ - glade-previewer.rc.in \ - gladeui-resources.gresource.xml \ - gladeui-enum-types.c.template \ - gladeui-enum-types.h.template - - -# The glade core library -libgladeui_2_la_SOURCES = \ - $(BUILT_SOURCES) \ - glade-accumulators.c \ - glade-app.c \ - glade-base-editor.c \ - glade-adaptor-chooser-widget.c \ - glade-adaptor-chooser.c \ - glade-builtins.c \ - glade-catalog.c \ - glade-cell-renderer-icon.c \ - glade-clipboard.c \ - glade-command.c \ - glade-cursor.c \ - glade-debug.c \ - glade-design-layout.c \ - glade-design-view.c \ - glade-displayable-values.c \ - glade-editable.c \ - glade-editor.c \ - glade-editor-property.c \ - glade-editor-skeleton.c \ - glade-editor-table.c \ - glade-id-allocator.c \ - glade-id-allocator.h \ - glade-object-stub.c \ - glade-inspector.c \ - glade-name-context.c \ - glade-named-icon-chooser-dialog.c \ - glade-named-icon-chooser-dialog.h \ - glade-palette.c \ - glade-placeholder.c \ - glade-popup.c \ - glade-preview.c \ - glade-project.c \ - glade-project-properties.c \ - glade-property.c \ - glade-property-def.c \ - glade-property-label.c \ - glade-property-shell.c \ - glade-signal.c \ - glade-signal-def.c \ - glade-signal-editor.c \ - glade-signal-model.c \ - glade-template.c \ - glade-tsort.c \ - glade-utils.c \ - glade-widget.c \ - glade-widget-action.c \ - glade-widget-adaptor.c \ - glade-xml-utils.c \ - glade-drag.c \ - glade-dnd.c - -libgladeui_2_la_CPPFLAGS = \ - $(common_defines) \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - $(GTK_CFLAGS) \ - $(GTK_MAC_BUNDLE_FLAG) \ - $(GTK_MAC_CFLAGS) \ - $(WARN_CFLAGS) \ - $(GLADE_DEBUG_FLAGS) \ - $(AM_CPPFLAGS) - -libgladeui_2_la_CFLAGS = \ - $(AM_CFLAGS) - -libgladeui_2_la_LDFLAGS = -version-info $(GLADE_CURRENT):$(GLADE_REVISION):$(GLADE_AGE) $(AM_LDFLAGS) -libgladeui_2_la_LIBADD = $(GTK_LIBS) $(GTK_MAC_LIBS) $(LIBM) - -libgladeuiincludedir=$(includedir)/libgladeui-2.0/gladeui -libgladeuiinclude_HEADERS = \ - glade.h \ - glade-app.h \ - glade-adaptor-chooser.h \ - glade-base-editor.h \ - glade-builtins.h \ - glade-catalog.h \ - glade-cell-renderer-icon.h \ - glade-clipboard.h \ - glade-command.h \ - glade-cursor.h \ - glade-debug.h \ - glade-design-view.h \ - glade-displayable-values.h \ - glade-editable.h \ - glade-editor.h \ - glade-editor-property.h \ - glade-editor-skeleton.h \ - glade-editor-table.h \ - glade-inspector.h \ - glade-name-context.h \ - glade-palette.h \ - glade-placeholder.h \ - glade-project.h \ - glade-property.h \ - glade-property-def.h \ - glade-property-label.h \ - glade-property-shell.h \ - glade-signal.h \ - glade-signal-def.h \ - glade-signal-editor.h \ - glade-signal-model.h \ - glade-utils.h \ - glade-widget.h \ - glade-widget-action.h \ - glade-widget-adaptor.h \ - glade-xml-utils.h - -noinst_HEADERS = \ - glade-accumulators.h \ - glade-adaptor-chooser-widget.h \ - glade-design-layout.h \ - glade-design-private.h \ - glade-marshallers.h \ - glade-object-stub.h \ - glade-path.h \ - glade-popup.h \ - glade-preview.h \ - glade-preview-tokens.h \ - glade-previewer.h \ - glade-preview-template.h \ - glade-private.h \ - glade-project-properties.h \ - glade-tsort.h \ - gladeui-resources.h \ - glade-drag.h \ - glade-dnd.h - -if PLATFORM_WIN32 -libgladeui_2_la_LDFLAGS += -no-undefined -endif - -if NATIVE_WIN32 -# gmodule-export-2.0 on windows does not include -export-dynamic flag -libgladeui_2_la_LDFLAGS += \ - -Wl,gladeui-win32-res.o \ - -export-dynamic -libgladeui_2_la_DEPENDENCIES = gladeui-win32-res.o -endif - -gladeui-win32-res.o: gladeui.rc - $(WINDRES) $< $@ - -# -# Marshaller generation -# -glade-marshallers.h: glade-marshallers.list $(GLIB_GENMARSHAL) - $(GLIB_GENMARSHAL) --prefix=_glade_marshal $(srcdir)/glade-marshallers.list --header > glade-marshallers-h.tmp \ - && mv glade-marshallers-h.tmp glade-marshallers.h \ - || ( rm -f glade-marshallers-h.tmp && exit 1) -glade-marshallers.c: glade-marshallers.list $(GLIB_GENMARSHAL) - $(GLIB_GENMARSHAL) --prefix=_glade_marshal $(srcdir)/glade-marshallers.list --body --header > glade-marshallers-c.tmp \ - && mv glade-marshallers-c.tmp glade-marshallers.c \ - || ( rm -f glade-marshallers-c.tmp && exit 1 ) - -# -# Enum type generation -# -gladeui-enum-types.h: gladeui-enum-types.h.template $(libgladeuiinclude_HEADERS) $(GLIB_MKENUMS) - $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $@.template \ - $(libgladeuiinclude_HEADERS)) > $@ - -gladeui-enum-types.c: gladeui-enum-types.c.template $(libgladeuiinclude_HEADERS) $(GLIB_MKENUMS) - $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $@.template \ - $(libgladeuiinclude_HEADERS)) > $@ - -CLEANFILES = $(BUILT_SOURCES) - -# -# Introspection generation -# - --include $(INTROSPECTION_MAKEFILE) -INTROSPECTION_GIRS = -INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)/.. -I../ -I$(srcdir)/.. -INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) - -if HAVE_INTROSPECTION -introspection_sources = $(libgladeui_2_la_SOURCES) $(libgladeuiinclude_HEADERS) - -Gladeui-2.0.gir: libgladeui-2.la -Gladeui_2_0_gir_INCLUDES = Gtk-3.0 -Gladeui_2_0_gir_CFLAGS = $(INCLUDES) -Gladeui_2_0_gir_LIBS = libgladeui-2.la -Gladeui_2_0_gir_FILES = $(introspection_sources) -Gladeui_2_0_gir_EXPORT_PACKAGES = gladeui-2.0 -Gladeui_2_0_gir_SCANNERFLAGS = \ - --c-include="gladeui/glade.h" \ - --identifier-prefix=Glade \ - --symbol-prefix=glade -INTROSPECTION_GIRS += Gladeui-2.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 - -# Generate resources -gladeui-resources.h: gladeui-resources.gresource.xml $(UI_FILES) $(GRAPHICS_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/gladeui-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _gladeui --generate-header -gladeui-resources.c: gladeui-resources.gresource.xml $(UI_FILES) $(GRAPHICS_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/gladeui-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _gladeui --generate-source diff --git a/help/Makefile.am b/help/Makefile.am deleted file mode 100644 index 4fd35450..00000000 --- a/help/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -@YELP_HELP_RULES@ - -HELP_ID = glade - -HELP_FILES = \ - index.docbook \ - legal.xml - -HELP_MEDIA = \ - figures/main-window.png - -HELP_LINGUAS = bg ca cs de el en_GB es eu fr gl hi hu id it ja ko oc pl pt_BR ru sl sv uk zh_CN diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index e27191eb..00000000 --- a/m4/.gitignore +++ /dev/null @@ -1,35 +0,0 @@ -/codeset.m4 -/gettext.m4 -/glibc2.m4 -/glibc21.m4 -/gtk-doc.m4 -/iconv.m4 -/intdiv0.m4 -/intl.m4 -/intldir.m4 -/intlmacosx.m4 -/intmax.m4 -/inttypes-pri.m4 -/inttypes_h.m4 -/lcmessage.m4 -/lib-ld.m4 -/lib-link.m4 -/lib-prefix.m4 -/libtool.m4 -/lock.m4 -/longlong.m4 -/ltoptions.m4 -/ltsugar.m4 -/ltversion.m4 -/lt~obsolete.m4 -/nls.m4 -/po.m4 -/printf-posix.m4 -/progtest.m4 -/size_max.m4 -/stdint_h.m4 -/uintmax_t.m4 -/visibility.m4 -/wchar_t.m4 -/wint_t.m4 -/xsize.m4 diff --git a/m4/python.m4 b/m4/python.m4 deleted file mode 100644 index 530e3787..00000000 --- a/m4/python.m4 +++ /dev/null @@ -1,101 +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 -am_python_print_includes="\ -from distutils import sysconfig as sc -incldirs = [[]] - -for d in sc.get_config_var('INCLDIRSTOMAKE').split(): - incldirs.append('-I' + d) - -print(' '.join(incldirs)) -" -if test "x$PYTHON_INCLUDES" == x; then - PYTHON_INCLUDES=`$PYTHON -c "$am_python_print_includes"` -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" -]) - -dnl a macro to check for ability to embed python -dnl AM_CHECK_PYTHON_LIBS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE]) -dnl function also defines PYTHON_LIBS -AC_DEFUN([AM_CHECK_PYTHON_LIBS], -[AC_REQUIRE([AM_CHECK_PYTHON_HEADERS]) -AC_MSG_CHECKING(for libraries required to embed python) -dnl deduce PYTHON_LIBS -am_python_print_libs="\ -from distutils import sysconfig as sc -libs = '-L' + sc.get_config_var('LIBDIR').strip() -libs += ' ' + sc.get_config_var('BLDLIBRARY') -print(libs)" -am_python_print_lib_loc="\ -from distutils import sysconfig as sc -print(sc.get_config_var('LIBDIR'))" -if test "x$PYTHON_LIBS" == x; then - PYTHON_LIBS=`$PYTHON -c "$am_python_print_libs"` -fi -if test "x$PYTHON_LIB_LOC" == x; then - PYTHON_LIB_LOC=`$PYTHON -c "$am_python_print_lib_loc"` -fi -AC_SUBST(PYTHON_LIBS) -AC_SUBST(PYTHON_LIB_LOC) -dnl check if the headers exist: -save_LIBS="$LIBS" -LIBS="$LIBS $PYTHON_LIBS" -AC_TRY_LINK_FUNC(Py_Initialize, dnl - [LIBS="$save_LIBS"; AC_MSG_RESULT(yes); $1], dnl - [LIBS="$save_LIBS"; AC_MSG_RESULT(no); $2]) - -]) - diff --git a/man/Makefile.am b/man/Makefile.am deleted file mode 100644 index da459d90..00000000 --- a/man/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -XSLTPROC_FLAGS = \ - --nonet \ - --stringparam man.output.quietly 1 \ - --stringparam funcsynopsis.style ansi \ - --stringparam man.th.extra1.suppress 1 \ - --stringparam man.authors.section.enabled 0 \ - --stringparam man.copyright.section.enabled 0 - -.xml.1: - $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< - -man_MANS = \ - glade.1 \ - glade-previewer.1 - -xml_files = $(man_MANS:.1=.xml) - -EXTRA_DIST = $(xml_files) - -DISTCLEANFILES = $(man_MANS) - --include $(top_srcdir)/git.mk diff --git a/plugins/Makefile.am b/plugins/Makefile.am deleted file mode 100644 index ece23c2b..00000000 --- a/plugins/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = gtk+ - -if BUILD_PYTHON -SUBDIRS += python -endif - -if BUILD_GLADEUI -SUBDIRS += gladeui -endif - -if BUILD_WEBKIT2GTK -SUBDIRS += webkit2gtk -endif - -dtddir = $(pkgdatadir)/catalogs -dtd_DATA = glade-catalog.dtd - -EXTRA_DIST = glade-catalog.dtd gtk-private/glade-gtk-private.xml diff --git a/plugins/gladeui/Makefile.am b/plugins/gladeui/Makefile.am deleted file mode 100644 index 51853d23..00000000 --- a/plugins/gladeui/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ - -libgladeui = $(top_builddir)/gladeui/libgladeui-2.la - -# libgladegtk - -gladeglade_LTLIBRARIES = libgladeglade.la -gladegladedir = $(pkglibdir)/modules - -libgladeglade_la_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -DG_LOG_DOMAIN=\"GladeUI-Glade\" \ - $(GTK_CFLAGS) \ - $(PLUGINS_WARN_CFLAGS) \ - $(AM_CPPFLAGS) - -libgladeglade_la_CFLAGS = $(AM_CFLAGS) -libgladeglade_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) -libgladeglade_la_LIBADD = $(libgladeui) $(GTK_LIBS) -libgladeglade_la_SOURCES = \ - glade-glade-editor-skeleton.c \ - glade-glade-property-shell.c - -catalogsdir = $(pkgdatadir)/catalogs - -catalogs_DATA = gladeui.xml - -EXTRA_DIST = $(catalogs_DATA) diff --git a/plugins/gtk+/Makefile.am b/plugins/gtk+/Makefile.am deleted file mode 100644 index d5f1ec05..00000000 --- a/plugins/gtk+/Makefile.am +++ /dev/null @@ -1,360 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = icons - -libgladeui = $(top_builddir)/gladeui/libgladeui-2.la - - -# libgladegtk - -gladegtk_LTLIBRARIES = libgladegtk.la -gladegtkdir = $(pkglibdir)/modules - -libgladegtk_la_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -DG_LOG_DOMAIN=\"GladeUI-GTK\" \ - $(GTK_CFLAGS) \ - $(PLUGINS_WARN_CFLAGS) \ - $(GLADE_DEBUG_FLAGS) \ - $(AM_CPPFLAGS) - -libgladegtk_la_CFLAGS = $(AM_CFLAGS) - -libgladegtk_la_SOURCES = \ - $(BUILT_SOURCES) \ - glade-about-dialog-editor.c \ - glade-accels.c \ - glade-action-editor.c \ - glade-activatable-editor.c \ - glade-app-chooser-button-editor.c \ - glade-app-chooser-widget-editor.c \ - glade-arrow-editor.c \ - glade-attributes.c \ - glade-action-bar-editor.c \ - glade-box-editor.c \ - glade-button-editor.c \ - glade-cell-renderer-editor.c \ - glade-column-types.c \ - glade-combo-box-editor.c \ - glade-combo-box-text-editor.c \ - glade-entry-editor.c \ - glade-file-chooser-button-editor.c \ - glade-file-chooser-dialog-editor.c \ - glade-file-chooser-editor.c \ - glade-file-chooser-widget-editor.c \ - glade-fixed.c \ - glade-font-button-editor.c \ - glade-font-chooser-dialog-editor.c \ - glade-font-chooser-editor.c \ - glade-font-chooser-widget-editor.c \ - glade-grid-editor.c \ - glade-gtk-about-dialog.c \ - glade-gtk-action.c \ - glade-gtk-action-bar.c \ - glade-gtk-action-group.c \ - glade-gtk-action-widgets.c \ - glade-gtk-adjustment.c \ - glade-gtk-app-chooser-button.c \ - glade-gtk-app-chooser-widget.c \ - glade-gtk-arrow.c \ - glade-gtk-assistant.c \ - glade-gtk-bin.c \ - glade-gtk-box.c \ - glade-gtk-button.c \ - glade-gtk-cell-layout.c \ - glade-gtk-cell-renderer.c \ - glade-gtk-combo-box.c \ - glade-gtk-combo-box-text.c \ - glade-gtk-container.c \ - glade-gtk-dialog.c \ - glade-gtk-entry.c \ - glade-gtk-entry-buffer.c \ - glade-gtk-expander.c \ - glade-gtk-file-chooser-widget.c \ - glade-gtk-fixed-layout.c \ - glade-gtk-flow-box.c \ - glade-gtk-font-chooser-widget.c \ - glade-gtk-frame.c \ - glade-gtk-grid.c \ - glade-gtk-icon-factory.c \ - glade-gtk-icon-view.c \ - glade-gtk-image.c \ - glade-gtk-image-menu-item.c \ - glade-gtk-info-bar.c \ - glade-gtk-label.c \ - glade-gtk-level-bar.c \ - glade-gtk-list-box.c \ - glade-gtk-list-store.c \ - glade-gtk-menu.c \ - glade-gtk-menu-bar.c \ - glade-gtk-menu-item.c \ - glade-gtk-menu-shell.c \ - glade-gtk-menu-tool-button.c \ - glade-gtk-message-dialog.c \ - glade-gtk-model-button.c \ - glade-gtk-notebook.c \ - glade-gtk-overlay.c \ - glade-gtk-paned.c \ - glade-gtk-popover.c \ - glade-gtk-popover-menu.c \ - glade-gtk-progress-bar.c \ - glade-gtk-radio-button.c \ - glade-gtk-radio-menu-item.c \ - glade-gtk-recent-chooser-menu.c \ - glade-gtk-recent-chooser-widget.c \ - glade-gtk-recent-file-filter.c \ - glade-gtk-revealer.c \ - glade-gtk-scale.c \ - glade-gtk-scrollbar.c \ - glade-gtk-scrolled-window.c \ - glade-gtk-searchbar.c \ - glade-gtk-size-group.c \ - glade-gtk-spin-button.c \ - glade-gtk-stack.c \ - glade-gtk-stack-switcher.c \ - glade-gtk-switch.c \ - glade-gtk-table.c \ - glade-gtk-text-buffer.c \ - glade-gtk-text-tag-table.c \ - glade-gtk-text-view.c \ - glade-gtk-tool-button.c \ - glade-gtk-tool-item.c \ - glade-gtk-tool-item-group.c \ - glade-gtk-tool-palette.c \ - glade-gtk-toolbar.c \ - glade-gtk-tree-view.c \ - glade-gtk-viewport.c \ - glade-gtk-widget.c \ - glade-gtk-window.c \ - glade-gtk-header-bar.c \ - glade-header-bar-editor.c \ - glade-icon-factory-editor.c \ - glade-icon-sources.c \ - glade-icon-view-editor.c \ - glade-image-editor.c \ - glade-image-item-editor.c \ - glade-label-editor.c \ - glade-layout-editor.c \ - glade-level-bar-editor.c \ - glade-message-dialog-editor.c \ - glade-misc-editor.c \ - glade-model-button-editor.c \ - glade-model-data.c \ - glade-notebook-editor.c \ - glade-popover-editor.c \ - glade-popover-menu-editor.c \ - glade-progress-bar-editor.c \ - glade-real-tree-view-editor.c \ - glade-recent-action-editor.c \ - glade-recent-chooser-dialog-editor.c \ - glade-recent-chooser-editor.c \ - glade-recent-chooser-menu-editor.c \ - glade-recent-chooser-widget-editor.c \ - glade-scale-button-editor.c \ - glade-scale-editor.c \ - glade-scrollable-editor.c \ - glade-scrollbar-editor.c \ - glade-scrolled-window-editor.c \ - glade-spin-button-editor.c \ - glade-stack-editor.c \ - glade-stack-switcher-editor.c \ - glade-store-editor.c \ - glade-string-list.c \ - glade-eprop-enum-int.c \ - glade-text-view-editor.c \ - glade-tool-button-editor.c \ - glade-tool-item-group-editor.c \ - glade-tool-palette-editor.c \ - glade-treeview-editor.c \ - glade-viewport-editor.c \ - glade-widget-editor.c \ - glade-window-editor.c - -libgladegtk_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) -libgladegtk_la_LIBADD = $(libgladeui) $(GTK_LIBS) - -noinst_HEADERS = \ - glade-about-dialog-editor.h \ - glade-accels.h \ - glade-action-editor.h \ - glade-activatable-editor.h \ - glade-app-chooser-button-editor.h \ - glade-app-chooser-widget-editor.h \ - glade-arrow-editor.h \ - glade-attributes.h \ - glade-action-bar-editor.h \ - glade-box-editor.h \ - glade-button-editor.h \ - glade-cell-renderer-editor.h \ - glade-column-types.h \ - glade-combo-box-editor.h \ - glade-combo-box-text-editor.h \ - glade-entry-editor.h \ - glade-file-chooser-button-editor.h \ - glade-file-chooser-dialog-editor.h \ - glade-file-chooser-editor.h \ - glade-file-chooser-widget-editor.h \ - glade-fixed.h \ - glade-font-button-editor.h \ - glade-font-chooser-dialog-editor.h \ - glade-font-chooser-editor.h \ - glade-font-chooser-widget-editor.h \ - glade-grid-editor.h \ - glade-gtk.h \ - glade-gtk-action-widgets.h \ - glade-gtk-button.h \ - glade-gtk-cell-layout.h \ - glade-gtk-cell-renderer.h \ - glade-gtk-dialog.h \ - glade-gtk-frame.h \ - glade-gtk-image.h \ - glade-gtk-menu-shell.h \ - glade-gtk-notebook.h \ - glade-gtk-tree-view.h \ - glade-header-bar-editor.h \ - glade-icon-factory-editor.h \ - glade-icon-sources.h \ - glade-icon-view-editor.h \ - glade-image-editor.h \ - glade-image-item-editor.h \ - glade-label-editor.h \ - glade-layout-editor.h \ - glade-level-bar-editor.h \ - glade-message-dialog-editor.h \ - glade-misc-editor.h \ - glade-model-button-editor.h \ - glade-model-data.h \ - glade-notebook-editor.h \ - glade-popover-editor.h \ - glade-popover-menu-editor.h \ - glade-progress-bar-editor.h \ - glade-real-tree-view-editor.h \ - glade-recent-action-editor.h \ - glade-recent-chooser-dialog-editor.h \ - glade-recent-chooser-editor.h \ - glade-recent-chooser-menu-editor.h \ - glade-recent-chooser-widget-editor.h \ - glade-scale-editor.h \ - glade-scale-button-editor.h \ - glade-scrollable-editor.h \ - glade-scrollbar-editor.h \ - glade-scrolled-window-editor.h \ - glade-spin-button-editor.h \ - glade-stack-editor.h \ - glade-stack-switcher-editor.h \ - glade-store-editor.h \ - glade-string-list.h \ - glade-eprop-enum-int.h \ - glade-text-view-editor.h \ - glade-tool-button-editor.h \ - glade-tool-item-group-editor.h \ - glade-tool-palette-editor.h \ - glade-treeview-editor.h \ - glade-viewport-editor.h \ - glade-widget-editor.h \ - glade-window-editor.h - -if PLATFORM_WIN32 -libgladegtk_la_LDFLAGS += -no-undefined -endif - -# catalog data -catalogsdir = $(pkgdatadir)/catalogs -catalogs_DATA = gtk+.xml - -if HAVE_GTK_UNIX_PRINT -catalogs_DATA += gtkunixprint.xml -endif - - -BUILT_SOURCES = \ - glade-gtk-marshallers.c \ - glade-gtk-marshallers.h \ - glade-gtk-resources.c \ - glade-gtk-resources.h - -UI_FILES = \ - glade-about-dialog-editor.ui \ - glade-action-editor.ui \ - glade-activatable-editor.ui \ - glade-app-chooser-button-editor.ui \ - glade-app-chooser-widget-editor.ui \ - glade-arrow-editor.ui \ - glade-action-bar-editor.ui \ - glade-box-editor.ui \ - glade-button-editor.ui \ - glade-combo-box-editor.ui \ - glade-combo-box-text-editor.ui \ - glade-entry-editor.ui \ - glade-file-chooser-button-editor.ui \ - glade-file-chooser-dialog-editor.ui \ - glade-file-chooser-editor.ui \ - glade-file-chooser-widget-editor.ui \ - glade-font-button-editor.ui \ - glade-font-chooser-dialog-editor.ui \ - glade-font-chooser-editor.ui \ - glade-font-chooser-widget-editor.ui \ - glade-grid-editor.ui \ - glade-header-bar-editor.ui \ - glade-icon-view-editor.ui \ - glade-image-editor.ui \ - glade-label-editor.ui \ - glade-layout-editor.ui \ - glade-level-bar-editor.ui \ - glade-message-dialog-editor.ui \ - glade-misc-editor.ui \ - glade-model-button-editor.ui \ - glade-notebook-editor.ui \ - glade-popover-editor.ui \ - glade-popover-menu-editor.ui \ - glade-progress-bar-editor.ui \ - glade-real-tree-view-editor.ui \ - glade-recent-action-editor.ui \ - glade-recent-chooser-dialog-editor.ui \ - glade-recent-chooser-editor.ui \ - glade-recent-chooser-menu-editor.ui \ - glade-recent-chooser-widget-editor.ui \ - glade-scale-editor.ui \ - glade-scale-button-editor.ui \ - glade-scrollable-editor.ui \ - glade-scrollbar-editor.ui \ - glade-scrolled-window-editor.ui \ - glade-spin-button-editor.ui \ - glade-stack-editor.ui \ - glade-stack-switcher-editor.ui \ - glade-text-view-editor.ui \ - glade-tool-button-editor.ui \ - glade-tool-palette-editor.ui \ - glade-viewport-editor.ui \ - glade-widget-editor.ui \ - glade-window-editor.ui - -EXTRA_DIST = \ - $(UI_FILES) \ - glade-gtk-marshallers.list \ - $(catalogs_DATA) \ - glade-gtk-resources.gresource.xml - -CLEANFILES = \ - $(BUILT_SOURCES) - -# -# Marshaller generation -# -glade-gtk-marshallers.h: glade-gtk-marshallers.list $(GLIB_GENMARSHAL) - $(GLIB_GENMARSHAL) --prefix=glade_gtk_marshal $(srcdir)/glade-gtk-marshallers.list --header > glade-gtk-marshallers-h.tmp \ - && mv glade-gtk-marshallers-h.tmp glade-gtk-marshallers.h \ - || ( rm -f glade-gtk-marshallers-h.tmp && exit 1) -glade-gtk-marshallers.c: glade-gtk-marshallers.list $(GLIB_GENMARSHAL) - $(GLIB_GENMARSHAL) --prefix=glade_gtk_marshal $(srcdir)/glade-gtk-marshallers.list --body --header > glade-gtk-marshallers-c.tmp \ - && mv glade-gtk-marshallers-c.tmp glade-gtk-marshallers.c \ - || ( rm -f glade-gtk-marshallers-c.tmp && exit 1 ) - -# Generate resources -glade-gtk-resources.h: glade-gtk-resources.gresource.xml $(UI_FILES) $(GRAPHICS_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/glade-gtk-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _glade_gtk --generate-header -glade-gtk-resources.c: glade-gtk-resources.gresource.xml $(UI_FILES) $(GRAPHICS_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/glade-gtk-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _glade_gtk --generate-source diff --git a/plugins/gtk+/icons/16x16/Makefile.am b/plugins/gtk+/icons/16x16/Makefile.am deleted file mode 100644 index 1b1c275b..00000000 --- a/plugins/gtk+/icons/16x16/Makefile.am +++ /dev/null @@ -1,161 +0,0 @@ -## Process this file with automake to produce Makefile.in - -iconsdir = $(pkgdatadir)/pixmaps/hicolor/16x16/actions - -icons_DATA = \ - widget-gtk-aboutdialog.png \ - widget-gtk-accelgroup.png \ - widget-gtk-accellabel.png \ - widget-gtk-actionbar.png \ - widget-gtk-adjustment.png \ - widget-gtk-alignment.png \ - widget-gtk-appchooserbutton.png \ - widget-gtk-appchooserdialog.png \ - widget-gtk-appchooserwidget.png \ - widget-gtk-arrow.png \ - widget-gtk-aspectframe.png \ - widget-gtk-assistant.png \ - widget-gtk-button.png \ - widget-gtk-buttonbox.png \ - widget-gtk-box.png \ - widget-gtk-calendar.png \ - widget-gtk-cellareabox.png \ - widget-gtk-cellrenderertext.png \ - widget-gtk-cellrendereraccel.png \ - widget-gtk-cellrenderercombo.png \ - widget-gtk-cellrendererspin.png \ - widget-gtk-cellrendererspinner.png \ - widget-gtk-cellrendererpixbuf.png \ - widget-gtk-cellrendererprogress.png \ - widget-gtk-cellrenderertoggle.png \ - widget-gtk-checkbutton.png \ - widget-gtk-checkmenuitem.png \ - widget-gtk-colorbutton.png \ - widget-gtk-colorselection.png \ - widget-gtk-colorselectiondialog.png \ - widget-gtk-combobox.png \ - widget-gtk-comboboxtext.png \ - widget-gtk-default.png \ - widget-gtk-dialog.png \ - widget-gtk-drawingarea.png \ - widget-gtk-entry.png \ - widget-gtk-entrybuffer.png \ - widget-gtk-eventbox.png \ - widget-gtk-expander.png \ - widget-gtk-filechooserbutton.png \ - widget-gtk-filechooserdialog.png \ - widget-gtk-filechooserwidget.png \ - widget-gtk-filefilter.png \ - widget-gtk-fixed.png \ - widget-gtk-flowbox.png \ - widget-gtk-flowboxchild.png \ - widget-gtk-fontbutton.png \ - widget-gtk-fontselection.png \ - widget-gtk-fontselectiondialog.png \ - widget-gtk-frame.png \ - widget-gtk-grid.png \ - widget-gtk-glarea.png \ - widget-gtk-handlebox.png \ - widget-gtk-hbox.png \ - widget-gtk-hbuttonbox.png \ - widget-gtk-headerbar.png \ - widget-gtk-hpaned.png \ - widget-gtk-hscale.png \ - widget-gtk-hscrollbar.png \ - widget-gtk-hseparator.png \ - widget-gtk-iconview.png \ - widget-gtk-image.png \ - widget-gtk-imagemenuitem.png \ - widget-gtk-infobar.png \ - widget-gtk-inputdialog.png \ - widget-gtk-label.png \ - widget-gtk-layout.png \ - widget-gtk-linkbutton.png \ - widget-gtk-lockbutton.png \ - widget-gtk-menu.png \ - widget-gtk-menubar.png \ - widget-gtk-menubutton.png \ - widget-gtk-menuitem.png \ - widget-gtk-menutoolbutton.png \ - widget-gtk-messagedialog.png \ - widget-gtk-modelbutton.png \ - widget-gtk-notebook.png \ - widget-gtk-offscreenwindow.png \ - widget-gtk-paned.png \ - widget-gtk-pagesetupdialog.png \ - widget-gtk-placessidebar.png \ - widget-gtk-popover.png \ - widget-gtk-popovermenu.png \ - widget-gtk-printdialog.png \ - widget-gtk-progressbar.png \ - widget-gtk-searchbar.png \ - widget-gtk-levelbar.png \ - widget-gtk-radiobutton.png \ - widget-gtk-radiomenuitem.png \ - widget-gtk-radiotoolbutton.png \ - widget-gtk-recentaction.png \ - widget-gtk-recentchooser.png \ - widget-gtk-recentchooserdialog.png \ - widget-gtk-recentchoosermenu.png \ - widget-gtk-recentfilter.png \ - widget-gtk-recentmanager.png \ - widget-gtk-scale.png \ - widget-gtk-scrollbar.png \ - widget-gtk-scrolledwindow.png \ - widget-gtk-separator.png \ - widget-gtk-separatormenuitem.png \ - widget-gtk-separatortoolitem.png \ - widget-gtk-stacksidebar.png \ - widget-gtk-sizegroup.png \ - widget-gtk-spinbutton.png \ - widget-gtk-spinner.png \ - widget-gtk-stack.png \ - widget-gtk-stackswitcher.png \ - widget-gtk-statusbar.png \ - widget-gtk-statusicon.png \ - widget-gtk-table.png \ - widget-gtk-tearoffmenuitem.png \ - widget-gtk-textbuffer.png \ - widget-gtk-texttag.png \ - widget-gtk-texttagtable.png \ - widget-gtk-textview.png \ - widget-gtk-togglebutton.png \ - widget-gtk-switch.png \ - widget-gtk-toggletoolbutton.png \ - widget-gtk-toolbar.png \ - widget-gtk-toolbutton.png \ - widget-gtk-toolitem.png \ - widget-gtk-toolitemgroup.png \ - widget-gtk-toolpalette.png \ - widget-gtk-treemodelfilter.png \ - widget-gtk-treemodelsort.png \ - widget-gtk-treeselection.png \ - widget-gtk-treeview.png \ - widget-gtk-treeviewcolumn.png \ - widget-gtk-vbox.png \ - widget-gtk-vbuttonbox.png \ - widget-gtk-viewport.png \ - widget-gtk-vpaned.png \ - widget-gtk-vscale.png \ - widget-gtk-vscrollbar.png \ - widget-gtk-vseparator.png \ - widget-gtk-window.png \ - widget-gtk-entrycompletion.png \ - widget-gtk-action.png \ - widget-gtk-actiongroup.png \ - widget-gtk-radioaction.png \ - widget-gtk-toggleaction.png \ - widget-gtk-volumebutton.png \ - widget-gtk-windowgroup.png \ - widget-gtk-treestore.png \ - widget-gtk-liststore.png \ - widget-gtk-scalebutton.png \ - widget-gtk-revealer.png \ - widget-gtk-overlay.png \ - widget-gtk-listbox.png \ - widget-gtk-listboxrow.png \ - widget-gtk-searchentry.png \ - widget-gtk-iconfactory.png - - -EXTRA_DIST = $(icons_DATA) diff --git a/plugins/gtk+/icons/22x22/Makefile.am b/plugins/gtk+/icons/22x22/Makefile.am deleted file mode 100644 index 78aef430..00000000 --- a/plugins/gtk+/icons/22x22/Makefile.am +++ /dev/null @@ -1,161 +0,0 @@ -## Process this file with automake to produce Makefile.in - -iconsdir = $(pkgdatadir)/pixmaps/hicolor/22x22/actions - -icons_DATA = \ - widget-gtk-aboutdialog.png \ - widget-gtk-accelgroup.png \ - widget-gtk-accellabel.png \ - widget-gtk-actionbar.png \ - widget-gtk-adjustment.png \ - widget-gtk-alignment.png \ - widget-gtk-appchooserbutton.png \ - widget-gtk-appchooserdialog.png \ - widget-gtk-appchooserwidget.png \ - widget-gtk-arrow.png \ - widget-gtk-aspectframe.png \ - widget-gtk-assistant.png \ - widget-gtk-button.png \ - widget-gtk-buttonbox.png \ - widget-gtk-box.png \ - widget-gtk-calendar.png \ - widget-gtk-cellareabox.png \ - widget-gtk-cellrenderertext.png \ - widget-gtk-cellrendereraccel.png \ - widget-gtk-cellrenderercombo.png \ - widget-gtk-cellrendererspin.png \ - widget-gtk-cellrendererspinner.png \ - widget-gtk-cellrendererpixbuf.png \ - widget-gtk-cellrendererprogress.png \ - widget-gtk-cellrenderertoggle.png \ - widget-gtk-checkbutton.png \ - widget-gtk-checkmenuitem.png \ - widget-gtk-colorbutton.png \ - widget-gtk-colorselection.png \ - widget-gtk-colorselectiondialog.png \ - widget-gtk-combobox.png \ - widget-gtk-comboboxtext.png \ - widget-gtk-default.png \ - widget-gtk-dialog.png \ - widget-gtk-drawingarea.png \ - widget-gtk-entry.png \ - widget-gtk-entrybuffer.png \ - widget-gtk-eventbox.png \ - widget-gtk-expander.png \ - widget-gtk-filechooserbutton.png \ - widget-gtk-filechooserdialog.png \ - widget-gtk-filechooserwidget.png \ - widget-gtk-filefilter.png \ - widget-gtk-fixed.png \ - widget-gtk-flowbox.png \ - widget-gtk-flowboxchild.png \ - widget-gtk-fontbutton.png \ - widget-gtk-fontselection.png \ - widget-gtk-fontselectiondialog.png \ - widget-gtk-frame.png \ - widget-gtk-grid.png \ - widget-gtk-glarea.png \ - widget-gtk-handlebox.png \ - widget-gtk-hbox.png \ - widget-gtk-hbuttonbox.png \ - widget-gtk-headerbar.png \ - widget-gtk-hpaned.png \ - widget-gtk-hscale.png \ - widget-gtk-hscrollbar.png \ - widget-gtk-hseparator.png \ - widget-gtk-iconview.png \ - widget-gtk-image.png \ - widget-gtk-imagemenuitem.png \ - widget-gtk-infobar.png \ - widget-gtk-inputdialog.png \ - widget-gtk-label.png \ - widget-gtk-layout.png \ - widget-gtk-linkbutton.png \ - widget-gtk-lockbutton.png \ - widget-gtk-menu.png \ - widget-gtk-menubar.png \ - widget-gtk-menubutton.png \ - widget-gtk-menuitem.png \ - widget-gtk-menutoolbutton.png \ - widget-gtk-messagedialog.png \ - widget-gtk-modelbutton.png \ - widget-gtk-notebook.png \ - widget-gtk-offscreenwindow.png \ - widget-gtk-paned.png \ - widget-gtk-pagesetupdialog.png \ - widget-gtk-placessidebar.png \ - widget-gtk-popover.png \ - widget-gtk-popovermenu.png \ - widget-gtk-printdialog.png \ - widget-gtk-progressbar.png \ - widget-gtk-searchbar.png \ - widget-gtk-levelbar.png \ - widget-gtk-radiobutton.png \ - widget-gtk-radiomenuitem.png \ - widget-gtk-radiotoolbutton.png \ - widget-gtk-recentaction.png \ - widget-gtk-recentchooser.png \ - widget-gtk-recentchooserdialog.png \ - widget-gtk-recentchoosermenu.png \ - widget-gtk-recentfilter.png \ - widget-gtk-recentmanager.png \ - widget-gtk-scale.png \ - widget-gtk-scrollbar.png \ - widget-gtk-scrolledwindow.png \ - widget-gtk-separator.png \ - widget-gtk-separatormenuitem.png \ - widget-gtk-separatortoolitem.png \ - widget-gtk-stacksidebar.png \ - widget-gtk-sizegroup.png \ - widget-gtk-spinbutton.png \ - widget-gtk-spinner.png \ - widget-gtk-stack.png \ - widget-gtk-stackswitcher.png \ - widget-gtk-statusbar.png \ - widget-gtk-statusicon.png \ - widget-gtk-table.png \ - widget-gtk-tearoffmenuitem.png \ - widget-gtk-textbuffer.png \ - widget-gtk-texttag.png \ - widget-gtk-texttagtable.png \ - widget-gtk-textview.png \ - widget-gtk-togglebutton.png \ - widget-gtk-switch.png \ - widget-gtk-toggletoolbutton.png \ - widget-gtk-toolbar.png \ - widget-gtk-toolbutton.png \ - widget-gtk-toolitem.png \ - widget-gtk-toolitemgroup.png \ - widget-gtk-toolpalette.png \ - widget-gtk-treemodelfilter.png \ - widget-gtk-treemodelsort.png \ - widget-gtk-treeselection.png \ - widget-gtk-treeview.png \ - widget-gtk-treeviewcolumn.png \ - widget-gtk-vbox.png \ - widget-gtk-vbuttonbox.png \ - widget-gtk-viewport.png \ - widget-gtk-vpaned.png \ - widget-gtk-vscale.png \ - widget-gtk-vscrollbar.png \ - widget-gtk-vseparator.png \ - widget-gtk-window.png \ - widget-gtk-entrycompletion.png \ - widget-gtk-action.png \ - widget-gtk-actiongroup.png \ - widget-gtk-radioaction.png \ - widget-gtk-toggleaction.png \ - widget-gtk-volumebutton.png \ - widget-gtk-windowgroup.png \ - widget-gtk-treestore.png \ - widget-gtk-liststore.png \ - widget-gtk-scalebutton.png \ - widget-gtk-revealer.png \ - widget-gtk-overlay.png \ - widget-gtk-listbox.png \ - widget-gtk-listboxrow.png \ - widget-gtk-searchentry.png \ - widget-gtk-iconfactory.png - - -EXTRA_DIST = $(icons_DATA) diff --git a/plugins/gtk+/icons/Makefile.am b/plugins/gtk+/icons/Makefile.am deleted file mode 100644 index bd39c36e..00000000 --- a/plugins/gtk+/icons/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = 16x16 22x22 diff --git a/plugins/python/Makefile.am b/plugins/python/Makefile.am deleted file mode 100644 index 3e6456f5..00000000 --- a/plugins/python/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgladeui = $(top_builddir)/gladeui/libgladeui-2.la - - -# libgladepython - -gladepython_LTLIBRARIES = libgladepython.la -gladepythondir = $(pkglibdir)/modules - -libgladepython_la_SOURCES = glade-python.c -libgladepython_la_CPPFLAGS = $(AM_CPPFLAGS) -libgladepython_la_CFLAGS = \ - -DG_LOG_DOMAIN=\"GladeUI-PYTHON\" \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - $(PYTHON_INCLUDES) \ - $(GTK_CFLAGS) \ - $(PYGOBJECT_CFLAGS) \ - $(PLUGINS_WARN_CFLAGS) \ - $(AM_CPPFLAGS) -libgladepython_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) -libgladepython_la_LIBADD = $(libgladeui) $(PYTHON_LIBS) $(PYGOBJECT_LIBS) - -if PLATFORM_WIN32 -libgladepython_la_LDFLAGS += -no-undefined -endif - diff --git a/plugins/webkit2gtk/Makefile.am b/plugins/webkit2gtk/Makefile.am deleted file mode 100644 index 016e18dc..00000000 --- a/plugins/webkit2gtk/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgladeui = $(top_builddir)/gladeui/libgladeui-2.la - - -# libgladewebkit2gtk - -gladewebkit2gtk_LTLIBRARIES = libgladewebkit2gtk.la -gladewebkit2gtkdir = $(pkglibdir)/modules - -libgladewebkit2gtk_la_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"GladeUI-WEBKIT2GTK\" \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - $(WEBKIT2GTK_INCLUDES) - -libgladewebkit2gtk_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(PLUGINS_WARN_CFLAGS) \ - $(WEBKIT2GTK_CFLAGS) - -libgladewebkit2gtk_la_SOURCES = glade-webkit2gtk.c - -libgladewebkit2gtk_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) $(WEBKIT2GTK_LDFLAGS) -libgladewebkit2gtk_la_LIBADD = $(libgladeui) $(WEBKIT2GTK_LIBS) - -if PLATFORM_WIN32 -libgladewebkit2gtk_la_LDFLAGS += -no-undefined -endif - -# catalog data -catalogsdir = $(pkgdatadir)/catalogs -catalogs_DATA = webkit2gtk.xml - -EXTRA_DIST = $(catalogs_DATA) diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index 14dbec39..00000000 --- a/po/Makevars +++ /dev/null @@ -1,80 +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 = $(PACKAGE) - -# These two variables depend on the location of this directory. -subdir = po -top_builddir = .. - -XGETTEXT := env GETTEXTDATADIRS="$(top_srcdir)/data/gettext" $(XGETTEXT) - -# 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 = Glade contributors - -# 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/glade/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 diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index c3237edf..00000000 --- a/src/Makefile.am +++ /dev/null @@ -1,72 +0,0 @@ -## Process this file with automake to produce Makefile.in -include $(top_srcdir)/glade-rules.mk - -bin_PROGRAMS = glade - -glade_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -DGLADE_GNOMEHELPDIR="\"$(HELP_DIR)\"" \ - $(GTK_CFLAGS) \ - $(GTK_MAC_CFLAGS) \ - $(WARN_CFLAGS) \ - $(AM_CPPFLAGS) - -glade_CFLAGS = \ - $(GMODULE_EXPORT_CFLAGS) \ - $(AM_CFLAGS) - -glade_LDFLAGS = $(AM_LDFLAGS) $(GMODULE_EXPORT_LDFLAGS) - -glade_LDADD = $(top_builddir)/gladeui/libgladeui-2.la $(GTK_MAC_LIBS) - -BUILT_SOURCES = glade-resources.c glade-resources.h - -glade_SOURCES = \ - glade-window.c \ - glade-intro.c \ - glade-resources.c \ - glade-preferences.c \ - glade-http.c \ - glade-registration.c \ - glade-settings.c \ - main.c - -noinst_HEADERS = \ - glade-window.h \ - glade-intro.h \ - glade-resources.h \ - glade-preferences.h \ - glade-logo.h \ - glade-registration.h \ - glade-settings.h \ - glade-http.h - -# Generate resources -glade-resources.h: glade-resources.gresource.xml $(UI_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/glade-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _glade --generate-header -glade-resources.c: glade-resources.gresource.xml $(UI_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/glade-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _glade --generate-source - -if NATIVE_WIN32 -glade_LDADD += glade-win32-res.o - -glade_LDFLAGS += -export-dynamic - -if !GLADE_UNSTABLE -glade_LDFLAGS += -mwindows -endif -endif - -glade-win32-res.o: glade.rc - $(WINDRES) $< $@ - -UI_FILES = glade.glade \ - glade-preferences.glade \ - glade-registration.glade \ - glade-window.css \ - glade-registration.css - -EXTRA_DIST = glade.rc.in glade-resources.gresource.xml $(UI_FILES) diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index dfe51950..00000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,77 +0,0 @@ -include $(top_srcdir)/glade-rules.mk - -TEST_PROGS = \ - create-widgets \ - add-child \ - toplevel-order - -noinst_PROGRAMS = $(TEST_PROGS) - -progs_cppflags = \ - $(common_defines) \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - $(GTK_CFLAGS) \ - $(GTK_MAC_BUNDLE_FLAG) \ - $(GTK_MAC_CFLAGS) \ - $(WARN_CFLAGS) \ - $(AM_CPPFLAGS) - -progs_cflags = \ - $(AM_CFLAGS) - -progs_libs = $(GTK_LIBS) $(GTK_MAC_LIBS) -progs_ldadd = $(top_builddir)/gladeui/libgladeui-2.la - -# Test that GladeWidgets and their runtime objects -# are created and finalized properly -create_widgets_CPPFLAGS = $(progs_cppflags) -create_widgets_CFLAGS = $(progs_cflags) -create_widgets_LDFLAGS = $(progs_libs) -create_widgets_LDADD = $(progs_ldadd) -create_widgets_SOURCES = create-widgets.c - -# Test that various types of container widgets -# successfully parent child types via the -# GladeWidget / adaptor code -add_child_CPPFLAGS = $(progs_cppflags) -add_child_CFLAGS = $(progs_cflags) -add_child_LDFLAGS = $(progs_libs) -add_child_LDADD = $(progs_ldadd) -add_child_SOURCES = add-child.c - -TOPLEVEL_ORDER_FILES = \ - toplevel-order-resources.gresource.xml \ - toplevel_order_test.glade \ - toplevel_order_test.glade \ - toplevel_order_test2.glade \ - toplevel_order_test3.glade \ - toplevel_order_test4.glade \ - toplevel_order_test5.glade \ - toplevel_order_test6.glade - -BUILT_SOURCES = toplevel-order-resources.c toplevel-order-resources.h -# Generate resources -toplevel-order-resources.h: $(TOPLEVEL_ORDER_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/toplevel-order-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _glade --generate-header -toplevel-order-resources.c: $(TOPLEVEL_ORDER_FILES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/toplevel-order-resources.gresource.xml \ - --target=$@ --sourcedir=$(srcdir) --c-name _glade --generate-source - -# Test toplevel order in xml output -toplevel_order_CPPFLAGS = $(progs_cppflags) -toplevel_order_CFLAGS = $(progs_cflags) -toplevel_order_LDFLAGS = $(progs_libs) -toplevel_order_LDADD = $(progs_ldadd) -toplevel_order_SOURCES = \ - toplevel-order.c \ - toplevel-order-resources.c - -noinst_HEADERS = \ - toplevel-order-resources.h - -EXTRA_DIST = $(TOPLEVEL_ORDER_FILES) - -TESTS = $(TEST_PROGS) -TESTS_ENVIRONMENT=$(GLADE_TEST_ENVIRONMENT) |