diff options
author | Iain Lane <laney@debian.org> | 2011-06-15 16:22:22 +0100 |
---|---|---|
committer | Iain Lane <laney@debian.org> | 2011-06-15 16:22:22 +0100 |
commit | 040fed94f0bcc4e9966ab31cc68d31fa48c27ee3 (patch) | |
tree | 808bd5ff78033ca1c23b8df80f55dc544aed98b7 /build |
Imported Upstream version 0.2.1
Diffstat (limited to 'build')
-rw-r--r-- | build/Makefile.am | 6 | ||||
-rw-r--r-- | build/Makefile.in | 594 | ||||
-rw-r--r-- | build/build.environment.mk | 43 | ||||
-rw-r--r-- | build/build.mk | 3 | ||||
-rw-r--r-- | build/build.rules.mk | 89 | ||||
-rwxr-xr-x | build/icon-theme-installer | 177 | ||||
-rw-r--r-- | build/m4/Makefile.am | 7 | ||||
-rw-r--r-- | build/m4/Makefile.in | 393 | ||||
-rw-r--r-- | build/m4/gnome-doc-utils.m4 | 1 | ||||
-rw-r--r-- | build/m4/shamrock/expansions.m4 | 50 | ||||
-rw-r--r-- | build/m4/shamrock/gnome-doc.m4 | 23 | ||||
-rw-r--r-- | build/m4/shamrock/i18n.m4 | 10 | ||||
-rw-r--r-- | build/m4/shamrock/mono.m4 | 94 | ||||
-rw-r--r-- | build/m4/shamrock/monodoc.m4 | 25 | ||||
-rw-r--r-- | build/m4/shamrock/nunit.m4 | 29 | ||||
-rw-r--r-- | build/m4/shamrock/programs.m4 | 15 | ||||
-rw-r--r-- | build/m4/shamrock/util.m4 | 11 | ||||
-rw-r--r-- | build/m4/shave/shave-libtool.in | 109 | ||||
-rw-r--r-- | build/m4/shave/shave.in | 109 | ||||
-rw-r--r-- | build/m4/shave/shave.m4 | 102 | ||||
-rw-r--r-- | build/m4/sparkleshare/gtk-sharp.m4 | 23 | ||||
-rw-r--r-- | build/m4/sparkleshare/nautilus-python.m4 | 14 | ||||
-rw-r--r-- | build/m4/sparkleshare/notify-sharp.m4 | 12 | ||||
-rw-r--r-- | build/m4/sparkleshare/smartirc4net.m4 | 16 |
24 files changed, 1955 insertions, 0 deletions
diff --git a/build/Makefile.am b/build/Makefile.am new file mode 100644 index 0000000..6f9c81d --- /dev/null +++ b/build/Makefile.am @@ -0,0 +1,6 @@ +SUBDIRS = m4 + +EXTRA_DIST = \ + icon-theme-installer + +MAINTAINERCLEANFILES = Makefile.in diff --git a/build/Makefile.in b/build/Makefile.in new file mode 100644 index 0000000..d6e9e26 --- /dev/null +++ b/build/Makefile.in @@ -0,0 +1,594 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = build +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/build/m4/gnome-doc-utils.m4 \ + $(top_srcdir)/build/m4/shave/shave.m4 \ + $(top_srcdir)/build/m4/shamrock/expansions.m4 \ + $(top_srcdir)/build/m4/shamrock/gnome-doc.m4 \ + $(top_srcdir)/build/m4/shamrock/mono.m4 \ + $(top_srcdir)/build/m4/shamrock/nunit.m4 \ + $(top_srcdir)/build/m4/shamrock/programs.m4 \ + $(top_srcdir)/build/m4/sparkleshare/gtk-sharp.m4 \ + $(top_srcdir)/build/m4/sparkleshare/nautilus-python.m4 \ + $(top_srcdir)/build/m4/sparkleshare/notify-sharp.m4 \ + $(top_srcdir)/build/m4/sparkleshare/smartirc4net.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_MAKEFLAGS = @AM_MAKEFLAGS@ +ASM_VERSION = @ASM_VERSION@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FC = @FC@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIBSHARP_2_12_7_CFLAGS = @GLIBSHARP_2_12_7_CFLAGS@ +GLIBSHARP_2_12_7_LIBS = @GLIBSHARP_2_12_7_LIBS@ +GLIBSHARP_CFLAGS = @GLIBSHARP_CFLAGS@ +GLIBSHARP_LIBS = @GLIBSHARP_LIBS@ +GMSGFMT = @GMSGFMT@ +GNOME_DOC_UTILS_CFLAGS = @GNOME_DOC_UTILS_CFLAGS@ +GNOME_DOC_UTILS_LIBS = @GNOME_DOC_UTILS_LIBS@ +GTKSHARP_A11Y_CFLAGS = @GTKSHARP_A11Y_CFLAGS@ +GTKSHARP_A11Y_LIBS = @GTKSHARP_A11Y_LIBS@ +GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ +GTKSHARP_LIBS = @GTKSHARP_LIBS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEFLAGS = @MAKEFLAGS@ +MAKEINFO = @MAKEINFO@ +MCS = @MCS@ +MKDIR_P = @MKDIR_P@ +MONO = @MONO@ +MONO_MODULE_CFLAGS = @MONO_MODULE_CFLAGS@ +MONO_MODULE_LIBS = @MONO_MODULE_LIBS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +NAUTILUS_PREFIX = @NAUTILUS_PREFIX@ +NAUTILUS_PYTHON_CFLAGS = @NAUTILUS_PYTHON_CFLAGS@ +NAUTILUS_PYTHON_DIR = @NAUTILUS_PYTHON_DIR@ +NAUTILUS_PYTHON_LIBS = @NAUTILUS_PYTHON_LIBS@ +NOTIFY_SHARP_CFLAGS = @NOTIFY_SHARP_CFLAGS@ +NOTIFY_SHARP_LIBS = @NOTIFY_SHARP_LIBS@ +NUNIT_CFLAGS = @NUNIT_CFLAGS@ +NUNIT_LIBS = @NUNIT_LIBS@ +OBJC = @OBJC@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +Q = @Q@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTIRC4NET_ASSEMBLY = @SMARTIRC4NET_ASSEMBLY@ +SMARTIRC4NET_FILES = @SMARTIRC4NET_FILES@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +V = @V@ +VERSION = @VERSION@ +WEBKIT_SHARP_CFLAGS = @WEBKIT_SHARP_CFLAGS@ +WEBKIT_SHARP_LIBS = @WEBKIT_SHARP_LIBS@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +expanded_bindir = @expanded_bindir@ +expanded_datadir = @expanded_datadir@ +expanded_libdir = @expanded_libdir@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +shavedir = @shavedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = m4 +EXTRA_DIST = \ + icon-theme-installer + +MAINTAINERCLEANFILES = Makefile.in +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign build/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign build/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/build/build.environment.mk b/build/build.environment.mk new file mode 100644 index 0000000..277a5c5 --- /dev/null +++ b/build/build.environment.mk @@ -0,0 +1,43 @@ +# Initializers +MONO_BASE_PATH = + +# Install Paths +DEFAULT_INSTALL_DIR = $(pkglibdir) + +DIR_BIN = $(top_builddir)/bin + +# External libraries to link against, generated from configure +LINK_SYSTEM = -r:System +LINK_MONO_POSIX = -r:Mono.Posix + +LINK_GLIB = $(GLIBSHARP_LIBS) +LINK_GTK = $(GTKSHARP_LIBS) +LINK_GNOME = $(GNOME_SHARP_LIBS) +LINK_DBUS = $(NDESK_DBUS_LIBS) $(NDESK_DBUS_GLIB_LIBS) +LINK_DBUS_NO_GLIB = $(NDESK_DBUS_LIBS) +LINK_SMARTIRC4NET = -r:$(top_builddir)/$(SMARTIRC4NET_ASSEMBLY) + +REF_NOTIFY_SHARP = $(LINK_SYSTEM) $(LINK_DBUS) $(GTKSHARP_LIBS) $(GLIBSHARP_LIBS) +LINK_NOTIFY_SHARP = -r:$(DIR_BIN)/NotifySharp.dll +LINK_NOTIFY_SHARP_DEPS = $(REF_NOTIFY_SHARP) $(LINK_NOTIFY_SHARP) + +REF_FRIENDFACE = $(LINK_SYSTEM) $(LINK_GTK) $(LINK_MONO_POSIX) +LINK_FRIENDFACE = -r:$(DIR_BIN)/FriendFace.dll +LINK_FRIENDFACE_DEPS = $(REF_FRIENDFACE) $(LINK_FRIENDFACE) + +REF_SPARKLELIB = $(LINK_SYSTEM) $(LINK_MONO_POSIX) $(LINK_SMARTIRC4NET) +LINK_SPARKLELIB = -r:$(DIR_BIN)/SparkleLib.dll +LINK_SPARKLELIB_DEPS = $(REF_SPARKLELIB) $(LINK_SPARKLELIB) + +REF_SPARKLESHARE = $(LINK_DBUS) $(LINK_GTK) $(LINK_SPARKLELIB_DEPS) + +REF_SPARKLEDIFF = $(LINK_FRIENDFACE_DEPS) $(LINK_GTK) $(LINK_SPARKLELIB_DEPS) + +# Cute hack to replace a space with something +colon:= : +empty:= +space:= $(empty) $(empty) + +# Build path to allow running uninstalled +RUN_PATH = $(subst $(space),$(colon), $(MONO_BASE_PATH)) + diff --git a/build/build.mk b/build/build.mk new file mode 100644 index 0000000..78e0760 --- /dev/null +++ b/build/build.mk @@ -0,0 +1,3 @@ +include $(top_srcdir)/build/build.environment.mk +include $(top_srcdir)/build/build.rules.mk + diff --git a/build/build.rules.mk b/build/build.rules.mk new file mode 100644 index 0000000..a84f08a --- /dev/null +++ b/build/build.rules.mk @@ -0,0 +1,89 @@ +UNIQUE_FILTER_PIPE = tr [:space:] \\n | sort | uniq +BUILD_DATA_DIR = $(top_builddir)/bin/share/$(PACKAGE) + +# Since all other attempts failed, we currently go this way: +# This code adds the file specified in ASSEMBLY_INFO_SOURCE to SOURCES_BUILD. +# If no such file is specified, the default AssemblyInfo.cs is used. +ASSEMBLY_INFO_SOURCE_REAL = \ + $(shell if [ "$(ASSEMBLY_INFO_SOURCE)" ]; \ + then \ + echo "$(addprefix $(srcdir)/, $(ASSEMBLY_INFO_SOURCE))"; \ + else \ + echo "$(top_srcdir)/SparkleLib/AssemblyInfo.cs"; \ + fi) + +SOURCES_BUILD = $(addprefix $(srcdir)/, $(SOURCES)) +SOURCES_BUILD += $(ASSEMBLY_INFO_SOURCE_REAL) + + +RESOURCES_EXPANDED = $(addprefix $(srcdir)/, $(RESOURCES)) +RESOURCES_BUILD = $(foreach resource, $(RESOURCES_EXPANDED), \ + -resource:$(resource),$(notdir $(resource))) + +ASSEMBLY_EXTENSION = $(strip $(patsubst library, dll, $(TARGET))) +ASSEMBLY_FILE = $(top_builddir)/bin/$(ASSEMBLY).$(ASSEMBLY_EXTENSION) + +INSTALL_DIR_RESOLVED = $(firstword $(subst , $(DEFAULT_INSTALL_DIR), $(INSTALL_DIR))) + +if ENABLE_TESTS + LINK += " $(NUNIT_LIBS)" + ENABLE_TESTS_FLAG = "-define:ENABLE_TESTS" +endif + +if ENABLE_ATK + ENABLE_ATK_FLAG = "-define:ENABLE_ATK" +endif + +FILTERED_LINK = $(shell echo "$(LINK)" | $(UNIQUE_FILTER_PIPE)) +DEP_LINK = $(shell echo "$(LINK)" | $(UNIQUE_FILTER_PIPE) | sed s,-r:,,g | grep '$(top_builddir)/bin/') + +OUTPUT_FILES = \ + $(ASSEMBLY_FILE) \ + $(ASSEMBLY_FILE).mdb + +moduledir = $(INSTALL_DIR_RESOLVED) +module_SCRIPTS = $(OUTPUT_FILES) + +all: $(ASSEMBLY_FILE) + +run: + @pushd $(top_builddir); \ + make run; \ + popd; + +# uncommented for now. +# tests are currently excuted from Makefile in $(top_builddir) +#test: +# @pushd $(top_builddir)/tests; \ +# make $(ASSEMBLY); \ +# popd; + +build-debug: + @echo $(DEP_LINK) + +$(ASSEMBLY_FILE).mdb: $(ASSEMBLY_FILE) + +$(ASSEMBLY_FILE): $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(DEP_LINK) + @mkdir -p $(top_builddir)/bin + $(MCS) \ + $(GMCS_FLAGS) \ + $(ASSEMBLY_BUILD_FLAGS) \ + -codepage:utf8 \ + -nowarn:0278 -nowarn:0078 $$warn \ + -define:HAVE_GTK_2_10 -define:NET_2_0 \ + -debug -target:$(TARGET) -out:$@ \ + $(BUILD_DEFINES) $(ENABLE_TESTS_FLAG) $(ENABLE_ATK_FLAG) \ + $(FILTERED_LINK) $(RESOURCES_BUILD) $(SOURCES_BUILD) + @if [ -e $(srcdir)/$(notdir $@.config) ]; then \ + cp $(srcdir)/$(notdir $@.config) $(top_builddir)/bin; \ + fi; + @if [ ! -z "$(EXTRA_BUNDLE)" ]; then \ + cp $(EXTRA_BUNDLE) $(top_builddir)/bin; \ + fi; + +EXTRA_DIST = $(SOURCES_BUILD) $(RESOURCES_EXPANDED) + +CLEANFILES = $(OUTPUT_FILES) $(ASSEMBLY_FILE).config +DISTCLEANFILES = *.pidb +MAINTAINERCLEANFILES = Makefile.in + diff --git a/build/icon-theme-installer b/build/icon-theme-installer new file mode 100755 index 0000000..0260788 --- /dev/null +++ b/build/icon-theme-installer @@ -0,0 +1,177 @@ +#!/usr/bin/env bash + +# icon-theme-installer +# Copyright (C) 2006 Novell, Inc. +# Written by Aaron Bockover <abock@gnome.org> +# Licensed under the MIT/X11 license +# +# This script is meant to be invoked from within a Makefile/Makefile.am +# in the install-data-local and uninstall-data sections. It handles the +# task of properly installing icons into the icon theme. It requires a +# few arguments to set up its environment, and a list of files to be +# installed. The format of the file list is critical: +# +# <category>,<local-src-file-name> +# +# apps,music-player-banshee.svg +# apps,music-player-banshee-16.png +# apps,music-player-banshee-22.png +# +# <category> is the icon theme category, for instance, apps, devices, +# actions, emblems... +# +# <local-src-file-name> must have a basename in the form of: +# +# proper-theme-name[-<SIZE>].<EXTENSION> +# +# Where <SIZE> should be either nothing, which will default to scalable +# or \-[0-9]{2}, which will expand to <SIZE>x<SIZE>. For example: +# +# music-player-banshee-16.png +# +# The <SIZE> here is -16 and will expand to 16x16 per the icon theme spec +# +# What follows is an example Makefile.am for icon theme installation: +# +# --------------- +# theme=hicolor +# themedir=$(datadir)/icons/$(theme) +# theme_icons = \ +# apps,music-player-banshee.svg \ +# apps,music-player-banshee-16.png \ +# apps,music-player-banshee-22.png \ +# apps,music-player-banshee-24.png \ +# apps,music-player-banshee-32.png +# +# install_icon_exec = $(top_srcdir)/build/icon-theme-installer -t $(theme) -s $(srcdir) -d "x$(DESTDIR)" -b $(themedir) -m "$(mkinstalldirs)" -x "$(INSTALL_DATA)" +# install-data-local: +# $(install_icon_exec) -i $(theme_icons) +# +# uninstall-hook: +# $(install_icon_exec) -u $(theme_icons) +# +# MAINTAINERCLEANFILES = Makefile.in +# EXTRA_DIST = $(wildcard *.svg *.png) +# --------------- +# +# Arguments to this program: +# +# -i : Install +# -u : Uninstall +# -t <theme> : Theme name (hicolor) +# -d <dir> : Theme installation dest directory [x$(DESTDIR)] - Always prefix +# this argument with x; it will be stripped but will act as a +# placeholder for zero $DESTDIRs (only set by packagers) +# -b <dir> : Theme installation directory [$(hicolordir)] +# -s <dir> : Source directory [$(srcdir)] +# -m <exec> : Command to exec for directory creation [$(mkinstalldirs)] +# -x <exec> : Command to exec for single file installation [$(INSTALL_DATA)] +# <remainging> : All remainging should be category,filename pairs + +while getopts "iut:b:d:s:m:x:" flag; do + case "$flag" in + i) INSTALL=yes ;; + u) UNINSTALL=yes ;; + t) THEME_NAME=$OPTARG ;; + d) INSTALL_DEST_DIR=${OPTARG##x} ;; + b) INSTALL_BASE_DIR=$OPTARG ;; + s) SRC_DIR=$OPTARG ;; + m) MKINSTALLDIRS_EXEC=$OPTARG ;; + x) INSTALL_DATA_EXEC=$OPTARG ;; + esac +done + +shift $(($OPTIND - 1)) + +if test "x$INSTALL" = "xyes" -a "x$UNINSTALL" = "xyes"; then + echo "Cannot pass both -i and -u" + exit 1 +elif test "x$INSTALL" = "x" -a "x$UNINSTALL" = "x"; then + echo "Must path either -i or -u" + exit 1 +fi + +if test -z "$THEME_NAME"; then + echo "Theme name required (-t hicolor)" + exit 1 +fi + +if test -z "$INSTALL_BASE_DIR"; then + echo "Base theme directory required [-b \$(hicolordir)]" + exit 1 +fi + +if test ! -x $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then + echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)" + exit 1 +fi + +if test ! -x $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '); then + echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)" + exit 1 +fi + +if test -z "$SRC_DIR"; then + SRC_DIR=. +fi + +for icon in $@; do + size=$(echo $icon | sed s/[^0-9]*//g) + category=$(echo $icon | cut -d, -f1) + build_name=$(echo $icon | cut -d, -f2) + install_name=$(echo $build_name | sed "s/[0-9]//g; s/-\././") + install_name=$(basename $install_name) + + if test -z $size; then + size=scalable; + else + size=${size}x${size}; + fi + + install_dir=${INSTALL_DEST_DIR}${INSTALL_BASE_DIR}/$size/$category + install_path=$install_dir/$install_name + + if test "x$INSTALL" = "xyes"; then + echo "Installing $size $install_name into $THEME_NAME icon theme" + + $($MKINSTALLDIRS_EXEC $install_dir) || { + echo "Failed to create directory $install_dir" + exit 1 + } + + $($INSTALL_DATA_EXEC $SRC_DIR/$build_name $install_path) || { + echo "Failed to install $SRC_DIR/$build_name into $install_path" + exit 1 + } + + if test ! -e $install_path; then + echo "Failed to install $SRC_DIR/$build_name into $install_path" + exit 1 + fi + else + if test -e $install_path; then + echo "Removing $size $install_name from $THEME_NAME icon theme" + + rm $install_path || { + echo "Failed to remove $install_path" + exit 1 + } + fi + fi +done + +gtk_update_icon_cache_bin="$((which gtk-update-icon-cache || echo /opt/gnome/bin/gtk-update-icon-cache)2>/dev/null)" +gtk_update_icon_cache="$gtk_update_icon_cache_bin -f -t $INSTALL_BASE_DIR" + +if test -z "$INSTALL_DEST_DIR"; then + if test -x $gtk_update_icon_cache_bin; then + echo "Updating GTK icon cache" + $gtk_update_icon_cache + else + echo "*** Icon cache not updated. Could not execute $gtk_update_icon_cache_bin" + fi +else + echo "*** Icon cache not updated. After (un)install, run this:" + echo "*** $gtk_update_icon_cache" +fi + diff --git a/build/m4/Makefile.am b/build/m4/Makefile.am new file mode 100644 index 0000000..2492a2c --- /dev/null +++ b/build/m4/Makefile.am @@ -0,0 +1,7 @@ +EXTRA_DIST = \ + $(srcdir)/sparkleshare/*.m4 \ + $(srcdir)/shamrock/*.m4 \ + $(srcdir)/shave/*.m4 + +MAINTAINERCLEANFILES = Makefile.in + diff --git a/build/m4/Makefile.in b/build/m4/Makefile.in new file mode 100644 index 0000000..f459cbb --- /dev/null +++ b/build/m4/Makefile.in @@ -0,0 +1,393 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = build/m4 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/build/m4/gnome-doc-utils.m4 \ + $(top_srcdir)/build/m4/shave/shave.m4 \ + $(top_srcdir)/build/m4/shamrock/expansions.m4 \ + $(top_srcdir)/build/m4/shamrock/gnome-doc.m4 \ + $(top_srcdir)/build/m4/shamrock/mono.m4 \ + $(top_srcdir)/build/m4/shamrock/nunit.m4 \ + $(top_srcdir)/build/m4/shamrock/programs.m4 \ + $(top_srcdir)/build/m4/sparkleshare/gtk-sharp.m4 \ + $(top_srcdir)/build/m4/sparkleshare/nautilus-python.m4 \ + $(top_srcdir)/build/m4/sparkleshare/notify-sharp.m4 \ + $(top_srcdir)/build/m4/sparkleshare/smartirc4net.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_MAKEFLAGS = @AM_MAKEFLAGS@ +ASM_VERSION = @ASM_VERSION@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FC = @FC@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIBSHARP_2_12_7_CFLAGS = @GLIBSHARP_2_12_7_CFLAGS@ +GLIBSHARP_2_12_7_LIBS = @GLIBSHARP_2_12_7_LIBS@ +GLIBSHARP_CFLAGS = @GLIBSHARP_CFLAGS@ +GLIBSHARP_LIBS = @GLIBSHARP_LIBS@ +GMSGFMT = @GMSGFMT@ +GNOME_DOC_UTILS_CFLAGS = @GNOME_DOC_UTILS_CFLAGS@ +GNOME_DOC_UTILS_LIBS = @GNOME_DOC_UTILS_LIBS@ +GTKSHARP_A11Y_CFLAGS = @GTKSHARP_A11Y_CFLAGS@ +GTKSHARP_A11Y_LIBS = @GTKSHARP_A11Y_LIBS@ +GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ +GTKSHARP_LIBS = @GTKSHARP_LIBS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEFLAGS = @MAKEFLAGS@ +MAKEINFO = @MAKEINFO@ +MCS = @MCS@ +MKDIR_P = @MKDIR_P@ +MONO = @MONO@ +MONO_MODULE_CFLAGS = @MONO_MODULE_CFLAGS@ +MONO_MODULE_LIBS = @MONO_MODULE_LIBS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +NAUTILUS_PREFIX = @NAUTILUS_PREFIX@ +NAUTILUS_PYTHON_CFLAGS = @NAUTILUS_PYTHON_CFLAGS@ +NAUTILUS_PYTHON_DIR = @NAUTILUS_PYTHON_DIR@ +NAUTILUS_PYTHON_LIBS = @NAUTILUS_PYTHON_LIBS@ +NOTIFY_SHARP_CFLAGS = @NOTIFY_SHARP_CFLAGS@ +NOTIFY_SHARP_LIBS = @NOTIFY_SHARP_LIBS@ +NUNIT_CFLAGS = @NUNIT_CFLAGS@ +NUNIT_LIBS = @NUNIT_LIBS@ +OBJC = @OBJC@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +Q = @Q@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTIRC4NET_ASSEMBLY = @SMARTIRC4NET_ASSEMBLY@ +SMARTIRC4NET_FILES = @SMARTIRC4NET_FILES@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +V = @V@ +VERSION = @VERSION@ +WEBKIT_SHARP_CFLAGS = @WEBKIT_SHARP_CFLAGS@ +WEBKIT_SHARP_LIBS = @WEBKIT_SHARP_LIBS@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +expanded_bindir = @expanded_bindir@ +expanded_datadir = @expanded_datadir@ +expanded_libdir = @expanded_libdir@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +shavedir = @shavedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +EXTRA_DIST = \ + $(srcdir)/sparkleshare/*.m4 \ + $(srcdir)/shamrock/*.m4 \ + $(srcdir)/shave/*.m4 + +MAINTAINERCLEANFILES = Makefile.in +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign build/m4/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign build/m4/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/build/m4/gnome-doc-utils.m4 b/build/m4/gnome-doc-utils.m4 new file mode 100644 index 0000000..3fc25ec --- /dev/null +++ b/build/m4/gnome-doc-utils.m4 @@ -0,0 +1 @@ +AC_DEFUN([GNOME_DOC_INIT], [AC_MSG_NOTICE([])]) diff --git a/build/m4/shamrock/expansions.m4 b/build/m4/shamrock/expansions.m4 new file mode 100644 index 0000000..ba62356 --- /dev/null +++ b/build/m4/shamrock/expansions.m4 @@ -0,0 +1,50 @@ +AC_DEFUN([SHAMROCK_EXPAND_LIBDIR], +[ + expanded_libdir=`( + case $prefix in + NONE) prefix=$ac_default_prefix ;; + *) ;; + esac + case $exec_prefix in + NONE) exec_prefix=$prefix ;; + *) ;; + esac + eval echo $libdir + )` + AC_SUBST(expanded_libdir) +]) + +AC_DEFUN([SHAMROCK_EXPAND_BINDIR], +[ + expanded_bindir=`( + case $prefix in + NONE) prefix=$ac_default_prefix ;; + *) ;; + esac + case $exec_prefix in + NONE) exec_prefix=$prefix ;; + *) ;; + esac + eval echo $bindir + )` + AC_SUBST(expanded_bindir) +]) + +AC_DEFUN([SHAMROCK_EXPAND_DATADIR], +[ + case $prefix in + NONE) prefix=$ac_default_prefix ;; + *) ;; + esac + + case $exec_prefix in + NONE) exec_prefix=$prefix ;; + *) ;; + esac + + expanded_datadir=`(eval echo $datadir)` + expanded_datadir=`(eval echo $expanded_datadir)` + + AC_SUBST(expanded_datadir) +]) + diff --git a/build/m4/shamrock/gnome-doc.m4 b/build/m4/shamrock/gnome-doc.m4 new file mode 100644 index 0000000..a349a23 --- /dev/null +++ b/build/m4/shamrock/gnome-doc.m4 @@ -0,0 +1,23 @@ +AC_DEFUN([SHAMROCK_CHECK_GNOME_DOC_UTILS], +[ + AC_ARG_ENABLE([user-help], + AC_HELP_STRING([--enable-user-help], [Enable building the user-help [[default=auto]]]),, + enable_user_help=auto) + + if test "x$enable_user_help" = "xauto"; then + PKG_CHECK_MODULES(GNOME_DOC_UTILS, + gnome-doc-utils, + enable_user_help=yes, enable_user_help=no) + elif test "x$enable_user_help" = "xyes"; then + PKG_CHECK_MODULES(GNOME_DOC_UTILS, gnome-doc-utils) + fi + + # GNOME_DOC_INIT sets ENABLE_SK, but if we have disabled + # user docs, then this needs to be defined manually. + AM_CONDITIONAL(ENABLE_SK, false) + if test "x$enable_user_help" = "xyes"; then + GNOME_DOC_INIT([$1], enable_user_help=yes, enable_user_help=no) + fi + + AM_CONDITIONAL(HAVE_GNOME_DOC_UTILS, test "x$enable_user_help" = "xyes") +]) diff --git a/build/m4/shamrock/i18n.m4 b/build/m4/shamrock/i18n.m4 new file mode 100644 index 0000000..e632647 --- /dev/null +++ b/build/m4/shamrock/i18n.m4 @@ -0,0 +1,10 @@ +AC_DEFUN([SHAMROCK_CONFIGURE_I18N], +[ + ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | $SED ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g' | xargs` + GETTEXT_PACKAGE=$1 + AC_SUBST(GETTEXT_PACKAGE) + AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package]) + AM_GLIB_GNU_GETTEXT + AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS']) +]) + diff --git a/build/m4/shamrock/mono.m4 b/build/m4/shamrock/mono.m4 new file mode 100644 index 0000000..c40ecbf --- /dev/null +++ b/build/m4/shamrock/mono.m4 @@ -0,0 +1,94 @@ +AC_DEFUN([SHAMROCK_FIND_MONO_1_0_COMPILER], +[ + SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs) +]) + +AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER], +[ + SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs) +]) + +AC_DEFUN([SHAMROCK_FIND_MONO_4_0_COMPILER], +[ + SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, dmcs) +]) + +AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME], +[ + SHAMROCK_FIND_PROGRAM_OR_BAIL(MONO, mono) +]) + +AC_DEFUN([_SHAMROCK_CHECK_MONO_MODULE], +[ + PKG_CHECK_MODULES(MONO_MODULE, $1 >= $2) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO_MODULE], +[ + _SHAMROCK_CHECK_MONO_MODULE(mono, $1) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO2_MODULE], +[ + _SHAMROCK_CHECK_MONO_MODULE(mono-2, $1) +]) + +AC_DEFUN([_SHAMROCK_CHECK_MONO_MODULE_NOBAIL], +[ + PKG_CHECK_MODULES(MONO_MODULE, $2 >= $1, + HAVE_MONO_MODULE=yes, HAVE_MONO_MODULE=no) + AC_SUBST(HAVE_MONO_MODULE) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO_MODULE_NOBAIL], +[ + _SHAMROCK_CHECK_MONO_MODULE_NOBAIL(mono, $1) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO2_MODULE_NOBAIL], +[ + _SHAMROCK_CHECK_MONO_MODULE_NOBAIL(mono-2, $1) +]) + +AC_DEFUN([_SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES], +[ + for asm in $(echo "$*" | cut -d, -f3- | sed 's/\,/ /g') + do + AC_MSG_CHECKING([for Mono $2 GAC for $asm.dll]) + if test \ + -e "$($PKG_CONFIG --variable=libdir $1)/mono/$2/$asm.dll" -o \ + -e "$($PKG_CONFIG --variable=prefix $1)/lib/mono/$2/$asm.dll"; \ + then \ + AC_MSG_RESULT([found]) + else + AC_MSG_RESULT([not found]) + AC_MSG_ERROR([missing required Mono $2 assembly: $asm.dll]) + fi + done +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO_1_0_GAC_ASSEMBLIES], +[ + _SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(mono, 1.0, $*) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES], +[ + _SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(mono, 2.0, $*) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO2_2_0_GAC_ASSEMBLIES], +[ + _SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(mono-2, 2.0, $*) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO_4_0_GAC_ASSEMBLIES], +[ + _SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(mono, 4.0, $*) +]) + +AC_DEFUN([SHAMROCK_CHECK_MONO2_4_0_GAC_ASSEMBLIES], +[ + _SHAMROCK_CHECK_MONO_GAC_ASSEMBLIES(mono-2, 4.0, $*) +]) + diff --git a/build/m4/shamrock/monodoc.m4 b/build/m4/shamrock/monodoc.m4 new file mode 100644 index 0000000..891ac74 --- /dev/null +++ b/build/m4/shamrock/monodoc.m4 @@ -0,0 +1,25 @@ +AC_DEFUN([SHAMROCK_CHECK_MONODOC], +[ + AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], + [Do not build documentation]), , enable_docs=yes) + + if test "x$enable_docs" = "xyes"; then + AC_PATH_PROG(MONODOCER, monodocer, no) + if test "x$MONODOCER" = "xno"; then + AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation]) + fi + + AC_PATH_PROG(MDASSEMBLER, mdassembler, no) + if test "x$MDASSEMBLER" = "xno"; then + AC_MSG_ERROR([You need to install mdassembler, or pass --disable-docs to configure to skip documentation installation]) + fi + + DOCDIR=`$PKG_CONFIG monodoc --variable=sourcesdir` + AC_SUBST(DOCDIR) + AM_CONDITIONAL(BUILD_DOCS, true) + else + AC_MSG_NOTICE([not building ${PACKAGE} API documentation]) + AM_CONDITIONAL(BUILD_DOCS, false) + fi +]) + diff --git a/build/m4/shamrock/nunit.m4 b/build/m4/shamrock/nunit.m4 new file mode 100644 index 0000000..4d57d00 --- /dev/null +++ b/build/m4/shamrock/nunit.m4 @@ -0,0 +1,29 @@ +AC_DEFUN([SHAMROCK_CHECK_NUNIT], +[ + NUNIT_REQUIRED=2.4.7 + + AC_ARG_ENABLE(tests, AC_HELP_STRING([--enable-tests], [Enable NUnit tests]), + enable_tests=$enableval, enable_tests="no") + + if test "x$enable_tests" = "xno"; then + do_tests=no + AM_CONDITIONAL(ENABLE_TESTS, false) + else + PKG_CHECK_MODULES(NUNIT, nunit >= $NUNIT_REQUIRED, + do_tests="yes", do_tests="no") + + AC_SUBST(NUNIT_LIBS) + AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes") + + if test "x$do_tests" = "xno"; then + PKG_CHECK_MODULES(NUNIT, mono-nunit >= 2.4, + do_tests="yes", do_tests="no") + + AC_SUBST(NUNIT_LIBS) + AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes") + + if test "x$do_tests" = "xno"; then + AC_MSG_WARN([Could not find nunit: tests will not be available]) fi + fi + fi +]) diff --git a/build/m4/shamrock/programs.m4 b/build/m4/shamrock/programs.m4 new file mode 100644 index 0000000..2bdacfe --- /dev/null +++ b/build/m4/shamrock/programs.m4 @@ -0,0 +1,15 @@ +AC_DEFUN([SHAMROCK_FIND_PROGRAM], +[ + AC_PATH_PROG($1, $2, $3) + AC_SUBST($1) +]) + +AC_DEFUN([SHAMROCK_FIND_PROGRAM_OR_BAIL], +[ + SHAMROCK_FIND_PROGRAM($1, $2, no) + if test "x$$1" = "xno"; then + AC_MSG_ERROR([You need to install '$2']) + fi +]) + + diff --git a/build/m4/shamrock/util.m4 b/build/m4/shamrock/util.m4 new file mode 100644 index 0000000..de85ba9 --- /dev/null +++ b/build/m4/shamrock/util.m4 @@ -0,0 +1,11 @@ +AC_DEFUN([SHAMROCK_CONCAT], +[ + $1="$$1 $$2" +]) + +AC_DEFUN([SHAMROCK_CONCAT_MODULE], +[ + SHAMROCK_CONCAT($1_CFLAGS, $2_CFLAGS) + SHAMROCK_CONCAT($1_LIBS, $2_LIBS) +]) + diff --git a/build/m4/shave/shave-libtool.in b/build/m4/shave/shave-libtool.in new file mode 100644 index 0000000..54ebd69 --- /dev/null +++ b/build/m4/shave/shave-libtool.in @@ -0,0 +1,109 @@ +#!/bin/sh +# +# Copyright (c) 2009, Damien Lespiau <damien.lespiau@gmail.com> +# +# Permission is hereby granted, free of charge, to any person +# obtaining a copy of this software and associated documentation +# files (the "Software"), to deal in the Software without +# restriction, including without limitation the rights to use, +# copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following +# conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. + +# we need sed +SED=@SED@ +if test -z "$SED" ; then +SED=sed +fi + +lt_unmangle () +{ + last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'` +} + +# the real libtool to use +LIBTOOL="$1" +shift + +# if 1, don't print anything, the underlaying wrapper will do it +pass_though=0 + +# scan the arguments, keep the right ones for libtool, and discover the mode +preserved_args= + +# have we seen the --tag option of libtool in the command line ? +tag_seen=0 + +while test "$#" -gt 0; do + opt="$1" + shift + + case $opt in + --mode=*) + mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'` + preserved_args="$preserved_args $opt" + ;; + -o) + lt_output="$1" + preserved_args="$preserved_args $opt" + ;; + --tag=*) + tag_seen=1 + preserved_args="$preserved_args $opt" + ;; + *) + preserved_args="$preserved_args $opt" + ;; + esac +done + +case "$mode" in +compile) + # shave will be called and print the actual CC/CXX/LINK line + preserved_args="$preserved_args --shave-mode=$mode" + pass_though=1 + ;; +link) + preserved_args="$preserved_args --shave-mode=$mode" + Q=" LINK " + ;; +*) + # let's u + # echo "*** libtool: Unimplemented mode: $mode, fill a bug report" + ;; +esac + +lt_unmangle "$lt_output" +output=$last_result + +# automake does not add a --tag switch to its libtool invocation when +# assembling a .s file and rely on libtool to infer the right action based +# on the compiler name. As shave is using CC to hook a wrapper, libtool gets +# confused. Let's detect these cases and add a --tag=CC option. +tag="" +if test $tag_seen -eq 0 -a x"$mode" = xcompile; then + tag="--tag=CC" +fi + +if test -z $V; then + if test $pass_though -eq 0; then + echo "$Q$output" + fi + $LIBTOOL --silent $tag $preserved_args +else + echo $LIBTOOL $tag $preserved_args + $LIBTOOL $tag $preserved_args +fi diff --git a/build/m4/shave/shave.in b/build/m4/shave/shave.in new file mode 100644 index 0000000..490d6c5 --- /dev/null +++ b/build/m4/shave/shave.in @@ -0,0 +1,109 @@ +#!/bin/sh +# +# Copyright (c) 2009, Damien Lespiau <damien.lespiau@gmail.com> +# +# Permission is hereby granted, free of charge, to any person +# obtaining a copy of this software and associated documentation +# files (the "Software"), to deal in the Software without +# restriction, including without limitation the rights to use, +# copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following +# conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. + +# we need sed +SED=@SED@ +if test -z "$SED" ; then +SED=sed +fi + +lt_unmangle () +{ + last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'` +} + +# the tool to wrap (cc, cxx, ar, ranlib, ..) +tool="$1" +shift + +# the reel tool (to call) +REEL_TOOL="$1" +shift + +pass_through=0 +preserved_args= +while test "$#" -gt 0; do + opt="$1" + shift + + case $opt in + --shave-mode=*) + mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'` + ;; + -o) + lt_output="$1" + preserved_args="$preserved_args $opt" + ;; + -out:*|/out:*) + lt_output="${opt#*:}" + preserved_args="$preserved_args $opt" + ;; + *) + preserved_args="$preserved_args $opt" + ;; + esac +done + +# mode=link is handled in the libtool wrapper +case "$mode,$tool" in +link,*) + pass_through=1 + ;; +*,cxx) + Q=" CXX " + ;; +*,cc) + Q=" CC " + ;; +*,fc) + Q=" FC " + ;; +*,f77) + Q=" F77 " + ;; +*,objc) + Q=" OBJC " + ;; +*,mcs) + Q=" MCS " + ;; +*,*) + # should not happen + Q=" CC " + ;; +esac + +lt_unmangle "$lt_output" +output=$last_result + +if test -z $V; then + if test $pass_through -eq 0; then + echo "$Q$output" + fi + $REEL_TOOL $preserved_args +else + echo $REEL_TOOL $preserved_args + $REEL_TOOL $preserved_args +fi diff --git a/build/m4/shave/shave.m4 b/build/m4/shave/shave.m4 new file mode 100644 index 0000000..40e47f4 --- /dev/null +++ b/build/m4/shave/shave.m4 @@ -0,0 +1,102 @@ +dnl Make automake/libtool output more friendly to humans +dnl +dnl Copyright (c) 2009, Damien Lespiau <damien.lespiau@gmail.com> +dnl +dnl Permission is hereby granted, free of charge, to any person +dnl obtaining a copy of this software and associated documentation +dnl files (the "Software"), to deal in the Software without +dnl restriction, including without limitation the rights to use, +dnl copy, modify, merge, publish, distribute, sublicense, and/or sell +dnl copies of the Software, and to permit persons to whom the +dnl Software is furnished to do so, subject to the following +dnl conditions: +dnl +dnl The above copyright notice and this permission notice shall be +dnl included in all copies or substantial portions of the Software. +dnl +dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +dnl EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +dnl OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +dnl NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +dnl HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +dnl WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +dnl OTHER DEALINGS IN THE SOFTWARE. +dnl +dnl SHAVE_INIT([shavedir],[default_mode]) +dnl +dnl shavedir: the directory where the shave scripts are, it defaults to +dnl $(top_builddir) +dnl default_mode: (enable|disable) default shave mode. This parameter +dnl controls shave's behaviour when no option has been +dnl given to configure. It defaults to disable. +dnl +dnl * SHAVE_INIT should be called late in your configure.(ac|in) file (just +dnl before AC_CONFIG_FILE/AC_OUTPUT is perfect. This macro rewrites CC and +dnl LIBTOOL, you don't want the configure tests to have these variables +dnl re-defined. +dnl * This macro requires GNU make's -s option. + +AC_DEFUN([_SHAVE_ARG_ENABLE], +[ + AC_ARG_ENABLE([shave], + AS_HELP_STRING( + [--enable-shave], + [use shave to make the build pretty [[default=$1]]]),, + [enable_shave=$1] + ) +]) + +AC_DEFUN([SHAVE_INIT], +[ + dnl you can tweak the default value of enable_shave + m4_if([$2], [enable], [_SHAVE_ARG_ENABLE(yes)], [_SHAVE_ARG_ENABLE(no)]) + + if test x"$enable_shave" = xyes; then + dnl where can we find the shave scripts? + m4_if([$1],, + [shavedir="$ac_pwd"], + [shavedir="$ac_pwd/$1"]) + AC_SUBST(shavedir) + + dnl make is now quiet + AC_SUBST([MAKEFLAGS], [-s]) + AC_SUBST([AM_MAKEFLAGS], ['`test -z $V && echo -s`']) + + dnl we need sed + AC_CHECK_PROG(SED,sed,sed,false) + + dnl substitute libtool + SHAVE_SAVED_LIBTOOL=$LIBTOOL + LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'" + AC_SUBST(LIBTOOL) + + dnl substitute cc/cxx + SHAVE_SAVED_CC=$CC + SHAVE_SAVED_CXX=$CXX + SHAVE_SAVED_FC=$FC + SHAVE_SAVED_F77=$F77 + SHAVE_SAVED_OBJC=$OBJC + SHAVE_SAVED_MCS=$MCS + CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}" + CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}" + FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}" + F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}" + OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}" + MCS="${SHELL} ${shavedir}/shave mcs ${SHAVE_SAVED_MCS}" + AC_SUBST(CC) + AC_SUBST(CXX) + AC_SUBST(FC) + AC_SUBST(F77) + AC_SUBST(OBJC) + AC_SUBST(MCS) + + V=@ + else + V=1 + fi + Q='$(V:1=)' + AC_SUBST(V) + AC_SUBST(Q) +]) + diff --git a/build/m4/sparkleshare/gtk-sharp.m4 b/build/m4/sparkleshare/gtk-sharp.m4 new file mode 100644 index 0000000..76077ed --- /dev/null +++ b/build/m4/sparkleshare/gtk-sharp.m4 @@ -0,0 +1,23 @@ +AC_DEFUN([SPARKLESHARE_CHECK_GTK_SHARP], +[ + GTKSHARP_REQUIRED=2.12.2 + + PKG_CHECK_MODULES(GTKSHARP, + gtk-sharp-2.0 >= $GTKSHARP_REQUIRED) + AC_SUBST(GTKSHARP_LIBS) + + PKG_CHECK_MODULES(GLIBSHARP, + glib-sharp-2.0 >= $GTKSHARP_REQUIRED) + AC_SUBST(GLIBSHARP_LIBS) + + PKG_CHECK_MODULES(GLIBSHARP_2_12_7, + glib-sharp-2.0 >= 2.12.7, + HAVE_GLIBSHARP_2_12_7=yes, + HAVE_GLIBSHARP_2_12_7=no) + AM_CONDITIONAL(HAVE_GLIBSHARP_2_12_7, [test "$HAVE_GLIBSHARP_2_12_7" = "yes"]) + + PKG_CHECK_MODULES(GTKSHARP_A11Y, gtk-sharp-2.0 >= 2.12.10, gtksharp_with_a11y=yes, gtksharp_with_a11y=no) + AM_CONDITIONAL(ENABLE_ATK, test "x$gtksharp_with_a11y" = "xyes") + +]) + diff --git a/build/m4/sparkleshare/nautilus-python.m4 b/build/m4/sparkleshare/nautilus-python.m4 new file mode 100644 index 0000000..1256f36 --- /dev/null +++ b/build/m4/sparkleshare/nautilus-python.m4 @@ -0,0 +1,14 @@ +AC_DEFUN([SPARKLESHARE_NAUTILUS_PYTHON], +[ + PKG_CHECK_MODULES(NAUTILUS_PYTHON, nautilus-python, have_nautilus_python=yes, have_nautilus_python=no) + if test "x$have_nautilus_python" = "xyes"; then + NAUTILUS_PREFIX="`$PKG_CONFIG --variable=prefix nautilus-python`" + AC_SUBST(NAUTILUS_PREFIX) + NAUTILUS_PYTHON_DIR="`$PKG_CONFIG --variable=pythondir nautilus-python`" + AC_SUBST(NAUTILUS_PYTHON_DIR) + AM_CONDITIONAL(NAUTILUS_EXTENSION_ENABLED, true) + else + AM_CONDITIONAL(NAUTILUS_EXTENSION_ENABLED, false) + fi +]) + diff --git a/build/m4/sparkleshare/notify-sharp.m4 b/build/m4/sparkleshare/notify-sharp.m4 new file mode 100644 index 0000000..8b8d4df --- /dev/null +++ b/build/m4/sparkleshare/notify-sharp.m4 @@ -0,0 +1,12 @@ +AC_DEFUN([SPARKLESHARE_CHECK_NOTIFY_SHARP], +[ + PKG_CHECK_MODULES(NOTIFY_SHARP, notify-sharp, have_notify_sharp=yes, have_notify_sharp=no) + if test "x$have_notify_sharp" = "xyes"; then + AC_SUBST(NOTIFY_SHARP_LIBS) + AM_CONDITIONAL(EXTERNAL_NOTIFY_SHARP, true) + else + AM_CONDITIONAL(EXTERNAL_NOTIFY_SHARP, false) + AC_MSG_RESULT([no]) + fi +]) + diff --git a/build/m4/sparkleshare/smartirc4net.m4 b/build/m4/sparkleshare/smartirc4net.m4 new file mode 100644 index 0000000..9cb1099 --- /dev/null +++ b/build/m4/sparkleshare/smartirc4net.m4 @@ -0,0 +1,16 @@ +AC_DEFUN([SPARKLESHARE_SMARTIRC4NET], +[ + if test ! -d "$srcdir/SmartIrc4net"; then + AC_MSG_ERROR([SmartIrc4net folder not found]) + fi + ac_configure_args="$ac_configure_args --disable-pkg-config --disable-pkg-lib --disable-pkg-gac" + AC_CONFIG_SUBDIRS([SmartIrc4net]) + asm="SmartIrc4net/bin/Meebey.SmartIrc4net.dll" + SMARTIRC4NET_ASSEMBLY="$asm" + SMARTIRC4NET_FILES="$asm" + [[ -r "$asm.mdb" ]] && SMARTIRC4NET_FILES="$SMARTIRC4NET_FILES $asm.mdb" + + AC_SUBST([SMARTIRC4NET_ASSEMBLY]) + AC_SUBST([SMARTIRC4NET_FILES]) +]) + |