searchmonkey-0.8.1/0000777000076400007660000000000010561733043011231 500000000000000searchmonkey-0.8.1/Makefile.in0000664000076400007660000004737110561732772013240 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING.LESSER ChangeLog \ INSTALL NEWS depcomp install-sh missing mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ PACKAGE_LIBS = @PACKAGE_LIBS@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = src po EXTRA_DIST = \ autogen.sh \ search.glade \ search.gladep \ rpmbuild/* \ bsdports/* all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 uninstall-info-am: # 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): @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; \ (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" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @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; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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 || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/bsdports $(distdir)/po $(distdir)/rpmbuild @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h 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) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-recursive \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-data-local install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/pixmaps; then \ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ for pixmap in $(srcdir)/pixmaps/*; do \ if test -f $$pixmap; then \ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ fi \ done; \ ln -sf $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE)/searchmonkey-48x48.png $(DESTDIR)$(datadir)/pixmaps/searchmonkey.png; \ fi dist-hook: if test -d pixmaps; then \ mkdir $(distdir)/pixmaps; \ for pixmap in pixmaps/*; do \ if test -f $$pixmap; then \ cp -p $$pixmap $(distdir)/pixmaps; \ fi \ done \ fi # Special commands for creating Gnome menu item - does not add dependancy install-gnome: install if test -f $(srcdir)/rpmbuild/@PACKAGE@.desktop; then \ if test -d $(DESTDIR)$(datadir)/applications; then \ $(INSTALL_DATA) $(srcdir)/rpmbuild/@PACKAGE@.desktop $(DESTDIR)$(datadir)/applications; \ fi \ fi uninstall-gnome: uninstall if test -f $(DESTDIR)$(datadir)/applications/@PACKAGE@.desktop; then \ rm -f $(DESTDIR)$(datadir)/applications/@PACKAGE@.desktop; \ fi # 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: searchmonkey-0.8.1/configure.in0000664000076400007660000000121710561732772013471 00000000000000dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) AM_INIT_AUTOMAKE(searchmonkey, 0.8.1) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC pkg_modules="gtk+-2.0 gthread-2.0" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) GETTEXT_PACKAGE=searchmonkey AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.]) dnl Add the languages which your application supports here. ALL_LINGUAS="en_GB en_UK en_US" AM_GLIB_GNU_GETTEXT AC_OUTPUT([ Makefile src/Makefile po/Makefile.in ]) searchmonkey-0.8.1/search.gladep0000664000076400007660000000043510561732772013604 00000000000000 searchMonkey searchmonkey FALSE searchmonkey-0.8.1/configure0000775000076400007660000075141310561732772013101 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.in" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG ac_pt_PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_env_PKG_CONFIG_value=$PKG_CONFIG ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG ac_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set} ac_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS ac_cv_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set} ac_cv_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS ac_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set} ac_env_PACKAGE_LIBS_value=$PACKAGE_LIBS ac_cv_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set} ac_cv_env_PACKAGE_LIBS_value=$PACKAGE_LIBS # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PACKAGE_CFLAGS C compiler flags for PACKAGE, overriding pkg-config PACKAGE_LIBS linker flags for PACKAGE, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.9" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE=searchmonkey VERSION=0.8.1 cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' ac_config_headers="$ac_config_headers config.h" echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" fi; if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi echo "$as_me:$LINENO: checking for library containing strerror" >&5 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 if test "${ac_cv_search_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_strerror=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strerror (); int main () { strerror (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_strerror="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_strerror" = no; then for ac_lib in cposix; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strerror (); int main () { strerror (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_strerror="-l$ac_lib" break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 echo "${ECHO_T}$ac_cv_search_strerror" >&6 if test "$ac_cv_search_strerror" != no; then test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi pkg_modules="gtk+-2.0 gthread-2.0" if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi PKG_CONFIG=$ac_pt_PKG_CONFIG else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 PKG_CONFIG="" fi fi pkg_failed=no echo "$as_me:$LINENO: checking for PACKAGE" >&5 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$PACKAGE_CFLAGS"; then pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PACKAGE_LIBS"; then pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"` else PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"` fi # Put the nasty error message in config.log where it belongs echo "$PACKAGE_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met: $PACKAGE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements ($pkg_modules) were not met: $PACKAGE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi GETTEXT_PACKAGE=searchmonkey cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF ALL_LINGUAS="en_GB en_UK en_US" # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= if test "${ac_cv_header_libintl_h+set}" = set; then echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking libintl.h usability" >&5 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking libintl.h presence" >&5 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # echo "$as_me:$LINENO: checking for ngettext in libc" >&5 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_ngettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_ngettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_ngettext_libc=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6 if test "$gt_cv_func_ngettext_libc" = "yes" ; then echo "$as_me:$LINENO: checking for dgettext in libc" >&5 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_dgettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_dgettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bindtextdomain (); int main () { bindtextdomain (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_bindtextdomain=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 if test $ac_cv_lib_intl_bindtextdomain = yes; then echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ngettext (); int main () { ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6 if test $ac_cv_lib_intl_ngettext = yes; then echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dgettext (); int main () { dgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 if test $ac_cv_lib_intl_dgettext = yes; then gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 echo "$as_me:$LINENO: result: " >&5 echo "${ECHO_T}" >&6 echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ngettext (); int main () { ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6 if test $ac_cv_lib_intl_ngettext = yes; then echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dcgettext (); int main () { dcgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dcgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 if test $ac_cv_lib_intl_dcgettext = yes; then gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then CATOBJEXT=.gmo DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bind_textdomain_codeset (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset) choke me #else char (*f) () = bind_textdomain_codeset; #endif #ifdef __cplusplus } #endif int main () { return f != bind_textdomain_codeset; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6 if test $ac_cv_func_bind_textdomain_codeset = yes; then CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS echo "$as_me:$LINENO: result: $LINGUAS" >&5 echo "${ECHO_T}$LINGUAS" >&6 fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t s,@USE_NLS@,$USE_NLS,;t t s,@MSGFMT@,$MSGFMT,;t t s,@GMSGFMT@,$GMSGFMT,;t t s,@XGETTEXT@,$XGETTEXT,;t t s,@CATALOGS@,$CATALOGS,;t t s,@CATOBJEXT@,$CATOBJEXT,;t t s,@DATADIRNAME@,$DATADIRNAME,;t t s,@GMOFILES@,$GMOFILES,;t t s,@INSTOBJEXT@,$INSTOBJEXT,;t t s,@INTLLIBS@,$INTLLIBS,;t t s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t s,@POFILES@,$POFILES,;t t s,@POSUB@,$POSUB,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t s,@srcdir@,$ac_srcdir,;t t s,@abs_srcdir@,$ac_abs_srcdir,;t t s,@top_srcdir@,$ac_top_srcdir,;t t s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t s,@builddir@,$ac_builddir,;t t s,@abs_builddir@,$ac_abs_builddir,;t t s,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi searchmonkey-0.8.1/rpmbuild/0000777000076400007660000000000010561733042013046 500000000000000searchmonkey-0.8.1/rpmbuild/searchmonkey.desktop0000664000076400007660000000036410561732772017063 00000000000000[Desktop Entry] Version=1.0 Encoding=UTF-8 Name=searchmonkey Comment=Find text files quickly using regular expressions Exec=searchmonkey Icon=searchmonkey.png StartupNotify=true Terminal=false Type=Application Categories=Application;System;GTK searchmonkey-0.8.1/rpmbuild/searchmonkey-0.7.2-1.spec0000664000076400007660000000166410561732772017150 00000000000000Summary: Graphical equivalent of find + grep Name: searchmonkey Version: 0.7.2 Release: 1%{?dist} License: LGPL Group: Applications/File Source0: http://prdownloads.sourceforge.net/searchmonkey/searchmonkey-%{version}.tar.gz URL: http://searchmonkey.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: pkgconfig, gettext, gtk2-devel %description searchmonkey is a powerful, but fast GTK+ text search utility that allows files and content to be searched using regular expressions. It aims to be the graphical equivalent of find + grep, but with the simplicity of the Beagle search engine. %prep %setup -q %build %configure make %install rm -fr %{buildroot} make install DESTDIR=%{buildroot} %clean rm -fr %{buildroot} %files %doc README INSTALL COPYING %{_bindir}/searchmonkey %{_datadir}/share/pixmaps/searchmonkey-32x32.png # Only required for GNOME %{_datadir}/share/applications/searchmonkey.desktop searchmonkey-0.8.1/rpmbuild/README0000664000076400007660000000121310561732772013652 00000000000000Instructions for building a source/binary RPM (on FC5). Update the spec file to match the current version and release. Copy the appropriate spec file to /usr/src/$(DISTRO)/SPECS In the source code folder run: $ ./configure $ make $ make dist-gzip Copy the newly created gzip file to /usr/src/redhat/SOURCE To create a source/binary RPM run (as root): # rpmbuild -ba /usr/src/redhat/SPECS/searchmonkey-$(VERSION)-1.spec Fingers crossed, the RPMS/i386 and SRPMS folder should now contain distributable RPM files! Enjoy! Adam p.s. Note that searchmonkey.desktop is an application launcher. Copy it to /usr/share/applications for GNOME systems.searchmonkey-0.8.1/AUTHORS0000664000076400007660000000007610561732772012232 00000000000000Searchmonkey Founder: Adam Cottrell - cottrell@users.sf.net searchmonkey-0.8.1/depcomp0000755000076400007660000003710010351551762012526 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: searchmonkey-0.8.1/NEWS0000664000076400007660000000010510561732772011652 00000000000000For the latest news see: http://sourceforge.net/news/?group_id=175143searchmonkey-0.8.1/config.h.in0000664000076400007660000000362210561732772013205 00000000000000/* config.h.in. Generated from configure.in by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Gettext package. */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION searchmonkey-0.8.1/autogen.sh0000775000076400007660000001057410561732772013167 00000000000000#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. DIE=0 if [ -n "$GNOME2_DIR" ]; then ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" PATH="$GNOME2_DIR/bin:$PATH" export PATH export LD_LIBRARY_PATH fi (test -f $srcdir/configure.in) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level package directory" exit 1 } (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`autoconf' installed." echo "Download the appropriate package for your distribution," echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" DIE=1 } (grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && { (intltoolize --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`intltool' installed." echo "You can get it from:" echo " ftp://ftp.gnome.org/pub/GNOME/" DIE=1 } } (grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && { (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`xml-i18n-toolize' installed." echo "You can get it from:" echo " ftp://ftp.gnome.org/pub/GNOME/" DIE=1 } } (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" DIE=1 } } (grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && { (grep "sed.*POTFILES" $srcdir/configure.in) > /dev/null || \ (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`glib' installed." echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" DIE=1 } } (automake --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`automake' installed." echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" DIE=1 NO_AUTOMAKE=yes } # if no automake, don't bother testing for aclocal test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: Missing \`aclocal'. The version of \`automake'" echo "installed doesn't appear recent enough." echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" DIE=1 } if test "$DIE" -eq 1; then exit 1 fi if test -z "$*"; then echo "**Warning**: I am going to run \`configure' with no arguments." echo "If you wish to pass any to it, please specify them on the" echo \`$0\'" command line." echo fi case $CC in xlc ) am_opt=--include-deps;; esac for coin in `find $srcdir -name configure.in -print` do dr=`dirname $coin` if test -f $dr/NO-AUTO-GEN; then echo skipping $dr -- flagged as no auto-gen else echo processing $dr ( cd $dr aclocalinclude="$ACLOCAL_FLAGS" if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then echo "Creating $dr/aclocal.m4 ..." test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 echo "Running glib-gettextize... Ignore non-fatal messages." echo "no" | glib-gettextize --force --copy echo "Making $dr/aclocal.m4 writable ..." test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then echo "Running intltoolize..." intltoolize --copy --force --automake fi if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy fi fi echo "Running aclocal $aclocalinclude ..." aclocal $aclocalinclude if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then echo "Running autoheader..." autoheader fi echo "Running automake --gnu $am_opt ..." automake --add-missing --gnu $am_opt echo "Running autoconf ..." autoconf ) fi done conf_flags="--enable-maintainer-mode" if test x$NOCONFIGURE = x; then echo Running $srcdir/configure $conf_flags "$@" ... $srcdir/configure $conf_flags "$@" \ && echo Now type \`make\' to compile. || exit 1 else echo Skipping configure process. fi searchmonkey-0.8.1/missing0000755000076400007660000002540610351551762012556 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: searchmonkey-0.8.1/po/0000777000076400007660000000000010561733043011647 500000000000000searchmonkey-0.8.1/po/en_UK.gmo0000664000076400007660000000060210561733043013270 00000000000000Þ•$,8H9Project-Id-Version: 0.8.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2007-02-05 22:56+0000 PO-Revision-Date: 2007-01-31 16:52+0000 Last-Translator: Adam Cottrell Language-Team: Adam Cottrell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit searchmonkey-0.8.1/po/en_GB.po0000664000076400007660000006774510561733043013122 00000000000000# Searchmonkey - desktop searching with regular expression wizard. # Copyright (C) 2007 # This file is distributed under LGPL # Adam Cottrell , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: 0.8.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-02-05 22:56+0000\n" "PO-Revision-Date: 2007-01-31 16:52+0000\n" "Last-Translator: Adam Cottrell \n" "Language-Team: Adam Cottrell \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Set up global strings #: src/main.c:58 #, c-format msgid "" "\n" "No content searching performed for this file.\n" "\n" "Please ensure containing search was enabled, and that an expression was " "entered prior to starting search.\n" msgstr "" #: src/main.c:60 #, c-format msgid "N/A" msgstr "" #: src/interface.c:261 msgid "Desktop search to replace find and grep." msgstr "" #: src/interface.c:262 msgid "searchmonkey" msgstr "" #: src/interface.c:279 msgid "_File" msgstr "" #: src/interface.c:286 msgid "_New Instance" msgstr "" #: src/interface.c:302 msgid "Save R_esults to CSV..." msgstr "" #: src/interface.c:321 msgid "P_rint Setup..." msgstr "" #: src/interface.c:332 msgid "_Edit" msgstr "" #: src/interface.c:339 msgid "_Delete (File)" msgstr "" #: src/interface.c:347 msgid "Edit File" msgstr "" #: src/interface.c:355 msgid "Open Folder" msgstr "" #: src/interface.c:363 src/interface.c:1851 msgid "_Copy (Filename)" msgstr "" #: src/interface.c:371 msgid "_View" msgstr "" #: src/interface.c:378 msgid "Show _Toolbar" msgstr "" #: src/interface.c:383 msgid "Show _Statusbar" msgstr "" #: src/interface.c:393 msgid "Horizontal results" msgstr "" #: src/interface.c:399 msgid "Vertical results" msgstr "" #: src/interface.c:409 msgid "S_ort by" msgstr "" #: src/interface.c:416 msgid "_File Name" msgstr "" #: src/interface.c:421 msgid "_Location" msgstr "" #: src/interface.c:426 msgid "_Size" msgstr "" #: src/interface.c:431 msgid "_Type" msgstr "" #: src/interface.c:436 msgid "_Modified" msgstr "" #: src/interface.c:441 msgid "Mat_ches" msgstr "" #: src/interface.c:447 msgid "_Search" msgstr "" #: src/interface.c:454 src/interface.c:656 src/interface.c:1233 msgid "Start" msgstr "" #: src/interface.c:465 msgid "Stop" msgstr "" #: src/interface.c:482 msgid "Clear History..." msgstr "" #: src/interface.c:490 msgid "Settings" msgstr "" #: src/interface.c:510 msgid "Use _Word Wrap" msgstr "" #: src/interface.c:515 msgid "Auto-size columns" msgstr "" #: src/interface.c:529 msgid "Extras" msgstr "" #: src/interface.c:536 msgid "_Import Regular Expression..." msgstr "" #: src/interface.c:547 msgid "_Export Regular Expression..." msgstr "" #: src/interface.c:563 msgid "Test Regular Expression..." msgstr "" #: src/interface.c:567 msgid "_Help" msgstr "" #: src/interface.c:574 msgid "_User Guide" msgstr "" #: src/interface.c:581 msgid "_Support" msgstr "" #: src/interface.c:585 msgid "Release _Notes" msgstr "" #: src/interface.c:589 msgid "_Forums" msgstr "" #: src/interface.c:614 msgid "New Instance" msgstr "" #: src/interface.c:617 msgid "Open a new search window." msgstr "" #: src/interface.c:626 msgid "Import Expression..." msgstr "" #: src/interface.c:629 msgid "Add search criteria from a text file. Similar to the grep -f flag." msgstr "" #: src/interface.c:633 msgid "Export Expression..." msgstr "" #: src/interface.c:636 msgid "Write some or all of the search criteria to disk." msgstr "" #: src/interface.c:644 msgid "Save Results..." msgstr "" #: src/interface.c:647 msgid "Create a CSV file containing a list of results." msgstr "" #: src/interface.c:659 src/interface.c:1216 msgid "Start the search!" msgstr "" #: src/interface.c:665 src/interface.c:1241 msgid "Stop the search!" msgstr "" #: src/interface.c:672 msgid "Print results direct to the configured printer." msgstr "" #: src/interface.c:706 src/interface.c:795 msgid "Files:" msgstr "" #: src/interface.c:712 msgid "_Containing:" msgstr "" #: src/interface.c:717 msgid "Enable contents search to find files with matching content too." msgstr "" #: src/interface.c:734 src/interface.c:832 msgid "Folders:" msgstr "" #: src/interface.c:752 msgid "Opens a dialog to find a look in directory." msgstr "" #: src/interface.c:776 src/interface.c:845 msgid "Recurse Folders" msgstr "" #: src/interface.c:779 src/interface.c:850 msgid "Use this option to search all subfolders (recursively)." msgstr "" #: src/interface.c:782 msgid "Basic" msgstr "" #: src/interface.c:804 src/interface.c:823 msgid "Expression Builder..." msgstr "" #: src/interface.c:807 msgid "Use the wizard to create a file name regular expression..." msgstr "" #: src/interface.c:813 msgid "Containing:" msgstr "" #: src/interface.c:816 msgid "" "Use this option to restrict your search results to files containing the " "provided text (or pattern)." msgstr "" #: src/interface.c:826 msgid "Use the wizard to create a containing text regular expression..." msgstr "" #: src/interface.c:853 msgid "Restrict depth:" msgstr "" #: src/interface.c:858 msgid "Limit files found by selecting maximum tree-depth to search." msgstr "" #: src/interface.c:865 msgid "Browse your file system and select the search directory..." msgstr "" #: src/interface.c:900 msgid "Maximum filesize in kBytes." msgstr "" #: src/interface.c:912 msgid "Minimum filesize in kBytes." msgstr "" #: src/interface.c:918 msgid "Size (kB):" msgstr "" #: src/interface.c:924 msgid "Modified:" msgstr "" #: src/interface.c:930 msgid "Less than:" msgstr "" #: src/interface.c:935 msgid "" "Use this option to restrict your search results to files that are smaller " "than the provided number of kilo Bytes." msgstr "" #: src/interface.c:937 msgid "Before:" msgstr "" #: src/interface.c:942 msgid "" "Use this option to restrict your search results to files that were last " "modified before the provided time." msgstr "" #: src/interface.c:944 msgid "More than:" msgstr "" #: src/interface.c:949 msgid "" "Use this option to restrict your search results to files that are bigger " "than the provided number of kilo Bytes." msgstr "" #: src/interface.c:951 msgid "After:" msgstr "" #: src/interface.c:956 msgid "" "Use this option to restrict your search results to files that were last " "modified after the provided time." msgstr "" #: src/interface.c:975 src/interface.c:998 msgid "Open calendar dialog to choose modified date." msgstr "" #: src/interface.c:1004 msgid "Advanced" msgstr "" #: src/interface.c:1022 msgid "Invert Search Expression" msgstr "" #: src/interface.c:1025 msgid "Inverts the file name search results i.e. find all becomes find none." msgstr "" #: src/interface.c:1027 src/interface.c:1081 msgid "Match Case" msgstr "" #: src/interface.c:1030 msgid "Use strict file case matching." msgstr "" #: src/interface.c:1032 msgid "_Ignore files beginning with '.'" msgstr "" #: src/interface.c:1035 msgid "Ignore hidden files (Unix filesystems only)" msgstr "" #: src/interface.c:1038 msgid "Follow Symbol _Links" msgstr "" #: src/interface.c:1041 msgid "Follow Symbolic Links (Only on systems that support them)" msgstr "" #: src/interface.c:1047 msgid "Use Wil_dcard Syntax" msgstr "" #: src/interface.c:1050 src/interface.c:1094 msgid "Use wildcard or glob syntax for file search criteria. E.g. *.txt" msgstr "" #: src/interface.c:1054 src/interface.c:1098 msgid "Use _Regular Expression Syntax" msgstr "" #: src/interface.c:1057 src/interface.c:1101 msgid "Use regular expression syntax in file search criteria." msgstr "" #: src/interface.c:1062 msgid "File Name Options" msgstr "" #: src/interface.c:1076 msgid "Use Single Phase Search" msgstr "" #: src/interface.c:1079 msgid "" "Perform content searching immediately so that results are returned quicker." msgstr "" #: src/interface.c:1084 msgid "Use strict contents case matching." msgstr "" #: src/interface.c:1090 msgid "Use simple search syntax" msgstr "" #: src/interface.c:1106 msgid "File Contents Options" msgstr "" #: src/interface.c:1120 msgid "Limit Match Files" msgstr "" #: src/interface.c:1123 msgid "" "Specify the maximum number of matching files found. Does not limit the " "number of content matches within each file." msgstr "" #: src/interface.c:1130 src/interface.c:1180 msgid "Maximum Hits:" msgstr "" #: src/interface.c:1144 msgid "Show Line Contents" msgstr "" #: src/interface.c:1147 msgid "" "If active, display extra lines around the matching line to help show context " "of match." msgstr "" #: src/interface.c:1154 msgid "Lines Displayed:" msgstr "" #: src/interface.c:1168 msgid "Limit Content Hits" msgstr "" #: src/interface.c:1172 msgid "" "Specify the maximum number of content matches within each file to show. Does " "not limit the number of files to search." msgstr "" #: src/interface.c:1190 msgid "Results Options" msgstr "" #: src/interface.c:1195 src/interface.c:3279 src/interface.c:3461 msgid "Options" msgstr "" #: src/interface.c:1208 msgid "Expert Mode" msgstr "" #: src/interface.c:1210 msgid "Switch search from basic to advanced mode." msgstr "" #: src/interface.c:1243 msgid "Search criteria" msgstr "" #: src/interface.c:1269 src/interface.c:1298 msgid "Displays the matching text lines when the result is selected." msgstr "" #: src/interface.c:1319 msgid "Search progress bar." msgstr "" #: src/interface.c:1789 msgid "Select a folder" msgstr "" #: src/interface.c:1843 msgid "Edit (File)" msgstr "" #: src/interface.c:1859 msgid "_Delete File" msgstr "" #: src/interface.c:1867 msgid "_Explore Folder" msgstr "" #: src/interface.c:1880 msgid "C_ancel" msgstr "" #: src/interface.c:1925 msgid "Select Colour" msgstr "" #: src/interface.c:1968 msgid "Select Font" msgstr "" #: src/interface.c:2022 msgid "Clear Search History" msgstr "" #: src/interface.c:2051 msgid "Clear file names" msgstr "" #: src/interface.c:2054 msgid "Clear all file names in the \"Files:\" drop-down list" msgstr "" #: src/interface.c:2057 msgid "Clear containing text" msgstr "" #: src/interface.c:2060 msgid "Clear all patterns in the \"Containing:\" drop-down list" msgstr "" #: src/interface.c:2063 msgid "Clear look in history" msgstr "" #: src/interface.c:2066 msgid "Clear all directories in the \"Folders:\" drop-down list" msgstr "" #: src/interface.c:2069 msgid "Reset size/modified options" msgstr "" #: src/interface.c:2072 msgid "Reset the size and modified search criteria." msgstr "" #: src/interface.c:2075 msgid "Select which data to delete:" msgstr "" #: src/interface.c:2080 msgid "Warning: Once cleared, history cannot be recovered!" msgstr "" #: src/interface.c:2146 msgid "Test Regular Expression" msgstr "" #: src/interface.c:2164 msgid "Test Expression:" msgstr "" #: src/interface.c:2171 msgid "sample" msgstr "" #: src/interface.c:2179 msgid "Sample Text:" msgstr "" #: src/interface.c:2194 msgid "" msgstr "" #: src/interface.c:2196 msgid "" "To see the results of your regular expression click apply. Once done, simply " "close the window. Searches are case sensitive.\n" "\n" "Note: this tool will only highlight the first match found." msgstr "" #: src/interface.c:2210 msgid "Status:" msgstr "" #: src/interface.c:2315 msgid "Expression Wizard" msgstr "" #: src/interface.c:2332 msgid "Text begins:" msgstr "" #: src/interface.c:2339 src/interface.c:2388 src/interface.c:2477 msgid "Don't know" msgstr "" #: src/interface.c:2340 src/interface.c:2389 src/interface.c:2478 msgid "Any character" msgstr "" #: src/interface.c:2341 src/interface.c:2390 src/interface.c:2479 msgid "The character" msgstr "" #: src/interface.c:2342 src/interface.c:2391 src/interface.c:2480 msgid "Any one of these chars" msgstr "" #: src/interface.c:2343 src/interface.c:2392 src/interface.c:2481 msgid "Any char except these" msgstr "" #: src/interface.c:2344 src/interface.c:2393 src/interface.c:2482 msgid "The phrase" msgstr "" #: src/interface.c:2345 src/interface.c:2394 src/interface.c:2483 msgid "Space(s)" msgstr "" #: src/interface.c:2346 src/interface.c:2395 src/interface.c:2484 msgid "Any numeric character" msgstr "" #: src/interface.c:2347 src/interface.c:2396 src/interface.c:2485 msgid "Any text character" msgstr "" #: src/interface.c:2355 src/interface.c:2404 src/interface.c:2493 msgid "that occurs" msgstr "" #: src/interface.c:2363 src/interface.c:2412 src/interface.c:2501 msgid "Once" msgstr "" #: src/interface.c:2364 src/interface.c:2413 src/interface.c:2502 msgid "One or more times" msgstr "" #: src/interface.c:2365 src/interface.c:2414 src/interface.c:2503 msgid "Zero or more times" msgstr "" #: src/interface.c:2366 src/interface.c:2415 src/interface.c:2504 msgid "Possibly once" msgstr "" #: src/interface.c:2429 msgid "" "Each row creates a new part to the rule, with the order reflecting the order " "in which the rule is to be matched." msgstr "" #: src/interface.c:2437 msgid "Add" msgstr "" #: src/interface.c:2441 msgid "Creates a new row in the list with the following rule." msgstr "" #: src/interface.c:2443 msgid "Update" msgstr "" #: src/interface.c:2447 msgid "Updates a rule that was selected for the modify function." msgstr "" #: src/interface.c:2449 msgid "Modify" msgstr "" #: src/interface.c:2453 msgid "Modifies an existing row in the rule table." msgstr "" #: src/interface.c:2455 msgid "Delete" msgstr "" #: src/interface.c:2459 msgid "Deletes an existing row in the rule table." msgstr "" #: src/interface.c:2461 msgid "Text contains" msgstr "" #: src/interface.c:2470 msgid "Text ends:" msgstr "" #: src/interface.c:2523 msgid "This is the expression that will be copied back to the main screen." msgstr "" #: src/interface.c:2527 msgid "Convert Internals" msgstr "" #: src/interface.c:2530 msgid "" "Some characters (such as . | ^ $) are reserved in certain circumstances.\n" "\n" "If you know what you are doing with these characters, unselect this checkbox." msgstr "" #: src/interface.c:2533 msgid "Resulting expression" msgstr "" #: src/interface.c:2546 msgid "Help with the Regular Expression Builder" msgstr "" #: src/interface.c:2552 msgid "Discard any changes." msgstr "" #: src/interface.c:2559 msgid "Accept the resulting expression, and add it to the search rules." msgstr "" #: src/interface.c:2728 msgid "Configuration" msgstr "" #: src/interface.c:2745 msgid "Force single window mode" msgstr "" #: src/interface.c:2750 msgid "Use extended regular expressions" msgstr "" #: src/interface.c:2753 msgid "" "Extended regular expressions are recommended as they provide more " "functionality." msgstr "" #: src/interface.c:2756 msgid "Prompt before saving state" msgstr "" #: src/interface.c:2759 msgid "Force a prompt before settings are saved." msgstr "" #: src/interface.c:2761 msgid "Prompt before deleting files" msgstr "" #: src/interface.c:2764 msgid "Force a prompt before any files are deleted" msgstr "" #: src/interface.c:2767 msgid "Match strings within binary files too" msgstr "" #: src/interface.c:2771 msgid "Check this to allow" msgstr "" #: src/interface.c:2773 msgid "Global Settings" msgstr "" #: src/interface.c:2785 msgid "Default text editor:" msgstr "" #: src/interface.c:2792 msgid "Default folder explorer:" msgstr "" #: src/interface.c:2799 msgid "Binary/Executable" msgstr "" #: src/interface.c:2805 msgid "Attributes" msgstr "" #: src/interface.c:2811 msgid "Default web browser:" msgstr "" #: src/interface.c:2823 src/interface.c:2841 #, c-format msgid "Text editor attributes: %f=filename, %d=directory" msgstr "" #: src/interface.c:2824 #, c-format msgid "%f" msgstr "" #: src/interface.c:2832 #, c-format msgid "File explorer attributes: %f=filename, %d=directory" msgstr "" #: src/interface.c:2833 #, c-format msgid "%d" msgstr "" #: src/interface.c:2842 #, c-format msgid "-new-tab %f" msgstr "" #: src/interface.c:2850 msgid "Paste and edit full file name of your preferred text editor." msgstr "" #: src/interface.c:2858 msgid "Paste and edit full file name of your preferred file explorer." msgstr "" #: src/interface.c:2866 msgid "Paste and edit full file name of your preferred web browser." msgstr "" #: src/interface.c:2877 msgid "Find default executables:" msgstr "" #: src/interface.c:2882 msgid "Auto search..." msgstr "" #: src/interface.c:2886 msgid "System Calls" msgstr "" #: src/interface.c:2898 msgid "End of row separator:" msgstr "" #: src/interface.c:2905 msgid "Use ASCII or C style construct e.g. \\n" msgstr "" #: src/interface.c:2907 msgid "\\n" msgstr "" #: src/interface.c:2915 msgid "Value/field separator:" msgstr "" #: src/interface.c:2922 msgid "Use ASCII or C style construct e.g. , \\t ;" msgstr "" #: src/interface.c:2924 msgid "," msgstr "" #: src/interface.c:2932 msgid "Text delimiter:" msgstr "" #: src/interface.c:2939 msgid "Use ASCII characters e.g. \" # $ '" msgstr "" #: src/interface.c:2941 msgid "\\\"" msgstr "" #: src/interface.c:2945 msgid "Csv Export" msgstr "" #: src/interface.c:2957 msgid "Remove all saved settings (restart required to complete):" msgstr "" #: src/interface.c:2962 msgid "Reset all" msgstr "" #: src/interface.c:2970 msgid "Current Config file location:" msgstr "" #: src/interface.c:2978 msgid "Location of your current searchmonkey configuration settings file." msgstr "" #: src/interface.c:2986 msgid "Save settings immediately (normally occurs on exit):" msgstr "" #: src/interface.c:2991 msgid "Save now" msgstr "" #: src/interface.c:2995 msgid "System" msgstr "" #: src/interface.c:3007 src/interface.c:3013 src/interface.c:3570 #: src/interface.c:3577 msgid "Searching for system files, please wait..." msgstr "" #: src/interface.c:3106 msgid "Save results to CSV file..." msgstr "" #: src/interface.c:3178 msgid "Import Criteria" msgstr "" #: src/interface.c:3205 src/interface.c:3387 msgid "File Selection" msgstr "" #: src/interface.c:3227 msgid "File Name import" msgstr "" #: src/interface.c:3230 src/interface.c:3263 msgid "Use the file in an identical to way to that of the grep -f command." msgstr "" #: src/interface.c:3234 msgid "Containing Text import" msgstr "" #: src/interface.c:3237 src/interface.c:3270 src/interface.c:3452 msgid "Import a file identical to that generated by the export command." msgstr "" #: src/interface.c:3241 msgid "Import Location" msgstr "" #: src/interface.c:3260 msgid "Grep style file (1-entry, OR each line)" msgstr "" #: src/interface.c:3267 msgid "Searchmonkey style (1-entry per line)" msgstr "" #: src/interface.c:3274 msgid "Import Type" msgstr "" #: src/interface.c:3361 msgid "Export Criteria" msgstr "" #: src/interface.c:3409 msgid "File Name Export criteria" msgstr "" #: src/interface.c:3412 msgid "Save the File Name drop down entries into a file." msgstr "" #: src/interface.c:3416 msgid "Containing Text Export Criteria" msgstr "" #: src/interface.c:3419 msgid "Save the Containing Text drop down entries into a file." msgstr "" #: src/interface.c:3423 msgid "Export Source" msgstr "" #: src/interface.c:3442 msgid "Save active/displayed entry only" msgstr "" #: src/interface.c:3445 msgid "Just save the currently displayed entry to a file." msgstr "" #: src/interface.c:3449 msgid "Save all entries (1-entry per line)" msgstr "" #: src/interface.c:3456 msgid "Export Type" msgstr "" #: src/interface.c:3526 msgid "Auto Complete" msgstr "" #: src/interface.c:3552 msgid "" "Please be patient!\n" "\n" "Searching for executables to perform the following functions:\n" " * text editing/viewing\n" " * folder browsing\n" " * web browsing\n" "\n" "The search algorithm uses a set of standard executables for all systems, and " "then attempts to find them on your local disk.\n" "\n" "Once complete, press OK to store the executables." msgstr "" #: src/interface.c:3557 msgid "Search progress" msgstr "" #: src/interface.c:3560 msgid "Please wait..." msgstr "" #: src/interface.c:3619 msgid "About searchmonkey" msgstr "" #: src/interface.c:3651 msgid "" "Regular expression power search utility written in GTK+ and licensed " "under Lesser GPL." msgstr "" #: src/interface.c:3659 msgid "Copyright (c) 2006-2007 Adam Cottrell" msgstr "" #: src/interface.c:3686 msgid "Credits" msgstr "" #: src/interface.c:3735 msgid "searchmonkey Credits" msgstr "" #: src/interface.c:3763 msgid "" "Project Manager:\n" "Adam Cottrell \n" "\n" "Programming:\n" " Adam Cottrell \n" " Salil Joshi \n" " Yousef AlHashemi\n" "\n" "Artwork:\n" " Peter Cruickshank\n" msgstr "" #: src/interface.c:3765 msgid "Written by" msgstr "" #: src/interface.c:3780 msgid "Adam Cottrell (en_GB)" msgstr "" #: src/interface.c:3782 msgid "Translated by" msgstr "" #: src/interface.c:3826 msgid "Select Date..." msgstr "" #: src/callbacks.c:384 msgid "http://searchmonkey.sourceforge.net/index.php/SearchMonkey_User_Guide" msgstr "" #: src/callbacks.c:392 msgid "http://sourceforge.net/support/getsupport.php?group_id=175143" msgstr "" #: src/callbacks.c:408 #, c-format msgid "searchmonkey %s" msgstr "" #: src/callbacks.c:435 msgid "http://sourceforge.net/forum/?group_id=175143" msgstr "" #: src/callbacks.c:719 #, c-format msgid "Internal Error! Unable to find calling wizard type!" msgstr "" #: src/callbacks.c:732 msgid "" "http://searchmonkey.sourceforge.net/index.php/Regular_expression_builder" msgstr "" #: src/callbacks.c:1068 msgid "File Expression Wizard" msgstr "" #: src/callbacks.c:1070 msgid "Context Expression Wizard" msgstr "" #: src/callbacks.c:1111 msgid "0%" msgstr "" #. Browse to a new release notes subset. Note redirect required by website #: src/callbacks.c:1125 #, c-format msgid "http://%s.sf.net/index.php?title=V%s_Release_Notes" msgstr "" #: src/callbacks.c:1139 msgid "" "Are you sure that you wish to delete the config file, and restart " "searchmonkey?" msgstr "" #: src/callbacks.c:1145 #, c-format msgid "Error! Unable to remove config file %s.\n" msgstr "" #: src/callbacks.c:1175 msgid "http://sf.net/forum/?group_id=175143" msgstr "" #: src/callbacks.c:1491 msgid "Error! Invalid 'file name' regular expression" msgstr "" #: src/callbacks.c:1515 msgid "Error! Invalid 'containing text' regular expression" msgstr "" #: src/support.c:90 src/support.c:114 #, c-format msgid "Couldn't find pixmap file: %s" msgstr "" #: src/search.c:81 msgid "Error! MoreThan file size must be positive value" msgstr "" #: src/search.c:99 msgid "Error! LessThan file size must be positive value" msgstr "" #: src/search.c:119 msgid "Error! Invalid 'After' date - format as dd/mm/yyyy or dd mmm yy." msgstr "" #: src/search.c:124 src/search.c:144 msgid "%d %b %Y" msgstr "" #: src/search.c:139 msgid "Error! Invalid 'Before' date - format as dd/mm/yyyy or dd mmm yy." msgstr "" #: src/search.c:284 src/misc.c:454 msgid "Error! Look In directory cannot be blank." msgstr "" #: src/search.c:295 src/misc.c:465 msgid "Error! Look In directory is invalid." msgstr "" #: src/search.c:303 src/misc.c:245 msgid "Error! Invalid File Name regular expression" msgstr "" #. Test textSearchRegEx reg expression is valid #: src/search.c:309 src/misc.c:255 msgid "Error! Invalid Containing Text regular expression" msgstr "" #: src/search.c:486 src/search.c:580 #, c-format msgid "Phase 1 searching %s" msgstr "" #: src/search.c:589 #, c-format msgid "%s\n" msgstr "" #. Update the status bar #: src/search.c:693 #, c-format msgid "Phase 2 starting..." msgstr "" #: src/search.c:727 #, c-format msgid "Phase 2 searching %s" msgstr "" #: src/search.c:991 #, c-format msgid "%d bytes" msgstr "" #: src/search.c:993 #, c-format msgid "%1.1f KB" msgstr "" #: src/search.c:995 #, c-format msgid "%1.1f MB" msgstr "" #: src/search.c:1022 #, c-format msgid "%s-type" msgstr "" #: src/search.c:1032 msgid "Unknown" msgstr "" #: src/search.c:1085 #, c-format msgid "%d file found" msgstr "" #: src/search.c:1087 #, c-format msgid "%d files found" msgstr "" #: src/search.c:1090 msgid " [inv]" msgstr "" #: src/search.c:1097 msgid " [cancelled]" msgstr "" #: src/savestate.c:41 #, c-format msgid " %s settings auto-generated - Do not edit!" msgstr "" #: src/savestate.c:76 msgid "" "Configuration files are for a different version of Searchmonkey. This may " "cause errors. Delete old configuration files?" msgstr "" #: src/savestate.c:142 msgid "About to overwrite save configuration. Do you want to proceed?" msgstr "" #: src/savestate.c:158 #, c-format msgid "Error saving %s: %s\n" msgstr "" #: src/savestate.c:180 msgid " [missing]" msgstr "" #. Add columns to the list #: src/savestate.c:532 msgid "Name" msgstr "" #: src/savestate.c:541 src/savestate.c:1299 src/systemio.c:97 msgid "Location" msgstr "" #: src/savestate.c:550 msgid "Size" msgstr "" #: src/savestate.c:559 msgid "Type" msgstr "" #: src/savestate.c:568 msgid "Modified" msgstr "" #: src/savestate.c:577 msgid "Matches" msgstr "" #: src/savestate.c:708 #, c-format msgid "Ready" msgstr "" #: src/savestate.c:1502 src/savestate.c:1544 #, c-format msgid "Line Number: %d\n" msgstr "" #: src/savestate.c:1525 #, c-format msgid "" "\n" "Internal error %d! Unable to highlight line - offset beyond line-end.\n" msgstr "" #: src/savestate.c:1526 #, c-format msgid "Please email all debug text to cottrela@users.sf.net.\n" msgstr "" #: src/savestate.c:1527 #, c-format msgid " Debug: fn='%s'\n" msgstr "" #: src/savestate.c:1528 #, c-format msgid " Debug: tc=%d + os=%d || oe=%d\n" msgstr "" #: src/savestate.c:1529 #, c-format msgid " Debug: %d) '%s'\n" msgstr "" #: src/savestate.c:1585 msgid "Options: " msgstr "" #: src/savestate.c:1597 msgid "case sensitive; " msgstr "" #: src/savestate.c:1603 msgid "display 1 extra line around match; " msgstr "" #: src/savestate.c:1606 #, c-format msgid "display %d extra lines around match; " msgstr "" #: src/savestate.c:1610 msgid "only showing line numbers; " msgstr "" #: src/savestate.c:1616 msgid "only showing first content match; " msgstr "" #: src/savestate.c:1619 #, c-format msgid "only showing first %d content matches; " msgstr "" #: src/savestate.c:1625 msgid "none" msgstr "" #: src/savestate.c:1629 msgid ".\n" msgstr "" #: src/regexwizard.c:88 msgid "Did not match any." msgstr "" #: src/regexwizard.c:90 msgid "Found 1 match." msgstr "" #: src/regexwizard.c:92 #, c-format msgid "Found %d matches." msgstr "" #: src/systemio.c:96 msgid "File name" msgstr "" #: src/systemio.c:98 msgid "File size" msgstr "" #: src/systemio.c:99 msgid "File type" msgstr "" #: src/systemio.c:100 msgid "Modified date" msgstr "" #: src/systemio.c:165 msgid "No results to save!" msgstr "" #: src/systemio.c:184 #, c-format msgid "" "A file named \"%s\" already exists. Are you sure you want to overwrite it?" msgstr "" #: src/systemio.c:275 msgid "File was empty/invalid." msgstr "" #: src/systemio.c:296 src/systemio.c:405 msgid "Error! No valid file selected." msgstr "" #: src/systemio.c:349 msgid "" "Error! You must select at least one entry in order to save drop down list." msgstr "" #: src/systemio.c:373 msgid "Error! Unable to find first combo entry. Is drop down list blank?" msgstr "" #: src/systemio.c:442 #, c-format msgid "" "Illegal escape sequence: '\\%c'.\n" " Valid escape characters are: b n r t \" \\" msgstr "" #: src/systemio.c:460 #, c-format msgid "" "Input string expands into non ASCII, or multi-byte key sequence: '%s'.\n" " Please try to use ASCII safe keys" msgstr "" #: src/systemio.c:472 #, c-format msgid "" "Multi-byte string entered: '%s'.\n" "Truncating extra character (%c)" msgstr "" #: src/systemio.c:543 msgid "100%" msgstr "" #: src/systemio.c:578 #, c-format msgid "" "Run configuration to set default web-browser:\n" "\"%s\"" msgstr "" #: src/systemio.c:591 #, c-format msgid "" "Run configuration to set default text editor:\n" "\"%s\"" msgstr "" #: src/systemio.c:604 #, c-format msgid "" "Run configuration to set default directory/folder browser:\n" "\"%s\"" msgstr "" #: src/systemio.c:766 msgid "Cannot delete file as name was not selected." msgstr "" #: src/systemio.c:789 #, c-format msgid "" "Are you sure you want to delete:\n" "\t'%s'" msgstr "" #: src/systemio.c:829 msgid "Cannot copy full file name as name was not selected." msgstr "" #: src/systemio.c:1044 #, c-format msgid "%s Error! Unable to split %s with %c\n" msgstr "" #: src/systemio.c:1053 #, c-format msgid "%s Error! Unable to duplicate string vector\n" msgstr "" searchmonkey-0.8.1/po/en_UK.po0000664000076400007660000000000010561733043020255 1searchmonkey-0.8.1/po/en_GB.po00000000000000searchmonkey-0.8.1/po/searchmonkey.pot0000664000076400007660000006774510561733043015024 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-02-05 22:56+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Set up global strings #: src/main.c:58 #, c-format msgid "" "\n" "No content searching performed for this file.\n" "\n" "Please ensure containing search was enabled, and that an expression was " "entered prior to starting search.\n" msgstr "" #: src/main.c:60 #, c-format msgid "N/A" msgstr "" #: src/interface.c:261 msgid "Desktop search to replace find and grep." msgstr "" #: src/interface.c:262 msgid "searchmonkey" msgstr "" #: src/interface.c:279 msgid "_File" msgstr "" #: src/interface.c:286 msgid "_New Instance" msgstr "" #: src/interface.c:302 msgid "Save R_esults to CSV..." msgstr "" #: src/interface.c:321 msgid "P_rint Setup..." msgstr "" #: src/interface.c:332 msgid "_Edit" msgstr "" #: src/interface.c:339 msgid "_Delete (File)" msgstr "" #: src/interface.c:347 msgid "Edit File" msgstr "" #: src/interface.c:355 msgid "Open Folder" msgstr "" #: src/interface.c:363 src/interface.c:1851 msgid "_Copy (Filename)" msgstr "" #: src/interface.c:371 msgid "_View" msgstr "" #: src/interface.c:378 msgid "Show _Toolbar" msgstr "" #: src/interface.c:383 msgid "Show _Statusbar" msgstr "" #: src/interface.c:393 msgid "Horizontal results" msgstr "" #: src/interface.c:399 msgid "Vertical results" msgstr "" #: src/interface.c:409 msgid "S_ort by" msgstr "" #: src/interface.c:416 msgid "_File Name" msgstr "" #: src/interface.c:421 msgid "_Location" msgstr "" #: src/interface.c:426 msgid "_Size" msgstr "" #: src/interface.c:431 msgid "_Type" msgstr "" #: src/interface.c:436 msgid "_Modified" msgstr "" #: src/interface.c:441 msgid "Mat_ches" msgstr "" #: src/interface.c:447 msgid "_Search" msgstr "" #: src/interface.c:454 src/interface.c:656 src/interface.c:1233 msgid "Start" msgstr "" #: src/interface.c:465 msgid "Stop" msgstr "" #: src/interface.c:482 msgid "Clear History..." msgstr "" #: src/interface.c:490 msgid "Settings" msgstr "" #: src/interface.c:510 msgid "Use _Word Wrap" msgstr "" #: src/interface.c:515 msgid "Auto-size columns" msgstr "" #: src/interface.c:529 msgid "Extras" msgstr "" #: src/interface.c:536 msgid "_Import Regular Expression..." msgstr "" #: src/interface.c:547 msgid "_Export Regular Expression..." msgstr "" #: src/interface.c:563 msgid "Test Regular Expression..." msgstr "" #: src/interface.c:567 msgid "_Help" msgstr "" #: src/interface.c:574 msgid "_User Guide" msgstr "" #: src/interface.c:581 msgid "_Support" msgstr "" #: src/interface.c:585 msgid "Release _Notes" msgstr "" #: src/interface.c:589 msgid "_Forums" msgstr "" #: src/interface.c:614 msgid "New Instance" msgstr "" #: src/interface.c:617 msgid "Open a new search window." msgstr "" #: src/interface.c:626 msgid "Import Expression..." msgstr "" #: src/interface.c:629 msgid "Add search criteria from a text file. Similar to the grep -f flag." msgstr "" #: src/interface.c:633 msgid "Export Expression..." msgstr "" #: src/interface.c:636 msgid "Write some or all of the search criteria to disk." msgstr "" #: src/interface.c:644 msgid "Save Results..." msgstr "" #: src/interface.c:647 msgid "Create a CSV file containing a list of results." msgstr "" #: src/interface.c:659 src/interface.c:1216 msgid "Start the search!" msgstr "" #: src/interface.c:665 src/interface.c:1241 msgid "Stop the search!" msgstr "" #: src/interface.c:672 msgid "Print results direct to the configured printer." msgstr "" #: src/interface.c:706 src/interface.c:795 msgid "Files:" msgstr "" #: src/interface.c:712 msgid "_Containing:" msgstr "" #: src/interface.c:717 msgid "Enable contents search to find files with matching content too." msgstr "" #: src/interface.c:734 src/interface.c:832 msgid "Folders:" msgstr "" #: src/interface.c:752 msgid "Opens a dialog to find a look in directory." msgstr "" #: src/interface.c:776 src/interface.c:845 msgid "Recurse Folders" msgstr "" #: src/interface.c:779 src/interface.c:850 msgid "Use this option to search all subfolders (recursively)." msgstr "" #: src/interface.c:782 msgid "Basic" msgstr "" #: src/interface.c:804 src/interface.c:823 msgid "Expression Builder..." msgstr "" #: src/interface.c:807 msgid "Use the wizard to create a file name regular expression..." msgstr "" #: src/interface.c:813 msgid "Containing:" msgstr "" #: src/interface.c:816 msgid "" "Use this option to restrict your search results to files containing the " "provided text (or pattern)." msgstr "" #: src/interface.c:826 msgid "Use the wizard to create a containing text regular expression..." msgstr "" #: src/interface.c:853 msgid "Restrict depth:" msgstr "" #: src/interface.c:858 msgid "Limit files found by selecting maximum tree-depth to search." msgstr "" #: src/interface.c:865 msgid "Browse your file system and select the search directory..." msgstr "" #: src/interface.c:900 msgid "Maximum filesize in kBytes." msgstr "" #: src/interface.c:912 msgid "Minimum filesize in kBytes." msgstr "" #: src/interface.c:918 msgid "Size (kB):" msgstr "" #: src/interface.c:924 msgid "Modified:" msgstr "" #: src/interface.c:930 msgid "Less than:" msgstr "" #: src/interface.c:935 msgid "" "Use this option to restrict your search results to files that are smaller " "than the provided number of kilo Bytes." msgstr "" #: src/interface.c:937 msgid "Before:" msgstr "" #: src/interface.c:942 msgid "" "Use this option to restrict your search results to files that were last " "modified before the provided time." msgstr "" #: src/interface.c:944 msgid "More than:" msgstr "" #: src/interface.c:949 msgid "" "Use this option to restrict your search results to files that are bigger " "than the provided number of kilo Bytes." msgstr "" #: src/interface.c:951 msgid "After:" msgstr "" #: src/interface.c:956 msgid "" "Use this option to restrict your search results to files that were last " "modified after the provided time." msgstr "" #: src/interface.c:975 src/interface.c:998 msgid "Open calendar dialog to choose modified date." msgstr "" #: src/interface.c:1004 msgid "Advanced" msgstr "" #: src/interface.c:1022 msgid "Invert Search Expression" msgstr "" #: src/interface.c:1025 msgid "Inverts the file name search results i.e. find all becomes find none." msgstr "" #: src/interface.c:1027 src/interface.c:1081 msgid "Match Case" msgstr "" #: src/interface.c:1030 msgid "Use strict file case matching." msgstr "" #: src/interface.c:1032 msgid "_Ignore files beginning with '.'" msgstr "" #: src/interface.c:1035 msgid "Ignore hidden files (Unix filesystems only)" msgstr "" #: src/interface.c:1038 msgid "Follow Symbol _Links" msgstr "" #: src/interface.c:1041 msgid "Follow Symbolic Links (Only on systems that support them)" msgstr "" #: src/interface.c:1047 msgid "Use Wil_dcard Syntax" msgstr "" #: src/interface.c:1050 src/interface.c:1094 msgid "Use wildcard or glob syntax for file search criteria. E.g. *.txt" msgstr "" #: src/interface.c:1054 src/interface.c:1098 msgid "Use _Regular Expression Syntax" msgstr "" #: src/interface.c:1057 src/interface.c:1101 msgid "Use regular expression syntax in file search criteria." msgstr "" #: src/interface.c:1062 msgid "File Name Options" msgstr "" #: src/interface.c:1076 msgid "Use Single Phase Search" msgstr "" #: src/interface.c:1079 msgid "" "Perform content searching immediately so that results are returned quicker." msgstr "" #: src/interface.c:1084 msgid "Use strict contents case matching." msgstr "" #: src/interface.c:1090 msgid "Use simple search syntax" msgstr "" #: src/interface.c:1106 msgid "File Contents Options" msgstr "" #: src/interface.c:1120 msgid "Limit Match Files" msgstr "" #: src/interface.c:1123 msgid "" "Specify the maximum number of matching files found. Does not limit the " "number of content matches within each file." msgstr "" #: src/interface.c:1130 src/interface.c:1180 msgid "Maximum Hits:" msgstr "" #: src/interface.c:1144 msgid "Show Line Contents" msgstr "" #: src/interface.c:1147 msgid "" "If active, display extra lines around the matching line to help show context " "of match." msgstr "" #: src/interface.c:1154 msgid "Lines Displayed:" msgstr "" #: src/interface.c:1168 msgid "Limit Content Hits" msgstr "" #: src/interface.c:1172 msgid "" "Specify the maximum number of content matches within each file to show. Does " "not limit the number of files to search." msgstr "" #: src/interface.c:1190 msgid "Results Options" msgstr "" #: src/interface.c:1195 src/interface.c:3279 src/interface.c:3461 msgid "Options" msgstr "" #: src/interface.c:1208 msgid "Expert Mode" msgstr "" #: src/interface.c:1210 msgid "Switch search from basic to advanced mode." msgstr "" #: src/interface.c:1243 msgid "Search criteria" msgstr "" #: src/interface.c:1269 src/interface.c:1298 msgid "Displays the matching text lines when the result is selected." msgstr "" #: src/interface.c:1319 msgid "Search progress bar." msgstr "" #: src/interface.c:1789 msgid "Select a folder" msgstr "" #: src/interface.c:1843 msgid "Edit (File)" msgstr "" #: src/interface.c:1859 msgid "_Delete File" msgstr "" #: src/interface.c:1867 msgid "_Explore Folder" msgstr "" #: src/interface.c:1880 msgid "C_ancel" msgstr "" #: src/interface.c:1925 msgid "Select Colour" msgstr "" #: src/interface.c:1968 msgid "Select Font" msgstr "" #: src/interface.c:2022 msgid "Clear Search History" msgstr "" #: src/interface.c:2051 msgid "Clear file names" msgstr "" #: src/interface.c:2054 msgid "Clear all file names in the \"Files:\" drop-down list" msgstr "" #: src/interface.c:2057 msgid "Clear containing text" msgstr "" #: src/interface.c:2060 msgid "Clear all patterns in the \"Containing:\" drop-down list" msgstr "" #: src/interface.c:2063 msgid "Clear look in history" msgstr "" #: src/interface.c:2066 msgid "Clear all directories in the \"Folders:\" drop-down list" msgstr "" #: src/interface.c:2069 msgid "Reset size/modified options" msgstr "" #: src/interface.c:2072 msgid "Reset the size and modified search criteria." msgstr "" #: src/interface.c:2075 msgid "Select which data to delete:" msgstr "" #: src/interface.c:2080 msgid "Warning: Once cleared, history cannot be recovered!" msgstr "" #: src/interface.c:2146 msgid "Test Regular Expression" msgstr "" #: src/interface.c:2164 msgid "Test Expression:" msgstr "" #: src/interface.c:2171 msgid "sample" msgstr "" #: src/interface.c:2179 msgid "Sample Text:" msgstr "" #: src/interface.c:2194 msgid "" msgstr "" #: src/interface.c:2196 msgid "" "To see the results of your regular expression click apply. Once done, simply " "close the window. Searches are case sensitive.\n" "\n" "Note: this tool will only highlight the first match found." msgstr "" #: src/interface.c:2210 msgid "Status:" msgstr "" #: src/interface.c:2315 msgid "Expression Wizard" msgstr "" #: src/interface.c:2332 msgid "Text begins:" msgstr "" #: src/interface.c:2339 src/interface.c:2388 src/interface.c:2477 msgid "Don't know" msgstr "" #: src/interface.c:2340 src/interface.c:2389 src/interface.c:2478 msgid "Any character" msgstr "" #: src/interface.c:2341 src/interface.c:2390 src/interface.c:2479 msgid "The character" msgstr "" #: src/interface.c:2342 src/interface.c:2391 src/interface.c:2480 msgid "Any one of these chars" msgstr "" #: src/interface.c:2343 src/interface.c:2392 src/interface.c:2481 msgid "Any char except these" msgstr "" #: src/interface.c:2344 src/interface.c:2393 src/interface.c:2482 msgid "The phrase" msgstr "" #: src/interface.c:2345 src/interface.c:2394 src/interface.c:2483 msgid "Space(s)" msgstr "" #: src/interface.c:2346 src/interface.c:2395 src/interface.c:2484 msgid "Any numeric character" msgstr "" #: src/interface.c:2347 src/interface.c:2396 src/interface.c:2485 msgid "Any text character" msgstr "" #: src/interface.c:2355 src/interface.c:2404 src/interface.c:2493 msgid "that occurs" msgstr "" #: src/interface.c:2363 src/interface.c:2412 src/interface.c:2501 msgid "Once" msgstr "" #: src/interface.c:2364 src/interface.c:2413 src/interface.c:2502 msgid "One or more times" msgstr "" #: src/interface.c:2365 src/interface.c:2414 src/interface.c:2503 msgid "Zero or more times" msgstr "" #: src/interface.c:2366 src/interface.c:2415 src/interface.c:2504 msgid "Possibly once" msgstr "" #: src/interface.c:2429 msgid "" "Each row creates a new part to the rule, with the order reflecting the order " "in which the rule is to be matched." msgstr "" #: src/interface.c:2437 msgid "Add" msgstr "" #: src/interface.c:2441 msgid "Creates a new row in the list with the following rule." msgstr "" #: src/interface.c:2443 msgid "Update" msgstr "" #: src/interface.c:2447 msgid "Updates a rule that was selected for the modify function." msgstr "" #: src/interface.c:2449 msgid "Modify" msgstr "" #: src/interface.c:2453 msgid "Modifies an existing row in the rule table." msgstr "" #: src/interface.c:2455 msgid "Delete" msgstr "" #: src/interface.c:2459 msgid "Deletes an existing row in the rule table." msgstr "" #: src/interface.c:2461 msgid "Text contains" msgstr "" #: src/interface.c:2470 msgid "Text ends:" msgstr "" #: src/interface.c:2523 msgid "This is the expression that will be copied back to the main screen." msgstr "" #: src/interface.c:2527 msgid "Convert Internals" msgstr "" #: src/interface.c:2530 msgid "" "Some characters (such as . | ^ $) are reserved in certain circumstances.\n" "\n" "If you know what you are doing with these characters, unselect this checkbox." msgstr "" #: src/interface.c:2533 msgid "Resulting expression" msgstr "" #: src/interface.c:2546 msgid "Help with the Regular Expression Builder" msgstr "" #: src/interface.c:2552 msgid "Discard any changes." msgstr "" #: src/interface.c:2559 msgid "Accept the resulting expression, and add it to the search rules." msgstr "" #: src/interface.c:2728 msgid "Configuration" msgstr "" #: src/interface.c:2745 msgid "Force single window mode" msgstr "" #: src/interface.c:2750 msgid "Use extended regular expressions" msgstr "" #: src/interface.c:2753 msgid "" "Extended regular expressions are recommended as they provide more " "functionality." msgstr "" #: src/interface.c:2756 msgid "Prompt before saving state" msgstr "" #: src/interface.c:2759 msgid "Force a prompt before settings are saved." msgstr "" #: src/interface.c:2761 msgid "Prompt before deleting files" msgstr "" #: src/interface.c:2764 msgid "Force a prompt before any files are deleted" msgstr "" #: src/interface.c:2767 msgid "Match strings within binary files too" msgstr "" #: src/interface.c:2771 msgid "Check this to allow" msgstr "" #: src/interface.c:2773 msgid "Global Settings" msgstr "" #: src/interface.c:2785 msgid "Default text editor:" msgstr "" #: src/interface.c:2792 msgid "Default folder explorer:" msgstr "" #: src/interface.c:2799 msgid "Binary/Executable" msgstr "" #: src/interface.c:2805 msgid "Attributes" msgstr "" #: src/interface.c:2811 msgid "Default web browser:" msgstr "" #: src/interface.c:2823 src/interface.c:2841 #, c-format msgid "Text editor attributes: %f=filename, %d=directory" msgstr "" #: src/interface.c:2824 #, c-format msgid "%f" msgstr "" #: src/interface.c:2832 #, c-format msgid "File explorer attributes: %f=filename, %d=directory" msgstr "" #: src/interface.c:2833 #, c-format msgid "%d" msgstr "" #: src/interface.c:2842 #, c-format msgid "-new-tab %f" msgstr "" #: src/interface.c:2850 msgid "Paste and edit full file name of your preferred text editor." msgstr "" #: src/interface.c:2858 msgid "Paste and edit full file name of your preferred file explorer." msgstr "" #: src/interface.c:2866 msgid "Paste and edit full file name of your preferred web browser." msgstr "" #: src/interface.c:2877 msgid "Find default executables:" msgstr "" #: src/interface.c:2882 msgid "Auto search..." msgstr "" #: src/interface.c:2886 msgid "System Calls" msgstr "" #: src/interface.c:2898 msgid "End of row separator:" msgstr "" #: src/interface.c:2905 msgid "Use ASCII or C style construct e.g. \\n" msgstr "" #: src/interface.c:2907 msgid "\\n" msgstr "" #: src/interface.c:2915 msgid "Value/field separator:" msgstr "" #: src/interface.c:2922 msgid "Use ASCII or C style construct e.g. , \\t ;" msgstr "" #: src/interface.c:2924 msgid "," msgstr "" #: src/interface.c:2932 msgid "Text delimiter:" msgstr "" #: src/interface.c:2939 msgid "Use ASCII characters e.g. \" # $ '" msgstr "" #: src/interface.c:2941 msgid "\\\"" msgstr "" #: src/interface.c:2945 msgid "Csv Export" msgstr "" #: src/interface.c:2957 msgid "Remove all saved settings (restart required to complete):" msgstr "" #: src/interface.c:2962 msgid "Reset all" msgstr "" #: src/interface.c:2970 msgid "Current Config file location:" msgstr "" #: src/interface.c:2978 msgid "Location of your current searchmonkey configuration settings file." msgstr "" #: src/interface.c:2986 msgid "Save settings immediately (normally occurs on exit):" msgstr "" #: src/interface.c:2991 msgid "Save now" msgstr "" #: src/interface.c:2995 msgid "System" msgstr "" #: src/interface.c:3007 src/interface.c:3013 src/interface.c:3570 #: src/interface.c:3577 msgid "Searching for system files, please wait..." msgstr "" #: src/interface.c:3106 msgid "Save results to CSV file..." msgstr "" #: src/interface.c:3178 msgid "Import Criteria" msgstr "" #: src/interface.c:3205 src/interface.c:3387 msgid "File Selection" msgstr "" #: src/interface.c:3227 msgid "File Name import" msgstr "" #: src/interface.c:3230 src/interface.c:3263 msgid "Use the file in an identical to way to that of the grep -f command." msgstr "" #: src/interface.c:3234 msgid "Containing Text import" msgstr "" #: src/interface.c:3237 src/interface.c:3270 src/interface.c:3452 msgid "Import a file identical to that generated by the export command." msgstr "" #: src/interface.c:3241 msgid "Import Location" msgstr "" #: src/interface.c:3260 msgid "Grep style file (1-entry, OR each line)" msgstr "" #: src/interface.c:3267 msgid "Searchmonkey style (1-entry per line)" msgstr "" #: src/interface.c:3274 msgid "Import Type" msgstr "" #: src/interface.c:3361 msgid "Export Criteria" msgstr "" #: src/interface.c:3409 msgid "File Name Export criteria" msgstr "" #: src/interface.c:3412 msgid "Save the File Name drop down entries into a file." msgstr "" #: src/interface.c:3416 msgid "Containing Text Export Criteria" msgstr "" #: src/interface.c:3419 msgid "Save the Containing Text drop down entries into a file." msgstr "" #: src/interface.c:3423 msgid "Export Source" msgstr "" #: src/interface.c:3442 msgid "Save active/displayed entry only" msgstr "" #: src/interface.c:3445 msgid "Just save the currently displayed entry to a file." msgstr "" #: src/interface.c:3449 msgid "Save all entries (1-entry per line)" msgstr "" #: src/interface.c:3456 msgid "Export Type" msgstr "" #: src/interface.c:3526 msgid "Auto Complete" msgstr "" #: src/interface.c:3552 msgid "" "Please be patient!\n" "\n" "Searching for executables to perform the following functions:\n" " * text editing/viewing\n" " * folder browsing\n" " * web browsing\n" "\n" "The search algorithm uses a set of standard executables for all systems, and " "then attempts to find them on your local disk.\n" "\n" "Once complete, press OK to store the executables." msgstr "" #: src/interface.c:3557 msgid "Search progress" msgstr "" #: src/interface.c:3560 msgid "Please wait..." msgstr "" #: src/interface.c:3619 msgid "About searchmonkey" msgstr "" #: src/interface.c:3651 msgid "" "Regular expression power search utility written in GTK+ and licensed " "under Lesser GPL." msgstr "" #: src/interface.c:3659 msgid "Copyright (c) 2006-2007 Adam Cottrell" msgstr "" #: src/interface.c:3686 msgid "Credits" msgstr "" #: src/interface.c:3735 msgid "searchmonkey Credits" msgstr "" #: src/interface.c:3763 msgid "" "Project Manager:\n" "Adam Cottrell \n" "\n" "Programming:\n" " Adam Cottrell \n" " Salil Joshi \n" " Yousef AlHashemi\n" "\n" "Artwork:\n" " Peter Cruickshank\n" msgstr "" #: src/interface.c:3765 msgid "Written by" msgstr "" #: src/interface.c:3780 msgid "Adam Cottrell (en_GB)" msgstr "" #: src/interface.c:3782 msgid "Translated by" msgstr "" #: src/interface.c:3826 msgid "Select Date..." msgstr "" #: src/callbacks.c:384 msgid "http://searchmonkey.sourceforge.net/index.php/SearchMonkey_User_Guide" msgstr "" #: src/callbacks.c:392 msgid "http://sourceforge.net/support/getsupport.php?group_id=175143" msgstr "" #: src/callbacks.c:408 #, c-format msgid "searchmonkey %s" msgstr "" #: src/callbacks.c:435 msgid "http://sourceforge.net/forum/?group_id=175143" msgstr "" #: src/callbacks.c:719 #, c-format msgid "Internal Error! Unable to find calling wizard type!" msgstr "" #: src/callbacks.c:732 msgid "" "http://searchmonkey.sourceforge.net/index.php/Regular_expression_builder" msgstr "" #: src/callbacks.c:1068 msgid "File Expression Wizard" msgstr "" #: src/callbacks.c:1070 msgid "Context Expression Wizard" msgstr "" #: src/callbacks.c:1111 msgid "0%" msgstr "" #. Browse to a new release notes subset. Note redirect required by website #: src/callbacks.c:1125 #, c-format msgid "http://%s.sf.net/index.php?title=V%s_Release_Notes" msgstr "" #: src/callbacks.c:1139 msgid "" "Are you sure that you wish to delete the config file, and restart " "searchmonkey?" msgstr "" #: src/callbacks.c:1145 #, c-format msgid "Error! Unable to remove config file %s.\n" msgstr "" #: src/callbacks.c:1175 msgid "http://sf.net/forum/?group_id=175143" msgstr "" #: src/callbacks.c:1491 msgid "Error! Invalid 'file name' regular expression" msgstr "" #: src/callbacks.c:1515 msgid "Error! Invalid 'containing text' regular expression" msgstr "" #: src/support.c:90 src/support.c:114 #, c-format msgid "Couldn't find pixmap file: %s" msgstr "" #: src/search.c:81 msgid "Error! MoreThan file size must be positive value" msgstr "" #: src/search.c:99 msgid "Error! LessThan file size must be positive value" msgstr "" #: src/search.c:119 msgid "Error! Invalid 'After' date - format as dd/mm/yyyy or dd mmm yy." msgstr "" #: src/search.c:124 src/search.c:144 msgid "%d %b %Y" msgstr "" #: src/search.c:139 msgid "Error! Invalid 'Before' date - format as dd/mm/yyyy or dd mmm yy." msgstr "" #: src/search.c:284 src/misc.c:454 msgid "Error! Look In directory cannot be blank." msgstr "" #: src/search.c:295 src/misc.c:465 msgid "Error! Look In directory is invalid." msgstr "" #: src/search.c:303 src/misc.c:245 msgid "Error! Invalid File Name regular expression" msgstr "" #. Test textSearchRegEx reg expression is valid #: src/search.c:309 src/misc.c:255 msgid "Error! Invalid Containing Text regular expression" msgstr "" #: src/search.c:486 src/search.c:580 #, c-format msgid "Phase 1 searching %s" msgstr "" #: src/search.c:589 #, c-format msgid "%s\n" msgstr "" #. Update the status bar #: src/search.c:693 #, c-format msgid "Phase 2 starting..." msgstr "" #: src/search.c:727 #, c-format msgid "Phase 2 searching %s" msgstr "" #: src/search.c:991 #, c-format msgid "%d bytes" msgstr "" #: src/search.c:993 #, c-format msgid "%1.1f KB" msgstr "" #: src/search.c:995 #, c-format msgid "%1.1f MB" msgstr "" #: src/search.c:1022 #, c-format msgid "%s-type" msgstr "" #: src/search.c:1032 msgid "Unknown" msgstr "" #: src/search.c:1085 #, c-format msgid "%d file found" msgstr "" #: src/search.c:1087 #, c-format msgid "%d files found" msgstr "" #: src/search.c:1090 msgid " [inv]" msgstr "" #: src/search.c:1097 msgid " [cancelled]" msgstr "" #: src/savestate.c:41 #, c-format msgid " %s settings auto-generated - Do not edit!" msgstr "" #: src/savestate.c:76 msgid "" "Configuration files are for a different version of Searchmonkey. This may " "cause errors. Delete old configuration files?" msgstr "" #: src/savestate.c:142 msgid "About to overwrite save configuration. Do you want to proceed?" msgstr "" #: src/savestate.c:158 #, c-format msgid "Error saving %s: %s\n" msgstr "" #: src/savestate.c:180 msgid " [missing]" msgstr "" #. Add columns to the list #: src/savestate.c:532 msgid "Name" msgstr "" #: src/savestate.c:541 src/savestate.c:1299 src/systemio.c:97 msgid "Location" msgstr "" #: src/savestate.c:550 msgid "Size" msgstr "" #: src/savestate.c:559 msgid "Type" msgstr "" #: src/savestate.c:568 msgid "Modified" msgstr "" #: src/savestate.c:577 msgid "Matches" msgstr "" #: src/savestate.c:708 #, c-format msgid "Ready" msgstr "" #: src/savestate.c:1502 src/savestate.c:1544 #, c-format msgid "Line Number: %d\n" msgstr "" #: src/savestate.c:1525 #, c-format msgid "" "\n" "Internal error %d! Unable to highlight line - offset beyond line-end.\n" msgstr "" #: src/savestate.c:1526 #, c-format msgid "Please email all debug text to cottrela@users.sf.net.\n" msgstr "" #: src/savestate.c:1527 #, c-format msgid " Debug: fn='%s'\n" msgstr "" #: src/savestate.c:1528 #, c-format msgid " Debug: tc=%d + os=%d || oe=%d\n" msgstr "" #: src/savestate.c:1529 #, c-format msgid " Debug: %d) '%s'\n" msgstr "" #: src/savestate.c:1585 msgid "Options: " msgstr "" #: src/savestate.c:1597 msgid "case sensitive; " msgstr "" #: src/savestate.c:1603 msgid "display 1 extra line around match; " msgstr "" #: src/savestate.c:1606 #, c-format msgid "display %d extra lines around match; " msgstr "" #: src/savestate.c:1610 msgid "only showing line numbers; " msgstr "" #: src/savestate.c:1616 msgid "only showing first content match; " msgstr "" #: src/savestate.c:1619 #, c-format msgid "only showing first %d content matches; " msgstr "" #: src/savestate.c:1625 msgid "none" msgstr "" #: src/savestate.c:1629 msgid ".\n" msgstr "" #: src/regexwizard.c:88 msgid "Did not match any." msgstr "" #: src/regexwizard.c:90 msgid "Found 1 match." msgstr "" #: src/regexwizard.c:92 #, c-format msgid "Found %d matches." msgstr "" #: src/systemio.c:96 msgid "File name" msgstr "" #: src/systemio.c:98 msgid "File size" msgstr "" #: src/systemio.c:99 msgid "File type" msgstr "" #: src/systemio.c:100 msgid "Modified date" msgstr "" #: src/systemio.c:165 msgid "No results to save!" msgstr "" #: src/systemio.c:184 #, c-format msgid "" "A file named \"%s\" already exists. Are you sure you want to overwrite it?" msgstr "" #: src/systemio.c:275 msgid "File was empty/invalid." msgstr "" #: src/systemio.c:296 src/systemio.c:405 msgid "Error! No valid file selected." msgstr "" #: src/systemio.c:349 msgid "" "Error! You must select at least one entry in order to save drop down list." msgstr "" #: src/systemio.c:373 msgid "Error! Unable to find first combo entry. Is drop down list blank?" msgstr "" #: src/systemio.c:442 #, c-format msgid "" "Illegal escape sequence: '\\%c'.\n" " Valid escape characters are: b n r t \" \\" msgstr "" #: src/systemio.c:460 #, c-format msgid "" "Input string expands into non ASCII, or multi-byte key sequence: '%s'.\n" " Please try to use ASCII safe keys" msgstr "" #: src/systemio.c:472 #, c-format msgid "" "Multi-byte string entered: '%s'.\n" "Truncating extra character (%c)" msgstr "" #: src/systemio.c:543 msgid "100%" msgstr "" #: src/systemio.c:578 #, c-format msgid "" "Run configuration to set default web-browser:\n" "\"%s\"" msgstr "" #: src/systemio.c:591 #, c-format msgid "" "Run configuration to set default text editor:\n" "\"%s\"" msgstr "" #: src/systemio.c:604 #, c-format msgid "" "Run configuration to set default directory/folder browser:\n" "\"%s\"" msgstr "" #: src/systemio.c:766 msgid "Cannot delete file as name was not selected." msgstr "" #: src/systemio.c:789 #, c-format msgid "" "Are you sure you want to delete:\n" "\t'%s'" msgstr "" #: src/systemio.c:829 msgid "Cannot copy full file name as name was not selected." msgstr "" #: src/systemio.c:1044 #, c-format msgid "%s Error! Unable to split %s with %c\n" msgstr "" #: src/systemio.c:1053 #, c-format msgid "%s Error! Unable to duplicate string vector\n" msgstr "" searchmonkey-0.8.1/po/Makefile.in.in0000664000076400007660000001761010561732772014254 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ libdir = @libdir@ localedir = $(libdir)/locale gnulocaledir = $(datadir)/locale gettextsrcdir = $(datadir)/glib-2.0/gettext/po subdir = po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@ CC = @CC@ GENCAT = @GENCAT@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ MSGMERGE = msgmerge DEFS = @DEFS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = POFILES = @POFILES@ GMOFILES = @GMOFILES@ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \ $(POFILES) $(GMOFILES) $(SOURCES) POTFILES = \ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ INSTOBJEXT = @INSTOBJEXT@ .SUFFIXES: .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat .c.o: $(COMPILE) $< .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -c -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && $(GENCAT) $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \ --add-comments --keyword=_ --keyword=N_ \ --flag=g_strdup_printf:1:c-format \ --flag=g_string_printf:2:c-format \ --flag=g_string_append_printf:2:c-format \ --flag=g_error_new:3:c-format \ --flag=g_set_error:4:c-format \ --flag=g_markup_printf_escaped:1:c-format \ --flag=g_log:3:c-format \ --flag=g_print:1:c-format \ --flag=g_printerr:1:c-format \ --flag=g_printf:1:c-format \ --flag=g_fprintf:2:c-format \ --flag=g_sprintf:2:c-format \ --flag=g_snprintf:3:c-format \ --flag=g_scanner_error:2:c-format \ --flag=g_scanner_warn:2:c-format \ --files-from=$(srcdir)/POTFILES.in \ && test ! -f $(GETTEXT_PACKAGE).po \ || ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \ && mv $(GETTEXT_PACKAGE).po $(srcdir)/$(GETTEXT_PACKAGE).pot ) install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ case "$$cat" in \ *.gmo) destdir=$(gnulocaledir);; \ *) destdir=$(localedir);; \ esac; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $$dir; \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ fi; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ fi; \ if test -r $$cat.m; then \ $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ else \ if test -r $(srcdir)/$$cat.m ; then \ $(INSTALL_DATA) $(srcdir)/$$cat.m \ $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ else \ true; \ fi; \ fi; \ done if test "$(PACKAGE)" = "glib"; then \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \ fi; \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ done if test "$(PACKAGE)" = "glib"; then \ rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ fi check: all dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir) dist distdir: update-po $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ ln $(srcdir)/$$file $(distdir) 2> /dev/null \ || cp -p $(srcdir)/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ cd $(srcdir); \ catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang.po $(GETTEXT_PACKAGE).pot -o $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done # POTFILES is created from POTFILES.in by stripping comments, empty lines # and Intltool tags (enclosed in square brackets), and appending a full # relative path to them POTFILES: POTFILES.in ( if test 'x$(srcdir)' != 'x.'; then \ posrcprefix='$(top_srcdir)/'; \ else \ posrcprefix="../"; \ fi; \ rm -f $@-t $@ \ && (sed -e '/^#/d' \ -e "s/^\[.*\] +//" \ -e '/^[ ]*$$/d' \ -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ | sed -e '$$s/\\$$//') > $@-t \ && chmod a-w $@-t \ && mv $@-t $@ ) Makefile: Makefile.in.in ../config.status POTFILES cd .. \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: searchmonkey-0.8.1/po/en_GB.gmo0000664000076400007660000000060210561733043013241 00000000000000Þ•$,8H9Project-Id-Version: 0.8.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2007-02-05 22:56+0000 PO-Revision-Date: 2007-01-31 16:52+0000 Last-Translator: Adam Cottrell Language-Team: Adam Cottrell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit searchmonkey-0.8.1/po/en_US.gmo0000664000076400007660000000147610561733043013312 00000000000000Þ•L |¨ ©¶@¿A BHP ™¥@®Aï 1 [cancelled]%d %b %YError! Invalid 'After' date - format as dd/mm/yyyy or dd mmm yy.Error! Invalid 'Before' date - format as dd/mm/yyyy or dd mmm yy.Select ColourProject-Id-Version: 0.8.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2007-02-05 22:56+0000 PO-Revision-Date: 2007-01-31 16:08+0000 Last-Translator: Adam Cottrell Language-Team: Adam Cottrell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [canceled]%b %d %YError! Invalid 'After' date - format as mm/dd/yyyy or mmm dd yy.Error! Invalid 'Before' date - format as mm/dd/yyyy or dd mmm yy.Select Colorsearchmonkey-0.8.1/po/en_US.po0000664000076400007660000007473310561733043013154 00000000000000# Searchmonkey - desktop searching with regular expression wizard. # Copyright (C) 2007 # This file is distributed under LGPL # Adam Cottrell , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: 0.8.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-02-05 22:56+0000\n" "PO-Revision-Date: 2007-01-31 16:08+0000\n" "Last-Translator: Adam Cottrell \n" "Language-Team: Adam Cottrell \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Set up global strings #: src/main.c:58 #, c-format msgid "" "\n" "No content searching performed for this file.\n" "\n" "Please ensure containing search was enabled, and that an expression was " "entered prior to starting search.\n" msgstr "" #: src/main.c:60 #, c-format msgid "N/A" msgstr "" #: src/interface.c:261 msgid "Desktop search to replace find and grep." msgstr "" #: src/interface.c:262 msgid "searchmonkey" msgstr "" #: src/interface.c:279 msgid "_File" msgstr "" #: src/interface.c:286 msgid "_New Instance" msgstr "" #: src/interface.c:302 msgid "Save R_esults to CSV..." msgstr "" #: src/interface.c:321 msgid "P_rint Setup..." msgstr "" #: src/interface.c:332 msgid "_Edit" msgstr "" #: src/interface.c:339 msgid "_Delete (File)" msgstr "" #: src/interface.c:347 msgid "Edit File" msgstr "" #: src/interface.c:355 msgid "Open Folder" msgstr "" #: src/interface.c:363 src/interface.c:1851 msgid "_Copy (Filename)" msgstr "" #: src/interface.c:371 msgid "_View" msgstr "" #: src/interface.c:378 msgid "Show _Toolbar" msgstr "" #: src/interface.c:383 msgid "Show _Statusbar" msgstr "" #: src/interface.c:393 msgid "Horizontal results" msgstr "" #: src/interface.c:399 msgid "Vertical results" msgstr "" #: src/interface.c:409 msgid "S_ort by" msgstr "" #: src/interface.c:416 msgid "_File Name" msgstr "" #: src/interface.c:421 msgid "_Location" msgstr "" #: src/interface.c:426 msgid "_Size" msgstr "" #: src/interface.c:431 msgid "_Type" msgstr "" #: src/interface.c:436 msgid "_Modified" msgstr "" #: src/interface.c:441 msgid "Mat_ches" msgstr "" #: src/interface.c:447 msgid "_Search" msgstr "" #: src/interface.c:454 src/interface.c:656 src/interface.c:1233 msgid "Start" msgstr "" #: src/interface.c:465 msgid "Stop" msgstr "" #: src/interface.c:482 msgid "Clear History..." msgstr "" #: src/interface.c:490 msgid "Settings" msgstr "" #: src/interface.c:510 msgid "Use _Word Wrap" msgstr "" #: src/interface.c:515 msgid "Auto-size columns" msgstr "" #: src/interface.c:529 msgid "Extras" msgstr "" #: src/interface.c:536 msgid "_Import Regular Expression..." msgstr "" #: src/interface.c:547 msgid "_Export Regular Expression..." msgstr "" #: src/interface.c:563 msgid "Test Regular Expression..." msgstr "" #: src/interface.c:567 msgid "_Help" msgstr "" #: src/interface.c:574 msgid "_User Guide" msgstr "" #: src/interface.c:581 msgid "_Support" msgstr "" #: src/interface.c:585 msgid "Release _Notes" msgstr "" #: src/interface.c:589 msgid "_Forums" msgstr "" #: src/interface.c:614 msgid "New Instance" msgstr "" #: src/interface.c:617 msgid "Open a new search window." msgstr "" #: src/interface.c:626 msgid "Import Expression..." msgstr "" #: src/interface.c:629 msgid "Add search criteria from a text file. Similar to the grep -f flag." msgstr "" #: src/interface.c:633 msgid "Export Expression..." msgstr "" #: src/interface.c:636 msgid "Write some or all of the search criteria to disk." msgstr "" #: src/interface.c:644 msgid "Save Results..." msgstr "" #: src/interface.c:647 msgid "Create a CSV file containing a list of results." msgstr "" #: src/interface.c:659 src/interface.c:1216 msgid "Start the search!" msgstr "" #: src/interface.c:665 src/interface.c:1241 msgid "Stop the search!" msgstr "" #: src/interface.c:672 msgid "Print results direct to the configured printer." msgstr "" #: src/interface.c:706 src/interface.c:795 msgid "Files:" msgstr "" #: src/interface.c:712 msgid "_Containing:" msgstr "" #: src/interface.c:717 msgid "Enable contents search to find files with matching content too." msgstr "" #: src/interface.c:734 src/interface.c:832 msgid "Folders:" msgstr "" #: src/interface.c:752 msgid "Opens a dialog to find a look in directory." msgstr "" #: src/interface.c:776 src/interface.c:845 msgid "Recurse Folders" msgstr "" #: src/interface.c:779 src/interface.c:850 msgid "Use this option to search all subfolders (recursively)." msgstr "" #: src/interface.c:782 msgid "Basic" msgstr "" #: src/interface.c:804 src/interface.c:823 msgid "Expression Builder..." msgstr "" #: src/interface.c:807 msgid "Use the wizard to create a file name regular expression..." msgstr "" #: src/interface.c:813 msgid "Containing:" msgstr "" #: src/interface.c:816 msgid "" "Use this option to restrict your search results to files containing the " "provided text (or pattern)." msgstr "" #: src/interface.c:826 msgid "Use the wizard to create a containing text regular expression..." msgstr "" #: src/interface.c:853 msgid "Restrict depth:" msgstr "" #: src/interface.c:858 msgid "Limit files found by selecting maximum tree-depth to search." msgstr "" #: src/interface.c:865 msgid "Browse your file system and select the search directory..." msgstr "" #: src/interface.c:900 msgid "Maximum filesize in kBytes." msgstr "" #: src/interface.c:912 msgid "Minimum filesize in kBytes." msgstr "" #: src/interface.c:918 msgid "Size (kB):" msgstr "" #: src/interface.c:924 msgid "Modified:" msgstr "" #: src/interface.c:930 msgid "Less than:" msgstr "" #: src/interface.c:935 msgid "" "Use this option to restrict your search results to files that are smaller " "than the provided number of kilo Bytes." msgstr "" #: src/interface.c:937 msgid "Before:" msgstr "" #: src/interface.c:942 msgid "" "Use this option to restrict your search results to files that were last " "modified before the provided time." msgstr "" #: src/interface.c:944 msgid "More than:" msgstr "" #: src/interface.c:949 msgid "" "Use this option to restrict your search results to files that are bigger " "than the provided number of kilo Bytes." msgstr "" #: src/interface.c:951 msgid "After:" msgstr "" #: src/interface.c:956 msgid "" "Use this option to restrict your search results to files that were last " "modified after the provided time." msgstr "" #: src/interface.c:975 src/interface.c:998 msgid "Open calendar dialog to choose modified date." msgstr "" #: src/interface.c:1004 msgid "Advanced" msgstr "" #: src/interface.c:1022 msgid "Invert Search Expression" msgstr "" #: src/interface.c:1025 msgid "Inverts the file name search results i.e. find all becomes find none." msgstr "" #: src/interface.c:1027 src/interface.c:1081 msgid "Match Case" msgstr "" #: src/interface.c:1030 msgid "Use strict file case matching." msgstr "" #: src/interface.c:1032 msgid "_Ignore files beginning with '.'" msgstr "" #: src/interface.c:1035 msgid "Ignore hidden files (Unix filesystems only)" msgstr "" #: src/interface.c:1038 msgid "Follow Symbol _Links" msgstr "" #: src/interface.c:1041 msgid "Follow Symbolic Links (Only on systems that support them)" msgstr "" #: src/interface.c:1047 msgid "Use Wil_dcard Syntax" msgstr "" #: src/interface.c:1050 src/interface.c:1094 msgid "Use wildcard or glob syntax for file search criteria. E.g. *.txt" msgstr "" #: src/interface.c:1054 src/interface.c:1098 msgid "Use _Regular Expression Syntax" msgstr "" #: src/interface.c:1057 src/interface.c:1101 msgid "Use regular expression syntax in file search criteria." msgstr "" #: src/interface.c:1062 msgid "File Name Options" msgstr "" #: src/interface.c:1076 msgid "Use Single Phase Search" msgstr "" #: src/interface.c:1079 msgid "" "Perform content searching immediately so that results are returned quicker." msgstr "" #: src/interface.c:1084 msgid "Use strict contents case matching." msgstr "" #: src/interface.c:1090 msgid "Use simple search syntax" msgstr "" #: src/interface.c:1106 msgid "File Contents Options" msgstr "" #: src/interface.c:1120 msgid "Limit Match Files" msgstr "" #: src/interface.c:1123 msgid "" "Specify the maximum number of matching files found. Does not limit the " "number of content matches within each file." msgstr "" #: src/interface.c:1130 src/interface.c:1180 msgid "Maximum Hits:" msgstr "" #: src/interface.c:1144 msgid "Show Line Contents" msgstr "" #: src/interface.c:1147 msgid "" "If active, display extra lines around the matching line to help show context " "of match." msgstr "" #: src/interface.c:1154 msgid "Lines Displayed:" msgstr "" #: src/interface.c:1168 msgid "Limit Content Hits" msgstr "" #: src/interface.c:1172 msgid "" "Specify the maximum number of content matches within each file to show. Does " "not limit the number of files to search." msgstr "" #: src/interface.c:1190 msgid "Results Options" msgstr "" #: src/interface.c:1195 src/interface.c:3279 src/interface.c:3461 msgid "Options" msgstr "" #: src/interface.c:1208 msgid "Expert Mode" msgstr "" #: src/interface.c:1210 msgid "Switch search from basic to advanced mode." msgstr "" #: src/interface.c:1243 msgid "Search criteria" msgstr "" #: src/interface.c:1269 src/interface.c:1298 msgid "Displays the matching text lines when the result is selected." msgstr "" #: src/interface.c:1319 msgid "Search progress bar." msgstr "" #: src/interface.c:1789 msgid "Select a folder" msgstr "" #: src/interface.c:1843 msgid "Edit (File)" msgstr "" #: src/interface.c:1859 msgid "_Delete File" msgstr "" #: src/interface.c:1867 msgid "_Explore Folder" msgstr "" #: src/interface.c:1880 msgid "C_ancel" msgstr "" #: src/interface.c:1925 msgid "Select Colour" msgstr "Select Color" #: src/interface.c:1968 msgid "Select Font" msgstr "" #: src/interface.c:2022 msgid "Clear Search History" msgstr "" #: src/interface.c:2051 msgid "Clear file names" msgstr "" #: src/interface.c:2054 msgid "Clear all file names in the \"Files:\" drop-down list" msgstr "" #: src/interface.c:2057 msgid "Clear containing text" msgstr "" #: src/interface.c:2060 msgid "Clear all patterns in the \"Containing:\" drop-down list" msgstr "" #: src/interface.c:2063 msgid "Clear look in history" msgstr "" #: src/interface.c:2066 msgid "Clear all directories in the \"Folders:\" drop-down list" msgstr "" #: src/interface.c:2069 msgid "Reset size/modified options" msgstr "" #: src/interface.c:2072 msgid "Reset the size and modified search criteria." msgstr "" #: src/interface.c:2075 msgid "Select which data to delete:" msgstr "" #: src/interface.c:2080 msgid "Warning: Once cleared, history cannot be recovered!" msgstr "" #: src/interface.c:2146 msgid "Test Regular Expression" msgstr "" #: src/interface.c:2164 msgid "Test Expression:" msgstr "" #: src/interface.c:2171 msgid "sample" msgstr "" #: src/interface.c:2179 msgid "Sample Text:" msgstr "" #: src/interface.c:2194 msgid "" msgstr "" #: src/interface.c:2196 msgid "" "To see the results of your regular expression click apply. Once done, simply " "close the window. Searches are case sensitive.\n" "\n" "Note: this tool will only highlight the first match found." msgstr "" #: src/interface.c:2210 msgid "Status:" msgstr "" #: src/interface.c:2315 msgid "Expression Wizard" msgstr "" #: src/interface.c:2332 msgid "Text begins:" msgstr "" #: src/interface.c:2339 src/interface.c:2388 src/interface.c:2477 msgid "Don't know" msgstr "" #: src/interface.c:2340 src/interface.c:2389 src/interface.c:2478 msgid "Any character" msgstr "" #: src/interface.c:2341 src/interface.c:2390 src/interface.c:2479 msgid "The character" msgstr "" #: src/interface.c:2342 src/interface.c:2391 src/interface.c:2480 msgid "Any one of these chars" msgstr "" #: src/interface.c:2343 src/interface.c:2392 src/interface.c:2481 msgid "Any char except these" msgstr "" #: src/interface.c:2344 src/interface.c:2393 src/interface.c:2482 msgid "The phrase" msgstr "" #: src/interface.c:2345 src/interface.c:2394 src/interface.c:2483 msgid "Space(s)" msgstr "" #: src/interface.c:2346 src/interface.c:2395 src/interface.c:2484 msgid "Any numeric character" msgstr "" #: src/interface.c:2347 src/interface.c:2396 src/interface.c:2485 msgid "Any text character" msgstr "" #: src/interface.c:2355 src/interface.c:2404 src/interface.c:2493 msgid "that occurs" msgstr "" #: src/interface.c:2363 src/interface.c:2412 src/interface.c:2501 msgid "Once" msgstr "" #: src/interface.c:2364 src/interface.c:2413 src/interface.c:2502 msgid "One or more times" msgstr "" #: src/interface.c:2365 src/interface.c:2414 src/interface.c:2503 msgid "Zero or more times" msgstr "" #: src/interface.c:2366 src/interface.c:2415 src/interface.c:2504 msgid "Possibly once" msgstr "" #: src/interface.c:2429 msgid "" "Each row creates a new part to the rule, with the order reflecting the order " "in which the rule is to be matched." msgstr "" #: src/interface.c:2437 msgid "Add" msgstr "" #: src/interface.c:2441 msgid "Creates a new row in the list with the following rule." msgstr "" #: src/interface.c:2443 msgid "Update" msgstr "" #: src/interface.c:2447 msgid "Updates a rule that was selected for the modify function." msgstr "" #: src/interface.c:2449 msgid "Modify" msgstr "" #: src/interface.c:2453 msgid "Modifies an existing row in the rule table." msgstr "" #: src/interface.c:2455 msgid "Delete" msgstr "" #: src/interface.c:2459 msgid "Deletes an existing row in the rule table." msgstr "" #: src/interface.c:2461 msgid "Text contains" msgstr "" #: src/interface.c:2470 msgid "Text ends:" msgstr "" #: src/interface.c:2523 msgid "This is the expression that will be copied back to the main screen." msgstr "" #: src/interface.c:2527 msgid "Convert Internals" msgstr "" #: src/interface.c:2530 msgid "" "Some characters (such as . | ^ $) are reserved in certain circumstances.\n" "\n" "If you know what you are doing with these characters, unselect this checkbox." msgstr "" #: src/interface.c:2533 msgid "Resulting expression" msgstr "" #: src/interface.c:2546 msgid "Help with the Regular Expression Builder" msgstr "" #: src/interface.c:2552 msgid "Discard any changes." msgstr "" #: src/interface.c:2559 msgid "Accept the resulting expression, and add it to the search rules." msgstr "" #: src/interface.c:2728 msgid "Configuration" msgstr "" #: src/interface.c:2745 msgid "Force single window mode" msgstr "" #: src/interface.c:2750 msgid "Use extended regular expressions" msgstr "" #: src/interface.c:2753 msgid "" "Extended regular expressions are recommended as they provide more " "functionality." msgstr "" #: src/interface.c:2756 msgid "Prompt before saving state" msgstr "" #: src/interface.c:2759 msgid "Force a prompt before settings are saved." msgstr "" #: src/interface.c:2761 msgid "Prompt before deleting files" msgstr "" #: src/interface.c:2764 msgid "Force a prompt before any files are deleted" msgstr "" #: src/interface.c:2767 msgid "Match strings within binary files too" msgstr "" #: src/interface.c:2771 msgid "Check this to allow" msgstr "" #: src/interface.c:2773 msgid "Global Settings" msgstr "" #: src/interface.c:2785 msgid "Default text editor:" msgstr "" #: src/interface.c:2792 msgid "Default folder explorer:" msgstr "" #: src/interface.c:2799 msgid "Binary/Executable" msgstr "" #: src/interface.c:2805 msgid "Attributes" msgstr "" #: src/interface.c:2811 msgid "Default web browser:" msgstr "" #: src/interface.c:2823 src/interface.c:2841 #, c-format msgid "Text editor attributes: %f=filename, %d=directory" msgstr "" #: src/interface.c:2824 #, c-format msgid "%f" msgstr "" #: src/interface.c:2832 #, c-format msgid "File explorer attributes: %f=filename, %d=directory" msgstr "" #: src/interface.c:2833 #, c-format msgid "%d" msgstr "" #: src/interface.c:2842 #, c-format msgid "-new-tab %f" msgstr "" #: src/interface.c:2850 msgid "Paste and edit full file name of your preferred text editor." msgstr "" #: src/interface.c:2858 msgid "Paste and edit full file name of your preferred file explorer." msgstr "" #: src/interface.c:2866 msgid "Paste and edit full file name of your preferred web browser." msgstr "" #: src/interface.c:2877 msgid "Find default executables:" msgstr "" #: src/interface.c:2882 msgid "Auto search..." msgstr "" #: src/interface.c:2886 msgid "System Calls" msgstr "" #: src/interface.c:2898 msgid "End of row separator:" msgstr "" #: src/interface.c:2905 msgid "Use ASCII or C style construct e.g. \\n" msgstr "" #: src/interface.c:2907 msgid "\\n" msgstr "" #: src/interface.c:2915 msgid "Value/field separator:" msgstr "" #: src/interface.c:2922 msgid "Use ASCII or C style construct e.g. , \\t ;" msgstr "" #: src/interface.c:2924 msgid "," msgstr "" #: src/interface.c:2932 msgid "Text delimiter:" msgstr "" #: src/interface.c:2939 msgid "Use ASCII characters e.g. \" # $ '" msgstr "" #: src/interface.c:2941 msgid "\\\"" msgstr "" #: src/interface.c:2945 msgid "Csv Export" msgstr "" #: src/interface.c:2957 msgid "Remove all saved settings (restart required to complete):" msgstr "" #: src/interface.c:2962 msgid "Reset all" msgstr "" #: src/interface.c:2970 msgid "Current Config file location:" msgstr "" #: src/interface.c:2978 msgid "Location of your current searchmonkey configuration settings file." msgstr "" #: src/interface.c:2986 msgid "Save settings immediately (normally occurs on exit):" msgstr "" #: src/interface.c:2991 msgid "Save now" msgstr "" #: src/interface.c:2995 msgid "System" msgstr "" #: src/interface.c:3007 src/interface.c:3013 src/interface.c:3570 #: src/interface.c:3577 msgid "Searching for system files, please wait..." msgstr "" #: src/interface.c:3106 msgid "Save results to CSV file..." msgstr "" #: src/interface.c:3178 msgid "Import Criteria" msgstr "" #: src/interface.c:3205 src/interface.c:3387 msgid "File Selection" msgstr "" #: src/interface.c:3227 msgid "File Name import" msgstr "" #: src/interface.c:3230 src/interface.c:3263 msgid "Use the file in an identical to way to that of the grep -f command." msgstr "" #: src/interface.c:3234 msgid "Containing Text import" msgstr "" #: src/interface.c:3237 src/interface.c:3270 src/interface.c:3452 msgid "Import a file identical to that generated by the export command." msgstr "" #: src/interface.c:3241 msgid "Import Location" msgstr "" #: src/interface.c:3260 msgid "Grep style file (1-entry, OR each line)" msgstr "" #: src/interface.c:3267 msgid "Searchmonkey style (1-entry per line)" msgstr "" #: src/interface.c:3274 msgid "Import Type" msgstr "" #: src/interface.c:3361 msgid "Export Criteria" msgstr "" #: src/interface.c:3409 msgid "File Name Export criteria" msgstr "" #: src/interface.c:3412 msgid "Save the File Name drop down entries into a file." msgstr "" #: src/interface.c:3416 msgid "Containing Text Export Criteria" msgstr "" #: src/interface.c:3419 msgid "Save the Containing Text drop down entries into a file." msgstr "" #: src/interface.c:3423 msgid "Export Source" msgstr "" #: src/interface.c:3442 msgid "Save active/displayed entry only" msgstr "" #: src/interface.c:3445 msgid "Just save the currently displayed entry to a file." msgstr "" #: src/interface.c:3449 msgid "Save all entries (1-entry per line)" msgstr "" #: src/interface.c:3456 msgid "Export Type" msgstr "" #: src/interface.c:3526 msgid "Auto Complete" msgstr "" #: src/interface.c:3552 msgid "" "Please be patient!\n" "\n" "Searching for executables to perform the following functions:\n" " * text editing/viewing\n" " * folder browsing\n" " * web browsing\n" "\n" "The search algorithm uses a set of standard executables for all systems, and " "then attempts to find them on your local disk.\n" "\n" "Once complete, press OK to store the executables." msgstr "" #: src/interface.c:3557 msgid "Search progress" msgstr "" #: src/interface.c:3560 msgid "Please wait..." msgstr "" #: src/interface.c:3619 msgid "About searchmonkey" msgstr "" #: src/interface.c:3651 msgid "" "Regular expression power search utility written in GTK+ and licensed " "under Lesser GPL." msgstr "" #: src/interface.c:3659 msgid "Copyright (c) 2006-2007 Adam Cottrell" msgstr "" #: src/interface.c:3686 msgid "Credits" msgstr "" #: src/interface.c:3735 msgid "searchmonkey Credits" msgstr "" #: src/interface.c:3763 msgid "" "Project Manager:\n" "Adam Cottrell \n" "\n" "Programming:\n" " Adam Cottrell \n" " Salil Joshi \n" " Yousef AlHashemi\n" "\n" "Artwork:\n" " Peter Cruickshank\n" msgstr "" #: src/interface.c:3765 msgid "Written by" msgstr "" #: src/interface.c:3780 msgid "Adam Cottrell (en_GB)" msgstr "" #: src/interface.c:3782 msgid "Translated by" msgstr "" #: src/interface.c:3826 msgid "Select Date..." msgstr "" #: src/callbacks.c:384 msgid "http://searchmonkey.sourceforge.net/index.php/SearchMonkey_User_Guide" msgstr "" #: src/callbacks.c:392 msgid "http://sourceforge.net/support/getsupport.php?group_id=175143" msgstr "" #: src/callbacks.c:408 #, c-format msgid "searchmonkey %s" msgstr "" #: src/callbacks.c:435 msgid "http://sourceforge.net/forum/?group_id=175143" msgstr "" #: src/callbacks.c:719 #, c-format msgid "Internal Error! Unable to find calling wizard type!" msgstr "" #: src/callbacks.c:732 msgid "" "http://searchmonkey.sourceforge.net/index.php/Regular_expression_builder" msgstr "" #: src/callbacks.c:1068 msgid "File Expression Wizard" msgstr "" #: src/callbacks.c:1070 msgid "Context Expression Wizard" msgstr "" #: src/callbacks.c:1111 msgid "0%" msgstr "" #. Browse to a new release notes subset. Note redirect required by website #: src/callbacks.c:1125 #, c-format msgid "http://%s.sf.net/index.php?title=V%s_Release_Notes" msgstr "" #: src/callbacks.c:1139 msgid "" "Are you sure that you wish to delete the config file, and restart " "searchmonkey?" msgstr "" #: src/callbacks.c:1145 #, c-format msgid "Error! Unable to remove config file %s.\n" msgstr "" #: src/callbacks.c:1175 msgid "http://sf.net/forum/?group_id=175143" msgstr "" #: src/callbacks.c:1491 msgid "Error! Invalid 'file name' regular expression" msgstr "" #: src/callbacks.c:1515 msgid "Error! Invalid 'containing text' regular expression" msgstr "" #: src/support.c:90 src/support.c:114 #, c-format msgid "Couldn't find pixmap file: %s" msgstr "" #: src/search.c:81 msgid "Error! MoreThan file size must be positive value" msgstr "" #: src/search.c:99 msgid "Error! LessThan file size must be positive value" msgstr "" #: src/search.c:119 msgid "Error! Invalid 'After' date - format as dd/mm/yyyy or dd mmm yy." msgstr "Error! Invalid 'After' date - format as mm/dd/yyyy or mmm dd yy." #: src/search.c:124 src/search.c:144 msgid "%d %b %Y" msgstr "%b %d %Y" #: src/search.c:139 msgid "Error! Invalid 'Before' date - format as dd/mm/yyyy or dd mmm yy." msgstr "Error! Invalid 'Before' date - format as mm/dd/yyyy or dd mmm yy." #: src/search.c:284 src/misc.c:454 msgid "Error! Look In directory cannot be blank." msgstr "" #: src/search.c:295 src/misc.c:465 msgid "Error! Look In directory is invalid." msgstr "" #: src/search.c:303 src/misc.c:245 msgid "Error! Invalid File Name regular expression" msgstr "" #. Test textSearchRegEx reg expression is valid #: src/search.c:309 src/misc.c:255 msgid "Error! Invalid Containing Text regular expression" msgstr "" #: src/search.c:486 src/search.c:580 #, c-format msgid "Phase 1 searching %s" msgstr "" #: src/search.c:589 #, c-format msgid "%s\n" msgstr "" #. Update the status bar #: src/search.c:693 #, c-format msgid "Phase 2 starting..." msgstr "" #: src/search.c:727 #, c-format msgid "Phase 2 searching %s" msgstr "" #: src/search.c:991 #, c-format msgid "%d bytes" msgstr "" #: src/search.c:993 #, c-format msgid "%1.1f KB" msgstr "" #: src/search.c:995 #, c-format msgid "%1.1f MB" msgstr "" #: src/search.c:1022 #, c-format msgid "%s-type" msgstr "" #: src/search.c:1032 msgid "Unknown" msgstr "" #: src/search.c:1085 #, c-format msgid "%d file found" msgstr "" #: src/search.c:1087 #, c-format msgid "%d files found" msgstr "" #: src/search.c:1090 msgid " [inv]" msgstr "" #: src/search.c:1097 msgid " [cancelled]" msgstr " [canceled]" #: src/savestate.c:41 #, c-format msgid " %s settings auto-generated - Do not edit!" msgstr "" #: src/savestate.c:76 msgid "" "Configuration files are for a different version of Searchmonkey. This may " "cause errors. Delete old configuration files?" msgstr "" #: src/savestate.c:142 msgid "About to overwrite save configuration. Do you want to proceed?" msgstr "" #: src/savestate.c:158 #, c-format msgid "Error saving %s: %s\n" msgstr "" #: src/savestate.c:180 msgid " [missing]" msgstr "" #. Add columns to the list #: src/savestate.c:532 msgid "Name" msgstr "" #: src/savestate.c:541 src/savestate.c:1299 src/systemio.c:97 msgid "Location" msgstr "" #: src/savestate.c:550 msgid "Size" msgstr "" #: src/savestate.c:559 msgid "Type" msgstr "" #: src/savestate.c:568 msgid "Modified" msgstr "" #: src/savestate.c:577 msgid "Matches" msgstr "" #: src/savestate.c:708 #, c-format msgid "Ready" msgstr "" #: src/savestate.c:1502 src/savestate.c:1544 #, c-format msgid "Line Number: %d\n" msgstr "" #: src/savestate.c:1525 #, c-format msgid "" "\n" "Internal error %d! Unable to highlight line - offset beyond line-end.\n" msgstr "" #: src/savestate.c:1526 #, c-format msgid "Please email all debug text to cottrela@users.sf.net.\n" msgstr "" #: src/savestate.c:1527 #, c-format msgid " Debug: fn='%s'\n" msgstr "" #: src/savestate.c:1528 #, c-format msgid " Debug: tc=%d + os=%d || oe=%d\n" msgstr "" #: src/savestate.c:1529 #, c-format msgid " Debug: %d) '%s'\n" msgstr "" #: src/savestate.c:1585 msgid "Options: " msgstr "" #: src/savestate.c:1597 msgid "case sensitive; " msgstr "" #: src/savestate.c:1603 msgid "display 1 extra line around match; " msgstr "" #: src/savestate.c:1606 #, c-format msgid "display %d extra lines around match; " msgstr "" #: src/savestate.c:1610 msgid "only showing line numbers; " msgstr "" #: src/savestate.c:1616 msgid "only showing first content match; " msgstr "" #: src/savestate.c:1619 #, c-format msgid "only showing first %d content matches; " msgstr "" #: src/savestate.c:1625 msgid "none" msgstr "" #: src/savestate.c:1629 msgid ".\n" msgstr "" #: src/regexwizard.c:88 msgid "Did not match any." msgstr "" #: src/regexwizard.c:90 msgid "Found 1 match." msgstr "" #: src/regexwizard.c:92 #, c-format msgid "Found %d matches." msgstr "" #: src/systemio.c:96 msgid "File name" msgstr "" #: src/systemio.c:98 msgid "File size" msgstr "" #: src/systemio.c:99 msgid "File type" msgstr "" #: src/systemio.c:100 msgid "Modified date" msgstr "" #: src/systemio.c:165 msgid "No results to save!" msgstr "" #: src/systemio.c:184 #, c-format msgid "" "A file named \"%s\" already exists. Are you sure you want to overwrite it?" msgstr "" #: src/systemio.c:275 msgid "File was empty/invalid." msgstr "" #: src/systemio.c:296 src/systemio.c:405 msgid "Error! No valid file selected." msgstr "" #: src/systemio.c:349 msgid "" "Error! You must select at least one entry in order to save drop down list." msgstr "" #: src/systemio.c:373 msgid "Error! Unable to find first combo entry. Is drop down list blank?" msgstr "" #: src/systemio.c:442 #, c-format msgid "" "Illegal escape sequence: '\\%c'.\n" " Valid escape characters are: b n r t \" \\" msgstr "" #: src/systemio.c:460 #, c-format msgid "" "Input string expands into non ASCII, or multi-byte key sequence: '%s'.\n" " Please try to use ASCII safe keys" msgstr "" #: src/systemio.c:472 #, c-format msgid "" "Multi-byte string entered: '%s'.\n" "Truncating extra character (%c)" msgstr "" #: src/systemio.c:543 msgid "100%" msgstr "" #: src/systemio.c:578 #, c-format msgid "" "Run configuration to set default web-browser:\n" "\"%s\"" msgstr "" #: src/systemio.c:591 #, c-format msgid "" "Run configuration to set default text editor:\n" "\"%s\"" msgstr "" #: src/systemio.c:604 #, c-format msgid "" "Run configuration to set default directory/folder browser:\n" "\"%s\"" msgstr "" #: src/systemio.c:766 msgid "Cannot delete file as name was not selected." msgstr "" #: src/systemio.c:789 #, c-format msgid "" "Are you sure you want to delete:\n" "\t'%s'" msgstr "" #: src/systemio.c:829 msgid "Cannot copy full file name as name was not selected." msgstr "" #: src/systemio.c:1044 #, c-format msgid "%s Error! Unable to split %s with %c\n" msgstr "" #: src/systemio.c:1053 #, c-format msgid "%s Error! Unable to duplicate string vector\n" msgstr "" #~ msgid "" #~ "Wizard Help\n" #~ "Welcome to the Expression Wizard. This wizard can help you define exactly " #~ "what you are searching for.\n" #~ "searchMonkey uses regular expression to describe the patterns for string " #~ "matching. Regular expressions are very powerful, but they can also be " #~ "daunting for new users.\n" #~ "Some text characters are reserved as regular expression syntax, rather " #~ "than having its general term. This Wizard recognises that, and will " #~ "automatically prompt you if conversion is about to take place.\n" #~ "If you do not know how the text begins or ends just add your criteria in " #~ "the 'Followed by' list. Use drag and drop to re-arrange the rows of the " #~ "middle section.\n" #~ "Expression wizard does not provide all the functionality of regular " #~ "expressions, but if you know how to construct regular expressions you can " #~ "specify it yourself. Just add your regular expression as type 'Phrase' " #~ "in the 'Followed by' list and switch off escapes when prompted.\n" #~ "\n" #~ "To find out more about regular expressions see the XSearch User Guide.\n" #~ "\n" #~ "http://searchMonkey.sourceforge.net/index.php/Regex_wizard" #~ msgstr "" #~ "Wizard Help\n" #~ "Welcome to the Expression Wizard. This wizard can help you define exactly " #~ "what you are searching for.\n" #~ "searchMonkey uses regular expression to describe the patterns for string " #~ "matching. Regular expressions are very powerful, but they can also be " #~ "daunting for new users.\n" #~ "Some text characters are reserved as regular expression syntax, rather " #~ "than having its general term. This Wizard recognizes that, and will " #~ "automatically prompt you if conversion is about to take place.\n" #~ "If you do not know how the text begins or ends just add your criteria in " #~ "the 'Followed by' list. Use drag and drop to re-arrange the rows of the " #~ "middle section.\n" #~ "Expression wizard does not provide all the functionality of regular " #~ "expressions, but if you know how to construct regular expressions you can " #~ "specify it yourself. Just add your regular expression as type 'Phrase' " #~ "in the 'Followed by' list and switch off escapes when prompted.\n" #~ "\n" #~ "To find out more about regular expressions see the XSearch User Guide.\n" #~ "\n" #~ "http://searchMonkey.sourceforge.net/index.php/Regex_wizard" searchmonkey-0.8.1/po/ChangeLog0000664000076400007660000000015510561732772013350 0000000000000022-11-2006 Adam Cottrell * Added example en_GB.po and symbolic link en_GB.UTF-8.po searchmonkey-0.8.1/po/POTFILES.in0000664000076400007660000000030610561732772013351 00000000000000# List of source files containing translatable strings. src/main.c src/interface.c src/callbacks.c src/support.c src/search.c src/savestate.c src/regexwizard.c src/systemio.c src/misc.c src/lgpl.h searchmonkey-0.8.1/pixmaps/0000777000076400007660000000000010561733043012712 500000000000000searchmonkey-0.8.1/pixmaps/searchmonkey-16x16.png0000664000076400007660000000176110561732766016631 00000000000000‰PNG  IHDRóÿasBIT|dˆtEXtSoftwarewww.inkscape.org›î<ƒIDAT8MÈIlU‡ñÿ{³í™Œ;vb')‰ƒiI‚„p)( (•Ê Μ¸½ DNÀ €ä¢¬…B¡t%DE¡AP mÚl8›ÏŒí™÷æq©Ÿô]~°_j=会éBàÿ/&µìG¯ÄŸwì›=÷Y÷Hz¼ý‰›²v.q‡õò®ÉÒÉÔ¹ÇÌgìT|ÐúJ îýÚßûÐ~àA#+DïÐ^h.6-üWf<ÿB õf¶31h!Ͳ_=óþKé»n¥uîP[¼6G…f´¡„}«:±ùZbÈ>¦fÔ»IæƒÂ7f—¹«±X?¦®†ïþÃŽ—"]×á­Î‚ÀÌÜŠFÃÃ,Uù‰áÚ%/Eg¨&?¬6ߓ͞؃þ÷›§ª8Ø·7‡­öîÛª¹+¿| )¬¢÷íà ˆMþ ÍÿôO—yÙ ™/[r+)}ØÍG?õH>ÖBÖ¶›Ñ#GŸ¥7ÔAš ÏQÔ—­œ¡–·›øøÂ<W¤åº‹³‡ôhvÒÃp¾Hß_FŒJ¨¨%ôÒÜS„׬ã:ËãÔÔ*D´˜ J¤£÷Ý…¡Ž´]ô“”ê e!!B¢r?àX¯Öðú;Çqyòü€áâ_.äD–6]„Ð!™"ÆÉT!½ã1r’#£Å"ÇÐXùȘ:]M ª. %Ù†|GÝþÏÐH€·†ÏO}ªçaÕñí‡d<Õ:6_$"¼\½rp` °;£ÀNÄÑÖYDÊŒ°º¾…ßVB$c R1aPÇq6ƒ‰{ä! 2«P4uaYÉh¶J!ÙrV Î×j¸Ê$¤« ’Šš. X€ý6‚J€kûôž…¹¸s¨ ?d˜›E,:‡¨mA± ¼NaûÉV×€$Ò/%GS ]:ùÉ]ƒ2µˆÎLÝùÒŽ…lÊF¶Õë.ãé¹wñ÷aR‹Œp‹Á(˜ goDå0n1A!¡zn=êž hy'%bí XÚ®à“Ü:ü#i47êB þ§/˜Ï¯Â‰¯W\¢µ«ˆ—$¨0D.‡P#¨!›÷ázZ‡£×D£âÛvY¼Ïž4JK¬'©JF+èîFºb*$Ü`¢±Ð jÑ@ÀfWÁFƒG;œ¹xCËiÅ(`õR™ Ö;û IEND®B`‚searchmonkey-0.8.1/pixmaps/searchmonkey-32x32.png0000664000076400007660000000613710561732766016627 00000000000000‰PNG  IHDR szzôsBIT|dˆtEXtSoftwarewww.inkscape.org›î< ñIDATX…–kŒœÕ}Æç¼·¹ÏîÌìììÍëÛzÁ7ÛØà`0S§Š€B©ZR)·ŠTQ/´J©Ú&REZEiÚÐ|hJHTSƒ]ƒ±16k¼ëõÚ»ÞÝÙûí™÷=§ŒÜTjItt¾ü¤ç9zéÿ‡ß0 ­5ÿßký~(ü~ß?ÇžHnýulô[‰ÝO¦|#ƒ«CŸ‹>–x#ñÝÌŸÚ‡úù”{"98ôÕÿ\l”[~ÿÓX€Ø–ø7¥-¦>‘'ËŒñ'Á5¡Û‡]}²ÿùU¿>Ý-öYƯ‚æï#ÑͱŸ˜ÝÖŽòÑÒ~x÷wÒ¿¿¡ûsí¬7ü1áG»¾.´ÖDÿ"±®ë¦Ä3±kc[ç¹Êûåsîló‡­Kî³áÑ«ŸM<ç•=³½Øz窿)=nYzg@èÝ®¯v:â°ÌÔϼþºöÄ>K¤îN¿œ¸5¹;ûìÂ_{íãÙ‡ç^øUñÔúµ{ìß½b@ì³bC ¿™¸55¶ôB¶‘Ü ç¼¥N*“ ZýO×äŠF¢4œJŽÚ]1G T\©sÕvi.WªOçç_Ý9Ò¾?µÓNXjú¯ÏnÏ<8üÔ½ö^ÿ~ß·zïïÿ³Üþ쿚ÿÃÕ=é…#»æ~4;«\exM?èç½5/VÅŽPŒë‡¯¦¾8ÙÝ©^ ³\§ @DÊ w÷¥Ý7oãðùù/}j^|4fcŒ%»Ç ýQr¨ñ·ùÙÄße¾|±9Óh4gšçd-öY¡ý«^ˆ_×õ—º¥Î7&êS÷«bÃs®x`à6‡5O¿I17ת!‚+¯ßªQÊÍ3{ê ÆB>44&¶}hlKzþ^·ü™ÈÆÐoš¿ :ß “ewºù”èù—b`(X—R(g  ²ÏÌßYy¯|!¼)rdÄûâðVj³bÇzX;º€é‰q:•,Q?ªf««Ÿµ£›qÝ&§'ñÊYÂC›yZ¤O­P€g÷ØNcª‘ ® †Ú í³Ù§ç7ˆ—VéèÖ8¹ý‹ À—–¿< ë;éŸö¤B÷ßs¨‡¡N–•ë6³ó†Ï [5´VH3ÀÇç§ùàЋc»ö1ºf%ªUi (‡ß;ÆÌ™÷˜±ûÔ=ùŽqKÜ).BG«út}¶{{âdõxù¼\¯zˆBÇ^ÿ|ýž[~yrpKH‡–õH_Fø^œ¶m£TX¦Ö¿3’DH“x²F§»:ÉÈ`¯œ!@Ht«ÆÎ­cdç.°Î0dê`Åê(Iâ¹þÖˆœT"ì^jFÂë#_#“uíå<›6¹Áö–[óµ 7 ;Ü|óèÄÕtmÚËœÈR.•Raî¹q„¥©X±ðÑ×hzêcZfí }SУÔàÄV`a"¶ÊÇĈoÚË3¯}ÌH¯Í½»7sïm×rýUIž}å}›8ØŠö:èvÕj¢ÚMt«AW$€V>Ë!lÄ1ã«)º7%L2?\ÕÏÔΚ¿ªèÉR$ȃ{ï 1@)žøé; ÞÊ»8xlŽ­kº¸jÍ0Ò4Y*T0aV¦Ã¼ôÖ‡ÜwëN>û6CXR€öÑÊÃÁ!1 Á|~f¤›‰lƒ—¾DÂí ;;¤{°ÐNG-Ñ!@_Wíµ8Rh­Á Q¯–èK§h¸.ç)Š||î"•RåùXv€?fœ¯~ï-¤AÚa¤ÆÕ6Z+ a Õn2:œ¦­’ÚÆZò¤•v‚J íµ‘VéDp,‰0Bh¾¯iûŠb±ÄìÜçÎOóóP.å ÙšZ³Ãðð0'Î-]—v„¥Ri8Ø–D:t§~„@kIt{Ü1K—åŽ"$]–‹eÒé>¤ÀSÐÆ¡Õ¬cÙfg.‘ öx…SžBkÅ—îÙΙ‚cøä³3|ýþÏ"0øÒ‰ròÍŸÑ–!”r¦ƒö=¦/eAµÈµ;0ÃþÉèãú`‘ÕŸ¡TosðÈq²ùªî¶E´o=£›¶ðá¹¢ÁŠ„ íï» ©~¤›ç‘;†Ù¾q5Bš „aâËÙ §˜Ê¹L^¸À¥Å¿|ï¡ ÅÙP›¹˜ÆÐ«x¼o¼ÃŠhˆåB‰Ù‚Ú²º[^½q [V&hXi¢‰>Î^ªGY?º–e•DÆú¸mëJÆÇÇq«%2‰(B!Á÷Ȥ3´±%ŽOeA{8‡•:»tïíÁ4£2áðñ€"¬I¤èÓS°R·#×mÛ‰áÕéÉ¢noä;¯%Wéà¶=®ï 3;s‘©©)þó軬ZµŠåz[6¤AJ@ =—­×ÝÈéã‡À±x¯«E5Ø¢ô@];»è”ÚH+m¡ÚŠŽ¯¸´Þl]4üï¥ãA/Ž`BZD‚6›*§_¦~þ0…“äÎb$TbáüGìÛ·ùùy.”%ûe†0,0,,à ë&SùJ†ÜíQ%—ƹ‰²½ÔˆHŒˆÄo+ÇwØ+Q†iX—g­xžiÐ×bc¿ÃØ@5)áwí£2?Áž={p]—\^8‘§åû—£LÃBú jª®„‰ïìÂJÚH÷B­É»{ˆmáÜï)¶:¢Z)¢¥RŠ©™yNŽŸ¥X®ü¯«Õ­×­Ç,O³mÛ6víÚÅè5;8}v ¥åRŽÑbþý"‰»S„×GXúE탙yh€úx¹ÍßÞ…ó™®ðÒS%åy6KË9zb!FWÒòàÔä$ÅãLö’HõÉô¡‘,,ÌSÊ-2qáu¢+¶3Úì^¿¥<sYÞI¸L|%IÄW¨†¢kãô‡È¿ºˆØPÙªÝé&ÁUA´Ö\ú‡YâË>{ÎØ¬MFyð÷þÇw/çj9xJ’/×È.˜Í.¢•f0“¡¯·‡t"Ž!4Úo¡½Ë>|íõo3m“øÆ0Õ*ß. š>©½½´[ˆÄ“}Z ŸÞûú°6ÕUœ^÷ŸæØû‘ÁÚÞîèl¡Ð~û¿ &MÄ'mV ”‡ö;Ó¦¡${ùÞ—3G As¦A}¼Jp8Dh]¯êav‡÷]ExC+fa'mj§«4¥ÖÓQ9_$ô•F“¾•Wc;Ë‚ÚG{m´ï].‚4¦« ~üÚ¿ñÇùŸãjŸfËà x§×¡ôf¿ìãWbí»›uu¼ŒÒ©»z0 ÝÒè–Fµ4ãe‚oUôÓJ¤"Aâ‰4‘x’dOéÞA’ÜÒ% ¹,µJž³…K¼ºN£îíCØùÉïµÔå±&µêØ=ŽöÊ‚9<¦µ§©Í•q†Â#*ÇJÃŽI{¹Má%lÇ t¼N8 WÌú"ãƒ%/¯ôž´=ɲ†w:ð`?V¯ƒt¥ãy´¯0¢&jo©­½¼7ï.4è:'ÅÚ7¯Ñ^µCc¶†/ËDîRŒ9+¡5‘›uG©Ö¼+£ë»0 ÕÒäÞX ²2ZBÔ#~m7ª­)-âU:8ÝAœLé:Í…#KÈHÜ’¦$8F" ð]Ïâµôâü‰ÿb¢ñdá}–IEND®B`‚searchmonkey-0.8.1/pixmaps/searchmonkey-300x300.png0000664000076400007660000030024110561732766016754 00000000000000‰PNG  IHDR,,y}ŽusBIT|dˆtEXtSoftwarewww.inkscape.org›î< IDATxœì½wœ$U¹ÿÿ>Õ]§{BOŽ;;³;ØeI˲* "eΨ¨ˆŠè׌ˆá~Æ‹ézQÔk¼×€¨ ŠDAòÂæ83;3;¹'w¬î:¿?ª»§g:LÏlÄÝϾz§«Î©S§«»>õœ' )%§prChª|ø  $w? œ#ýú©È1‚ÐÔ  íó+9ð¹½`ðZé×w<çv¢@Y¸Ë)ü;Chj-pð9µÊ&,Kªéc§ÈêØAhê•ÀC©í±ûGSd%¿ŸYx8EX'1„¦^<\âÝXJÝ›ëEb:p·ôëßÙšÚ(4õ.à. /ò"R]vJ¿>rüfxbÁz¼'p Ç×ÕuW7P¥Õ°÷Ã;Á|®âøNë¤Â/€‹Ü«K¨g#®67{?¶+ÕþÐqš× ‰S„uBhj Ð8¼ç”2ö`€HOàgÒ¯o?žó;Y 4õ$ɪþT^Y‚øtœpg(Õí¡ã4½§ë$‚ÐÔvà÷ÀºÌýú¸ÎàÿõK Š©|?…£ ¡©*ð50%«ª—פÛý°7¥¿Šsаæàa$šz1‚;”—¬óàhvb«±a«±3ýìñq]ß”~ýÐñžëI‚÷+êßÙ˜Þ9þðÿKm~JúõÑc?µ§ë$€ÐÔë€ï¡¥é}ÍT\R™n‹Féùf—Æ€¯¯9žLšê#)É–_ìÃÕæÌï¢ïÖƒ©n÷_?.<‘EXBS×eÀ¿¤_7Žý”NáHAhª¸ø€Åc‘Ënl%kJ ɈˆÁßôK“øœôëSÇs¾'> ”+v…º·Ôæ÷Ñóí.ŒˆæÃãm§ÜJ²1‡°„¦ ~ŠÁÙÀÐÔ;?÷K¿=.3<…%Ahj)ðà2G“C¶ÞÜ.lÕvB!ú¾w0¥Ø>(ýú¯ßlOM]¼ ê5¨6†ÿ0Hhw0Õí:é×Ï OlÌ—°®L’@ pmò5-4õ/À0}tN=‰O`Mmþ¬òœUJËGZ…Å™v¥ó3{I?>"ýúøñ™éI‰oVÕ§RýÊÚôÎéç¦Soï<åÕžóGÿ ü2G?ð:àWÀˆÐÔ¿M½.é%} '„¦^< ¬ªºª†Ö›ÚÈ$+Åi‘@S©{ЬŽ„¦¾x@í[Pì³·Ÿ­Ê–z{ºÐT籟ÝósKúõ˜ôëWŸ+pŒ ¸ø>Ð/4õQ¡©—½)žB±šz-p e×·PM#bÖc:š×Õ ÀÜ|¬çx²"©OüOg»‹òVÌi¯ÒjRwc §wó"ghŽôëÿ\ ÄRû\«ÜÔ¿³ Ï™^„5}à<àv¡©5Ù#±€ÐT‹ÐÔo·YJ,–¶Ï¯¾Wæíï9Ûz»üXÌïx'Iÿ·úkšbîƒÄÙâÄwiUjó­ÇvjÏäuk~ý—BS{0õV¡ÝAd\ÒzS;ŠCaêéIÆ0½e À \$4õàà¥ÀzàÏÀ¯¤_ËwžS8<Mõb*×/·7:dë§Ú…½Ö^ð˜À_Ò¡i:ÊÓ;@hªø@éùå¤,µóa¯OoÕÇffÏ?ˆ…ÒËM]Ü ´¨•6ZonÇÙâ$Úa÷õ;R]÷U@é¼!bÀÀO{¤_O¹éŸÜšº3hvçL/-YŽÅe)xL"”`ç»¶J#lŒ-Ò¯‡Å\OfMý ð atü×Zì5¹(»®ßN¬? Ð'ýzÓ±œãó fk~}° ø'€>cÿ'w3½e {½‹7-¤µ“MV`ê¼^ƒù4ïšúõ¤¯×)„¦¾S¹¾¦òÊjZoj_¬÷Œ`„ |ëY}M]ü?€Ê—Wç%+ÀL$c›ÌQv ó° „•và€7 @ãuÍ(N =·tà\áÂ{V)Þ3J±7Ø™xt‚±F3ýK2ñ$¦Ôõ«S–ªÅAh껀[Q°4^×,2taè»®Ý&ã“ñ Ð$ýúÄQè) 4õ7À묥VVý÷i*ÛÞ¼#”öÕ~¥ôë<s|>¡hÂJ ©Ÿ'#@¶J«¡d½çrj™šó˜h„±Œ?@èYÍÌ.ÿzjÉXBS+€û U6ÝÐ"JÏ)+êØÀ_Gèû~Àפ_?e‰:Êšz>ð@ã{šñ]–ÿÁ޲ëº9I2þ!ýúæ£;ÃçMXBSß üs¹Gé¦2šÿ_ë¿’\†dfë4c˜||Ë:÷f~ ŸI¿¾sÑû7FÒ,Þ„¹Œw`†w¼ âŕԿ£1Ëß*‘C:?·Oê£1SwuÊ“ú(Bhª6:š¬¼e5Â’íb’ÂÄ#ãüF'˜yR7ÒÙÒ¯?}Ô'û<Â’ ÒŠ¿ÊÁô-Yöñ¶L¸‚H„LüsŒ±„öä\2>)uýúd_2 Mu¿´|}lÕ6šnXFÉiž9û¥”î¡ÿg}RêRŸ—~ý³GwƧ 4õÍ$°—vž Þ‚ýûÚLj`3Êà¥_ËÑœçó BS?»dÂJÐéºÐ€öZ;ªÏ†êS±ÕØ)ß\½ÞQpœÈ¡ã(ï’ÑI^÷žlKÆdLàÀf× 7Žf‡™>7ÇÃZ(ߥ•8[]é}#¦ÿG½ÓÀ›¤_?åÊp”‘ôTß4yÎ*eùÍí ³ÿæ=wÌü xqr·´žì)„¦ZÛ€k‹°’ƒUbÊùùúT^YMÃ;¶ÒJC2óÜ4cŽ2ùØ2;X½sÉøSé×wÆ´ŸH†>ýX_va9ÍhÍtÚ- ‰H‚½Þ%cQ œ/ýúãGc®§0 ¡©Ÿ>ß^‹£±ð[’ío~6•©á“À—3š¿,ýúMGo¶'>„¦ÞHòš¶é4™`ìLÏx?fQƒQ2Œ´£w^8ÙƒPž3¼´|x9kr:ïiƵÒÙ¥3la—ÐÔÇ„¦¾Ghjqçç’Ìë}WTÑü¡Å“€ÅaÁµÂ-˜Õ}ÂQ„ÐÔ:’¡5•—W-HVѾHЬîÀŒóLIÑïšêÊyàɃ SoŽˆ¯‡ôëQé×)ýú+¤_ß ýzf¾ð`òˆ/·ßeU¬øê*:¾»–êWÕb-Ÿc…<¸šú«¤NíßBS7`’UkÍëëh¼¶9+”£XħâL>:.Ò¯Ÿ*uôñ%Àmq[¨yC}Q„ö§u¸¤ßãÓÎå.0uÄo;òÓ|^!šqÔ2ŽJ¿šú@jÛ8Œ\dŽFuW7Pû¦z¦Ÿ›bü“O¤—Œà €…ƒü×ËÀja(6…D0ްSh.ŒÝ?ŠŒKü÷‘œç)dChê$É¥æõuX= ß^2.¹s8µùTòïãÀ…®vá!€7b>œO $L/j1åÌe©¶£"9@²²7:–ˆI‰)ñƒEÐüþÊ/òeõô†éþÊ¢fJ™»¤_¿*c¬/{Îô=!6Sên͔ĞïšúÌôU€Ò ÊiùP67$ v]·ýج¥_2évpP3ñqŒ¨AËG—£,!‹FhÏÜïËZ¡Rÿ¶FÊ7Wdõµ×;hxWµo®g컇S?0-/Á :wÑ9 $ó{ÿQØ„ºüÓ¹É LCƒÕkÅê-þ«2tƒÀ}£s©ñûÃëæÕn'fú P’|yr¼ÏÜ0“|MÏû;ÿ}Øÿð®àó2ÝMÒHòà à 2â¼gyq®pç<ÎÑäÄZª¦~ó½ÙSWÛñíµüF'SOMVo~pä?űG2EÒŸ7@Ù…4pYYºÁ¡õ’˜Ž;ežôëÛ„¦nÆ =hšzb’®/í§õ“í MÏGJB{Me¤³ÍEÙùåø®¨Ââ(¬S·8-T½¬šÊ+ª˜~fŠþÿéÍ$®;—ô¡–¡©—w «°µ~ª]Ìÿ[ ¤!‰D w…ˆt… w…w†db*.€Û¤_ÏŠuÊ…Í«ÝSÉß1ïµh&g0Ð…ܼÚÝìÅ kÉ|õ>¼+xÂÕèKf{ý&p ×GØ<§{ð½´ ï¹RÄÍ"|0ÍÑÛæ5= ¡}AE±+Ô¼®.¥¼ŽÂšú"ÌûÎt6»¨‚¦–e©Š&Ÿœ ÿúˆ š÷ê1YΛh &iµ¸W—ÐzsqÉçâ3q&þ1†÷œ2l•Å›ø3ˆ²÷£»0B € ÌÜæ>é×÷Ï›k©ô듹ÆX*’’æÝÂ*­7µ‹Œüê ˆD&I©+ýWʘ1ŸLºg0ë öÍgój· S¢|!fžñ̲é'ªù<ìÃ$¯mÀßÇÞŒ<ê(#3Õ’ZeÃ{v)Þ³J)YçA±-üÖ1v¾+ÍS›¥_ÿǼñ·§­¾m¶*{?¼“pW`£ôëOÑs !4õ2Ìz§€Šùh|_˲Ò1zÿûà|ôÔ1',H‡/ÜGÒªâls±ü³+Šr´;\1ƒ}ŸØM¤;ýdû°3Bþ,L Ý0n~|QúõùOÀE#©˜½‹p.»q¹ðžUZ”Å´ïû™Ù9C´/’™•23˜OäÇ0—@oJA»yµ[ÅüŒcÆ}>ßKI…1£Ät~âá]Á¢¤É#d m'àñ]VIõ͋ÖÉNm™¤ëóégdÅü¬$BSo®m|o3¾K«2ó™ýXúõwþ§8öšú2Ìð#;@Å¥•4¾gn$‡>®sàæ=™+ €ÛšêÃ4cž`«±Qö‚ JÖyp¯.)ê µô~ï cMmN27­ó“˜:ˆùÌ)1­4_\j~"¡©EÁ½ìcËñžSf." ’Öîë·Ñþè"ÖÍP?¡|¡mÄÆ$© Hê þÄt~“ÄžzxW0~´N&4õÀG—…5·†Å½ø‡í°ˆŸö’~½1Ç9N¶¨U6±ê{k‘qÉÎk¶J#j„ºç[Ac¡©¦ ’ À÷Ò*®Í® 4ïݼGúõGá8, 3‘LògÌjv¿*p¯)aÙÇÛŠ^*ƒ±FéýîÁ|ÍQ’¬ 8lÕv"=Yzà»/H¿þX±çMšmïC¡¤åÃË)Ý8KVéù‰+6%L`D ¤.1bR70bï#ÎÝQlwMP1%°È£­r:á1ƒY ãçÀ}ï ±´DBS뀣öõÔ¼®n¡Cr¢ç;ÝŒ?³8ËKóœë·Àk®m¢òŠjzo=ÈØ½£×K¿þ¼ ·šúàÿHZO epéúò¦žH»JVJ¿HmWZé×'“ëÙo/'éá*u3ÍÌÔS“9-KA¸;Dßz u±ƒ©‹¨}S=e畣ئŸ›bè·™^õWWMý&q=\hФKǽ@IÍkêLÉ*Ï3B"s’–­:áeoÕ?Žú§ ”Ñ8G3xAQvUÅaW±Yœ6›jÁ¦ZqجØT+6ÕÜÓÄt˜'‹ÓãÄôá˜N,n‰êDuÃ8*Í̼7›W»ÿøùû‚Û æOÒ¯oYÂØŸ•Ê—/½"WÆÃ°ºá‹Àk‡~7HÅ‹+ñ]Z•"¬ëxžÄ‡ M}¦êÅ fZõú·g ”iÌ3Â5`Z‘Í±Ž§„•‰dJÙõÀg€WÔ¿³‰ª+¿D["”`ïGv¥- ŠË’R¸Ïžß*¨ze 5¯®ËiµœÙ>ÍÐo˜Ù–áò0&qý-×¹…¦~¸‘¤ÎȹÜEùÅ>Ê/(ÇRb#a»D8êŸ'PýãXvG øEBUU*ËÜT•yð••à+-¡¼ÔC©§„·+·©p1œÌÞ CLLÏ0>9M`r†ÀÄ #ÓŒNÑ‹3r.[†=‰îΪÄ+u+s‰òéd–„!4µSù¯Ö½µêWÖ.iÒl{ã³È˜ðVé×óÆz Mý# Õ¿£‘ª—×°÷£»RAÑçK¿þ¯%MàAhêÕÀO0“PýêZêÞÒPð˜ŒtÑ`~7_Lmœ01JÒ¯KÌØ¿ô/Ô½úȨ]z¾Ó=kµ)‘¹dåÙà¥áÚ¦‚™QKNóPrš‡àî†nÈ´^lîšú&qÝ 4Õ†©7j!¥à¤ÜøYÞeT\ì£d½gŽ…$§¤—XïŸÂúû1ÔGg‡éæª( •e´5TRWUAyi eÞÜNóƒ²øèpV›óÇ–PâvQâvÑX[=‡Ï Áp„É©Æ&gãÀ¡QFÇ&0Œ%_€3ª§-gTM+Œ¹¥ö&^?Z"_-4õ€ÿ~=Û#y.>¨Ö2+•W,ýaŠ¥È KX`–¸×¦žš¤êå5ø.«¢ï¿‚)e°„%4õàG$Åþš×ÖQû¦…Sîx6xÀ" !®Ä”2Í1O +¡©¾f%ܶ/uä­ÆS Æÿ9FÏvålS}*õïl¢ì¼òœí…Údè·L=™åõð4æü?¬*f¬ö/uàZáέ׊ƒzç8öŽ ô.ÝŠ¯X,Tû|,o¬fY}%õµ•”Ø ?¯Š!ª¥pWÎ_\É+f¢qúGéo˜á@#±tUX•ôV$öa)ø.ð•\u„¦®Æ ¬WWúŸ||‚%Ò¯çÍp)4õ\à±ÒMe,ûD‰HÂT¾GŒ(¦òý„Ššúnàû$"5o¬§vº¾]×m#6ƒyq”'Œ„•[K+¢ýQ|f/í_ìX”§w RJ†oÏzeT]UMÍëêt8ÍW»›eŸl#ÜbøöA&KÿfÎ"™ÊÅÕQ‚Å©$ç’üOÒœ›Ùöfgö3°ýaûGP¿,²ZUª««im¨¢¥¾ŠúªrÜ6…bãÎEÖ›mKDæñ2ÏNA~Ò*±[YÙRËÊ–Z¤„`Ì dœƒý#taxx˜x¼økæÔ+‡¬4¤³·"ññ!¯ñn¡©_Ç,6Êèúy@Q}*¾Ë*‹?2ôWû ‘Ue€©BÀÌ"[~‘OîqoÅÌLrÂ@hêõÀwI~«µoi æÕÅ/õqØlm‡97ð GXүDަ¾³Rô‹¢½|v/m_X‰µdqÓ|l‚HÏ\OÉ/ ïhÌ ^ô<“„ã\æ¢å£Ë‰ô„ºc€ÉGLâ*;¯œÆë–eé¨D–ÎÊ,(!1—GD lwŒcÿéÊðâ¬òŠÅB]]ëW6³rY=¥Ž¹U ш¼GÇÕ=5¦œ¿Sæi›¼€»ÂŠF+}H¹ŠÉˆÁÞî~¶îía`àPÑÒ—#.X1l¥yL–õ•'¾4Xj|@hêǤ_ÿE2õÉ«§…¡ÛpÔ;°78°7: –XË…"î)”s’8ú.­$pϘˆ°„¦þ?LïêÞÖ@õ+§ç½{8µÓg+ް¤_$S®Ü\éÓùù}´}neÑnRJ†~k’³­ÎNùE>Ê_XQ¸Tø¢':ûÖÑäÄæ3Çv­*¡þš¦œwšdþŸÜ6°ýn ûÏGQÅ•¢(øªkYÛÞªåTº-(J6¹,ЬITF"Ž‘Ð‘É¿Fœ¿b±¢XT‹‘ü»Ð¹³$®¤­Ìî“ÀÊœ W7rVG#£Á»;ûرÿ áÁ¢t_ö¸ mÄJÓ˜¬9Tžøqó ìÅG+f ®Úh_„áÛç–uT+m8š¸ÚÝø.«\0Ñâ" Ë Ìùí;[]¸V¸ í ®šzá|/ùã¡©¾–ÚN ƒD8Áè=é ¬ã˜Õ²Ò8! @úõPÒ+ö>àÜð¾_ØÇòÏ®(jÚ¤d­‡¦÷¶Ì/dq„'jþ üu„‘;‡°×Ùi~ß2„EI®!E™0$¶Û8~4‚2Qœ$ „ ÜWMûòÖ¶5QãU±e|“G‚¬Œ¸Ž™FM O O¡‡§IèÑ41¥þ.™&,V,ªÕéÁæôbszP]^lªÎÎg‘¤•‚Ej…êÓ[Ø´¶…¡)zÙßyñÀ0 éom Aë¨U5„Ü¿,`½yk£Þ:é’¯Å,õSGéÐGcè£1¦Ÿ™bø÷ƒ”½ œª«jæ”\KAÆ%‘CéU`1„åPæ¥Éö]V™Jòwp\ KhêM˜ùìHù-ý?îŘI?Tn“~}NÑÒNé>ɪ8`z ã>ÍÃò›0}¤‘©BÂÔS“tõV•Ö›VbóÙæ(ÏÍe™ÈR¨[Dp}©ëÎâ’X,VZZÛ9g}NÜ©‡xeß‚ÒQ§a¤'Ìž¦ ›·I¿Þ™Õ)Iöª_UKÝÕ³.FÔ`Ç5ÏI#lÄ€†LËc ¡©ŸÅ´ž %Z,¤Lºz˜éÔu`ùüXØVÂJAúõ ¡©—b¼® nŸ¦û+XvSÛ’RÓ¹‰™BB¼¥¡*4¿9¶ÔR@Îí*2媨ã'#8~9Š(B¨RU­íœ}ÚJš+TlEªKrqH<"<9LhbÐıà¸) ŠüÇäÝ¿X¥VNm{n]U<& ™ÎØ/°»Ëq–Õà*«ÅYZÕž-Á,$¹mÐQ뤵j=ckyjû^ºöïA× [aKbŠsCpöU×õT$Þ.‚$s¼¥`«µSóÚ:Ê_X‘7¶pâ‘´2ä6aÏÅ€pghÎNÅ®˜Ê÷¿ŒØ1‹_ÜRÄXGBS¿ˆIÞ  ñ}-ø^¼4ƒÄØ“¬Ààö\û'3Y¬êô¤ÉËík@µg/ÿ猛±a³@{•Jóæµô¾šgvì§sßn"‘PÖ)(šÇ,TN+öý5qû¤K¢8¼g•âÝXFÙùåy‰*6bf ˜y6í÷-鸶ñPg(ë~õ]VEà/#ïæ–ÐÔÏ‘AVM7,£ââìD…Å"mÑ7¯È7sõ9¡ KhêLóè%Â.PT…ÄL‚©''9xK§™Ju‘QòÑ(¡=3÷ í î¯U®ùÑ:QHrK-e\ÒýõNâc:ž ¥f–S™K©žü,Ó œßÂ~×Ä‚7¹»ÄC[ÇZ6¬\FWbÆËôøé1ó¼ÇÂLdj¸“ðäpVûœídu´,† )Øç´et‘oRÛzxšÉð4“û€³´oÍr¼U-XlÎì㓃gޝ*ÐZ.h8§­äÙ½ÝسƒàLþº.]°®ÏÊ`©AWe¡*”¬óäý-î¡ÿ§}™Yo¼?ï 24BíLLÅ×ëªovYìlqâêpÚìšz‘ôë3æÂXêZió¶dßê IDAT~éyÝBÝ!b#ɇ¸dPúõ§rõ;!uXBS=Àg –,{A9õooD&$ûoÚƒžôÓ(ÛœÌR˜'G|"œ ´/H(INÁ½ASùuÍj-¿(“¾T#þ!~qhÎ/ßVkÇÕæÆÕ^‚«ÍmZ$¨OáþÖÊXáõŸÃábõº3X·¢™º£àÒO¤ÿ3aÄc&I uš,¸Ì;²:® óuL9÷Ïß's÷É\>ºÊjñÖ,ÇSÝ‚ÅjË:O¾_~,3 Ûöõ°kÛ–‚@Ì"Ù_g¼F¡öõT¾´*M\9¤ªaà}үߑo¼\šúàíËnj£ôœ¹ÅÎÇÐûÝn€ßH¿þ†ÅŒ{8HV¢z 8LÒZþ™ö%¹ ø}™×(oúœް„¦¾ øÉŠ!ö&ïn&3+gt ÂþOí%>n’VÅ‹|4^ß‚‚È¡ˆIL{fí šæã"£8|—UR÷¶Æ‚>52Ãù34ÉpøC·g?­. +'løº •‚æå+Ù¸a=­b–¨P¦F‚™Ñ¦†º!¥1Û÷“ÕBDu:÷ìö#EZ)‰W(¸} xkZ)©lFQ,…KnÄÐ5&yâÙ­ôtî]Ъ8èM°¿:}™“†k›ˆöGæKU¿®Ç ´¿Ø²ˆÆß®y}µó*JQƒïÜJ"˜ˆÒ¯ää@hªTaZ.&ÿþ 8L_±e7¶±˜,ºú„ÎÎwlÍü.—~ý¯¹úž0KB¡©ë€ÿÂŒÍCq*Ô¾¡žÊ—Ug‰Ùö:mÿ±‚ý7ï%1gìþáNS¤LÌ,>Dýº„Ú7Õ/x‘¥”ħâèc:F86ÐGcwg×Pã°f·À)<oYgœ¹‘µÍ¥T8Š{xzŒñþÝŒõî"¡G²—†‡Á.¹|±¥ˆ/ò´uUÅú`-¤] $Hi03ÚËÌh/Šê ¢i5å «²¥®y°Y £JPuáv´´²å™'˜šËÛ¿vÊ‚Kì4ÂøôÞ̦Qàט7÷S˜ñ¥´|‰gÀŒE¤òÑ?Û0Ó5-«Ó€ÐÔ7?#U`ôäíÇ$®`It~a?ßZƒ½®8ŸÇÁ_›á›Ö2+ñ‰8ÀÎ|}»„•̉õ˜O+@ù +¨{[#jyáÂpWˆý7ïÍʼÌ œu˜7çØÄ=¼T¿¦–’µÅ= ‘dÖ‡þ‘%Áš~+öxþ[ÚjUY±ætÎXÓN“×ÀšÃÙs>iÄ£aÆzw0qh/†¡Ïï2»½DéjIJøb üÄò5-FŠZ¨=W›bQ)«_IEÓZ¬vgöóÒ èRزs?ûv>W0ô'æ„U:3³ ¹ÓO—Ì÷3Ê¡©%À¤êS•5?ZŸÕé ³ç;ÁÌÓµ¢He~ÑH•£c–¬ Âs†—åŸYQ°ŒKúnëaì>3YŸwc)SON†‘¸óÍÿxfÀÕ˜OƒÇ2' ×6S²&qÐùú݃ÿ›° ÓîÑäû‹0S»tdSº©Œê×Ôâj[œCißm üe÷jŽ'Š]A±)æ_»‚°+x¶Fðýߢ€kOmC §Ÿ~+ªm”Ús_ÿÌ=2Cààv& DÞp›ùÒUN¥ü‘Z*ع$•/ ï¾%V!}Õœ6a¡´¶ _ËiØ%sûå˜ÔTT°w8ÆsÏmaðÐÁ³Nk…ý­0(f­Áj Gƒ#•écHúõEŬ$«šw¬ýÙé9ck3 ³¾$_º£¥ YŠë^’YGJ7•a-W‰öGˆöEÒúäùXvc¥ç–ål‹OÅéþê3Ïœg«µÊÎÔ“[äô3óÍå¸, …¦ž‰ÿt˜ù©êÞTïòªEYü¢CQFîL»ñ§ŽBS7`VäX—îl”o® ú•5KR N=3Ià/£Øjí4¼½KJ$˜ìbH\?Æõ»üKÕfgÝ™›8­µŽº’V¥ðÃ"œ`ôà6¦‡»ÓwO±W§¹²*R?¿mþ’/³_±–Á|í9]F‚‰þ½L ìÃ[½ _Ë:ìîÜ7€×.9£Q¥¦ô<¶w-cÛ3¡Ç²%n‡ûÀ·ÉËΩid\¢Å2ߊ™ÞX¬š—sÉ%/fCƒ·UšÒ’”dþK 83ÚKç“wèÙ‘EV@QâÌ‘”®òY ×½aÎ XC‹š_¡¥é¢D@ƒ@Ï:Ÿ¼“é@/™_öœïKJÜVÉ v.¹äÅ44ç¿…ìOYó´¤ýÚeØjÓŠè À¡©W˜Ý|˜Š÷Î+4õŽäyî#ô9z×ТÇøå¡TQI€w¤œÌ¤_ÿ=É:q‘ƒaÙåé…ñ‡L>:Ž£ÙEÅ «æ•2¤Söɬ}¹½ÖEaõú³yáyç°ªRÎõ«šw£è‘ }Û¢wÛƒè‘Üä—SjZEÝ«‹$«|c-ô*fç±ÀjË×/×1æ÷ñ }ÛÊý}$R-°ªRòÂóÎaõú³Q”ÜNÇ–®(5·Œ°êÆvjÞX° €6à.¡©šÚVÄ´ŸbS[¦d"œmhñ¥¬l¿–~ý¹¬E"YÑê^’ÖL÷iZ>š]> ïÖö߸‡ío}ŽÈ¡âÒu ‹ é†eæ†e›Ê°¸-q`Át¤JÙ…åUX€_ M}E‘Ÿ©¸‰™e}vïNÇÌÕþ;Ìõû$À؃â9çcü¡#H“Ü¥_ÿuf{2ÿóâ“q:?¿oÎøú„Îäã üâû?½—Ý7ì`χv²ïã» îûÃÔ'tú~؃° ê^Û8«‘ tÊ>݃e4÷Üí'çœ1ç¯k¥Ù$RξÒR–a0Ö³ƒÎ'îdz´·èë‰ùÊöÜw£Ï'«|¤³ikÁ1Š!­<ÇÓi)Ráôh/O˜/†‘þÞÈø.’foœó×µrÎùcwäÖ‘*:žëRwQ%«¾»ï¬Búe˜ÒÖG Í%™õF(!’¹°ÒˆOÅþã Ä\bݼ„ rÚ¾X àlwÑš'nwzËTJg†J,*L.|`ö^S«í¨æ ¨y¡ã¬-^ÎôÖ)ÑõÅý©ËÛ…¦¾ZúõÃ*Ý.4µ 3¤æõ– UWÕŒ2ñð2.›S““1ÉèÝÃYÎp¹Ü¤×Ìe ðÌ‚¹p=&[¿<6eÿ§öàhq>JçvÏš³Màl™ûC³¸-E`Ä Fï¢æªz,n+b2Aégz± æ¶Ž”UTrÖ9°ªVÅcË/áEfÆéßõ±àl†Û‚Oþ"~‹–0 -¥ x8KÂ:÷¹2ëmV{±Jõ¢úÍ딹)0ó} x†ÉÁNêV_€£$wJí*—Á9m唸/åé'abl4«ÒÃõÎ.øÙrZolcòÉ ºÿ¿`:“ã¸ôuàš‘;‡Då˪Eª~çðaC`*Û]BSëR…t‹…ÐTfýͳì–zE^Gê_š³m-)>‰aà¾Ùkc«¶aõZ-$—Ÿ… xÖ{iýT»Va~—ÌCµ$M}3°‹$Y•žWFÇw×RóÚ:šoXÆêÛÖQóÚ:¬¥³ÊÑ»G0¢…—nz F÷—÷#M÷Œç€«óùjH¿žÀ¬Þü8@´/Âä#ãyÉ À³¡4+e¢*´|b9BLodôoÈéeŸëÅz(÷2°¦®‰Í›/f}½-ÿ­29ÔE÷3÷ ÎKÇ} ¢Ø%dÞ¶b–Š™;¦bÞ+Ÿhµ}TÁyRüg-æø| ÑàÝÏÜÃäPWÞqJl’õ V6o¾˜šºÜu÷,Q\ïê‚ÉñÉ´„&¹2šZ.4uÐÔ,S ôë{€¿Æ'âbú9S‰/ Éô³éH‹Ë1Õ-ýIÌb|w^‚Y€² Êó¦&Ÿ|r‚ð¾ ]š0­ýÅ ¸{†ho$}œZ®é$€½$£ˆçt/­7µ aVà÷BSsvÌ¡© BSï~ ø¬eVZ>¾œeo›SDB-W©}S=«¸Ž¶/¬¤é†*¯¨"ÚŸýê ÑùÅý©õù0 -äp—ÌÅ}%°Ó#×À\žþÓìûnÌâ©  ò¥³ù{¤”Lo¢ûët~nR—‹@„”}±õ`n⫪m`Ó¹›èðä«ï ¥ÁÐþ§èßõÒXZá„EÝœ‹TF/DN¹¤>Q`ɘ:FÀÜôÐK=_ÆÎBmùp¸Ä&ý»ahÿSéP¨ù°[ Ãg°éÜMTÕæ.ieÙÁõî.w¤ y¿Îšzf¾­ÀÎ<ÂC ®ò$ÁŠo¬¢öÍõ”m®Às†k™LÌk‹þl~ý.àƒ©í¡ß Ðù…}³AÉ©~R2øs‹ YÜ–¢­‡{g¥+k¹šHÄÇu+vi§'Î#Œ= ÷;Ý1àåÒ¯ß[pÓôݘ ^0ÍŸõïh\töùí2ô›L{ x‘ôëÿ<œq…¦.à ڬ¨¿¦‘ª«f*}?ì!p·©#°UÙ)=«‚ÒÕ^|ßĶ;wb»ªšz6m:ŸŸ%ù˜ïàE8´ã„§æBæÜDyô8)”À‚Ž#õ¼ Xɽ ¡ä+}ܼkSL[>Å@¦ÿ›·/OŸbÛ$æõ1¤ ‚Áì_‰0ÿO꜔ԵJÕK+à\šéù“¹ßUZMýš ±Ú9I°' ðØc22”»zؤÓ`{CCaŠäý“¿>(ýúX2–oRq(%§ýAÿ3;§9𩽗~ý¢<ãæ„ÐÔ÷bªt,`VA¯}s•WT!ÁÄ£ãüúÜœƒ¶Z;«o=mÁ±ÁÛßþ¬È#¡êªjºE–cèývwæ®ÇO²*þL’¬|—WÍ!«Ho˜À=#¨å6j_݈³Ñ qƒ²¯ÊKV¾ªZ6n<d5á©Qúvüƒx4TTa $Pˆc!Ž…Vti!’}TÞ•§Äš0° ;qìBÇ*ò/Sµl\"Y¥Æ’ôF9ûçi‹KATªD±•*ñ\×§Ð\¤•* ¬Ä±££ÐzeÎ%49L×Ó¡qí…8½ÙIë, ¬ôÏã±Ç!0’íUVXÓoeG}Ü+­Pº±ŒÊ+«±–©ôÿOoÊ+þ-ÀK’ÕhþX…*ò’@ɶ±¡Øf¡©ËÊjš é×ošúfMÁ FÄ ÿǽLüsŒÆ÷63ø«$ù* ¬“X<Å-Çÿ€¨*M×/£d½‡‘? ƒ¹Ú¾Ðñ @|&NÏw»éþÊÓ‰8ð àÅÒ¯¬ížüp’dzT#b¶SY Áé€âCɹl’~ýþ#0ôµÀHP}×\=CÿOúÀ€ªKkqÖ»@J° ‹©Ì®Á´°ÿØ›˜N Χ_n&Ó˜ÙHóBhªu¾®Kúõ§1±o"`ÖIØûá]¦G;Pq±/MšVwq«©‘?ƒ„êWÖâ9˰"]!°°_úõs…+c÷²û};äø0%ªs¥_ÿ`šºVhêBSOšZ(ïéÀß‘Ðýõ™A– ׊t¬¨÷U i³†w7Íñ-™zz’é-S8—¹q¯ð‚ûcÓ¸îÏ*– ˜ÖÀ›. £RbUæº+¤^£ÝÛÜûD^}˜Oì(*” ”ÎÙåÞ†I`vF /‰R¦ ;†,|“Ï·æZ*.D¹úÌ'¥BcR0eØéO”2bx J{’ Ž41lLRÂ(åLá&†µ ¥QJƒÁ½O0Ú½-ëûGš¿ŽJÉÆMPV‘û6*ßõ%[[q±Žï®¥tSÚâ5$cc# ßgÙ?ß–TÝÌ~JM=[hê ÐÔ¦ŽwFhê°ÐÔ‡„¦~Ohêû0Cç~ˆé’d¹HþŒ…UPýê:Œˆ¹£ +´7H¬?а+”_2›™4t 'A΄}ó¡ôþ×AÓqiÙ»¸Yhê.Ìó혮ùÏÛ„¦¾Chê¿„¦þ\hꇒº ””õZ Ë¦‚|¾UóaÄ Fÿ’ö3)vYZ,ö¤ÞôÝÚ“öЕ iJWª^\gúZ ëx”Û±µ´ÜÇ9›.¤£’܉özw2Ò½5ïD !ŒQÊ”ð6–¾ÐZ<âX7Üô%Ê$\ĤRXº*F¯µ"­ùm1F.úeŒî£DR¹!D°3!¼ŒQÆ N>ñH÷V½ÉÌ(óºÙ,°ªÎÙt!¥å¹Ó;?Ó‡Èᄬ–©,ûD-_ž²®Ûú–•ò|î9«í¸×–€éš¶þ%½ØïÄ”Ú2])ª€ï¾<Œcúw¥—/©DqÎ>T-EHX£w€ŠK|iW C7ˆöG,¡pæ<ÆW^¥Ø•g»ËZ~±ª«jðšì^ üØ„™eá`¿ÐÔÛ…¦ž—Lv0­Äèþê }i^æ‡në!ÒSÉ~ý’É[1U~Ìl›Né{FˆŠàY[†½Úº¤ô{(9<åN7go|>‰Ý2÷išr& ôîb¸3÷w` ˜ÆÍe… C»›0$‚é ?QJ á"‘!q-J¯¹ÝŠ8n~[B F.úã¥ÌHòy.B!,œŒQF{^‰k¸óY½»r: Û-¦¤uöÆàpæÈ=?càúhäÉ Sv^9+¿¹&å%Œ/ì‰V1+É\\úÝE2A¦£Ù‰wc)e–ã\áÊWª“ð\Â&¨yMÝœÜs IX‰p‚‰G&@εÈGz"æ Q$aY+.5ET{½G“G“µR)]Tø`˜ž[fõuž ^,¥VB{‚Ä£Lõ5BSÃ$±«ßwÎ(}·öÐüeÅÌ#ÀßF»?]­èC Y ƒ¤XüS˜}LÞ5Œ½ÁÎàoLEâôö Â=A–Y±uf»(ŠÂú37±²ZÁ©æþÁŒ÷ïe¸sKÎ[,†Ê n¤Xú’OÅ¢RVVŠÍnZ¨¢‘(¡Ð Ñhc‰î ˜6 –%"V|åè’™¹-ƒ™ã¦š¤„iic,á:¬e±b±bUmØìœ»=' ‰E£$YSÑœ¬ ˆ›¨´SB Ù×z¸s ( åu+³ÚœVXY­0}æ&žú׃Y…]-ÛÂØ¿5Hôcu9O?ðó>d̼ZÅ<çJÏ+§ï¶^)£Æ«„¦Þ€™€o€«ÃMÛVÎñb—RŠ96_=aÂ=a¢‡"éå`ùE>Ô •Øp†{Ïºë‰‡Ç ‰û´’9ÙR"Ýi¡­8ÂjzoKÞÆ‘?3ð³>ÓIÔ¿½qNqÄé-S ß9”Êż 3ìAÌ,„+Ç à^SRtÙŸpWˆC·¥õüÿ+ýúu`‘~]&--÷’AZ‡~ÔKíëë1Âá®ögBTwÆÉu ¶u¬££±”5·ô81°¡ýOç4ä…‹¨p,jÎB(øªj¨®®Åç«Áç«¢¼Â‡×ãÅ¢(Ìgx"A$% 399ÁÐð‡ú22Ò:§˜Y=gx  3òÇAÆÿ1 æ0àÐo¨¸È·`œQ"˜ ûk)Oö˜ÎGÒ¯? 4õu˜é˜ÍÇXÜ\®øÆjl1p¿j"Ç“³²ºŽµíT;ãsb7Ro';Ü—­;Ô±îE-ýjë9cÃ9´­X…Mµ“[<‘³“o­ŠB‰ËE‰ËEe…¶ÖåpîyD¢1FFGØw`]]ˆ'‰†³S;g"*UŽø”¥ÖüQÅ.Ö ¹'L&쮢FBÁîò°bÅjV­:êêZìöÌlÙcÈÙƒ°ÛíTWUQSU+:Øtî £»ç {÷lgbtHh*kœy!Œ“(6Jd+sƒûžBoí¼Ljœ Öv´3ftxnŸì%øûÈj“¼'gð—éP˜oçJ]^Ü=Ãô–)¦Ÿ™"ÒFÆ%åûh¸¶)­'*Û\ÁøßÇ IVŠC¡õSísº‚­ÒFÕU5f€õ˜Îà¯ûq.ŸM¢š/÷˜µ;cQ¬å*Þ³çº<…;C ž.vÖé-Sìݶ‹Õ?X‡Z¡2µe’Þow§C*_VMÝÛ -u¶8iþ`+uoi`ä®a÷ޤïë#1Æ à{I~)KJIÏwºR¡3ÓÀ«‹M[ „¦®Æ\ƒ×ÌddÿÄ´*z@gÏûw°®ÇŠ2ž}[9.Öo8›o<§ôšf`ß“sn „…“ŽEf›ÝÁêÕ§³nÝTW×dÜÜÙÄ”ûƒ2¯ßlg‡M¥©¾¦úfÎ:‡ÎîƒìÙ·‡Ñ¡>Â3ùs9 `¸‰Å­TY‚Ù£ä5oö陎˜Fn¦…Ãè‹•êÚfÖ­?›åË–ávgèæøh$] œŒ©¿3M˜‚JŸJŸ3OßÀÀÐ Ø¿o'SÁ‚ËGCX˜^ì2‚K†æœv`ß“X%¸Êæº4-Þ8SÎæÑ‡ïϪ̣Œ'p~¢—Ð[MµÌ·ºSMÆt;ú`掟'ì? ¸k†–·âlw1ñpFRIZ>º<+nv!ÄFcÄFg á!lÕ³$e)G¸w3ÝÓüŒá®$Y(¶XÁTÞüi©KFM'.,¥VšoX†÷¬â@UŸú·7Rû¦zsíÛ&Übæ¹)*^äËëè6ò‡!¦žH»¼3/uØšjÃT0^ZLÿêCO ›„¬Ý°‘ö* ª%»=¡Géßý¯97`FxHˆ…­'•Uµl8s+Û;°;RKFIÏTÒ‘Àéí|ýfß”8]¬_½šµ«:8Ø×Ç–­Ï1:ØKhz,oe˜iÃNLZ¨µN£.8±â‚¸‡¨,|ÅBu] ›ÎÛ̲¦¦tÕ›œŽdi³£L®Aç#µ&͸h2} y>¡ÐPWOC]=çž³‰Ýxô÷3(K Jd†ä*%ý»ÿEëY—cQç’²jö* “6òÌãϺöÖ'‚(?¡ëÑÁT¬m*´ì¯À‹0Ì⠾˫(Yç!Ú¥ÿǽÄ£ìûänÍN"]³îõ×4-êžN„Œüaˆaÿ26ËŒÖ •Äôì*$_TK"’0E%8êçªC¢CQŒˆQ´…Àj-W‰ë™)[ðœá¥ñ†låKKz§Ø\ín\í Ç]ÎlŸf`VÔý¶ôë·/é¤óT°ÿœ"ȪììJ¼m¿9@®š`­+Ö°²¡ ¯jä éßóñØìÂ@0-¼ .ÅÂù\ÌYg›¾ E®›0ŸÆz¾8—ûÀìæä†´65ÑX[Ëö={Ù¹{'cCÝÄs¤üˆJ+}z)uÖiJ"k y•îçO½➤ç~~””UqÎ9r^žÖÞ IDATÚª¬ªù{4ol‘uR‘þl©öy%)I™˜Á2ÆÌxg·©¬Y¹Šæ†&ò1vn}¼ žK6f(Á-gÒcÄcaú÷µÇÔ3¥æÓâ¤îê¼g•Ò7«oÆ’‡°Æ £æ¶×Ï%ìH×âîBS[¬•WTÍqP îmT¾¬ª Ûÿ‘‚>¦sð©/ðQàcGpøo’Ì¡úTêßÙ„«Í…P3œ@Jö¼'R7(?·ŠÒ{ưÌd“U¹¯ŠÕ+©óä¶¼õí&86ûä5L+žɪªªŽK/¿ŠêªÈ4Ú2§Í»©æ÷•yöçDÆ UÕÊk×ÐÖÜÄS[·±oÏVBSœ‡%P8÷Ò`J“Öb1,Š{ º*(Š…UkÏâ¼Màõ¤”Ï9–}™»æ 'çïHºäðµÈÊDê˜Ì‹) ÄíâE½ˆö¶þù¿1t¨3¯3°IZJätzÁ±ÆúvSÞ¸*«Çøÿi{ó8G®ë¾÷{kÃt£÷½{öÎ ÷á&JÅ}*²):Q¬8qä¼$/¶óKvž-9qží<;¶Ÿ“÷;ïãĉGQ,QÖf™¢$’’(Râ>3äìÓ³ô ±µÜüQ@¡ (ôôÈÊé@m¸uëÞß=çwÏ=‡ý{÷ßX%¿äžµ:LçT. Ûƒé[3Œ<1Ö7-]d"Êî_ÛÇò½Âêg—Ý{Q!yèÚ23—Þ,z`¥e4Æ?2EöÞŽ¥d—;œšT±6Mê—4®Ô]Ëêí’•AM©=xí\ 5$§¯V––ãú_jC°úWåÔ³º»À±Õ$ò‡¶Ô¦[¤-¹ð›gÛ\Ùð”|Æüæ™{EÕ?NkÕ¹WÙñË»{*kí‹«Ø%‹Á[‡ÑÊ6‰g ½×‚}×ÝÀÂ@¸P+m°vþ-ﻃ ¢¤p¶0Eåæ[îäöÛîBÓuŸÙ6âû¾IiÕql é˜àØà8­NãvN!„â~VT„j ÔBQC.üt*ŽwÝÉüÌ /~çrËB;¥DpÅJ1¥•ˆ¨Wʈ蹓º£rÅJm VÑxŠx‚;ÚduøF"qšu¤c"m i[­ˆATŠªŠP4„ª£è1„i]Ë7^sÓÓŒÿÈßäµ7^çÕW^èËÿYB§¬¤H:»kçß"š!– :Ž*ÀŽ›Üu7ðÒ Ïö˜†Sy…½*‘Û2Œ<:êEiØJ„&˜øÛS¤nHsáwÎaåL.üæ9J¯—˜úÉ™~þVY{¦cuíü{zú¹ÞꮎýÄ›áéö„ë>±û×zºv® ‚7äç¶NIÖ²–¾ìÕ´¤Æà½Cl|y sݤøÊ&™#ý³†ü°dé/·£:ÀÉgÌËW9e["Žê?ü€Ð ÿ|WOEKK²ö9w!ªPÉÏ®£„ÔÙÄô<ó#q Õéé2Žeråïxq×%PQ¶æ¬G¸ÿǘ™œn¤ý/¬$à˜ d³ŠcÖú×þØ­ø·EEh-ŽÐ} ¾G+³ÓdRñõ_àÒÙã¡ å ¸ %ŠD”í97…+fjKÿªáÑ)yäI†Ã9*_±¥”8f ÇlÕO œýOse|d„‡|œ¯>«qùܱPв[šVÂ)¡ 1ë–O½ÂÔþ;{J;wؽgËWqì èŸËÓüñaœ=׿Ç ¥5~a'ë_YåÊ]¢y¥Á©Ÿ`â#SŒ µ¢Öþ¢ÉÍÜ`šþï@–²*nü®w/Áï£Æíé[3=Ã*[ÛŽ…»øÚ4waÒD”ô­Š/oR9^¦z¶J¼åc±•Y¸ò?–i.m;KQ˜|ø¿þ:h‹8ªßŠKHjÓ›í›ÄÜnñÝ 2Ÿ¸„!Úgæw17dtâ%ù¤´v‘Òº»¤GU%…-úû´LLÍñÄcƒX¤íO%Cù&騨µÒªûöìúzÕiÁÍ @Z&޵¨PãCAËw^4åÁ÷ßG<åõW¿Þ!Q¸ÔL1kQûÌÚRp©¹5Á~`ÿAî»ïQTEëhV=ÍNbՊصÍ÷¶K8o«™B˜uÛ¶°kyœF 51‚bÄüºªï— fÒ|˜È>0ÌÔO„ÇÒXùÌ2µÓUbÓqöWѽx¹cÏ®_$¢úëÖÀZX>CqmXhÔ•x_§Ðá‘q>øä‡‰ÇBœôÚf˜caW7\SÄS‡Â0¼c·É°í¯[½ÇK«4k(zœÎzøÎqŠÌÍÌ’+äÉ…$V0¥Š‚CT Æ3È[6þNŠó3s<úÈQý“]ÕÙsÚ »…K?M­Ë}á*óJÒiâ4J.Ï¥…óÃ`vvžõ|‘Í|xj= ]6QØVÕˆKe{J5 MÜzïuÔ“uÌÍn˹ŸEº!ClWœÒ›%ì’EáÅ—¿ ‹§ß¢G„ ¦$IØE°¾xœôÈŠ¤xÒ†dïÎy.]8K½ÔfÔwë,ÿ­cäR§áàÔïɲ՚à~’¾!Ãü?ÛÉ™_j™ŸòßÌuV¹<<\á"Áii^jBeâ#Sh©^Þö쯞¦ôúf`Ý1@lwiI.ýþ¢«ÎØô`A+ãÖçhG†Ð‰ýI’S$¥‚¤ÂÀ]ƒèC®y³ñÕuœúöýl„*HL1ù3ìÿýCìùŒ==AtÞ]ï^¾Zîµk” ­hˆàÚÅïü÷YùïK˜½q…6_*àTm’»3$^W­vïc:>ë•»ü.v+³x]‰õõµJg²ü'Ÿ"O´{—)‚Ä®:¦X¨Ywm&açå„Óï:>óÆ±š˜Å¤t]ºÿTM㱇Ÿd Ý/ô¸`ÙJbK-ÝÏýÔ—L*É>‰jD»KéwV-UÉõšÑW«úÔÇ5˜„=Ï¢µOš5ÌÍ%Ýîî×D,΃÷=Ìðd8×d Í[o› r—ÃuL§v÷ºdÏØ˜kM종l:”^ 0é«ev·±Ò`ñwÜH,Ú€ÆØ‡'¼É0a† Ò*B ¾ÏÕ­‚ÅÙyŠî„®vÍvW¶Ü3Ô³VQKj£†,acÑÅ_‰£ºŽËCÏ Þ“å๿²‡± ±/,¡ †uQÑ©Úä¾þƒ[l±¹ãždÏoí÷ƒÖÜð?‘Ϙ»A‹'k®6YþÓ+ÿØ[œûõ3”^+zDhîYלIO&‰žèõVŽFãì›$BI™Í¹Ën"•fŸ¨ ªfðЃG[ÎŽá]Ñ®qê¥`§Ø&¯rU`jdµ#ð×Ý!¥t5­Í¥ÞŽÞzÑ=ôx‹oê W«Z·ã}y+UQxôþ‡ˆ$Z“"!÷kWóØ•ðûØâ^zËLWý\ÈúÔ¿ÿ7³†¹yo° ¼ •Lpç÷M„/i(±V¸kÈ]>X%Ñ–¸{ç&‰F{5ÔlE ·¬ccÌ`üo†gæ •V1ËuÎ|ê$憉šTYø¥ÝTÞ.‡¥øû‘ b-wˆÚ©*çþåi¯¬qiÉž™Eï¾ö%56qûís]»x/@|w‚é8G;ïb[zZÝÐ#(QwóúV݈œ’@¡®EVÿ|™ÖŒ€Ä%ÙÃIPä3¦%Ÿ1? ÆåÇ\ûÁâw œý§8ñSoså?^¤üV‰ÈHŒ3MB&ÿ›ša(îôŒ®RJ6#ûª¦à7ÝÆÔø8ݸÝìz »¶Ù ¶ê\[S§#;[tâ-´ Úû´Êë]Ƕ+\2<2Áûn¿­ï3)9%§ÿ„ÌÝ·ÞÌèÄ|Ƚ»â4*>°r¡Ï}õšRý€¬ß ÐûŒÚ %§s¸ïAãÀá#ˆ°¸gBPUîÕ›õÅã=ˆ”’á¸ÃØT/« X˜M³ó_íaßÿ{Ð y[Ò¸RçÌ'OaåL„&˜ú©Yò__ç¼/Îðãဣ&Tv|r·§„TN”©¾ãš­Ò–¬}~…ä ©¿­¶ÄwÅÁað–|Æ|Õ«’£úßÇtŠ6¨3ÿ‰=ê—ëô@¨šPÉÞ7ÌúVi®4]GÒÛ0GÒêé Ëæ¥7@v‹ÃÿZ"Ÿ1ÿDÕ7¨àÇpQs­ÉÚ3.™Ü!ñ•pspvzšdHP¾f­Daõ<wtìçÉžãÈÍGh{1Þõó±«|­ÛÛGױݻýÛº?IŽBÝV©Ú*5[¥fkyßë¶Š®8ÄT«õ²‰·ÞcÞ»ITµ¡QÂÑ£(‘d}rðàM,^ºÈéŰ0½ý á]³Ó>tS ðeðX)‘Žéì:=¿ß+28ˆ„.»‹&»K*¼gv~·„Ó¬b—Ð2HmŠv¤ÕÛn¼…Kϱz©wå‰#4JŒ¨Scsõ<ƒ“»1bÁ¥3I]2;=Ýãâ0|YR9põ¥6Ýæ`c¹Á™Oôܤ%Yü­ssÒ·dˆNõ÷÷ÒR.êçN°ô_.£¥5ª§+Ø%›ìúGf‰íL€«(ÝŒzqT¿ 7ÜBÌ|z68à忹Á¥ß_ì,€áÇFYÿÒ*8°ö+}ËÚ4YúÓ+T߭иRGè Š.<ÒæJl7šic¥.±ù#qT]>c^uíP?iÙ¹×7)@Ç—"ùFx盘f(²nÎq(­»³bM¥\«Ã×ßÂôä$½`ÒntLw‹ogç{LÉà÷†­p¹çR5ÁR=†-¯-„°¢(=!yÃÄAa©ž`©žàåœd8.™MKf$™h§<Ñô(ï¹éz¾ôü··õûï¹é0±ÌX«Šzµ]Íã„7 Ú Óߣ!Ôü>)a`Ö3“è±­4±nM«QÆ©Q£i‚Žª’¹éI®¿ù.¾÷í¿ê¥U„ ©D‰:5Jë™=ˆèâ‡bcÓ=€`|6GýºíóW…sTÞ¢ Fe˜ˆSü³TKqƒL]ÁYj"Çt×›5DÚÉ[7  Ùže¼Š(â¨>K+Gèðc£dï jg+ÿmÉ+ Ùw-ÉÈÑ16_rÉÖþb•¹Ú;ë!TAúæŒÍP¸„œ1Åi8Ȇƒ>¨[H DU2 Ü×Öh\©ßü.­ˆ¢ïÝŸØ›7íV\𣅶~¬*Ü|AA"ijP×%C²–r(Ưb.´¬UUˆ¿ÙeSQvÌN¢«®³¡ÿU +XÍ:S„ó2éL–;ÜÙê¾ÖÜ*–]Ép]!ÕGãªX+q.Õ¬5ú'cH§Ód³YÈd2¤R)‰ñxœh4ŠaH)±ZqÍkµÕj•r¹Ìææ&…BB¡@¥R¡ZõOHÖ«‚õ*¼º éˆd&í0—‘Œ$4vÌïföäi—Ã}Ú2;>ÊÂÜN„ ÇÆ®æèy¾r Ã`.xˆï-ܬó° ³/p©0-¬õÁ.¯¡èqwaµ·Ýõ›8rãÍ,ž?ÍÊåÞ\¦MÁ †lÔ©VH×Ýé ì˜äÌ»o÷ 6ú—6©ÿüá—ß´+6Õ?ZfŸ#ÑeuÓA¯UFÛ$ë|Ô-§ÔÎ„Žœ6°Æ0ŸÄ™s5ó.ÀúæÌ¶]´úܪ¹Ž£x7…Ø-à®yœü;Áµ’f®Éʧ½H(9àÁ¾€•Ø—$¾'Aõd…Íïäi®OaŒôvØñLQ>^Æ\k²þåU>¾›ÈxÔ­¤²EñµMН¨/IiIÔ„Cñ®ñ§T)>ÜËU]÷:"D,ˆX‚L &7U¬YƒÚÌG20 *¾×ÆWÖXú“˯Qk½·<42ÎXR¥ Ë;›«ÜÊë£] !¸ç}÷aAë]œF i5½ï¨êÒ <‘’š­òÖæ gÊáaX„8p€011A$rõˆà†Dê ü¬¤Ñh°¹¹ÉÙ³g9uêkkkŽRlŽ­©[ƒ±„Ã-ãƒÜuÃ!.þås}'f„ÜyÃA´x Óª¬u@=ô2Û0 ûÒO]ÚY_  ÑÄúøsÉ.ðrW ¬¡gÆ}¸'D #·ÝÍW¾p³Ù¥A SD0dƒâê>ÀjÿÜXRehd¼'ݽشў-b=²Ç\²1>_ÀøtŽìÙkËb%L‰ºØ„Å&ڷ˰†}[‚æÓCÔ÷°à$[¨dmv‚®HK£·¼ä%nÎÀ;Ó9÷s;z¢‘*‘ÍñeùŒù=q½}[ßA«ð­¼¯ ~b”ÉN‡z¾7–œþÅw±ò&ZZ#{ß0•ãe*'˲•Âàd¢.þêàe­iØâiÚñÔˆ"£ó‘šOõØöfÁÄø±S¤{}Ëßx„÷îËö¤™wl“3¯| )*Ú@h¦›ÑñžþЇQDwB ŽM³¸„7´@yåt'Šœ( ô˜|Ñh”dzgÏFGG[—ÿëÄ4MJ¥‹‹‹¼óÎ;,//c†DšMÖi^xŽwÞ q–í^à}wÞšèžÍrïOšUÌÂ6ƒuléá½…IØçZ}V#ö?·_Œèàé™)ÔH"¸0m›Ï~ñó\:Ó[GBÚ$¬M¡°ãÖGPÔ _ãÀ7ßÉñæk/÷œ›OKøúu¨Ñ`[PŽÕ0þlýKDýj×.ö ÊeÑd)cÓÔ]Ïöržô­~q¥7Šœÿ×gÙŸ™W2·º zþ_Ÿaó¥Â"’)@U¢ »~}_ßÍÇ?öæZÜ¥~¶ŒM›¹}}Äpã²?»ÎØSîr.‰ŒGØù+»9ý ïb-Vÿ|¹½ëuà ªÍs7_Ð?dXü”`‹…wMu‰ñçyŒ?ÏcÞ—¦þ©)ä {‹zB#¹²nЈ°cj%$DJiýR:XÂ+!7\3Š7ãÔ¢ìjÎmm¾­îÇî$q$œ.ex«8HÃé<!wÝu{÷îe``ÀË&Žã`Û6¶mcYVàÝn­þ×4 UU{ÞUUíˆt]'›Í’Íf9tèår™K—.ñÎ;ïpþüyOóZ,GC“Ü5Iå H³cRF #‡¯G‰ùÃÅø—ÿH¬ÒÚÕ9¦@Ýõ-IøLa×9½V{`ŸœÛ{ÎVÛ­â2Êð<(tMåÀþƒ,]xÛ :5K¡b ]6)­_"3¤_vL sâX³+l¦,(ûFZ‘·ˆ~ê2ú³WI ñ×5o3‹ÊtNáRÖ¡ù³ã¬|z §á`,P„&pª¶²øÛçì=ÿæ€P>^¶‘ŒÑÊZ5óOæ·Œ/?ñãSíYLøÕ-K¨‚‘ÇF¹òG—pª¹¯m0òxxˆÕ©6p0ÚäÆ}ËÚ/E¬|íÓ"ú³EÔ׫Ô~mûÎꉢÙÛ)†FÆÉÆÂG ¶9ØTÃ9þDj]sst(ä¶M"íð0m ©öá‹ÕolQ²‚&÷-·ÜÂwÜA4þûŽãP«Õ<Þɶ·¿2!Lt]'‘HH$ˆD"Á U%“ÉÉd˜ŸŸçòå˼öÚk,..¶îF Ý@fä:šKßÇ\yx4ÊCï½›äH·/Qgp°ë%«ÑúX„n¯»®Æ[õ;ÆgÊ®íý¬Ë„´Ü2ÖÑRn?‘í“¥p#º“[Y¤[šJÝn²¹z¡°²1ÉÐÈ8Ë—/¶+¨'j؇ã¨ß*ûÅK(ë?xÖõkÁlN¥ùÇE»âäΔ17MPâ» NÍQÏÿÆ{îgçU{ÓRiÕØS Ü1¸åõîdís+mîëÃWͽ˜å?»‚SsXÿ⪛µUë5 /ýþ"vkZTI©h1MɡΑ¨?`?24AÂ4,¨™²/GÒO”u‹øß?Où$ÍŒJs“ÉdˆkNp´`ÖÊÔËyl¡õõ»:°ÿ º¡¹p(šÓ"Ú»LÄ.“°dé|{cœföîÝËûßÿ~R©^?Û¶©V«Hý ½abš¦G¾«ªêW, <ïD"ÁîÝ»çÂ… ¼öÚk¬¬´Öe*:ÆÔí$gnå–±:ãÃ*ý²iHGb—Wé*&\$ò*þV¡ÖÜV»·ß§‰õÓÂÖu|{’¥šC"T=pr4áÀu7ðb`9ІåhÈržf­„Kú'‰k’L&Ãrˆå¬~¯Œö•MŒÿ´¾}2¸%Š¢ (*ñˆBDT›’†éà8ö¶f”Ûbœj°ÿœTXºÚ‰QˆÎÅœúùÚZý|môÔÇ;þdé#Œ=}uVHAêút°ÂÝü¢ÆT†îaíó+˜«M6_.0pgó/ä(¶ÂSÌü£ÒóIÿæ ‘ãÛ…1’Ö˜PHF;/Ã}ôM IDATGÖÙ”’Já\—¬m.æLgë+€ÔWËXJ¸)1>œA½û*y׬m*áÚfDØ¿gmÕ"Ú›e¤cÑ·’R²\ñ­Iš²cbOOOsÿý÷3<œÚ•RR.—)•JÔj½Ë8þWˆmÛ‹EŠÅ"Š¢ÇÉd2ž¶'„ NsÝu×1==ÍéÓ§yã7ÈçÝ…MGåÛKq*¶Åõ£v(õdWÖ‘žVØç9†š…[\ô§ {€,̼܆éçßšÓB€]+ %»(%ìݱ“W¿73¿©D‰Ùe*ùeŒØ®À>E¸m5låaä֥틦iÌŒ¤Ý>×% ƒkÚ‚Š)¨6 Ôp¸œwX-4°¯’„WiÂÞlÅVeÎBd5û’j}±¦ãð5§îÜ™‰2û3óÛ¿^»àµùþn ~~l”µ/¬€ëŸ_ –µirù]?¥Ìmƒd†c¤ê,êòÕókª`aXc÷„Á`ÌÏ1oD¦Â@\0WÁÞ ¨™QάZœ\jPml­ÆiNoå(ªÊp&AX¦œZ9Dô Ì·caéd(÷âÔJ¢½ýßwÜÉò¯F¼Ù¿L&Ã#<ÂÔÔTÏC¬V«lllÐlö.æî)%ÅšE¾Ô$Wn’/7É•Lr¥&ùJMdSƒIƒlÊ ÛzLêÄ{œC}÷ã8”ËeÊå2‰D‚l6ÛšuGèÁÁAnºé&8vìo¿ývË5BðƪN¡®ðži÷÷½kšUìJÞ«£¾dúvÈ€¦Ô6±È|æå69ªàvÔp}Ú—S-@|ÈçÇä–+L°gïu¼þÊó=E´…6¹^·Þöp&¢ª=ÑH¯VB’qƒÝ£:óÃk?ê.Í·ÝötU2 JbìSÙ¬%8³æpnµA½±u[)«ØO¦úŸvß›`ã+kC´Ò’© •…_Øå%y½š8M‡ò[÷¶Ë1¸c·òTOV¨¼[!±7‚Kx»d¡¥5&#ýÏ.\¬¢†ÊÁ)… CíázÁªëïSLš6¸nÊàrÞâÍ‹ r¥íç±H¦2$t'ÐèÚW¯W nÈãPW…ƒö€•«´= àHÉ÷òcœ©v¦¡wìØÁã?î@[êõ:¹\îªÕF±Á˧ò¼|2lj‹E¬^‡¾mI2¦q㎎ìÉrÃŽbFxƒªT*T*Òé4ƒƒƒhnÐZTUexx˜[n¹…‰‰ ^zé%ÏL¼PT)ðþÙ& Câ4Š˜ÅeÂ&"ÂæízdKÞÊg›] ÈB@¬W ëóÛ²{[ÿ’މÓ(¡DS“ZšüuûòößíM§&¶Ð¨W ¶ãÓè’º$™Ê„:‘†‰‚¡t„ƒSé.Ð~_¸ÍL nšQ88ãb>ÆÛ›”«ýÛ¦ºd’øÉs”~ÞÓ2E;‰kdb{.8à¦ôÅÙûÒ¶Ëi8ÄvÆ)|ËU÷×?¿BâŸí`ó¥<›­mœdðW.£^Ù0¦†"YЈé!óÀÊ¿_0“Õ˜Ôyû’ÅÛ+Û²¿Sé ‰µƒ¶ÙĬW°•ðXNƒÃ£LûJÔѤìV|Û‘P·^ÌM³Öì\ó¶Ûnã=ïyO`æÏ4M666¨Tú/wY\«òÊÉ/ŸÌqfù‡“ »\³xáØ:/[GS‡æ3Ù“åÖ݃ $zýïŠÅ"¥R‰Àìe"‘`~~Ã0xýõ×9u깺ÂÏÜ=x‘¬èßád˜¿U@É-€Í7Sx5 1ÙH[X`[ëZ¾mV5Iâ~$;ÈÐè +!k m¡»mÏj¢ªÁzOè’Tz{€¥ª×MÇ80îô¸ëøû™”²¬dw?”i]ÂÉL„×.\X)õíkÊb“Ìǯ Žƒ­ÂäG§á–·#¥ïBç|¹/`5×›¾•§ôÚ&•cåÀú â+›4–ën . sC†©OÑN÷ï®*‚ç£ìUÜÅ¡?$°j‹!9<£2–Iñí“U*õ­Ás$›AU‚€%qµ+[ ¯ž…ùݭѪTm\’N³DgXtwäÍ/lLQ±; ðñÇgïÞ½Þ}H)Éår ½éÆlGòµ7Vxæ¥+¬¶Ž£¯*¨Ä AÜ€¸.‰ë®†WiBµ)¨šPmHj¦ÓcÕZ¶äµ3^;SྠûfR|øîΘ¥”äóyŠÅ"ÃÃÃ$“î0Ã0˜™™A×u2™ ¯¾ú*ŽãP·¾¶>Ã-IÉB´O§>`ñ~¨÷°°u7¥mìí[›„Ak™[i_¾mN³Œ´5â]G´^ ;÷ö,·ÍÕËâ™`<*U‘Œd3\îåì’ŠG¸m§ÁhÒéÛÏÚåïGÒ·ß_GAÜw¿Gt¸m^0šàµså¾”E¢®h\þ±Tß3[IñUϼ Ÿ1OôôHiKV?·Âʧ¯t‡< ¶3ÎÔOͲògËX›jBeϽÏ=€¸Ê»# ÄEøÈè«´p"n{êk[Æ2 Üàå³ .¬öW[dz~´ït€z‹¿rBâ9iºÁäøDu%qeŸß %«ßÈÍzN †aðôÓO36Öyx¶m³²²Ò×ü{éÝ þô‹\É…Oÿ§b*óC ƒÙ„LV¸ÒŸ’R¡nÂrIrnÃáb¾ÁI'.–øÔŸçÆ|äžYæFƒó­íò7›MB ª*“““†A2™ä¥—^¢^¯ã ðryžŠcp0’ú}K?+ÿ-ùСßÂfûB´²»€µf(·«}IwÆPKMø¯ÀØð(‘X’F-¸TÌn –{ÞøP EÁÜHŒ›çQ-D{„ŽéÝeòIÇ K¤ÕÓ°ºëËïŠ"Ø1,N&ùîÙëùp ¨)ÄÏ*Ôm ÝÐÒ¸R§¹ì Î_‚®YBÇt8û©S=«¯¡•¢ú#nbÆâ«›žwGȃFŠèwûƒÕpÚàýûttõêZ€Õ¬»q§˶¨4$ [¥a+4,…†-pPˆê*1C!f"†B""ˆè€‰h‚÷ìŽÕ5Þ½Ü;[©ëƒé(àô!õrþʈ¥lsPÁY@§Q ðVeKã…ü´VÃÃÃ<õÔS¥1¦i²´´êA~üb‘ÿüÜN]é}Ù¤Æ|†`(Ñ.gˆSi_J«Ýp!fÀÂ`aHÅ‘’åMÉùœä\*¾˜÷¯)ðú™ï=8ÂÓïa$ä"òù<Íf“ÑÑQÅMæ:22‚aÄb1¾óïxä±ê$I¥Î|$LÓÚžYØØú€Y@±j]Ct£V@ÃØÀ¶£}9Õ$ÇèèVîÛð@†h<ÝX.¥{Z~à–ÁT]70Í^f÷D‚›geË‘¹#Õ¦Cµ)©›’Zë½iÚ¨Â!¢ÙD‡ˆêÑ¢šD¡¨(ª†‰£h†ûãí{ï»tîÙáÛg5®¬†G?5¾Q‚_½Bý“Û_¬]ì2¡ °]aþ;YýÌë_Z ˜õ 5Îý«Ó(Q§ájS#IÒßêÜÙ–LBç½{®VR:XÍV³†t$…ºÂJEc½b`‡¦ijgV Ê@\e*«3> £k ˜¼â»’LgBc_4*…¾¾Wét†t<˜¶‰4Þ6ÓVx>7C³åµ>66ÆÓO? ×kµËËË=ÀåüÜy¾º·Ñî7¸iÊ! ©—VqtM#1ˆ:‘ˆŽa(BPo4©×ÔîLO÷ Áä€`rîÜK›’W–‹žî›o¯ñ­ë<|ó8?úžéÀ c¥RáÊ•+Œ{„|&“AÓ4 Ãà»ßý.ËË®ËÈ+åyRJƒ!=lÀ»ºYP“Ï¿ ó4'ûXJúŽkƒ—t,¤YCè±Ày©DŒÌà0›ÁõЊ•U§’º$™Îô¤´˜²PZí¶Úp¸R°¹\°©…XJ®(trQÍa4a2’°ˆª&f£†¢êèѪôÇCvø.M…ÛT^´R¬åÂÝ™ŒOç°Þ—ºg{Ev·êžvåHÉ· SlZ®ÏR,ãCúP¬ŠÅ"kk½î•“9~÷󧨛A0™Ö92#É&Z¿é+w$b06’eldˆì@EU¼˜\nÌ6׌hÙlšÔêuÖ6 ¬¬­Ó™®žÈž8¤r!çðòI¾ê^˲%ñò¯ž)ð ?ºñÁŽ¿Z£ÑàÒ¥KŒ{~[‰D‚‘‘Ž9Â7¾ñ ŠÅ" /–vqæqµ_[Ú ©ÂÔ§ö—^“°WkkÐZ˜è¥ÎAÛ/ÀiVQõh ÿ:e˜žžañô›=we «YÄjÔPv½ºÆ¤¡J‰D(`5LÉå¼Åå¼M®rm ÛR·7#,nd"6£ ‹¡¸‰]) j%¢ÉA”öd@—&ÑwìŠðü;’B±×*ˆþêÊ·& ±µ[ƒÓp(¿íßóò³[8Ž£/MsµAéÍå7‹”ß,amZ̯«èåðÆdè ÷ìˆô+ǶhÖŠX–ÅÅMÅMƒ~¡S®U¤„å‚ÉrÁì!iIToÝz Kšµ’«¿…$˜P•±Ñ±®“Üo›5Ÿx£4Ê•FªuŽÂ‡?üး±±J®ö;—ùÓo,ÚþØ€Îm³’ñø*‹05>Êøè0™”w+í žhu50ÃÐÑuT2ÁüÌ…Í"+k¬çòØv°ÁÏeUf%§Ö\«m*^Þ¨ñ‰ÿø?÷7öHyÛ¶=M+wgFi6›ÜqÇ|ýë_§ÙlR—:/–wqoæ$ZXÜênÕ)´É…m ç·—ì!Í{µ0¿Ö¼úo“ ò§&²eŒŒ¢jFÏÚBG¨H Q+7º2…K_Ûí’·/™ô€ò,‚͆ÆfCãRÑa×`dĦZÜ K£Çº3ª»m3®IîÜå›'l*!nÊ’Iä÷Vh|brË_/½Yô[x_nðòn%jB#¾#ÎÀƒŒ<1F,g3õB#”@WÁû÷ÇJtì­¸±RJ¬ffu“bŽ­FY«êüð*:(Õ†ƒâS:91ÆüX°ÒШÙ̯a‡¬ŒÄRÜvÓÍD Ý×wÜÿíŸçj¼Qê¬Gef¦³–®X,’ËyÓrøw_<Í^îК*¸gÎóôQE†¡³Ïn:´Ÿ‘‘!b±(B¸uíâQçZo!Õ,Zʇ ‰0”`bl„X,B©ÒriÑ/B†’‚ë&– «%÷Þ›–à ÇÖÉ$4vNë´Z­’H$¼Èñx˲H§Ó\¼è:ײa&ZôÚ‰û›mÞÇ÷òï ¼è=öªÒÍžw!X?gVá+z¶õù.´Äp€¥tMãÄ©w1]´Š(ŽEj`#–¤CÕ»ry£ÊêZojè×@joW,G°ZÕ°Aʰ±­Že¢éÑVï@±‚ˆÙsV“+€úv ë}iäh¸S¶]±¸ø{°òžÖý3Ÿú±_^‡P–vk&Ÿ«‡Ïöû¦âŒ¦zg'ÚfˆY/Ó¨•9›7xm9FÅü_"¥ßÊXD |mÛìË_%ÓÒñ˜—ä Ã¬:H»ÁZ3Æ+›‘ã®»îb׮΋Z­Öc*M>ù§ÇxþíNLDUž8¤²k¸óªª²{ç÷½÷vÌÍ (*ŠÞKÑ"K[ïBx)•V§n÷?Ñ‚¶y"ZaVÚý^SUF‡‡¹ñÐÆF†éUQ¸c‡Æ=»UÏÑv$ð•süÿ_=‡í«tÇqXZZòf+ŠÂøø8ããã>Ü |±1ȱê˜¤Ü ½À$@(­—¿\¾mã®b’°$ÛÙîOvÑsœŸÁÉñîÛM4íÒ¢ÜÏBt¢¥nYq‹ö"”¶y(HÙ¹ŽwNë DSUvÌM3”àì…KÔëAÿ¯=c*™˜à«',j­¾õåï/³”¯ó‰Ù‹Ö²Ç-Ëbyy™ÉÉIw™•¦1>>Žã8‹EÎ;ÀÛ•qµS‘6ÙÚev—A¯ÓU7/Õ}L÷þîó»÷ù´ÒÀe‚×ñŠƒè4:ßyN£ŠëÕ(²Ù.ö"uËøÑ/ýÚîÕÖÁÇ"CI†2iÒÉ8ÅJÍ…"µúÕ—~¦ûÄZŒ]Ù:YÔËy¢É¬§Éw,^Á‘b£ÐêF}§ŽñÇë4¢ãºá4Îýêév?€ïøÏ»6Àª;Dþ°—ìsË'¸iVGA°j³ÍµjyÛ`¥© ‡vNrdÿûfFP•VCí¥4­ÏŽÃr¾Ì÷N.ñ½S—)”ƒ`êôyŠÑˆF ”H‹r,ÙGñL&3Þ}«UçÍò éÞW6›åá‡ö¼¿Çé™ ¬5l~ý3ïÀjϸÎÝ Ž{¯¸uºw×<»wÌ·4(¿vD@Ëí¹K;‘‚½m¼ [’ä ”ém:•äÐþÝ\^ZåÊrðù¥U>xƒÂW›¬WÜ_?[à?üå9þÁ#;½ãêõ:ëë댌¸ 4222Âõ×_O±Xdcc|¯4ÅX¤Âg‰‰ÝmÆu ÜÁ™0Â×£ýû¯À¸*xõÃI§YAe:DckàIe²½~…€ƒhµEÙS´h_ «·­ÏŒf¹ýÐNn>°@*™@xÚ©âÆoiæÅjƒï;Åw^=ÎâÒÖá®%‚Ó¹(»²u©"H¼Ã_¶|U…Ãsqž/UCNGþpæ A+­àÊg–ü.UoÈgÌ€oÃ5–þÅb3|‘ñÌp„ÉŒ ػۢV)ql5ÊfcëŸLÄ ½ó7ï™&Ñ‘\zA°¢µ¬`b(ÃãwðØ8s%Ç_~ÿ$'/º«¯†e„—öÌP K7¢D#í0ÈÁ}¹ŠÅ¹º» \Ác=æÍJ)=§Ê¶8Rò;Ÿ?ÅÅõ)ydAç†ÉÛ¤©*7ÞÏøè°T÷ yâPç; >ïNÃopìU ¼ÿP„ÂôäшÁ¹Å+–Œž8¬óÜI‹óî>ûÆ*s£q¾¥Ãç‹Et]g`ÀõcK¥R”J%n¿ýv¾úÕ¯bš&5Gçdu˜É–‰Üµ¸¸b„€™ܳÈó]¬ý,· `Û¯®CÛXÙ¬5óV¥G"z$Þ›UG(ØV¸Iدíú«ê–}sÜd?S£Ù8µLXãÃy)$éD”÷ßv=÷Þq#—Wr|åù—yù¡¿ã–Ü­ƒu²²ˆ¢êh‘xÀ¢BÂHÒa~"Í™K½þvbÓFÿbóCnèìèt€7o½'^‡eü×ðLІ¦rÓ¬Ë yÞ°>S¾Z.òö6Àêæ½³üó>Ì݇wèA^@:ÞÈK,ŠÏpãúìžåðn~ì.9ÞÏ®ï§V;¶IXµ(šND÷Å7ò•íõÂí–yÝu×yZ¸Î”Á¤ð_¿y‘ïŸÎ{ßM-°r%‹qç‘›\þÈG*·ÁJx«°ït:ŽÓ rW†ÀxëÓÚ0”`anÊÛ/MSøÀ>ñtçÌ?zö|„ÉáŒW)ÛýÆñÊÈøí{Ÿæï}ø1þ÷þƒ™þ¹%‚Óù(¹ºêF7iÅä—Þ Ðê“:ñXx˜&?¦¤ ø×ŽOu¿mÀRߨ¢žç®öLE‰éîæqB`5ªœË«ýÉõD,ÂÇŽÞÍßyôR±ˆHÒ—ñ¸ó°{ÁªÝ½F*î<´“ÿ󣇒~àŽRŒÀN«aõѰEÃеÎnÁçR –šn%kšæñVRJ/ ž_^8¶Îg¿Óñd2¸}¶m» ¢Ñ(wÜz©Tœ6}Ò‚ïѪ[!Š"¼N(G·ÿ‚Òoâ«saï­ëöž”Ȱc¶7Žªîßox³šŽ„ßúìI–óÁv³¾Þ™`ˆD"$“IvìØá¹?˜Råxe¤.¾A©‡D4¥k¿ï”íXxù®«€x`ÑÙëvCSQµÞ\ Å5 »Ú§”²¯†%„àÿÖ}˜ó‘Óª.pj·ã€Å=öàÞüÊ?ýIîºåpèïµ~•sù( SR+š{«fˆê°g:ܯQ=QG}ÃÐÕ˜ÊøGî=¤ß¶Kï£]©ªÊBV .’Bà86«Å:WJýø'ã~ú©pxWÛ!ÓPíÏ^e‡ƒ•¿A _Å¢+ï¦CëܺÿÛç°U%¢ë>NÁ¥ï¯vFŽ›nº‰t:㸦k>Ÿ˜N§—Êü_:ã}LêÜ»Ëñ€AÕn:¼ŸHÄuóðP»N[|æa°EG;êêO¡ÕÕï:¬?¢ùâ@& Z1Cðàƒvõ–ë¿ñ™w¨ùâ•5 ÊåŽca6›EUU8àm;U¤b-ÒýSºî¹[;êž.°ñ5 »þ¶Á«õÙÒ¶:Ûp[¹aè¨joÿˆžYÂvK24%4¶¿íH„ðƒRG›ò¶Ñû9¨…ù IÔ0øè>Ê}wéù=ïw¥à\!‚Y¯à´|ÊÚw)¤ Ó Ñhxìv?¶t- üV÷±Û,‘·Ð¿¾Fh2kð/)k=P)¡Z)sj=B¿NŠGùé§îcr8ªž†¾ Xµ,„B3Ì 7ô†èÛÚ–mš¡jˆªjÞHè>Žó›*¹–™F¹ñƽë4 J¥ÎÛ‘ü?Ÿ?EÓrÕæ¨¡òà>‰¡w€æà¾=dÒøI¾èJîÿ¶ªÝ~‡ Y+[»[ï‚ëëU©›lVšäŠuÖ 5Ö7käJ 6+ ª «uý®“û¾C:$LúŽw_CI•{}i .®×ø“o\Ôg.—óÊÞŽê033ãñ[ o–F‚×î1 ý`Ö d!Ù5X˜öµ]ð Ѻ;`‚«a)ZØ€.°MÓkOþ>!¨j¸–ÕhšÁ½Ûô#¼o…kYÁ}O=~?¾ïŽÐß(65V*Õ–«/,bºdj8<\“þ•MDÞ%å»ëéîcû–t$•wËäž[§þËf¯¦"„`טÏc¼Ý™¤ËZ…fŸe6Éx„Ÿ~ú>&†¶«€vÛ+!b‘ðħŽã„¹€¸eWÂMWEÕ0Úª¸”ØŽäõµŽvuûí·‹Å¼ÆÕÜ–g__ D[¸ŸJ:Úé ;æf˜ö mmÎWÉ®–'¥§É9NÛ'(x/Ž#©6Lò¥:ùrJݤÖ0iZ6–mcš6µ¦I©f²±YåÊF™|©ŽiÙ¾_kI'½÷ºÙìÆ+0?¢ró\§SýÕë«,å:“ íbmDQ<èm;_K‘·¢Að pKÝVy™Ä®Àº´¯Pð »V­Kz3eömhz8øl·Å®¶jKúÆ Šê*J¥»ùLCœ^ðòU&%?òè¸ÿ}·‡þ.Àåb„JÍĬUè´ÝÎýÌŽ(!©é„)Ñ?ãrëå `ýmqTÿ ÿ†4©¼Sæò.rü'ßâô'Þåâï] ñBx4†LBg4Þ1DM%°Z¨µ<ØÃåǾ³ÞE_>€ T(t5Ü.°¢TíÆ©é:zAiÛV¨© BPp—åD4­5ÂÁ©¼AÙt«/•J±ÿ~¬êõz TL½ióß_¼ä}ß3a" í†=48À®…™Xu¬o”s¯Lþõæ¸ï Ó"_ªS©™X¶[—²lŽì¼·³”Ûv(U›\Ù(“+Õ¼Ñ\´ÊÔ銤k°šM+À˜ùÿnœÑIFÜ3lGò'ßrÊår^ÇSU•ÁÁAFGGm;S ^ßôO<ô#ÚãˆmÀB® ^}9¯­ËñOí»ÏÉÐÕPÒú·EÛ‘¡nšª )Â6N¨ü¦!¾™÷.M*ÔºñµÃyäìœï΂Ժ=‹ÅõZg ’¢EIÈF%Ùt-ë™õKuì¢{_‘1OøyqTÿ¹ö°Ì\“S‡Ó¿ð.ë_ZóÜâu âf÷ˆáÊ®Q½Õv»ÐTJ·Šx÷ {8°02 t€Kv™¯ˆP°ê§e…ƒfÓ´º.DÈBp5,]W=cíD®Ó˜î¼óNt]÷«›hÿüw¯P¨¸õ©*‚[¦;£¬“®î IDAT£‚=;çÇ{wï“¿&:ÀÓór$¶ãP¬4(VØŽƒ#Ý— P-àòMj8Òñ45Iç{¡\çÒZ‘FÓî<Ù)!@½Ñ š¤]¢*‚#óúéÝ'}¡~lÛ¦P(xåO§Ó!8tèwÌr#A¡ aØlàÖD{¸Yç°«kLýÀ«} }¯ó]Ê^ŠBWÃIw¡¨=Ú¸m7Lâ‘ö¤CÀ¨/oå„lëÕ²üÇ(ŠÂß}úI #¼_•š¥ª‰e›îPç+¿P;ÆÂK=× öÝN¿¼{„Ô!/”ø¿Gõ¿>ÀÒ³;uÓÿ`c¼CJejá`¥¨ ÓYßâ Æ‚|±Ö×…at0Å﹯[ö1ƒß¹„Ï tƒ•Ÿ|wX?³Ðõ‹’=ý¢j8¶;Rå늧]¥Ói¦¦¦¼NW«Õ>W…J“Ï·Bäà´ÑÒ:Ü×ÄØ‰x,8˜yê«Ø€rÇ{I)±›B¹N­aâøLFé8­Wû<Ÿét45é´ÁÐ=¾aZ\\+Rk˜­>×ÖtÝÂÕ¦wý^»F5†Eþ??w!P¯…B˲h‡êmgçï¤l¿TO:/ﲫ˜y}x)ÑBaZTxyfã6LF4ã®O^w¦ç¶¸¦boíÝ3fèt—­û–$¬Ÿµ÷áûNçz­÷ÑáAžzâÁÐ2¬TtšUw`òŒ…NL (DúäÙä›Á,>›`ì±)»Ú«þùâ¨þDÀ$Tt…¡GØ÷o¯cögˆÌDI×Â9¨¡TC¾ŽÖqh¼°Ñ?Ðß|èv M VRW%w*¸Í[uj§ùF».SÑßàâÑpÀj4Ã˨õi<ŠªÑlq;‹¾YÏÉÉI"‘ˆÝ>WŸ~á’*&¢+ÜèsU…sn@³6Õi>S|@åÿ¯BÙåŸ)qlÛhmðr¿ÓÒ¶¼íŽ›‡®­qI˜9ŽÃ¥µõ†‰h=Ñ*d£Ù¸^!Áí;;ÏàÄ¥¯œì¨ßRJ*­EÖŽãx® ““éíKµx­)¸-0k bÝZX8xyÁ¶ ^~ í«u¹¿+§U>äLËîkj¡d|ÿ¶‹è-`ì§Q…€W&h„Þ»lWèÞwÇ-ìÞ1ZŽ|]£T®xmZá]NS ›êã“uÜåxáj\C(‚ñΠ èà&_ýo¡h$TÁà{³ìýÝŒ†OE';¦“ßcº\k²^ 7«&GØ5=ÚSqYŒ€)ˆOcò›áÀ<Îý†gè‹ð  ê}ø!°, \,wÒÂÂm¿«6Õ–\©É³¯¯xßoœÕá‹§'Ç0 £uÿø¸*?0áHÛŒ“]üž”ùRFÓMKïØ¶§a9Žãš†N—Fæ)?yï´MGÇ{·l›Å•M¦k¶»x³Ñ@is\[ Öô Æô`§MüÙóu[©T¼ûnÇÏš˜èxÈçÍ[£ R›“c68vaƒÍj³uic[X·Ö D¢ ¼Â8²«i]Bà¶é 8Z–ê¢ô2³¼H±U–.° › ”] Ôkâ=|ûÝÏß{wh9@°ZQ[Q(:¾™íg1œ¿¯TÎØc³qnНõ¯-c¼û}yëTõíB¸ú9œV‘¸>D~æâF“¶Ñ-÷9à«´Ö aªiÀìÕºL?ÿ¶ ó¨ûÞ_Ã2½‡â/­ÚgTsl›¦íP¶ru·óÅb1FFF¼ë4›ANç•S9ÏÓ>U¹nLz÷£ª ³SãîñíÑØ‘n{ó.Ñj䢳­]VoVP@©Úl™gnµu¸ªŽé癈-žËÓ ÚÀæ™øÌͶÉ(±É¥µM&:á¡«•~ör«xf·-\ʻ֪\Ù¨19ä†õzÇq¼¯ ZÙlÖ ÅóýË’¯}ýE>÷­“lƒq–†Ò1ž¼k7O¿?ûg‡‚uø×z%ôvùkŸ¶­õÖQ[M÷ƒ!РÚÇÿOÚÞ;Ú’ã¾ïüTwßß}ù½Éa3@ˆAA&e‰T¢¬¬]IkKkÙÇA–¸ÇÞ=^íîQ°i[–•%J”,Š¢(Ñ$EŠA‰Œ“ÃËùÝ|o‡Ú?º»ººoß™IÕœ7·»ºº»ºÂ·¾¿_ýêWÀÐÛVÀ°™6›É`šáˆ µ*¦iÆÄ:@F!ÛŠSvOLxÏÐvhvú¸žÏ„\Mt]Ÿ%¹^ïj¢¡/º1Å{Ⱦ|}V˜Öïöm6w;€¤Ûía;C„ÚŸÿy:ÃòÃTÅd¢1‰/Ÿ‰ÏÊôz=õM…‚dºXø7gúüÆÇ_+€ífßøø+<ù3â_ü·ÏÒµñ¶Vi ,}¥1/Ml+"±sð}£'òâ¸޲‚DJ¿-êQÁï`ŒÒ½ËDm?S©M²$™”&ÝÄgäS•ö«Í“?ššO 5Ñ„Ð<9H¨æ$™ìh¿*}ÁÞ‹;¬þË!Xµ€Ÿnÿ¸üsÛ6Ö>¸ÂéŸ~ƒî¹QßìÖóéæ •‚IÞŠ›1 ƒ¡KßI§·OÜ«¯á×Ù•*$â……LŸHÉnp=À…sé€5Ú$+NJ‰(:“Áu|û¥Ë­ˆ”:tÃ0Ô½ƒAä~¥7pyM[Gwt"Žü“µè=Ák<þ…P礀H$ô¤ÇN³çƒŠ.®€•çúñ®ÝðÜõ”žJÆ®»¸ž®s g×vÚô6ûûû(“tˆ FoÕÓÑé¨ìt0ßÑ_ø¹ ÎtÀ:v옲«…?üÌë¼ó§ÿˆÓË»é@•0M„u13yOŒFÓ½'¸W(ÀB¥³wtCÕ Q3Z>¦ŠßvGƒ¯ÃÒÍ*üç$A*:i5Ñî{ôþ»(—ÒgþöûZ[„ cAµ˜.ÉÔzýK ‹ÎÅ{}ô6ú{œù™7XùÝ%¼aԱ̗Ò7˜˜ª˜šÔ"‚n_e×廌>Z—«‘#ñ££c‚Y©ëiº-íƒba ã¸4¬ BŽÒJ×µé9’õŽß,ËbaaA1“á0¾©Ã çwqy°5™Õœ aШהø%c5*ÆõVÚ¬^×îèl\×ÃÑ€ÊgS®:v€æÏ(†ìkÐBÑ19é ¸²Õ¢Ùlbˆ°¤*Z)e{d*¬7—Z4»Q{ ÅB)ý©óL&C¹\¦Rñßš¦[ }µ°¼Õâ{ÿÝG¸´ÞDŒÌ(PÅþ’ìk,Ëe]×Òu #Kdìêÿ8®‹c–Þ xŽi»¥|Vµ{•¿„š%bYÄL×_¥¦˜8Äe2·ßrSj~ÚCÇ( Rª`rŒ«ê[%¼ü p#`!ùyàçÅ{3Ÿè›¶Îéú:í“þô¢1fçzÉT™Ð‰ÑN;½ ¦ëÁ¢f]éh®3+ˆƒTª+¥Á1±¨ÒŒ±«Ä[ƒt;,Ÿ†§0,{ÈÖ ¯ºâÜÜœR˜{žcW_>1ˆÃSU¾¥Z.ašFTz{ÒfGÎãLPJÉ~»‰{!8¥UÀ’ÇEz …ñžŠÓECWc^þ¬£”> ¾q~™f ¿òEBðŠ@Ë@b(…Žÿ7]±”!©„˜ÇŠ¡^Mù~âĉԺL {]¾÷ß„ÞÐE_²#Ò@g„}ÅÁ+]lL*ÚSXW‚¡ +`Uô>ÛI, ÃÐŒ±ÃÊgS¾É–N>ˆ¡)iügÄ™X·Üt45?=Çð ¨ETç>êåtÀ*Eø à}Z´þ ð؈ü6Xpî_fé×.#öÒ &— flbýZ°×Mƒ¸ùМÊpœ’ŽcWñ†#tZ˜DhL+lÚt÷âL#5OÍöÇ•(ÿ ÓÂ#Å‚ëØìÚ‘H2??õYGÇõxá\Ô6´rИV®«ö1 Rjy…21ðbÊônÈ`è³+׋ÀÊu}`r\'ïG—ë„»š—»•…€çÏ:º€]¸²Ê›—6£~Õšß U¨‡#SkHŠ…:`…>àuÀºé¦ô‘|\¸²Ñä¿ÿåKq€A3}ˆµ-|à•С¦Š€©¬K.Ã#è7õþ¡ãâ¤ì1hC©'ôŽ+i¶ÓwþžŸª*v¥XV¨ËÒTLä»0ÉX\̼¿½Þ|ã±15 Øm b¤&œXÉfƘyŸKÆ›eŸ§+œ€o"Ú£¢‘‚¬ñ!d¬o{ Ý4An>ëðÂ\jžºÝ6];6P¨`¥ºÎž¦Ÿ éêvPa8µÔ¢x'ÈX‚…š Ô[åb´æPzR­„¾*Á¬ü2ógv[¾kh" ÿ<×W‡ ãƒ™£±©œŸ}×tñ0©Çò\—þ`À•ÕMN]ÚÀs}‡Ð¾²]ªþŠˆ²®¨^NG õå {±%R:Ë §úÃrV67F'9.|àÏ¿ÂN»O¼-%,}ià•%ljŒÉÁV;6 Íó„füÜêvq†£J÷´6ˆ„Ží·Ý´pxn2žW}Ĉ‰ƒ) • L –ÈÅ:L 1MOÖiLDõ¤‡v_¬#½wÆ$u]¡%…sZl ýØ ùÉãäæ ‡úÕûk#[H[鎆AÆaJø+²%ôÇnÖ7˜Ö #üø  xaW©ôýÚÀþM7j”RÄBÏuÙÖËÅd|MÑƒëØ eÔˆŠÅâ(°A÷ÿ4SÍbš¡#9?d2V\äó¢rð¤^( ú–õqqÐgGîÀ#7št×ñw*Q`åêì+šITŠy)cL+R¸»q…|°ñå7ÎaÛ>»ÛØm)}•ÿê²|ѯ*©âæj¦*‡í±×ŽØ…뺪,ÑØ4M2Úhê´®7´ºC~å<7¶ý\x#Õ#.FiE&§˜ÿ#V·Ÿ*æóùØ€þí·z©;Ñ”òY¦kåXŸQy YÖ8½T*0…í9] L^?>ƈtfU§Ú,æG:öd&stζ¬õ™ûÖXõ·MPÛNÓaïév?»C÷L‡Ì¶dÃ÷u$ãëí1¦ÙŒE>k!=Oc2ñJHeWºUŒ‚ÇEÁQ»¬ÑÙÂ#‹³œ<{i$o[{mL摳¯)–jìwâÓçžçâ _î6M32ødtåü®Ö K¹¨Â`Y–¿$! ÚƒÿÒ7òW7ÆË¶;°qT£fbâà§±?%Jˆ–ȺUd /_q Ñùön“³–Û%µí&‹Óµà+$^b—îФL/Ó0Èg…Úx§=d²šSå¨lã´^(”È]­Vc¯'üÎ'^æÇÿ­1êï=ÈdX J„Š‘"ݓԞ?Á³$Zz)A€‘ Üð„Ÿ%½Aá —b‡U,ÕâÁs·öƱ«†ÆÃ<‰èÛôµ…á†%Ê&‹Øµ0ÏQ£Ô~ÃI\oLÔÒ²…ãåU0X!ÃJQ“— ì®ûýo¸Þg{Ý'FÁÄð‚e#VÕbê[f¸éoá–œ`öÉ©Ô Ã`dG!8éî.Ê…\:P…ì*ˆV£ÑØvEŠ9ƒÒ[%™V\GgSó6®òKÕ†6‚Á°Áî5‘u{°v´ÙÒbL·(|_\Á÷y ` YUl&U-LŽXV§7ôuU®ƒˆƒŽ¦Ã ðŽëø¢ž‰„ަ§ŠXXÜNK‰Š› Ó<ÿÊ)\×Az¾ò~e«©úŸ A„ÑþÒI1‰Ö»í¨¬ÔÚÇËÒoµz}ÛœëÁv<þÛ_¼ ôIB÷®¢ ÙIÌÏÖµX—.*jƒ¬™¯Fçp5;=z”-饤\M׽ެI”ÚDë‘n7xôˆXHœ4¼EfÆ3mp<”ÚCχiHŒ1 Kl¤Oöy=kýC«ÌÿàbìBn!Oéö0ê´Ï4¦˜á:!;Å_€¥‹ƒº¾J–ή’tújDI7,=²8Ÿ–56÷Z¾qy8ƒf&›C Ñ'çl´AhX!P–ư|s“è9ÙÐ53þlm£ïŠž£®DÅ%€V§ã¸Aâ uL4 ÐS,IçIÃSOéÐBå;ÁubÌìâÒë[;~ð<0`}»‰”.Â0‘fÆ qX¦ˆ‘ lJ9ÁvÐïv´]ƒBðÊ0 \×Ù_}5€ðôk— ÊUcMjv ¢ªs>ʺƤ É” ‘ 6hÙ‰„f§CgÔ“¯@b醕Aö<é·Ù´pd>ØW@ˆ8»Òã‹"Á¦Æ3'ýC6&‘‰“ª½VÊ%Ò‚ã ¤ô0‚½>Ã'šB`ŽÙôU4]¨ÀÄ;&™ÿáEú{´_mÑz¥‰µñgkÔ®S¼1þB±›®Ä ] ‡)Üq «TÈEŒ! ¨’µ=¸ìJ]Oˆƒ¡}–6SxôÀ8Å{—¾kl3–ÉPsE°üo÷¯2, °²R}€e™A»Q{ L@°ÍVÔ¨½W½Á×s#pÓt^È^eÊ_h[ˆŽžv ½PŒ–éØŽË ¯žòÅz!ý/l)iw‡Ôʼ0»âFŸ„¥©3,½¬À×c…3„!`}­ àô•m¶[=&+øi/A ecæwüñâ"Q}Çf¾ŒZš¢Ä4hvºtš£âmÆ2c:Ñð±}GŒ,®ÃáùÉ8C”aß¿G œ (°¬¤J@â‹‹m3ˆ>Jÿõï-—ÒË•þÜL̽_@Ù1›id\ÈÀâÄ,šdîÎP¹»Ê<‹xpå?^$ U¦eú…¢C BŒÕa•ôµ|P¥)ÛÓ쮮ή FEÁdzƒs3˜) L=×e¯Õe/ü¨\.®x7²‘²·P(\U$Œé°²ú("„z!‘qPdPNq°ñTù mFÏ í¡8˜ñ"3ÇŸIô\uO(ö…‹¥]ÇÕL4“×ãùWÞ ÓéÆl³ÂÍþp¨Š[©®Ãó”8”r`µã€¥‹…!Óúz0,€“6‰ãz{2bí-&þ¡eå£îøF£zŒ•ÓmÛÅÕ—1Ék:š®²O‹zðp`+ J[r£•n‰2°¥r”8ʲtqN 5SDZ#f06ÿZ`žÇæöO?÷¢oåyþÌ`žZÞ†¶£ÆN¿ºâ¾‰ØŸ_§]Íf¯Q‰/ÑHµu#Ê·j8ª‡Nߢ«9é˺®¸Ì|U °|³¶¹E§™²2’lÎh<Ïo«iáÈ´êI±p¸ÞЏ—Ì —êÕ®g¤~Œ—î )%VÙbñ hX0k(ó2m9“ôp\â…‚/ ¥¾XÚÜ‹Nô AöÓGRˆÎÂìj$]|µ,‹ïJ_íau;mРRŸR®f’€u½ «£Ñt¡gRÚ@Å;èˆH¨é´ |»–˜Áh8×Ôgbž.ÇÑÄ@/¹¥•5þêSŸco¯uÐ"¡Ã*泩¬Ê?e\èh"á„VVº88°ö÷Ó7ô½ž07QIU’I¥°®1Àv=Àe•4Û¨,„¬nn²·µ4’?!=*µQe³”~M ÷ßvV`ë’IÆ¥yHíˆ#¬KO'££”~pñrú‚iŠÄãüsG’ʰ<½­ôÅÝ@à¨? ¥X¡wÌq€¥wBßåSÜ[í®&fEz,A$ú¡Z¼/Šhý` ºž«€É¶íÐ¥ß ÅDǶ5Kw_,t‡×Þ8ͧŸz†^¿c +ȫƶJ…¬ª¿X ê1'€Î  “:,}–0 _†•±Lî¸q!ÆDZ¬q¬ëÚÀœ0s¡þJK3¹tñtªÓ¾B.§ÚÞ[C¿¦…o¿1%t #Á¨tI£d×CŠNK;ÑM#zý—–VA(å4O ¢ÚΨ9€cHÎüÌ)¶?¹™ú=ýéËi߬"ZãN¥¸8¨Å¥4®tà2¸çö[ÉeGE{8`m§3’=€ZÝñÞÃÒEBMMÖ—ã8´»¡K`T# ý¯ÄÇŒAC}’RÞŠÛ[i& ®&úÙŽ¦pw#²s‡ÁpÀç¾ð/¼üžëh¥1¬ä/~CÍg-j¥|PÜB}£wÂzñªîtVœaEL% ú¦´Ífs¤þ®'Ü}ÓBà.;bR©~®FX×[.C¥³Ê¨ TiÖ¶¶ØY¿œšÇZ}r¤ýI`m§ƒp¹l†»n>ªžÃòמzèÈ›‚¸‘è4E{<œ>I±ád¨—uCÝ»:½te›iK–þËe.ýÒÜ^œ…)†…«–añG#ÑpŒmÅNÛßí7®ÔKé>nÎ-oá¨ÄJ0§€q‰äõQÂûÇW.“åÞ;nKÍãÅmë)-¾ZŸFHiw}æÃ(`%AK¬½ŽËwøYûÍ–bOÊp]áßn\ kå\ÌX4\38bêàjÌʱ#‡ nck›êo¸tùJÌ r’ýE“Q<žÇ¡Ù CøžC‹„TJñ‹ Õ÷ÐE4®°t†õÕÖ;8N*‹ ó–ÈzÕü IDATd]êÚ5€+6ˆ•k˜˜… ”H©ÅÅK馘3éQÕt¦µC½mêáž[Ž~¥„þ -OÑ™:Ší[`Wi9óÛg/¦¦²„G¹R¡šK¿=ì´Ò«[úÑÞS;œýù7q»hE +ø«?Ú ú€¿òz×XqÃv?Cõ1ûٮǙ¥Í¸œ¬nƒUŒaé×u Š5ÔñxKùH7ñÈ}w§æq}kÇgC±Y:ÿ/—ñ7¨”¶?2  MLÍ·Ï-"’½ŽÃ^ÏÓ¿´;]_ï¤tYË’qV$Dn‹'Êù@äó” GûôYÂ@?¥DDÇfww—Ï=ý õ‰O³³»ÙW¥‰€ž`J¯äë4ŽÌ7T]­:¢>Š?üœ¶°õðL‘B.*7Ó4`é#ö× X“Õ"?þžG`•póÕW Û2 5„iieãß¿µ»Ëù3¯¤æ1ŸÉÄÖx†õÞúm3-áÔ¹³ìm¥+§+õÉÔøµ=ßM2X¦Á½'nˆ÷0ŒK„«±«‘ã´d’Óç/³²–®oª¬è"‰žmŒì0†4Ìi¿ÜâʾøÞqû.­›ìiÖ‹ûx#èå|™2éËqlš}¨äâñBT ‚Ý“Œ×/®³ºÓbn¢„®p˨´xÕÉÓ@Mg\ɸ䰿ú·Ý ¯žÉã¥õ]ŽÍŒZÄ×&¦ÙÜ\Q¼Û¶­–d³YÕ±<ÞàÌŠŸþâ–˽‡õo“  ÙlS¯Dôþ"\qrØäÂEö¡¿%)ýÇÌ6Ê\Z݉”ôàù]Î÷|?ìÍf›³.rú̹ÈVð ÿÂ0ðwäøFb¤‡f4) f£Zdaºêç4èRFØ?VŸŠ‚þ@²¼ Ü­&ÐYª”2Ø´666Òwß¼³³ó–g Ï7øá¿ûRF͈°\µÄú¢g½‰†äC''ZUêßi”&Sí:‚µ­M.Ÿ#Õ÷•µ‰é‘x€Kk»©ñw?êo¬fÚÂA>‡ôzH}ÚU©U”$, -|ê©gÇÞP+ÅõWáÝ­žo¼œ ^ÝdîßÝHó…}+ܦƒÓtpš6»ŸÙ&;“źðÎÒ~µ…LqS¾«ŠÛ0È<;Š@;m‡EµÞP¨ÜÌMØí¦3•ϼx–ï‡>SÐÏupº¨¤Ç¢ÎôÈý÷¦ÖêÆ.}{ž\&*‹ðMå\»»E¦q#ëëëLNNÙÊ3fèhîÁã þà³¾ru£iÓHÊù¨QoÞpñÊ2åBžb1O©iû­C"cL UŸ:¶0Éù¥3“šŽics‹åÕ5–—Wh¶Ú#–êaF$Â'žïŸÈ×Ój[z_Wç§—HÿÈ]7 „6g£ÀJˆwA¢s›¶ú–F%Ë ó Íd2ŠQ»š}Îêêªmßxã‘:»Vø…ÿõ]dBKyÕoü^í¿Oâ;£”(· W.T €aÑÙ:Ë;}á<;ë—RóXVÖûRûŽ`u#°ºóT»VïZ‰_K=¿JH‚yJXßÚá•7Τ^+Z.åZM5ö¨É‰Àeõhpï-Q½¯Fõ¾Qg€nÏÅÙw°Z/Ä)vñx‰êý5ª÷×É-æ‘¿»)€µÝ¶‘Ò$T¾‡¡Q+QXïÄüŸ‡á+o.ó­§ZȦƵAj,¨¡ài ü+q@{èÞ»ùÀoýÞHþú½ëÍ>‡9ƒ@­1ÃÚæpàaVVV¸í¶ÛpG‰ƒ¹\NÖâd…Fž•¿r.nÛܱ¨ÏPú%ç¹­v‡N§Í¶€B>G±#ŸËb™ËÄ0ü&Eø µRžÉj‰Õ­=º½½nv§ÃÚúkëÁÄ€§v»Ñ-ÕCýPL¹m¾2Àðm½FZ¡.M@.kñÀ­‡0ªŸ‡,Kˆ(Nº !gcâ`|­¦X!»’R²²²¢pŸ:uj¤Î®ž¸ÿ8ï}ü.Rgº ɤ¸Âk×\ѳ¬Ò´rò¨‹B+ë«,]<Å 7j\)\›Z#bõz_ZßïÓï¥/yyàŽãúSô) b©øšÃ_?ýåt©˜,‘þЍ­I Ûû鄯½/Ý €Y01 &1C+£`à¶v?¿ÃÞÓ»SPlIÒæÕº>ÍA‰j.’9ÃÑtv"ÃÅÍQ£0×óø³§ßàGž¼‹Q¶œÆN u-Æ¥ƒš~1å§àµ1#µ‚vßW(Ç·$‡l¾ —¾‚7lcdË4›M:ù|^­oËçó´5‹ß7øÈ³+œßt¹c•/!BÈRÅIéï=è÷Ô¶Y†˜†eX–IÆò-„¥kãu·øóÿù”R˜‡àäù.i’F¨ž&)B¾q¬Ê!šþ,E#¶÷ÐíGÉe³D_ > ëõãÿ É¥­tý•a±õ‚!èïîîÒétð<~¿Ï… Rë--ýË=zºloöpSéŽc+}„_¹õŸkTÉé ûήðü™•Dì â*§º’=–èê ¶³»Ï/ÿúo¥æmváZQur´¿A¯…!œí¨á­®®2 ”¢8¹a‚Þ)—w†¬7݈ ŽäO?Œ_ó¤‡íØ ú}ºƒ~DZ¹åð,·™ò†”s\š’=iMŸzú©¤ZÌóMŸˆ ±‰•õpðãž¿8Pæ …¬É‰Ã‘×…l6ÚQF÷ë¾¼¼¬rŸ={6&*^-|ËÛnçƒÿçû›èj,;fž¢hUº‡ úÄ·j >Ô—ZÕYüÑÞ`s{›Ëç^K5îC:x®=ÒÞ¤””J%f¥~ã/ýΟÒj§¯ßûÛ¶ãðúnŠá'ÀDÞ%_ êWÄ-Ý—·º¸)z§Ýn³µµ¥ôW¿õ ïã /Ü·?ýVçÎ#5^¹èOÇñì€#S1­a§!D K¯p#|½Q÷ÈǸ°¼ÁÓ/ž oðCíØðgû “зwÈ4”¨¤1Òø9,Î6ø{ï~˜4C†ð}:c”ÚñNÇå¥Ë³ü®G)¢ /—Ë $mÛVbßk¯½¦ÀjºlR+åø–Çîæ[»K+8©õÁ¨ÑŠ OŠ]ŽÑWiÅ9 \)÷„Õ¤ô[¡é†•%6¸„e"ᆛNpÃráä—pS ±¥aagªl\>Å wû§Z˜/;t ‡Žçüé“#à÷éç^eaºÎ·½ýÞx¹\Oˆ N3Ö¢ôpæÒ2ÿåƒKÌK–ÍL£Žiå´ñˆ'áÒzú:ÐnNòÂ/¾y]ÙŽ-ÍQ° ‡ïK7lk¶:ìöÌ8K 2995ÅTa¼ëÔ“×ùïù,¶sÝÄX¢•dUc¨•€¿úôßð'ûdêS|½U™#5;©ÿ)Ù¸ršYð;zìh*weeÏóh·ÛªãW*•ØRzâ°ÊÝnÇåõ;œ1£™1 æà;CÛ§0DðýïzˆO ž±Tµ×ðm­üeD&†aF`e˜èb’º'ÐÑÌMÕùÇßÿÍs¹`OB ÌT^Ãê_û›S=Õ¦¦k9Þu_´!H.—S³ƒBeÇÖív9}ú´Ò_=p¤B̪\ïFtQZœru»žH¯ûiS Kâ`RæõÃŽÆGÏ(ä ¼íÑ'¸áÎo “££1LFõ+§GDp!àHͦQ+Õgýþ_}ž/¾N$¥0*9zåêa´]ž¾°Äü½?ë ÙÓ%’¶¼(T¶K 90ØÛK·¡[­º×¹ØâçT° þï®#ó£ `ÛC–vm_%""¿70L‹…F‘¼9^¿´Î¯ìº}ÏXàJ Qâ¿þÜçù?úpjyTkÌÎÍs¤:ÄdÔ¢|{í]G 0 ÎÎ9Âu…ëëëôû}Z­áúBÃ0¨Õ"[’£³%Þ~{T‘_:?Àv¥š¬e&agп%§0½ öS;›0ù_Þû÷Ür8꬚«hL†WxždZD 73YãŸüà»)‹1€Ô»e˜OD…àÊŽÃ鵨^¿ÿñC1Ï´•JE½s8*ýÕ«¯¾ª,ô냛ʅ»h_xEç Œ®¸F@iôû”%<éÙ8Íõ(ªWÿ¾™©iÞþØ;¸ùžo$ŸÜ 5  ëøm.6I"%¦­™›§Z›¹UJøü)¾ròì˜~ê,ƒã‘ÁQh—„úyíÌ%þÓ?ÆÐU–‡a2? >5‡F4 ô|v•f,ê’õjºò^"cP8Xœý¹Å÷‡~[’]!¬ÀX·±Þ5úêõjµR´i¨&&X¹ÆpæÀDꥅ­ý_zýj‰ù© ¢›ußìÉß«¥1ØÙÝã×~ïøÈ§>GÚd™lŽ£7Þ± —rVqUOû;ì5›#`åŸK®~‘«)+ì¹¹9¤”‹E„är95%pl®Ä'_XÓ¾_üŽÇñÙL°pX¨¶Šá1êzÈšôôÁÂã #Âàþ‡)òœ¾¸ˆWQ#ô;-8… fÄA,°z7 “o¸ïV~âï}¥¢¯£ 7UÇ÷·—ðã½Vg ùÃg[ ‚ŽÍ•ø±'(@,‹j÷!!»»»H)éõz|îsŸS€õÎSÌÖó1A$ò¶  F -N‡eè˜ê>bDZt±÷Gqa´tH§™-ûÛ éyÂgZó³ d†Nk‡a?E—#ƒ¡@’+hSüÒßa&oIœlƒ½ÝíçwR—Ož¥ÝnsÓÁY`–RE³q£ád?Jö¡þÀæCŸø"þÔ3©®`ÂPÉ ™©å)O̪v¦eœ:¿’ªË³¿»AþŸÀ¬Z˜yoè©•6±àIœ¦9û³‹ï))S}tvg3ä?2jyëy.]Çb®fEˆ°\ü™3c¸GÛ¶Æ‚ÖÐvyñÌ®lìpÃâ¬ï ä«,)áÓ_x–ÿò»¿Ï¹¥5)ƒ‚‚#7ÞÂáI‹©ÄÚ%! ¹·ÍÎÎVbô‰Beb†Å…Ú“÷öö8xÐ÷rQ.—Õ"^˲Ô>r¥¼…çIN^öu[»]׃C“™8P <í7JOĆ"B`püã—×vØÙov² "Öù¤×ÁªQ¯ðßó$O>rg`eŒ•ÔÄIœm¹üás-6[~§2ü³ï8Ît-¯ÊrrR½»Ûí*2/¾ø¢2­LÞ}ÏÜ(ÛQL‡ø·¡»>úŒ—PeyUàBKƉѴ ´\Ïî`f+1BøŽl6ËÂÜ<‘£ÛmÓ龜HBÐëu1 ƒ\ÞŸa»bÞ’†—­±·3º~Ï“°´±Í‹§Î1]¯2;QB‰Aߪž8@‰~e^=»Äþøœ½”îç* %Ëfº ÙþšmêHOðÊùzcöSìÿûdn)Q¹«ÊÄ7N2óÞY¦¾u†êý5Š7–ÈNg–Àí¸HGbÎüÜâû¯¬$ ',¬Wº˜«£Ôn8bå+4J"öÀ0-òÙ,¦}uÐØØmñ¹Nqim Ë4™nÔ0 › qÀ…,­nð‰§¾Àoýñ‡yáÕ“ l‡v? 7¦f9v`šeg“º[[«cÁª6¹ÀñÛäñ‡ 5ì®/z½ÀóÌ÷üGù¡oûf§&ˆ1'üº"ÐB•b_A¾>öJ‡ÓkQùÑo>Ê#·D:ÐjµªvÏØÙÙQF³ŸùÌg°mÏóxçí3,LջƳ¨80°®±À¥ƒ}:ƒRÀ%ˆÇ'Ò†ÌWzÞ …‘-ÅèÁ=–•aan[déu;t[)Ko„ ×ëËæ±2ñM7J‰käi÷œÔ7ÇÏsxñÍ‹<ÿæ%C›F¥H>kF,K`Ä~aìµ{|þ¥3üÁÿ|†Ï=ÿÆU·î‚¬ S G1­lL ëöʎÕ•twÐÎÃe†?:º†ÒÈd§soòWÝŽ°7† Vˆ…?;*&X…¢¢qq@íGÏ!R˜K±TæÞëÊ–I™ã×ûí}¶w¶Yíäqå˜]“ÏÌç¸åè&kUõ z\6ÇÎ~‹íýÛ{M.¯¬³²qš=—s+ ÓäÎ;ïä¶i©fêÂæ7ôY]½46/•‰Yî¸÷1¼ç~L3C³ïò?žßQ,ûñÇgrr’……eæ`Û6ËËËŠ÷†.?ÿ;¯reËg¦ï{ Äº…Òß·ZD0aˆð<úzRõY#8G;ÁôV0äÜ•u¶÷Zlí5ÙÝïP.˜š¨05QáÐÂ4j5R[& žôukRŠ`wgnB"^0¢zNí™s=>ùZÔ‘¾ùžYþþ»Ž©ól6Ëôô´jÍfSͨ~ñ‹_ä•W^Áó<Ê9ƒŸz÷ÍÚ~—‘æX&«."$±Á¹Œ5dõ TÖ*Jù¢ki¥êú³¢c)%Â0ÈÔý-êÕó„z†ã¸¼ôÚK¼üå¿agí"ãÂüüáØÆª~YÃë›Â/«cÚŒ ÕBÄðpãâ³%åüeâ×¢(­N6üsDÄIHì«"¦ +Je „Âs ¼) ÀB “‚7ׇüѳMÕTNªò¯¿÷V¬ÀHÔ4Mfgg•WÏó”ñíÊÊ ýèGÕÌà»ï]à§I¥0" ^R»)À“\zý™cÀ(ê ÚµÁ=ZÈTç}WÉ#öP¾‹àWß8É—Ÿþ8»醱†0˜_8B&“‰}ýÀ|áä+«cÜÕä ²×aˆùÖƒ¤’±™ÈÙÔ§)”ãF­ºÃËÛ¬¬®¥=„ÁOÎ0ø©ÙÔkÓÖ?´BrséD“›÷·^nb–-ŠG¤”2Þ>¿Îm²Ÿmb4GѽÛëcä*ÔCCcD¬®²ùË$ï탄¾v·¯ORÒx©¶"–•á‘;SÉùÃNìº.ëkWpÇl;T¬NòØã—»OÜ…0„+„`º’áÕžôÅÂz½®6þ •ÊÙlÃ0”ž¦œ·8¾Pá©“[¾° o® Yœ°¨æ#ÿIñßP\ŒD#Ý|ASb¹6ââ“!ãëWÓþŒ`Æ×P KÍP*k˜H\üÊ¥>y¾¥šÊL=Ç¿ýÞÛ(ä,•Ç™™™˜Ãææ&Žã0ùØÇ>F¿ßÇu]¾åþC‘îH×K%D@!Býž~=¼G«d/ϤhÉv)b¢jž×µ{D@¦¼A ! Œl1ö?©Áìô4¥Ú4ëkË ºi»7Iz½6ÅR%²uÄßï¯Z)rqe'U!îz’œ%´2üÚƒ%<¦òêEAcö0ùbä¨RŸa–.l¹x%¹/ÈÛ‘,½ÿç $6î¼Ùfé?_bí÷–®F¶{å;*üÇG˜ûÞLn1ÞÐ~¥‰Y6)-^¬€!pæÈ}bTi(¥Ç~»O&_¡š`{¡]†•Í“+”1Ý6ycÈÀ5®[D¼V82UÑpôÐnš-ÄØŸ°µ¹Êp˜îò"W¬ð ßømÜqÛZ£:exvÕ–_@ûûû;vŒ~¿O6›UVÜù|^uNðm’êå ÏŸõu¶ ¯¯ ©L_§5HXïxz|\Ï ¸t}TV*eº®§ÒÒÀ„/‰À•’¿|¥ÃgOuUÉg þí÷`¦5€ééi5ƒ*„`{{[øSO=Åòò2®ëb ùá'ŽSÌgF¿'©;ÒQC.­lÒ€kTÇ•~¬@0¸/`B=^ÝCü8Œò†ð\Œ\Y¬žSI Õ)V–.`F•ÓžçaÛCJe}^8,h;»)öMRú“•ÉÇ¿ºà³ª©|ŸJ¥BcîHL·–Å+».§Î-EÞ?¡÷ˇ‡¢û;§Ú,}àk¿¿ÂpMª; úž²3~zóÀÿ{ôýÍýn¿ÚÂ(š…L‹è7\îlcÃÆ:;ÚÑ=Ïe¿kS(••É@¬B%˜f†|©†ð t0„Äö ¼¯mI)iQ´gsy½ã ¹„U}§³O³™îsÈ43Üÿè7sÿÝ÷kFµnw— £Å¹=Ûó퉄LOOÓív)‹ÊA±X¤×ë)÷)7Ì•©•2¼t~OIágÖm\Or¸aÅ a±Îª–bP~5ƒ@È "¶Þ›`Y0Åþ„@JƒÎPòÁgšœ\‰l­&Ê~á{nåØ\äëjbbB­BÐl6•#¾ .ðÌ3ÏDû,z.Ûe±Q&Ÿ0NÜý6ÞþØ;0 S+Áííãöö0 _ѹÔòu3[[[T*ªÕ*N‡Â© 7 IDATr¹¬f䵆!¿q¾Ì­«|åì.ÃÀ`li×e­érãLˈ:©Ð߯w` ´‹™$Á ß! @:p‰ƒ×zÓå·žÞgu?j˜7Ì—xÿ÷ŸàÀT´à»T*155¥€§ßï³¹éOôz=>ö±1 Ô2Çu¹²Ñä '—éömÎTÉX¦úv‘ TÖE:p…¿IàJÆ'Ø’zlRDÔÀízAKJ‰™+'“ „`nf޾#X»r–´6Ùïõ(˱USâ‰,Û{#éUš·¨Ë²„G5;d27`ª–gbr–êä<Ù|Ü_U¬¶;ðòéå‘5að¦,º¿zˆöÅ.WþÓ%Ö>¸Âp=J[¾»êÕwÌ‘ÎFc¯ö.sæ§ÞŸ_(›ËÓ|iÏ­W›d§³äFÀÊs%öŽMïB‡ö™{yÚ#¥ÏÛöf_R.)d¢]f´/–I6_¢XiÏf©-jy¬éb —Œ)0 ¿zÁ{,Ó ÏP)å¨W TËVwº©ÐS,–xè¶y,]ê”’í­ÕTë[€ƒGoå]ïú2™,áR ¬¼~·»«ídö‚ýÿ}kkkÌÍÍ‘Ëåè÷ûjÍœa”J¥˜¹ÃL=Ï#7OòêÅ}š]v;§VmÊyÁtÅT@$b*ê¼11Gª¤BÐÒEB]Ÿ%µ_ÅÀD\D”R0pŸ?ÓåÃÏ·bû >vÛ$ÿò»oY'8;;«êݶmVWWÕŒéÚÚB&&&¨Õjôû}ºÝ®/9çVvxáÌ·™¦¤œ>ŽÚ¡²,ý8©ã"*·T1Q¿®—µlŒ^‹¯ZvÙpf-jW†a°°x½}v6F7Z‰=P,ù+¶^+ç¹´ÞŽyºƒ+áè\•b!CÆ4ƒ>äÏtBËä³Ŭ œ“ÌT3,L—iLÔ©5f(Vd²‘ JôY±d«íñòé)þçdÁ ûkG6LÎþ‹S –#FU êÛçÈNj@¥Ea9žX½_Mœìi—åß¾è©`ö;°jƒÕõ>ƒµÃÒ‰ÃB½#8±laŒaD¹|£f8X—„^ED"­LHòYÁuL˜‰½_<³ÎêVºc°)fãë¸Ú­=övÓç+üÀýÕj 5‚ª<¼a§µ 8|ü¼ÅNÏ¿§P(ðŽw¼ƒ|>¯:o<Ïc}}]–‚¿ßã/ô4ÏŸ–ó5“'n-p4X4ö5ÿ×ß Ú?—±¾æçKªÎªu-F«*š}²Ë`¦Ðñ$Ï_ð™7:#3°ß÷øA¾ëѱ¸F£ÁÄD´ŒÄu]–——S;•žæ…^à©§ž¢Õj©ÃBÖäÿö‡¸qQß´">Û'“ÓÙ)3„jö.y"m|&1yœ0}É÷%ÍRf‘dªó˜ÅzìþÀu$­v‹ýÁÆÎÖ'¦)Wâ³sçÖ{<÷Jº»âùF‘»ošÅüçNÔì·šl¬^b$†©¹ÀûC0qOÖ2¸²‘îa`»ÌOiº³¯¬< «M—Ϭ±¿?^wpvÆa=ïÒ;Ûe÷3Û4Ÿß'·˜gò›¦ØûÂ.ràÑ;×ORº½¢½ö‹˜Î¢÷þåß¾LçµÞcK€ìL–ìd³œÁ(ËÿdéxH[" ðN”Àd^ïºuÐï³½×¥9Ì`frdMßÚ[@|!b…8¢ÿ âzC—“çÓE»RVpß-‹1ßSžç±»³–º3“ÍñßýcäòURºÞÊio"íÁ( $€¢””³‚ËAÛÙßßÇ4M&''±m[͆”¹\ŽB¡@·ÛUùª3¼í¶)î>Vge»ÇV3RNît<Þ\³yælŸ‹[6GRÉä3áŒ_”gŸA…º+Aél*H·´ëðì¹ñR‡Oìpvcÿ OÜ5ÃÏ|×ͪ§12róyËÑ€uðfâñÉ°Šˆë{,™ÉÒxbšú# Ü®Kï|—ÁzŸÁêgoˆÛqp».n×C¯í» ÔܲiQì‰k¦BP(–Èç óJù …|†œY):¾RºÛ·élz½>N+u-@Öðxׇ)”5ÿCÒcmõ²ÚUFÅR…ûû?K6߸ ¸{o é¹Qüˆ¦ƒ•/%|ú¼dIk?‹‹‹ÜÿýŠ]MOOÇô=à‹Q;;;±YÁŸÝyñÜÏÞáËgvÔŒâßV80YàÁã ¹u2&ú_gõzz½Ó)J)ÙØØˆíT(óêv»<ÿüót»]åk82Éf³ÔëujµšR¸;Ž£úíîîrñâEõÜ#ó ~æßI½RH€ÈèqL‘ž¶ìF)½ß"hÅÀgô¾°LR•ðá;… 7}#BóðÞ3ù_ÿìm.q1 “¹ùC(T@¯½Ïÿüò%†WYö–ÉdÉçs”òÅ|–bÞ¢˜ÏµLúC‡îÀ¡ÛóûY§g+®¯­u³’Ssæ£Uæ¾o‘ìT.:ÝsÖ>¸L÷Lº«d 8òÓ7P½¿–.ÎüÆYºµÂ`¥Ï`µOÙÿuvÓuB•»kÌ}÷NËÅÙ·qZŽún è]êâ noÔ¨=7ž\-˜¦…iYHÏÃqìT1n\8X‡‡ï=¡N“ý13ƒoÇ·òÀC߈´’rûû¸È„aT ÅÇÑxÛ•¬V„lëܹslooÇ6T¬•ø—?øNÎÖ5¦é3xIðMwMЊ­!LÜ—ÊÞ€–/1 u2µ…Øýá¬áË/~‘OþÅè>šàÏKÑ€'¥ä™Nråꪥ¿•°Rs¹0íR}Ç$‹?r0’–R€§ù•=Öþh…áú¨¸kä nþ•d•^‰…_H8õîY¦ß¸ºÕê@zý+=.þÊYð  ÀÍÍSþåÕÔµ‡[ámÇ+,8S-no­2Œ‚g&“åüÃåûÒfÝ.ÃÝ%Ïõˆ‚‘ÎÂ?—À‹+¯¬Eì4ŸÏóðÃÓhøSõ¦iÒh4”N=t:vvvÔ²ž´py³ËWšl·†ìµ‡ì¶mvƒßf7ÚqÙ2õr†‰r–zÉÿ(g™©ç¸ûhZiü<¥R‰F£ÓS? вaÇl6›|ö³ŸåÛ¾íÛ(—ËX–E§ÓáÔ©S´Z-%þ¥Vd³³³ÌÌÌ(¦%¥äÊ•+lnnòòËÑžx…\†ö}ïàöcóø We[c…ë­Q‘0L+iߪh˜<†‘‰os/‘ ~íW!ÕëA6W`rj>·¼|™/¼™î?ýo#xu“Ó3›Ø˜‹ãÿ÷­93šTKï„éH¶?³ÅÆŸ­â¶âØPl‚CÿøhìŒlÿ`ä ²³9róyrsy2Y„e€ôXùà^ÏeëãëäæòTï®'Ë·ù),R½§Nóù=úK=v'ÀþÀQЏEþÓûˆÁ[ÆÈ· –Çdc¯ð ¼<ÏK+€ûî{4p––ÛÙóVDTƒÿ4`3ÜwÀ ^ðøÂEWúìé©§žâÞ{ïåСC¸®Ëææ&ÿ?sïm¹uß÷~ÐN¯·÷6SÈÑEI”UlY¢D[¶ågEË5qâØ/‰ãxåÅ2ý’ȱó’÷–—å+.±—X²dI”­P¤HI±Î §Ý2·÷Ó+Ê~à8çÎ%鬕yæØØ_ü~¿ý+ù|žþþ~âñ¶ljÅbÔëu*• ÕjµËžij0ÆÔ`pæ\Ó*:ª"‘Œª]€xE"b±ñx¼ ¨,Ë¢P(Ïç}¸W¯^åñÇwÓw™¦‰ªªär9TUE×mnYUUÂá°«èíümmmQ(˜žžvnrr’H$‚ªª<ÿüó!¨5tþÍýŸüô‡îçç"I;ú)¸É"hoKmP“œz¸ÏYrpÆ›h¢UÇ>äiÓ}D+kžöœ6Úú ÷:]$a”¶ õOµQ„D(æÞ7¿‹Ç¾õ¥®³š–e¹Ü¹ú³Y¢j!0ûúß&‰¨„þP–µ9‰ÏÙþÞ7„RܾHÞIè=W€¤J ¼wì}ì|q“½GwÝh£ù'rô}ï ‰;Z+›­!S” ÚÃï¡ïƒ p”ÁŽ’}ëɳib3qÂ#ƒ!ƒ¢“Q ßµyÍòå"‰SIÔ”æùµ;£õ‡È?e§b2Êé·õ£ß“ þ,f¿†²£#þ×p\“‰©‰qß±F­B½‡)Ã{¾ï£ÄâÉ6wå€åípêr@¦ûœ¾˜ÂXZa¥`bX6û¾¾¾Ža®Hè$´¨Õj„B!Wì’$ÉU^§Ói—kqt=‘,IDà aM¹-X9¦™L†ÁÁA7ú„#ÒÝïR©Äææ¦oe³^¯óõ¯çŸ]׉Åbœ;wΠíím$Ib¿jMQTUí ZÍf“ÝÝ]R©” ˜ÑhÔÒ\.×â¾à¹«+§çFñ¯àu|åñx 8ånøÌêHu}ÕzœÓý·Ý'§š0›¶™ƒ¢¸•SÉ4Ï?ó­Î^ ©šÖv;Sµ¥ü.¹×§‰¹-™GÃ4~v˜Ú¯OÒx[‚ÅßZB4,Ô´ÊÄOM#)m1°K,tÈ3]dM&q6ÅÀû‡‰LG†@ßnR»Y¥ï=HžóŽÉ§îJÛÜT_ØŸâᘽÛZ_9ªP¹Z ÊWJ¤ß”AË~PÕ¥ ú^}·Iòl%¡"4ãX”úû³4ïŒ!ée­‰t8]þ!Hpçt†X2åŸR)‡à†“ÉöóÖw¼'1©=˜öèX2V³ê¤Ž‘¾(t^<$3Û¯²Y²¨éö`íïïsëÖ-TU%“É I¶Ñi©Tr•Ñ^À{¢G£QR©”;™Ãá°[×ýâö0޵iC®IE<'N»‹áp¸K§æÄöÚÚÚr“n8´¼¼Ì—¿üeרÓãî¹ç„4 ŠÅ"Š¢P«Õ\=—ÓoؙΟmè»K<÷…ìI&“® ›ÓÞ«K[lí—yÓ‰ Yö˜¥´ÿ‚–S y7»9ƒöûÑÙžçp P*É r¸ƒS–$"Ñ87¯¿B¥¼"‰&|ûªhrk·G²â×A–$ÈϨÔÿÅƯL`AHfç‹[”ž³û4üÑ1bG=f 8S¡ãƒá.žc’*™ˆ’ykýß?ˆU&„Úî: Çä‡Ë¯É=±ÇÞ×·‘£ ÑéÖ€¹²zûOt*†žkÒX¯cÕ-j R2H²äÏ &UŠÏÛ™Ð-’§½+v` j4ïKR}¨ÂÄÚJ‘rØB:C´97Iˆ¤‚1F¿#FãÞw¦‘.•Q.’!‹“³£(ZÈ!¬ž¦ w½é~¦§{^Âöˆ•]­•ÁÜU°Þ+{ÎvH•8: R¬ ò-Ø0 677Y]]uó‚­È.‹T*;üŠ,w)»eYöãxÉd\“ƒD"A:¦¯¯þþ~2™ ©TŠD"á#ÂyÉI ‘ÏçÙÙÙ¡T*ù8º\.Ç“O>ÉÅ‹i6›ž¨ Fƒ . ª*…BÁ]<ˆD">.Ë¡ƒ@ `ooUUI$ìÉ©ª*ÙlÖÎRÉÖÛ,o帶¼Íݧ¦©êá@Ë;{DRÀ–ïô &õjÓÃe©±~Oy»f½Æ­…«]ãfšñDÊ÷ìTUa}{Ÿ¦Ù-64AóWƱND#"*ƒ˜1¤Q”Lò‹Ý„ÅfÚb5k²0h²¥l¿GßÕ‰·þŸ„.Ðú4Æ~|ªÍ]9÷äÞ‚‡Ëò~ºŽÙõä°Ll.æ+a ¿K‚­¿XÃ(ê ½ßV`úðªµ=òÑqwE°v«Ê柯2úñ)?WÄ%m;‹:…çó ¼w-­ùê–áž;Ú¿Êw‡ìëw½86(Ku’=ØÝá¤l{•»KÑÐlÔ{®0™;é¹€g,ÌfËH4À…ÁíTçhP§ãË­*ï<ejÏà»+uÊ-½^¹\æâÅ‹ôõõqæÌì{h)£=P<'ûb£ö@²“»vrh‘eYT*W_4v{{{¼øâ‹,,,¸eš&š"£H‚JÍNŠzéÒ%î¾ûnÖÖÖ\cYUUI¥R ¼©Õ„‚–,ˬ¯¯Ól6݈®§OŸv9Îùùy®,nò©ß}„_þÄ{Ì$l½–«Ë§ßruZý’ä«z°>Ë©è}Áz*?‰ŽR aX r$á–;—œ™=É·ZBÐlÔ yò†"1†“2¥€ïtX—ØŽ"¿0Ò]”^(°øß ,ÂýGwÉ=¶Gd<‚Y±?^ƒŽ «mI‹Î¡¸Ýþ!Î)Ÿõß„´´Ç D¬é%'GU’iÒ×F£¨p‡Â|Ï{>„ìLf—eÕËv £×Í]µëurY^Ϋ/®pr8LX•Ø©Ø.7`‡^¹uë¹\ÎMÚàý”J% …ÍfÓv_i%opò#ÞN_å]¥«ÕjT*r¹;;;T*•@Gå½½=ž|òIžyæö÷÷}`5;šåÇ?pºa°°¶c{ärœ?žÕÕU …‚»˜FÉçóú7UU]÷ Ÿ£ãËf³î±þþ~ à ™LºákJÕO¾¼È©¹Qú’1ØÍÙøMð½obÛÕú(sj·ç²e”HÒÏõ!‹'yþ™oFÑ´0ZÈŸ°B4r¬æÚnd^*ÉÚ÷÷uÛ˜Ó±>ïI&y[ÄÑCŒbʧkò~Ço+vcèÝæ¶TÛ?¶ø\eü7¦ŽLFIÞ™":#ÿ¸Íª×*dÞÜgë´ÜhoÊšLìH‚Âó9° z³Ld"Jh0ì­ðP„³9¬†Ec³Næ-ýÈŠÜÕ¦ÊWŠaXô½u°çW¿¼Gd¥û¡%4‹éá¸Ðs¼V+a¸LMLsúÜ} j§®²ª„¥s0Ý^wå­Oã²,1”Ô89F‰Ý²áa¹\fqq‘ÕÕUêõ:š¦ù¬ã…>À)•J‹Eòù<ù|žR©äNðr¹L>Ÿ'—˱··G>Ÿ§X,R.—©V«Ôëu7¸ — Ã`}}gŸ}–gŸ}Ö¬¦†3|ôwò®»O …È&c<öÂuLÓ¤T*Q©TâÚµk ¹±ÁR©¹\.0Äïí”ñµZb±H__Ÿ«ksÄÃD"ÁÖ–©¥¡<ñÒ<“ÃYÆÒs·c"{@Ê¿ïýÛÉ-{›9Ú_GØb¡§¾ó‘Û\go¯; ¢(nZ0‡ôF…|=Ј´ÜÔÑ>S q:IùR }Çž7Éóiw$hî4M?g8úÃãD'c]@åvÜRwï÷ÜéwÞ`ãVYýÌ;¹ÅîW·É'GõzeäW'v*†Ç"è»Mj‹5̪‰Õ°ˆŸLöT« Ð@˜Ò+­ˆ¥WФÎgP"íÔõÎrnõFaÔ˜Jt:î*‡ ¯¯TmÝXÃ"{ÿ€‹¬îz¡Iø/v WºYîtØbb(ƒ‰ù˜íj¹hÝ~òÔLÍœl¡¿ÿ“`Tv[—•üåp ŸÛrWRÀ“j£*2ã™džÃÔuA®Úîs³Ùdoo¥¥%–––¨T*Ȳì*¡{‘eYnhf]×]¹U*–——yùå—yæ™g˜ŸŸwͰšíãÃï8Ë;/'›Š»ãEØ/”¹µ¾ãFaH&“”J%†Ïö,™Lö-Y–¯k2™tWSwwwíþZ‚§/-’ˆ…9:ÑëCØ‹“’|U»‹{ÄeõA –šèïn‰üÞËK×z)ùï0õ&»¹2Õóݰ0>Ò‡VH²Dò|Šýoí#Í#?2ÁðGFinÛ:l‡B#abÇ­|žûêâ¤<€å©ãܦ¥[ì|i‹•ßZ´¢{i Œ¼Y1ý€8“$÷í=¬šE}¹JìH­/Ôψ <¦¶XAÏéS}s?JLõ¬ BÃarOí)hì4ÈÞ?@[q`·ÕÜoR¾R¤¹c¯öÄŽ&M‹ÚR…ò•"…g÷Ùydƒ½G·™Z—P­îWh j0:<ˆª†}/@¹Ô­à¸ëÂ[óšÂ0°ênÏ]q`àèºNHU˜ˆ0Õ¦¡ J Ógºãø.//3??O±XD×u7r§£·:¬½•ã](XXXॗ^âÒ¥K¬­­Q,]ks¯è÷áÎñö»ŽIÄð¦‰wÀ䎹1®/m°³_À4M–––˜˜˜ T*¡ë:™ŒíçèãœÌÏä¬ö-Ó4}f’$FÝ(•JÅ5¸}ñƵºÎÙ#£=EÀÞ¢¡÷¯gbzu9z š­Ãr8ޤ„º¯7ê\½ôl×iBXÄ[nh.oaYìïç(4»AI»;lGîAJT!:#÷í}žGCEM*®ÈX»Y¡~«FòlYs’Ÿà#÷˜g|=S ÿtŽ[ÿ~âs„ißAd:JòMiÔ¤j瑨šÝ†£JLaÌš1Œ IDATòçfXø5;ØÆŸ­2ûOŽ#‡Z(í-Aþ™}ª ¶®WlpmÎÉjZì|eÃõATbJë3bWª¯×Øþò:µ%¿Njõ÷Q¶ Üí)¢Z­àøíÅÓ4z*ܳý,±=‚Âèv¦Ž§B¯—·»ž·\êQg ¡ñž;2&¬æ›ÜÚ«³¼WwÓ¿ƒ 6+++¬¬¬ø[•ìŒÛŽÍR$!£ë:µZz½îþ¼z$!„ L^n* 1;ÚÇÙ#£Œ dÆ>1ÉÖçÖ1+&åKEæ?}©¿?Kd<Ú¾E©c³C™^½Yaã¿­R»ÙžÿjZeäGÇl,JJ˜¢›Ã„1ò:µù*VÍĬ™$N¦|b¡P_­²öÇ·ìãŠÄäOÌʆ\°Ò :Ëÿažê|Ë¥@‚¡Œ²ÈfÕ`åwý‰zÐÍtUzb¸¤œ*œJ[d‡F}¯NSoôŒ}õÀ÷|UmqǪFóoO| ÜU7'!+™˜ÆÌ`”³“IƲªL­iúêu’aÔj5J¥¹\ŽÝÝ]ö÷÷)•JÔj5òƒ•Éh_‚;Œð® Gyà®#$·W%]•¼?l­pHã¾sǹ¾¸Æöž-NnllFÝ…ÇDAÓ4Òé´ËÑÑAÊxð›=8¶fýýýn#'ñÅúnK \85EXS»¸'¿R¼×_É·/Õ£»ÞaÚ“ÀV¼ÇÒþó±BŸ~ü«ã EPÔ¶k•,+Tò;lV8,$ö²øÞþ®²NJœNR~¥„¾ÛÒ›‚Úb•ÒËE"QÌ¢a›)UM Oç ‡‰ŒFüßjwŒì =×dý¿®°ùÇkû¶>ZR%fæ—Ž?™è’$Yêæ°ý䥊4·›äŸÚ#y&EühÒü*7ÊnÒðP˜ÆFa ÂCa”˜Jîñ]ô=û&µ¾£›°õWöéT+….åy¸\®yþ^_ÔËœŠx¨ó$A,ršvŸq¯hÑhŒˆ³ Üñ Ëðw©$·eù;žÔõzqW½Ú“%Ë„ËDx˱>öË:·öjä+:Õ¦IµaRièæÁ_ðNŠh M&›Œ03œfz8K$¬º×u•¦@׌îf+]JÄ£üòÏü¿óßá‰ï^àæÍ›‹ETUEÁØØ`Òìì,ËËË4 ‡ålßÎg}}F£Áøø¸ûÂßyç\¹r…H$Âõë¶þçæê.ŸúÏðK?ö.[ïR¯q; —4½Ÿƒ„ä)Þ0 ßÕœã!-D"™¦\ê6 í\q@,BFf£’Ç(HŠÄØONrãm§s9"Û±ó¶e‡¬†ÅêZ¢þþa†?2ê¿5 ¬†ÉÎW·Ùýê–OyŸ¾/Ãè''øW:½ÔX¯£¿[ ~G%ÚaIU˜ü‡3ÌÿŠý€7þÇ*³ÿø8JHquOú~{å­±Qgë í,´Z_³Ö@«iQ]¬ŠØJy y*MòlÚUÚ›ÀûÄõ¿SA#ª@óØ¡´Íj‚YâT2Ý1ñÚ !z$TõS÷ Ð{ÞJžkuœÞõ•õ~Ž‚êùËû’!ú’á..N·„&¤aRiØ@V×m;©XD%Öˆ†5baXD³£Zt,8×s§ªoÁ  s=0WÓ4~þ1˜Mñ—>Àöö6Õj•»ï¾›z½Îìì¬k/633Ãêê*år¹ °[­ƒ@ˉáø J’Ä™3g¸yó&š¦qù² œÛ¹2¿úÙ¿æŸ|ü{89=äyiœ¿’g_”{Ÿ§ä7Vô<çn±Ð¬Þ`æ~4ÝAm†Ó©l `yßu§e-!¢V©ÝGÛ6¦°=oCѹ(jVÃÈéHšÌøN²÷èvÏÅ»l!iCÉ~~ù'sl}n#ßfR¢³QÆ~r’Äéd`;FÑ ôb‘Ò‹EòßÉ¡ä·òoÿå&¥ïQS*‘‰¶½Oh(ŒY2¨Þ¨bÕ-Š/äQÓ!ÂC¶éBl.Wiî4º¢•Z5Ó¶©ŠÈC šÕù ù‹¶B?2EVebs j+Uç&ÀýÚŸþË+üSׂnà÷?óéŸNwO†LÆS„"m§aèÍ:ºÞý%èáô¹{íÑͬîCKdñƒH»Žwß{n7ð¼1q°³½Þ¶_ø®£È2M% Ñ—Œ0’1Ñg´?Î@*F:! Öœü‡½À*x |u°@Âqq’|Ç@’$Ξ˜¥/ä…+7Â^ù\]]ellŒ\.çº%­ƒ2 £+&˜C·sç©×ë>³I²ãw !ÜD!ºaò—Î&˜v‚áÝž‡vêy+axW½Î†{\H 59Ð0ܸú<¹ýî0IšBÓÂ>4ô»ùJ #´–0Þ—AMõ´\Ê?¶Oî[¶Ò=s_–w‘}[?±c ̲açè êµ2jFEè+ÿa‰Ü7÷\œP3*ã?5Éøß"<ÜÍUU®•Yþ÷‹¬}v…ÂSyêK50…ªú¾NábžôýYß DÄ(\Ìc–M¬ºårC±¹’bGf軀Ì=}-Ëö(jB¥¹× „!HœIa ¸LAm¹JùJ‘øÑZR#y.ƒQÒilÔBÀÿÚŸþËçþø§ºÖoÿ3Ÿþ Ë€¤/b0<ñqYÍf=Ðkxdœ§Î I²;©`VöÛ“ÿ™þª÷jâÁ@F0`t¨§¿õò^F±¾þuÖA©Lަ$ûëv^O²û~dr”cÓc<óÊuŒ–bqq‘ññqöööÈf³®]•ã+աØ=d2ŸÙƒ“üÂÑ—YBðÌ«+¨ŠbsZ=Iòüû)¸ÚÀ& PžgÕ¦…—ØÙ^ë:®j!´?ݺi4ÙÏ)¬jC!Š÷F EºÊ|mÔM}«f!Ç&rÆ^„“l?¿ô½Y’ç3XMAs³îKTS~¹Hþ;û®‘©¤I }d„é:Güx·ž ÷­=ÿõ|[gÖ¢ÐhuìÇ'(¾P¤üb¡ Šó(ßÓGþ;9òç¨Þ¨ö‡Ùûú¶m—ñÑ ×_k(s±ÙH˲ú_핾ÚR•éŸ=BùÕ¹§w1ò:ÍÝ[_Ygâ³H²Äȇ&FØùÚØé]þLúöO'Ëâ‹.êÌ jDm3 õJ—‰ÄÛ\‰ï„–8Øã­¼ýËÚ1aC_Ю¯±ÔY¯ƒ ì\'xt—û¹8Oû.v¶E8½àæ¿ µ¤š»î8Ê¿ú??ɧÿ㟲_°ýÿ{ì1î½÷^.]ºÄ‰'ˆÇã!Èf³hšÆêêj NËÑk¹ñ8 uýúuæææ\7¦ÁÁA7òÃêê*ù¼íïúg_‘í\™ŸxðnǦÈ}¥$zÈvÔ9é±z”J¶X()¡®¢H,p¶lB{nºk’8,Šyiûó›®b|ð}#(qGÖj:2aü““Œ~|œâóö¾¶EcÃ/ÙdÞšeôiç{Qþ;íLìÉ iRÒ$Î& …‘fîÿ:ŠÔ2[ØúÜ&W~êÖoÕ cêÍÎêPéåË¿;Q2ÚýöŒKl6Næ>{Â,ìüõ&Ù· 0ó÷Û Z±­ã’îÞxö-dîuW-¢ÀoÏ%éCÚ7¤iÿ\t"²Ijµá¾Ô­_/VÈ“h¢ÝÀAú«×DÞ†ƒu}e=`pèk\Oòmõªë¿7·–³Â2ŸÙ%"ÊÝ¿.îNbfb„_ÿÅgz¬ÍÑ8î>W¯^¥P(¸&ñxœ™™[„ÓõÀŸ¢(„ÃáÀŸ¢(ܼyÓ èDÅ8sæ ŒŽ¶à}óù›üÛÿþmj Ãϵ jï7ñt›wÊû.z® G‚Ârß{<àÞ³G’í±r5·ì|Á¶¬ ‡É¾ÕžŸAê:a ÏæÙúüº¬¢Gcýô ¦qî¶`P_±õb‘é(3¿x„¾wØ4€}_âáÈd”Ê«eš› „Þî…’HÜ‘Ä(›¾ã™%ƒü3{ J„‡£¶òÎS-:§|µˆY5iî6в!"ã1$E¢|ÕfóÕ”Ft‰!0+å«]Ñ`x÷X^єά«@&b’M'ÑBQCѨW±âQOÍcjæx›ÉoM$!L¬zñõé–ºô@-nåuë¯QßÇñpB^ƒ®ãÁ"l@{çzDÓÎÿì!ñŽ™}z,á{ΰ°²ÉÖ®ýUuüÎɱäwÌ ¢ƒÜyÀãÓiö088H¥R!‹¹œÖV®Ì‹7ÖyÓñq¢áÞXqßöæíª¼RâýH²W¿d·²º|ƒ•kwYQ]÷gê¹B‰\½[O%2ÍŸ<°+¿³Lý– cŸ˜¶õ× *×ˬüç%òOì»6—jŸÆøÏL1þÓ“.à† OçÑwš ?0Ô~w$Pò;…‡­†ÅÐGGÈ?‘C‰;S ÿð(“?7Cÿ÷ 2ô¡aâw$£ FNw£®áþ»ÔתÝBMªÈšŒ$KD'ã^ȵÌÊ$Ϧ‰ŒDÉ]Ü ÌŠIæBËÑY€Q2\=YæÍýÄ'‘TÉæÄ,Ë+R•{&l’IÅm–Çí§Q¯ºåÌÌž`bê¨h°GDX˜o°œü¯°œã¼†kxÎy­×èÑ^/˜’Wå1©“kÃ}é5Uámo:M®XbqÕN´P((•JÄãq ÃpmµEqÓ~õ };wžB¡€a>KûÁÁAªÕ*‰DÂÍôS¨Ôyêò2gæFH'ÖñxIrÿñü}¤$ú‘”N ‘X_¾Æ­ÅÀ’eÂa[š½^e¿P&߬´B󓽫|¹ÄÆÚº²ÄIß;â»7I‚ænƒõ?^aû¯6m{,@ I ÿÀ(3¿8Gìh®lÖ‘‚LÈ잀©E_:æ3k0ôàEC#Ì9åqZm ³V8÷sîã ¯žÃßÎ5^ƒ8xûkøûÔî{{hñrZtêÈ$cƒY¾{é&–†áú ær9_8™L&ƒiš=ÍÀ^AìåÎS¯×) >³‡l6‹®ënè˲0L‹§.-“MD™ͺ7óÚ¿#¯ý 59ä-Üñ¼yõÖ×–ºëk!;&–ƒšõ {…*Å€UB1¨Òü‘`K÷½GwÉ=jÏþH_hÝ»¹§÷XýÝEª×ËîµbÇãLÿÒ?0d»ß½Nª\-³þ« 2eðÃí{—@ŽÌD‰°'¹‘7˜ÿÕëlþÙ:ÍíVãö^ýáÑCáØ¯ŸäŽß;ÇÄ?˜&uwIk? æN£Ø³G7Ñ Mä˜ý0Н䱄íÄkÀjV w@ïð`•»×kÈ“õ;)FéA"…O<üß™^×ä=çuÝÛa¹³0£cÿ×~Û…3|ê|œDÌÄ|ãß V«qùòe×ÁÛ4M†‡‡驈¿2^×unܸá&ÉPU•¹¹9²Ù,sssnì.K>û•çxüå[¯uðÞIÁ ñF#8¥›$I´ƒ×9óà>.$á™*nE³l²ùßì`šJ\aàû†}am¡âîÓú5¦þÑ,Ç~ã$ñãñÎ+¼&2 :KÿvÁ5‹|h¸«óŠ1l=|üßBè‚êõ ¨\*³ûåm¶ÿb“­¿Ød÷K[žµƒõEg¢=-c•ˆBl.Fö>>8DôH I•Ðw›]JûªãÖ#Àª[DÆc„úl6>qׇšÔHžÍ Å—óÔWª eÂV»‰I‡%†ÑÄ0ºÁ)Ó7ȉSwusR€YÍÿoÎaùÏ9Ü5ü\Ðß>‡ÕÉQIà8Âkœƒ}iî9sŒç_§R³W›–——éëë£X,ºöY’d'̈F£nôÒ :Hoš&{{{d2W÷511A:f||Ü—gñ¥ùMÞtlô5é´Þ©©àxU—_zнÝîĪšFk¥ sF¢Y¯°[¨ÚaYcúGÀ²Ûrúäí <¼_ýÃQ*åmîàÊÍö v“ Âá0ÍfÓ—M:“L&»Òy©—2l..—ËqäÈŽ=êþåüùó<ÿüóÔëu,Kpiq‹·Ÿ›öDzè¦Ýý<·Ö7ÙÚÝ'W,“M'| }C’BI –½pñ 1ñCTOö€f­ÂN¡NY¬É0úCþȾõ:+¿½–žâ'’¬þ—ErßÙ§|¹ˆÕÄ'ÐóvL,³lR[¬’y{_{.½Úú³ r_·EÐÈl”É8‹ìɾ°ó•mÛÒ]‰È¤ïÍ™ŒÒÿÞA¢ÓQBCa"ÓQ£aÔ´†¾¯·V« >4t(ÿ#‡$Y"<&u!ÍàCäîÉ ¥5̲‰Qhë—ôý&•%”˜‚U·d‰ì›í‡¶óµ „!)ÈŰ!u}ââ!‹þdˆp4ábLÃ,EVxÓ=tX*X-çÓƒÀ{³ZoðÊÕJÕµZR¹ÆÆÎ…r•X4J8êh˹äí@&Åå°n>’gCòœã[üçyB«øËž§¾$£ž³|cADSyû…S¬ní±¶mOн½=šÍ&š¦¡(Šk ªi™LÆ] ¢^ ¥ª*wÞy'SSS®ÉƒÓ¦,ËÌÍÍqñâE„Tê:›ûeÞ|Ç8lã~¾Èåëó¬llS®Õ¨ÕT«5rù"Ù4²,áã: 9G‰:®BS#$žøæÅBMóGk¨UKìTËœ£?˜i?K`å3K4×íù¢õ‡È=fç 4«&úž³nÿ±]Baô–7KsÓvTOžMu]ã0Tz±Èêïܲï;¦0ûËGQ“šç$6`é9Á #IrH&:#y>Eúž ™û³ô½³³bR½VAè‚ïìr–~-¤õi$Î&xß ÙïéG Q_®¹œ—²ô–i¡¥CìgÇqÛa4/¯‡M)ÛÙfXôÅ!šÈ8÷؆ z³ûáÖëUî½ï=(J;,²3…ÑhÅÄ:líæØËÂÖw8ƒ[­ÖXÛܦ\­“LÄÑ4Íwîë¬ÎãŠexèöÀkW º¶ÿ–ý {Îõ–»$Zÿ;¢¡GYâp^½‹{¸Eª"sß¹ãÔê nܲ“u–Ëe×G×õ×dö~wžP(ÄÝwßÍÀÀ€SÊ4»@-‘HF¹rå ë»%Þy~†hØ^ÑΗJ\~õ& «k4šM{1¯5tB€n˜¤1¢ïbÖÁ ¥DRÈáDk¨íg/a‡=þÖ£_<'Žùâa  RÜc»hú–%ýÁ¬¦(¿XdëØcŒLÛIY‘ˆÎD1˦­Æ1»]p*WÊ6#Òw;»5?é{Mæ톽LýÜ,±#qÿûÖú©iÕ,«n‘º;ÝŽ,@µÅ*å—m¹6û®´ÌkëX/R*‘ÉÛŸßtEQWÙoAåZ; )@º&•âM9ÝÙŽ0i’È´Ùhgî4Áñ°NÜqžx"I`™:B¯Ñ=qƒkg¿@±REXö›*,ÑZN¶ÿVªU–×6©5¤’‰–_ÛaË#½êûA ÿñ±¯} |÷ákË;€½ÄRo}Ç;Èy@N™ðÔq² o½6"Z—¿ëä ÉX„¯-ÙÏ´Ùdyy™ññqJ¥étÚ£l6K£Ñ VëIÔQ²Ÿ  ¢^Àå€UÀµÆÍ+>avlg/ÏcZ–e1??ÏÄÄ„ëäìpEétÚ͢݋fggÝ¥^rË™ü²,£ë:år™k×ì "Õj•fy‹r¥ê Û ÖNؾ_EQ˜±ƒvK÷}hÉ!¿Ñh«Êò⮽úB÷ÍHÑhÒ[Ë4(ìí°Znqö´‘±(K&…§óì}mÇuP£2c?1ÁÄßr™9,?‘`àýC$ï²Å¿Æzõ›j¬×Û†ž‡ ?\£ÐòŒŸH0ñÓÓí£þiçî»€ÕØh}{rD&ÿDŽ•ß^býVÙúóMúÞ=€šÖØûÛm¢z³Jò|úPa)nGfÍdùß-¶W=ã*…dF~d”‘GM«4·u“±|8*‘ ›$1_Lw°Cl9A÷õ3=s ßèHÈ*V5×&ö5‚¸œhÄÎ’¼_°³! põ5€%\nË‚ýB‘Å•5LKI%QdÅ&`tpE]`áÏ×/zÇÜ[æ½F0'Õ\tÔñé¤<Û®ˆØÉm9å:.O±Á,wž˜æ¹Ë 4š¶È²¸¸ÈÈÈù|žt:íÚU%“IEq#z)›Í2>>Þ£óv0ñÄ”kMŽDZãd‚¶=¬h=JIâô±Y²©Û-TyÆH’ÑÒ£åö@_yéIVWºÎVTPØŸ|¥Y¯°›/±W–†Ê?:@i­bGUñÓKÝ›fîWŽ‘<çOÎê%;JC†¡Œ}W?©{ÒÄN$PSªƒý²v²‰­?·ÅO5¥2óKGP¢jûVýÓ®°¬šÝÈΗ¶È?–ÃØ×†@I©Œ}b-£¡ïéÔªXU“Ü·÷‰!ð0´÷×;Ÿé~¡â§ÌýêQÒoÎêoª~`ˆðÙ8ñ¿* ,EU‹t\#ì˜6´ÆÚ2 L³;-˜ª…8}ænü¼§dg±nÖ:"¶Á#ˆËI§ôeÒTkuª­epË(ÐþŽZB ,0-‹ÝÜ> +¶ëC6“Fö„îÅý,¶ï¹7Wæ”{Û£ëx7hm‹Ö!ïÇFüpAÇô¼r W¯ÕÚ" ­w–MÅyó¹£¼|ý¥Š­Ÿt2óÔj5×ìpÍòù¼ÏìáôéÓ]´½äXÌ»"–D£Q{ì1t]ǰ`v „ª¶ß;þ’}Ξ˜#›êÁéö=*ÑTKáÞ O=ö ù ¬Ù‘V>ƒv{õj‘­|=ФÁ·Æ…/<¹šÕ˜üùF?>~hãOI–P*áá0±¹Ø`e ¶?¿i'›hIkH0õ sD'ZÁ<àä”;¯®°JßÏ =ÜØ¨»ú£N{©ä¹$Ù·Û¶É»R4·šÔoÕº ÷Ø>ZV³•d¯“v¿²ã‹Z(…dÆ~|‚‰¿7…šìp’$Â#´g*ÈkݤH‚¾˜ Oùµêª{¥°R)qâÜœà IDATÏ}ïn'RõÀº°ŒCè±¼<+DÂ!ƆH'”«5êÍfËqÞŽ1aY­mgÚ ûK¾µ³ËÂò*²,“M§Z±¦üÓ €Ú€s(.+°,Ì| å=Þ9\ :ˆüÀåîø¸*{ÛVÜ–híÇ#!Þvþ7—7ÙÉÙê'¡$I„Ãa—CŠD"$“IŠÅ"¦iÒßßÏääämúksV^PÓu¯}ík†œ›l/V»z+ ?“æÜ©£ÌŒÒTÿ}t Gа©ÉAd-ÚUhM}äOM7´PÔ§p(÷X/XÔÒÕ#‚u¥éÎ{I•8ñÿž"~òö&K¯‡rOì3ÿ/®S~¹ärsRHbä‡ÇIß›m½° =[û;_ÜB9þåÓ~`ض§¸Ù­œN^HS_¬!„ <!ó–,H¶q)ÂÎÆjÕLwöf¢­?ß°egE"uo†Ù6GêBúÀ¶ä›uÔºûjCQxªß½_‡ôf·Ö2MffOÊt¸'H’¬¸©¾n¯òƒI,art˜D,F±\¥i4m®–¬(µ¾˜YB`è&ëÛÛ,®¬ÙKô©äJyçºA×>Þ}žl%÷˜wÚ¥ÎcûAú˜€c¢c¶:\•·Ì«×r¸³ŽIÒÞzç1vrE–7m'9¬³rè$Õ4¾¾>šÍ&¤R·_‚wVí|>Ï#W°m³®U¨-VIÝ“¶ú’„%È?žcèÃÃLýü ý︭ü •,´¿ Â/$" â)ÛçÌy5$I LU%˜™;ч½—U¬z±¥ŒðT/P›û±‹‰Óã#D£ ¥vêwËT¶®Cr'c£Ùdu}“[ëë„´édÒ¯ˆl]·—˜Èeu•ùÛ·Ù´ZÇ»«cò¹ÜV§8Pß] ì¡ËêVž•DY–¹÷ôBX¼ºhëDjµ Óh4\ðr”ñGŽ9T2Y!ápØ=wee…Ç€TTavÀ–R‰8w<Ωc3Ä"áîûn=°žŠ£$ú»«ß}òk>„ Ž$|­Z–I~‡õ²“˜Å禮{&D©¡cÖMÂÃ̲‘Ó)>[ uoæ ùQõz…Ê{dà½C }pÄZŠdµY6iî4©¯Õin7µB'[ºÅÍ_¹Š¨·Ò|í~e›üã¹.g“‘7(>S`ïoì¥ÐÁSz¹„hX4Ö”ž/º;}xùW’è{÷±ãq×ä0$b2á?Ú ,K„LR‰Šê1Ñ$,Ë 3S.¹p÷;:¸ìmËD5w×-wÃ'z9Ͼ$‘N$˜ž#¬…ÈJ¦é 4(¹Šz«¥ìjõË«ë\_\Ä0-²©t{U±'·ä•@j—qˆ›qRH¾É(ºë‘ðŸÓ–tY11¬Úm §çÆÈ&xáê2¢å8½°°Àää${{{¤R¶ ( “““.çÔ+¶Ø& N=!O=õ”k‹ÕŸP81–âΓ'8wò(ñx´>ìÄq¯þ*ѬyU,ös²,‹G¾øûèá¾U-ŒŠø®¤7jìæJl5®˜\1ÙMX”"‚¦*°>ÖOñª-%¥ï΂eûò™%ƒÂÓyRw§Å<–Ô>½GìE»úJ•ÚÍ ¹'öØýëm¶ÿj“íÏm°ûÕmö¿¹Kþ;û4¶ô½ÃŽÔ²þG+mîlà<|ë7ô!Aß»ûúQ$êk {\•+eòOåIœI"tU51ò¹Çs$Î$´ézÔTÐþd©ÞÝç°"ÈÄUB‘Aïzc§Î{í±l’”V-z‰…Îß`¥¼,Kô¥SÌN#Ë ¹bôlÀ¢¥Û²Dëå´_^KtÃ`}s‹Ë×®SªTI&bD#‘.n®Ý‡ƒDC5_¿=ÛRÈÙÔk©›£’Üò^E»¬ ¤:ðûÂÃMµËÛà%ÑÇOðÞ=k°˜×{Œüõ”XŸ½:(uÖƒ—žý&Ë·n¶Ž$}Ç‚/—×y:fKØ ‡cJÛ0ÔCÍš­¯ÓتcÕ-¬ºEþ‰}g’hýoŒùØûŸ»ì|qËÝ—Âvˆªðh„èLŒø‰ÉsiÒ÷dhlÔ±ª&áÑ© ió¦ë (oÒ®/·]WÔ¬ÆÄÏN3þ““]föJT±]j"<Aßmbäì—Âç0m ë Ê—Jä¾½Ïöç7Qê?áPc½ÎþŸl’ 0 5…D\m’ˆGQT̓’¶>@,Ìíosþ­´C¼’Õ–ò.ñ«7—E —å×Yax°Ÿ¹É Ó _(µŒMí‰'hÍI G×U*W¸¹´ÄÕ7©Öê$b1¢ÑˆçZÞnôϳ J~Oò‡ ê渺Žûªtœ+üÇz•S/À'Ñ>Ñ­—NDxËÙ9./l/Û"ýÚÚñxÜ !¸Y¤}Ý—¤®cóóó|ö³Ÿuûöó½—¾DÄíC[‡ï¯ßðÕ/Êú×ìòPÿ4’£8÷N'CçKŸÿl`H$EõgÊÙ4ü^y•›²å>‹1óËGúðƒ"4Aß×ݹkVL;øæµ’/]Ÿh òOì?•8T,ö jl4Xú7óC i³ÿì8£?4Aÿ»ÉÞßOúî,©siâÇDgbäžØÃ,¨)•Úrê•6'8üƒ£(æ$[5“ØÉ8ïbêfˆ=X$E":£ÿûIÞ•¢¶Xso>qg%©ÚNÍžA×÷š ¼ï J‡#a ?=O)ß`,'Ó麶R;1 ÇZ+îÉvÚ£Nj6ê 30ØŠªèEÃjVì„=WÝÏeù€P5•±‘!¦'ÆiÔuòÅ¢ý2Kî ç}—p¬æ…€F³ÉúÖ/_y•Å¥e Ó$“J¡jm¼nÐê÷zrR\UxA Àâ(œúAœ•¤<Ç»ÀÈ.¢WyÔ‚hHåÜÑa®-®“/Û¢Èîî.µZññq’É$F˲$ÉÇM9dš&ßúÖ·ø­ßú-WIÿé Þ{÷\goÛ÷whîÊOJ4ï(“¸~é"¯¼øt`k¡í?(„àÉf?­nQj9ù©Y™_>ÂÀûÚÁ äLlΞ»©{Ò` [ÕÓ#S¸0Åç d¿§ÿ5ûÛsõ¦›ÄfäÇIKûç…ËéÚ‡vÿf«f¢ïë8¡fÀ¶¼Ÿø©i”ñßœ~xòïO3øàñS‰C›Õ{iû/7M–9ú¯O0øÁa†>uŒè.tZŸm­>ðþ!Ô>æv° hXÔ–ªdßñÚBÈlnÓM¾?•dôcãܾçc*[Ÿ_ÄûÔÝÒ÷fQûÞ"õ0$ Á­ß\À,ÙbÖàG†QÓ-¿£ŒåAíêµ óŸºÎðŒ‘¸ãõ§Y ‹íÏ·—m¦M‚ü {U™l¥D$‘n$U‹`èÝѶ7WX¹u“©™ã¸#Øât¤H¹ÃjVý³´UÞ&É_Ô¾²çÉvßp|7œŠ-ŸŽt"ÁýÎqáìI®/.sùú<¥J ËyÉÝyÒš¨;&Ë´XX¼ÅüüZHcjr‚£³³ÌMO“ŒÇñ¡^ǶÓ%;øz¨y9£ÖØ×=ü ì8g³¸¼`ÔÚŒôà·ý|ž…ÅEn..±º¾ŽeÚܰ,Û\ðlÖ$¬ V r öá¹çžã¥—^âĉd³Y²Ù,‰D‚[·nñꫯ²¿ï·&¿ÿô?ñ¾»ˆh ^€ô‚ªœ ºýë(T¢i¤P´Ý–§|yþ2;Û£¨j.U¾PÛ¡Ö‚*9"3þÓ“ô½ëðÌW|pˆÁ‡(_*±÷×;äŸÎû¸®òK%öÙaàÁÃIIÕù*›¶áöiìÿhêºï;íbëÝ×s:ôX´MOƒh%¡x½´þû+nîÂøé™·ÚQ_ÌŠÉæŸ®³ûȶ¯~ù•åW®?`ø‡FIž{mñsrﻡYr1A#$pY{5•±JÁ,‡ÔP4°žyêLÍói·«&‡hîßj¹:&©ÍŒHíãîsð$[èn­Ý%!…9{â§equƒË×n°±½ÛºôAbG{bè 7¸vc!Cý™™åØÜãc£¶$9mí'›;»íªÎÊè쳟óðU›£òžgÿ5Mƒ¥ån.,psq‘\Þ6ð•e ©,Ïã|.IŒ%-úc‚[y…\Íî«®ë\ºtéÀ.+²Ä}ï9¾÷ÂlÀ=€çCr{î $YAKu<ÎvcO=öH`¿BðU«Â Í6ç;gê;!w¹Ä™$‰3I&*&µ…*Õ…*µÅ*µù*¼F⮑ñƒ#®Z ‹åÿoѼ‘™DMiÝ`å~,íÉÒÜ  $i‰36V¼nÀÊ?±ÏnË®BŽÈTç+%ƒýoî±ñ‡«¾À|rD&2um)*—Ë,üê b'â ÿÐ(©7uE‹ ¤=*I…¾w`æøÝÝ®ºuS&_®“êk¢:AÍ${¹ZQCº¬¥ùËlo¬14:Ñ>袡IJ˜•}¿|uH ²7%˜ û4÷Jn[n“’„,É™çÈÔ;û9.]½Á¥eºNѤóú-.lk{—íú"Ñpˆéé)ÆGF™cll„êâ¸\Hv:Ûy ;hê(§ŸnÊÓf½^gmcƒÕõuV×ÖX\^Á0t$ÉN%';ýsq´ã´>"NZ”‹9™JïY ¦cœ™â]çg™É@u+ÚýV÷ =#šE ä®¶Ö¹µt­«µUaðWÔÈ-P†á2ôƒ#¯)°æA¤Äí¶ÄÙ¶¤Õ°ùÝŽ6þhÆjÝm'}Þ9Ó~¯ñ<«v¾Û6;Ê>ÐOî1[”8BÒl@“î4ßüÞ4›ê«unüÓW}+ rT&2Õ%m0ÄÈŽ‘y‹$¬ºPeëÏ7(^ÌûÚ‹1ü±QÒ÷öŽ¥SyµÌÍ~èl”‡È¼½9$#mê$Þs5p…½/bpr"A"=à™-Ó ^í6嘜>Ê|âºuO؃ÝÜ_j;EûðmU§îJ :î–¨çòµÙq~³©sãÖ2×n.°¾¹ãŸ(„ã\í¬6ÚûÎ!ì•H«½ïµ?êïïgbl”‰Ñq&ÆÇ´ãBuhåý˜ðDBw~¶^½Vgck‹ÕõuÖ6ìß^.‡ÔâœÜU<ÉÞ—e¹¥N”mK’l­¥lƒ½$KÈ­ËŠÌÔø§ŽÌ2=9Î~¡În¡Ìn¾Â^±J®Tcv$ËÙ¹A3qO;ÁŠö¾¯,ˆ»j·!:ŽË¡(¡£þqqu“ò_~•åy·Ô‚Çið$ wÄB#a¦~~ÆM$c¿"; õz¨ôb‘…_k›_dîË2úñ){§ãUöØþò&»ØæÉóiJ/ØsT‰+6P ^;`™u“¿tµ0€$UbðCà l4Ђ½v«ÆÖÿØ ðdÎ÷E‰ÌDmàzK¦kÐsí Æ“þ½%´Ç»ãiÉÎ ë ÏÚ/ºÛAÛ“Ý ˆàð’SgïmÕõŒ( ôznµ \‚­ß;Êz€šÔQ÷0 åìË®ÝXàÕ›óä‹E°,/hÑÞØ"¥­Ð·ß.³Z:2Úu… Ñ—Í’IgèëËÒŸÍÍö‘I¥G„ÕZXCie(š*[üÒ z£A³Þd¿co?Ç~~Ÿý½ùBžý\žF£$KH’‹Ê¾OÉ%û±Hí^î¾Ãmµ÷%Yb¨¯Ÿ;ŽåÄ‘Ybш‡;ê?°tÔi]ày.×åá²D{¿3¶„Ž"…"žkKn[W^|‚/}þ÷Ü1Ü&_üÿ¹{ïxÛκÎÿ½ÚîýìÓë=ç–Ü{’DÒ$ˆFI ˆ Dù3*ãˆ:…Aœ‘ã2èOÆ‚óC‚"ƒZ „–Þsûi÷ž^w/k­gþX{¯¶×>åÞÄß×뜽ÖÓÖ³Úg}¾Ïó}¾_ª,ºy²?ØÃÐÛG¬Ù;×cÒ¾>ÿÔ¢—tNþêóèÎ{5ø–Q2¯ÈÙ}† ±Z§¾X£±\#v8AüP$¸ð‰9¶ÞyÅ;kö¿N³õ­N÷mI\™dø]c»ê¹µù*ËŸ]bë¡ »ÕðH„þ7’ùìž(®úµmb¿2˜×mrt4c»NëÚF“F-Øi`$ã~ùýDÛ-\ !!aTÖÑKkÌhgÇ{t¤µËzÖø”Ù ´Ú@¹´ºÆó§Îpâì9ªÕj‹EI¶á©)L›uY %ÓcœêffmÐjû.à3iƒÕ¦¬È„T -¤Ò4„4HÕ–a¬Ô#ë¼dÚãÖ5$©µnÒÚ–[3µmfe™@¶ë9ed»’ •HrìðAŽš¢'—qXΞÀŠN–ÔJs€§³ŒªçžÍu¥ké!kÍ OEDª•öáߦ^³f´Ÿ ¾J•6 ( …‘_'ýŠŒó@»¿«ÿ‡XÖìÝçØú¶púîÄlšÔ—êVÐ䕺ç]kpð-#ÌýÉ4Õ³.g›’ešê ʇÐzCû¬íG¶˜ù½³yZÆÐÏÚïû‘úBåÏ.²ùM/p…ÃôÿøÙ›{v.]xÍ äµ à‚#= FFÇ=«Ù% ^+veYW_s#·ÝþSxÀ¥US’$šÛ ŽWRðV°øTà Ðq³¹=ƒÞãbÍâò gçÎsnf–•µ [tÔÇ– iZ±Ö„Àbf-kƒVû%.†ÂgráºÚcYî—§ û²ìô¹Í$Wš¬Ú~ÍÁaV²ëÚ(²ÌÐ@“ãLŽÐŸï±Úr Øw_“¸Xao‚ݾUAPb´ì¨Å§| Áý÷ý%O>f9 Ü&NÑ«èdŒñߘBËižG ÷ö>XV}±Ž–c Ê%xiØ|pƒ¹?švú±/щ:FÁbjZåØŸ¿ IõžÃ¾ëô{Oس‚¶(½¯ï£ÿ'/)0…‚ÆR•¿³l7Ü–ó¡¾}o {kOW;1íO—‰þ·•À¼˜fpÅp˜TÎçM˜õjðX–$IüôÛÿ5ƒ#“‚‚ÆÆœµl§«jˆ«î¥€Vû˜^f –xD¡\fzvž333ÌÌŸ§^oت¡Ã´CÕ6Ûj×X›fës^lǯ—+-àirºìvv×ú•kbùkõZvXW[ Ät²$‹E80>ÆÁñq¦ÆÇˆDB¸ÈÙö3¼Ûm0ê$gû¢ÁÊ—&kB½SH’?L¼•¿8Šÿñß?è¹~'D“¿ÃZV&iÃï#{Sÿ›Õ\»–Y7yögžtÞ5EB‰)(ñÖŸ{;®X Wô˜•†)8ûþÓË~l‘¬ñ¶Èh”Èx„Èh9"³ôÉ ¸WÚ¸åÈGñjj{¬ÂÛLàŒ'-qUŠáwŒ½4ÿîΗÍúk¬6Xýü_[÷—Ö£Ñ÷Ær¯Í#‡djçkŸØ¦øxò3E^~F%Ú ¾I£É:LJ¼^±BÙëÍ`cÒL6ÏÏýÂ{[L;04Ög[`C]Ó‹ ZtKê¨ïü¦ÉÜùEæYXZbai™rµj/¸FÂaT`«‘¢ýºØ™ý2ûž 7çò¯D°ºÖX§¯mS„¶zgƒ–$YɲL:•`¨¿¡AŒŽ0Ð×ë„Οªæôµ½Ý1¾Ôú}qÁÊ[ÎÍÚ$Y&Ô{Y 9uíòP¯•øëÿ÷<¶¾@‰>ÔÖ}û–¨ñ-œY´ž×õ2øs#Ȫd?F­ ¾g–U|ºÀ¹ÿ¼>ñ’E‚¾7‹‰®'6Êç~çt'†~a”^ŸÝמëôo r²Lx(Lö–²7ç.z}‘_„ó6ØÏÂZγò…e6¾²æñ&9Å(4}v¹’Äñ…àÕåª,¸b@ïñ¤ !hÔ ƒƒ‡/ç ?ñnkØ÷òKHˆfÆæ<^ÐrÔ—Ž1« Ðò©{ÝÇ´ÚGõ× Únƒ…ñ–iíommsai… KK,.-q~i]×]Àå Ö»Ýá´®àŽìª-n–e÷ÌRöà9–jÆ`p á~ûH%Z>ËÔ({ßÃlüe|Û6h`åcKƒì°rµ)I„{ ‡ãN]Éé»0Mþçß|˜ü>Oµ@ èCæ!®ÂÌh _llØÃî±#qÆ}Òñ¨°O–U9[áüŸÍR=ì`¿¢¦Tt—¥ü¡»/Û“7ân •º6ÍwГ¶'ÀªÎTØøÚ:Ù[r—乛؀ZB@é¹"Ó¿»·/Áñ *¹r°ÚØmrd,×lÕ4tšîÑUn¼ùGyåM?jíxÀÃZ[çA˜xA«“]µkíiX×j6€‰ÙÛxûà®.ûÖ,áv©ÄÖö6›[…ÖïëÛÛlo(”Šö »õã\ÍÝÆ°Ú¥È ©d‚\&C&“"“J“M[éL’l2e—wp§˜‚ö;ǪÚe˜Wà´¶÷̬ÜuƒÙ%‰p~9s.™§møÂýŸâ7úœgÐs )9B¯¬ñ„^¦ÖìÕz4Æÿͱ©X'Ëjm練ž+²ùàÅǶi®é‚e^¢$Ë'{ëÔÕŒFâH’ì-½¬}i‰âSÖ0Kæ¦ãï9°ã±ÛbT Î}à´Ç,JÍiÿ‹—y¯ÃñÍkÄ‹ýæbůú«¾ÚàìûNz¦J»Š ¯ÈqðSe¤ ÿ^Žöê Xã%®œf£‚it·$|ó[ÿS—[; I4ª-Ðv™‹-Wý®u¡ƒm²)7¸¹óüå\û.ðò¦[›ºnP®VÑ›º=Øh6iê†õ[o (2ªfÍZ¿ šÚÞWIؾ¦\ìp½Î lÊU§ 8yR«²Û´ÇíQ,;Îc¿ÂSF)ÕËïϼ:÷¢û«Ú—c ÍB“s8MsÕ%ª’<˜Á¨é˜N¿Rצéû…QTYB}<ˆæJÔš‹háh+ÅYV1 ½KgàÌÉg¸ìøË‰ÆâŽªÛQ5-†Qw™JxÔ ×Á$/H^tÈÇ—ïÎè¬â)ÛV=Zç唓Êâ)Û™nýȲD$&LÄI§’ä2zsYzó ô38ÐG¾‡|.K."L’ˆ[Î᣺æ(×v ›rÒº2*ß¾±Æ«ºÝ%•ë|ÜýÕOñÞ¯ÝCûS;’àÀ{’¼2Múú,=¯ë%<Á¨™ö{Ð!¦5ƒïqã.öZZV#qc10I•I^¹·%x²&“½¹‡ÈH„Ê©2’*ÓûcÞ1,Eï3Þ_z¶HæÕÙ‹òÔà£jP~¡Dm¦Ú1¿£¸™–êô:c¨Fúc¨ ò¹m/X¹îC}¡Îúý«èWÆHm¢”:A­aÊ`ÔȦb^3IB–5Œ.,Ë0tΞz†#G¯&nO2xÑDR5”pÒrG#ÌàfÏ åÉìZÞíËØûm(:²ý\u0wÚÞ?à`˜\~ dH]öwcU­í ¬H² V­üJ£Î;ÿön>þèW켞ÛòŒþÒ8JÄåH•‰ŒFɾ:GîÖY¶T>`èm# ½c”ÂcÛ}«Iu¦Lòò4Õé2¢)Ðr±Cûû–T)p¼\âÕ¾¢‰«Rø·S]™–Q6¬è'KTN•©œ*{¼'øeø]£äoïîŽ"h°]˜‚ùΰõP°‰¾¤Hô¼®—Þ;¬`ígÈl}gƒå{Ñ·À‰×$&W2Uï9)’àŠ!•žÞÞÎólÖ1ôîK²Ù^~êmï!™ÊvÿЋ+•ÖºÉncZîm·’ ýÛòíùÛñöÍ_Öˆ^€—7÷G«º‰¸:wöRî:n "\öͪìvv+!P¢´Ühë ×Ѭö¾rêqÞù·ÈvݲÐzBŒþòѱ˜ó¸U~puØ]IÖ{Y­Ú^B}!Æç{ê"Y–_¶¾»É쇬ÈÓу1ýþeH²Ds³ÉÙ÷²=‡ú–U;–ýÕe;îDº‘¸CJ\Å([3umš‰ßœêó5ʧÊTN”,T=ßý%öKîµykÓt<€ÕzV¿¸Ââ'ΖO]›fà-Öžî:ëO`ÔMÖ¾´ÂÚ?®xœÛçJVUb.;­ˆbråxŒx"Ýñþ ¦d9ßj/×ÇO½í=$’ïSäL2ª[èÅÚ³EhµÊºÅ8`Óv®v©€j—´v÷v¥i#·'|In@»§u0ªvb ò·Ä΂ì¸\ æ6]ÐÒƒ¨É^€ÚµM“»¿ùYþóWï±?š`ä'PÛ*œç‘pÝ3p¹o±•.uæùë¶¶w-½¨ÓX©#‡dÛ0TŽX+ ô¢ÎÉõœ¥ÉÈpøî£D8Á^š[MÎþ‡S81ñ[SÎR¢K‰;T‘}u/¥g·h¶˜Ix8Bs³¹³åj‰M0ð–![Š ²½Ò·uNüÊsÇLDü™a—%;>‚Þ6#Ææf“•Ï-²õ »Œ$`pKfl]A3­— é\1‘#‰zÞA!F£‚ݯA.×ÇOþܯy™–çizæöB¯í´œmÉÞ(ëÚ¶ðvy?\À×ɺÜuwJ÷å¹µðr€¢3Ç»+‚óüén´' r— fUv‹]l·ü`%É*Zv%’ðÖoIµQãÝ÷þ1ŸÖ ‚ÚóC}ôß5h±Ž€qìøèÈbYî²RGž»Ýà{5ûGÓ”ž.XAý"U¬q«–!wß] þìpGÑæV‹iùœ#¤oÈ2ñ“å÷+ Gä÷GGâôÞ6@éTÑòySÔ;Ã~µζ÷_vòª£ÿjœŸ² îI\í,|bžÊ)—{š¡Ÿ³täpoØ)îØý‰° SW¥I]™¦±b…B‚bT°”6QLHÔ%†B³^&›Œ:ƒð­+)Z+hEÇÛ@µZæùgflüp‹ia×w¿Ü’¬¢Ä­(>¦Ûª>€ømw Èw)ïÇ!ÝÛE”÷— ºÐ" ŽØÇŸ¿jPºðmîRNš\¼û@å?öN¬Ê»í.£Ær„z&µë—¼½]*¬s×'>ÀgŸ@ ÉŒ¼cœükz[ãU2©–åÎ'è»À²êYù7½~¡fÙVuÑö:ßÐ@˜ñ_Ÿ ïV" ™²ßöøÄ3Ê}wöw”߯(‘ßÎGHÏ?˜¤t²í¸Õ¹äË2 ½y”­GZ á¹#éWfûµ úÞ8@¨÷"-ßTΖ¹ðçóÈa™ô Yv˜ÁŸ%:³^Øžé®ûÔ´Fæ•9"cQjsUŒ²)ÃfB°·å›ŨJÆ;Ú’dµåÿ*´šÏ<ù]²¹<½}#áx#C1äHѬº|jù Qjow[pt®Ýö]ƒîŽÅÚôÔŸ|=ö.mtûÙ¤,¤\uö T@äj}GV…=^%©!¹ ÔDóA‘ÚùVñ§Ïñcñ>N­Yqõ´|ˆ‰÷L?œt˜’¬pö;XVGž«Þ>Xt‚Vt"Æú—W «ÿZFþGúˆŒG †ÑzBD'¢doÌ1ðÖ¡ãŽÊ…ìÍ=èEê9k¬Î¬šänË_RDéæFÃ,-£‘¼,UH½,‹V¨ÎXL'wcž•Xô®+Ù[zÿõIò·÷í;hªGlÉÆW×ɽ&ÏÈ»Çɼ*K¨/Ü©‘ì´\i¡þÙ­5ˆ•³e0­À’Ë)]y]&®T‰Ç¼3–mGÐBpê…'Ñõ:cG°|9¹Ÿçá“d9–A’ËG¼ $ï†îÞÞ•‘Ùûmö>ž}wøM¼ÇéNÁ,|÷¢»´·W€‚@òÔíªö~PµË™°”šè#”Gvy²µšpŽùÐô3Üñ—ÿ‘ªe— 3ñoÊ…l6乯{aY>ºh–%u–¬Éh=Ûo°FÍiŒüÒÙsdoî!óê‰ãI;nÃN"k2éë2Ä$(=W¬Ä$ˆìc/¢pD~¿WI½, HHŠÄƃËèÛM¤°LéÙm¬¤Lþ‡{ÿ7“äníá’-ä]Ï]âX’èhÔK3}án`Ï£ôñoc‚±©8¡žÅ'ú;¼©kÈlULÒaHÄ·B| paþ‹f˜:t9ªÖ¾©ÎçÎùJÈáJ,c±½f¿$ÁÃI¢ãáëdD~&ä>/뾌 dZ>óÉIßß¾ûÚå¦u¹.ðÂæ~XT¿½•UΝDÓ„²ã¨±´÷…>€”qIá'd±¥É(È!™èXËU’äeJpé, oY©#Ï»IJâGÙF4õùÅÇ ¤®Kwxb1ªÆžì6Ãar·åÑ‹:FQ'yÕþâ8´¥6Weöîs`Éa…ÌËs˜uƒÕ/·¢t¸¢fÄ&8ôûGÈܽ$Z×!û`I[Çýìn?¶ÅÂ'çm•wrUa `)$ÖŠMR!ƒpÄQo훬b­ìZ[›«¼ðÌ#ôŒÎæ xÃ]ãó2J$aEû5 ¸Zà´W&ÕY® \AìG8›AàåÆ@.+ÁÖÑþð]AÊ:;•½ÀÒ„@Ž$- Jô")Þg¿ÃEŒæÎðù¿ùÃÛE$`®µ>°rºÌöÛhðPÔtWÝÚÁ‰µ² Ë 8FÐXV¸?LêŠ,cÐÍ&õ…:Ù›rv™úR“ÿê9*g+„‡Ã»†³o³­ðP%¾?’c6L–îY`î#34W[*¡$Kd¯·^®ÒÉå“ÖZžì yjó–juÒ¯Êì[ýóK:ØñÌQ©½€Öe„¬þý"ËŸY°ÁjxCf|Ã{‹šàI¹AIÔ ©‡­ò]¼;Ôë5ž}ê{TÊ[ŒŒr±-»%hHH²ŒI"GR£‰hÈð,£q«f{.÷þ.à媀‹ÈÂ.´ºÔï0&îdV;‚TPÚžªýÏš”Ã1B¹1´d?’¢úê¹XU+¡Q¯ñàWïåKŸÿ+jÕ2’$1.©ô¡0‹NKÕ*<¾Mùd‘ðp-£ugYm¦IJ„0ç>pšÆrƒú|õûרNW E:"Åûe¿`U|ºÀôïžñ.´k   |Ú+9$“¿¥9$³þ̺ÉôïžáЇ.³×+5Ö–éÉ2•Óešë K¥S$†~~ÄŠ%ÖMö @AæywhǨ\øËYJOìä‘tŒ§¬ïš*XL¬'Mª-<ž¡Áti‰»b½D[þÅÛMËJS’ZÎûºË>Äé“Ïð£w¾ñ©c¸C†$ \1e5D(;Š©×1*›ÕmÂUFÂŽÎCØNjÝCºè/ˆ7Í©gõMrR·Aøè©í• ió  …ºÖé(÷ÆN åz:v±ˆw•M¢Ä{Q WWDû>ZÒ4š¼õ¯~‡ïμ@N@ ydFPéG戤1!T¢Æ#40Ê™2Óm-%Éý@/á>+¢G|*Im±Js³Y1¨/Ô=!¾::|E’üë:—¼¼øê «r@™Ò Ef?rÖÖÐ`˜É÷Fè‚ó9Ïüb‰JØ¡$jZ%}]–ž[{i¬Ö1Š:ºϘUj˜ŒKaÛ8’l™=ì2®°¼4ÏÓ?D8&ß?Òr­Ò~¨ÜÐâ°I’µ(j,kùR&¦Ñ@r"UÀÎ}/ù^þÀô |wšÿëÜ…ÎÜ.uÉ•¶àr6÷T’CMõ£åFQÂI$YqÃͪ¼Ç7t'Ÿxˆ7ýÅ䙊õ1—£ ’&{¼ä6eLNÐä{ÔYãr˜)9Bƒ Ö"âò‰Ûl¢õ„´>ŽPÁó¬tŽGá$/³VÛyÞ‡F/êÌþþYÛÃÄoOuø{O_—A’%JÏvri,ÕÙøÚ:åçK„úC{2wª]¨1óçXû_+¶iEx8Âè/LyEµ6†5þîCl}í'6A†É}%Üꤰ¿.Ü3C}¥†hZ`¥¤TvY“˜ÿ“9{)ÌÄoOÆÜÑQŸg_xÊø'yœ6„—y¹Ê¬u•¥Ï\°ÓW§ÈÜaýKkTÏz]ÏDÆcä_ÓGâò”}/ͦÉê?,±ñMç+Ò‹ÊÕ,}²WWB€ÙD˜{ðÙ¤Ò9n¹í.¿Ö \NÌœ&f­„Y+`6J®wÊÛFP]wš‡7u0-÷ñ}û;ÊNevtO™®àåýàuª{î6‚€ÍJ“µR$M!k‘€ãu*Ó49wêIîÿÇOóñµ³Ì´ÔµžcÿÏ$¡\½bû”O(=_´Ù½_bÈÔ0ýAdˆM0üÎq´´æaCͲpž·^{Û Zþûœ$yðç†é{ã@`ÿ¶¿¿Å܇§w%0ý?9Hâxçê³i²ò¹eV>³h½’è}ݹ›òÖŒª­}¸käm“,Þ;‡QÒ‰M&~˄բÿ XüÜœe` LþÎ!æ><¾i üôý?>Øñ uÐl˜,~ò<[ßué¿i9¦ÐXth8ÐZùÞOü`Â9@˧Š,~zÞvýª?('¹^Žw|™„0ZãZ{y9¡·oˆ[_û&Æ^áXmCV‡1¯Œ01j%Ìz³ÞriÓMÝÛ¼¬T?€ùÊúû°ÃîŽÒqiº]+?xy8Ô>@ÊÚ–Cqäh%’ARZ@° BægNòÀýËÌüYþ'eæ[`ê 3úîIﺋå4·”^(Rz®@åTiW‡|`9ñû—ˆŽ;žD÷¿0ÚËÆY–g%Ôæ«œüµçÁ„Pˆ#=¾«ùBu¶Êô>ãñ×%GÌšwY[üò$?9Hâr ¸JÏ—8ÿ§³žµ‡ñË’ Ü5lMîùûŒäVî¦>6´¢Îôþð ™—÷X;ž Aét‘Å{­8€JJµ}ódoíaìW&Oª›ßv+Ͻï5Ñ¥N\ÜìKßn2÷ߦ©Nïà£Z‚ä•iznë³VÈÛFYgé³ç)>ë ÚOH!îT2$¥Îina6At_8í—‘ÑI^}Ëë<†Çw|»Ë Ÿ;NJÌFÑ,c6ªÖ áTëTà#ùrv§ý U[ÄŽ»>hò‘¯B p¤hÈáxkuAʚݕüÕw*aš,ž?ÇC_ÿ;¦ÏM™…6Xõ‡û¥IÔ”cD,­]a˜TÏ•)=_¤ô|ºï#ê)$1üó㤯Ëì‰eµ³.…eûÓŸ´žóñßœ$óʽ…íÓ :3:Kù9ËÕ¸¤J¤_ž¥¹Ù |Úë~<~Ür4¸ùÀº¦$Túï"u•/Öb»ßí>¶KMkèÛ–J“º2K¨'„šÐP“JBEMhȪ5z"LÁÌÇNZá£]˜zÿá®þ´^juШÌüÁjsÁp$U²<8ÞÖG¸7ЮsÜnjæÖ#,ÿý‚­úF¸]IsLî´ÞÂDuW»K&›çú^ËÑ+^aEêñ±"™ƒ7¡s_€hV,ðª—[&ö`¾¼®eÜ¥öO±¯Jàl¢ܺ”±À©R’[mß…My›µ6š:§_xŒ‡¿óe–/LP&÷Pa©VáÁ£¿8iy[h§C=ó²ÚI­¿æF‹}=[ |2˜}õþX?½w´¢á`O,Ë[VêÈs¶‹˜þÏVd¬øå ¦>pxWïžkh.üù<ë_ZµÓr7ö’8–bý+”O.Î\Ÿ£÷öAǾ³wªžÏ™U0«Á ä°ŒšÔPªå†bÝù:úÐe;:éz)ÕAÑÌþñ9ÊÏ„«Èdoê¡ç–^ë+Øv»¨÷Øõµ‹Ÿž§vÞÆïÑZ3èœõ=mµEU5®¾æÕ\yÝ-äz‡ðÞÁ€Ë B½Ðkˆf³½m›fì~ÞŒ}ËÞ¤ ¨0+IV”°PjI [²¼Ë·ao@µ½¹Ê3?Ècßûµª³¿,Lî¡ÌJkÄ)2eôPbj ìIJº‡Àò2ÒXªÑXªYÑ’[¿±©ÃïG‰*^–ÐΞŒI}u….8õžç©/ÔA†Cw%:Ý`µeý+k\øøœ=&•|YšÁ7R_¬±þJÏ[ .Ô¦ÿÃÄ$¼ççÖ> íí1ÑÜptO7ÓÚDD9øÁËl{ ·¼Ôêàù¿˜eû»^‡jV#wKžì«{¬e»¶ëm³;]0ýáS4× à_42dË ®ýª‰m™8p˜k^ñÆ¦Ž¡…\^N!øa ÷êÊŽ,êaêuD³nšÙD˜ºµ ÉÐ[Þ*ºÈ¥˜7t³Í’¤(i «H²†¬YÀ$iÇp×¾! ãœ0Hy« t½É…Ù“<ñý¯sê…Çñ{Â- “OQf­ Vc1FÞq5¢«XûdYÞ<ÉxÖ¯QѺ@m“½È,kõ‹+,þ•å‡.÷Ú<#&ºeþOf‰ŒG‰_·t‰È^>Qbæ÷ÏÚîj2¯è¡ÿõCÔ—kTfJd®ïiidR'Èú®—ÝýÔÈ‹ÂS–)ƒQ˜øåÃÔÎWØ~bƒòébàCŽ ©õ:¦Ëoz·°>/¥:¸|ïkÿ`½…úB¤®Î¼*Md"fk]Œ:è ¶Peö£uΖ$._PËiŒõ'[³~Þëî\³\û÷3¦* ‡^ÍÑ˯clòZ$æÉôsĆº•±?¾:B L£`-00[×ÍlÝ_Ó¾x´.œã>E¬±9+­=3*#)*’ÜúS4‹)ut¸}s‚®Œp•sïï RÍfƒ ³§9ùÜ#¼ðìÃÔ«ÁbþQTy¢&"z ÎÈÛÆ‘Ês~íÃw޽³,{at——Ö[÷YV+¯6_åÌ¿?…Y1c2—}ô8jF ¬çßõŒTͨôÞÙßò¿Þ¹\¯|²Ä™ß:iïçoë§ç–¾.Àä^ýpέm5wC…g¶$‰;FP4…ø$ñ‰ÍR“ÂÓ[žÚD/8¬«¾P#yUŠŸ$:ãÌ¿=Is­ÉÖƒD'c¿7~Û;Y~§ìV¦µ¿ñÀÅ' ô¾¾ŸÔÕ"#Q íôÐ^L_¬6rLúŠ2¥°àÉZƒ§VÖÌFÑ" JšýÔ9Ï¢Œ¤„/ ¸tÃàùgåùgµÀ벫8zÅuŒMG‹Ä°Ö½Y/·sãÝlCêrŽÂÆáœj’¢Xkè´ˆ“ØMvÈÚ³t½I;é|¢3ßRF 3'yáÙ‡9ùÜ#4ê{3úu¿Š=7÷"‡ûˆ’ûa§û>øËÖ³î£ÀZe- vcʾÓñv‘Àh˜”Ÿ)Rx|›â“O@âþÜуWh¶}Kgñ¯/°rッï'ÿ£}(qëÚŸ*0ÿѧ¢Œõ!s÷Q¸~Ir/é<Ò¡ï]%V¿¼HüP’ظ3½ï~ß…)¨L—(<¹Iùœ—u©YÔµ)6¿¹a|É0ù¾CvhŸ—J4 Asµáu—ÜÑ®èhãRÕAÌþÉ{ «›\&E¸CÉ u̺9"D‹¹\ãj‹¢(L<ÎøäQ†ÇÒÛ?†¬ªöÑ$ï?—¸?·ÝDÚa÷â‘IêxÂÚÜíë®­"íTÃh²¾ºÈÂܦÏ>˹“O£ë;/§ ’i¡sÓr!&~å\¥Í@v`CfûaYyþº{gYBÀì£ôT¡ÓA'–c¾#t I“\ý÷Þ糿sšÒ“…ŽºrL¡çµyÌšÁúýÎG=”3ðã£DÛ ¾wdQL«µÝ,4‘}÷*«çöËî£ß¾_½Ð¤ðì&…§7ÑKÁc2JBáÐÝG ÷‡ÿIE½€$Ë\ª:ˆ€…{欸k»HÞTxK¨‡”ÔI—=¯æEΉ¢¨ŒMfbò(#ã‡èCÓÜËŠ\x u¡.éÉÝAlð DhÏéºÎÚÊyæN3sæyfÎ=O³±÷8ÝD’5¾d–yLX©Üͽô¾n S•é *8»€Š¿l`¾k{_ £%˜ýÃsužÝP_ˆäÕi’W§HO"GdOy?`Ûfú?YÃ!J\Avt¥žyeùÛì%Gîë!LY7¼¸ŽÙJ«ÎUØxhâÓ[H‡¾s•Pþ ;ý SPž.±ùÝê+Ed<ÊÁFŽ(»€^àd_®í]ÖzÔA_™Žzíuc^žv`k¬Ö©L—­¨ B $ÓÑ0XýÊ퉌°wŠ4‡¢Þ1§¶tW‹uuØ?_œH’ÄðȇÐ;0JO~l~€h,é=únìi/¦ÇßGgƒHÂi¤ NªÕÛ›«l¬-²¾²ÀÂ…iÎÏœº(å9šœEç:›êj˜T4[LO1üÓãV…ÿ[Y–Ý7ï~ñ©3¿Ö>ß¾7 Ð÷æAävDÉû4±sú½'ì¨ÐJBÁ(D†£47¶©“šÖxÃ0±I§]WŸ„!XøÌ¥EG’ ¼iÄkŸ°)(>»ÍƷרÍ9v•`ùT@σV®}¡ ¦?~`?’¾!Ãø¯O:õ»’OuÛ±h÷vEGþ‹¡‚®xªÁâgæ¨L[7U2áÚí07fRDCÝ]lxÁËl©‹ûŸYÜ‹D£q‡Ç'ß?B¶§Ÿx"M$–@ u«êÆÌdçž3 ,a k`¼V)Q)o³±¶ÄúÊ–çXZ˜£\ÚÚµû‰/Š*OÑݘ q¬X.6ÔuÖ¯ƒIäµE! IDAT]$Ë hó¢X°þÕ5>áø„ïékÓÇð3ž–Ÿ*pîý§­0 s]ù ±R£¾X#qx”Ȩ×ÏT÷ec" mû{­¶#Ðí¡ÝÌ5=„²a?7‡Y3YO žÐtê U6ë e# 梄µ`ôñ4'IHmð’µV À„ù’Ø?w±ÞÙ(IABò|,gÌ:o8*æà]£DGã^”ñáA 0';Ï¿¿–eçµàÈxÇð X×~×jlß:ߨ¡8‰—íÝÏzc­Áì‡ÎÙcXm±—äùAË•†¬Þ¿ˆQ´4…ØÁ8óŸ±YZKªÀÇ€ß÷5;FóUÏV L–ºkY“@éÔ¶½R[ Ëã[’, {Ûñ÷ý¿g–äi‡¹kÚk_öPÇ;`ômS,|f–æFƒrDðäX“c *úZ•ùõ*¹D˜l˜\\CÚaq¼Ý®ÔŽè,[2Úƒi°"V ó¢–UüÿA„E¡e5 À¹ŽkBç³Æ¦=ÅÑûºAGR÷ ‚í¦º º°¬Ú ,g^·v\y+Ÿ[²÷ûÞ4ÐÙfÐq€ÂÛÌýÑ´í\OI¨-KIv¥¿O’åckëáuÛ(Š5æ’Eà£ÀÝâ¾f×érÕs2»±ª.`Ø`…€í§6ìNþÐQ”„Jc¥ÎüÇflWñãIdUö05¼„`âÙݵN°²± ú刖ÖåÂöì¡@6ªëÅ:ëÅ:š*3˜ Ó—  )R·C¸Lñ˜‰i4Â@’:_Üî"„@$)ÈŠføå–²0ø´¾A­•›¹¾‡Ìu=ÞJ¾ñ)ËaðƒåúzGàð·ëmþÒX–äÚè²ê 5{[t2Fòªܘ·«›‚å¿]dù3‹öq£â ¼q˜éÿzÊê†ê °Ü-³nP:Y øì6•é’÷&8Üiø/ÀŸˆûš»Ú tU wR3é,«›Ô—-{•ôõY´¬ån¶r²lƒ•Ö£1òîñŽ—"îk–ü…ºIþýXUGy 2ç;uMÚ.Wt€x÷¸åtßm,Ú–.ŒgGð~|Ý5;ˆ5í¤ÜIÕù2‹Ÿ›·©s{VÀ”¡¢íŠIÄL––$–dú3a2abaÕyWö`í*íA|UÁ­y¶™Âbd¦‰hYà[X)Y´ßÓÎÅ‹c ,Zc(I ’,#+ÖÄLcÚíæ´·Áû¥òõ­¾Rgë;–ö’zyª³ W;å%fÿp}ë¡õþP?’"Yî`ZÏse¶D}¥Féäv7…ÿBÜ×|DºSKˆûšÁ&ó;ˆ‡a]Xµ~k ÎTt{m@t¤š ÑlGÏj¸[òNq_ó'v ¢BXu[OXÖû›˜L³þíeÌšÁækôýØ€mT6ò‹œ}ß ÌºÉÒ§.8–°X®6öÉxÜKq„!(>½Íæ·Ö)ŸðªÅŧ¶©/Õ÷‡÷xœ”ÚCß*seÿnÞžº•c £ÿrܶu©œ*³òù%¶¿·ø¦Ö¦«dnÊ1ù燨¯ÔY¾gÁ* Äkcë8lEMV“&ë‰:MÂMÈnÉ ›!&Õc±(a-ÀÕÍ%S½$àr©â{\ëM“­rƒ­²Îf¹ISwT”pÍŒÆé~„åÛlõË‹žÞ$뱉½±¬ÖG­û ¸eù@Í x½?2€’PXÿÚjW癢aR9U¢rÊy¶Cabãö_x0–ë÷¯ÚãIù×÷#I’ß@Ñ4–0—4™ü­4ÖcÚôu9O5¥²L“ê ž1óïv=‘KÕ @û`U]ÊH ¤ŽeØz|}[gû‘MÛ/t¸7ÄÀ[†YøÄ<¢)˜ÿØ,S8lÍÐî÷ëu¶Zgë;~s~[BýaØ%î–­ÁÆC*àøoLê Qxt›•Ï-Q~Þ ¤RH&~ Id$ÆÆ·W0k[n`ÖLâG¶½ŒbÀá%…õ„`>§SŠx;R×`I3Y¢ÆcÔ5 ô”†Q™# …ÂDC2ŠìE¬ ÈþIÄL†)¨6L*ubµÉVI§ÒØÙûEÈ8¾ ±˜68×k`ÊP_ªqអqò·j}H»±¬]ǧöȲ$CùÛúÉÞgý6ZìvYKêe14–ê4–ê6{RŠÅ¾Ɖ Fв!”„ÂÆ–Ê©õhÖû(¬q,¾íØHÆ$0*Í‚SM‡XûÚ¢ t¡¾0±qûôB9$S_ªù—¾~RÜ×<ÉK ÒÔWŠ}ƒU×_k£Yj2ÿ©3–Š8cêßöï± EÉ\—'~ $˵: 7ƒQö‚®j@_Af3îD¦ëáL^&z FuºBùDɹÄ-šéªLO]aÐTéSTb!•XH!R©r‡ái †½Àpï<ßE ݤÚ0¨4 ª ƒjÝ R3©ëïš ª ¦ó:ëIo'—¥è¹µŸPO8` Kï–Øa- åäÏl˜ßdó[ënŒ¤°Lt4Jd8Š^Ö©ž+ÓÜØ»—ÁŸ&{`çį>g‘‰Ž'з4·;Ÿ!)$ÓÇék²u“Ío®²ñЪßMÍ#XŸ_ßs‡ö)ÒÔׯõç¢ÀÊ»vSË_9OeÚÒÍ'ßwØ WÔ½¨sö}'l64ñÛIM€G§g†ÆZÍom°õm‹Áí$rT¡ÿCd^‘³Ûó‚’ëϵïq±ã+ãºÊL‰¥{çÑ]*àð;GзuV¿°Ò;~0Iæú<Ñ¡X`_š[uîE/vCý!ò·÷“¹1ײesúÓ\oP>Q¤|²LùT‰ÆRðB^Õ€tE"S•É”e’†L$¤ ÉDC ±°B$¤ ÈÖ¹¢H(²Œü"–)À0M C` aB­aP©-€2©5 s‡/Ò.2Û£cJmHD±†„f:'"€IÙ¬N¹èº^’¥çæ>+F`+ÍïòXrmw‚Ó¥¹Ÿ©Î”ÙüÖ:…'¶:T¸øÑ¹[{‰ŒE©ÎT¨ž-S9[¦6[ 2'@Ž)\öÇÇmï Bf~ÿ¬µ&p'‘aøg'ˆMÅÙúþë¬ø]Êœþ½¸¯yïÎ íO¤;µp¸¢ý'M}íe-ÊÑ*寮]UëŸè,_],³ô¿¬P`™È1üŽ1OÛÅg Ì}ä`ÑÔƒlnõ±ÑfSOn³ñÍõÀ@A’º.KÿQš‡±³$¼çÐÅ3ƒ\„)ØøÖ*ë8* “I^•¦ødÁsC%E"q€õµûÙÜjR9Y¢|ªdÙÂu êjB¶"“©Hd*2!#™dÉìWe E–Pë×þS$Ëf 0„À0†éüé­}ݘ¦àphO²˜68ÓßÉÂ4¢ºDò² ÚÕY¤|$¨^(³ñð Uç:IŠDúÚ=7ö¢ÄÛröÀ²ì¼–åÚÞ‹û½¬³õÝ 6Z·b ¸DÍjänî!{SjZCè&µó5š šMš›Môͱà {¢Ë¬Ì}tÆéeŸ«Ú9¶ iJLõÇ{8¼øDÐ2š½Št§&“¸€©õw¯ÃW,ÀÚ+«jo <»1°ó÷ž£¹YGR%ÿÁqÔ¤êikáoæÙü†›,÷ƒy†Þ6ê—ÚRÍo®³õí {»-jZ%z Nu¶âa1¡þ0ƒ?9BÌŽêþkasfµWuШè,~vÞ£‰–I_#sMÅ œ]Úµ;  ¾Råü§§ëaý• Ò/Ï3D϶ ”ÊèEÊ©åÓ%Ê'KÔ/tXª*qùyEƒÖ?)…MžÕ{˜½ å#ÄFDGã„{£Tf‹l>²êQ¤Lö•=doÈ£Dv í…'o7–nÀëdYn0BPz¾Àæƒë”žó~¼%E"uMšž×õ›Œu0Á686·šÌþáYªÓŽºˆ£eBžÜ´Û¸cŒê…2[w˜\lþÛ^¬Óý"Ý©®®iý¾躠QŽÊ„‡£DF"HS_ídXÝÈû+Ü?e /l²þmkÅß]ƒôþH¿§¬Y79û4Zã.¿y5¡R|¦@ñÉm*§|$ËyZúú¬å…ðë«ö`Ÿ¤Iä_×Oþ¶^P\j’»¿A/»ïÅÞÍ¥³^hrþ¯§i¬v÷™¤&52×õ¾*‹Rº·ÙÑ«Q3XøìŒFmøÇÈÝì¶íF~vÕ9õµ Uæ>zÎV¯³e‰£ ^°JaA]³òÿ9YS<1¥So™~÷ÜÔO(¡¹Y§¹Õ z¾ÜõÊ!™ÈPœèH£jP<±éW”£ ¹WçÉ\Ÿ·\%ËϲÜåºbc­ÁƃklgÃ# ùò4ýo$2õÔ«_¨1s÷Yw4 ZãQ’&1xÇÑQkÆtî¯O㊬õ‡ÀïŠûš»»Ü éNm8D:2e÷GDˆ´*<%”Ù×Ã,× imìô+Ø©|éô6á¾(Z*„Ù4™ÿôĭ‰šÕ8üÁcki€ò©3wŸ±;äas-Q³™rdoè¡v¡ÊÒ§/¸/ ‰cI~r˜PO8üÌc@ÚIll78ÿWÓžc»%Ô&ûÊ<É£g1(Ý':ÁÇ2p]øÜ,õ¥VÜÃËâLþÛCHŠ„Q6¨œ.Š[ne j7À#«¯\»?[ß[gé3 ¶úÚS”¸lQEFÂD°¬'L6â&Í6¡0![‘È—dr%Ù3ôR̸Œ1B S?eúÌ¥VÄáä±4}?4Ò*z¹Ie¦DeºDe¶ÜZ½-jJ³Æ}ϦšTé{ý°µXz7–ÅKçäÏlšÝdãkÞ@¤_‘¥ÿMƒ„úÔO™ûð´ nrHÆlx§÷äÌàcD†¬1g!`úOO š&Àcâ¾æµ©}È;µ$p3ðƒÀÀ×€ÿ"îkn¹Ê|ø €äUiÇ“DÇb„‡ÂH-wKžkå:oÕ󥇋+³i²þ%J§¶É½²Ÿô1k@8q0Cáù ôÍ&Å'·I]ñœ`üP‚ìÍ=l~s½óÈj ¾e„Äñz¡ÉÒß^ ø¤ìjZeàÍÃN›AŒÂ^;íïPFÛl‚Ut"Nö•yâSÉî×o×ãXvdK_œ·Á*2eìW°ùà:__§:]у1üæ!çëîj#ð˜>in6Xüä¼£RÝ_W¨j°”ÖYN›èïB†„`#a€0È´À«§Ô}ÜëŘ9}8dÓp¸õBdÊo­Ú`ʇÉß꬙sû­R©Ë³¤®È"Ô«T¦K”Ï•¨/:/¾;b”[ô¢Î§fI½]bùs‹TÏ–AÀö÷61&éWf¹ðg³ö`|üpŠü}œ¿Ç0)$3ôÆqÂýQ»õ¥J¬þÁ ¤;µ(p@ý –ŠçöNy-ð.éNí÷°Ö êÀïïrzA's}©åó}7‘¦¾ü2á~Ö»¿pÂË^|¿Ë_=OeÆz¢Ãq^g ²7 .ÜkùŽNpà׺›`ùÞ ¬Å oÝ–±_$~8ÁÆk¬~aÉY£$Aî–<½w 8õ>öàekÚ‰}ì¦Uƒ™?>…QÖ åÃ$.K‘8š²np—v÷ª ÃdùÏS>c]C9*“yUŽíG¶:ÆïW$ÿµ)Ë‘}ÌØ\k{ãÁ5–ï]À¬µ–ý¤C Éc®ÔØZ,R®{_N%©’8–"y<‰šÖ(>ky‹l,ûÔ)©šDOQ&_’‰è^B“0z5ô¡úP œZÛ´ãß©J@e¶Ìü_œÓzG~ê¡lØÃ\öØÁ¨Tf,ðªœ+u˜šø%qYŠ¡·Ž¿4,«½»Ëò«•39K¹õAʽ¶—¯®ÚÏAæšr7ö#ÉÕ¹2 ÷΀°ÜÅLüüaOûß_eó{ö»yð=àz€zö_ð`„P_˜Ò³÷ŒåÃÀψûš§¥;µŸ> –“„á·yÔá® kw°êΪÚÛ噢 VõÕª]MK†ˆÇ©^(S9U¢z¾Jdرn¯œ+³þÕN°R³Z.ÄÌœ¡:ãZŸ8eð§G‰ŽÆð ±'–ÔñZÀ¾åúx9,{fûº¯Iô|‡¾­kÙ+³j²ñug°SR$bIë5š[ JÏ9ÿñF~i¢sII@ûõ ÿcŽò ­‰ bcI”˜Ê…§–1ë®YMU"yUšì y¢\iÈHŒÞ× P_©Q|j›âÓÛÖÌ£Ô^Èm0ÝgC&£†È'¢¨Q•1#2¢ý•ì}¢ŠµµþP½*‘ÚäígRÂöP`Tu>=笗{Í¡ŒkV¶}™\,ËŸ×~”¨JòX†ä±ŒÅ4Vj”Ï©œ-Q¯àŸÞŒ±ØõE»Ÿ (ëP«Îdo=+±}iš[M*­•JJe£M$Èß2@úÊœ} ccqb(—tôŠŽs&Ǫóö8r øa,–åòm‰–?˜ v0Al*aM°I o5XýÒ2Ûl‚tOHwjï÷5ÿ»t§v9ð[Ûo “ÿá~³²‹ÇÑÀªõk6,UÐ-’íË*”¼,Kõ‚uâßXcè­£­º =×ù¢‘ñÓÿå”mñ+Geúî$wSÞš[ïæG+(m·ý]ʸ±'2ëdl—xœævÝñ!æ%¦ZjËñ,JXA/5¹ðùŒ’Îö÷·PâçúÙQ§á€cn|såÏ.xVÑKªLeÖ;Ëê “ùéWä<mÐBÏpo„ðmò¯é§±V§øì6Åg¶©Í[ªT“Š^£Ðbàdžvf4€w¤ïZIÛn€iU•à ¡\ˆj‹‘VfŠ–a®*;("|Çñ€[§s• ÷E÷GÈÝЋÙ4i¬Zf:ÍÉã™à6wŠËoY~Z’•ggZ’µ@§2Z<²}õî@ìF)»Âô½aÄ¥ýø’~ó®j³j—ßM`(H~zKø"z1Kqإ謕¥23ÿeÚtêÞHž>/}פþð±K“x“^G>c[mÝrè¢Ë'ã¹Ùø•X3ñÝ2¥¹…9ò/fÉ>½ÉÖã”ç‹"žcØcÓ²ªëÔŠŠV×Ä:ìdË$øµæ\H’Ä´=8¡?–C«6P ur/láëóã‰yÛÈfLV¹:Kû¨ÍX@Ò4¿t̳Ö!™ëvàí¶–åˆÍÄæ¯Öõ)ÙïBòÈ ½}œÀ`ÐÌ/ [¿Õ_,âDZ­a=múAxfmz,Ù+½0Ž;æ¡ðRT-ü1ð$0€ªysÏd‰]ñLË2%ìA«2\o=¹nÜA€¦ê‰xme•]Q6_¥Qm°qïªá‰Còð …Ù¶ÅmpBqZh[jYÕ«Ùõ¿ô–¬®é”±i†Œm®‡zªú¯&0Ä­xÌZŒ©ŒfúçKH_;ÊÒ]bÍfñ摃.b—‰Óôs_™± BîAâoH¢hú#ë@Öz;õÃá:ÿ|V_G*Ÿ.R>í®«<_$ûtoŸÈÁ8ñ Åãy²Og¨mvc%„c»„oÒ‹'áÃÛçÅ›ô#]ÌÝ:M=WÇrãMùPö„z×(k÷¬Pšæ ‹SsÄ/M¿¤Oÿl»–ePšjGS¯IDAT¬yØÊ5Z¯©UÖXÎÀëääOS…]\y¾„/íÃ?h£‘z¨´Fƒõ_¶×«†Þ1ìsá¹užF­Aq6OþX–´Ý-•4H`4He¹LùtѸŒðº–\=àÄRüò$ÊÞóßž¥<[xK+¯¾Ycîë3L|vîŠÉHÒ®;Ú?÷bU/Ô8ýÝãb®,CpW˜bsÑ8qišÈ¾¸­Ìæ«l=³nj@xoŒÄEÌÿè8õ| dØó0ûåãÂÏŽ“±—ànåŸätд×U®ÖÎ3äNdY¹GhªÈ0ö¯w>aýî–n_ ‚»Ed”è% q&ÎZ§µŸØëµµÛáºÕçz¶Æñÿü‚ù¿,4iWÐ…+èN g æžÁkÏ$Ú`!WÈ-v÷ ù‘sã¤Þ<ˆQs1iCNZV7 k93ïNFŸü_Çô5@d±˜=?Fè`T?Ø©ÝÙÇ3œþæl»¸ßEâ²~”ÝaJ³ dzgóæs†’ða:Kìx{Â]ž¦ M·|ªHy¾Hét‘àdˆô[Ík’½jX¦þK€ª±z×2kw-ÛÞ{ìÊóɕvýô ¶S°Xýõ"ù—Úë.‘ƒ1²O‰túºQéöô¤U¦V¬3ÿÃi½qþA…þ×£–ëÌß!ΆΉ0úñIòÏg9õµ@·Ùý—ûÅâ鹦5(/y$ª†'á%~EWÀm„]ÀÅtÏ lP·1Þ4ZšwH¶‘ÙäÉ>¿©o|H‰‰Ïì&0©}4ƒrvwÐí öÆ6Ñ¡Þ@é\¾ý|ŠÇEÐWÈ[q#ùEôã³lTUrÏdÙzlƒò¼Ù+‘Üa/j±æx ·E²Ï…;졺^î`-J_?LhÌ*NÓ¬Ö€4Þ7åYË™y§nR›×:Kß?Mæ·Î›/’["tv„È1B¯ #75åÎü·c”NصYOÒGm³Ò ‚ã ¡Q”ý¡9‚`Pmf¯`µnOXøÛ9ýÄK‹&?·—à.Å$×_ÿ-`D°-XU3Ö0Ï}+Ëíµ’øy)dOû sK¶ì‘©çªÔ2C!ú_?‚$Kä¦3”—ŃNÝ4€oÀ7壶^¥2_F-ˆµŒÐYáv#ŒƒÆÚn ÷ÌóßšeýÞ5*ó%* eŠÇ $®ìC6ºJî"Cë£YÒ¶d¹Žé®<šs~óž¯/H”—ŠÐ€ìc[":ï°£ZíXŸãµµ£½”מ¸OÜ‹;èn¶A²ñI²Œ0@ôüÊY$·Dm³juY‚¦6<´Òêû·´©ÚŸ}þö/üoà½@ÄóÞ+Ö¯œ€Ðp ‹`¡T7Ël='Ôàè%q"c:¿ì‘ñ$½ú®GéDøIÛyD4(/”X¼í4«?^¤žiû˜ööûtßèÊÞÑ ¦þeØÈÊГ–ÔeàšÒvU®g®O`8H=[£–©Ð¨4È=•%rQÌ Q:hjZ—z;Ý>“ò¦2æ¾ËK²„;ä¡tºHużÃÙ¨6ÈŸÈPݪP˜ Æ®€›ô[F‘[-ƒCv #ßàxˆðÞá³bÂ\d_´9$ÇôªhYz^›WÙ&ÿ\µ  ŸîUÒo"~E’Øe ÷L†Ùo#÷´˜yû|ô]=€;ìÑyæ/É+ôhH¦uº¶y›´Ö÷eæ›ìò»ýè.‡·ÂçÚí'QKݽV 2ñéÝ ¾wDœ¡mÒ6–î˜Àª´7Z¾~E›ªZ Ç܇ °²Ê.¯ yr@^IFüÀ;‡(ËÓ(ª¬Þ¹LøPÙçbíçËdÜ0í0w+¤n 0®°ò£Ý…HäÂXó8Qr­©g0ÙOZÒ™×#.$I"0ÒpãöÍmiǤuNö`Õõ +w.˜‚ÍFΑºvÙç"r(ÎÊÏæ…ÉD“”Ý”ñp[vë‹ÝFpSÚ9H©¦ê5ØÆ{›×šgÌrâín"aæõD=Œ~|³_=Žš«³õÐ&.ÅÍÀ ±ô½“Ó=_:@ø¬(þ¡Þ>?’,Ö¤—ô±vÿ²ˆ¸,ërÄãýÀíÀÅÕõŠ{þ;³Œ¼Ùw†!¬$mϲ 6Éto=¹Nø¬¸9DëAKk°ù¨~æo áÀ«Eû[MõD¼ÀO3¥5 QoPÝjpRÓD‡‘í{Hbñ¶SЀ“ÿó¸ÕE+þ‘©Pö‰3]Å6îVôô‘aSÿlZ’5yFÀÖeàšÊX?¯6Ü1W½`«k¦“¡ƒ‘…°kÔd{-ßÀÔzƒÍ_­²ùàš¾ èIxéË1…Z¦Bö7«dŸÚ4- ».’— ´eÚ€£ys; kñ:µ-u:žµªŽut«ß–Þ¤ÑM2÷µ4J*÷¬RY(™N- ¾uŒàDÈ6Ååý ½sœ­§7X»w ­¦¥·×oþ¾²P’¿7ÇлÇ;ÛW½Â ôrHÞ8ºÂ©Ûޱùø*jYÕU{{]$Š39±e,èKÚT͸ÿz uád4êVhyMí(0©ØA@Ó«'zQe¿8si+oÚÇð‡Æ™øÔ^”½¬µ‹ÿ÷”.kàæ‘í-å{Ôfº `;Ðõ.×9m6kZ³4lýÁ%MÛ¦Ô[ð$¼¶gÚ±nc½=jF/G+Lç˜ûú´f  ‹öÄëûýà.ê…:ó·ŸdöÓlþvͶۗ¼|—×Õ½~‡f§r¦´Ö%ÏZÎÌÛñ#éÀ â”ÀèŸL ybXXeŸÛd;ŠL0ú¡Ýøt‡žNÒÂçFM|«?]Ò=*F/‰:`8ð‰A¨ÓàµÝÓìFÞ?Iü²TK[Úü H_È?»Åê]ÎÇt^uê¢Ñ¹wÿ8¤Õl=³AöùM±Uüº$î‡Ì“ëÆsEŸ×¦jVë´ ¢Irsjé°^¥YÒÁÞ˜j¦Bþ¹Ź¢8TÙp€àÞcºËÌc¥.N£Ú`漤{ýø¤>MÔùô/¬áëkl«í^›O3Ȱ—Ólõ8ËÕl<Îr5s9¹-—Îõ\…ŸÔ½7Œ}r’ðÁ¨^¶QSÉ?eëh†ü³YǨ(}oI“º~£j»#ëv>cùòé"Ë?šA7d=Ž#Ch_„èy ücAP5N}ë„îß>uÕÊD„—ØÁ¼ånÌ“ºäµ¯%«\Ký’ƒLgÓ{ý,ï3o°ôÓX©ïDÏK8·ß¡mZ­Áê/—È>©kÖUÀÓâî¿qˆØEMŸYÚlzŽÎÏרµÒ QVñĽ–gh•+u¸/né®Lµ©ÚO€ŸHG2Ø>ÐÝ#u4¾Ð¦jGµ©ÚÛƒÀ!mªöƒ¬ú„·eÀ·°LóïÒLÂK¹ö²„åž4Tå;š $|ÏhÛ®¤GMe;ÛvZÒ™jM;¶Ü‹›Â'ÂŽ­ºVaæ‹ÇXÿÅjg°’Ð×¶Êóeá£S›º(P©6µ³ß˜v+oÊGßuL~z?o%8j}1¼WÙ#£ì‹ëZC#÷’!²”fúçü¡‡wÓí£àôÛ3\w=òdË34È ø¼ZÇ<ð´#dÆÔRýŒ @]A7C;ÚfwÝÍd®u$Ç%Ñw]ºÙqË–ìY2ÞëØzÓš:‰5òÔËuVž^ äV<ÔK5ÛBvüÜá}q@ÂõSY)R˜ÍRÛ¨±ð÷§ùæ5™Ndübl£õ]Æ?@ÙÆÛ²ëôšäë÷3xdŒ…ïÏACcãá´DÏI舠µ&“ÖAnPÚzžžYòìì8Þ6rœòÎÄÉ_öÉ-}g7rv Ù-ãKúÍåÏ\©kˆN’1Küpßö…v@ý7‰)àÊÌæ…çrÿ‹¤n ymW/Û_›ª½H´ÔRìó,Þ9Ãò}säg¶hÔfÐrøa6ª:`=Fs¨­ý|™F£ÑÜ}3ÔìrZ‡›ihÔŒS¡WHkjݪçk”ŠT–EäM5¨îg ×–îØ4Mcõ„³C„ ƒñ-Ö f°òD¼ ^3Nä@ãözü‚´nä›6+¼À«í&Û}Ë[å=q/ñKûXu*ïPµþàDˆ‡õA¹ùè ›­šËuÂN k½em˜µ=ëè ÞögiδM+»ð¢¡›ì AäÜÚwfžˆ‡ø%]6a^%¯égè£6äÑj+?\äÄ_¤xÜ9¶€ë–[nyÙøüí_ø&p1=P‹uJ‹yrÓ›Ô Ud wÐy/óÜZK[¸ ˜ªù:Þ~¾~{DkÀôbÝ!7¹§ÄúFy®Hìp¶&âTNOw6µT'óØkw/±öó%²OäÙ§7‰]”l¯¿9‚K纮‡ön>ºJ¡¹nåíóœTì¦M rHûG&‚äžÌênÕ ¦æêRæ ê™Á=ŠÝ_×+mŽ/ñ>|0¹Gp+”ñ(ÊXw@€—¦68uDZË-ˆàŠ/noÊÇÀ9*¢+Â$^Ÿn~Áôƒ^¸}ŽÜ3b §® yu¿I¡™ª•g»§QY*³ytÜÓÇõØá>RW¥Í_ߎr5OWÏ¢¶{"Y˜i»C–½2® »í3Ê@²ßEßáAC!SŸäNgY?*TtwÔÍägöá ¹ÛÖꊓ͙±ß¶ûš¥|gÙ6Ϫ–ëâÉ<‹wœÒ]++»"ô]9¨úíf?uFº ZCZ«7˜¿í$åÅ’éw){eü#A‚ qÿp@|䜢ì8m€Y¸}ŽìãbMpð㇕?HÀjý•çŠÌ}íDËo]økà*„+\!ï&vyâwX-’ŽxÜÀõÀŸ7aY/ó§‚Ãa¼1K÷̶nR›ª}U:â¹ø˜“Üþ‰_f™[kPÏÕ˜ùòK4* $·Ääg÷áM¶=GèýÔ,´¦jä_È’yhÒ¬óV¼èL|b_ÛÀ*× ³5­<6 3›Ó€®f*,L4gr¢Àpˆäá\>·©îÎ O,“ŸAÙb䣓zàg0ê XNào/ïÜŽZ¦ŠZUq„[åNõ—Š,þ`N߬ Œ†è¿jÉíê *Ð@ÎV©œd)k/×Jo=¶Ñ1 M‹$D`4H`"Dp¢ `¹{»% 5_gú¯žUÛð1ò¾ÝÎ òX’$ÜCÍ~åµõ*ˆ×û9 e…ïî1ôÁ|Cþß`I:âéGh\¡‰žèfmªö]éˆg8†CìØ¥IÒ7 ™¾bhyxå‰=€àžck[Íw _/ÖÙzd“ÌÃëm—´Mò$…«ßâtûÌVÿõÃDÅéhÂ:h·Ó0º€K£¢²pÇIj[mJjóH.‰ø…iÂ{bözÒÖÔË÷ÏQ͈ÖäÕ)úZžY ÍQŽ©íÝún)ƒÖ4ƒ¸õõ¬xþþ‘ ÑCqB{#H.ÙV¾²Zfñû³¨ÅæÑ¢ ýoEöÊÛkY`ŒF¾iYÆkIôõÔßÍPYlû§—<‚ÑêöÙ˜UL*(»ü#Á¦f®cýžÖ~!v…ûÞ4Häuñ€BÙ˜ûêŒ1Ǿ|áYBŒ¿ºïÕ,#IG<—DÄ#³ZºJ›ªýc“ïÍÿ=.à+À½€+|0ÊÐÍc‚Û0@€Ò©¿>¡Ûþ ÞgòœþöIGyž¸‡‘N⎚­ñ5µÁÒÔ<ùç„y„䕺yŒàxÈ2ð4ÇkÍÆc°Y5”…;NRYi¯…xb^—¤ (&¹v h·¯×é`‹ê¥ë,RYki+.&?³—â¶жš£°í`&þV~¾ ç§ ínnXJCm›Î}~Ãt”KöÉD%ˆL"¹eVîž×C°Kn‰ô5£†“Lè Ùò:kRR—ÛïGŠë M–+:úµ‘_xï_ÔOìÇ“»ŒˆÙº§ÿW]Ó*Ï–mgÁùæïjÌ_ÕŒ¬ñõ¾ v8y[áröïj¬“6açÛ?µNÔ>Òœ°šÙË:ÚrïìKmúú¶lÿ^ßÿ™þöȨvUäÏÅ.ÑóÛœ„Øeä"k£?ðë^ÿÂ]yϳ<¬ ËŸúÖÄsötóß~›cýgM¾Ù¼×F¶E7ÄîYõ±5¡ ”RØÓ6£µFu_uÎmÔGëoó~Ð|æ¼±Ó€Í@èiWžL“­ãÊó½÷ï¯=ýëcþAô ÄŸf.h·_Ö‘0ÒÅG Œiôc^Ž!sqû Ö¨•¯}¾xʯó¼—kÚ[Bo×ÛŒ/®ýìpª9a©‘¿?¶ðŸ@\.:´LèáÄ)‰öìk»Úbâ/ùŽò‡þd_Õž±kBû„.NQŠ×{óÖ7Õ=ÊÐßÞ]{hÕÇפ¤`ýHÍŸ¿m¶è–ݲð•y¾Y_€]@ßoºàVv7÷Ý¿?²“Ö·ËÈ„úÂ{‡ÿiS·ÐÄÒõ©oO”f4½Kívî‹~$ùXú•™õÓߟ¼Â¿É~à¿: í-¡wéãŸÖ}v8©øÃ=eßòOÓ›ÕÏÔœx‹Ø\|ÐûcaÈOÆ6ÄS/þÎÌS~s¢ÓbÒì¸"·³ãua·ê2sÓôŠþJ»:üißrw˰vcsÜJÎÜ4åw½)'¥)‰®ŽÊÁUÉ ßÏÇ£û›šæ¢ÛÚÛR¬íË’Œ…IDÃÄ¢â‘0Ñh˜h$êõõºE­aQ­7¨Ö-J5‹#ãóä ¥>àƒAWÅ3·EŸíUÃsï]Þí»ŒvãozÞÙ×±|€úáZØ `ÏÙŸ¦üa¨;üqà¿DíêÐŒvãsk?»!©'u”§@ŽÚíýµ nT¶x‹øZåÉÒ{‹bésÚ–ïUPz¬(;¯ÛR˔á@S“¾÷$º¯Ê%¦¾;ñùÆÑÆ?·]˜Õ¥†RR¸x˜ò¡ ‘/L£°L©i ôu²a(ÇÚÁ^ÚS±E ÅŠóVK%â¤qÔŠù,žçK5ŽŒL°ÿø£S³é°ã]¼þ„ 7"îìº2vxÖ·¯’aù6§à`Ï61;—#2NÞ±ÕngÀ«zy¡ /<Þ(v™_wÒ®}ÈȘ½ö³ÃI=@æÕ<á×Ä?Xת$Þ"ÎÿÒ‰'¤)†’;ÒbáÜ¿"¸'£¾¥¢^‘4@Ch#M3ò‘Œ«¬ê˱cË:{;‰…uDðX<§Ima§^µx+ºk7ÐÍZ«ëf-ÁŒ¤ˆf¶o[Ï™ÛÖS³\NLÌòäžÃœŸÃXß0îíS÷i$ŒÏEm¯Êø¹ßï“ZL÷ýâŠeèÒ¢cW×`ý`íÃÀ_þàÿ?FÖüËuŸNh±e¨G¿xÂñÿ›ÿeHÍ<[F51qÃ8Â$N ÂFnÉ¡~¨FõùJÙóîþðâ=ã_ÁH›([Á¼Cô›s˜» ²í.>g;kû:‘-Ô›åyjùqªùq¬ÊÙ÷ÁUÝ‹.º4%Z\ÎUŸ)ý¹ž2/åÌWöüA?‰mɶÅû¬‰¥‡K´•!‰Òö·“HÇgÇö­¼ò´a¢¦DùùÑäG^Àw›Ë óRnÿUR ÿl-Äò9D‹¾c‘?ñ<…‰ƒd¶ÒÖ»Ó†ûذº‡ž:ÈϾÀ¦=Ržxu*:_³Ïõ*¯­ÄÁ-»óm¶§ówÌx äÍ+ÌNó÷hU›oùx5椅‘6X¸k^ÕöU-=©ß²ôý蟤—Ú•€¸ÒØi¾'v»Wu_ß–Œ.‚0ñµ±‚“wþ M{@¹þ«ÿdMÆH™”+R~º„òÓßž"{~'ÑM2=nÁçžÍEgl ¬) “‡8úèO˜9ò$ž³"àºb×ýUR NþÚI×yñwNÚŃ}eöÈ“}ì'&Ö± Î=­«~f‰u;;´ÈšèçwE?¹8-¯ê=X;TóÝ‚ƒrý¹—Áë=­sÍß ·E†¢ÌÜ8EòŒñM ´¸.Œ”!çö% }bÍ«#k¢w¯$‚ØeDÍwE¿‘Ü‘ºyͧÖ]Ú÷‡ƒ¿ç,8¦òJ)æn™±Êouþ½ñEõãæ~¯êí:òɃGŽ~êÐý#wÌÕ:õ£5š“úmy’Ÿ™ÀP:—^p.gmì¯ÉØó¿dúÀ#¸Ví¥\ÿ’• þËþbàO"䋵Ø]«ÆôG{î—à59kc/¯¹ð\ _'õéiÖ­këV®zþŽÈ_ˆ+3ìéæ— wÏÏ4',[Kèg„ÿ0þî•Ï–¦ü³èpÜÔbó?Ÿ£v°Æ¢¯°pÏ|YÆ4WÙþRìLw¥B@'Pºxclcüƒ]åÂfæ‚vFþþØBu_õ+nÁùóҨ[œû€uÆ5Ñg.m?Ko3ô©¯O°n(Kê«3„Ã.¿ð¬ïIâÚ ÆŸ¿›f­€%L \4\˜¯ºò0ð0„OX8D„û+ÕÑI@¿HíXJ§á8H\¥á !Qhøhx„°1…C­0ÍȳwзõB¶ e ™ç󳻂™càáMê½];~9ÿG#õ;„)erGÚLîHo8ôÑý¾.ví@¸¢úlù/~xßP¤ŒŒ±4E¯ááU½HòÌT¡ühñÑ%¢ÿÌ‘š׭䙩›Cï…Þ»MÔkªÏÔÖNʹ—ú‘ZÙ-8ñr*…‰r”9õ鷺â$¿5‹i†xÃ%ç±.—À®—9ñô/¨W‹T‰'M…8!\ô%ÞtÑi¢¬"ÌúI¦Ý _?‰ë_ÌͰÌý–¯3å&˜ñ’”U„† á´žï#qбQ"Á±¶+ûúΫËO–"‹ëMlOöˆ]ÆN-¦=Œ<©·ãHÞãäíxÛyÄ £|æ‡S~öòeOÙ3j·3¾$× ¥ÌóÌñ¯ŒÑýÖâ[}…ûväžøÛcÖ†/nŽÊD)ʼn¿;:ã,8W«ÝÎ˹óÔ‹ÎKݦ¥ošGZŠsvne Áªä{á^š®GM$ñEÀíClÚr ÙönÒé4Rh”ÊE ÅòósìÝ÷Å…9f|ƒ°rèÒªèB½T ¸J0íÆ±TÀyÉT†­[·ÓÑÙC:ÓA"ÇqjÓ“ãìÛ÷,“ã#44•I̪qâ™;èÛò*Û3œsúVî{äIŸž¤öýîÎÏÈ,Ìÿ|n«WqIž™ÎîÍßÜ}MO[æÂì»Oß8‰Wv‘ Ïòе½U7÷¶^³øpqz%núÈŽ«P_ˆÁ¯f‡ @ç•ݱÎ+»cÖ„EsºId0Âôw'KÍ ëóþíÇ^ ¾|£ùz‘ß5;CM|üÄ>WKwéììdûº^|×a|߃Ô\hÈ XÍ…]F[& J-«k¥hÏdhÏdX;´–ÓN=ƒ}û÷òèc÷R«”™p“ôLé/I$“NH,Æ9;/dÓæS0t}Y<†A4¥#ÛÅÖm§3ŸŸçž»nclä‘ÀwjLì{¡Ó/cûº^öeö®Y*?V·çìht],«§4dT2ú…c~lS<±ü…{ò,}MÍ©&^Õcᮿ1-LÁèŸfË£>fCpÕk/¤7aîøsLM§!c!8ÿüKؾ}RH”òðí:Êià+|!4„¦ƒ4ÐÌHIݲøéÏv3>z Ÿ£BXz-•£1á$ðôôpÅo!‰€RøÍÊm¢< å« æ¬éhfiÆz_)ž{î)î½ë6|ß%â×Éõѱê& ~pÛÝØ1EõæuÈ.siíöl“‘^uåÚË`·šZ²WÝäV½e)Æk‘áÉxŒ-[Oã¹g¥P©Ðã¹ä²) ÃÄ{¼†Ýðˆ||ãîòJ½®‚Ú‹ÎÊîÃkU#ÿËü¼5Z—nÁ9gͧ‡ãZL'¶1гD€ä)¦¾=Sp˜¿m–žËºeïwK1½lÅLM±¶S2Ю“ˆW¥á2¶àqxÚ…»+¸@ZÐ×ߎ!Õ ¶,†íÛOG)¿QÏ¡êhÜ7×Ã΋wñê©ÕjLNNâº.¾RL-Xª²Pµ쌲º+F*<+‰°aÃ6lØÀO<ÁóO=JÞjÒnÔqk €zi,bÄ ¨?BàUç‘m¶o;çŸ} [Ô 3Ä2Ýôu·s|lŠøµÇÑFlB:¬í”ô·ë$"BÊu‡±¼Ë‘Y¶yØâÊPé=áÐÜ-3õþÆÂ}A³•æÒ¤\LÓÀW ǾÚÓÕÊ£n9’çÃ_]à#W¬Ãó<úúú¸ìò×rÛÍjûHê‹ÁFõ"ãE„YRA+"¾Ý@SŠ\WPõb{A8dêW“ðä ›å&h8:ù:+@.^gm·K(’äÜá÷ÌÎ51¿³€ýžŽ@ãÜ“·QÜ~RB&œ6i XfûªBB¹Zçùq¨9:aÓ`ÇÆAÖäÚén‹2>[àÈÄù;ñ¼`’A0”p8ÂLTf=«V­bllŒ=#%=8Ï•[¯Ø±…®Žvt]CÓ´€û}(>BJðR*úrD£ä‰q¼5ð/»óOï‹S(زe ûöíㄽÀP¤Ä’ZJ»¶æ·H„—#ˆøvåûD"ÑÖ]…ÏbúVJÁŸ¼ùêÉ]WögdH> ë‡kiƒ¾Wu…ÒÑ q1š·ñ•`ÛºÖ÷u€ò—]xD*ðM„fâ·&'”B!”ï{Œ”$ÃÃÃ4 šŽËý{æ9½Ïg°¿§¥n¾ïãùžç’/Õ¨5,lÛÁ¶mÇÁuǡް›)P¯–ѤR6Ûz ~ñô4µZ Ó4éííå¶=uv~è;ìüðwù«ï<†í‰“ÖtÄ"øÚ‹‰¡²=|ÏEà·TVàaû ÆI1%–âW>Ê÷xŧÐÕÑŽíKfê(éhàË„ÊJÍÜ<>êûêòðÿ<Àø—G«âhPä |%¨Z gm:9Ž+8ÉX’MÒb{>Ê÷‘BáÚµF£ÁØ\ƒtL2$±hOùKÜ﹕ZƒrµŽeY4, «ÙĶƒîØ6ŽcS«7Øl]øèÂGAWJçèdß÷±,‹U«V¡%ºŸ¯26Wá«?}Ž·}öV|ä 5¤$ b%øš‰4Â4lÛª;€ïãx4)¢ÁS*ßÀW(MÀ™§n jù(%ˆµ*CEÏö,·Sñ5™}mG³ôxѯݚ ÖQj-++—M­à~ÿeth k× /ÍÌåK(†n ”¢î‡ˆF£8ŽÃÑ©*Ù„¦i„LßSç».¾ç/Vh4¬ [VòšX–E³Ù¤Ùl27¿ÀÃÏD  …&}ÚãsËö°m›H$B6›%‹-î›ä‡Zùä=A[±èh¡BjT*e”ò1tPÌ-áïµ}Áþ'õeÆTJù üÖQÑÓ ÞôQ‘–7ïÊ4d¸mg{L“ m¾aSD_3 IDAT[2• >ŒE4<lO¢kÙd´%V~`±­˜è4-놘œJRÌH43]âòÃS5ÚZÀý¾ç»ø^Ð=Ï£T©Ó°Ô õà¼ÑhдšXVƒz½ÁÝ=É\¾„ÄC 05E6!91[Çu]„„B!R©“kˆpÏþ‡¯ÜŒ—Á_úÛŒƒÐZÎ$„"Q”RLÌØ´ºw™€Ê_ÆgåQù亂$—墑@jbšFxU³ß@ŽýËq|Ûg±2X!p[V›®Kj‰² !ä‹6±@ ¶¬_ÀØl¥‘XiÆ ‡Ãø~`Ÿ©Ñ &ã¶ÔNÀý.Íf“Z­N­]o4¨×ëAoÔ±¬>ù,óóóضE½a¡K…&ºT´G5Fç(¥‡ÃKvüb;<–?Y‚[Œt’î_!sùÙ€ccI”RŒÍÙ¼¦¯uO°a³ˆO‹óMÛP+ê+Ѳ¤Œý†GÿÿXE×sè™K²Lo’Ø`íp“ª¥ˆ§54¡°šÅjT(DHcÉdK=ØÐúzr¤qJåõ¦K<‘a®4 躺;¢bÙ4måy($|Àw]êJùx^°ù¹®É÷9>2Îó{ö£éšM€&¾ßT›>É@Š=ÏÃqšÍ—¾]+4} (¥$B.{ÀdAäH‹¦©Û6ÇOñD†šåR*×HÅ£ôuw ìJh ƒ{… ÌoÑ2Ã…RLMµ[!- K­ÙÚć„ºƒ*lÙ¹«›Ú¾*V2 NÕò@ ZꊩÙb09H¹$y2!4-ÃkQJ1/ad/P!RJ¤”¬ë‰3_ó±]Ëj¶€ÀÖ$X–E­V§^«Q«Õ¨×jŠE~yσÜyŽëÚà;´%ÂhR #Фdªì±º;¤:]—b±ÈäääIà¯è\Áõ+ÔЂ<´ÔÑbí=ıcGiT „4‰¦iÌäK(¥Ø¼vÑ^ˆ ¿Ä©kO6 ¨YA°°0W'g@©|Ejgš¹}A«ÚTø"­Š®ý#ÓÁ[  !–ÁA°uÃz&ç5”ˆGiÔ*hšÆêî8ùª BP(–ñ=¯¥ÿ}ÏE—>õzZ‹ûæ?ÚÍþƒqí&žkã».íɺ&‘2à‰bÃ'fHR1)%µZÙÙY,ëä—7¯¾ä´ÿ‹î×Aè‰.|ž~êA’ÉtKÿ·ÔϺUKX,Å’Vz׋¥À ö:¨°P`ØTê.n·Éä7&hN7Ñ÷¿ï´¸Nß%mp`RÝE!èl 1Wµ¸ÿùc¼rËíÉØ2ø'B¶¸J# tîT¾ J‘Le™­L±°°@WWkrqfËB…Y(•p¬±°N4l ÄuŸ_<ó³³³ÌÍÍÒ¨Õð½€`fà7hçlB“OI„”Ì”\Vç‚ù†A>Ÿgbbâ$ðwnâªWïâðÊG)¨ÕÖQ)N"ô£'ŽŸGø.‰TÝ›Êåï™TÏÌÔ$)Ó¥ZZ`zvަÕÄ÷\»ç:ªR>mqÎÚ²¤D Bò̘ÃÙ;1M¥Åb‘î„Æ@w†î xÓùÜø·ïGÓÍ%t²é¨Q-ž©1v|Kû8v#Eç‚Èè×núY å—)< ÂWŠÿ"H—¶Ç!Q±ùR ?.qÖ˜¸e—æLmÍ÷6^Ÿ:=EúÜ öT“ð¡&Mrm!"¦Æ\ÉaºP¥Xi°y¨©›-l9Îb;ð‰¿ýG&gèìèä¬]Hå2>zß³Qm›Æ4MÖt™|ûžIÖtéD &[ªM 6usèøÅJ ßwƒ—”H]'×ÑÎßúb±>‡ŽÚ(Íä‘J¥(•J<øÀ¼õÜ>®{ëE¼ÿM¯âÂ3‚ˆi°‡ $ÄÊó€±´P ©‡ˆ%Ú8|x/¶cS+H$3t¤£Ì–=æŠ<µï0çm_TÊwÀwzà”6\/ßx'ÇÆ¦Ð…ÏÚþtÃdïHj½ÉÔàÀÍÌÝâšÃùë5L¡04…!ºô1„Z’ «Ù$ ã«@ç{Jâ(A¡!øÖ£U®Ø9Àegô‘Íf9zô(?ùѼûü~¢¦Æbdv)Ž£CÊ­sß_q}ÙŽ×Èp‚r¥ÄMßúòÓ„C!ºs«8:]æáçŽ!¤£)ñHˆJ}Ùä5¤ÇªÎ(mÙ.”‚§Ï3»PÁº®û=”/0sã4fWÍܾ¾~¤FbS"ˆLn£ÿ(Uu(7¡+!“ +”kq%p\)@ zÓ£=çôõÝÔ*E*Õ2ºâªkÞO[[QÑdz¾Ä\Õe``€X,ƺNû÷yòx“¾ŒFÌ 8U Ѳ¬®Õ _è¸høH<¡óĈË÷Ÿ¨qñö»vö‘Ëå( Ü~ûí” ÄC:¹öÄ‹¸^,ÿݪ©^¾¾x-h~³ŠÐL"ñƒk6±÷ùÇh6-¤ÔèlK1¹P£nÙDB:R(šŽ‡DÖ}Ú¢«riév<_ðÌÑ|¿]cú- F¿8Bs¢Iï{û鸼mèÃ×Oo‚òEŠ.0wǵµ©9°JMj.é(áH˜¶TŠÎö=IÚÓqr)ñ•âœ-„MÁÜl`}\öúkXžƒ[£'OɃ¢··—L*ΙkâH)øÎƒy„ÔéLÊVRF¢¤D ¿Õ=¡1Wƒ<^ãDAññ7oäüSrôööR.—±m›Õ«Wc˜aî~|Ç&fÙºº ­ç?™Ëç‹ÿöÅrÎoV‘f”Xçy”Ëežxâ \7°µgŠ îr§oÄ4ôeÀ_¤÷_0X”€•¶oUТi²Ùn榘Ÿ ›3éSsEj–G¹Ö$Õ1C&JA¥Ú`tºÄ Çæ©5lª1Å¡:MÕ=¬‘2¤]ºž6ð›§ëùÛ”ÀHØs6ÏõØlëŽÃcUŽL”92QF¶ÂÎþŠê³ÕÝI”ïS«Áª3Î<„Äk´Ò‚-•Ò‘\4äsßÃ÷S©Tزe ¹\Žt:Íßt&©ÖƒõÑ©*‡§jŒN7êŠsÙp‚ÕÝ1ºÛ ­­ ß÷edd„ 6°gÏJ¥år™d2É–-[Mrý ·ó¿ÞqÙT¡Êo/ƒ”§8)5¬P„ßÊ%û^-žèdÇ9¯fÿ¾§©VK$’Öä’ä+óä+6ùóÀüKLÒÆŽ(Gº?±¤À.ØÌÿt†éïM:;Ñn ë Ž·åeB؇Ñÿs”¾?XE|c {®ÉX”ö«³„~QÀ¿¿HÔr_N»1a£¹Ž–UG)E6ÛM®w5B)<«|’‚tÆ5^»Ap×þ§™››["Bww7=ÝuNÛdÂ+ãt]' ÂÚÍf“|>Ïž={xôÑGÉf³´··¯¸išF>ŸgaaU«V‰Dø‹¯ÞÎG¯¹€Õ=™%à ‚»¨À³øs9¢Ói1‘ÏÒÝ³Š®žf&GiXur)äá9<n¿‰žwñECú4‡LäGz8~û4¹k‚¬ŸP`¶›ô¾³Ÿî·ö¢Ç5P µ_×uýÌ÷&HœšÆˆDú#L~{Œä))Â=Qfo™"ùš.œÓž("ÿ|ë­ØsMb›t$4V›¯ëÚìØq.}ƒkñ›5|§@ÊVüDCH‰©k¬ë4iÔ*<öÜa ÅÍf`QI¨¹p8¼Tª”¢Ùl2;;˱cǸûî»)ÎŒòÊ-ýÜÿÄ ´µeH$Ôëu‰RJlÛfvv–ÞÞ^ºº{øÎ-÷ÐÛ‘"—M­Øp—_ Y>.VP´þQ>BêH3ŠÛ¬süØ„€X,ÉÜüu.Šá}=Ö;³ìvŽÚj“™ó„z"dÎm_Þ_· J©¬¡w¼® #c2õÝ1úßµŠp_”po„Êž2ÉSÛðk¢Ð~ÃcîçSVs¶YxÞ‰ƒŒ¤c÷é´^3Íd»‚eøNËK–'m~´U ¾>IåùZLgêG)0ÛMF¿rL¹çPù™âõÀ#Ýyóà¢DÔDùAP ‘Ì¡ ÏaùѦޒ&djìX•`ÇPŠRÃg¼¸@½4OaÎÇr|Q“Ád”Ó{³d’­Ú¡å@Øåç†Õ|”{ï»K.¹„l6Ëüü<©TjI}‘Ëå¸øâ‹¹ã‘G˜-V¹æâíÁ:B-¨ìB,ê§`-âéàMQÏ Ôc6ݰ•Áë†p­&s·O"4Aõ@‰òsE´ˆA¨3lv]Ñ›TÀ÷+l¯Ù´5#W݉—'ÆKóbð_ŽXr©„0Z©AÉ–áÕüå¯áÞ»îàСC¤Ói„xžGGG4 æææ¦-·š¿¼á΀/žÌŠù M¶µü––¯TðÃK€2ÊW4çš”)ÒvN;ã_;Ac¼Îº¿Û@ç]}yí…ûó„raP cëcÄ·%)>RàÐGöá[>Ñõ1zß3À†/nfÕŸ®!un%Ó»Çp«.õcÕºð)x~«¨5ÙZ+#äòOP›dÏ¡c+Õ_M„ßBëÏuð™ë®eßsOðì³Ï‹Å‡ÃX–µ$ RJV­ZÅ{Þó6m?ƒÛ9ÀB±Ì³ûqb|ê¤gÌ$–üÑJ¸-_Ès}ð`â+ch1‘ÿså)œ¼–8‡ÊóeÊO”è|C7ö\Íκ×÷~ Õô‘1 ÕTD—EMOêÄ·$ˆ FX¸kP8%Go[@ ÙÂLEéT»äs×­ßB[¦ ß±Àw–6Û‘É å*ãÓ³‹Uâñ(áPxYµ°l--mÖ+­¨ÅØ ,åDøŠÄx$dpî©ÃÜÿÈŒLÎ200@(¢\.“N§Ù¼y3„Ãa†††øúw~DBÖ™Ãj6Ñ4IW{ZYÒŒ"ÃIæ¦GØûüchRÇ G™É™+»T¤Ïgfqæl:vuÑõ¦",p\ð‘UAu“·ùûc ~h5zÊ@ihÑËâ×O~}kªI×›rL~c=mî_&ÀÔ·&!Á®&÷ö^¡M;¦¹Ç”Ýíi<ÏÁ÷\º»ûèé[ B¡šµ%«§£=ƒ’b¹J±Z娨årD2NØ -ÇgxñqàBœ¤ÄËÀ+urdS—‚sNYËá£Çyô™½¬^½šD"x¹npp0à\Ï#™Lòèc#­yÒ±ëûY;Ø»Xh ÊLjw õÇ=DZ#{Ѻbd"O¹ Ó9EÉ÷Xó×ëIž–B‹iD×Äh{e†ð`!s·Í0qÃ8ÝW÷ ÂÖX-ýîìõµýU„€ÊÓe"«"”)àU½¥ŸY0Ú º¯êAOµjä=0~^Bù])¤8ŽE¥\bûŽW"µžUZгH)iK%èéF ÉB¡ÄB±Ä¡£'ÈŠºF"_N”¬ü%À/‚Óri_6¬ìŠS‡û±5nýåôõõ±~ýzR©¾ï#¥Äu]~òÃïñ¦ó6²cË0m©’åµ#ÕƒRŠŸßü êõ*ápð¶ÿ=¥<#=àt„NO“¿c–Ô+ÚærØ~‘yæ>‡=ݤ9a±p÷‰PžêG¬g–XQþ^Ë£Ý9Â进Ƙ0ˆ_“$uã0ÖÁ0²áa£¶û@½¦Çéÿö“ÿfšÐœ…jjŸËS?S%q} q©{e‹…¥»(¿XBO_aèwRäÞ¢z²Bê¦a†Þ‘Bh‚V®…ùzëãKk.EÓUÕ"ª¢ò‘?üÏ$RãxÍ2Ny«„©½v–¾¶¡¨Hk›9^=yŠ7Î`·lZ®×æò~ã×ðð0¡E8"l… [a$’R¹L¥R¡Z¯Q­VXÏfɬ­!¥‡ª¨hªF0¨spï‡îÇŠDx}qƒKçG0t…n_§×Û#]´Øj(Fqk{¿ò_xD¯³8ª2ò¹Y£ÁA2ð&ÛÊW—¨¯0õGó´6è ¥¿\ôcIS |´ÄâçO‘ü­!F}¨gvì¢Íæ”_*‘zOšä )¼šKäæSèÛ.siù©aìF×m1::Éíý,ª¦ã쬵âÛÕOÔMÒ)Ý”5B¡iÛ,¯m°´’aqy•ìæ®ë⸞ëâz.N»ß´#¡( š¢ **ª¦¢©*c£#ÌÍL±gj’éñQ‚}WÒíu4{ÞŠAOLáº6ß¼÷Ïy.sšïMöÜsàpÀOiµÛ9ÝšKæë+h1 ÕRQÃþÞÙ±É~w41n`L›T^-ÓÚl’~#9o•$¥#± 6ekvoÒ•8;§>w¤O«† .û¥¹«$  šu¿‰éÚëßÃU×ßìsæÒz„AÁû4SHUôG½…Z½ÁÙÕ [Û*µ*•JrµB¥ZC2‰„Ä-‹°e‘J27= ¶kÂçñ ^Û6B7 Í‚»ïûŸÜsâibšŠÕTY:L}aƤრ¼¦ÇÖƒY oÓ\kú«Ì„T‚ÃAܺKøP„‰Nþòž z cÒ`æ3sˆ¡¯ŽÊÉOÌ º•kQ;QÁØcbL˜]» ›G²l޿Ъ¥¢ {ò©_6 +šK#ðºëxÞúûgî‚ÀÀ)oà6«}9¡¶Ö+ƒ<îÕs{I=Œ”éú‡Þ¤¼Žà囃 { ª„ £'¦žÇ§î¿‡#Û/3ö™9ܦ¤òR‘ê³\M0ÿß Œ‚ÎÖÌ6ÙùÇÙû70& ôX€úÙ*¾vqχ:’íŸåH½;*ö«wÕk4Vêl|gõo¬²yßåáÃÑû‘P9Qaå+KÇ &ÿ`†±Û&°ö…Éœ-‘ê–DV›¤–ŸaôŽ{x<ÁðØ4Šéáµj½r =9>JÛÉvó-§Û¡ˆçg@]vM;¨é»€}§Z ôø$Åz…wÿígx9µÁè܃RÑ¡}aâïL¿a¨PøT³¶P¥r¬B+ÛÄ­¹xMù/ì£vºJùåÖ…ánC®P„_’Ôèí©»ÜŠGá™mœ¢ƒj*Œd’ÉOÌì[GM!r8Æè‡ÆÑ“¿¢c©ÄßšDÙc²”-±ÙtmÛ 'ü •ô\N™#QW›wAì|cÖ`ï_ì'´×ÂkxÈ–D øëÅá(†ôv{ÅÒ¨/ceÈyh0ö[C<×féÌ Šù,SóÌ0Z(P4¤]§3÷ʽ £è£œ»¹¿èëïéÙð7¤'øÞL!ôè(z|¡jlæ³¼ðØ8Y`e¥Š>kHúr„½ªm@:ÇZX#r8Jî¡MÆÿí$¹‡6qëÁIk_øáת,}ñ4ªv™~Wc½ÎØ{'ÙùeÜ·Øz`ƒ­² ½+jªƒÂîS@‡mb £hÊà(€sG„âSyR7ƒ Ë_^¢ðd%¢bLù) ·î²þUrn1úI„z»!q“±N#›®"Lˆ¿=ÉÐ;ü"ƒteGyÀ“í=HOÒXi°t÷)¼–ôƒ’«‡ˆ^…G7©?½Í­NŒqEo Ø×ö¡Ô¿ýîÛ˜ž»UÕ@øsq½f Ù¬ã9 ¤çÐéDLWwŽwo²ëŒ;lj B ¢Ã(¡Bh€Äs]VÎç¯øß|ÓÉ0üæÑ•:7*4^+S^¯£†Tæ¿x5¤úN·ÍPUtWþ×Y"—GI\ã—Jêgj,~þª©ñëŸÈ»"IòºBSY20jP=^Bj(†‚S´9xï%h­Ë~¤t€ðh'YúòŠ¡zç0æd¨{]gÄ×ÏVÙ¼w‰_O éHéúkD·åÇ8ü–ë8xÉ•$Sc}l>¹JEFIDATŸÁ´Ú`8¶Ÿ"hO…Ξ^Á¿['PüìºÐM>sßDëÂö'Ž>ÏK¿xœWv¶x(j3üÉ9ôD‡ßãWìÀæVsÒì ~P¡¶XeýæÿbõÅNÁ!rY{»Å™/,=ÇmºÄ¯Húþ³Côf¹Pj»Ð¢t´@m©‚šÐÀ•ìýâ~_Jú´¿_È»GFÿqm©ÊÚß,uU†<…ßU㪂ô<·å§ÚÛÄÔ^|%£ã³ Lb˜íÕ”²¡»8S¿÷Þ5:FüV†ÌŽ¿ò<«Ë§º—½,›¼p•Eò–qßážWÈt5¿Ãýi3èÚ™*Ùÿ»Ž·™úÔ,¡ B8;Ç?v-¦‘¸6Ié—%âWKéy(º 4·ˆ ž;,ñddØk?\¦µíë'>6õ¦æ‡ÎñnÕ!xàTœ¢t¡v|‡ÆSÛ¼·f:j+¹‡ç4ïœÐ>™azv?ãs„#1‚†EÀ  šèA“@Ðv«A«Yo4ë5*•"ë+ œ=ûÛ›ƒS•¤”làñP¨E]€6m0üá™®Öï»MM?@ÒñXü³7½c’È¡ˆŒœúÜ ìm›äÕiÌ=¡ ÕÓe¶Ygè·‡)<““vÑ^ÔdÛ‘v¬Pºz„ÖVƒíÚ¤r¬ŒžÔ™ùô\/÷Û?ökÜÀ9‰j¨(i<©Œ˜Üwÿ*WfšŒZ$,E7ÛNÕÅsm¤tBÏeÉç²üê…§ùÿÙdgPQT2ð½@‘ÄÓÄÇC¾€=@ø­#]yø…/ù{¯Ó¶B·£¿8·*Ðz÷ù[Û-ÜŠƒô$ÑKšÙÙ3A%ûõŠWuÿ@±Òú©¤lÿGÁ¤S´±ö‡ íµ°‹-]é±)½›)ž ?Í v±…­Ã‹S ¥ñUÉ´`*b Pt­[Ô÷\é¹íôpßêº}PGÀýJ ý“üº±¢éÝkk®Ë7µÑ÷Mîߺm$OÒʵP£š¥"½¶ÅëÈÀ”Ž•¤Çý¥ÈJ/í°úÕ³$Þž¢ôb‘â/¶Ùy9/Ýš³áµ¼'¥-¿$ØG;ÒÀ®ìá5=TKÃÜbç;¤Ó§}ëVJ/©¯Ô»ur€„ ²®dóÑu<ÛaïÝÈ?žcã‰<Õë¼ñZ…äZƒñ3 NRe¯äË@ÓsR¿>÷ØÛú=‚ëyäK-r¥'¼µY‰Yw#Mß~l“âóy´¸Ž9mbL…0fLÌY“@*HîGYâW'8ù©chq¯æ£”¼v˜êÉ2ÛOf›^Ëûà¨eº2N㥥:FS2²Óu•1¡bT4ÍŸÁ¯©þÀigJ×Åqü†®FKR·=êí½”Pym3`iÌ£VH¿{ cİñfÓ±÷­í[f)¿\$0Äœ aç[Øy›Àh©OÌpòÓ¯¡h*žã¹,†Wqwj •-·êþ‘—ˆùÇÉs,_€…—¶0.’¼>Åâ—Þ`èi*¯–¨/Õ ¤ƒÔªD/1r˸ïÙ˜‘@#SgõïÎàÖ\"Lj]’ĘuÁ)¿^¤ðÒ{ïÚ‡Ñ{,Êó_Z~µÄÆß¯2–Ìn©”LI¸)мß|ó?;$û”¸-Ò«yÂ{cd_aø\žïfÚ~!ÌÎÏ Œ|pk.|ûé²?Ê †5¢—&Ñ m€=µ M2÷!ri”Êñ #'qU²;zš™™¿^¬ ’ªð0çB4—ëèôšd¨,ÐtÏT†ÿñÎDw*ˆ; fAæ;ËŒ½o-ì/¼ÑܪS_­R[¨ÐÜô{™&>êV¬‘¯Mr.-T@­£±3$%~¹Em¹BüâzÄïaÌ=¸‰ôüzS²™ýì>‡ï¤qv9\Ú»á÷LôF†Û3ήí‘}x•à°I bü¦!²GVQC ‘‹cäŸÉ±ñ­ŒŸº$Jüª$é=–ï ]°ó-JÇvX~>Ïø¦që.zR÷£Î~¡) ·ü•Ób ÍÒŠÀ aŒ‡H¾m)$v¾‰×{¾ ídýƒï/„*håmZ¹ã·ÌHäžØ›?Í´¤DMìO^›¾-r(®Ò~ÐU9^úPö̵ՓåµüS9kè)ÕŒ¹Ÿ’Í—´¶¬?tVj‘€¿q–æfõŸœ%õ¶1 ¯n¢'Œÿë)ŒéЀɱsMZÛ-B3áû? õLSs«‰¢ ÔÞ»ìýé2cž$ÿxŽèq"—DQ¥z½{¹u—•¿=ƒji¨!•æZéHܦ‹ÖQM§æà–„ê¿Ánä¦)¬¹Èy9½Ø¥ù(PüEžúr•мEho˜à¨×p8õ§'Œ¡ ¨-WdpÌhD/M˜öŽíÕ—«µ±['Ã>Eí™4·å’ý^&·ób16ÿ_÷鯴‰˜{øìÄÒ•d8Sq*­W‚)óêѦ*‹%$W6‰_3ÄÆwWÙóÙ BPy½Láé•×Ëìù“}èÉ`/eqŽiê Þ¼þGÏiÛÅ›O®2õÉY‚£æ ÐÝAvÕ3Ö¿·‚g»„§¢´ÊMÆn™Å)µhäêØù&±ÃI‚)㼑ínó°üõEC¡¹Þ@¨éHœšSSƒªšxK*x[Jtƒ·¶yéÜ·ß§jKUOºÒ _ (vÅîÚÿòÉbË­;÷I[þ'5¤—; Gk&J=S&öÖ$æDk_˜Õ¯/±ðÅ“žÝF1Tâo"0Ôéƒß í¦¤ç|׋+´p€ÀAåXùÜxƒÞ=eÿ¹öÖØl°ýÔ&ɫӤo£¶Q%}Ý8ŠªLÄ.L’ºnŒ@<¸ë7ôýæÝwÌàZt¦s…÷Çdú† Ñ@YÚÞW ?Ï­©8¼É¶›.„æÃJø@$ V”òv¡)´näž]ßôîÀáÐTäƒF:¤uèié±Ëc¨a sÖ­8 ß8NôPœÜ£YÆo›BQ•Þï3k½À¥ÿ\'ðü®¾Z¡‘«2vÇx’Ú‰ µ¥ƨy®€:YiG²ýd–ͯ£Ç4Öj´r-B3QÂs±ÁÀ­“Ï÷¿èëÞ•ë§wN ¨˜{,¶~¼!¥#‹c7M›DØáDX5ÖëõÒ«=raÌT­>&%Dg>ŠïDŸ™þ5ŠWwç+§v>ºñ“³§¥íý±ƒ½Ý¤ôJ‘ò±B42uFož | vnêºýØÅ™ï/‚Ä.JÝ?ä+i›í4·l¿¸ÆôÇ÷2zìg;òšgÿææ´Eüò!ôx-ˆ$.OÿZÖ#‘dÎÈÊñ¡F4)!TS%8b Rz±ÈÄms(š ÔÔ¾ûuRmä9®_Öm_ãVmÎ~eq­¹Ñ¸[‹éø/ymßdÕ´;ÌïŽ}`êC¡=aùö­BSʦç%¯I«ÖÞ?̽4NôÂÄ å Ÿ¾à²?[EÚÉ·Œ …çuP|m ‡Ñ÷MÂ=jšf ;爩,A…èÅqÊ'v¦B$.K7²íæýÛ-+ÊÜãuÕÔêã7εvØ…&Z,€5n_÷›pö¯O7RïÑÂEµÎ5nÃeéžÓ[ÍÆÿèÂ௤ØIEND®B`‚searchmonkey-0.8.1/pixmaps/searchmonkey-24x24.png0000664000076400007660000000363610561732766016632 00000000000000‰PNG  IHDRàw=øsBIT|dˆtEXtSoftwarewww.inkscape.org›î<0IDATH‰u[Œ\u‡¿ÿÿÜæÌ}vvgoín÷Âî––^ VK ,X)¢ÆäòƒIcˆñÔŒ!D Äb€D¦%$‚\„VXD(RÙÊî¶l»Ýûuv®ggΜ9çü}0¾ù’ïå÷=ýˆþ0µ“㺮”âËìþkß­™_æû²ÞöB÷­Ïvþüÿ5i´2}(óÆÖ7ŸÍ<•»/Ðy²÷~{0ö¼R<÷Åö?»’?õ@ûâ}4•J)Ä݆Ñóhßi³ÕÜëÎ×?Ù8¾~¹vªãþ®§Œ”ñÍ âŸz|ýwq+<à4äkÕxmìÜ9Õl}¶ëXæPËÉõWWŸ)Pú±z¹$ŸÈD¶FžJ)Ä݆Õû£þOŒ¬1$#ÒwÆœZÌÒ’{_G¿¶ÞVÈê~¼GC»´'Ö· kÅbÃí´#C˜#™H[™Î>Ö\»c˜}×õ!|—™bHèViIFHb–°âÌ,ÏrÑ«3ßGt¬q¤žÔsG"Á‚펶ÆTl°ÓÐÙV;‡¹ò1;r#ñYg’Ë—&˜™™eÍìçÜœ‹4l¤nÐß¿ –oÖ¹°_"cøÅ&R #§£‚Pó ¯•L+‚BÃHlÙžÓI¤2½¡¶L‚ÉÉIâ½×óï¹"ž¯°"Q„xy=e`_c£gL¤@à›¤¦hÞÑÒ•w¼p~q)ùŸNL²¸´Œ×pA…hBqÇÞ-ä’&^Ãe­\C—ó‹³|œm°Þc9œ¡z¾BùýbGõU>[ÂêŽP~¿È®3.÷¦{¸ï;¡"t›Å|™…µ›µ:f“D4NOw;Ûºr¨fjòÈ™'¹zwѪSù¸L(¤)é'sÊî·i;ÞN}ºŽ;îÐýr…‡ÒC|ýØ·ˆG"B7Ò!@)TØÓ¥<'Þý ¥-èif¥Éæd«=‚Œih™‡rO(‰£EtÜ5Oùw¶ˆ¦)¿õµjt ¤ŽnX(J•‹+‹¼ûÑßùIõUÊw¥ê!zBgósii8ç‚J¨Ä5îQÎÕ z§F¬/Fc±•µqçëªv¾HfÖ¡†ŠˆL4‚œZƒBÓgtHG<¸-&©^*cd šewº®üJ0î.Õ¾/Gw+çr…F©†žÔUú`«BÙ¬`D-j Uìa›æ§шöy!Q…ÞCܯ{T'ªx+PHùŽÙfAímO÷ž œf]Ƶ}ñëb oµAâÚ4a]Öa- ^pˆ E‰$#TÇ+l^tˆ÷§02zRCØ’òXÁwgkUih¥ì‘ö>tjIM ¥éÇ;nƒð¾ä©a-ØI(¤Ýa#”Fy¬¨¤)R9œÁË{T?ýï;{ki Jc¾‘2u3n¡¥ d\4šÊ…ÒÅÿš|i”mõIEND®B`‚searchmonkey-0.8.1/pixmaps/searchmonkey-48x48.png0000664000076400007660000001447410561732766016650 00000000000000‰PNG  IHDR00Wù‡sBIT|dˆtEXtSoftwarewww.inkscape.org›î<ÎIDATh­™yeUç?çîoßòeæË½ö%‹¬ ¨* ±(dS¤Ð¶QTP‡€q´m[ÃѶeµmD{:ÚÐp4ì—±ADDve©‚Ú©¬¬ÊÊ=ó½|ûþîræ—UhÛ=#s#N¼ûî½çÜïïü~ßßï{ÎRJþƇü>ß ÿw½º·¿ü¥Üýo¸ÿíþÁÀpè‰Ú©ÊÍïTŸýSú(ú|[ýŸÿµØ£w¿aÄ¿w?êzwê7ZTUŽ•¿ñÿ4ÆHø+ZPüSÁ(öê„®¬ð¯ Š}­ógOG?%öèÁ7òâðoN¾­óב±Ëìlë‡òaû »ÕwWøªÄ5×»U7ü†:J)‘RøLô®äw{ö­™Ü(SŽG¿š|ÐüHðܨ‰óÏü{-úwïNý|ðàêñ§û§ÏþŸžý7j"ñ­Ô3Ým2xOâÿ“[ÿ”~¾‡Þ¡œ7¤òåü72¿H¿³ôraºó¦î¡Á¿ZþNkÐ÷÷áK"?»WìÑÿhf"ÿ=y‹×ôî4»­A«ÏR[sÍ'ßèÌhQm§ÙenhL7\g±ù¯ªå}ôÿÖ'ø™ØÝuÁ¿ÿ–ÄþODnŠl‹Þ×ñ¶ÎåÍùþ /æ*³?˜yRëgêgk÷y´æÂ_H|²ëæÔW¬Ÿ–}<“®ï/ͯýEó‘×KÄJOÒåJbª ¯r¬å(?·5õ±sb®Ç®L<Ýusj»[q¼33º3xQ臥—³ˇeù?ÿÙ®w§>µø«ôqíßÞ¬Ý_|HìÑJW>Ý}KÏ @ö‰E_÷{RoŠîŒß”{&ûîð½‰3Š©ìŽỗ5V|¯ÐaÍ*‰á5Ëï_Õ׌„ý¿¯=f­ÞU©5º åêÈé©ô5'ÏÎèoÚìËL®ÑZC¾“oï¼Ìì6•Å_—&¼ºwÔ7è; ø:ïîýwÀ!ukïÇý«‘…ŸÎ½ôG¸à‰OFî‹_™øXÇ[;u;oÓ8Wk„6G¬úd걪ìèñ‹Ð}s¤C\·e˜T2J³0G-7M«VÄkÕq[µvˆ~Ó‡á‹àOôaERÌd üzß«î„Ì:ã›ôJèCݱü3¹ßä>>}꧃ßRýÊÈô ã;“õ¡OôÞÞÿÅÐÆppîÍ”Koÿ#wúCÃ߸kÙ•Å—óÎkw8tõ}x ê6\«z¼‚ùT‘ž}®Ý¶•å…ÈŽäÌk<@PD{<Ø4JÔ fG‘B!ä¶k/QÏÌ—ÕÇ_>l¾æÎÛ Ó•­éÆ™î÷÷Þü\âÚÊ—²/Íüçü«{šsMaõÛT_«,º?nžÐ’ßéýñâ£é[/²#úùЦðÕѱ­Š©hµ“ÕûK™ð¯ÜQ>\ VOUé<+:ìï¹~­ô)Îî;‰.Šh?^,rÞ)Û×=@JòÂ8¥ô$ñ¾u|ðº+øÑ3/éþ+½ÝÆí»px:zy½!vëðíJîéºÛÉ;ñĵTWšBÓškm Ž„¾Úœmœ ¬ Þ–¼±k¹t%gï=ýÃòsŸÐnõe»þ¼ûG‘ëŸ×y×U—?ó…\ÏÓ”®çai ¦[#D EÈ ^p”¥Ÿ¦æ§aK ]AóZÔ'G‰Uò¼ïªí<ðÜSÙ“üÊ|ÈhfšÍŽ·&oóýeè°eàúÌ# e=nÄ„¢t¸” ®íÐÔ¶"¶;q·™2ÝÂóù´[uÉ<ºðJåHùÃbõ­ò¿³öBÑ[ó”To¼a7éS¿£Ð°‰¤Ö°iÓ%ô.Dz|òY޽zˆã¯ )sø„ƒÐð4dŒá‹.fÃÈV"Ñ8•J…LzžÃ_$½0}êwìÙ¹“ïÿðYsö­ª¯i{ŠS´»C›"ßìù`_ßâ£iêçj4ç›X=¦V>R>-öè¦xgø‹×vR?W•c•jcª~¸r¸ü­ïÕ&ÄÝŠìŒ=ÖóÁ¾ë;ÿgN¹zÕ0!'ÍB¾Èº‘KyÛÛÞAGØæÖ> ††Vê[Á‘ÓgñS "Á 7¾—‘õë1ešLU’ˆFÞ¼†#Ÿœ$¨ºDâÝʹˆõ_}µA­>^ KOb/¶dm´Ú*½R˜ìŒ'¹ð-¨ýµšúoý÷4gX>![2PÚ—¨úµâ÷Å]#Bpƒ˜v;WÖ´·l^ɹÓGY·áv]q%^%תâ9-Ê ˜/+Ôê5’Ñ–ßÏé©yªøØ¶c7«‡pŠsH· ®‹t[xvše†V So¹Œ¿v˜µ«ÖqòùY9×e»Öú Òœo’6Gê}½¢9SµAÏ-:GìL+ÕusÏZp8ÄÂÏæÐ:ÅóÅþW½«w_ä;z…§¯óz5*Éhf\uY_’BzOó³mÛNœÒâA|Mrô75²•+/_M.3Ê–M—bÈ&SEcã­Œô ðÔÁ NNÎS­Ö0t¾®0×^¼Šåú2‡~ûKÊ™C^ƒ%äH!B´ó“Ppݬ²uËvŽ|žUÝkĉGÎ÷Õ¸(©’Øl¶±ŒÚÊÔB£wê}axK$V=Q™TÜ’ƒb)²ãyw(írÕ jÝæÈ¤Ãéy—”_CØÐ‹àº.½=}d 5W|Ïsï?¿D>—g×ú07_1Ä®áZ«Èý?y‰çͱóº›9¦lF:M¤ÝB:íæýÞ¹tZ¸•ER©^<×! CMÒmiŒ-HŽL9Tªuv­2XÕÐÄÐa7.IcºqRÓ=—wˆø× ê%Ç'mbñ.>xõ!CáøÙiŽÏ¼ H<Á@ˆÅÔµøƒïüòþì²^Ö®DUT\×%Ò—ê¦'9Ãó¯žAU`çî9ñð(«¬$²JÒCzÞ’Ž”DÃC8(€DWl½ˆu«–Qjxüü‰9>æÒ³ÏY|*çU—ÿYñš­Œy« ù¡pœÝü†’!â~7oY"ÒsqQ™jDX½n„oÿòU®ÚeåPªª¢¨*¥ºM¦Ø WiÒÕ™`YRã™ýãÔ›.æðMتE³P4 q¾©z»â9-|††‹Šô\„ìXÓC¯±¢'Á§îxžb!_amW€ÀCEÅJù?­,ül®œJ" 3_ÖØ³ëb„k#&B÷!Œ à¹.š'²œB¹†Û¨±| …ëz8¶Ãübr¥J­V#_,1>9*` Cå©“ôöõq÷^åÝ_þ5§j(º…Ð-„f.cb{Mx®»T¿žÝD:Mérãu»ÉÔ4~ótÝkåEO6çZ|*å†Cgé´@ÑPt E÷Ñ›Œ’-VP„Äupr"OÃ×<ˆÐ,”%ðŠf¢XaêÍ ¹R…ÞŽŠáksĵ‘žÍòþnj  OCËyŠo¹ÿbÅ)Øq¡ ¤'R xÒuPT£=3ºÅÆõ«™MçQ ?ªf°P¨ch’fËÁn5Éæ dsy³9r¹,Ͻ°—GN JS‘8®ƒ”’ááa^:1ý3/4Õ#“]DSUfÒyFÖ,Ghf;k¹ÒuQ„ÄõX’Œ0øWËQ¬ANB¡Ü,•ÙÅ\›dªPuÍä¢õk™Z,ðù¨”‹¬î S¨{”ËeœV ‡ÅÅ,333üì¡GùÝ /‘ jM ! ðaÛ6ÇŽಋ–¡èmàŠf"T-ÜÍý{ £LeJlX³¡êUÏé1=³@ÀR(×=Z!(<—CË=¹H$ª²˜v[¿záwÞ° ¡¨íΪNµÑ¤Tiá„YœcdÓÊ ˜š] ìtG{‚ñ³giÔ*h†ÉÆ•ÝhšÂ\^²aY'år™æpùÆ|ê¶kšž ž‹¢‡ÉK²sôõ¯ XY n·B¡ ¥‡”’Gž~ž€!ÉVšˆ+¢DvÆP×>~Ñ=î û'Y†û¢œÍ1Ÿ«2ԗ°‚œŸáßû1—Ð*Íàª~6\z5…ªÍb¡JHwžMOÜÇéñ)ªÕ —oYÞ·ì % Nf4nÞ½–cGsç•}¼÷úm$cPÄR5FQ±Âœ;I!3MgWЇŸÜËê.b~•BµÁ³—¹ù ƒ½]8—eüÍ&sÍ#ºÿeP&¯ëD½sŒµók»,¦ò”[ ®+q¥B d〉Ptn¾åétsù®«ùÛí£Ó×dEÜçz˜ªD(‹u•ßž•ÜþöÍ`W}éQ®XGJ<é¹ Û|“^›s¶æÇÿô÷xvÓMª•2ªðÐT…°%éO%91_el•Ã䪥 ª—˜÷¤ž§”R™µ,ô&côwÇÐuƒ©t‰+6ôR«•xï­ÅO«•e¦æ¦Ý›83ß`ÿxŠ­`K•é’ÎÑyÁ|Ýâc~)á€I¹\f"SáЩ Ö$Pµ­‰.È ®ƒ&Ölz¯ì}Š®ÇÆYÕŸ`Yo¡Yœœ+sF©0ñf a(t½3…HücJª~ -¨ámzçÆ“yŒ‚ÄQ¥Ýïó{#ýsóÖ\rñÜZ¡ÌU5&•ìØy9Š¢rn®À©©=‰ kãX†Îèè(žëròÔ)ÆÆÆèïï'·0Ň®Z©žÓN‘KiRº6Z0ÁCûØÿ⚪0ݨ£5ÁîT©mRÜ"°!Dq_Žø[:PcwtÜcõú±sõa+M²Ã¹í¼ÿX­4 GMÕa×î0qÚKDE'ì×I™5;Íä|Sƒ5h²ÁÙ3cŒ?J^bï‘×X¾rBÆÇÇéèL±÷Ä,«R!,C;¯ïà¼Äð\‚ñ‡ö?‡®šŒYMÏ 3:Q¤ ¸$®îD5ܺKé`MédŸËà_ øB·îâ”jåxéksÆñ~ §U$N ë‹ (í&TtUc[¿ŠPKÔœ*Ù±1LÃ`kg½¯¡¨\ï÷óÀs¯°ióV,Ëbtt”P(ÄÏö§¹n]ˆ¾ŽH„ Š‹ôl‚áN\Ç! :'(©‚ðÅQšÓMæþe£Ó ´% 3¥°·@ì²NÙ ܺ‹y Þ}ÈÒô<ÏóÐM£-ÄÚû¯¯àEÛ˜€Og°+Lª#Œn´kˆÐL’É$¸~^~‘d2ÉÆi6›ØŽÇSc-NL,¾>)A7 \Oâym{¶‡[tPý*¡ÍaºßÛƒÖ0»,”Àjõsu:oê¢ï¿ ú@åãE<Ï HJµå «*µZ¡´waŽclbšf«õú¶Ã’viÿ?o˜‚Pt?þ³];¸ŸÏÇ–-[H$ìºòJöÏ NŒãð‰Ñ6±UZ½Š®*Ôš6“ßdz=šsu›ÃHGRx6]ÕIy÷¨QêÉ ¾!VéJznëSÅÓE_W](ASa`p%‘HéÚDÃar¥*‡Ž¿F¾X& â³|¡,µó†vªô\<¶¬îaß˯`†;!‹Q*—1ªS¬[>€*$Š"žåÔ±ýÌÔ[ŒÆ]êƒ&½·÷½<Žb©LÜw=aP?[CíùÛÁ{:oì¦6Z¥t @ítÎwt£h ¹]pŒ´«ôD¢Z)0¼i'^³‚¦i$ãqûz)Wë¼°ï“33m/¦a.ñr)ß{žÝb1³€OkòÂsO“©8ÔªUJ“¯²k¤ é¡GzxâW?æE7ÃóWêˆ÷'iÌ4° 6þ•Šû (ªŠP>\Blt·I·æræó£Ä¯éÀ·ÜGqoÿJ?uâ׿ÒîAÝá¦wý'†–­Æ)§/h%¡è¸(œ:;ÉøÔ ³ iÒéEB¡ ‰xÇõXÈd¨TªtuvЛêbÕÐ kWQ©Ô‰úµ )Ôˆ¤˜œã£ßÇüøwD‘ž¤t ˆÑP …™ïOŽP9^Æè2«ÏH«ÏÂkx¸U£Ã`âþqêgjtL6íuÙœ ƒ×â–ÞM2‘À­äÚ‹UC(mÑ%  I6Wb~q!]$âQTA{浫o» Ûà:hÁ$&Çøè¡@ª‚,.½Ÿ_Š{óžÏc紈ƲϬ r¼Œg{ˆø7R²1WWÒý¾B#aœ’ÃstÞØEm¼Në'i6óØö£© ·ÝùY"?n­€D"”óàU„¢‚P_×9ç)Û2âBX¹È¥,£âü|l?_Î<€qKŠ® tš@è‚Åßdpr6¡MaJJįŠcv[H)Qõ‹­{¿Bpc=ªc¦LS!´!ŒPô A9S'»PgZsYÖ?ò"†é§khÝôá9Mðì k]¤‹”mH–ôž½T}„¢ ;ÀãëÏüî}”b©‰XáG‹h°ÉjõX4§ÔÏÖñ¯ X¤1× û‹ Âÿɘô-óÓ˜«2ðñ!Œ„‰ô$ÒiKf¾;ÑelGBxU÷»3¼'íGÃFÕu¶ï¼†ÍÛ¯ÆÔU<Ç^Þ^€H×ngUÍh{é|¸i:¶‡÷=É7_~“×…P7iV¨Ÿ«‘xoŠ© 4º ûd†Ð–BÌ|g =¦cõøoŒ"V’]½Db„cÃq@P-ç(²ò2éYÓ3L¿Æ)Qã….~d,¿÷‹.È>žÆH„wDýäI"[cø8›Æl½)V¾°Qâ‚ÛðȾ<Ð$¹ \.xá¼Ò‘°tmöãôyŒTu‚&ªtpÝŠºf (ÏóPÏ“ØN O‚ªœ6%/ïòc]ÿ½xéI”€zÁÜÓboé ´¿@þé,¡ÕQJÇ i§b?ÖœiÜ­á€tA3f¡è4šèQƒÊÑ¥ƒE¢—ƱzüàµËzöÙ4ú2‹ôr•GÆ*„ÓM|)±…¡Œ å¨˜š‚¡µIÜjIZŽGÓ6iÚS­ÁÍŒŠÑpQ©.ä~·Hé`ÿê F‡ŽpöoFŠ"nsañ¹…oÛ‹­/ɇm[ìÑÄŠ§F¤tÛ³[Ÿ©¢õ JŠàH¤'I¾=%­NKœ÷BúÑYÔNhm$Ì?2EüêÑíqœ¢ÍÜWÏÈz¨!àé±E‰Rñb*n‡N«SgÂç ¢ž-©Ž•Hìî"<¹:RÂÞ,­l ·êИ¨£ú´Q;׺×ì¶.nÌÖÖ?ÝëË‘¸?‘B“.µÉ*þU~zÞß.ØyÕRÿ€ Ò†êé2RH%(©œ*ã ÙEѳ ²Of0:LÜšƒ3if4çt½µ-¨"tô<Ô€ š v®ŒÑib$ &¿5Ž™ðÑ*4KÒ•ùÎë»ûÍ”¥TN–æ²Ï¤Cw¯\&–ýbƒ´kŽ»ðØäÑ‹:n´:ýZy2× ¬˜¨Ð˜n ‡ub—u¼Î[‚ó‡ü(ÊÙÆLZH‡¶—xãÖ<™¡™ié@Héáëõ_ ëyÔ§k2û\ZH[zÒ‘E¯áU{oêÕšÆÁut]P‘j3Þ꫟+ZùÖ—Âkb·ë~CÔ3ÕrÇ5>ÕPi.4I¼9 ž—öG.¤+‘îÒ¹ãQOWhÎ7©ž(Xjßó v¦ÂÂC3˜Ý>T]#¼6†æWÑ‚ú…s.¿¯EêßË÷¹8¡¿d9J)¾ÈÔ•Áo¤fþßO^ê¹Ì9Ýúß.„‘‹n{o裱·;ßìýŸ#õûÁÓöˆóG=n\á Hýað¬ÙoM:caãóÝù^Û¨PJùa"Þñl×;fŸutëjî¡æho·ò-;y2ùª|¿ðhâÝÒ‡]ÝØÈnÞ-øêos_–Â/¤.£‰ÅæJ}.ûrú@Ç»¦Í”ùšPJ|=õLd<ò›À B‘ýÑv÷/…àä툜ò,?a´4Õ,!iÅ(µBî¿‹åêõU½l¨ VŸ}8ýìÂK±™äxâtòÏÕú'"ñ‹îWíG³‡ìï”çÊ„仃+òÈé•NvW ¼º[Ä x \#†¦›¬Åú¹–ÜX;y§ò]ÝWdɱ†ìßyEÏ®ÎW畬ˆ=ŸíS­l£1ð³ì/kö1­)¾ØˆëÏ=G%2†JŒ"¤$Ÿ¾‡ZºÆø`@H2ÂÕ«ïq9Vh¹ýzH6–Â~Úêµsºò”šøõŽ96¾­VBbÛ³•Ó¢Øõ4*í¨Ín³Ž4&xbzá-„” %¦ñX”©E×h_j iò© wþVF†ÖÝ`¬¬ÄñÃ'Ä·ž;…(œf[¦îv8õ¥}Ù?Š¡jl´<Ð&©7}”çá—²„£ ,/¯œÿ*S1âK!nU‡düƒâV”C#) #D[Ø&ý¡<áôuú½yöhËô+äÒ‹loçY v1»æ" ΞB£Q^p:^ÁEºøtB#\ ¹¾ç!tÍB ßsIj u8èV„3ÓãôwFY__':t˜L.ÔCxžK±\%°Glô¸Þv¨Â<ÑC1 “¾ -¥Ó‘ˆ±^(ñðñ:Ò0‰&:PH´-¬ºËÂgMžKÐBò'ã¹oö`Ä4*·K4ÖˆÞ«ÃʰÑù¿o±ç——ÅnÎ?ÿ"º!¥™Êu‚D[ ‡rëä›M^Y~ô GèXŒÌ[iÂcÂû"hæI{F‹hDÆ£˜=&9C©Ùú–ÐnÞG7Ãtt÷"…À騦Ž‚@Á?ï|Ì÷³ï°d5pN%QBš‚V¦‰P1z{J>Ý¢ýévŒ˜‰·ãáïøT?ØV{ï·Äñ¢MO{ñD€bíïî÷ Îwx>¸…&­‚KýAÍšø—® Û!Š7 C›Jà—}Ä€%îÙ’¥½&îUÚ­áÅ&A¯ÉÚ^p5Id«…ÙcRš+ÒÌÔiæZg8ü+iÊIÑóæÐ‚WõŽê°ì˜fi˜í6AMTšÅÖ¨á„Ø¹U¤ö°¢ìTD8»ÃȰÄkºªpsÓU.É3ݽFB׫UDå¢Õåüš_7;Í”µrM¡ÛÍlSUV…·îaÛ­UE‘º­ÓÚiªÆjÝ·ºl#v0Ñ&uAÐòýÒ­âƒÿ+òãb8ÇVIEND®B`‚searchmonkey-0.8.1/mkinstalldirs0000775000076400007660000000370410561732772013771 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" 1>&2 exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac case $dirmode in '') if mkdir -p -- . 2>/dev/null; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" fi ;; *) if mkdir -m "$dirmode" -p -- . 2>/dev/null; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # End: # mkinstalldirs ends here searchmonkey-0.8.1/aclocal.m40000664000076400007660000014351410561732772013027 00000000000000# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # This file 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. # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.in. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_in,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [$4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file 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. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file 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. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 4 # This was merged into AC_PROG_CC in Autoconf. AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC AC_DIAGNOSE([obsolete], [$0: your code should no longer depend upon `am_cv_prog_cc_stdc', but upon `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when you adjust the code. You can also remove the above call to AC_PROG_CC if you already called it elsewhere.]) am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ]) AU_DEFUN([fp_PROG_CC_STDC]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file 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. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file 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. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file 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. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file 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. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file 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. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file 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. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file 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. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file 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. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file 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. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR searchmonkey-0.8.1/search.glade0000664000076400007660000106275610561732772013443 00000000000000 True Desktop search to replace find and grep. True True searchmonkey GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True True searchmonkey.png True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False True False 0 True GTK_PACK_DIRECTION_LTR GTK_PACK_DIRECTION_LTR True _File True True _New Instance True True gtk-new 1 0.5 0.5 0 0 True True Save R_esults to CSV... True True gtk-file 1 0.5 0.5 0 0 True gtk-print True gtk-print-preview True P_rint Setup... True True gtk-quit True True _Edit True True _Delete (File) True True gtk-delete 1 0.5 0.5 0 0 True Edit File True True gtk-edit 1 0.5 0.5 0 0 True Open Folder True True gtk-open 1 0.5 0.5 0 0 True _Copy (Filename) True True gtk-copy 1 0.5 0.5 0 0 True _View True True Show _Toolbar True True True Show _Statusbar True True True True Horizontal results True True True Vertical results True False horizontal_results1 True True S_ort by True True _File Name True False True _Location True False file_name1 True _Size True False file_name1 True _Type True False file_name1 True _Modified True False file_name1 True Mat_ches True True file_name1 True _Search True True Start True True gtk-find 1 0.5 0.5 0 0 True False Stop True True gtk-stop 1 0.5 0.5 0 0 True True Clear History... True True gtk-clear 1 0.5 0.5 0 0 True Settings True True gtk-select-font True True gtk-select-color True True True Use _Word Wrap True True True Auto-size columns True True True True gtk-preferences True True Extras True True _Import Regular Expression... True True gtk-open 1 0.5 0.5 0 0 True _Export Regular Expression... True True gtk-save-as 1 0.5 0.5 0 0 True True Test Regular Expression... True True _Help True True _User Guide True True _Support True True Release _Notes True True _Forums True True True gtk-about True 0 False False True GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_BOTH_HORIZ True True True True True False False False True Open a new search window. New Instance True gtk-new True True True False True True True True True False False True Add search criteria from a text file. Similar to the grep -f flag. Import Expression... True gtk-open True True False False True True Write some or all of the search criteria to disk. Export Expression... True gtk-save-as True True False False True True True True True False False True Create a CSV file containing a list of results. Save Results... True gtk-file True True True False True True True True True False False True Start the search! Start True gtk-find True True False False True True False Stop the search! gtk-stop True True False False True True True True False False Print results direct to the configured printer. gtk-print True True False False True 0 False False True True True 0 True False 0 True True True True GTK_POS_TOP False False True False 0 True False 0 True 2 2 False 0 0 True True False True True 1 2 0 1 fill True Files: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 5 fill True Enable contents search to find files with matching content too. True _Containing: True GTK_RELIEF_NORMAL True False False True 0 1 1 2 fill True True False True True 1 2 1 2 fill fill 0 True True 0 False True True 5 False True True 2 3 False 0 0 True Folders: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 5 fill True True False True True 1 2 0 1 fill True Opens a dialog to find a look in directory. True GTK_RELIEF_NORMAL True True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-open 4 0.5 0.5 0 0 0 False False True Select Folder... True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 2 3 0 1 fill True False 0 True Use this option to search all subfolders (recursively). True Recurse Folders True GTK_RELIEF_NORMAL True True False True 0 False False 1 2 1 2 fill fill 0 True True False True True True Basic False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True False 0 True Files: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 5 False False True True False True True 0 True True True Use the wizard to create a file name regular expression... True Expression Builder... True GTK_RELIEF_NORMAL True 5 False False 0 False True True False 0 True Use this option to restrict your search results to files containing the provided text (or pattern). True Containing: True GTK_RELIEF_NORMAL True False False True 5 False False True True False True True 0 True True True Use the wizard to create a containing text regular expression... True Expression Builder... True GTK_RELIEF_NORMAL True 5 False False 0 False True True 2 4 False 0 0 True Folders: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True True False True True 1 2 0 1 fill True Use this option to search all subfolders (recursively). True Recurse Folders True GTK_RELIEF_NORMAL True True False True 2 3 0 1 fill True Limit files found by selecting maximum tree-depth to search. True Restrict depth: True GTK_RELIEF_NORMAL True False False True 2 3 1 2 fill True Browse your file system and select the search directory... True GTK_RELIEF_NORMAL True True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-open 4 0.5 0.5 0 0 0 False False True Select Folder... True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 3 4 0 1 fill True True 1 0 False GTK_UPDATE_ALWAYS False False 0 0 100 1 10 10 3 4 1 2 fill 0 True True True 2 5 False 0 0 True False Maximum filesize in kBytes. True True True 9 True • True 10 2 3 0 1 fill True False Minimum filesize in kBytes. True True True 9 True • True 10 4 5 0 1 fill True Size (kB): False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 5 fill True Modified: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 5 fill True Use this option to restrict your search results to files that are smaller than the provided number of kilo Bytes. True Less than: True GTK_RELIEF_NORMAL True False False True 3 4 0 1 5 fill True Use this option to restrict your search results to files that were last modified before the provided time. True Before: True GTK_RELIEF_NORMAL True False False True 3 4 1 2 5 fill True Use this option to restrict your search results to files that are bigger than the provided number of kilo Bytes. True More than: True GTK_RELIEF_NORMAL True False False True 1 2 0 1 5 fill True Use this option to restrict your search results to files that were last modified after the provided time. True After: True GTK_RELIEF_NORMAL True False False True 1 2 1 2 5 fill True False 0 True False True False True 0 True â— False 0 True True True False Open calendar dialog to choose modified date. True GTK_RELIEF_NORMAL True True gtk-properties 4 0.5 0.5 0 0 0 False False 2 3 1 2 fill fill True False 0 True False True False True 0 True â— False 0 True True True False Open calendar dialog to choose modified date. True GTK_RELIEF_NORMAL True True gtk-properties 4 0.5 0.5 0 0 0 False False 4 5 1 2 fill fill 0 False True False True True True Advanced False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True 0 0.5 GTK_SHADOW_IN True False 0 True Inverts the file name search results i.e. find all becomes find none. True Invert Search Expression True GTK_RELIEF_NORMAL True False False True 0 False False True Use strict file case matching. True Match Case True GTK_RELIEF_NORMAL True False False True 0 False False True Ignore hidden files (Unix filesystems only) True _Ignore files beginning with '.' True GTK_RELIEF_NORMAL True True False True 0 False False True Follow Symbolic Links (Only on systems that support them) True Follow Symbol _Links True GTK_RELIEF_NORMAL True False False True 0 False False True 0 False True True Use wildcard or glob syntax for file search criteria. E.g. *.txt True Use Wil_dcard Syntax True GTK_RELIEF_NORMAL True False False True 0 False False True Use regular expression syntax in file search criteria. True Use _Regular Expression Syntax True GTK_RELIEF_NORMAL True True False True dosExpressionRadioFile 0 False False True <b>File Name Options</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 5 False True True 0 0.5 GTK_SHADOW_IN True False 0 True Perform content searching immediately so that results are returned quicker. True Use Single Phase Search True GTK_RELIEF_NORMAL True False False True 0 False False True Use strict contents case matching. True Match Case True GTK_RELIEF_NORMAL True False False True 0 False False True 0 False True True False Use wildcard or glob syntax for file search criteria. E.g. *.txt True Use simple search syntax True GTK_RELIEF_NORMAL True False False True 0 False False True Use regular expression syntax in file search criteria. True Use _Regular Expression Syntax True GTK_RELIEF_NORMAL True True False True wildcardCheckContents 0 False False True <b>File Contents Options</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 5 False True True 0 0.5 GTK_SHADOW_IN True False 0 True Specify the maximum number of matching files found. Does not limit the number of content matches within each file. True Limit Match Files True GTK_RELIEF_NORMAL True True False True 0 False False True False 0 True Maximum Hits: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True 1 0 False GTK_UPDATE_ALWAYS False False 25 1 99999 1 10 10 0 True True 0 False True True 0 False True True If active, display extra lines around the matching line to help show context of match. True Show Line Contents True GTK_RELIEF_NORMAL True True False True 0 False False True False 0 True Lines Displayed: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True 1 0 False GTK_UPDATE_ALWAYS False False 0 0 20 1 5 5 0 True True 0 False True True 0 True True True False Specify the maximum number of content matches within each file to show. Does not limit the number of files to search. True Limit Content Hits True GTK_RELIEF_NORMAL True True False True 0 False False True False False 0 True Maximum Hits: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True 1 0 False GTK_UPDATE_ALWAYS False False 1 1 99999 1 5 5 0 True True 0 True True True <b>Results Options</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 5 False True False True True True Options False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True True 5 False True True False 0 Switch search from basic to advanced mode. True Expert Mode True GTK_RELIEF_NORMAL True True False True 5 True False True Start the search! True GTK_RELIEF_NORMAL True True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-find 4 0.5 0.5 0 0 0 False False True Start True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 0 False False True False Stop the search! True gtk-stop True GTK_RELIEF_NORMAL True 0 False False 0 False True True Search criteria False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True True True True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT 250 True True True False False True False False False True True True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True Displays the matching text lines when the result is selected. True False True True GTK_JUSTIFY_LEFT GTK_WRAP_WORD False 0 0 5 5 5 0 True True 0 True True True True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True False False False True True True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True Displays the matching text lines when the result is selected. True False True True GTK_JUSTIFY_LEFT GTK_WRAP_WORD False 0 0 5 5 5 0 True True 0 True True True False 0 True False 0 True True True Search progress bar. GTK_PROGRESS_LEFT_TO_RIGHT 0 0.10000000149 PANGO_ELLIPSIZE_NONE 0 False False 0 False False True True True GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER False False False False Select a folder GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False gtk-open True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True False 24 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True True gtk-open True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True Edit (File) True True gtk-edit 1 0.5 0.5 0 0 True _Copy (Filename) True True gtk-copy 1 0.5 0.5 0 0 True _Delete File True True gtk-delete 1 0.5 0.5 0 0 True _Explore Folder True True gtk-open 1 0.5 0.5 0 0 True True C_ancel True 5 True Select Colour GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True gtk-select-color True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True True GTK_RELIEF_NORMAL True True True True GTK_RELIEF_NORMAL True True True GTK_RELIEF_NORMAL True 5 True False False 4 True Select Font GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True True gtk-select-font True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True True GTK_RELIEF_NORMAL True True True GTK_RELIEF_NORMAL True True True True GTK_RELIEF_NORMAL True 4 True abcdefghijk ABCDEFGHIJK 0 True True True Clear Search History GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT False False True gtk-clear True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True False 0 True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 True False 0 True Clear all file names in the "Files:" drop-down list True Clear file names True GTK_RELIEF_NORMAL True True False True 0 False False True Clear all patterns in the "Containing:" drop-down list True Clear containing text True GTK_RELIEF_NORMAL True True False True 0 False False True Clear all directories in the "Folders:" drop-down list True Clear look in history True GTK_RELIEF_NORMAL True True False True 0 False False True Reset the size and modified search criteria. True Reset size/modified options True GTK_RELIEF_NORMAL True True False True 0 False False True <b>Select which data to delete:</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 True True True <b>Warning</b>: Once cleared, history cannot be recovered! False True GTK_JUSTIFY_CENTER True False 0.5 0.5 5 5 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 0 True True True Test Regular Expression GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT False True True True True True GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True True gtk-apply True GTK_RELIEF_NORMAL True -10 True True True gtk-close True GTK_RELIEF_NORMAL True -7 0 False True GTK_PACK_END True False 0 True False 0 True Test Expression: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True True True 0 sample True â— True 0 True True 0 False False True False 0 True Sample Text: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True True True True GTK_JUSTIFY_LEFT GTK_WRAP_WORD True 0 0 0 0 0 0 <Copy and paste your sample text here> 0 True True 0 True True True To see the results of your regular expression click apply. Once done, simply close the window. Searches are case sensitive. <b>Note:</b> this tool will only highlight the first match found. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 7 False False True 0 False False True False 0 True Status: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True False True 0 True â— False 0 True True 0 False False 0 True True True Expression Wizard GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT False True True True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True Help with the Regular Expression Builder True True gtk-help True GTK_RELIEF_NORMAL True -11 True Discard any changes. True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True False Accept the resulting expression, and add it to the search rules. True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True False 0 True False 0 True Text begins: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True Don't know Any character The character Any one of these chars Any char except these The phrase Space(s) Any numeric character Any text character False True True 0 True True True False True True True 0 True • False 0 True True True that occurs False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True False Once One or more times Zero or more times Possibly once False True True 0 True True 0 False False True 0 0.5 GTK_SHADOW_NONE True False 0 True False 0 True False 0 True Don't know Any character The character Any one of these chars Any char except these The phrase Space(s) Any numeric character Any text character False True True 0 True True True False True True True 0 True • False 0 True True True that occurs False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True False Once One or more times Zero or more times Possibly once False True True 0 True True True True True 0 True • False 0 True True 0 False False True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True Each row creates a new part to the rule, with the order reflecting the order in which the rule is to be matched. True True False True False False False False 0 True True 0 True True True False 0 True False Creates a new row in the list with the following rule. True Add True GTK_RELIEF_NORMAL True 0 False False True False Updates a rule that was selected for the modify function. True Update True GTK_RELIEF_NORMAL True 0 False False True False Modifies an existing row in the rule table. True Modify True GTK_RELIEF_NORMAL True 0 False False True False Deletes an existing row in the rule table. True Delete True GTK_RELIEF_NORMAL True 0 False False 0 False False True <b>Text contains</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 True True True False 0 True Text ends: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True Don't know Any character The character Any one of these chars Any char except these The phrase Space(s) Any numeric character Any text character False True True 0 True True True False True True True 0 True • False 0 True True True that occurs False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True False Once One or more times Zero or more times Possibly once False True True 0 True True 0 False False True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 True False 0 True This is the expression that will be copied back to the main screen. True False True 0 True • False 0 True True True Some charactors (such as . | ^ $) are reservered in certain circumstances. If you know what you are doing with these characters, unselect this checkbox. True Convert Internals True GTK_RELIEF_NORMAL True True False True 0 False False True <b>Resulting expression</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True 0 True True True Configuration GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE True True True gtk-preferences True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True Searching for system files, please wait... True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True Searching for system files, please wait... True True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True True True True GTK_POS_TOP False False True False 0 True False True Force single window mode True GTK_RELIEF_NORMAL True False False True 5 False False True Extended regular expressions are recommended as they provide more functionality. True Use extended regular expressions True GTK_RELIEF_NORMAL True True False True 0 False False True Force a prompt before settings are saved. True Prompt before saving state True GTK_RELIEF_NORMAL True False False True 0 False False True Force a prompt before any files are deleted True Prompt before deleting files True GTK_RELIEF_NORMAL True True False True 0 False False True False Check this to allow True Match strings within binary files too True GTK_RELIEF_NORMAL True False False True 0 False False False True True Global Settings False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True 4 3 False 0 0 True Default text editor: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Default folder explorer: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True Binary/Executable False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 1 2 0 1 fill True Attributes False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 3 0 1 fill True Default web browser: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 3 4 fill True Text editor attributes: %f=filename, %d=directory True True True 0 %f True â— False 2 3 1 2 shrink|fill True File explorer attributes: %f=filename, %d=directory True True True 0 %d True â— False 2 3 2 3 shrink|fill True Text editor attributes: %f=filename, %d=directory True True True 0 -new-tab %f True â— False 2 3 3 4 shrink|fill True Paste and edit full file name of your preferred text editor. True True True 0 True • False 1 2 1 2 True Paste and edit full file name of your preferred file explorer. True True True 0 True • False 1 2 2 3 True Paste and edit full file name of your preferred web browser. True True True 0 True • False 1 2 3 4 0 True True True 0 True True True False 0 True Find default executables: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 5 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True Auto search... True GTK_RELIEF_NORMAL True 0 False False 0 False True False True True System Calls False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True False 0 True End of row separator: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 3 False False True Use ASCII or C style construct e.g. \n True True True 2 \n True • False 2 0 False True 0 False False True False 0 True Value/field separator: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 3 False False True Use ASCII or C style construct e.g. , \t ; True True True 2 , True • False 2 0 False True 0 False False True False 0 True Text delimiter: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 3 False False True Use ASCII characters e.g. " # $ ' True True True 2 \" True • False 2 0 False True 0 False False False True True Csv Export False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True False 0 True Remove all saved settings (restart required to complete): False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True Reset all True GTK_RELIEF_NORMAL True 0 False False 0 False False True False 0 True Current Config file location: False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True Location of your current searchmonkey configuration settings file. True False True 0 True • False 0 True True 0 False False True False 0 True Save settings immediately (normally occurs on exit): False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True Save now True GTK_RELIEF_NORMAL True 0 False False 0 False False False True True System False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True True GTK_FILE_CHOOSER_ACTION_SAVE False False False False Save results to CSV file... GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE True True True gtk-file True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True False 24 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True True gtk-save True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True Import Criteria GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT True True True gtk-open True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True False 0 True True True True GTK_POS_TOP False False True False 0 450 200 True GTK_FILE_CHOOSER_ACTION_OPEN True False False 0 True True False True True File Selection False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 True False 0 True Use the file in an identical to way to that of the grep -f command. True File Name import True GTK_RELIEF_NORMAL True False False True 0 False False True Import a file identical to that generated by the export command. True Containing Text import True GTK_RELIEF_NORMAL True False False True fileNameRadioImport 0 False False True <b>Import Location</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 True False 0 True Use the file in an identical to way to that of the grep -f command. True Grep style file (1-entry, OR each line) True GTK_RELIEF_NORMAL True False False True 0 False False True Import a file identical to that generated by the export command. True Searchmonkey style (1-entry per line) True GTK_RELIEF_NORMAL True False False True singleImportRadio 0 False False True <b>Import Type</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True False True True Options False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True 0 True True True Export Criteria GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT True True True gtk-save-as True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True False 0 True True True True GTK_POS_TOP False False True False 0 True GTK_FILE_CHOOSER_ACTION_SAVE True False False 0 True True False True True File Selection False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 True False 0 True Save the File Name drop down entries into a file. True File Name Export criteria True GTK_RELIEF_NORMAL True False False True 0 False False True Save the Containing Text drop down entries into a file. True Containing Text Export Criteria True GTK_RELIEF_NORMAL True False False True fileNameRadioExport 0 False False True <b>Export Source</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 True False 0 True Just save the currently displayed entry to a file. True Save active/displayed entry only True GTK_RELIEF_NORMAL True False False True 0 False False True Import a file identical to that generated by the export command. True Save all entries (1-entry per line) True GTK_RELIEF_NORMAL True False False True singleExportRadio 0 False False True <b>Export Type</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True False True True Options False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True 0 True True True Auto Complete GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT True True True True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True Searching for system files, please wait... True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True False Searching for system files, please wait... True True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True False 0 470 200 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False True GTK_JUSTIFY_LEFT GTK_WRAP_WORD False 0 0 0 0 0 0 Please be patient! Searching for executables to perform the following functions: * text editing/viewing * folder browsing * web browsing The search algorithm uses a set of standard executables for all systems, and then attempts to find them on your local disk. Once complete, press OK to store the executables. 0 True True True Search progress GTK_PROGRESS_LEFT_TO_RIGHT 0.00999999977648 0 Please wait... PANGO_ELLIPSIZE_NONE 0 False False 0 True True True About searchmonkey GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT True False True searchmonkey.png True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False False True False 0 True GTK_BUTTONBOX_SPREAD True True True GTK_RELIEF_NORMAL True -5 True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-about 4 0.5 0.5 0 0 0 False False True Credits True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True True True True gtk-close True GTK_RELIEF_NORMAL True -7 0 False True GTK_PACK_END True False 0 True searchmonkey-300x300.png 0.5 0.5 0 0 0 True True True False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 5 PANGO_ELLIPSIZE_NONE -1 True 0 0 True True True <i>Regular expression power search utility written in GTK+ and licensed under Lesser GPL.</i> False True GTK_JUSTIFY_CENTER True False 0.5 0.5 0 4 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True Copyright (c) 2006-2007 Adam Cottrell False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 4 PANGO_ELLIPSIZE_NONE -1 True 0 0 False False 0 True True True searchmonkey Credits GTK_WINDOW_TOPLEVEL GTK_WIN_POS_CENTER_ON_PARENT True False True gtk-about True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-close True GTK_RELIEF_NORMAL True -7 0 False True GTK_PACK_END 185 True True True True GTK_POS_TOP False False True True GTK_POLICY_NEVER GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False GTK_JUSTIFY_LEFT GTK_WRAP_NONE True 0 0 0 0 0 0 Project Manager: Adam Cottrell <cottrela@users.sf.net> Programming: Adam Cottrell <cottrela@users.sf.net> Salil Joshi <HellFeuer@users.sf.net> Yousef AlHashemi Artwork: Peter Cruickshank False True True Written by False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True True GTK_POLICY_NEVER GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False GTK_JUSTIFY_LEFT GTK_WRAP_NONE True 0 0 0 0 0 0 Adam Cottrell (en_GB) False True True Translated by False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True True Select Date... GTK_WINDOW_POPUP GTK_WIN_POS_MOUSE True False False True False False GDK_WINDOW_TYPE_HINT_UTILITY GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True gtk-ok True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END True True GTK_CALENDAR_SHOW_HEADING|GTK_CALENDAR_SHOW_DAY_NAMES 0 True True searchmonkey-0.8.1/Makefile.am0000664000076400007660000000242110561732772013212 00000000000000## Process this file with automake to produce Makefile.in SUBDIRS = src po EXTRA_DIST = \ autogen.sh \ search.glade \ search.gladep \ rpmbuild/* \ bsdports/* install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/pixmaps; then \ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ for pixmap in $(srcdir)/pixmaps/*; do \ if test -f $$pixmap; then \ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ fi \ done; \ ln -sf $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE)/searchmonkey-48x48.png $(DESTDIR)$(datadir)/pixmaps/searchmonkey.png; \ fi dist-hook: if test -d pixmaps; then \ mkdir $(distdir)/pixmaps; \ for pixmap in pixmaps/*; do \ if test -f $$pixmap; then \ cp -p $$pixmap $(distdir)/pixmaps; \ fi \ done \ fi # Special commands for creating Gnome menu item - does not add dependancy install-gnome: install if test -f $(srcdir)/rpmbuild/@PACKAGE@.desktop; then \ if test -d $(DESTDIR)$(datadir)/applications; then \ $(INSTALL_DATA) $(srcdir)/rpmbuild/@PACKAGE@.desktop $(DESTDIR)$(datadir)/applications; \ fi \ fi uninstall-gnome: uninstall if test -f $(DESTDIR)$(datadir)/applications/@PACKAGE@.desktop; then \ rm -f $(DESTDIR)$(datadir)/applications/@PACKAGE@.desktop; \ fi searchmonkey-0.8.1/COPYING.LESSER0000664000076400007660000006345210561732772013220 00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. Another cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does insure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! searchmonkey-0.8.1/bsdports/0000777000076400007660000000000010561733042013070 500000000000000searchmonkey-0.8.1/bsdports/distinfo0000664000076400007660000000030410561732770014554 00000000000000MD5 (xsearch-0.4.1.tar.gz) = 1eef05cac35a225b1c1e0fc1c4971f8d SHA256 (xsearch-0.4.1.tar.gz) = da2a7774ada9d39ac93f334e3140c63a35c7f8545b024cdde0de85e8ea5cdf1c SIZE (xsearch-0.4.1.tar.gz) = 131299 searchmonkey-0.8.1/bsdports/Makefile0000664000076400007660000000107410561732770014457 00000000000000# New ports collection makefile for: xsearch # Date created: 26 August 2006 # Whom: Andrew Pantyukhin # # $FreeBSD: /repoman/r/pcvs/ports/sysutils/xsearch/Makefile,v 1.1 2006/08/26 13:20:28 sat Exp $ # PORTNAME= xsearch PORTVERSION= 0.4.1 CATEGORIES= sysutils MASTER_SITES= SF MAINTAINER= cottrela@users.sourceforge.net COMMENT= Search using regexes for file names and text USE_GNOME= gtk20 USE_GCC= 3.3+ USE_GETTEXT= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} PLIST_FILES= bin/xsearch .include searchmonkey-0.8.1/bsdports/pkg-descr0000664000076400007660000000026010561732770014615 00000000000000Powerful text searches on Unix using regular expressions for both the file name, and the search text. Graphical equivalent of find + grep. WWW: http://xsearch.sourceforge.net searchmonkey-0.8.1/ChangeLog0000664000076400007660000000072710561732772012737 00000000000000To see the latest changes, check out the release notes. There is a document for every release of searchmonkey, or see: http://searchmonkey.sourceforge.net/index.php/Searchmonkey_Installation#Release_Notes for the full list. For code checked out using subversion, get a live change log with: $ svn log . from within the check out directory, or to see the online log use: $ svn log https://svn.sourceforge.net/svnroot/searchmonkey/trunk to see trunk changes to date. searchmonkey-0.8.1/README0000664000076400007660000000112710561732772012040 00000000000000searchMonkey ============ For full installation instructions see: http://searchmonkey.sf.net/index.php/Searchmonkey_Installation For most systems simply run: $ ./configure $ make If there are no errors reported by configure/make, as super user: # make install If you are using a Gnome based distro e.g. Fedora or Suse. # make install-gnome will create a launcher icon. To uninstall, as super user: # make uninstall The source code can then be removed completely, if required. Enjoy! Adam Hosted by Sourceforge: http:/www.sf.net/projects/searchmonkey Homepage: http:/searchmonkey.sf.net searchmonkey-0.8.1/install-sh0000755000076400007660000002202110351551762013151 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # 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 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: searchmonkey-0.8.1/INSTALL0000644000076400007660000002243210351551762012204 00000000000000Installation 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. searchmonkey-0.8.1/src/0000777000076400007660000000000010561733043012020 500000000000000searchmonkey-0.8.1/src/Makefile.in0000664000076400007660000003351210561732767014023 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : bin_PROGRAMS = searchmonkey$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_searchmonkey_OBJECTS = main.$(OBJEXT) support.$(OBJEXT) \ interface.$(OBJEXT) callbacks.$(OBJEXT) search.$(OBJEXT) \ savestate.$(OBJEXT) regexwizard.$(OBJEXT) systemio.$(OBJEXT) \ misc.$(OBJEXT) searchmonkey_OBJECTS = $(am_searchmonkey_OBJECTS) am__DEPENDENCIES_1 = searchmonkey_DEPENDENCIES = $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(searchmonkey_SOURCES) DIST_SOURCES = $(searchmonkey_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ PACKAGE_LIBS = @PACKAGE_LIBS@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ @PACKAGE_CFLAGS@ searchmonkey_SOURCES = \ main.c \ support.c support.h \ interface.c interface.h \ callbacks.c callbacks.h \ search.c search.h \ savestate.c savestate.h \ regexwizard.c regexwizard.h \ systemio.c systemio.h \ misc.c misc.h \ lgpl.h searchmonkey_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) searchmonkey$(EXEEXT): $(searchmonkey_OBJECTS) $(searchmonkey_DEPENDENCIES) @rm -f searchmonkey$(EXEEXT) $(LINK) $(searchmonkey_LDFLAGS) $(searchmonkey_OBJECTS) $(searchmonkey_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callbacks.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/interface.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexwizard.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/savestate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/search.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/support.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/systemio.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` uninstall-info-am: 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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 $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done 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) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-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: searchmonkey-0.8.1/src/callbacks.h0000664000076400007660000004715610561732767014057 00000000000000#include void on_window1_destroy (GtkObject *object, gpointer user_data); void on_menubar1_realize (GtkWidget *widget, gpointer user_data); void on_menubar1_unrealize (GtkWidget *widget, gpointer user_data); void on_open_criteria1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_save_criteria1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_save_results1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_print1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_print_preview1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_print_setup1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_quit1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_word_wrap1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_set_font1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_set_highligting_colour1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_cl_ear_history1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_delete1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_copy2_activate (GtkMenuItem *menuitem, gpointer user_data); void on_toolbar2_activate (GtkMenuItem *menuitem, gpointer user_data); void on_status_bar1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_file_name1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_location1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_size1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_type1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_modified1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_search1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_playButton_activate (GtkMenuItem *menuitem, gpointer user_data); void on_stopButton_activate (GtkMenuItem *menuitem, gpointer user_data); void on_configuration1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_test1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_reg_expression1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_1_search1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_contents1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_support1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_about1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_playButton_clicked (GtkButton *button, gpointer user_data); void on_stopButton_clicked (GtkButton *button, gpointer user_data); void on_Question_clicked (GtkButton *button, gpointer user_data); void on_searchNotebook_realize (GtkWidget *widget, gpointer user_data); void on_searchNotebook_unrealize (GtkWidget *widget, gpointer user_data); void on_containingText_changed (GtkComboBox *combobox, gpointer user_data); void on_folderSelector_clicked (GtkButton *button, gpointer user_data); void on_lessThanCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_beforeCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_moreThanCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_afterCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_expertUserCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_treeview1_realize (GtkWidget *widget, gpointer user_data); gboolean on_treeview1_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data); gboolean on_treeview1_popup_menu (GtkWidget *widget, gpointer user_data); void on_textview1_realize (GtkWidget *widget, gpointer user_data); void on_textview1_unrealize (GtkWidget *widget, gpointer user_data); void on_statusbar1_realize (GtkWidget *widget, gpointer user_data); void on_open1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_copy3_activate (GtkMenuItem *menuitem, gpointer user_data); void on_delete2_activate (GtkMenuItem *menuitem, gpointer user_data); void on_explore1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_cancel1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_testRegExDialog_response (GtkDialog *dialog, gint response_id, gpointer user_data); void on_SampleTextView_realize (GtkWidget *widget, gpointer user_data); void on_expWizard_response (GtkDialog *dialog, gint response_id, gpointer user_data); void on_expWizard_close (GtkDialog *dialog, gpointer user_data); void on_startType_changed (GtkComboBox *combobox, gpointer user_data); void on_startEntry_changed (GtkEditable *editable, gpointer user_data); void on_startOccurance_changed (GtkComboBox *combobox, gpointer user_data); void on_midType_changed (GtkComboBox *combobox, gpointer user_data); void on_midEntry_changed (GtkEditable *editable, gpointer user_data); void on_midOccurance_changed (GtkComboBox *combobox, gpointer user_data); void on_endType_changed (GtkComboBox *combobox, gpointer user_data); void on_endEntry_changed (GtkEditable *editable, gpointer user_data); void on_endOccurance_changed (GtkComboBox *combobox, gpointer user_data); void on_regExpWizard1_clicked (GtkButton *button, gpointer user_data); void on_regExpWizard2_clicked (GtkButton *button, gpointer user_data); void on_convertRegex_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_addMidContents_clicked (GtkButton *button, gpointer user_data); void on_modifiedSelectedContents_clicked (GtkButton *button, gpointer user_data); void on_deleteSelectedContents_clicked (GtkButton *button, gpointer user_data); void on_midTreeView_realize (GtkWidget *widget, gpointer user_data); void on_updateSelectedContents_clicked (GtkButton *button, gpointer user_data); void on_midSelection_changed (GtkEditable *editable, gpointer user_data); void on_expWizard_realize (GtkWidget *widget, gpointer user_data); void on_expWizard_unrealize (GtkWidget *widget, gpointer user_data); void on_midTreeView_drag_end (GtkWidget *widget, GdkDragContext *drag_context, gpointer user_data); void on_notebook2_switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data); void on_configDialog_realize (GtkWidget *widget, gpointer user_data); void on_treeview1_unrealize (GtkWidget *widget, gpointer user_data); void on_autoFindExe_clicked (GtkButton *button, gpointer user_data); void on_online_release_notes1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_configResetAll_clicked (GtkButton *button, gpointer user_data); void on_configSaveNow_clicked (GtkButton *button, gpointer user_data); void on_forums1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_matches1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_window1_unrealize (GtkWidget *widget, gpointer user_data); void on_window1_realize (GtkWidget *widget, gpointer user_data); void on_autoAdjustColumnWidth_toggled (GtkToggleButton *togglebutton, gpointer user_data); gboolean on_configResultEOL_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); gboolean on_configResultEOF_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); gboolean on_configResultDelimiter_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); void on_newInstance1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_horizontal_results1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_vertical_results1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_importCriteria_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_exportCriteria_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_saveResults_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_printResults_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_newInstance2_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_playButton2_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_stopButton2_clicked (GtkToolButton *toolbutton, gpointer user_data); void on_aboutSearchmonkey_response (GtkDialog *dialog, gint response_id, gpointer user_data); void on_autosize_columns_activate (GtkMenuItem *menuitem, gpointer user_data); void on_edit_file1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_open_folder1_activate (GtkMenuItem *menuitem, gpointer user_data); void on_containingText_changed (GtkComboBox *combobox, gpointer user_data); void on_searchNotebook_switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data); void on_basic_mode1_toggled (GtkCheckMenuItem *checkmenuitem, gpointer user_data); void on_expert_mode1_toggled (GtkCheckMenuItem *checkmenuitem, gpointer user_data); void on_folderDepthCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_searchSubfoldersCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_dosExpressionRadioFile_activate (GtkButton *button, gpointer user_data); void on_regularExpressionRadioFile_activate (GtkButton *button, gpointer user_data); void on_dosExpressionRadioFile_clicked (GtkButton *button, gpointer user_data); void on_regularExpressionRadioFile_clicked (GtkButton *button, gpointer user_data); void on_afterCalenderBtn_clicked (GtkButton *button, gpointer user_data); void on_beforeCalendatBtn_clicked (GtkButton *button, gpointer user_data); gboolean on_regexp_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); gboolean on_regexp_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); gboolean on_regexp_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); gboolean on_fileName_focus (GtkWidget *widget, GtkDirectionType direction, gpointer user_data); gboolean on_regexp2_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); void on_limitResultsCheckResults_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_showLinesCheckResults_toggled (GtkToggleButton *togglebutton, gpointer user_data); gboolean on_searchNotebook_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data); void on_limitContentsCheckResults_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_autoComplete_response (GtkDialog *dialog, gint response_id, gpointer user_data); searchmonkey-0.8.1/src/interface.h0000664000076400007660000000132210561732767014061 00000000000000/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ GtkWidget* create_window1 (void); GtkWidget* create_folderChooserDialog (void); GtkWidget* create_menu1 (void); GtkWidget* create_highlightColourDialog (void); GtkWidget* create_fontSelectionDialog (void); GtkWidget* create_clearSearchHistoryDialog (void); GtkWidget* create_testRegExDialog (void); GtkWidget* create_expWizard (void); GtkWidget* create_configDialog (void); GtkWidget* create_saveFileDialog (void); GtkWidget* create_importCriteria (void); GtkWidget* create_exportCriteria (void); GtkWidget* create_autoComplete (void); GtkWidget* create_aboutSearchmonkey (void); GtkWidget* create_creditsDialog (void); GtkWidget* create_calendarDialog (void); searchmonkey-0.8.1/src/lgpl.h0000664000076400007660000006525210561732767013073 00000000000000#include const gchar *LGPL_LICENSE = """ \ GNU LESSER GENERAL PUBLIC LICENSE\n\ Version 2.1, February 1999\ \n\n\ Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n\ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\ Everyone is permitted to copy and distribute verbatim copies \ of this license document, but changing it is not allowed.\ \n\n\ [This is the first released version of the Lesser GPL. It also counts \ as the successor of the GNU Library Public License, version 2, hence \ the version number 2.1.]\ \n\n\ Preamble\ \n\n\ The licenses for most software are designed to take away your \ freedom to share and change it. By contrast, the GNU General Public \ Licenses are intended to guarantee your freedom to share and change \ free software -- to make sure the software is free for all its users.\ \n\n\ This license, the Lesser General Public License, applies to some \ specially designated software packages--typically libraries--of the \ Free Software Foundation and other authors who decide to use it. You \ can use it too, but we suggest you first think carefully about whether \ this license or the ordinary General Public License is the better \ strategy to use in any particular case, based on the explanations below.\ \n\n\ When we speak of free software, we are referring to freedom of use, \ not price. Our General Public Licenses are designed to make sure that \ you have the freedom to distribute copies of free software (and charge \ for this service if you wish); that you receive source code or can get \ it if you want it; that you can change the software and use pieces of \ it in new free programs; and that you are informed that you can do \ these things.\ \n\n\ To protect your rights, we need to make restrictions that forbid \ distributors to deny you these rights or to ask you to surrender these \ rights. These restrictions translate to certain responsibilities for \ you if you distribute copies of the library or if you modify it.\ \n\n\ For example, if you distribute copies of the library, whether gratis \ or for a fee, you must give the recipients all the rights that we gave \ you. You must make sure that they, too, receive or can get the source \ code. If you link other code with the library, you must provide \ complete object files to the recipients, so that they can relink them \ with the library after making changes to the library and recompiling \ it. And you must show them these terms so they know their rights.\ \n\n\ We protect your rights with a two-step method: (1) we copyright the \ library, and (2) we offer you this license, which gives you legal \ permission to copy, distribute and/or modify the library.\ \n\n\ To protect each distributor, we want to make it very clear that \ there is no warranty for the free library. Also, if the library is \ modified by someone else and passed on, the recipients should know \ that what they have is not the original version, so that the original \ author's reputation will not be affected by problems that might be \ introduced by others.\ \n\n\ Finally, software patents pose a constant threat to the existence of \ any free program. We wish to make sure that a company cannot \ effectively restrict the users of a free program by obtaining a \ restrictive license from a patent holder. Therefore, we insist that \ any patent license obtained for a version of the library must be \ consistent with the full freedom of use specified in this license.\ \n\n\ Most GNU software, including some libraries, is covered by the \ ordinary GNU General Public License. This license, the GNU Lesser \ General Public License, applies to certain designated libraries, and \ is quite different from the ordinary General Public License. We use \ this license for certain libraries in order to permit linking those \ libraries into non-free programs.\ \n\n\ When a program is linked with a library, whether statically or using \ a shared library, the combination of the two is legally speaking a \ combined work, a derivative of the original library. The ordinary \ General Public License therefore permits such linking only if the \ entire combination fits its criteria of freedom. The Lesser General \ Public License permits more lax criteria for linking other code with \ the library.\ \n\n\ We call this license the \"Lesser\" General Public License because it \ does Less to protect the user's freedom than the ordinary General \ Public License. It also provides other free software developers Less \ of an advantage over competing non-free programs. These disadvantages \ are the reason we use the ordinary General Public License for many \ libraries. However, the Lesser license provides advantages in certain \ special circumstances.\ \n\n\ For example, on rare occasions, there may be a special need to \ encourage the widest possible use of a certain library, so that it becomes \ a de-facto standard. To achieve this, non-free programs must be \ allowed to use the library. A more frequent case is that a free \ library does the same job as widely used non-free libraries. In this \ case, there is little to gain by limiting the free library to free \ software only, so we use the Lesser General Public License.\ \n\n\ In other cases, permission to use a particular library in non-free \ programs enables a greater number of people to use a large body of \ free software. For example, permission to use the GNU C Library in \ non-free programs enables many more people to use the whole GNU \ operating system, as well as its variant, the GNU/Linux operating \ system.\ \n\n\ Although the Lesser General Public License is Less protective of the \ users' freedom, it does ensure that the user of a program that is \ linked with the Library has the freedom and the wherewithal to run \ that program using a modified version of the Library.\ \n\n\ The precise terms and conditions for copying, distribution and \ modification follow. Pay close attention to the difference between a \ \"work based on the library\" and a \"work that uses the library\". The \ former contains code derived from the library, whereas the latter must \ be combined with the library in order to run.\ \n\n\ GNU LESSER GENERAL PUBLIC LICENSE\n\ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\ \n\n\ 0. This License Agreement applies to any software library or other \ program which contains a notice placed by the copyright holder or \ other authorized party saying it may be distributed under the terms of \ this Lesser General Public License (also called \"this License\"). \ Each licensee is addressed as \"you\".\ \n\n\ A \"library\" means a collection of software functions and/or data \ prepared so as to be conveniently linked with application programs \ (which use some of those functions and data) to form executables.\ \n\n\ The \"Library\", below, refers to any such software library or work \ which has been distributed under these terms. A \"work based on the \ Library\" means either the Library or any derivative work under \ copyright law: that is to say, a work containing the Library or a \ portion of it, either verbatim or with modifications and/or translated \ straightforwardly into another language. (Hereinafter, translation is \ included without limitation in the term \"modification\".)\ \n\n\ \"Source code\" for a work means the preferred form of the work for \ making modifications to it. For a library, complete source code means \ all the source code for all modules it contains, plus any associated \ interface definition files, plus the scripts used to control compilation \ and installation of the library.\ \n\n\ Activities other than copying, distribution and modification are not \ covered by this License; they are outside its scope. The act of \ running a program using the Library is not restricted, and output from \ such a program is covered only if its contents constitute a work based \ on the Library (independent of the use of the Library in a tool for \ writing it). Whether that is true depends on what the Library does \ and what the program that uses the Library does.\ \n\n\ 1. You may copy and distribute verbatim copies of the Library's \ complete source code as you receive it, in any medium, provided that \ you conspicuously and appropriately publish on each copy an \ appropriate copyright notice and disclaimer of warranty; keep intact \ all the notices that refer to this License and to the absence of any \ warranty; and distribute a copy of this License along with the \ Library.\ \n\n\ You may charge a fee for the physical act of transferring a copy, \ and you may at your option offer warranty protection in exchange for a \ fee.\ \n\n\ 2. You may modify your copy or copies of the Library or any portion \ of it, thus forming a work based on the Library, and copy and \ distribute such modifications or work under the terms of Section 1 \ above, provided that you also meet all of these conditions:\ \n\n\ a) The modified work must itself be a software library.\ \n\n\ b) You must cause the files modified to carry prominent notices \ stating that you changed the files and the date of any change.\ \n\n\ c) You must cause the whole of the work to be licensed at no \ charge to all third parties under the terms of this License.\ \n\n\ d) If a facility in the modified Library refers to a function or a \ table of data to be supplied by an application program that uses \ the facility, other than as an argument passed when the facility \ is invoked, then you must make a good faith effort to ensure that, \ in the event an application does not supply such function or \ table, the facility still operates, and performs whatever part of \ its purpose remains meaningful.\ \n\n\ (For example, a function in a library to compute square roots has \ a purpose that is entirely well-defined independent of the \ application. Therefore, Subsection 2d requires that any \ application-supplied function or table used by this function must \ be optional: if the application does not supply it, the square \ root function must still compute square roots.)\ \n\n\ These requirements apply to the modified work as a whole. If \ identifiable sections of that work are not derived from the Library, \ and can be reasonably considered independent and separate works in \ themselves, then this License, and its terms, do not apply to those \ sections when you distribute them as separate works. But when you \ distribute the same sections as part of a whole which is a work based \ on the Library, the distribution of the whole must be on the terms of \ this License, whose permissions for other licensees extend to the \ entire whole, and thus to each and every part regardless of who wrote \ it.\ \n\n\ Thus, it is not the intent of this section to claim rights or contest \ your rights to work written entirely by you; rather, the intent is to \ exercise the right to control the distribution of derivative or \ collective works based on the Library.\ \n\n\ In addition, mere aggregation of another work not based on the Library \ with the Library (or with a work based on the Library) on a volume of \ a storage or distribution medium does not bring the other work under \ the scope of this License.\ \n\n\ 3. You may opt to apply the terms of the ordinary GNU General Public \ License instead of this License to a given copy of the Library. To do \ this, you must alter all the notices that refer to this License, so \ that they refer to the ordinary GNU General Public License, version 2, \ instead of to this License. (If a newer version than version 2 of the \ ordinary GNU General Public License has appeared, then you can specify \ that version instead if you wish.) Do not make any other change in \ these notices.\ \n\n\ Once this change is made in a given copy, it is irreversible for \ that copy, so the ordinary GNU General Public License applies to all \ subsequent copies and derivative works made from that copy.\ \n\n\ This option is useful when you wish to copy part of the code of \ the Library into a program that is not a library.\ \n\n\ 4. You may copy and distribute the Library (or a portion or \ derivative of it, under Section 2) in object code or executable form \ under the terms of Sections 1 and 2 above provided that you accompany \ it with the complete corresponding machine-readable source code, which \ must be distributed under the terms of Sections 1 and 2 above on a \ medium customarily used for software interchange.\ \n\n\ If distribution of object code is made by offering access to copy \ from a designated place, then offering equivalent access to copy the \ source code from the same place satisfies the requirement to \ distribute the source code, even though third parties are not \ compelled to copy the source along with the object code.\ \n\n\ 5. A program that contains no derivative of any portion of the \ Library, but is designed to work with the Library by being compiled or \ linked with it, is called a \"work that uses the Library\". Such a \ work, in isolation, is not a derivative work of the Library, and \ therefore falls outside the scope of this License.\ \n\n\ However, linking a \"work that uses the Library\" with the Library \ creates an executable that is a derivative of the Library (because it \ contains portions of the Library), rather than a \"work that uses the \ library\". The executable is therefore covered by this License. \ Section 6 states terms for distribution of such executables.\ \n\n\ When a \"work that uses the Library\" uses material from a header file \ that is part of the Library, the object code for the work may be a \ derivative work of the Library even though the source code is not. \ Whether this is true is especially significant if the work can be \ linked without the Library, or if the work is itself a library. The \ threshold for this to be true is not precisely defined by law.\ \n\n\ If such an object file uses only numerical parameters, data \ structure layouts and accessors, and small macros and small inline \ functions (ten lines or less in length), then the use of the object \ file is unrestricted, regardless of whether it is legally a derivative \ work. (Executables containing this object code plus portions of the \ Library will still fall under Section 6.)\ \n\n\ Otherwise, if the work is a derivative of the Library, you may \ distribute the object code for the work under the terms of Section 6. \ Any executables containing that work also fall under Section 6, \ whether or not they are linked directly with the Library itself.\ \n\n\ 6. As an exception to the Sections above, you may also combine or \ link a \"work that uses the Library\" with the Library to produce a \ work containing portions of the Library, and distribute that work \ under terms of your choice, provided that the terms permit \ modification of the work for the customer's own use and reverse \ engineering for debugging such modifications.\ \n\n\ You must give prominent notice with each copy of the work that the \ Library is used in it and that the Library and its use are covered by \ this License. You must supply a copy of this License. If the work \ during execution displays copyright notices, you must include the \ copyright notice for the Library among them, as well as a reference \ directing the user to the copy of this License. Also, you must do one \ of these things:\ \n\n\ a) Accompany the work with the complete corresponding \ machine-readable source code for the Library including whatever \ changes were used in the work (which must be distributed under \ Sections 1 and 2 above); and, if the work is an executable linked \ with the Library, with the complete machine-readable \"work that \ uses the Library\", as object code and/or source code, so that the \ user can modify the Library and then relink to produce a modified \ executable containing the modified Library. (It is understood \ that the user who changes the contents of definitions files in the \ Library will not necessarily be able to recompile the application \ to use the modified definitions.)\ \n\n\ b) Use a suitable shared library mechanism for linking with the \ Library. A suitable mechanism is one that (1) uses at run time a \ copy of the library already present on the user's computer system, \ rather than copying library functions into the executable, and (2) \ will operate properly with a modified version of the library, if \ the user installs one, as long as the modified version is \ interface-compatible with the version that the work was made with.\ \n\n\ c) Accompany the work with a written offer, valid for at \ least three years, to give the same user the materials \ specified in Subsection 6a, above, for a charge no more \ than the cost of performing this distribution. \ \n\n\ d) If distribution of the work is made by offering access to copy \ from a designated place, offer equivalent access to copy the above \ specified materials from the same place. \ \n\n\ e) Verify that the user has already received a copy of these \ materials or that you have already sent this user a copy.\ \n\n\ For an executable, the required form of the \"work that uses the \ Library\" must include any data and utility programs needed for \ reproducing the executable from it. However, as a special exception, \ the materials to be distributed need not include anything that is \ normally distributed (in either source or binary form) with the major \ components (compiler, kernel, and so on) of the operating system on \ which the executable runs, unless that component itself accompanies \ the executable.\ \n\n\ It may happen that this requirement contradicts the license \ restrictions of other proprietary libraries that do not normally \ accompany the operating system. Such a contradiction means you cannot \ use both them and the Library together in an executable that you \ distribute.\ \n\n\ 7. You may place library facilities that are a work based on the \ Library side-by-side in a single library together with other library \ facilities not covered by this License, and distribute such a combined \ library, provided that the separate distribution of the work based on \ the Library and of the other library facilities is otherwise \ permitted, and provided that you do these two things:\ \n\n\ a) Accompany the combined library with a copy of the same work \ based on the Library, uncombined with any other library \ facilities. This must be distributed under the terms of the \ Sections above.\ \n\n\ b) Give prominent notice with the combined library of the fact \ that part of it is a work based on the Library, and explaining \ where to find the accompanying uncombined form of the same work.\ \n\n\ 8. You may not copy, modify, sublicense, link with, or distribute \ the Library except as expressly provided under this License. Any \ attempt otherwise to copy, modify, sublicense, link with, or \ distribute the Library is void, and will automatically terminate your \ rights under this License. However, parties who have received copies, \ or rights, from you under this License will not have their licenses \ terminated so long as such parties remain in full compliance.\ \n\n\ 9. You are not required to accept this License, since you have not \ signed it. However, nothing else grants you permission to modify or \ distribute the Library or its derivative works. These actions are \ prohibited by law if you do not accept this License. Therefore, by \ modifying or distributing the Library (or any work based on the \ Library), you indicate your acceptance of this License to do so, and \ all its terms and conditions for copying, distributing or modifying \ the Library or works based on it.\ \n\n\ 10. Each time you redistribute the Library (or any work based on the \ Library), the recipient automatically receives a license from the \ original licensor to copy, distribute, link with or modify the Library \ subject to these terms and conditions. You may not impose any further \ restrictions on the recipients' exercise of the rights granted herein. \ You are not responsible for enforcing compliance by third parties with \ this License.\ \n\n\ 11. If, as a consequence of a court judgment or allegation of patent \ infringement or for any other reason (not limited to patent issues), \ conditions are imposed on you (whether by court order, agreement or \ otherwise) that contradict the conditions of this License, they do not \ excuse you from the conditions of this License. If you cannot \ distribute so as to satisfy simultaneously your obligations under this \ License and any other pertinent obligations, then as a consequence you \ may not distribute the Library at all. For example, if a patent \ license would not permit royalty-free redistribution of the Library by \ all those who receive copies directly or indirectly through you, then \ the only way you could satisfy both it and this License would be to \ refrain entirely from distribution of the Library.\ \n\n\ If any portion of this section is held invalid or unenforceable under any \ particular circumstance, the balance of the section is intended to apply, \ and the section as a whole is intended to apply in other circumstances. \ \n\n\ It is not the purpose of this section to induce you to infringe any \ patents or other property right claims or to contest validity of any \ such claims; this section has the sole purpose of protecting the \ integrity of the free software distribution system which is \ implemented by public license practices. Many people have made \ generous contributions to the wide range of software distributed \ through that system in reliance on consistent application of that \ system; it is up to the author/donor to decide if he or she is willing \ to distribute software through any other system and a licensee cannot \ impose that choice.\ \n\n\ This section is intended to make thoroughly clear what is believed to \ be a consequence of the rest of this License.\ \n\n\ 12. If the distribution and/or use of the Library is restricted in \ certain countries either by patents or by copyrighted interfaces, the \ original copyright holder who places the Library under this License may add \ an explicit geographical distribution limitation excluding those countries, \ so that distribution is permitted only in or among countries not thus \ excluded. In such case, this License incorporates the limitation as if \ written in the body of this License.\ \n\n\ 13. The Free Software Foundation may publish revised and/or new \ versions of the Lesser General Public License from time to time. \ Such new versions will be similar in spirit to the present version, \ but may differ in detail to address new problems or concerns.\ \n\n\ Each version is given a distinguishing version number. If the Library \ specifies a version number of this License which applies to it and \ \"any later version\", you have the option of following the terms and \ conditions either of that version or of any later version published by \ the Free Software Foundation. If the Library does not specify a \ license version number, you may choose any version ever published by \ the Free Software Foundation.\ \n\n\ 14. If you wish to incorporate parts of the Library into other free \ programs whose distribution conditions are incompatible with these, \ write to the author to ask for permission. For software which is \ copyrighted by the Free Software Foundation, write to the Free \ Software Foundation; we sometimes make exceptions for this. Our \ decision will be guided by the two goals of preserving the free status \ of all derivatives of our free software and of promoting the sharing \ and reuse of software generally.\ \n\n\ NO WARRANTY\ \n\n\ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO \ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. \ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR \ OTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY \ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR \ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE \ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME \ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\ \n\n\ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN \ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY \ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU \ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR \ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE \ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING \ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A \ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF \ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH \ DAMAGES.\ \n\n\ END OF TERMS AND CONDITIONS\ \n\n\ How to Apply These Terms to Your New Libraries\ \n\n\ If you develop a new library, and you want it to be of the greatest \ possible use to the public, we recommend making it free software that \ everyone can redistribute and change. You can do so by permitting \ redistribution under these terms (or, alternatively, under the terms of the \ ordinary General Public License).\ \n\n\ To apply these terms, attach the following notices to the library. It is \ safest to attach them to the start of each source file to most effectively \ convey the exclusion of warranty; and each file should have at least the \ \"copyright\" line and a pointer to where the full notice is found.\ \n\n\ \n\ Copyright (C) \ \n\n\ This library is free software; you can redistribute it and/or \ modify it under the terms of the GNU Lesser General Public \ License as published by the Free Software Foundation; either \ version 2.1 of the License, or (at your option) any later version.\ \n\n\ This library is distributed in the hope that it will be useful, \ but WITHOUT ANY WARRANTY; without even the implied warranty of \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU \ Lesser General Public License for more details.\ \n\n\ You should have received a copy of the GNU Lesser General Public \ License along with this library; if not, write to the Free Software \ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\ \n\n\ Also add information on how to contact you by electronic and paper mail.\ \n\n\ You should also get your employer (if you work as a programmer) or your \ school, if any, to sign a \"copyright disclaimer\" for the library, if \ necessary. Here is a sample; alter the names:\ \n\n\ Yoyodyne, Inc., hereby disclaims all copyright interest in the \ library `Frob' (a library for tweaking knobs) written by James Random Hacker.\ \n\n\ , 1 April 1990\n\ Ty Coon, President of Vice\ \n\n\ That's all there is to it!\n\ """; searchmonkey-0.8.1/src/regexwizard.c0000664000076400007660000003533410561732767014461 00000000000000/* * File: regexwizard.c * Description: Contains functions that control the regular expression wizard * Todo: Improve regular expression building, and extensively test code to find * bugs in the regular expression building. * Advanced syntax (e.g. {min, max} occurances) are missing */ #include #include /* Add regular expression support */ //#include #include "interface.h" /* glade requirement */ #include "support.h" /* glade requirement */ #include "regexwizard.h" /* * Callback helper: within test regular expression dialog box. * Update the regular expression test panel with matches within the user typed sample text. * TODO: This function should really reuse some of the existing search functions, as currently it re-writes * nearly every aspect of searching a text string for matches. */ void refreshTestResults(GtkWidget *widget) { GtkTextBuffer *tBuffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(lookup_widget(widget, "SampleTextView"))); GtkTextIter startIter, endIter; gtk_text_buffer_get_start_iter (tBuffer, &startIter); gtk_text_buffer_get_end_iter (tBuffer, &endIter); gchar *sampleText = gtk_text_buffer_get_text (tBuffer, &startIter, &endIter, FALSE); regmatch_t subMatches[MAX_SUB_MATCHES]; const gchar *testExpression = gtk_entry_get_text(GTK_ENTRY(lookup_widget(widget, "testEntry"))); regex_t test; gint i; gchar test2[256+1]; gint errorCode; gchar *charMatch = sampleText; gsize intMatch = 0; gint matchCount = 0; GtkEntry *status= GTK_ENTRY(lookup_widget(widget, "testResultStatus")); /* Clear tags, and compile regex */ gtk_entry_set_text(status, ""); gtk_text_buffer_remove_all_tags (tBuffer, &startIter, &endIter); errorCode = regcomp(&test, testExpression, REG_ICASE | REG_EXTENDED | REG_NEWLINE); if (errorCode != 0) { regerror (errorCode, &test, test2, 256); gtk_entry_set_text(status, test2); g_free(sampleText); return; } /* Find matches */ while (regexec(&test, charMatch, MAX_SUB_MATCHES, subMatches, 0) == 0) { /* Highlight code */ #ifdef NOT_YET for (i=0; ilen > 0) { gtk_widget_set_sensitive(lookup_widget(widget, "okRegExWizard"), TRUE); } else { gtk_widget_set_sensitive(lookup_widget(widget, "okRegExWizard"), FALSE); } /* Write validated regex or clear text on failure */ tmpStr = g_string_free(tmpGStr, FALSE); if (tmpStr != NULL) { gtk_entry_set_text(output, tmpStr); g_free(tmpStr); } return; gtk_entry_set_text(output, ""); /* Should never reach this.. */ } /* * Internal helper: within regular expression wizard. * Given references to each of the widgets, extracts the text in order to generate * the regular expression (Majority of work done in makeInterimRegex2). * The position entry refers to whether it is the start, mid or end entry. * The resulting string is returned to the caller - g_free after use. * TODO: Create enum typedef for position so that beginning, middle or end is more explicit. * TODO: Choose a better name for this function - see makeInterimRegex2 */ gchar *makeInterimRegex(GtkComboBox *type, GtkEntry *entry, GtkComboBox *repeatc, gint position) { gint iType = gtk_combo_box_get_active (type); const gchar *pEntry = gtk_entry_get_text(entry); gint iRepeat = gtk_combo_box_get_active (repeatc); return makeInterimRegex2(GTK_WIDGET(type), iType, pEntry, iRepeat, position); } /* * Internal helper: within regular expression wizard. * Given the text entries for a particular use entry row, and its position (start, mid, or end) * return the resulting regular expression, including necessary brackets and conversions. * Returned string must be free'd * TODO: Create enum typedef for the type variable, so that it is more explicit. * TODO: Create enum typedef for position so that beginning, middle or end is more explicit. * TODO: Choose a better name for this function - see makeInterimRegex */ gchar *makeInterimRegex2(GtkWidget *widget, gint type, const gchar *pEntry, gint repeatc, gint position) { GString *output; gchar *tmpStr; gboolean convertInternal = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "convertRegex"))); /* Exit early if empty field detected */ if ((pEntry[0] == '\0') && ((type >= REGWIZ_THE_CHAR) && (type <= REGWIZ_THE_PHRASE))) { return NULL; } /* Set body */ switch (type) { case REGWIZ_ANY_CHAR: output = g_string_new("."); break; case REGWIZ_THE_CHAR: output = convertRegex(pEntry, convertInternal); break; case REGWIZ_ANY_ONE_CHAR: output = convertRegex2(pEntry, convertInternal); g_string_prepend_c(output, '['); g_string_append_c(output, ']'); break; case REGWIZ_ANY_CHAR_EXCEPT: output = convertRegex2(pEntry, convertInternal); g_string_prepend(output, "[^"); g_string_append_c(output, ']'); break; case REGWIZ_THE_PHRASE: output = convertRegex(pEntry, convertInternal); g_string_prepend_c(output, '('); g_string_append_c(output, ')'); break; case REGWIZ_SPACE: output = g_string_new("\\s"); break; case REGWIZ_ANY_NUMERIC: output = g_string_new("\\d"); break; case REGWIZ_ANY_TEXT: output = g_string_new("\\w"); break; case REGWIZ_DONT_KNOW: default: return NULL; /* This is just an empty string */ } /* Set repeat symbol */ switch (repeatc) { case REGWIZ_REPEAT_ONE_PLUS: g_string_append_c(output, '+'); break; case REGWIZ_REPEAT_ZERO_PLUS: g_string_append_c(output, '*'); break; case REGWIZ_REPEAT_ZERO_ONE: g_string_append_c(output, '?'); break; default: /* Do nothing */ break; } /* Set prefix/affix symbol */ if (position == REGWIZ_START_TYPE) { g_string_prepend_c(output, '^'); } if (position == REGWIZ_END_TYPE) { g_string_append_c(output, '$'); } /* Free up the GString, but return a gchar array */ return g_string_free(output, FALSE); } /* * Internal helper: within regular expression wizard. * Given a regular expression entry, convert reserved charactors into their regular expression * defined alternatives. For example [ becomes \[, and ^ becomes \^. * For the most part, a preceeding backslash is added to the supplied letter * This function is only valid for strings not within square brackets. * Resulting string is returned (even if identical), and must always be free'd * If change is FALSE, then no conversion is done, but malloc'ed string is still returned. * TODO: Rename this function to be more specific - see convertRegex2 */ GString *convertRegex(const gchar *input, gboolean change) { GString *output; gint index = 0; if (!change) { return g_string_new(input); } output = g_string_sized_new(DEFAULT_GSTRING_SIZE); do { switch (input[index]) { case '[': case '\\': case '^': case '$': case '.': case '|': case '?': case '*': case '+': case '(': case ')': g_string_append_c(output, '\\'); break; default: break; } g_string_append_c(output, input[index]); index ++; } while (input[index] != '\0'); return output; } /* * Internal helper: within regular expression wizard. * Given a regular expression entry, convert reserved charactors into their regular expression * defined alternatives. * This function is only valid for strings within square brackets as different rules apply.. * Resulting string is returned (even if identical), and must always be free'd * TODO: Change is not currently used - is it needed? * TODO: Rename this function to be more specific - see convertRegex */ GString *convertRegex2(const gchar *input, gboolean change) { GString *output = g_string_sized_new(DEFAULT_GSTRING_SIZE); /* Create output */ gint index = 0; gint flags = 0; /* Using enumerations defined in header */ do { switch (input[index]) { case ']': flags |= INC_RIGHT_BRKT; break; case '^': flags |= INC_CARET; break; case '-': flags |= INC_MINUS; break; default: g_string_append_c(output, input[index]); break; } index++; } while (input[index] != '\0'); /* Deal with start/end special cases */ if (flags & INC_CARET) { g_string_append(output, "^"); } if (flags & INC_MINUS) { g_string_append(output, "-"); } if (flags & INC_RIGHT_BRKT) { g_string_prepend(output, "]"); } /* Return gchar, but free g_string */ return output; } /* * Callbacks helper: within regular expression wizard. * When mid-regular expression add button is pressed, append the entry into the * table view directly below the entry boxes. Each entry, and its order, correspond * to a new part to the regular expression. */ void appendTableRow(GtkWidget *widget, gint num, ...) // gchar *entries[]) { gint i; va_list ap; /* define 'ap' as a pointer to the input strings */ gint Inc=0; va_start(ap, num); GtkTreeIter iter; gchar *readString; GtkListStore *store = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(widget))); gtk_list_store_append (GTK_LIST_STORE(store), &iter); /* Loop throgh input strings, adding them to the current iter */ do { gtk_list_store_set (store, &iter, Inc, va_arg(ap, gchar *), -1); } while (++Inc < num); va_end(ap); } searchmonkey-0.8.1/src/callbacks.c0000664000076400007660000014720710561732767014050 00000000000000#ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include "interface.h" #include "support.h" #include "search.h" #include "lgpl.h" /* Lesser GPL license*/ #include "savestate.h" /* Allows config.ini to save/restore state*/ #include "regexwizard.h" /* Add support for regular expression wizard */ #include "systemio.h" /* System stuff, file import and export code */ #include "misc.h" /* Everything else */ #include "systemio.h" /* Add structure */ #include "callbacks.h" /* Top level definitions */ GtkWidget *testRegExDialog1 = NULL; GtkWidget *fileRegexWizard = NULL; GtkWidget *contextRegexWizard = NULL; void on_window1_destroy (GtkObject *object, gpointer user_data) { gtk_main_quit(); } void on_open_criteria1_activate (GtkMenuItem *menuitem, gpointer user_data) { importCriteria(GTK_WIDGET(menuitem)); } void on_save_criteria1_activate (GtkMenuItem *menuitem, gpointer user_data) { exportCriteria(GTK_WIDGET(menuitem)); } void on_save_results1_activate (GtkMenuItem *menuitem, gpointer user_data) { saveResults(GTK_WIDGET(menuitem)); } void on_print1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_print_preview1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_print_setup1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_quit1_activate (GtkMenuItem *menuitem, gpointer user_data) { GObject *window1 = G_OBJECT(lookup_widget(GTK_WIDGET(menuitem), "window1")); gtk_object_destroy(GTK_OBJECT(window1)); } void on_word_wrap1_activate (GtkMenuItem *menuitem, gpointer user_data) { gboolean setWordWrap; GtkTextView *textBox; if (getResultsViewHorizontal(GTK_WIDGET(menuitem))) { textBox = GTK_TEXT_VIEW(lookup_widget(GTK_WIDGET(menuitem), "textview1")); } else { textBox = GTK_TEXT_VIEW(lookup_widget(GTK_WIDGET(menuitem), "textview4")); } setWordWrap = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem)); gtk_text_view_set_wrap_mode(textBox, setWordWrap); } void on_set_font1_activate (GtkMenuItem *menuitem, gpointer user_data) { gchar *newFont; GtkWidget *textView; if (getResultsViewHorizontal(GTK_WIDGET(menuitem))) { textView = lookup_widget(GTK_WIDGET(menuitem), "textview1"); } else { textView = lookup_widget(GTK_WIDGET(menuitem), "textview4"); } GtkFontSelectionDialog *dialog = GTK_FONT_SELECTION_DIALOG(create_fontSelectionDialog()); PangoContext* context = gtk_widget_get_pango_context (textView); PangoFontDescription *desc = pango_context_get_font_description(context); newFont = pango_font_description_to_string(desc); gtk_font_selection_dialog_set_font_name(dialog, newFont); if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) { newFont = gtk_font_selection_dialog_get_font_name(dialog); if (newFont != NULL) { desc = pango_font_description_from_string (newFont); if (desc != NULL) { gtk_widget_modify_font (GTK_WIDGET(textView), desc); pango_font_description_free(desc); } g_free(newFont); } } gtk_widget_destroy(GTK_WIDGET(dialog)); } void on_set_highligting_colour1_activate (GtkMenuItem *menuitem, gpointer user_data) { GdkColor color, *cp; GtkTextView *textView; if (getResultsViewHorizontal(GTK_WIDGET(menuitem))) { textView = GTK_TEXT_VIEW(lookup_widget(GTK_WIDGET(menuitem), "textview1")); } else { textView = GTK_TEXT_VIEW(lookup_widget(GTK_WIDGET(menuitem), "textview4")); } GtkTextBuffer* textBuf = gtk_text_view_get_buffer (textView); GtkTextTagTable* tagTable = gtk_text_buffer_get_tag_table(textBuf); GtkTextTag* tag = gtk_text_tag_table_lookup(tagTable, "word_highlight"); GtkWidget *dialog = create_highlightColourDialog(); GtkColorSelection *colorsel = GTK_COLOR_SELECTION(lookup_widget(dialog, "color_selection1")); g_assert(textView != NULL); g_assert(textBuf != NULL); g_assert(tagTable != NULL); g_assert(tag != NULL); g_assert(dialog != NULL); g_assert(colorsel != NULL); g_object_get( G_OBJECT(tag), "foreground-gdk", &cp, NULL); gtk_color_selection_set_current_color(colorsel, cp); gdk_color_free(cp); if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) { GtkColorSelection *colorsel = GTK_COLOR_SELECTION(lookup_widget(dialog, "color_selection1")); gtk_color_selection_get_current_color(colorsel, &color); g_object_set( G_OBJECT(tag), "foreground-gdk", &color, NULL); } gtk_widget_destroy(dialog); } void on_cl_ear_history1_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkToggleButton *check; GtkComboBox *combo; gchar *activeText; GtkEntry *entry; GtkWidget *dialog = create_clearSearchHistoryDialog(); if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) { /* Clear file names? */ check = GTK_TOGGLE_BUTTON(lookup_widget(dialog, "clearFileNamesCheck")); if(gtk_toggle_button_get_active(check)) { clearComboBox2(lookup_widget(GTK_WIDGET(menuitem), "fileName")); clearComboBox2(lookup_widget(GTK_WIDGET(menuitem), "fileName2")); } /* Clear containing text? */ check = GTK_TOGGLE_BUTTON(lookup_widget(dialog, "clearContainingTextCheck")); if(gtk_toggle_button_get_active(check)) { clearComboBox(lookup_widget(GTK_WIDGET(menuitem), "containingText")); clearComboBox(lookup_widget(GTK_WIDGET(menuitem), "containingText2")); } /* Clear look in? */ check = GTK_TOGGLE_BUTTON(lookup_widget(dialog, "clearLookInCheck")); if(gtk_toggle_button_get_active(check)) { clearComboBox(lookup_widget(GTK_WIDGET(menuitem), "lookIn")); clearComboBox(lookup_widget(GTK_WIDGET(menuitem), "lookIn2")); } /* Clear size/modified? */ check = GTK_TOGGLE_BUTTON(lookup_widget(dialog, "resetSizeModifiedCheck")); if(gtk_toggle_button_get_active(check)) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(menuitem), "lessThanCheck")), FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(menuitem), "moreThanCheck")), FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(menuitem), "afterCheck")), FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(menuitem), "beforeCheck")), FALSE); entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(menuitem), "lessThanEntry")); gtk_entry_set_text(entry, ""); entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(menuitem), "moreThanEntry")); gtk_entry_set_text(entry, ""); entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(menuitem), "afterEntry")); gtk_entry_set_text(entry, ""); entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(menuitem), "beforeEntry")); gtk_entry_set_text(entry, ""); } } gtk_widget_destroy(dialog); } void on_delete1_activate (GtkMenuItem *menuitem, gpointer user_data) { deleteFile (GTK_WIDGET(menuitem)); } void on_copy2_activate (GtkMenuItem *menuitem, gpointer user_data) { copyFile (GTK_WIDGET(menuitem)); } void on_toolbar2_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *widget = lookup_widget(GTK_WIDGET(menuitem), "toolbar1"); if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { gtk_widget_show(widget); } else { gtk_widget_hide(widget); } } void on_status_bar1_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *widget = lookup_widget(GTK_WIDGET(menuitem), "hbox41"); /* Contains status plus progress bar */ if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { gtk_widget_show(widget); } else { gtk_widget_hide(widget); } } void on_file_name1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { columnClick(GTK_WIDGET(menuitem), FILENAME_COLUMN); } } void on_location1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { columnClick(GTK_WIDGET(menuitem), LOCATION_COLUMN); } } void on_size1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { columnClick(GTK_WIDGET(menuitem), INT_SIZE_COLUMN); } } void on_type1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { columnClick(GTK_WIDGET(menuitem), TYPE_COLUMN); } } void on_modified1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { columnClick(GTK_WIDGET(menuitem), INT_MODIFIED_COLUMN); } } void on_search1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_configuration1_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *dialog = create_configDialog(); realize_configDialog(dialog); switch (gtk_dialog_run(GTK_DIALOG(dialog))) { case GTK_RESPONSE_OK: unrealize_configDialog(dialog); break; default: break; } gtk_widget_destroy(dialog); } void on_test1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_reg_expression1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (testRegExDialog1 == NULL) { testRegExDialog1 = create_testRegExDialog(); gtk_widget_show(testRegExDialog1); } else { gtk_widget_grab_focus(lookup_widget(testRegExDialog1, "testEntry")); } } void on_1_search1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_contents1_activate (GtkMenuItem *menuitem, gpointer user_data) { SMsyscall(_("http://searchmonkey.sourceforge.net/index.php/SearchMonkey_User_Guide"), BROWSER_LIST); } void on_support1_activate (GtkMenuItem *menuitem, gpointer user_data) { SMsyscall(_("http://sourceforge.net/support/getsupport.php?group_id=175143"), BROWSER_LIST); } void on_about1_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *aboutDialog = create_aboutSearchmonkey(); GtkWidget *tmpWidget; gchar *tmpString; PangoAttrList *list; PangoAttribute *attr; /* Set searchmonkey version text and font size */ tmpWidget = lookup_widget(aboutDialog, "aboutVersion"); tmpString = g_strdup_printf(_("searchmonkey %s"), VERSION); gtk_label_set_text(GTK_LABEL(tmpWidget), tmpString); g_free(tmpString); list = pango_attr_list_new(); /* Create list with 1 reference */ attr = pango_attr_scale_new(PANGO_SCALE_X_LARGE); pango_attr_list_change(list, attr); /* pango_attr_list_insert */ gtk_label_set_attributes(GTK_LABEL(tmpWidget), list); pango_attr_list_unref(list); /* Destroy 1 attribute, plus list */ /* Start widget */ gtk_widget_show(aboutDialog); } void on_printResult_clicked (GtkButton *button, gpointer user_data) { // g_print("Creating XML data...\n"); // g_print("Printing XML data...\n"); } void on_Question_clicked (GtkButton *button, gpointer user_data) { SMsyscall(_("http://sourceforge.net/forum/?group_id=175143"), BROWSER_LIST); } void on_containingText_changed (GtkComboBox *combobox, gpointer user_data) { GtkToggleButton *checkBox; if (getExpertSearchMode(GTK_WIDGET(combobox)) == TRUE) { checkBox = GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(combobox), "containingTextCheck")); } else { checkBox = GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(combobox), "containingTextCheck2")); } gchar *test = gtk_combo_box_get_active_text (combobox); if (test == NULL){ gtk_toggle_button_set_active(checkBox, FALSE); return; } else { if (*test == '\0') { gtk_toggle_button_set_active(checkBox, FALSE); } else { gtk_toggle_button_set_active(checkBox, TRUE); } free(test); } } void on_folderSelector_clicked (GtkButton *button, gpointer user_data) { GtkWidget *dialog; GtkComboBox *fileWidget; gint result; gchar *currentFolderName = gtk_combo_box_get_active_text(GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "lookIn"))); dialog = create_folderChooserDialog(); gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), currentFolderName); g_free(currentFolderName); if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) { char *filename; filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog)); if (getExpertSearchMode(GTK_WIDGET(button)) == TRUE) { fileWidget = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "lookIn")); } else { fileWidget = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "lookIn2")); } addUniqueRow(GTK_WIDGET(fileWidget), filename); g_free (filename); } gtk_widget_destroy (dialog); } void on_lessThanCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *pTextBox = lookup_widget(GTK_WIDGET(togglebutton), "lessThanEntry"); gtk_widget_set_sensitive(pTextBox, gtk_toggle_button_get_active(togglebutton)); } void on_beforeCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *pTextBox = lookup_widget(GTK_WIDGET(togglebutton), "beforeEntry"); gtk_widget_set_sensitive(pTextBox, gtk_toggle_button_get_active(togglebutton)); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(togglebutton), "beforeCalendarBtn"), gtk_toggle_button_get_active(togglebutton)); } void on_moreThanCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *pTextBox = lookup_widget(GTK_WIDGET(togglebutton), "moreThanEntry"); gtk_widget_set_sensitive(pTextBox, gtk_toggle_button_get_active(togglebutton)); } void on_afterCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *pTextBox = lookup_widget(GTK_WIDGET(togglebutton), "afterEntry"); gtk_widget_set_sensitive(pTextBox, gtk_toggle_button_get_active(togglebutton)); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(togglebutton), "afterCalendarBtn"), gtk_toggle_button_get_active(togglebutton)); } void on_expertUserCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *menuitem; if (gtk_toggle_button_get_active(togglebutton)) { /* Set expert mode */ gtk_notebook_set_current_page(GTK_NOTEBOOK(lookup_widget(GTK_WIDGET(togglebutton), "searchNotebook")), 1); } else { /* Set basic mode */ gtk_notebook_set_current_page(GTK_NOTEBOOK(lookup_widget(GTK_WIDGET(togglebutton), "searchNotebook")), 0); } } gboolean on_treeview1_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data) { GtkTreeView *treeview = GTK_TREE_VIEW(widget); GtkTreePath *path; GtkTreeViewDropPosition *pos; GtkTreeSelection *selection = gtk_tree_view_get_selection (treeview); /* Capture right button click */ if ((event->button == 3) && (event->type == GDK_BUTTON_PRESS)) { if (gtk_tree_view_get_path_at_pos (treeview, event->x, event->y, &path, NULL, NULL, NULL)) { gtk_tree_selection_select_path (selection, path); gtk_tree_path_free(path); do_popup_menu(widget, event); } return TRUE; /* or double click detect */ } else if ((event->button == 1) && (event->type == GDK_2BUTTON_PRESS)) { gchar *fullFileName = getFullFileName(treeview, FULL_FILENAME_COLUMN); if (fullFileName != NULL) { SMsyscall(fullFileName, TEXTEDITOR_LIST); g_free(fullFileName); } return TRUE; } return FALSE; } gboolean on_treeview1_popup_menu (GtkWidget *widget, gpointer user_data) { do_popup_menu(widget, NULL); return TRUE; } void on_open1_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkTreeView *treeView; gchar *fullFileName; if (getResultsViewHorizontal(GTK_WIDGET(menuitem))) { treeView = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(menuitem), "treeview1")); } else { treeView = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(menuitem), "treeview2")); } fullFileName = getFullFileName(treeView, FULL_FILENAME_COLUMN); if (fullFileName != NULL) { SMsyscall(fullFileName, TEXTEDITOR_LIST); g_free(fullFileName); } detachMenu(menuitem); } void on_copy3_activate (GtkMenuItem *menuitem, gpointer user_data) { copyFile(GTK_WIDGET(menuitem)); detachMenu(menuitem); } void on_delete2_activate (GtkMenuItem *menuitem, gpointer user_data) { deleteFile (GTK_WIDGET(menuitem)); detachMenu(menuitem); } void on_explore1_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkTreeView *treeView; gchar *location; if (getResultsViewHorizontal(GTK_WIDGET(menuitem))) { treeView = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(menuitem), "treeview1")); } else { treeView = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(menuitem), "treeview2")); } location = getFullFileName(treeView, LOCATION_COLUMN); if (location != NULL) { SMsyscall(location, FILEEXPLORER_LIST); g_free(location); } detachMenu(menuitem); } void on_cancel1_activate (GtkMenuItem *menuitem, gpointer user_data) { detachMenu(menuitem); } void on_testRegExDialog_response (GtkDialog *dialog, gint response_id, gpointer user_data) { switch (response_id) { case GTK_RESPONSE_APPLY: refreshTestResults(GTK_WIDGET(dialog)); break; default: testRegExDialog1 = NULL; gtk_widget_destroy(GTK_WIDGET(dialog)); break; } } void on_SampleTextView_realize (GtkWidget *widget, gpointer user_data) { GtkTextBuffer *buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW(widget)); GtkTextTag *tag; tag = gtk_text_buffer_create_tag (buffer, "word_highlight", "foreground", "blue", "underline", PANGO_UNDERLINE_SINGLE, "underline-set", TRUE, NULL); #ifdef NOT_YET tag = gtk_text_buffer_create_tag (buffer, "word_highlight1", "foreground", "lightBlue", NULL); #endif } void on_expWizard_response (GtkDialog *dialog, gint response_id, gpointer user_data) { gint typeRegex = (gint)g_object_get_data(G_OBJECT(dialog), "regexType"); GtkEntry *output = GTK_ENTRY(lookup_widget(GTK_WIDGET(dialog), "resultExp")); gchar *finalRegex; GtkComboBox *retCombo; if (typeRegex == FILE_REGEX_TYPE) { retCombo = GTK_COMBO_BOX(lookup_widget(mainWindowApp, "fileName")); } else if (typeRegex == CONTEXT_REGEX_TYPE) { retCombo = GTK_COMBO_BOX(lookup_widget(mainWindowApp, "containingText")); } else { g_print (_("Internal Error! Unable to find calling wizard type!")); gtk_widget_destroy(GTK_WIDGET(dialog)); return; } switch (response_id) { case GTK_RESPONSE_OK: finalRegex = (gchar *)gtk_entry_get_text(output); if (*finalRegex != '\0') { addUniqueRow(GTK_WIDGET(retCombo), finalRegex); } /* Do not break here! We want the widget to be destroyed! */ case GTK_RESPONSE_HELP: SMsyscall(_("http://searchmonkey.sourceforge.net/index.php/Regular_expression_builder"), BROWSER_LIST); break; default: if (typeRegex == FILE_REGEX_TYPE) { fileRegexWizard = NULL; } else if (typeRegex == CONTEXT_REGEX_TYPE) { contextRegexWizard = NULL; } gtk_widget_destroy(GTK_WIDGET(dialog)); break; } } void on_startType_changed (GtkComboBox *combobox, gpointer user_data) { GtkWidget *entry = lookup_widget(GTK_WIDGET(combobox), "startEntry"); GtkWidget *repeat = lookup_widget(GTK_WIDGET(combobox), "startOccurance"); updateTypeChangeEntry(combobox, entry, repeat); updateRegExWizard(GTK_WIDGET(combobox)); } void on_startEntry_changed (GtkEditable *editable, gpointer user_data) { updateRegExWizard(GTK_WIDGET(editable)); } void on_startOccurance_changed (GtkComboBox *combobox, gpointer user_data) { updateRegExWizard(GTK_WIDGET(combobox)); } void on_midType_changed (GtkComboBox *combobox, gpointer user_data) { GtkWidget *entry = lookup_widget(GTK_WIDGET(combobox), "midEntry"); GtkWidget *repeat = lookup_widget(GTK_WIDGET(combobox), "midOccurance"); updateTypeChangeEntry(combobox, entry, repeat); updateRegExWizard(GTK_WIDGET(combobox)); } void on_midEntry_changed (GtkEditable *editable, gpointer user_data) { updateRegExWizard(GTK_WIDGET(editable)); } void on_midOccurance_changed (GtkComboBox *combobox, gpointer user_data) { updateRegExWizard(GTK_WIDGET(combobox)); } void on_endType_changed (GtkComboBox *combobox, gpointer user_data) { GtkWidget *entry = lookup_widget(GTK_WIDGET(combobox), "endEntry"); GtkWidget *repeat = lookup_widget(GTK_WIDGET(combobox), "endOccurance"); updateTypeChangeEntry(combobox, entry, repeat); updateRegExWizard(GTK_WIDGET(combobox)); } void on_endEntry_changed (GtkEditable *editable, gpointer user_data) { updateRegExWizard(GTK_WIDGET(editable)); } void on_endOccurance_changed (GtkComboBox *combobox, gpointer user_data) { updateRegExWizard(GTK_WIDGET(combobox)); } void on_regExpWizard1_clicked (GtkButton *button, gpointer user_data) { /* Create filename wizard */ if (fileRegexWizard == NULL) { fileRegexWizard = create_expWizard(); g_object_set_data(G_OBJECT(fileRegexWizard), "regexType", (gpointer)FILE_REGEX_TYPE); /* file type */ gtk_widget_show(fileRegexWizard); } else { gtk_widget_grab_focus(lookup_widget(fileRegexWizard, "startEntry")); } } void on_regExpWizard2_clicked (GtkButton *button, gpointer user_data) { /* Create filename wizard */ if (contextRegexWizard == NULL) { contextRegexWizard = create_expWizard(); g_object_set_data(G_OBJECT(contextRegexWizard), "regexType", (gpointer)CONTEXT_REGEX_TYPE); /* file type */ gtk_widget_show(contextRegexWizard); } else { gtk_widget_grab_focus(lookup_widget(contextRegexWizard, "startEntry")); } } void on_convertRegex_toggled (GtkToggleButton *togglebutton, gpointer user_data) { updateRegExWizard(GTK_WIDGET(togglebutton)); } void on_addMidContents_clicked (GtkButton *button, gpointer user_data) { GtkComboBox *type = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midType")); GtkEntry *entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midEntry")); GtkComboBox *repeat = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midOccurance")); GtkEntry *iterStr = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection")); appendTableRow(lookup_widget(GTK_WIDGET(button), "midTreeView"), 5, gtk_combo_box_get_active_text(type), gtk_entry_get_text(entry), gtk_combo_box_get_active_text(repeat), gtk_combo_box_get_active(type), gtk_combo_box_get_active(repeat)); gtk_combo_box_set_active(type, 0); gtk_entry_set_text(entry, ""); gtk_combo_box_set_active(repeat, 0); gtk_entry_set_text(iterStr, ""); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(button), "deleteSelectedContents"), TRUE); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(button), "modifiedSelectedContents"), TRUE); } void on_modifiedSelectedContents_clicked (GtkButton *button, gpointer user_data) { GtkTreeView *treeview = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(button), "midTreeView")); GtkTreeSelection *selection = gtk_tree_view_get_selection (treeview); GtkTreeIter iter; GtkTreeModel *model; gint type = REGWIZ_NONE; gchar *entry = NULL; gint repeat = REGWIZ_NONE; gchar *iterStr; g_assert(treeview != NULL); g_assert(selection != NULL); if (gtk_tree_selection_get_selected (selection, &model, &iter)) { g_assert(model != NULL); gtk_tree_model_get (model, &iter, REGEX_TYPE_INT_COLUMN, &type, REGEX_ENTRY_COLUMN, &entry, REGEX_REPEAT_INT_COLUMN, &repeat, -1); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midType")), type); gtk_entry_set_text(GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midEntry")), entry); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midOccurance")), repeat); g_free (entry); iterStr = gtk_tree_model_get_string_from_iter (model, &iter); if (iterStr != NULL) { gtk_entry_set_text(GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection")), iterStr); g_free(iterStr); } } } void on_deleteSelectedContents_clicked (GtkButton *button, gpointer user_data) { GtkTreeView *treeview = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(button), "midTreeView")); GtkTreeSelection *selection = gtk_tree_view_get_selection (treeview); GtkTreeIter iter; GtkTreeModel *model; GtkComboBox *type = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midType")); GtkEntry *entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midEntry")); GtkEntry *iterC = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection")); GtkComboBox *repeat = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midOccurance")); if (gtk_tree_selection_get_selected (selection, &model, &iter)) { gtk_list_store_remove(GTK_LIST_STORE(model), &iter); gtk_combo_box_set_active(type, 0); gtk_entry_set_text(entry, ""); gtk_combo_box_set_active(repeat, 0); gtk_entry_set_text(iterC, ""); } if (gtk_tree_model_iter_n_children (model, NULL) <= 0) { gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(button), "modifiedSelectedContents"), FALSE); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(button), "deleteSelectedContents"), FALSE); } updateRegExWizard(GTK_WIDGET(button)); } void on_midTreeView_realize (GtkWidget *widget, gpointer user_data) { GtkTreeViewColumn *column; GtkCellRenderer *renderer = gtk_cell_renderer_text_new (); GtkListStore *store = gtk_list_store_new (REGEX_N_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT); gtk_tree_view_set_model (GTK_TREE_VIEW(widget), GTK_TREE_MODEL(store)); g_object_unref (G_OBJECT (store)); /* Create columns */ column = gtk_tree_view_column_new_with_attributes ("_(Type)", renderer, "text", REGEX_TYPE_COLUMN, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (widget), column); column = gtk_tree_view_column_new_with_attributes ("_(Entry)", renderer, "text", REGEX_ENTRY_COLUMN, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (widget), column); column = gtk_tree_view_column_new_with_attributes ("_(Repeat)", renderer, "text", REGEX_REPEAT_COLUMN, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (widget), column); } void on_updateSelectedContents_clicked (GtkButton *button, gpointer user_data) { GtkTreeView *treeview = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(button), "midTreeView")); GtkTreeIter iter; GtkTreeModel *model = gtk_tree_view_get_model (treeview); GtkComboBox *type = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midType")); GtkEntry *entry = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midEntry")); GtkEntry *iterC = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection")); GtkComboBox *repeat = GTK_COMBO_BOX(lookup_widget(GTK_WIDGET(button), "midOccurance")); const gchar *iterStr = gtk_entry_get_text(GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection"))); g_assert (treeview != NULL); g_assert (model != NULL); g_assert (type != NULL); g_assert (entry != NULL); g_assert (repeat != NULL); g_assert (iterStr != NULL); if (*iterStr == '\0') { return; } gtk_tree_model_get_iter_from_string (model, &iter, iterStr); if (gtk_combo_box_get_active(type) == REGWIZ_DONT_KNOW) { gtk_list_store_remove(GTK_LIST_STORE(model), &iter); if (gtk_tree_model_iter_n_children (model, NULL) <= 0) { gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(button), "modifiedSelectedContents"), FALSE); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(button), "deleteSelectedContents"), FALSE); } gtk_combo_box_set_active(type, 0); gtk_entry_set_text(entry, ""); gtk_combo_box_set_active(repeat, 0); gtk_entry_set_text(iterC, ""); gtk_entry_set_text(GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection")), ""); return; /* Delete entry instead */ } gtk_list_store_set (GTK_LIST_STORE(model), &iter, REGEX_TYPE_COLUMN, gtk_combo_box_get_active_text(type), REGEX_ENTRY_COLUMN, gtk_entry_get_text(entry), REGEX_REPEAT_COLUMN, gtk_combo_box_get_active_text(repeat), REGEX_TYPE_INT_COLUMN, gtk_combo_box_get_active(type), REGEX_REPEAT_INT_COLUMN, gtk_combo_box_get_active(repeat), -1); gtk_combo_box_set_active(type, 0); gtk_entry_set_text(entry, ""); gtk_combo_box_set_active(repeat, 0); gtk_entry_set_text(iterC, ""); gtk_entry_set_text(GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "midSelection")), ""); } void on_midSelection_changed (GtkEditable *editable, gpointer user_data) { const gchar *selection = gtk_entry_get_text(GTK_ENTRY(editable)); if (*selection != '\0') { gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(editable), "updateSelectedContents"), TRUE); } else { gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(editable), "updateSelectedContents"), FALSE); } } void on_expWizard_realize (GtkWidget *widget, gpointer user_data) { gint widgetType = (gint)g_object_get_data(G_OBJECT(widget), "regexType"); if (widgetType == FILE_REGEX_TYPE) { gtk_window_set_title (GTK_WINDOW (fileRegexWizard), _("File Expression Wizard")); } else if (widgetType == CONTEXT_REGEX_TYPE) { gtk_window_set_title (GTK_WINDOW (contextRegexWizard), _("Context Expression Wizard")); } gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(widget, "startType")), REGWIZ_DONT_KNOW); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(widget, "startOccurance")), REGWIZ_REPEAT_ONCE); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(widget, "midType")), REGWIZ_DONT_KNOW); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(widget, "midOccurance")), REGWIZ_REPEAT_ONCE); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(widget, "endType")), REGWIZ_DONT_KNOW); gtk_combo_box_set_active(GTK_COMBO_BOX(lookup_widget(widget, "endOccurance")), REGWIZ_REPEAT_ONCE); } void on_midTreeView_drag_end (GtkWidget *widget, GdkDragContext *drag_context, gpointer user_data) { updateRegExWizard(widget); } void on_configDialog_realize (GtkWidget *widget, gpointer user_data) { realize_configDialog(widget); } void on_autoFindExe_clicked (GtkButton *button, gpointer user_data) { GtkWidget *dialog = create_autoComplete(); GtkProgressBar *pbar = GTK_PROGRESS_BAR(lookup_widget(dialog, "progressbar3")); userExeData *exeData = g_malloc0(sizeof(userExeData)); /* Attach data to the dialog */ exeData->parent = GTK_WIDGET(button); gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog), GTK_RESPONSE_OK, FALSE); gtk_progress_bar_set_fraction(pbar, 0); gtk_progress_bar_set_text(pbar, _("0%")); g_object_set_data_full(G_OBJECT(dialog), "exeData", exeData, g_free_exeData); /* Spawn idle iterator, and show status dialog */ exeData->gid = g_timeout_add(40, getExeData, dialog); /* Slow iterations down by using timeouts */ gtk_widget_show(dialog); } void on_online_release_notes1_activate (GtkMenuItem *menuitem, gpointer user_data) { /* Browse to a new release notes subset. Note redirect required by website */ gchar *website = g_strdup_printf(_("http://%s.sf.net/index.php?title=V%s_Release_Notes"), PACKAGE, VERSION); SMsyscall(website, BROWSER_LIST); } void on_configResetAll_clicked (GtkButton *button, gpointer user_data) { gchar *searchmonkeyExe = g_object_get_data(G_OBJECT(mainWindowApp), "argvPointer"); GtkWidget *confirmDialog = gtk_message_dialog_new (GTK_WINDOW(lookup_widget(GTK_WIDGET(button), "configDialog")), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, _("Are you sure that you wish to delete the config file, and restart searchmonkey?")); if (gtk_dialog_run (GTK_DIALOG (confirmDialog)) == GTK_RESPONSE_OK) { /* Delete the config file, and disable saving on exit - attempt to restart searchmonkey too? */ if (g_remove(gConfigFile) != 0) { g_print(_("Error! Unable to remove config file %s.\n"), gConfigFile); } g_object_set_data(G_OBJECT(mainWindowApp), CONFIG_DISABLE_SAVE_CONFIG_STRING, GINT_TO_POINTER(CONFIG_DISABLE_SAVE_CONFIG)); g_spawn_command_line_async (searchmonkeyExe, NULL); /* Assume it worked */ gtk_dialog_response (GTK_DIALOG(lookup_widget(GTK_WIDGET(button), "configDialog")), GTK_RESPONSE_REJECT); gtk_main_quit(); /* Exit this instance */ return; } gtk_widget_destroy (confirmDialog); } void on_configSaveNow_clicked (GtkButton *button, gpointer user_data) { GKeyFile *keyString = getGKeyFile(GTK_WIDGET(mainWindowApp)); /* Immediately unrealize check button */ unrealizeToggle(GTK_WIDGET(button), keyString, "configuration", "configPromptSave"); storeGKeyFile(keyString); setConfigFileLocation (GTK_WIDGET(button)); } void on_forums1_activate (GtkMenuItem *menuitem, gpointer user_data) { SMsyscall(_("http://sf.net/forum/?group_id=175143"), BROWSER_LIST); } void on_matches1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { columnClick(GTK_WIDGET(menuitem), MATCHES_COUNT_COLUMN); } } void on_window1_unrealize (GtkWidget *widget, gpointer user_data) { unrealize_searchmonkeyWindow(widget); /* Initialise everything possible immediately */ } void on_window1_realize (GtkWidget *widget, gpointer user_data) { realize_searchmonkeyWindow(widget); /* Initialise everything possible immediately */ } gboolean on_configResultEOL_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) { checkCsvEntry(GTK_ENTRY(lookup_widget(widget, "configResultEOL"))); return FALSE; } gboolean on_configResultEOF_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) { checkCsvEntry(GTK_ENTRY(lookup_widget(widget, "configResultEOF"))); return FALSE; } gboolean on_configResultDelimiter_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) { checkCsvEntry(GTK_ENTRY(lookup_widget(widget, "configResultDelimiter"))); return FALSE; } void on_newInstance1_activate (GtkMenuItem *menuitem, gpointer user_data) { spawnNewSearchmonkey(); } void on_playButton_activate (GtkMenuItem *menuitem, gpointer user_data) { start_search_thread(GTK_WIDGET(menuitem)); } void on_stopButton_activate (GtkMenuItem *menuitem, gpointer user_data) { stop_search_thread(GTK_WIDGET(menuitem)); } void on_horizontal_results1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { setResultsViewHorizontal(GTK_WIDGET(menuitem), TRUE); } } void on_vertical_results1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))) { setResultsViewHorizontal(GTK_WIDGET(menuitem), FALSE); /* default to vertical */ } } void on_importCriteria_clicked (GtkToolButton *toolbutton, gpointer user_data) { importCriteria(GTK_WIDGET(toolbutton)); } void on_exportCriteria_clicked (GtkToolButton *toolbutton, gpointer user_data) { exportCriteria(GTK_WIDGET(toolbutton)); } void on_saveResults_clicked (GtkToolButton *toolbutton, gpointer user_data) { saveResults(GTK_WIDGET(toolbutton)); } void on_printResults_clicked (GtkToolButton *toolbutton, gpointer user_data) { } void on_newInstance2_clicked (GtkToolButton *toolbutton, gpointer user_data) { spawnNewSearchmonkey(); } void on_playButton2_clicked (GtkToolButton *toolbutton, gpointer user_data) { start_search_thread(GTK_WIDGET(toolbutton)); } void on_stopButton2_clicked (GtkToolButton *toolbutton, gpointer user_data) { stop_search_thread(GTK_WIDGET(toolbutton)); } void on_playButton_clicked (GtkButton *button, gpointer user_data) { start_search_thread(GTK_WIDGET(button)); } void on_stopButton_clicked (GtkButton *button, gpointer user_data) { stop_search_thread(GTK_WIDGET(button)); } void on_searchNotebook_switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data) { guint old_page_num = gtk_notebook_get_current_page(notebook); if (old_page_num == 0) { /* If leaving basic mode - save settings */ setExpertSearchMode(GTK_WIDGET(notebook), TRUE); } else if (old_page_num == 1) { /* If leaving expert mode - save settings */ setExpertSearchMode(GTK_WIDGET(notebook), FALSE); } else { if (page_num == 0) { /* If going to basic mode - restore settings */ setExpertSearchMode(GTK_WIDGET(notebook), FALSE); } else if (page_num == 1) { /* If going to expert mode - restore settings */ setExpertSearchMode(GTK_WIDGET(notebook), TRUE); } } } void on_aboutSearchmonkey_response (GtkDialog *dialog, gint response_id, gpointer user_data) { GtkWidget *creditsDialog; if (response_id == GTK_RESPONSE_OK) { /* Show credits */ creditsDialog = create_creditsDialog(); gtk_widget_show(creditsDialog); } else { /* Otherwise destroy about box */ gtk_widget_destroy(GTK_WIDGET(dialog)); } } void on_autosize_columns_activate (GtkMenuItem *menuitem, gpointer user_data) { GKeyFile *keyString = getGKeyFile(GTK_WIDGET(mainWindowApp)); gboolean autoColumnWidth = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem)); g_assert(keyString != NULL); realizeTreeviewColumns (GTK_WIDGET(mainWindowApp), keyString, "history", "treeview", autoColumnWidth); } void on_edit_file1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_open_folder1_activate (GtkMenuItem *menuitem, gpointer user_data) { } void on_folderDepthCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { gboolean checked = gtk_toggle_button_get_active(togglebutton); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(togglebutton), "folderDepthSpin"), checked); /* Control spin sensitivity */ if (checked) { /* Re-enable folder recursion enable, if depth set */ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(togglebutton), "searchSubfoldersCheck")), TRUE); } } void on_searchSubfoldersCheck_toggled (GtkToggleButton *togglebutton, gpointer user_data) { if (!gtk_toggle_button_get_active(togglebutton)) { /* Disable depth limit, if recurse disabled */ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(togglebutton), "folderDepthCheck")), FALSE); } } void on_dosExpressionRadioFile_clicked (GtkButton *button, gpointer user_data) { if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button))) { changeModel(GTK_WIDGET(button), "regex", "noregex"); } } void on_regularExpressionRadioFile_clicked (GtkButton *button, gpointer user_data) { if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button))) { changeModel(GTK_WIDGET(button), "noregex", "regex"); } } void on_afterCalenderBtn_clicked (GtkButton *button, gpointer user_data) { GtkEntry *dateEntry = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "afterEntry")); gchar* newDate = getDate(gtk_entry_get_text(dateEntry)); gtk_entry_set_text(dateEntry, newDate); g_free(newDate); } void on_beforeCalendatBtn_clicked (GtkButton *button, gpointer user_data) { GtkEntry *dateEntry = GTK_ENTRY(lookup_widget(GTK_WIDGET(button), "beforeEntry")); gchar* newDate = getDate(gtk_entry_get_text(dateEntry)); gtk_entry_set_text(dateEntry, newDate); g_free(newDate); } gboolean on_regexp_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) { gchar * regexp; guint flags; gchar* error = _("Error! Invalid 'file name' regular expression"); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "regularExpressionRadioFile")))) { if (getExtendedRegexMode(widget)) { flags |= REG_EXTENDED; } flags |= REG_NOSUB; regexp = gtk_combo_box_get_active_text(GTK_COMBO_BOX(widget)); if (test_regexp(regexp, flags, error)) { addUniqueRow(widget, regexp); } } return FALSE; } gboolean on_regexp2_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) { gchar * regexp; guint flags; gchar* error = _("Error! Invalid 'containing text' regular expression"); if (getExtendedRegexMode(widget)) { flags |= REG_EXTENDED; } flags |= REG_NOSUB; regexp = gtk_combo_box_get_active_text(GTK_COMBO_BOX(widget)); if (test_regexp(regexp, flags, error)) { addUniqueRow(widget, regexp); } return FALSE; } void on_limitResultsCheckResults_toggled (GtkToggleButton *togglebutton, gpointer user_data) { gboolean active = gtk_toggle_button_get_active(togglebutton); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(togglebutton), "limit_results_hbox"), active); } void on_showLinesCheckResults_toggled (GtkToggleButton *togglebutton, gpointer user_data) { gboolean active = gtk_toggle_button_get_active(togglebutton); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(togglebutton), "show_line_contents_hbox"), active); } gboolean on_searchNotebook_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) { GtkWidget *notebook = lookup_widget(widget, "searchNotebook"); guint old_page_num = gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook)); if (old_page_num == 0) { /* If currently showing basic mode - then save these settings */ setExpertSearchMode(notebook, TRUE); } else { /* Otherwise use expert settings as the default */ setExpertSearchMode(notebook, FALSE); } return FALSE; } void on_limitContentsCheckResults_toggled (GtkToggleButton *togglebutton, gpointer user_data) { gboolean active = gtk_toggle_button_get_active(togglebutton); gtk_widget_set_sensitive(lookup_widget(GTK_WIDGET(togglebutton), "limit_contents_hbox"), active); } void on_autoComplete_response (GtkDialog *dialog, gint response_id, gpointer user_data) { userExeData *exeData = g_object_get_data(G_OBJECT(dialog), "exeData"); GtkWidget *parent = exeData->parent; GtkWidget *widget = GTK_WIDGET(dialog); GtkWidget *choosers[3]; gint i,j; if (response_id == GTK_RESPONSE_OK) { /* Can only happen with valid data.. */ /* Store new values into configuration */ choosers[BROWSER_LIST] = lookup_widget(parent, "configWebBrowser"); choosers[TEXTEDITOR_LIST] = lookup_widget(parent, "configTextEditor"); choosers[FILEEXPLORER_LIST] = lookup_widget(parent, "configFileExplorer"); for (j=0; jretStr[j][i] != NULL) { gtk_entry_set_text(GTK_ENTRY(choosers[j]), exeData->retStr[j][i]); break; } } } } else { /* Assume cancelled */ g_source_remove(exeData->gid); /* Stop timeout (just in case) */ } /* Clean exit */ gtk_widget_destroy(GTK_WIDGET(dialog)); } searchmonkey-0.8.1/src/search.c0000664000076400007660000015136610561732767013377 00000000000000#ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "interface.h" /* glade requirement */ #include "support.h" /* glade requirement */ #include "search.h" /* Local headers + global stuff */ #include "savestate.h" /* library to save/restore config.ini settings */ #include "regexwizard.h" /* regular expression builder wizard */ #include "systemio.h" /* System stuff, file import and export code */ #include "misc.h" /* Everything else */ /*mutexes for searchdata and searchControl->cancelSearch */ GStaticMutex mutex_Data = G_STATIC_MUTEX_INIT; /* Global mutex used by savestate.c too */ GStaticMutex mutex_Control = G_STATIC_MUTEX_INIT; /* Global mutex used by savestate.c too*/ /* * Internal Helper: Converts the date/modified criteria into internal data format */ void getSearchExtras(GtkWidget *widget, searchControl *mSearchControl) { const gchar *after = gtk_entry_get_text(GTK_ENTRY(lookup_widget(widget, "afterEntry"))); const gchar *before = gtk_entry_get_text(GTK_ENTRY(lookup_widget(widget, "beforeEntry"))); const gchar *moreThan = gtk_entry_get_text(GTK_ENTRY(lookup_widget(widget, "moreThanEntry"))); const gchar *lessThan = gtk_entry_get_text(GTK_ENTRY(lookup_widget(widget, "lessThanEntry"))); const gint tmpDepth = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(lookup_widget(widget, "folderDepthSpin"))); const gint tmpLimit = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(lookup_widget(widget, "maxHitsSpinResults"))); const gint tmpContentLimit = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(lookup_widget(widget, "maxContentHitsSpinResults"))); const gint tmpLines = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(lookup_widget(widget, "showLinesSpinResults"))); gdouble tmpDouble; GDate date; GtkWidget *dialog; gchar buffer[MAX_FILENAME_STRING + 1]; struct tm tptr; gchar *endChar; if (getExpertSearchMode(widget) == FALSE) { mSearchControl->numExtraLines = 0; mSearchControl->flags |= SEARCH_EXTRA_LINES; return; } /* Read extra lines spin box */ mSearchControl->numExtraLines = tmpLines; if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "showLinesCheckResults")))) { mSearchControl->flags |= SEARCH_EXTRA_LINES; } /* Read result limit option */ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "limitContentsCheckResults")))) { mSearchControl->limitContentResults = tmpContentLimit; mSearchControl->flags |= SEARCH_LIMIT_CONTENT_SHOWN; } /* Read result limit option */ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "limitResultsCheckResults")))) { mSearchControl->limitResults = tmpLimit; mSearchControl->flags |= LIMIT_RESULTS_SET; } /* Read folder depth setting */ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "folderDepthCheck")))) { mSearchControl->folderDepth = tmpDepth; mSearchControl->flags |= DEPTH_RESTRICT_SET; } /* Read file min/max size strings */ if ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "moreThanCheck")))) && (moreThan != NULL)) { tmpDouble = strtod(moreThan, &endChar); if (tmpDouble <= 0) { dialog = gtk_message_dialog_new (GTK_WINDOW(widget), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! MoreThan file size must be positive value")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return; } g_ascii_formatd (buffer, MAX_FILENAME_STRING, "%1.1f", tmpDouble); gtk_entry_set_text(GTK_ENTRY(lookup_widget(widget, "moreThanEntry")), buffer); mSearchControl->moreThan = (gsize)(1024 * tmpDouble); mSearchControl->flags |= SEARCH_MORETHAN_SET; } if ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "lessThanCheck")))) && (lessThan != NULL)) { tmpDouble = strtod (lessThan, &endChar); if (tmpDouble <= 0) { dialog = gtk_message_dialog_new (GTK_WINDOW(widget), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! LessThan file size must be positive value")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return; } g_ascii_formatd (buffer, MAX_FILENAME_STRING, "%1.1f", tmpDouble); gtk_entry_set_text(GTK_ENTRY(lookup_widget(widget, "lessThanEntry")), buffer); mSearchControl->lessThan = (gsize)(1024 * tmpDouble); mSearchControl->flags |= SEARCH_LESSTHAN_SET; } /* Read date strings */ if ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "afterCheck")))) && ((after != NULL) && (after != '\0'))) { g_date_set_parse(&date, after); if (!g_date_valid(&date)) { dialog = gtk_message_dialog_new (GTK_WINDOW(widget), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! Invalid 'After' date - format as dd/mm/yyyy or dd mmm yy.")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return; } if (g_date_strftime(buffer, MAX_FILENAME_STRING, _("%d %b %Y"), &date) > 0) { gtk_entry_set_text(GTK_ENTRY(lookup_widget(widget, "afterEntry")), buffer); } setTimeFromDate(&tptr, &date); mSearchControl->after = mktime(&tptr); mSearchControl->flags |= SEARCH_AFTER_SET; } if ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "beforeCheck")))) && ((before != NULL) && (before != '\0'))) { g_date_set_parse(&date, before); if (!g_date_valid(&date)) { dialog = gtk_message_dialog_new (GTK_WINDOW(widget), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! Invalid 'Before' date - format as dd/mm/yyyy or dd mmm yy.")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return; } if (g_date_strftime(buffer, MAX_FILENAME_STRING, _("%d %b %Y"), &date) > 0) { gtk_entry_set_text(GTK_ENTRY(lookup_widget(widget, "beforeEntry")), buffer); } setTimeFromDate(&tptr, &date); mSearchControl->before = mktime(&tptr); mSearchControl->flags |= SEARCH_BEFORE_SET; } } /* * Internal helper: scans the form, and converts all text entries into internal strings/dates/integers etc. * For example if the user provides a file name, then the equivalent regex is stored locally */ void getSearchCriteria(GtkWidget *widget, searchControl *mSearchControl) { mSearchControl->fileSearchIsRegEx = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "regularExpressionRadioFile"))); /* Grab the filename, containing, and look-in entries */ if (getExpertSearchMode(widget)) { /* If expert mode */ mSearchControl->textSearchRegEx = (gchar *)gtk_combo_box_get_active_text(GTK_COMBO_BOX(lookup_widget(widget, "containingText"))); mSearchControl->fileSearchRegEx = (gchar *)gtk_combo_box_get_active_text(GTK_COMBO_BOX(lookup_widget(widget, "fileName"))); mSearchControl->startingFolder = comboBoxReadCleanFolderName(GTK_COMBO_BOX(lookup_widget(widget, "lookIn"))); } else { /* in basic mode */ mSearchControl->textSearchRegEx = (gchar *)gtk_combo_box_get_active_text(GTK_COMBO_BOX(lookup_widget(widget, "containingText2"))); mSearchControl->fileSearchRegEx = (gchar *)gtk_combo_box_get_active_text(GTK_COMBO_BOX(lookup_widget(widget, "fileName2"))); mSearchControl->startingFolder = comboBoxReadCleanFolderName(GTK_COMBO_BOX(lookup_widget(widget, "lookIn2"))); } } /* * Internal helper: scans the form, and converts all checkboxes to their flag equivalent * For example, if the user unchecks the "recurse folders" toggle, then a flag needs to be set. */ void getSearchFlags(GtkWidget *widget, searchControl *mSearchControl) { /* Set defaults here */ mSearchControl->flags = 0; /* Disable all flags */ mSearchControl->textSearchFlags = REG_NEWLINE; /* Force search to treat newlines appropriately */ /* Store the search specific options */ if (getExpertSearchMode(widget)) { /* If expert mode */ if ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "containingTextCheck")))) && (*mSearchControl->textSearchRegEx != '\0')) { mSearchControl->flags |= SEARCH_TEXT_CONTEXT; /* Allow context switching */ } if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "searchSubfoldersCheck")))) { mSearchControl->flags |= SEARCH_SUB_DIRECTORIES; /* Allow sub-directory searching */ } } else { /* Simple mode */ if ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "containingTextCheck2")))) && (*mSearchControl->textSearchRegEx != '\0')) { mSearchControl->flags |= SEARCH_TEXT_CONTEXT; /* Allow context switching */ } if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "searchSubfoldersCheck2")))) { mSearchControl->flags |= SEARCH_SUB_DIRECTORIES; /* Allow sub-directory searching */ } } /* Store the common options */ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "notExpressionCheckFile")))) { mSearchControl->flags |= SEARCH_INVERT_FILES; /* Invert the search on File names e.g. find everything but abc */ } if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "matchCaseCheckFile")))) { mSearchControl->fileSearchFlags |= REG_ICASE; } if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "ignoreHiddenFiles")))) { mSearchControl->flags |= SEARCH_HIDDEN_FILES; /* Allow hidden searching */ } mSearchControl->fileSearchFlags |= REG_NOSUB; if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "matchCaseCheckContents")))) { mSearchControl->textSearchFlags |= REG_ICASE; } if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "followSymLinksCheck"))) == FALSE) { mSearchControl->flags |= SEARCH_SKIP_LINK_FILES; } /* Store the user preferences */ if (getExtendedRegexMode(widget)) { mSearchControl->fileSearchFlags |= REG_EXTENDED; mSearchControl->textSearchFlags |= REG_EXTENDED; } } /************************************************************* * Main search entry points (not threaded) *************************************************************/ /* * Callback helper: search started by GUI button press from user. * Creates storage arrays, validates user entries, and copies all * settings to memory before kicking off the POSIX search thread. * TODO: More validation is required at time of user entry to simplify this code. * TODO: User entry needs converting to UTF-8 valid text. * TODO: Create multiple functions from code, as this is definitely too long a function! */ void start_search_thread(GtkWidget *widget) { // GThread *threadId; /* Thread ID */ searchControl *mSearchControl; GObject *window1 = G_OBJECT(mainWindowApp); gchar *tmpChar; guint tmpInt; gchar buffer[MAX_FILENAME_STRING + 1]; gchar *tmpStr; GKeyFile *keyString = getGKeyFile(widget); GtkWidget *dialog; GtkTreeView *listView; GtkListStore *sortedModel; /* Clear results prior to resetting data */ if (getResultsViewHorizontal(widget)) { listView = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { listView = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } sortedModel = GTK_LIST_STORE(gtk_tree_model_sort_get_model(GTK_TREE_MODEL_SORT(gtk_tree_view_get_model(listView)))); g_assert(sortedModel != NULL); gtk_list_store_clear(sortedModel); /* Create user data storage & control (automatic garbage collection) */ createSearchData(window1, MASTER_SEARCH_DATA); createSearchControl(window1, MASTER_SEARCH_CONTROL); mSearchControl = g_object_get_data(window1, MASTER_SEARCH_CONTROL); mSearchControl->cancelSearch = FALSE; /* reset cancel signal */ /* Store the form data within mSearchControl */ mSearchControl->widget = GTK_WIDGET(window1); /* Store pointer to the main windows */ getSearchCriteria(widget, mSearchControl); /* Store the user entered criteria */ getSearchFlags(widget, mSearchControl); /* Store the user set flags */ getSearchExtras(mainWindowApp, mSearchControl); /* Store the extended criteria too */ /* Test starting folder exists */ if ((mSearchControl->startingFolder == NULL) || (*(mSearchControl->startingFolder) == '\0')) { dialog = gtk_message_dialog_new (GTK_WINDOW(window1), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! Look In directory cannot be blank.")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return; } if (!g_file_test(mSearchControl->startingFolder, G_FILE_TEST_IS_DIR)) { dialog = gtk_message_dialog_new (GTK_WINDOW(window1), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! Look In directory is invalid.")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return; } /* Test fileSearchRegEx reg expression is valid */ if (mSearchControl->fileSearchIsRegEx) { if (test_regexp(mSearchControl->fileSearchRegEx, mSearchControl->fileSearchFlags, _("Error! Invalid File Name regular expression")) == FALSE) { return; } } /* Test textSearchRegEx reg expression is valid */ if (test_regexp(mSearchControl->textSearchRegEx, mSearchControl->textSearchFlags, _("Error! Invalid Containing Text regular expression")) == FALSE) { return; } /* Store the text strings (once validated) into the combo boxes */ if (getExpertSearchMode(widget)) { addUniqueRow(lookup_widget(widget, "fileName"), mSearchControl->fileSearchRegEx); addUniqueRow(lookup_widget(widget, "containingText"), mSearchControl->textSearchRegEx); addUniqueRow(lookup_widget(widget, "lookIn"), mSearchControl->startingFolder); } else { addUniqueRow(lookup_widget(widget, "fileName2"), mSearchControl->fileSearchRegEx); addUniqueRow(lookup_widget(widget, "containingText2"), mSearchControl->textSearchRegEx); addUniqueRow(lookup_widget(widget, "lookIn2"), mSearchControl->startingFolder); } /* create the search thread */ g_thread_create (walkDirectories, window1, FALSE, NULL); // threadId = g_thread_create (walkDirectories, window1, FALSE, NULL); } /* * Callback helper: search stopped (at any time) by GUI button press from user. */ void stop_search_thread(GtkWidget *widget) { searchControl *mSearchControl; GObject *window1 = G_OBJECT(lookup_widget(widget, "window1")); mSearchControl = g_object_get_data(window1, MASTER_SEARCH_CONTROL); g_static_mutex_lock(&mutex_Control); mSearchControl->cancelSearch = TRUE; g_static_mutex_unlock(&mutex_Control); } /************************************************************* * Main search POSIX thread *************************************************************/ /* * POSIX thread entry point for main search loop. * This function takes pointer to main application window. * Returns 0 on sucess (always). */ void *walkDirectories(void *args) { GObject *object = args; /* Get GObject pointer from args */ searchControl *mSearchControl; /* Master status bar */ searchData *mSearchData; /* Master search data */ statusbarData *status; /* Master status bar */ glong matchCount; GtkTreeView *listView; GtkTextView *textView; GtkListStore *sortedModel; GtkTextBuffer *textBuffer; g_static_mutex_lock(&mutex_Data); gdk_threads_enter (); mSearchData = g_object_get_data(object, MASTER_SEARCH_DATA); mSearchControl = g_object_get_data(object, MASTER_SEARCH_CONTROL); status = g_object_get_data(object, MASTER_STATUSBAR_DATA); gdk_threads_leave (); g_assert(mSearchData != NULL); g_assert(mSearchControl != NULL); g_assert(status != NULL); /* Disable the Go button */ /* Disable go button, enable stop button.. */ gdk_threads_enter (); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "playButton1"), FALSE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "playButton2"), FALSE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "playButton3"), FALSE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "stopButton1"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "stopButton2"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "stopButton3"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "saveResults"), FALSE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "save_results1"), FALSE); gdk_threads_leave (); if (getResultsViewHorizontal(mSearchControl->widget)) { listView = GTK_TREE_VIEW(lookup_widget(mSearchControl->widget, "treeview1")); textView = GTK_TEXT_VIEW(lookup_widget(mSearchControl->widget, "textview1")); } else { listView = GTK_TREE_VIEW(lookup_widget(mSearchControl->widget, "treeview2")); textView = GTK_TEXT_VIEW(lookup_widget(mSearchControl->widget, "textview4")); } textBuffer = gtk_text_view_get_buffer (textView); gtk_text_buffer_set_text(textBuffer, "", -1); /* Clear text! */ sortedModel = GTK_LIST_STORE(gtk_tree_model_sort_get_model(GTK_TREE_MODEL_SORT(gtk_tree_view_get_model(listView)))); g_assert(sortedModel != NULL); mSearchData->store = sortedModel; matchCount = phaseOneSearch(mSearchControl, mSearchData, status); if (matchCount > 0) { gboolean phasetwo; g_static_mutex_lock(&mutex_Control); phasetwo = ((mSearchControl->cancelSearch == FALSE) && ((mSearchControl->flags & SEARCH_TEXT_CONTEXT) != 0)); g_static_mutex_unlock(&mutex_Control); if (phasetwo) { matchCount = phaseTwoSearch(mSearchControl, mSearchData, status); } } updateStatusFilesFound(matchCount, status, mSearchControl); /* Re-enable the go button */ gdk_threads_enter (); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "playButton1"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "playButton2"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "playButton3"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "stopButton1"), FALSE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "stopButton2"), FALSE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "stopButton3"), FALSE); if (matchCount > 0) { gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "saveResults"), TRUE); gtk_widget_set_sensitive(lookup_widget(mSearchControl->widget, "save_results1"), TRUE); } gdk_threads_leave (); g_static_mutex_unlock(&mutex_Data); g_thread_exit (GINT_TO_POINTER(0)); } /* * POSIX threaded: phase one of main search loop. * This function searches for all of the matching file names in the specified folder. * Returns number of file matches found. */ glong phaseOneSearch(searchControl *mSearchControl, searchData *mSearchData, statusbarData *status) { GtkStatusbar *statusbar = GTK_STATUSBAR(lookup_widget(mSearchControl->widget, "statusbar1")); GPtrArray *scanDirStack; /* Pointer to the current open directory lister */ GPtrArray *curDirStack; /* Pointer to the current folder base name (as a stack) */ gchar *tmpFileName; /* Pointer to the current file name or sub-directory name returned by scanDirStack */ gchar *tmpFullFileName; /* Pointer to the full filename or directory provided by */ regex_t searchRegEx; GPatternSpec *searchGlob; gchar *tString; glong matchCount = 0; GTimeVal phaseOneStartTime, phaseOneMidTime; GtkProgressBar *pbar = GTK_PROGRESS_BAR(lookup_widget(GTK_WIDGET(mainWindowApp), "progressbar1")); gint i = 0; gdouble deltaTime; gint Icount = 0; gboolean stopSearch; gint result; gboolean symlink = FALSE; /* TRUE if file currently being tested is a symlink */ gchar *pStrChunk; GError *dirOpenError = NULL; char *pCurDirStack; /* Compile the regular expression */ if (mSearchControl->fileSearchIsRegEx) { regcomp(&searchRegEx, mSearchControl->fileSearchRegEx, mSearchControl->fileSearchFlags); } else { if (mSearchControl->fileSearchFlags & REG_ICASE == 0) { searchGlob = g_pattern_spec_new(mSearchControl->fileSearchRegEx); } else { searchGlob = g_pattern_spec_new(g_utf8_strdown(mSearchControl->fileSearchRegEx, -1)); } } /* Initialise stacks */ curDirStack = g_ptr_array_new(); scanDirStack = g_ptr_array_new(); /* Copy base directory out */ pStrChunk = g_string_chunk_insert_const(mSearchData->locationChunk, mSearchControl->startingFolder); g_ptr_array_add(curDirStack, pStrChunk); g_ptr_array_add(scanDirStack, g_dir_open(pStrChunk, 0, NULL)); g_snprintf(status->constantString, MAX_FILENAME_STRING, _("Phase 1 searching %s"), pStrChunk); gdk_threads_enter (); gtk_statusbar_push(statusbar, STATUSBAR_CONTEXT_ID(statusbar), g_string_chunk_insert(status->statusbarChunk, status->constantString)); gdk_threads_leave (); g_static_mutex_lock(&mutex_Control); stopSearch = mSearchControl->cancelSearch; g_static_mutex_unlock(&mutex_Control); while ((curDirStack->len > 0) && (stopSearch == FALSE)) { if (((mSearchControl->flags & SEARCH_TEXT_CONTEXT) == 0) && ((mSearchControl->flags & LIMIT_RESULTS_SET) != 0) && (matchCount == mSearchControl->limitResults)) { break; } /* Test how long this process has been going for after a few loops to calculate the break point */ i++; if (i == PBAR_SHOW_IF_MIN) { g_get_current_time (&phaseOneStartTime); } else if (i == (2 * PBAR_SHOW_IF_MIN)) { g_get_current_time (&phaseOneMidTime); /* Calculate number of loops to pulse bar every 500ms/MULTIPLIER */ gdouble deltaTime = (phaseOneMidTime.tv_sec - phaseOneStartTime.tv_sec); deltaTime += ((gdouble)(phaseOneMidTime.tv_usec - phaseOneStartTime.tv_usec) / 1000000); deltaTime = PBAR_SHOW_IF_MIN/(PHASE_ONE_PBAR_PULSE_MULTILPIER * deltaTime); Icount = (gint)(deltaTime); gdk_threads_enter (); gtk_progress_bar_set_text(pbar, ""); /* Clear it first*/ gdk_threads_leave (); } /* Once started, pulse until done */ if (Icount > 0) { if ((i % Icount) == 0) { gdk_threads_enter (); gtk_progress_bar_pulse(pbar); gdk_threads_leave (); } } /* Get next file from the current scan directory */ tmpFileName = g_strdup(g_dir_read_name(GET_LAST_PTR(scanDirStack))); if (tmpFileName == NULL) { gdk_threads_enter (); gtk_statusbar_pop(statusbar, STATUSBAR_CONTEXT_ID(statusbar)); gdk_threads_leave (); g_dir_close(DEL_LAST_PTR(scanDirStack)); DEL_LAST_PTR(curDirStack); g_free(tmpFileName); continue; } /* Check if file name is actually a folder name */ pCurDirStack = GET_LAST_PTR(curDirStack); if ((pCurDirStack[0] == '/') && (pCurDirStack[1] == '\0')) { tmpFullFileName = g_strconcat(pCurDirStack, tmpFileName, NULL); } else { tmpFullFileName = g_strconcat(pCurDirStack, G_DIR_SEPARATOR_S, tmpFileName, NULL); } /* Replace data with symbolic link*/ if (g_file_test(tmpFullFileName, G_FILE_TEST_IS_SYMLINK)) { if ((mSearchControl->flags & SEARCH_SKIP_LINK_FILES) == 0) { symlink = symLinkReplace(&tmpFullFileName, &tmpFileName); if (!symlink) { /* not a valid symlink, so skip through */ g_free(tmpFullFileName); g_free(tmpFileName); continue; } } else { /* User requested to skip symlinks */ g_free(tmpFullFileName); g_free(tmpFileName); continue; } } /* Check for hidden files (unless overriden by user) */ if ((mSearchControl->flags & SEARCH_HIDDEN_FILES) == 0) { if (*tmpFileName == '.') { g_free(tmpFullFileName); g_free(tmpFileName); continue; } } /* Start working with the new folder name */ if (g_file_test(tmpFullFileName, G_FILE_TEST_IS_DIR)) { if (((mSearchControl->flags & SEARCH_SUB_DIRECTORIES) != 0) && (((mSearchControl->flags & DEPTH_RESTRICT_SET) == 0) || (mSearchControl->folderDepth > (curDirStack->len -1)))) { g_snprintf(status->constantString, MAX_FILENAME_STRING, _("Phase 1 searching %s"), tmpFullFileName); gdk_threads_enter (); gtk_statusbar_push(statusbar, STATUSBAR_CONTEXT_ID(statusbar), g_string_chunk_insert(status->statusbarChunk, status->constantString)); gdk_threads_leave (); tString = g_string_chunk_insert_const(mSearchData->locationChunk, tmpFullFileName); g_ptr_array_add(curDirStack, tString); g_ptr_array_add(scanDirStack, g_dir_open(tString, 0, &dirOpenError)); if (GET_LAST_PTR(scanDirStack) == NULL) { g_print(_("%s\n"), dirOpenError->message, tString); g_clear_error(&dirOpenError); DEL_LAST_PTR(curDirStack); DEL_LAST_PTR(scanDirStack); } } } else { /* Otherwise, a filename has been found */ if (mSearchControl->fileSearchIsRegEx) { result = regexec(&searchRegEx, tmpFileName, 0, NULL, 0); } else { gchar * tmpMatchString; if ((mSearchControl->fileSearchFlags & REG_ICASE) ==0) { tmpMatchString = g_filename_to_utf8(tmpFileName, -1, NULL, NULL, NULL); } else { tmpMatchString = g_utf8_strdown(g_filename_to_utf8(tmpFileName, -1, NULL, NULL, NULL), -1); } if (g_pattern_match(searchGlob, g_utf8_strlen(tmpMatchString, -1), tmpMatchString, NULL)) { result = 0; } else { result = 1; } } if ((((mSearchControl->flags & SEARCH_INVERT_FILES) == 0) && (result == 0)) || (((mSearchControl->flags & SEARCH_INVERT_FILES) != 0) && (result != 0))) { if (statMatchPhase(tmpFullFileName, mSearchControl)) { g_ptr_array_add(mSearchData->fullNameArray, g_strdup(tmpFullFileName)); g_ptr_array_add(mSearchData->fileNameArray, g_strdup(tmpFileName)); g_ptr_array_add(mSearchData->pLocationArray, GET_LAST_PTR(curDirStack)); matchCount ++; if ((mSearchControl->flags & SEARCH_TEXT_CONTEXT) == 0) { displayQuickMatch(mSearchControl, mSearchData); } } } } /* Update cancel search detection, free tmp strings, and reset symlink flag */ g_static_mutex_lock(&mutex_Control); stopSearch = mSearchControl->cancelSearch; g_static_mutex_unlock(&mutex_Control); g_free(tmpFullFileName); g_free(tmpFileName); symlink = FALSE; } /* Clean up status/progress bar */ g_static_mutex_lock(&mutex_Control); stopSearch = mSearchControl->cancelSearch; g_static_mutex_unlock(&mutex_Control); if (((mSearchControl->flags & SEARCH_TEXT_CONTEXT) == 0) || (stopSearch == TRUE)){ updateStatusFilesFound(matchCount, status, mSearchControl); } gdk_threads_enter (); gtk_progress_bar_set_fraction(pbar, 0); gdk_threads_leave (); /* Clean up memory bar now! */ g_ptr_array_free(curDirStack, TRUE); g_ptr_array_free(scanDirStack, TRUE); if (mSearchControl->fileSearchIsRegEx) { regfree(&searchRegEx); } else { g_pattern_spec_free(searchGlob); } return matchCount; } /* * POSIX threaded: phase two of main search loop. * This function searches for contents within each of the files found in phase one. * Returns number of content matches found. Always <= phase 2 match count. */ glong phaseTwoSearch(searchControl *mSearchControl, searchData *mSearchData, statusbarData *status) { GtkStatusbar *statusbar = GTK_STATUSBAR(lookup_widget(mSearchControl->widget, "statusbar1")); glong matchCount=0; gint i; gsize length; gchar *tmpFileName, *contents; regex_t search; textMatch *newMatch; GtkProgressBar *pbar = GTK_PROGRESS_BAR(lookup_widget(GTK_WIDGET(mainWindowApp), "progressbar1")); gint pbarNudge; gdouble pbarNudgeCount = 0; gdouble pbarIncrement; gchar pbarNudgeCountText[6]; /* Stores "100%" worst case.. */ gboolean stopSearch; gint spinButtonValue = 0; if (mSearchData->fullNameArray->len > 100) { pbarNudge = ((gdouble)mSearchData->fullNameArray->len / 100); /* Every pbarNudge - increment 1/100 */ pbarIncrement = (gdouble)pbarNudge / (gdouble)mSearchData->fullNameArray->len; } else { pbarNudge = 1; /* For every file, increment 1/MAX*/ pbarIncrement = 1 / (gboolean)mSearchData->fullNameArray->len; } /* Update the status bar */ g_snprintf(status->constantString, MAX_FILENAME_STRING, _("Phase 2 starting...")); gdk_threads_enter (); gtk_statusbar_pop(statusbar, STATUSBAR_CONTEXT_ID(statusbar)); gtk_statusbar_push(statusbar, STATUSBAR_CONTEXT_ID(statusbar), status->constantString); gdk_threads_leave (); /* Compile the regular expression */ regcomp(&search, mSearchControl->textSearchRegEx, mSearchControl->textSearchFlags); gdk_threads_enter (); gtk_progress_bar_set_fraction(pbar, 0); gdk_threads_leave (); /* Loop through all files, and get all of the matches from each */ for (i=0; i<(mSearchData->fullNameArray->len); i++) { if (((mSearchControl->flags & LIMIT_RESULTS_SET) != 0) && (matchCount == mSearchControl->limitResults)) { break; } /* Increment progress bar whenever pbarNudge files have been searched */ if (((i+1) % pbarNudge) == 0) { g_sprintf(pbarNudgeCountText, "%.0f%%", pbarNudgeCount * 100); gdk_threads_enter (); gtk_progress_bar_set_fraction(pbar, pbarNudgeCount); gtk_progress_bar_set_text(pbar, pbarNudgeCountText); gdk_threads_leave (); pbarNudgeCount += pbarIncrement; } tmpFileName = g_ptr_array_index(mSearchData->fullNameArray, i); /* Update the status bar */ gdk_threads_enter (); g_snprintf(status->constantString, MAX_FILENAME_STRING, _("Phase 2 searching %s"), tmpFileName); gtk_statusbar_pop(statusbar, STATUSBAR_CONTEXT_ID(statusbar)); gtk_statusbar_push(statusbar, STATUSBAR_CONTEXT_ID(statusbar), status->constantString); gdk_threads_leave (); /* Open file (if valid) */ if (g_file_get_contents2(tmpFileName, &contents, &length, NULL)) { /* Try to get a match */ if (getAllMatches(mSearchData, contents, length, &search)) { /* get full filename pointer */ newMatch = GET_LAST_PTR(mSearchData->textMatchArray); newMatch->pFullName = g_ptr_array_index(mSearchData->fullNameArray, i); newMatch->pFileName = g_ptr_array_index(mSearchData->fileNameArray, i); newMatch->pLocation = g_ptr_array_index(mSearchData->pLocationArray, i); newMatch->fileSize = length; getLength(mSearchData, newMatch); getFileType(mSearchData, newMatch); getModified(mSearchData, newMatch); /* Convert the absolutes to relatives */ spinButtonValue = mSearchControl->numExtraLines; dereferenceAbsolutes(mSearchData, contents, length, spinButtonValue); /* Display the matched string */ displayMatch(mSearchControl, mSearchData); /* Increment the match counter */ matchCount++; } g_free(contents); /* Clear file contents from memory */ g_static_mutex_lock(&mutex_Control); stopSearch = mSearchControl->cancelSearch; g_static_mutex_unlock(&mutex_Control); if (stopSearch == TRUE) { break; } } } /* Update statusbar/progress bar when done */ updateStatusFilesFound(matchCount, status, mSearchControl); gdk_threads_enter (); gtk_progress_bar_set_fraction(pbar, 0); gtk_progress_bar_set_text(pbar, ""); gdk_threads_leave (); /* Clean exit */ regfree(&search); return matchCount; } /* * If valid symbolic link, replace (full) file name with real folder/file. * If not directory and valid symlink, return TRUE. * Otherwise, do not change (full) file name data, and return FALSE. */ gboolean symLinkReplace(gchar **pFullFileName, gchar **pFileName) { gchar * tmpSymFullFileName = g_file_read_link(*pFullFileName, NULL); gchar ** tmpSymSplit = g_strsplit(tmpSymFullFileName, G_DIR_SEPARATOR_S, -1); guint splitLength = g_strv_length(tmpSymSplit); gboolean retVal = FALSE; /* If symlink splits into 1 or more parts, replace filename(s) with new symbolic link details */ if (splitLength != 0) { g_free(*pFullFileName); g_free(*pFileName); (*pFileName) = g_strdup(tmpSymSplit[splitLength - 1]); /* Copy last part as filename data */ (*pFullFileName) = tmpSymFullFileName; retVal = TRUE; } /* otherwise tmpFullFileName is a directory, so keep previous data */ g_strfreev(tmpSymSplit); return retVal; } /* * POSIX threaded: phase two helper function. * Searches through complete text looking for regular expression matches. * Returns TRUE if >1 match found. */ gboolean getAllMatches(searchData *mSearchData, gchar *contents, gsize length, regex_t *search /*, gint index*/ ) { regmatch_t subMatches[MAX_SUB_MATCHES]; gint tmpConOffset = 0; gchar *tmpCon; lineMatch *newLineMatch = NULL; textMatch *newTextMatch = NULL; tmpCon = contents; /* Loop through getting all of the absolute match positions */ while (regexec(search, tmpCon, MAX_SUB_MATCHES, subMatches, 0) == 0) { if ((subMatches[0].rm_so == 0) && (subMatches[0].rm_eo == 0)) { break; } if (newTextMatch == NULL) { newTextMatch = g_malloc(sizeof(textMatch)); newTextMatch->matchIndex = mSearchData->lineMatchArray->len; /* pre-empt new line being added */ newTextMatch->matchCount = 0; g_ptr_array_add(mSearchData->textMatchArray, newTextMatch); } newLineMatch = g_malloc(sizeof(lineMatch)); newLineMatch->pLine = NULL; newLineMatch->lineCount = 0; newLineMatch->lineLen = -1; newLineMatch->lineNum = -1; newLineMatch->offsetStart = tmpConOffset + subMatches[0].rm_so; newLineMatch->offsetEnd = tmpConOffset + subMatches[0].rm_eo; newLineMatch->invMatchIndex = (mSearchData->textMatchArray->len - 1); /* create reverse pointer */ g_ptr_array_add(mSearchData->lineMatchArray, newLineMatch); (newTextMatch->matchCount) ++; tmpCon += subMatches[0].rm_eo; tmpConOffset += subMatches[0].rm_eo; if (tmpConOffset >= length) { break; } } if (newTextMatch == NULL) { return FALSE; } return TRUE; } /* * POSIX threaded: phase two helper function. * Converts regular expression output into actual string/line matches within the text. */ void dereferenceAbsolutes(searchData *mSearchData, gchar *contents, gsize length, gint numLines) { gsize lineCount = 0; gchar *tmpCon = contents; gchar *lineStartPtr = tmpCon; /* Initialise it.. */ gsize currentOffset = 0; gsize lineOffset = 1; /* Initialise at the starting char */ gsize currentMatch = 0; gsize lineNumber = 0; gsize lineStart = 0; gchar *tmpString2; gboolean needLineEndNumber = FALSE; textMatch *textMatch = GET_LAST_PTR(mSearchData->textMatchArray); lineMatch *prevLineMatch, *newLineMatch = g_ptr_array_index(mSearchData->lineMatchArray, textMatch->matchIndex); gsize absMatchStart = newLineMatch->offsetStart; gsize absMatchEnd = newLineMatch->offsetEnd; gint i = 0; gchar* displayStartPtr = NULL; gchar* displayEndPtr = NULL; /* Loop through whole file contents, one char at a time */ while (currentOffset < length) { /* Detect match start offset found - record localised stats */ if (currentOffset == absMatchStart) { newLineMatch->offsetStart = (lineOffset - 1); newLineMatch->lineNum = (lineCount + 1); } /* Detect match end offset found - record localised stats */ if (currentOffset == absMatchEnd) { newLineMatch->offsetEnd = (lineOffset - 1); newLineMatch->lineCount = ((lineCount - newLineMatch->lineNum) + 2); needLineEndNumber = TRUE; } if ((*tmpCon == '\n') || (*tmpCon == '\r') || (currentOffset >= (length - 1))) { if (needLineEndNumber) { newLineMatch->lineLen = lineOffset; if (lineStartPtr == NULL) { g_print ("%s: Error line %d, %d:%d", GET_LAST_PTR(mSearchData->fullNameArray), lineCount, newLineMatch->offsetStart, newLineMatch->offsetStart); } displayStartPtr = lineStartPtr; i = 0; while ((displayStartPtr > contents) && (i <= numLines)) { displayStartPtr--; if (*displayStartPtr == '\n') { i++; } } if (displayStartPtr != contents) { displayStartPtr++; /* Since otherwise it is on a \n */ } else { i++; /*Since here the first line hasn't been counted */ } newLineMatch->lineCountBefore = i; displayEndPtr = lineStartPtr + newLineMatch->lineLen - 1; i = 0; while ((displayEndPtr <= (contents + length - 1)) && (i < numLines)) { displayEndPtr++; if (*displayEndPtr == '\n') { i++; } } if (displayEndPtr != contents+length - 1) { displayEndPtr--; } newLineMatch->lineCountAfter = i; tmpString2 = g_strndup (displayStartPtr, (displayEndPtr - displayStartPtr) + 1); newLineMatch->pLine = g_string_chunk_insert(mSearchData->textMatchChunk, tmpString2); g_free(tmpString2); prevLineMatch = newLineMatch; if (++currentMatch >= textMatch->matchCount) { break; /* All matches are actioned - done! */ } newLineMatch = g_ptr_array_index(mSearchData->lineMatchArray, (textMatch->matchIndex + currentMatch)); /* Move pointer on one! */ absMatchStart = newLineMatch->offsetStart; absMatchEnd = newLineMatch->offsetEnd; /* If next match is on that same line -- rewind the pointers */ if (absMatchStart <= currentOffset) { currentOffset -= prevLineMatch->lineLen; tmpCon -= prevLineMatch->lineLen; lineCount -= prevLineMatch->lineCount; } needLineEndNumber = FALSE; } lineCount ++; lineOffset = 0; lineStart = currentOffset; lineStartPtr = (tmpCon + 1); /* First charactor after the newline */ } tmpCon ++; lineOffset++; currentOffset ++; } return; } /* * POSIX threaded: phase two helper function. * Converts file size (gsize) into human readable string. */ void getLength(searchData *mSearchData, textMatch *newMatch) { gchar *tmpString = NULL; if (newMatch->fileSize < 1024) { tmpString = g_strdup_printf(_("%d bytes"), newMatch->fileSize ); } else if (newMatch->fileSize < (1024 * 1024)) { tmpString = g_strdup_printf (_("%1.1f KB"), ((float)newMatch->fileSize / 1024)); } else { tmpString = g_strdup_printf (_("%1.1f MB"), ((float)newMatch->fileSize / 1024)); } newMatch->pFileSize = (g_string_chunk_insert_const(mSearchData->fileSizeChunk, tmpString)); g_free(tmpString); } /* * POSIX threaded: phase two helper function. * Converts filename into human readable string extension type. */ void getFileType(searchData *mSearchData, textMatch *newMatch) { textMatch *textMatch = GET_LAST_PTR(mSearchData->textMatchArray); gchar *tmpChar = textMatch->pFileName; gchar *tmpString = NULL; /* Find end of string */ while (*tmpChar != '\0') { tmpChar ++; } /* Find string extension */ while (tmpChar > textMatch->pFileName) { tmpChar --; if (*tmpChar == '.') { tmpChar++; tmpString = g_strdup_printf (_("%s-type"), tmpChar); newMatch->pFileType = (g_string_chunk_insert_const(mSearchData->fileTypeChunk, tmpString)); g_free(tmpString); return; } else { if (!g_ascii_isalnum(*tmpChar) && (*tmpChar != '~')) { break; /* Unexpected type - set to unknown */ } } } newMatch->pFileType = (g_string_chunk_insert_const(mSearchData->fileTypeChunk, _("Unknown"))); } /* * POSIX threaded: phase two helper function. * Converts file modified date into human readable string date using user's locale settings. */ void getModified(searchData *mSearchData, textMatch *newMatch) { struct stat buf; gint stringSize; gchar *tmpString; textMatch *textMatch = GET_LAST_PTR(mSearchData->textMatchArray); lstat(textMatch->pFullName, &buf); /* Replaces the buggy GLIB equivalent */ tmpString = g_strdup_printf ("%s", asctime (localtime ( &(buf.st_mtime) ))); stringSize = g_strlen(tmpString); if (tmpString[stringSize - 1] == '\n') { tmpString[stringSize - 1] = '\0'; } newMatch->mDate = buf.st_mtime; newMatch->pMDate = (g_string_chunk_insert_const(mSearchData->mDateChunk, tmpString)); g_free(tmpString); } /* * POSIX threaded: phase one helper function. * Get file size using lstat */ void getFileSize(searchData *mSearchData, textMatch *newMatch) { struct stat buf; lstat(newMatch->pFullName, &buf); /* Replaces the buggy GLIB equivalent */ newMatch->fileSize = buf.st_size; } /* * POSIX threaded: phase one/two helper function. * Updates the Gtk Statusbar with the search conclusion results. */ void updateStatusFilesFound(const gsize matchCount, statusbarData *status, searchControl *mSearchControl) { GtkStatusbar *statusbar = GTK_STATUSBAR(lookup_widget(mSearchControl->widget, "statusbar1")); gboolean stopSearch; /* Update statusbar with new data */ gdk_threads_enter(); if (matchCount == 1) { g_snprintf(status->constantString, MAX_FILENAME_STRING, _("%d file found"), matchCount); } else { g_snprintf(status->constantString, MAX_FILENAME_STRING, _("%d files found"), matchCount); } if ((mSearchControl->flags & SEARCH_INVERT_FILES) != 0) { g_strlcat(status->constantString, _(" [inv]"), MAX_FILENAME_STRING); } g_static_mutex_lock(&mutex_Control); stopSearch = mSearchControl->cancelSearch; g_static_mutex_unlock(&mutex_Control); if (stopSearch == TRUE) { g_strlcat(status->constantString, _(" [cancelled]"), MAX_FILENAME_STRING); } gtk_statusbar_pop(statusbar, STATUSBAR_CONTEXT_ID(statusbar)); gtk_statusbar_push(statusbar, STATUSBAR_CONTEXT_ID(statusbar), status->constantString); gdk_threads_leave (); } /* * POSIX threaded: phase one helper function. * Provides min/max modified-date and file-size checking, if selected by user. * Returns TRUE if the file passes all criteria set by user. */ gboolean statMatchPhase(const gchar *tmpFullFileName, searchControl *mSearchControl) { struct stat buf; if ((mSearchControl->flags & SEARCH_SKIP_LINK_FILES) == 0) { stat(tmpFullFileName, &buf); } else { lstat(tmpFullFileName, &buf); } if ((mSearchControl->flags & SEARCH_MORETHAN_SET) != 0) { if (buf.st_size <= mSearchControl->moreThan) { return FALSE; } } if ((mSearchControl->flags & SEARCH_LESSTHAN_SET) != 0) { if (buf.st_size >= mSearchControl->lessThan) { return FALSE; } } if ((mSearchControl->flags & SEARCH_AFTER_SET) != 0) { if (difftime(buf.st_mtime, mSearchControl->after) <=0) { return FALSE; } } if ((mSearchControl->flags & SEARCH_BEFORE_SET) != 0) { if (difftime(mSearchControl->before, buf.st_mtime) <=0) { return FALSE; } } return TRUE; } /* * POSIX threaded: phase two helper function. * Updates the Gtk GUI with match results for a full contents search. */ void displayMatch(searchControl *mSearchControl, searchData *mSearchData) { textMatch *newMatch = GET_LAST_PTR(mSearchData->textMatchArray); gchar *tmpStr = g_strdup_printf ("%d", newMatch->matchCount); gdk_threads_enter (); g_assert(mSearchData->store != NULL); g_assert(mSearchData->iter != NULL); // g_assert(VALID_ITER (mSearchData->iter, GTK_LIST_STORE(mSearchData->store))); gtk_list_store_append (mSearchData->store, mSearchData->iter); gtk_list_store_set (mSearchData->store, mSearchData->iter, FULL_FILENAME_COLUMN, newMatch->pFullName, FILENAME_COLUMN, newMatch->pFileName, LOCATION_COLUMN, newMatch->pLocation, SIZE_COLUMN, newMatch->pFileSize, INT_SIZE_COLUMN, newMatch->fileSize, MATCHES_COUNT_COLUMN, newMatch->matchCount, MATCH_INDEX_COLUMN, newMatch->matchIndex, MODIFIED_COLUMN, newMatch->pMDate, INT_MODIFIED_COLUMN, newMatch->mDate, TYPE_COLUMN, newMatch->pFileType, MATCHES_COUNT_STRING_COLUMN, tmpStr, -1); gdk_threads_leave (); g_free(tmpStr); return; } /* * POSIX threaded: phase one helper function. * Updates the Gtk GUI with match results for just the filename matches. */ void displayQuickMatch(searchControl *mSearchControl, searchData *mSearchData) { const gchar *tmpStr = g_object_get_data(G_OBJECT(mainWindowApp), "notApplicable"); textMatch *newMatch = g_malloc(sizeof(textMatch)); g_ptr_array_add(mSearchData->textMatchArray, newMatch); newMatch->pFullName = GET_LAST_PTR(mSearchData->fullNameArray); newMatch->pFileName = GET_LAST_PTR(mSearchData->fileNameArray); newMatch->pLocation = GET_LAST_PTR(mSearchData->pLocationArray); getModified(mSearchData, newMatch); getFileType(mSearchData, newMatch); getFileSize(mSearchData, newMatch); getLength(mSearchData, newMatch); gdk_threads_enter (); g_assert(mSearchData->store != NULL); g_assert(mSearchData->iter != NULL); // g_assert(VALID_ITER (mSearchData->iter, GTK_LIST_STORE(mSearchData->store))); gtk_list_store_append (mSearchData->store, mSearchData->iter); gtk_list_store_set (mSearchData->store, mSearchData->iter, FULL_FILENAME_COLUMN, newMatch->pFullName, FILENAME_COLUMN, newMatch->pFileName, LOCATION_COLUMN, newMatch->pLocation, SIZE_COLUMN, newMatch->pFileSize, INT_SIZE_COLUMN, newMatch->fileSize, MODIFIED_COLUMN, newMatch->pMDate, INT_MODIFIED_COLUMN, newMatch->mDate, TYPE_COLUMN, newMatch->pFileType, MATCHES_COUNT_STRING_COLUMN, tmpStr, -1); gdk_threads_leave (); return; } /* * Convert from GDate to struct tm format */ void setTimeFromDate(struct tm *tptr, GDate *date) { tptr->tm_hour = 0; /* Hours */ tptr->tm_isdst = 0; /* Is daylight saving enabled */ tptr->tm_mday = date->day; tptr->tm_min = 0; /* Minutes */ tptr->tm_mon = (date->month - 1); /* Month : 0=Jan */ tptr->tm_sec = 0; /* Seconds */ tptr->tm_wday = 0; /* Day of the week: 0=sun */ tptr->tm_yday = 0; /* Day of the year: 0=NA */ tptr->tm_year = (date->year - 1900); /* Year : 0=1900 AD */ } /************************************************************* * Constructors and destructors for search data *************************************************************/ /* * Constructs and initialises the master search data structure. * This data is used to store all match results during the search process. */ void createSearchData(GObject *object, const gchar *dataName) { searchData *mSearchData; /* Create pointer arrays */ mSearchData = g_malloc(sizeof(searchData)); mSearchData->pLocationArray = g_ptr_array_new(); /* Only pointers to baseDirArray */ mSearchData->textMatchArray = g_ptr_array_new(); mSearchData->fileNameArray = g_ptr_array_new(); mSearchData->fullNameArray = g_ptr_array_new(); mSearchData->lineMatchArray = g_ptr_array_new(); /* Create string chunks */ mSearchData->locationChunk = g_string_chunk_new(MAX_FILENAME_STRING + 1); mSearchData->fileSizeChunk = g_string_chunk_new(MAX_FILENAME_STRING + 1); mSearchData->mDateChunk = g_string_chunk_new(MAX_FILENAME_STRING + 1); mSearchData->fileTypeChunk = g_string_chunk_new(MAX_FILENAME_STRING + 1); mSearchData->textMatchChunk = g_string_chunk_new(MAX_FILENAME_STRING + 1); // mSearchData->store = NULL; mSearchData->iter = g_malloc(sizeof(GtkTreeIter)); /* Attach the data to the G_OBJECT */ g_object_set_data_full(object, dataName, mSearchData, destroySearchData); } /* * Destroys the master search data structure. * This data is used to store all match results during the search process. * Automatically called when data object is destroyed, or re-created. */ void destroySearchData(gpointer data) { searchData *mSearchData = data; g_free(mSearchData->iter); /* Destroy string chunks */ g_string_chunk_free(mSearchData->locationChunk); g_string_chunk_free(mSearchData->fileSizeChunk); g_string_chunk_free(mSearchData->mDateChunk); g_string_chunk_free(mSearchData->fileTypeChunk); g_string_chunk_free(mSearchData->textMatchChunk); /* Destroy pointed to data */ g_ptr_array_foreach(mSearchData->textMatchArray, ptr_array_free_cb, GINT_TO_POINTER(1)); g_ptr_array_foreach(mSearchData->fileNameArray, ptr_array_free_cb, NULL); g_ptr_array_foreach(mSearchData->fullNameArray, ptr_array_free_cb, NULL); g_ptr_array_foreach(mSearchData->lineMatchArray, ptr_array_free_cb, NULL); /* Destroy pointer arrays, plus malloc'ed arrays */ g_ptr_array_free(mSearchData->pLocationArray, TRUE); g_ptr_array_free(mSearchData->textMatchArray, TRUE); g_ptr_array_free(mSearchData->fileNameArray, TRUE); g_ptr_array_free(mSearchData->fullNameArray, TRUE); g_ptr_array_free(mSearchData->lineMatchArray, TRUE); /* And last of all, remove the structure and NULL the pointers! */ // mSearchData->iter = NULL; g_free(mSearchData); //mSearchData->store = NULL; /* Clear the pointer to it.. */ } /* * Constructs and initialises the master search control structure. * This data is used to store pointers to the data stored within * the search criteria at the instance that search is pressed. * No custom destructor required as g_free is adequate. */ void createSearchControl(GObject *object, const gchar *dataName) { searchControl *prevSearchControl = g_object_get_data(object, dataName); searchControl *mSearchControl; if (prevSearchControl != NULL) { g_object_set_data(object, dataName, NULL); /* Try to force clean-up of the data prior to recreation */ } /* Create pointer arrays*/ mSearchControl = g_malloc(sizeof(searchControl)); mSearchControl->flags = 0; mSearchControl->textSearchFlags = 0; mSearchControl->fileSearchFlags = 0; mSearchControl->limitContentResults = 0; mSearchControl->numExtraLines = 0; mSearchControl->limitResults = 0; mSearchControl->folderDepth = 0; mSearchControl->textSearchRegEx = NULL; mSearchControl->fileSearchRegEx = NULL; mSearchControl->startingFolder = NULL; /* Attach the data to the G_OBJECT */ g_object_set_data_full(object, dataName, mSearchControl, destroySearchControl); } /* * Constructs and initialises the master search control structure. * This data is used to store pointers to the data stored within * the search criteria at the instance that search is pressed. * No custom destructor required as g_free is adequate. */ void destroySearchControl(gpointer data) { searchControl *mSearchControl = data; /* Free the text strings (if present) */ if (mSearchControl->textSearchRegEx != NULL) { g_free(mSearchControl->textSearchRegEx); } if (mSearchControl->fileSearchRegEx != NULL) { g_free(mSearchControl->fileSearchRegEx); } if (mSearchControl->startingFolder != NULL) { g_free(mSearchControl->startingFolder); } /* Finally free the remaining structure */ g_free(mSearchControl); } /* * Constructs and initialises the status bar structure. * This data is used to hold the status bar, and its associated text. */ void createStatusbarData(GObject *object, const gchar *dataName) { statusbarData *status; status = g_malloc(sizeof(statusbarData)); status->statusbarChunk = g_string_chunk_new(MAX_FILENAME_STRING + 1); /* Attach the data to the G_OBJECT */ g_object_set_data_full(object, dataName, status, destroyStatusbarData); } /* * Destroys the status bar structure. * This data is used to hold the status bar, and its associated text. * Automatically called by when object is destroyed, or re-created. */ void destroyStatusbarData(gpointer data) { statusbarData *status = data; g_string_chunk_free(status->statusbarChunk); g_free(status); } /* * Replacement pointer array free as it does not seem to really g_free the data being pointed to */ void ptr_array_free_cb(gpointer data, gpointer user_data) { g_free(data); } searchmonkey-0.8.1/src/regexwizard.h0000664000076400007660000000375510561732767014470 00000000000000/* * File: regexwizard.c header * Description: Contains functions that control the regular expression wizard */ #ifndef REGEXWIZARD_H #define REGEXWIZARD_H #include /* * Regular expression wizard enumerations and constants */ #define MAX_SUB_MATCHES 1 /* Control number of sub-matches regexec should return when searching text string */ enum { /* Enumerate the type selection combo box for expression wizard */ REGWIZ_NONE=-1, REGWIZ_DONT_KNOW, REGWIZ_ANY_CHAR, REGWIZ_THE_CHAR, REGWIZ_ANY_ONE_CHAR, REGWIZ_ANY_CHAR_EXCEPT, REGWIZ_THE_PHRASE, REGWIZ_SPACE, REGWIZ_ANY_NUMERIC, REGWIZ_ANY_TEXT, REGWIZ_START_TYPE, REGWIZ_END_TYPE }; enum { /* Enumerate the repeat selection combo box for expression wizard */ REGWIZ_REPEAT_ONCE=0, REGWIZ_REPEAT_ONE_PLUS, REGWIZ_REPEAT_ZERO_PLUS, REGWIZ_REPEAT_ZERO_ONE }; enum { /* Enumerate the expression wizard type */ FILE_REGEX_TYPE=1, CONTEXT_REGEX_TYPE }; enum { /* Enumerate the mid table columns for expression wizard */ REGEX_TYPE_COLUMN, REGEX_ENTRY_COLUMN, REGEX_REPEAT_COLUMN, REGEX_TYPE_INT_COLUMN, REGEX_REPEAT_INT_COLUMN, REGEX_N_COLUMNS }; enum { /* Internal enumeration for convertRegex2 function*/ INC_RIGHT_BRKT = 0x1, INC_CARET = 0x2, INC_MINUS = 0x4 }; /* Regex Wizard control functions */ void refreshTestResults(GtkWidget *widget); void updateTypeChangeEntry(GtkComboBox *comboBox, GtkWidget *entry, GtkWidget *repeat); void updateRegExWizard(GtkWidget *widget); gchar *makeInterimRegex(GtkComboBox *type, GtkEntry *entry, GtkComboBox *repeat, gint position); gchar *makeInterimRegex2(GtkWidget *widget, gint type, const gchar *pEntry, gint repeatc, gint position); GString *convertRegex(const gchar *input, gboolean change); GString *convertRegex2(const gchar *input, gboolean change); void appendTableRow(GtkWidget *widget, gint num, ...); /* Internal macros */ #define DEFAULT_GSTRING_SIZE 10 /* Default size for newly allocated GString types */ #endif /* REGEXWIZARD_H */ searchmonkey-0.8.1/src/main.c0000664000076400007660000000435210561732767013046 00000000000000/* * Initial main.c file generated by Glade. Edit as required. * Glade will not overwrite this file. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include "interface.h" #include "support.h" #include "search.h" #include "savestate.h" /* Add support for save/restore config.ini */ GtkWidget *mainWindowApp = NULL; /* Holds pointer to the main window (global) */ gchar *gConfigFile = NULL; /* created by main(), destroyed by destroyGKeyFile() */ /* * Searchmonkey entry point */ int main (int argc, char *argv[]) { GdkPixbuf* pixBuf; gchar *tmpStr; /* Initiate threads */ g_thread_init (NULL); gdk_threads_init (); gdk_threads_enter (); #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif /* Handle GTK command line options and the locale settings */ gtk_set_locale (); gtk_init (&argc, &argv); /* Create main window, and load (create) ini config file */ add_pixmap_directory (PACKAGE_DATA_DIR "/pixmaps/" PACKAGE); /* New location for all pixmaps */ add_pixmap_directory (PACKAGE_DATA_DIR "/pixmaps"); /* Gnome users /usr/share/pixmaps folder */ mainWindowApp = create_window1 (); gConfigFile = g_build_filename(g_get_home_dir(), "." PACKAGE, SEARCHMONKEY_CONFIG, NULL); /* Create hidden directory to store searchmonkey data */ createGKeyFile (G_OBJECT (mainWindowApp), MASTER_OPTIONS_DATA); /* Create pointer to the argv command line */ g_object_set_data(G_OBJECT(mainWindowApp), "argvPointer", argv[0]); /* Set up global strings */ tmpStr = g_strdup_printf(_("\nNo content searching performed for this file.\n\nPlease ensure containing search was enabled, and that an expression was entered prior to starting search.\n")); g_object_set_data_full(G_OBJECT(mainWindowApp), "noContextSearchString", tmpStr, g_free); tmpStr = g_strdup_printf(_("N/A")); g_object_set_data_full(G_OBJECT(mainWindowApp), "notApplicable", tmpStr, g_free); /* Show app, and start main loop */ gtk_widget_show (mainWindowApp); gtk_main (); /* Clean exit */ gdk_threads_leave (); return 0; } searchmonkey-0.8.1/src/systemio.h0000664000076400007660000000451210561732767014001 00000000000000#ifndef SYSTEMIO_H #define SYSTEMIO_H /* * File: systemio.c header * Description: This file deals with CSV file creation, and importing/exporting criteria */ /* * System callback constants. The actual executable file list is stored within search.c - namely G_EXE_LIST */ #define G_EXE_LIST_MAX_WIDTH 3 /* Maximum number of executables for each syscallType */ typedef enum { BROWSER_LIST = 0, TEXTEDITOR_LIST, FILEEXPLORER_LIST, G_EXE_LIST_MAX_DEPTH } syscallType; #define PROGRESS_BAR_NUDGE_VALUE (1 / (gdouble)(G_EXE_LIST_MAX_WIDTH * G_EXE_LIST_MAX_DEPTH)) typedef struct { /* Internal structure for */ GtkWidget *parent; gchar *retStr[G_EXE_LIST_MAX_WIDTH][G_EXE_LIST_MAX_DEPTH]; /* Used to store discovered file names */ gint i; /* loop counter A */ gint j; /* loop counter B */ guint gid; /* GSource ID */ } userExeData; /* CSV related functions */ gchar *resultsToCsvString(GtkWidget *widget); gchar *quoteString(const gchar *delimiter, const gchar *string); void saveResults(GtkWidget *widget); /* Check CSV configuration */ void checkCsvEntry(GtkEntry *entry); void on_errorMsg_response (GtkDialog *dialog, gint arg1, gpointer user_data); /* Allow import/export of data to a file for regular expressions */ void importCriteria(GtkWidget *widget); void exportCriteria(GtkWidget *widget); /* System call functions */ //void findExecutables2(GtkWidget *parent, GtkWidget *dialog); void g_free_exeData(gpointer user_data); gboolean getExeData(gpointer user_data); //void *findExecutables(void *args); gboolean SMsyscall (const gchar *address, syscallType type); void openUrlLinkFunc (GtkAboutDialog *about, const gchar *link, gpointer data); gchar *replaceAttributeString(gchar *rawString, const gchar *replacement); void spawnNewSearchmonkey(void); /* File I/O and clipboard commands */ gboolean mkFullDir(gchar *folderName, gint mode); void deleteFile(GtkWidget *widget); void copyFile(GtkWidget *widget); /* GLIB wrapper functions/replacements */ gboolean g_file_get_contents2 (const gchar *filename, gchar **contents, gsize *length, GError **error); gboolean g_file_set_contents2 (const gchar *filename, const gchar *contents, gssize length, GError **error); void set_internal_error(GError **error, const gint err_no); gchar *comboBoxReadCleanFolderName(GtkComboBox *combobox); gchar **strvdup(gchar **strv); #endif /* CSVLIBRARY_H */ searchmonkey-0.8.1/src/savestate.c0000664000076400007660000020502210561732767014116 00000000000000/* * File: savestate.c * Description: Contains config save/restore specific functions so that widgets can keep their * settings betweeen saves. * Todo: Make more of these files internal only, by merging the commands (where possible) into * very specific top level save/restore commands just called once. * Ideally this file should have only around 10 globally called functions - all the rest * will become internal to this file. * gConfigFile variable should become static to this file, and have functions modify its * value - i.e. setConfigLocation, getConfigLocation, saveConfig, loadConfig, etc */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include /* g_fopen, etc */ #include "interface.h" /* glade requirement */ #include "support.h" /* glade requirement */ #include "search.h" /* Add in column definitions */ #include "misc.h" /* Everything else */ #include "savestate.h" /* Externals */ extern GtkWidget *mainWindowApp; /* Holds pointer to the main searchmonkey GUI. Declared in main.c */ extern GStaticMutex mutex_Data; /* Created in search.c to control access to search results data. */ extern GStaticMutex mutex_Control; /* Created in search.c to control access to search controls. */ /************************************************************** * Keyfile interface commands **************************************************************/ /* * Creates a new config file */ void createNewKeyFile(GKeyFile *keyString) { gchar* tmpStr = g_strdup_printf(_(" %s settings auto-generated - Do not edit!"), PACKAGE); g_key_file_set_comment (keyString, NULL, NULL, tmpStr, NULL); g_key_file_set_string(keyString, "version-info", "version", CURRENT_VERSION); g_free(tmpStr); return; } /* * Attempts to load the searchmonkey config.ini file. * If invalid, or non-existant, creates new config file. */ void createGKeyFile(GObject *object, const gchar *dataName) { GKeyFile *keyString; keyString = g_key_file_new (); gchar *tmpStr; if (!g_key_file_load_from_file (keyString, gConfigFile, G_KEY_FILE_KEEP_COMMENTS, NULL)) { createNewKeyFile(keyString); } else { gchar* version = g_key_file_get_string(keyString, "version-info", "version", NULL); gint versionCmp = 1; if (version != NULL) { versionCmp = strcmp(version, CURRENT_VERSION); } if (versionCmp != 0) { GtkWidget* yesNoDialog; yesNoDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindowApp), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("Configuration files are for a different version of Searchmonkey. This may cause errors. Delete old configuration files?")); if (gtk_dialog_run(GTK_DIALOG(yesNoDialog)) != GTK_RESPONSE_YES) { /*This is to prevent checking the next time */ g_key_file_set_string(keyString, "version-info", "version", CURRENT_VERSION); } else { g_key_file_free(keyString); g_remove(gConfigFile); keyString = g_key_file_new(); createNewKeyFile(keyString); } gtk_widget_destroy(yesNoDialog); } g_free(version); } g_object_set_data_full(object, dataName, keyString, destroyGKeyFile); } /* * Saves config file (config.ini) to disk, and frees associated memory. * Automatically called when save data is destroyed (i.e. user closed searchmonkey). */ void destroyGKeyFile(gpointer data) { GKeyFile *keyString = data; if (GPOINTER_TO_INT(g_object_get_data(G_OBJECT(mainWindowApp), CONFIG_DISABLE_SAVE_CONFIG_STRING)) != CONFIG_DISABLE_SAVE_CONFIG) { storeGKeyFile(keyString); } g_key_file_free(keyString); if (gConfigFile != NULL) { g_free(gConfigFile); } } /* * Internal helper: returns reference to current config.ini file (stored in RAM). */ GKeyFile *getGKeyFile(GtkWidget *widget) { GObject *window1 = G_OBJECT(lookup_widget(GTK_WIDGET(widget), "window1")); GKeyFile *keyString = g_object_get_data(window1, MASTER_OPTIONS_DATA); return keyString; } /* * Internal helper: saves the config.ini file to disk. * If configured to, user-prompt is created so that automatic saving of state is an option. * If storage fails, quietly informs user via the command line - not by pop-up, as this could * cause an annoyance to users. */ void storeGKeyFile(GKeyFile *keyString) { gsize length; gchar *outText; GError *error = NULL; gchar *folderName; GtkWidget *okCancelDialog; if (g_key_file_has_key(keyString, "configuration", "configPromptSave", NULL) && (g_key_file_get_boolean(keyString, "configuration", "configPromptSave", NULL))) { okCancelDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindowApp), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, _("About to overwrite save configuration. Do you want to proceed?")); if (gtk_dialog_run(GTK_DIALOG(okCancelDialog)) != GTK_RESPONSE_OK) { gtk_widget_destroy(okCancelDialog); return; } gtk_widget_destroy(okCancelDialog); } /* Write the configuration file to disk */ folderName = g_path_get_dirname(gConfigFile); outText = g_key_file_to_data (keyString, &length, NULL); if (!g_file_set_contents2 (gConfigFile, outText, length, NULL)) { /* Unable to immediately write to file, so attempt to recreate folders */ mkFullDir(folderName, S_IRWXU); if (!g_file_set_contents2 (gConfigFile, outText, length, &error)) { g_print(_("Error saving %s: %s\n"), gConfigFile, error->message); g_error_free(error); error = NULL; } } g_free(outText); g_free(folderName); } /* * Callback/Internal helper: updates configuration panel with config file's location. * If no config file, or any error detected than [missing] is displayed instead. */ void setConfigFileLocation (GtkWidget *widget) { gchar *fullPath; if (g_file_test(gConfigFile, G_FILE_TEST_EXISTS)) { gtk_entry_set_text(GTK_ENTRY(lookup_widget(widget, "configFileLocation")), gConfigFile); } else { fullPath = g_strconcat(gConfigFile, _(" [missing]"), NULL); gtk_entry_set_text(GTK_ENTRY(lookup_widget(widget, "configFileLocation")), fullPath); g_free(fullPath); } } /************************************************************** * Top level save/restore commands **************************************************************/ /* * Callback helper: master realize function for searchmonkey main screen */ void realize_searchmonkeyWindow (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); GtkComboBox* tmpCombo; GtkTreeIter iter; /* Global stuff */ realizeWindow(widget, keyString, "application", "window1"); /* restore window size */ /* Search stuff */ initComboBox2(lookup_widget(widget, "fileName")); initComboBox(lookup_widget(widget, "containingText")); initComboBox(lookup_widget(widget, "lookIn")); initComboBox2(lookup_widget(widget, "fileName2")); initComboBox(lookup_widget(widget, "containingText2")); initComboBox(lookup_widget(widget, "lookIn2")); realize_searchNotebook(widget); tmpCombo = GTK_COMBO_BOX(lookup_widget(widget, "lookIn")); g_assert(tmpCombo != NULL); if (gtk_tree_model_get_iter_first(gtk_combo_box_get_model(tmpCombo), &iter) == FALSE) { addUniqueRow(GTK_WIDGET(tmpCombo), g_get_home_dir()); /* Set default look in folder */ } tmpCombo = GTK_COMBO_BOX(lookup_widget(widget, "lookIn2")); g_assert(tmpCombo != NULL); if (gtk_tree_model_get_iter_first(gtk_combo_box_get_model(tmpCombo), &iter) == FALSE) { addUniqueRow(GTK_WIDGET(tmpCombo), g_get_home_dir()); /* Set default look in folder */ } /* Results stuff */ setResultsViewHorizontal(widget, TRUE); /* Default to horizontal */ gboolean autoColumnWidth = ((!g_key_file_has_key (keyString, "configuration", "autosize_columns", NULL)) || (g_key_file_get_boolean (keyString, "configuration", "autosize_columns", NULL))); initTreeView(widget); realizeTreeview(widget, keyString, "history", "treeview", autoColumnWidth); /* restore column widths, search order */ realizeTreeviewColumns(widget, keyString, "history", "treeview", autoColumnWidth); /* restore column widths, search order */ initTextView(widget); realizeTextviewFont(widget, keyString, "menuOptions", "font"); realizeTextviewHighlight(widget, keyString, "menuOptions", "highlight"); /* Status bar */ createStatusbarData(G_OBJECT(mainWindowApp), MASTER_STATUSBAR_DATA); realize_statusbar (widget); /* Menu stuff (do this last so that all view options get set) */ realize_menubar(widget); gtk_widget_grab_focus (lookup_widget(widget, "playButton1")); } /* * Callback helper: master unrealize function for searchmonkey main screen */ void unrealize_searchmonkeyWindow (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); unrealizeWindow(widget, keyString, "application", "window1"); /* Save window size */ /* Menu stuff */ unrealize_menubar(widget); /* Search stuff */ unrealize_searchNotebook(widget); /* Results stuff */ gboolean autoColumnWidth = ((!g_key_file_has_key (keyString, "configuration", "autosize_columns", NULL)) || (g_key_file_get_boolean (keyString, "configuration", "autosize_columns", NULL))); unrealizeTreeview(widget, keyString, "history", "treeview", autoColumnWidth); unrealizeTreeviewColumns(widget, keyString, "history", "treeview", autoColumnWidth); unrealizeTextviewFont(widget, keyString, "menuOptions", "font"); unrealizeTextviewHighlight(widget, keyString, "menuOptions", "highlight"); } /* * Callback helper: retrieve all configuration settings from config.ini */ void realize_configDialog (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(mainWindowApp); GtkFileChooser *chooser; gchar *fullPath; /* Save current treeview column sizes immediately */ unrealizeTreeviewColumns (GTK_WIDGET(mainWindowApp), keyString, "history", "treeview", FALSE); /* Restore global settings */ realizeToggle (widget, keyString, "configuration", "configForceSingle"); realizeToggle (widget, keyString, "configuration", "configExtendedRegex"); realizeToggle (widget, keyString, "configuration", "configPromptSave"); realizeToggle (widget, keyString, "configuration", "configPromptDelete"); realizeToggle (widget, keyString, "configuration", "configMatchBinary"); /* Restore store results settings */ realizeString (widget, keyString, "configuration", "configResultEOL"); realizeString (widget, keyString, "configuration", "configResultEOF"); realizeString (widget, keyString, "configuration", "configResultDelimiter"); /* Restore store results settings */ realizeString (widget, keyString, "configuration", "configFileLocation"); /* Restore system call settings */ realizeString (widget, keyString, "configuration", "configTextEditor"); realizeString (widget, keyString, "configuration", "configTextEditorAttributes"); realizeString (widget, keyString, "configuration", "configFileExplorer"); realizeString (widget, keyString, "configuration", "configFileExplorerAttributes"); realizeString (widget, keyString, "configuration", "configWebBrowser"); realizeString (widget, keyString, "configuration", "configWebBrowserAttributes"); setConfigFileLocation (widget); } /* * Callback helper: store all configuration settings into config.ini */ void unrealize_configDialog (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(mainWindowApp); GtkFileChooser *chooser; /* Restore global settings */ unrealizeToggle (widget, keyString, "configuration", "configForceSingle"); unrealizeToggle (widget, keyString, "configuration", "configExtendedRegex"); unrealizeToggle (widget, keyString, "configuration", "configPromptSave"); unrealizeToggle (widget, keyString, "configuration", "configPromptDelete"); unrealizeToggle (widget, keyString, "configuration", "configMatchBinary"); /* Restore store results settings */ unrealizeString (widget, keyString, "configuration", "configResultEOL"); unrealizeString (widget, keyString, "configuration", "configResultEOF"); unrealizeString (widget, keyString, "configuration", "configResultDelimiter"); /* Restore system call settings */ unrealizeString (widget, keyString, "configuration", "configTextEditor"); unrealizeString (widget, keyString, "configuration", "configTextEditorAttributes"); unrealizeString (widget, keyString, "configuration", "configFileExplorer"); unrealizeString (widget, keyString, "configuration", "configFileExplorerAttributes"); unrealizeString (widget, keyString, "configuration", "configWebBrowser"); unrealizeString (widget, keyString, "configuration", "configWebBrowserAttributes"); } /* * Callback helper: store all search settings into config.ini */ void realize_searchNotebook (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); /* Store basic Tab */ realizeComboBox2(widget, keyString, "history", "fileName2"); realizeComboBox(widget, keyString, "history", "containingText2"); realizeToggle(widget, keyString, "history", "containingTextCheck2"); realizeComboBox(widget, keyString, "history", "lookIn2"); realizeToggle(widget, keyString, "history", "searchSubfoldersCheck2"); realizeToggle(widget, keyString, "history", "ignoreHiddenFiles"); /* Store advanced Tab */ realizeComboBox2(widget, keyString, "history", "fileName"); realizeToggle(widget, keyString, "history", "expertUserCheck"); realizeComboBox(widget, keyString, "history", "containingText"); realizeToggle(widget, keyString, "history", "containingTextCheck"); realizeComboBox(widget, keyString, "history", "lookIn"); realizeToggle(widget, keyString, "history", "searchSubfoldersCheck"); realizeToggle(widget, keyString, "history", "moreThanCheck"); realizeString(widget, keyString, "history", "moreThanEntry"); realizeToggle(widget, keyString, "history", "lessThanCheck"); realizeString(widget, keyString, "history", "lessThanEntry"); realizeToggle(widget, keyString, "history", "afterCheck"); realizeString(widget, keyString, "history", "afterEntry"); realizeToggle(widget, keyString, "history", "beforeCheck"); realizeString(widget, keyString, "history", "beforeEntry"); realizeToggle(widget, keyString, "history", "folderDepthCheck"); realizeSpin(widget, keyString, "history", "folderDepthSpin"); /* Store Advanced Options Tab */ realizeToggle(widget, keyString, "history", "notExpressionCheckFile"); realizeToggle(widget, keyString, "history", "matchCaseCheckFile"); realizeToggle(widget, keyString, "history", "ignoreHiddenFiles"); realizeToggle(widget, keyString, "history", "dosExpressionRadioFile"); realizeToggle(widget, keyString, "history", "regularExpressionRadioFile"); realizeToggle(widget, keyString, "history", "singlePhaseCheckContents"); realizeToggle(widget, keyString, "history", "matchCaseCheckContents"); realizeToggle(widget, keyString, "history", "wildcardCheckContents"); realizeToggle(widget, keyString, "history", "regularExpressionRadioContents"); realizeToggle(widget, keyString, "history", "limitResultsCheckResults"); realizeSpin(widget, keyString, "history", "maxHitsSpinResults"); realizeToggle(widget, keyString, "history", "showLinesCheckResults"); realizeSpin(widget, keyString, "history", "showLinesSpinResults"); realizeToggle(widget, keyString, "history","followSymLinksCheck"); realizeToggle(widget, keyString, "history", "limitContentsCheckResults"); realizeSpin(widget, keyString, "history", "maxContentHitsSpinResults"); /* Store notebook global settings */ realizeNotebook(widget, keyString, "history", "searchNotebook"); } /* * Callback helper: store all search settings into config.ini */ void unrealize_searchNotebook (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); GtkComboBox * combo = GTK_COMBO_BOX(lookup_widget(widget, "fileName")); /* Store notebook global settings */ unrealizeNotebook(widget, keyString, "history", "searchNotebook"); /* Store basic Tab */ unrealizeComboBox2(widget, keyString, "history", "fileName2"); unrealizeComboBox(widget, keyString, "history", "containingText2"); unrealizeToggle(widget, keyString, "history", "containingTextCheck2"); unrealizeComboBox(widget, keyString, "history", "lookIn2"); unrealizeToggle(widget, keyString, "history", "searchSubfoldersCheck2"); unrealizeToggle(widget, keyString, "history", "ignoreHiddenFiles"); /* Store advanced Tab */ unrealizeComboBox2(widget, keyString, "history", "fileName"); unrealizeToggle(widget, keyString, "history", "expertUserCheck"); unrealizeComboBox(widget, keyString, "history", "containingText"); unrealizeToggle(widget, keyString, "history", "containingTextCheck"); unrealizeComboBox(widget, keyString, "history", "lookIn"); unrealizeToggle(widget, keyString, "history", "searchSubfoldersCheck"); unrealizeToggle(widget, keyString, "history", "moreThanCheck"); unrealizeString(widget, keyString, "history", "moreThanEntry"); unrealizeToggle(widget, keyString, "history", "lessThanCheck"); unrealizeString(widget, keyString, "history", "lessThanEntry"); unrealizeToggle(widget, keyString, "history", "afterCheck"); unrealizeString(widget, keyString, "history", "afterEntry"); unrealizeToggle(widget, keyString, "history", "beforeCheck"); unrealizeString(widget, keyString, "history", "beforeEntry"); unrealizeToggle(widget, keyString, "history", "folderDepthCheck"); unrealizeSpin(widget, keyString, "history", "folderDepthSpin"); /* Store Options Tab */ unrealizeToggle(widget, keyString, "history", "notExpressionCheckFile"); unrealizeToggle(widget, keyString, "history", "matchCaseCheckFile"); unrealizeToggle(widget, keyString, "history", "ignoreHiddenFiles"); unrealizeToggle(widget, keyString, "history", "dosExpressionRadioFile"); unrealizeToggle(widget, keyString, "history", "regularExpressionRadioFile"); unrealizeToggle(widget, keyString, "history", "singlePhaseCheckContents"); unrealizeToggle(widget, keyString, "history", "matchCaseCheckContents"); unrealizeToggle(widget, keyString, "history", "wildcardCheckContents"); unrealizeToggle(widget, keyString, "history", "regularExpressionRadioContents"); unrealizeToggle(widget, keyString, "history", "limitResultsCheckResults"); unrealizeSpin(widget, keyString, "history", "maxHitsSpinResults"); unrealizeToggle(widget, keyString, "history", "showLinesCheckResults"); unrealizeSpin(widget, keyString, "history", "showLinesSpinResults"); unrealizeToggle(widget, keyString, "history","followSymLinksCheck"); unrealizeToggle(widget, keyString, "history", "limitContentsCheckResults"); unrealizeSpin(widget, keyString, "history", "maxContentHitsSpinResults"); } /* * Callback helper: retrieve menubar settings from config */ void realize_menubar (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); /* Restore View */ realizeMenuCheck(widget, keyString, "menuOptions", "toolbar2"); realizeMenuCheck(widget, keyString, "menuOptions", "status_bar1"); realizeMenuCheck(widget, keyString, "menuOptions", "horizontal_results1"); realizeMenuCheck(widget, keyString, "menuOptions", "vertical_results1"); /* Restore View->sort_Column */ realizeMenuCheck(widget, keyString, "menuOptions", "file_name1"); realizeMenuCheck(widget, keyString, "menuOptions", "location1"); realizeMenuCheck(widget, keyString, "menuOptions", "size1"); realizeMenuCheck(widget, keyString, "menuOptions", "type1"); realizeMenuCheck(widget, keyString, "menuOptions", "modified1"); realizeMenuCheck(widget, keyString, "menuOptions", "matches1"); /* Restore Settings */ realizeMenuCheck(widget, keyString, "menuOptions", "word_wrap1"); realizeMenuCheck(widget, keyString, "menuOptions", "autosize_columns"); } /* * Callback helper: store menubar settings to config */ void unrealize_menubar (GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); /* Store View */ unrealizeMenuCheck(widget, keyString, "menuOptions", "toolbar2"); unrealizeMenuCheck(widget, keyString, "menuOptions", "status_bar1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "horizontal_results1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "vertical_results1"); /* Store View->sort_Column */ unrealizeMenuCheck(widget, keyString, "menuOptions", "file_name1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "location1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "size1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "type1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "modified1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "matches1"); /* Store Settings */ unrealizeMenuCheck(widget, keyString, "menuOptions", "word_wrap1"); unrealizeMenuCheck(widget, keyString, "menuOptions", "autosize_columns"); } /* * Callback helper: initialises the file name match result table columns. * Adds the "clicked" signals so that the sort columns can be chosen by the user. * Adds the "selection changed" signal so that the contents are changed when the user * clicks on a new row. */ void initTreeView_aux(GtkTreeView *treeview, GtkListStore *store, GtkTreeModel *sortedModel) { GtkCellRenderer *renderer, *folderRenderer; GtkTreeViewColumn *column; GtkTreeSelection *select; g_assert(treeview != NULL); gtk_tree_view_set_model (treeview, GTK_TREE_MODEL (sortedModel)); /* Create cell renderers */ renderer = gtk_cell_renderer_text_new (); folderRenderer = gtk_cell_renderer_text_new (); g_object_set(folderRenderer, "ellipsize", PANGO_ELLIPSIZE_MIDDLE, "ellipsize-set", TRUE, NULL); /* Add columns to the list */ column = gtk_tree_view_column_new_with_attributes (_("Name"), renderer, "text", FILENAME_COLUMN, NULL); g_signal_connect ((gpointer) column, "clicked", G_CALLBACK (on_column_click), GINT_TO_POINTER(FILENAME_COLUMN)); gtk_tree_view_append_column (treeview, column); column = gtk_tree_view_column_new_with_attributes (_("Location"), folderRenderer, "text", LOCATION_COLUMN, NULL); g_signal_connect ((gpointer) column, "clicked", G_CALLBACK (on_column_click), GINT_TO_POINTER(LOCATION_COLUMN)); gtk_tree_view_append_column (treeview, column); column = gtk_tree_view_column_new_with_attributes (_("Size"), renderer, "text", SIZE_COLUMN, NULL); g_signal_connect ((gpointer) column, "clicked", G_CALLBACK (on_column_click), GINT_TO_POINTER(SIZE_COLUMN)); gtk_tree_view_append_column (treeview, column); column = gtk_tree_view_column_new_with_attributes (_("Type"), renderer, "text", TYPE_COLUMN, NULL); g_signal_connect ((gpointer) column, "clicked", G_CALLBACK (on_column_click), GINT_TO_POINTER(TYPE_COLUMN)); gtk_tree_view_append_column (treeview, column); column = gtk_tree_view_column_new_with_attributes (_("Modified"), renderer, "text", MODIFIED_COLUMN, NULL); g_signal_connect ((gpointer) column, "clicked", G_CALLBACK (on_column_click), GINT_TO_POINTER(MODIFIED_COLUMN)); gtk_tree_view_append_column (treeview, column); column = gtk_tree_view_column_new_with_attributes (_("Matches"), renderer, "text", MATCHES_COUNT_STRING_COLUMN, NULL); g_signal_connect ((gpointer) column, "clicked", G_CALLBACK (on_column_click), GINT_TO_POINTER(MATCHES_COUNT_STRING_COLUMN)); gtk_tree_view_append_column (treeview, column); /* Set up select call back handler */ /* Setup the selection handler */ select = gtk_tree_view_get_selection (treeview); gtk_tree_selection_set_mode (select, GTK_SELECTION_SINGLE); g_signal_connect (G_OBJECT (select), "changed", G_CALLBACK (tree_selection_changed_cb), NULL); /* Allow clickable headers */ g_object_set(treeview, "headers-clickable", TRUE, NULL); } void initTreeView(GtkWidget *widget) { GtkListStore *store; GtkTreeModel *sortedModel; /* Attach new list store object to treeview widget */ store = gtk_list_store_new (N_COLUMNS, /* Total number of columns */ G_TYPE_STRING, /* File name */ G_TYPE_STRING, /* Location */ G_TYPE_STRING, /* File size */ G_TYPE_STRING, /* File Type */ G_TYPE_STRING, /* Modified date */ G_TYPE_STRING, /* Complete File Name */ G_TYPE_STRING, /* Match count (string) */ G_TYPE_UINT, /* File size in bytes */ G_TYPE_UINT, /* Modified date as int */ G_TYPE_UINT, /* Match count */ G_TYPE_UINT); /* Match index */ sortedModel = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL(store)); initTreeView_aux(GTK_TREE_VIEW(lookup_widget(widget, "treeview1")), store, sortedModel); initTreeView_aux(GTK_TREE_VIEW(lookup_widget(widget, "treeview2")), store, sortedModel); g_object_unref(store); } /* * Callback helper: initialises the two fonts for the content and match results buffer */ void initTextView_aux(GtkTextView *textview) { GtkTextBuffer *buffer; GtkTextTag *tag; g_assert(textview != NULL); buffer = gtk_text_view_get_buffer (textview); /* Used to highlight each match result */ tag = gtk_text_buffer_create_tag (buffer, "word_highlight", "foreground", "blue", "weight", PANGO_WEIGHT_NORMAL, "weight-set", TRUE, "style", PANGO_STYLE_NORMAL, "style-set", TRUE, "underline", PANGO_UNDERLINE_SINGLE, "underline-set", TRUE, NULL); /* Used to force the default font to standard i.e. no bold/italics */ tag = gtk_text_buffer_create_tag (buffer, "results_text", "weight", PANGO_WEIGHT_NORMAL, "weight-set", TRUE, "style", PANGO_STYLE_NORMAL, "style-set", TRUE, "left-margin", 30, "left-margin-set", TRUE, NULL); /* Used to make the heading line stand out i.e. bold and italics */ tag = gtk_text_buffer_create_tag (buffer, "results_header", "weight", PANGO_WEIGHT_BOLD, "weight-set", TRUE, "style", PANGO_STYLE_ITALIC, "style-set", TRUE, NULL); /* Used to make the line numbers stand out i.e. just italics */ tag = gtk_text_buffer_create_tag (buffer, "results_line_number", "pixels-above-lines", 15, "pixels-above-lines-set", TRUE, "weight", PANGO_WEIGHT_NORMAL, "weight-set", TRUE, "style", PANGO_STYLE_ITALIC, "style-set", TRUE, "underline", PANGO_UNDERLINE_SINGLE, "underline-set", TRUE, NULL); tag = gtk_text_buffer_create_tag (buffer, "no_context", "weight", PANGO_WEIGHT_NORMAL, "weight-set", TRUE, "style", PANGO_STYLE_NORMAL, "style-set", TRUE, "foreground", "darkGrey", "underline-set", FALSE, NULL); return; } void initTextView(GtkWidget *widget) { initTextView_aux(GTK_TEXT_VIEW(lookup_widget(widget, "textview1"))); initTextView_aux(GTK_TEXT_VIEW(lookup_widget(widget, "textview4"))); } /* * Callback helper: initialises the statusbar memory structure - automatically destroyed with parent */ void realize_statusbar (GtkWidget *widget) { statusbarData *status; GtkStatusbar *statusbar = GTK_STATUSBAR(lookup_widget(widget, "statusbar1")); status = g_object_get_data(G_OBJECT(mainWindowApp), MASTER_STATUSBAR_DATA); g_sprintf(status->constantString, _("Ready")); gtk_statusbar_push(statusbar, STATUSBAR_CONTEXT_ID(statusbar), status->constantString); } /************************************************************** * Generic save/restore commands **************************************************************/ /* * Callback helper: retrieve file dialog's filename from config.ini settings */ void realizeFileDialog(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gchar *filename; GtkWidget *dialog = lookup_widget(widget, name); if (g_key_file_has_key(keyString, group, name, NULL)) { filename = g_key_file_get_string (keyString, group, name, NULL); if (filename != NULL) { gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (dialog), filename); g_free(filename); } } } /* * Callback helper: store file dialog's filename into config.ini settings */ void unrealizeFileDialog(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gchar *filename; GtkWidget *dialog = lookup_widget(widget, name); filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (dialog)); if (filename != NULL) { g_key_file_set_string (keyString, group, name, filename); g_free(filename); } } /* * Callback helper: retrieve generic menu item's checkbox value from config.ini settings */ void realizeMenuCheck(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { if (g_key_file_has_key(keyString, group, name, NULL)) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(lookup_widget(widget, name)), g_key_file_get_boolean (keyString, group, name, NULL)); } } /* * Callback helper: store generic menu item's checkbox value into config.ini settings */ void unrealizeMenuCheck(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { g_key_file_set_boolean (keyString, group, name, gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(lookup_widget(widget, name)))); } /* * Callback helper: retrieve generic text entry box text from config.ini settings */ void realizeString(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gchar *tmpString; if (g_key_file_has_key(keyString, group, name, NULL)) { tmpString = g_key_file_get_string (keyString, group, name, NULL); if (tmpString != NULL) { gtk_entry_set_text(GTK_ENTRY(lookup_widget((widget), name)), tmpString); g_free(tmpString); } } } /* * Callback helper: store generic text entry box text into config.ini settings */ void unrealizeString(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { g_key_file_set_string (keyString, group, name, gtk_entry_get_text(GTK_ENTRY(lookup_widget(widget, name)))); } /* * Callback helper: retrieve file chooser button filename from config.ini settings */ gboolean realizeFileButton(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkFileChooser *chooser = GTK_FILE_CHOOSER(lookup_widget(widget, name)); gchar *tmpString; gboolean retVal = FALSE; if (g_key_file_has_key(keyString, group, name, NULL)) { tmpString = g_key_file_get_string (keyString, group, name, NULL); if (tmpString != NULL) { retVal = gtk_file_chooser_set_filename (chooser, tmpString); g_free(tmpString); } } return retVal; } /* * Callback helper: store file chooser button filename into config.ini settings */ void unrealizeFileButton(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkFileChooser *chooser = GTK_FILE_CHOOSER(lookup_widget(widget, name)); gchar *tmpString = gtk_file_chooser_get_filename (chooser); if (tmpString != NULL) { g_key_file_set_string (keyString, group, name, tmpString); g_free(tmpString); } } /* * Callback helper: retrieve generic toggle button value from config.ini settings */ void realizeToggle(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { if (g_key_file_has_key(keyString, group, name, NULL)) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, name)), g_key_file_get_boolean (keyString, group, name, NULL)); } } /* * Callback helper: store generic toggle button value into config.ini settings */ void unrealizeToggle(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { g_key_file_set_boolean (keyString, group, name, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, name)))); } /* * Callback helper: retrieve generic current notebook page number from config.ini settings */ void realizeNotebook(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { if (g_key_file_has_key(keyString, group, name, NULL)) { gtk_notebook_set_current_page(GTK_NOTEBOOK(lookup_widget(widget, name)), g_key_file_get_integer (keyString, group, name, NULL)); } } /* * Callback helper: store generic current notebook page number into config.ini settings */ void unrealizeNotebook(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { g_key_file_set_integer (keyString, group, name, gtk_notebook_get_current_page(GTK_NOTEBOOK(lookup_widget(widget, name)))); } /* * Callback helper: retrieve generic toggle button value from config.ini settings */ void realizeSpin(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gdouble spinValue; if (g_key_file_has_key(keyString, group, name, NULL)) { spinValue = (gdouble)g_key_file_get_integer (keyString, group, name, NULL); gtk_spin_button_set_value(GTK_SPIN_BUTTON(lookup_widget(widget, name)), spinValue); } } /* * Callback helper: store generic toggle button value into config.ini settings */ void unrealizeSpin(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gdouble spinValue = gtk_spin_button_get_value(GTK_SPIN_BUTTON(lookup_widget(widget, name))); g_key_file_set_integer (keyString, group, name, (gint)spinValue); } /************************************************************** * Specific save/restore commands (for more complex widgets) **************************************************************/ /* * Callback helper: retrieve window's dimensions from config.ini settings */ void realizeWindow(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gint *width_height; gsize length; if (g_key_file_has_key(keyString, group, name, NULL)) { width_height = g_key_file_get_integer_list (keyString, group, name, &length, NULL); if (length == 2) { gtk_window_set_default_size (GTK_WINDOW(lookup_widget(widget,name)), width_height[0], width_height[1]); } g_free(width_height); } } /* * Callback helper: store window's dimensions into config.ini settings */ void unrealizeWindow(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gint width_height[2]; gtk_window_get_size (GTK_WINDOW(lookup_widget(widget, name)), &width_height[0], &width_height[1]); g_key_file_set_integer_list (keyString, group, name, width_height, 2); } /* * Callback helper: retrieve content result's font description from config.ini settings */ void realizeTextviewFont(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkTextView *textview; if (getResultsViewHorizontal(widget)) { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview1")); } else { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview4")); } gchar *newFont; PangoFontDescription *desc; PangoContext* context = gtk_widget_get_pango_context (GTK_WIDGET(textview)); g_assert(context != NULL); if (g_key_file_has_key(keyString, group, name, NULL)) { newFont = g_key_file_get_string (keyString, group, name, NULL); if (newFont != NULL) { desc = pango_font_description_from_string(newFont); if (desc != NULL) { gtk_widget_modify_font (GTK_WIDGET(textview), desc); pango_font_description_free(desc); } g_free(newFont); } } } /* * Callback helper: store content result's font description into config.ini settings */ void unrealizeTextviewFont(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkTextView *textview; if (getResultsViewHorizontal(widget)) { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview1")); } else { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview4")); } PangoContext* context = gtk_widget_get_pango_context (GTK_WIDGET(textview)); PangoFontDescription *desc = pango_context_get_font_description(context); gchar *newFont = pango_font_description_to_string(desc); if (newFont != NULL) { g_key_file_set_string (keyString, group, name, newFont); g_free(newFont); } } /* * Callback helper: retrieve content result's highlight colour from config.ini settings */ void realizeTextviewHighlight(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkTextView *textview; if (getResultsViewHorizontal(widget)) { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview1")); } else { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview4")); } gchar *newColor; GdkColor cp; GtkTextBuffer* textBuf = gtk_text_view_get_buffer (textview); GtkTextTagTable* tagTable = gtk_text_buffer_get_tag_table(textBuf); GtkTextTag* tag = gtk_text_tag_table_lookup(tagTable, "word_highlight"); g_assert(textview != NULL); g_assert(tag != NULL); g_assert(tagTable != NULL); g_assert(textBuf != NULL); if (g_key_file_has_key(keyString, group, name, NULL)) { newColor = g_key_file_get_string (keyString, group, name, NULL); if (newColor != NULL) { if (gdk_color_parse (newColor, &cp)) { g_object_set( G_OBJECT(tag), "foreground-gdk", &cp, NULL); } g_free(newColor); } } } /* * Callback helper: store content result's highlight colour into config.ini settings */ void unrealizeTextviewHighlight(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkTextView *textview; if (getResultsViewHorizontal(widget)) { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview1")); } else { textview = GTK_TEXT_VIEW(lookup_widget(widget, "textview4")); } gchar *newColor; GdkColor *cp; GtkTextBuffer* textBuf = gtk_text_view_get_buffer (textview); GtkTextTagTable* tagTable = gtk_text_buffer_get_tag_table(textBuf); GtkTextTag* tag = gtk_text_tag_table_lookup(tagTable, "word_highlight"); g_object_get( G_OBJECT(tag), "foreground-gdk", &cp, NULL); newColor = gtk_color_selection_palette_to_string(cp, 1); g_key_file_set_string (keyString, group, name, newColor); gdk_color_free(cp); g_free(newColor); } /* * Callback helper: retrieve generic combo-model value from config.ini settings */ void realizeComboModel(GtkListStore *store, GKeyFile *keyString, const gchar *group, const gchar *name) { gchar **tmpString; gsize length; gint i; GtkTreeIter iter; g_assert(store != NULL); if (g_key_file_has_key(keyString, group, name, NULL)) { tmpString = g_key_file_get_string_list (keyString, group, name, &length, NULL); if (tmpString != NULL) { for (i=(gint)length; i>0; i--) { g_assert(store != NULL); gtk_list_store_prepend (store, &iter); gtk_list_store_set (store, &iter, 0, tmpString[i-1], -1); } g_strfreev(tmpString); } } } /* * Callback helper: retrieve generic Combo - box from config.ini settings */ void realizeComboBox(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { gchar *readString; gsize length; gint i; gint activeRow = 0; GtkComboBox *comboBox = GTK_COMBO_BOX(lookup_widget(widget, name)); /*Retrieve model */ realizeComboModel(GTK_LIST_STORE(gtk_combo_box_get_model(comboBox)), keyString, group, name); /* Retrieve active row */ readString = g_strconcat(name, "-active", NULL); g_assert(readString != NULL); if (g_key_file_has_key(keyString, group, readString, NULL)) { activeRow = g_key_file_get_integer (keyString, group, readString, NULL); gtk_combo_box_set_active (comboBox, activeRow); } g_free(readString); } /* * Callback helper: retrieve Combobox with two models from config.ini settings */ void realizeComboBox2(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkComboBox *comboBox = GTK_COMBO_BOX(lookup_widget(widget, name)); gint* setActive; gchar* keyname; /*Retrieve model */ keyname = g_strconcat(name, "regex", NULL); realizeComboModel(GTK_LIST_STORE(g_object_get_data(G_OBJECT(comboBox), "regex")), keyString, group, keyname); g_free(keyname); keyname = g_strconcat(name, "noregex", NULL); realizeComboModel(GTK_LIST_STORE(g_object_get_data(G_OBJECT(comboBox), "noregex")), keyString, group, keyname); g_free(keyname); /* Retrieve active row */ setActive = (gint *)g_malloc(sizeof(gint)); keyname = g_strconcat(name, "regex-active", NULL); if (g_key_file_has_key(keyString, group, keyname, NULL)) { *setActive = g_key_file_get_integer (keyString, group, keyname, NULL); } else { *setActive = -1; } g_free(keyname); g_object_set_data_full(G_OBJECT(comboBox), "regex-active", (gpointer)setActive, &g_free); setActive = (gint *)g_malloc(sizeof(gint)); keyname = g_strconcat(name, "noregex-active", NULL); if (g_key_file_has_key(keyString, group, keyname, NULL)) { *setActive = g_key_file_get_integer (keyString, group, keyname, NULL); } else { *setActive = -1; } g_free(keyname); g_object_set_data_full(G_OBJECT(comboBox), "noregex-active", (gpointer)setActive, &g_free); /* Default to Regex mode */ gtk_combo_box_set_model(comboBox, GTK_TREE_MODEL(g_object_get_data(G_OBJECT(comboBox), "regex"))); gtk_combo_box_set_active(comboBox, *((gint *)g_object_get_data(G_OBJECT(comboBox),"regex-active"))); } /* * Callback helper: store generic combo-box model into config.ini settings */ void unrealizeComboModel(GtkListStore *store, GKeyFile *keyString, const gchar *group, const gchar *name, gint activeRow) { GtkTreeIter iter; gchar *readString = NULL; gchar **outString; gint i=0; g_assert(store != NULL); /* Store active row */ readString = g_strconcat(name, "-active", NULL); g_key_file_set_integer (keyString, group, readString, activeRow); g_free(readString); /* Find first, and then loop through all until duplicate found */ if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL(store), &iter)) { outString = g_malloc((1+gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL))* sizeof(gchar *)); do { gtk_tree_model_get (GTK_TREE_MODEL(store), &iter, 0, &readString, -1); if (readString != NULL) { outString[i++] = readString; } } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &iter)); outString[i] = NULL; /* Terminate array */ g_key_file_set_string_list (keyString, group, name, (const gchar**)outString, i); /* Clean up */ g_strfreev(outString); } } /* * Callback helper: store generic combo box into config.ini settings */ void unrealizeComboBox(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkComboBox *comboBox = GTK_COMBO_BOX(lookup_widget(widget, name)); gint activeRow = gtk_combo_box_get_active(comboBox); unrealizeComboModel(GTK_LIST_STORE(gtk_combo_box_get_model(comboBox)), keyString, group, name, activeRow); } /* * Callback helper: store combo box with two models into config.ini settings */ void unrealizeComboBox2(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name) { GtkComboBox *comboBox = GTK_COMBO_BOX(lookup_widget(widget, name)); gint regexActive; gint noregexActive; if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "regularExpressionRadioFile")))) { regexActive = gtk_combo_box_get_active(comboBox); noregexActive = *((gint *)g_object_get_data(G_OBJECT(comboBox), "noregex-active")); } else { regexActive = *((gint *)g_object_get_data(G_OBJECT(comboBox), "regex-active")); noregexActive = gtk_combo_box_get_active(comboBox); } gchar * keyname = g_strconcat(name, "regex", NULL); unrealizeComboModel(GTK_LIST_STORE(g_object_get_data(G_OBJECT(comboBox), "regex")), keyString, group, keyname, regexActive); g_free(keyname); keyname = g_strconcat(name, "noregex", NULL); unrealizeComboModel(GTK_LIST_STORE(g_object_get_data(G_OBJECT(comboBox), "noregex")), keyString, group, keyname, noregexActive); g_free(keyname); } /* * Callback helper: retrieve file results table's sort column plus order from config.ini settings */ void realizeTreeview(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth) { gchar *fullName; GtkCheckMenuItem *toggle_button; gint colNum; GtkSortType colOrder; /* restore sort column */ fullName = g_strconcat(name, "Sortcol", NULL); if (g_key_file_has_key(keyString, group, fullName, NULL)) { colNum = g_key_file_get_integer (keyString, group, fullName, NULL); } g_free(fullName); /* restore sort order */ fullName = g_strconcat(name, "SortcolOrder", NULL); if (g_key_file_has_key(keyString, group, fullName, NULL)) { colOrder = g_key_file_get_integer (keyString, group, fullName, NULL); } g_free(fullName); setSortMenuItem(colNum, colOrder); } /* * Callback helper: store file results table's column sort column plus order into config.ini settings */ void unrealizeTreeview(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth) { gchar *fullName; GtkCheckMenuItem *toggle_button; gint colNum; GtkSortType sortOrder; /* save sort column + order */ getSortMenuItem(&colNum, &sortOrder); fullName = g_strconcat(name, "Sortcol", NULL); g_key_file_set_integer (keyString, group, fullName, colNum); g_free(fullName); fullName = g_strconcat(name, "SortcolOrder", NULL); g_key_file_set_integer (keyString, group, fullName, sortOrder); g_free(fullName); } /* * Callback helper: retrieve file results table's column width from config.ini settings * TODO: Replace strcmp command with index (i.e. numerical location) based test, as string name is liable to change with locale.. */ void realizeTreeviewColumns (GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth) { GtkTreeView *treeview; if (getResultsViewHorizontal(widget)) { treeview = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { treeview = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } GList *allColumns = gtk_tree_view_get_columns(treeview); GtkTreeViewColumn *column; gchar *fullName; gint colWidth; g_assert(treeview != NULL); /* Internal error if unable to find treeview */ if (allColumns == NULL) { return; /* Not an error, just means treeview is not yet set up */ } /* restore column widths */ allColumns = g_list_first(allColumns); do { column = allColumns->data; if (autoColumnWidth) { gtk_tree_view_column_set_resizable (column, FALSE); if (strcmp(gtk_tree_view_column_get_title(column), _("Location")) == 0) { gtk_tree_view_column_set_min_width (column, 350); } else { gtk_tree_view_column_set_min_width (column, -1); } gtk_tree_view_column_set_max_width (column, -1); gtk_tree_view_column_set_fixed_width (column, 1); gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE); } else { gtk_tree_view_column_set_min_width (column, 50); gtk_tree_view_column_set_max_width (column, -1); gtk_tree_view_column_set_resizable (column, TRUE); gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); fullName = g_strconcat(name, gtk_tree_view_column_get_title(column), NULL); if (g_key_file_has_key(keyString, group, fullName, NULL)) { colWidth = g_key_file_get_integer (keyString, group, fullName, NULL); gtk_tree_view_column_set_fixed_width (column, colWidth); } g_free(fullName); } } while ((allColumns = g_list_next(allColumns)) != NULL); g_list_free(allColumns); } /* * Callback helper: store file results table's column width into config.ini settings */ void unrealizeTreeviewColumns (GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth) { GtkTreeView *treeview; if (getResultsViewHorizontal(widget)) { treeview = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { treeview = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } GList *allColumns = gtk_tree_view_get_columns(treeview); GtkTreeViewColumn *column; gchar *fullName; gint colWidth; g_assert(treeview != NULL); /* Internal error if unable to find treeview */ if (allColumns == NULL) { return; /* Not an error, just means treeview is not yet set up */ } /* store column widths */ if (!autoColumnWidth) { allColumns = g_list_first(allColumns); do { column = allColumns->data; fullName = g_strconcat(name, gtk_tree_view_column_get_title(column), NULL); colWidth = gtk_tree_view_column_get_width (column); g_key_file_set_integer (keyString, group, fullName, colWidth); g_free(fullName); } while ((allColumns = g_list_next(allColumns)) != NULL); g_list_free(allColumns); } } /********************************************************* * Tree view handlers (Right click + sort columns) *********************************************************/ /* * Internal helper: destroys pop-up menu created with right-click on results table. */ void undo_popup_menu(GtkWidget *attach_widget, GtkMenu *menu) { gtk_widget_destroy(GTK_WIDGET(menu)); } /* * Callback helper: creates pop-up menu (user presses right-click on results table). * Sets maximum time, and links destructor to undo_popup_menu */ void do_popup_menu (GtkWidget *widget, GdkEventButton *event) { GtkWidget *menu; int button, event_time; menu = create_menu1(); if (event) { button = event->button; event_time = event->time; } else { button = 0; event_time = gtk_get_current_event_time (); } gtk_menu_attach_to_widget (GTK_MENU (menu), widget, undo_popup_menu); gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, event->button, event->time); return; } /* * Callback helper: detaches the pop-up menu (user presses right-click on results table). * In turn, detached menu is destroyed by undo_popup_menu destructor. */ void detachMenu(GtkMenuItem *menuitem) { GtkWidget *treeView; if (getResultsViewHorizontal(GTK_WIDGET(menuitem))) { treeView = (lookup_widget(GTK_WIDGET(menuitem), "treeview1")); } else { treeView = (lookup_widget(GTK_WIDGET(menuitem), "treeview2")); } GList *menuList = gtk_menu_get_for_attach_widget (treeView); gtk_menu_detach(menuList->data); /* always first item */ } /* * Internal callback: signal set by initTreeView function. * Causes file's content matches to be displayed, and formatted. */ void tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data) { GtkWidget *textBox; GtkTextBuffer *buffer; searchData *mSearchData; /* Master search data */ searchControl *mSearchControl; /* Master search control */ lineMatch *newTextMatch, *prevTextMatch = NULL; GtkTreeIter iter; GtkTreeModel *model; gchar *fullFileName, *size, *mdate, tmpString[MAX_FILENAME_STRING + 1]; gchar *tmpString2; GtkTextIter txtIter, tmpIter; GtkTextIter start, end; gsize count, tmpCount; guint matchIndex; gint i = 0; gint lineCount = 2; /* Heading, plus options (i.e. 2-lines) */ GObject *window1; gboolean setWordWrap; gchar *t1; gchar *tmpStr = g_object_get_data(G_OBJECT(mainWindowApp), "noContextSearchString"); gint errorCount = 0; /* Temp debug */ gint a,b; g_assert(tmpStr != NULL); g_assert(selection != NULL); if (gtk_tree_selection_get_selected (selection, &model, &iter)) { g_assert(model != NULL); if (getResultsViewHorizontal(GTK_WIDGET(gtk_tree_selection_get_tree_view(selection)))) { textBox = lookup_widget(GTK_WIDGET(gtk_tree_selection_get_tree_view(selection)), "textview1"); } else { textBox = lookup_widget(GTK_WIDGET(gtk_tree_selection_get_tree_view(selection)), "textview4"); } window1 = G_OBJECT(lookup_widget(GTK_WIDGET(textBox), "window1")); setWordWrap = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(lookup_widget(textBox, "word_wrap1"))); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(textBox), setWordWrap); g_assert(textBox != NULL); g_assert(window1 != NULL); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (textBox)); g_assert(buffer != NULL); gtk_text_buffer_set_text(buffer, "", -1); /* Clear text! */ gtk_text_buffer_get_start_iter(buffer, &txtIter); /* Find start iter.. */ /* Get global data from the text view widget pointer */ // g_static_mutex_lock(&mutex_Data); mSearchData = g_object_get_data(window1, MASTER_SEARCH_DATA); g_assert(mSearchData != NULL); //g_static_mutex_unlock(&mutex_Data); //g_static_mutex_lock(&mutex_Control); mSearchControl = g_object_get_data(window1, MASTER_SEARCH_CONTROL); g_assert(mSearchControl != NULL); //g_static_mutex_unlock(&mutex_Control); gtk_tree_model_get (model, &iter, MATCHES_COUNT_COLUMN, &count, -1); if (count > 0) { gtk_tree_model_get (model, &iter, FULL_FILENAME_COLUMN, &fullFileName, SIZE_COLUMN, &size, MODIFIED_COLUMN, &mdate, MATCH_INDEX_COLUMN, &matchIndex, -1); g_assert(fullFileName != NULL); g_assert(size != NULL); g_assert(mdate != NULL); tmpString2 = g_strconcat(fullFileName, " (", size, " ", mdate, ")\n", NULL); gtk_text_buffer_insert_with_tags_by_name (buffer, &txtIter, tmpString2, -1, "results_header", NULL); g_free(tmpString2); /* Add line to describe options applied at run-time */ tmpString2 = generateContentOptionsString(mSearchControl); gtk_text_buffer_insert_with_tags_by_name (buffer, &txtIter, tmpString2, -1, "no_context", NULL); g_free(tmpString2); //g_static_mutex_lock(&mutex_Data); if (mSearchControl->flags & SEARCH_EXTRA_LINES) { for (i=0; ilineMatchArray->len); newTextMatch = g_ptr_array_index(mSearchData->lineMatchArray, (i + matchIndex)); g_assert(newTextMatch != NULL); if ((prevTextMatch == NULL) || (prevTextMatch->lineNum != newTextMatch->lineNum)) { tmpCount = g_snprintf(tmpString, MAX_FILENAME_STRING, _("Line Number: %d\n"), newTextMatch->lineNum); gtk_text_buffer_insert_with_tags_by_name (buffer, &txtIter, tmpString, -1, "results_line_number", NULL); gtk_text_buffer_insert_with_tags_by_name (buffer, &txtIter, newTextMatch->pLine, -1, "results_text", NULL); gtk_text_buffer_insert (buffer, &txtIter, "\n", -1); lineCount += newTextMatch->lineCountBefore; } else { lineCount -= (prevTextMatch->lineCountAfter + 1); } gtk_text_buffer_get_iter_at_line (buffer, &tmpIter, lineCount); a = gtk_text_iter_get_chars_in_line(&tmpIter); b = gtk_text_iter_get_bytes_in_line(&tmpIter); if (((a >= (newTextMatch->offsetEnd)) && (a >= (newTextMatch->offsetStart))) && ((b >= (newTextMatch->offsetEnd)) && (b >= (newTextMatch->offsetStart)))) { gtk_text_buffer_get_iter_at_line_offset (buffer, &start, lineCount, (newTextMatch->offsetStart)); gtk_text_buffer_get_iter_at_line_offset (buffer, &end, lineCount, (newTextMatch->offsetEnd)); gtk_text_buffer_apply_tag_by_name(buffer, "word_highlight", &start, &end); } else { errorCount ++; g_printf(_("\nInternal error %d! Unable to highlight line - offset beyond line-end.\n"), errorCount); g_printf(_("Please email all debug text to cottrela@users.sf.net.\n")); g_printf(_(" Debug: fn='%s'\n"), fullFileName); g_printf(_(" Debug: tc=%d + os=%d || oe=%d\n"), tmpCount, newTextMatch->offsetStart, newTextMatch->offsetEnd); g_printf(_(" Debug: %d) '%s'\n"), newTextMatch->lineNum, newTextMatch->pLine); if (errorCount > 3) { break; /* Exit loop as the rest of the file is likely to be corrupt too...*/ } } lineCount += (newTextMatch->lineCountAfter + 1); prevTextMatch = newTextMatch; } } else { /* Otherise, only display line numbers - no actual file contents */ for (i=0; ilineMatchArray, (i + matchIndex)); g_assert(newTextMatch != NULL); if ((prevTextMatch == NULL) || (prevTextMatch->lineNum != newTextMatch->lineNum)) { tmpCount = g_snprintf(tmpString, MAX_FILENAME_STRING, _("Line Number: %d\n"), newTextMatch->lineNum); gtk_text_buffer_insert (buffer, &txtIter, tmpString, -1); lineCount += newTextMatch->lineCountBefore; } else { lineCount -= (prevTextMatch->lineCountAfter + 1); } lineCount += (newTextMatch->lineCountAfter + 1); prevTextMatch = newTextMatch; } } //g_static_mutex_unlock(&mutex_Data); g_assert(fullFileName != NULL); g_assert(size != NULL); g_assert(mdate != NULL); g_free (fullFileName); g_free (size); g_free (mdate); } else { /* Print warning out just to fill the space */ gtk_tree_model_get (model, &iter, FULL_FILENAME_COLUMN, &fullFileName, SIZE_COLUMN, &size, MODIFIED_COLUMN, &mdate, MATCH_INDEX_COLUMN, &matchIndex, -1); tmpString2 = g_strconcat(fullFileName, " (", size, " ", mdate, ")\n", NULL); gtk_text_buffer_insert (buffer, &txtIter, tmpString2, -1); g_free(tmpString2); gtk_text_buffer_insert_with_tags_by_name (buffer, &txtIter, tmpStr, -1, "no_context", NULL); } } } /* * Internal helper: returns new string containing a textual description for all content specific options * e.g. Options: None * e.g. Options: 2 extra lines shown per hit; case-sensitive; */ gchar *generateContentOptionsString(searchControl *mSearchControl) { GString *retGString = g_string_new(_("Options: ")); /* Return string */ guint options_flag; gint count1, count2; gboolean noFlags = TRUE; //g_static_mutex_lock(&mutex_Control); options_flag = mSearchControl->flags; count1 = mSearchControl->numExtraLines; count2 = mSearchControl->limitContentResults; //g_static_mutex_unlock(&mutex_Control); if (options_flag & SEARCH_CASE_SENSITIVE) { g_string_append(retGString, _("case sensitive; ")); noFlags = FALSE; } if (options_flag & SEARCH_EXTRA_LINES) { if (count1 == 1) { g_string_append(retGString, _("display 1 extra line around match; ")); noFlags = FALSE; } else if (count1 > 1) { g_string_append_printf(retGString, _("display %d extra lines around match; "), count1); noFlags = FALSE; } } else { g_string_append(retGString, _("only showing line numbers; ")); noFlags = FALSE; } if (options_flag & SEARCH_LIMIT_CONTENT_SHOWN) { if (count2 == 1) { g_string_append(retGString, _("only showing first content match; ")); noFlags = FALSE; } else { g_string_append_printf(retGString, _("only showing first %d content matches; "), count2); noFlags = FALSE; } } if (noFlags) { g_string_append(retGString, _("none")); } else { g_string_truncate(retGString, (retGString->len - 2)); } g_string_append(retGString, _(".\n")); return g_string_free(retGString, FALSE); } /* * Internal callback: signal set by initTreeView function. * Causes table to sort with respect to the user_data column. */ void on_column_click (GtkTreeViewColumn *treeviewcolumn, gpointer user_data) { setSortMenuItem(GPOINTER_TO_INT(user_data), -1); } /* * Callback helper: common function called whenever the sort order is changed in the menu. * This function causes the table to get up/down arrows, and for the data to actually be re-sorted. * All other sort-functions will eventually cause this function to be executed. */ void columnClick(GtkWidget *widget, gint column) { gint oldColumn; GtkSortType direction; GtkTreeView *listview; if (getResultsViewHorizontal(widget)) { listview = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { listview = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } GtkTreeSortable *sortable = GTK_TREE_SORTABLE(gtk_tree_view_get_model(listview)); GtkTreeViewColumn *treeviewcolumn; GList *columnList = gtk_tree_view_get_columns(GTK_TREE_VIEW(listview)); gint i=0; /* Change the sorted column */ if (GTK_IS_TREE_SORTABLE (sortable)) { gtk_tree_sortable_get_sort_column_id (sortable, &oldColumn, &direction); if ((oldColumn == column) && (direction == GTK_SORT_ASCENDING)) { direction = GTK_SORT_DESCENDING; } else { direction = GTK_SORT_ASCENDING; } gtk_tree_sortable_set_sort_column_id (sortable, column, direction); /* Update the treeview heading indicators */ if (column == INT_MODIFIED_COLUMN) { oldColumn = MODIFIED_COLUMN; } else if (column == INT_SIZE_COLUMN) { oldColumn = SIZE_COLUMN; } else if (column == MATCHES_COUNT_COLUMN) { oldColumn = MATCHES_COUNT_STRING_COLUMN; } else { oldColumn = column; } columnList = g_list_first (columnList); do { treeviewcolumn = GTK_TREE_VIEW_COLUMN(columnList->data); if (i == oldColumn) { gtk_tree_view_column_set_sort_indicator(treeviewcolumn, TRUE); gtk_tree_view_column_set_sort_order(treeviewcolumn, direction); } else { gtk_tree_view_column_set_sort_indicator(treeviewcolumn, FALSE); gtk_tree_view_column_set_sort_order(treeviewcolumn, GTK_SORT_ASCENDING); } i++; } while ((columnList = g_list_next(columnList)) != NULL); } } /* * Internal helper: called from unrealizeTreeview function. * Given column number (columnId), returns the sort order (ascending/descending). */ void getSortMenuItem(gint *columnId, GtkSortType *sortOrder) { GtkTreeView *treeview; if (getResultsViewHorizontal(GTK_WIDGET(mainWindowApp))) { treeview = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(mainWindowApp), "treeview1")); } else { treeview = GTK_TREE_VIEW(lookup_widget(GTK_WIDGET(mainWindowApp), "treeview2")); } GtkTreeSortable *sortable = GTK_TREE_SORTABLE(gtk_tree_view_get_model(treeview)); gtk_tree_sortable_get_sort_column_id (sortable, columnId, sortOrder); } /* * Internal helper: called from unrealizeTreeview function. * Given column number (columnId), checks the corresponding menu-item for sort order. * In turn, this causes Gtk to emit the activate signal, which calls the function columnClick() */ void setSortMenuItem(gint columnId, GtkSortType order) { GtkCheckMenuItem *toggle_button; switch(columnId) { case LOCATION_COLUMN: toggle_button = GTK_CHECK_MENU_ITEM(lookup_widget(GTK_WIDGET(mainWindowApp), "location1")); break; case INT_SIZE_COLUMN: /* Force to SIZE column */ case SIZE_COLUMN: toggle_button = GTK_CHECK_MENU_ITEM(lookup_widget(GTK_WIDGET(mainWindowApp), "size1")); break; case TYPE_COLUMN: toggle_button = GTK_CHECK_MENU_ITEM(lookup_widget(GTK_WIDGET(mainWindowApp), "type1")); break; case INT_MODIFIED_COLUMN: /* Force to MODIFIED column */ case MODIFIED_COLUMN: toggle_button = GTK_CHECK_MENU_ITEM(lookup_widget(GTK_WIDGET(mainWindowApp), "modified1")); break; case MATCHES_COUNT_STRING_COLUMN: /* Force to MATCHES column */ case MATCHES_COUNT_COLUMN: toggle_button = GTK_CHECK_MENU_ITEM(lookup_widget(GTK_WIDGET(mainWindowApp), "matches1")); break; case FILENAME_COLUMN: /* This is the default option */ default: toggle_button = GTK_CHECK_MENU_ITEM(lookup_widget(GTK_WIDGET(mainWindowApp), "file_name1")); break; } /* Special case, only works first time a button is selected */ if (order == GTK_SORT_DESCENDING) { gtk_check_menu_item_set_active (toggle_button, FALSE); gtk_check_menu_item_set_active (toggle_button, TRUE); } /* Hack to get the buttons working as expected */ gtk_check_menu_item_set_active (toggle_button, FALSE); gtk_check_menu_item_set_active (toggle_button, TRUE); } /* * Internal helper: set to TRUE to enable extended regex mode */ void setExtendedRegexMode(GtkWidget *widget, gboolean extended) { GKeyFile *keyString = getGKeyFile(widget); g_key_file_set_boolean(keyString, "configuration", "configExtendedRegex", extended); } /* * Internal helper: returns TRUE if extended regex mode is enabled */ gboolean getExtendedRegexMode(GtkWidget *widget) { GKeyFile *keyString = getGKeyFile(widget); if (g_key_file_has_key(keyString, "configuration", "configExtendedRegex", NULL)) { return (g_key_file_get_boolean(keyString, "configuration", "configExtendedRegex", NULL)); } return TRUE; /* default enable extended regex mode */ } searchmonkey-0.8.1/src/search.h0000664000076400007660000002303710561732767013375 00000000000000#ifndef SEARCH_H #define SEARCH_H #include #include #include /* * External global variable declarations */ extern GtkWidget *mainWindowApp; /* Holds pointer to the main searchmonkey GUI. Declared in main.c */ /* * Global/miscillaneous constants */ #define MAX_FILENAME_STRING 512 /* String maximum for things like the statusbar, and other fixed length buffers - minimise usage */ #define TREEVIEW_HEADER_PIXEL_SIZE_Y 25 /* Treeview header size in pixels - on_treeview1_button_press_event() */ #define SEARCHMONKEY_CONFIG "config.ini" /* Configuration name for searchmonkey options - main()*/ #ifndef G_FILENAME_ENCODING #define G_FILENAME_ENCODING "UTF-8" /* If not set by operating system, force to UTF-8 */ #endif /* G_FILENAME_ENCODING */ /* * Progress bar constants - used to control speed, when it occurs, and sleep times */ #define MIN_STEP_VAL (1 / (G_EXE_LIST_MAX_DEPTH * (G_EXE_LIST_MAX_WIDTH + 1))) /* Minimum amount to move progress bar by when finding executables */ #define TOTAL_PBAR_JUMP_COUNT 6 /* Number of progress bar steps to reach 100% within function findExecutables() */ #define PBAR_SHOW_IF_MIN 100 /* Mininimum file list size before progress bar is shown*/ #define PHASE_ONE_PBAR_PULSE_MULTILPIER 8 /* Where true speed is 0.5/MULTIPLIER seconds between each pulse */ #define SPIN_BAR_USLEEP_TIME 100000 /* Micro sleep used to help allow the spin bar to be updated */ /* * Global Object Variable Names - use g_object_get_data to retrieve, and set to store. */ #define MASTER_SEARCH_DATA "search1" /* Storage for the Phase One data inside the g_object */ #define MASTER_SEARCH_CONTROL "control1" /* Storage for the Phase One data inside the g_object */ #define MASTER_STATUSBAR_DATA "status1" /* Storage for the Phase One data inside the g_object */ /* * seachmonkey macros to simplify pointer access, and getting the CONTEXT ID for statusbar * TODO: Consider converting these to functions instead */ #define GET_LAST_PTR(x) g_ptr_array_index(x, (x->len - 1)) /* Helper macro to simplify getting the last pointer from array */ #define DEL_LAST_PTR(x) g_ptr_array_remove_index_fast(x, (x->len -1)) /* Helper macro to simplify removing the nth item from pointer list */ /* * Status bar structures and macros * TODO: Convert macro to function */ #define STATUSBAR_CONTEXT_ID(x) (gtk_statusbar_get_context_id(x, MASTER_STATUSBAR_DATA)) /* Helper macro to get the status bar context id */ typedef struct { gchar constantString[MAX_FILENAME_STRING + 1]; /* Constant for use with fixed info status messages */ GStringChunk *statusbarChunk; /* Mass storage for push/pop operations performed when tree searching the file system */ } statusbarData; /* * Search results data and control structures */ typedef struct { /* Structure to store each match result before being displayed */ gsize matchIndex; /* first lineMatch index */ gsize matchCount; /* Number of lineMatch items */ gchar *pFullName; /* pointer to the full name */ gchar *pFileName; /* pointer to the file name */ gchar *pLocation; /* pointer to the location */ gchar *pMDate; /* pointer to the modified date */ gchar *pFileSize; /* pointer to the file size */ gchar *pFileType; /* pointer to the file size */ long int mDate; /* modified date as an integer */ unsigned int fileSize; /* filesize as an integer */ } textMatch; typedef struct { /* Structure to store each line within the file that has a matching result */ gsize lineNum; gsize lineCount; /* Number of lines within this match */ gsize lineCountBefore; /* Number of displayed lines up to the line where matching text is found */ gsize lineCountAfter; /* Number of displayed lines after the line where matching text is found */ gchar *pLine; /* Copy of the line (NULL terminated) */ gsize offsetStart; /* Match offset start */ gsize offsetEnd; /* Match offset end */ gsize lineLen; /* Size of pLine */ guint invMatchIndex; /* inverse pointer to textMatch array */ } lineMatch; typedef struct { /* Structure to store all results together */ GPtrArray *pLocationArray; /* pointer to actual location chunk */ GPtrArray *textMatchArray; /* array of text match arrays */ GPtrArray *fileNameArray; /* array of file names */ GPtrArray *fullNameArray; /* array of full file names */ GPtrArray *lineMatchArray; /* array of lineMatch objects */ GStringChunk *locationChunk; /* Mass storage for all of the directory locations */ GStringChunk *fileSizeChunk; /* Mass storage for all of the file sizes */ GStringChunk *mDateChunk; /* Mass storage for all of the modified dates */ GStringChunk *fileTypeChunk; /* Mass storage for all of the file types */ GStringChunk *textMatchChunk; /* Mass storage for all of the matched lines */ GtkListStore *store; /* Pointer to the data store */ GtkTreeIter *iter; /* Malloc Iter */ } searchData; enum searchFlagsEnum { /* Enumeration of all of the search options set by the user configurations */ SEARCH_SUB_DIRECTORIES = 1, /* If set, allows sub-directories to be entered when searching files */ SEARCH_CASE_SENSITIVE = (1<<1), /* If set makes the search case sensitive */ SEARCH_HIDDEN_FILES = (1<<2), /* If set lets hidden files (starting with .) be found by phase one search */ SEARCH_SKIP_LINK_FILES = (1<<3), /* If set does not follow symbolic links.*/ // SEARCH_EXTENDED_REGEX = (1<<4), SEARCH_TEXT_CONTEXT = (1<<5), /* If set, performs phase two searching on file content */ SEARCH_INVERT_FILES = (1<<6), /* If set, inverts the file name search i.e. NOT (*.txt) */ SEARCH_MORETHAN_SET = (1<<7), /* If set, checks that file size is greater than user entry */ SEARCH_LESSTHAN_SET = (1<<8), /* If set, checks that file size is smaller than user entry */ SEARCH_AFTER_SET = (1<<9), /* If set, checks that file was modified after user entry */ SEARCH_BEFORE_SET = (1<<10), /* If set, checks that file was modified before user entry */ DEPTH_RESTRICT_SET = (1<<11), /* If set, restrict the maximum recursion depth for folders */ LIMIT_RESULTS_SET = (1<<12), /* If set, limits the number of file matches shown */ SEARCH_EXTRA_LINES = (1<<13), /* If set, allows some/more lines of results to be shown for every hit */ SEARCH_LIMIT_CONTENT_SHOWN = (1<<14) /* If set, limits the number of content lines shown */ }; typedef struct { /* Control structure for search keeps copy of all user settings, and pointers to widgets */ gchar *startingFolder; /* Pointer to the starting location */ gchar *fileSearchRegEx; /* Regular expression pointer for the file search */ gboolean fileSearchIsRegEx; /*If TRUE then fileSearchRegEx is a regex, else a glob pattern */ gchar *textSearchRegEx; /* Regular expression pointer for the text search */ guint fileSearchFlags; /* Flags for the file regexp */ guint textSearchFlags; /* Flags for the text regexp */ gint folderDepth; /* restrict depth to which folders should be recursed */ gint limitResults; /* Limits number of results */ gint numExtraLines; /* Number of extra lines to show beside each match */ gint limitContentResults; /* Limits number of content matches within each file */ GtkWidget *widget; /* Pointer to the main window widget */ time_t after; /* Copy of the modified after time */ time_t before; /* Copy of the modified before time */ off_t moreThan; /* Copy of the more than size in bytes */ off_t lessThan; /* Copy of the less than size in bytes */ enum searchFlagsEnum flags; /* Search criteria flags */ gboolean cancelSearch; /* If TRUE stops the current search ASAP */ } searchControl; enum { /* Enumeration for all of the file name results table columns */ FILENAME_COLUMN = 0, LOCATION_COLUMN, SIZE_COLUMN, TYPE_COLUMN, MODIFIED_COLUMN, MATCHES_COUNT_STRING_COLUMN, FULL_FILENAME_COLUMN, INT_SIZE_COLUMN, INT_MODIFIED_COLUMN, MATCHES_COUNT_COLUMN, MATCH_INDEX_COLUMN, N_COLUMNS /* Total number of columns in results table */ }; /* Main search entry points (not threaded) */ void start_search_thread(GtkWidget *widget); void stop_search_thread(GtkWidget *widget); /* Main search POSIX thread */ void *walkDirectories(void *args); glong phaseOneSearch(searchControl *mSearchControl, searchData *mSearchData, statusbarData *status); glong phaseTwoSearch(searchControl *mSearchControl, searchData *mSearchData, statusbarData *status); gboolean symLinkReplace(gchar **pFullFileName, gchar **pFileName); gboolean getAllMatches(searchData *mSearchData, gchar *contents, gsize length, regex_t *search); void dereferenceAbsolutes(searchData *mSearchData,gchar *contents, gsize length, gint numLines); void getLength(searchData *mSearchData, textMatch *newMatch); void getFileType(searchData *mSearchData, textMatch *newMatch); void getModified(searchData *mSearchData, textMatch *newMatch); void getFileSize(searchData *mSearchData, textMatch *newMatch); void updateStatusFilesFound(const gsize matchCount, statusbarData *status, searchControl *mSearchControl); gboolean statMatchPhase(const gchar *tmpFullFileName, searchControl *mSearchControl); void displayMatch(searchControl *mSearchControl, searchData *mSearchData); void displayQuickMatch(searchControl *mSearchControl, searchData *mSearchData); void setTimeFromDate(struct tm *tptr, GDate *date); /* Constructors and destructors for search data (not threaded) */ void createSearchData(GObject *object, const gchar *dataName); void destroySearchData(gpointer data); void createSearchControl(GObject *object, const gchar *dataName); void destroySearchControl(gpointer data); void createStatusbarData(GObject *object, const gchar *dataName); void destroyStatusbarData(gpointer data); void ptr_array_free_cb(gpointer data, gpointer user_data); #endif /* SEARCH_H */ searchmonkey-0.8.1/src/misc.c0000664000076400007660000003745610561732767013070 00000000000000/* * File: misc.c * Description: Contains helpere functions, and everything that doesn't fit elsewhere */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "interface.h" /* glade requirement */ #include "support.h" /* glade requirement */ #include "misc.h" #include /* * callback/internal helper: returns the text stored within supplied columnNumber * Return string must be free'd. * TODO: convert column number to enumerator for table view results. * TODO: Consider renaming function to be more specific */ gchar *getFullFileName(GtkTreeView *treeView, gint columnNumber) { GtkTreeSelection *selection = gtk_tree_view_get_selection(treeView); /* get selection */ gchar *myString; GtkTreeIter iter; GtkTreeModel *model; if (gtk_tree_selection_get_selected (selection, &model, &iter)) { g_assert (model != NULL); gtk_tree_model_get (model, &iter, columnNumber, &myString, -1); return myString; } return NULL; } /* Initializes Combo Box having two models */ void initComboBox2(GtkWidget *comboBox) { GtkListStore* store; gint* setActive; store = gtk_list_store_new (1, G_TYPE_STRING); /* Create a simple 1-wide column */ g_object_set_data(G_OBJECT(comboBox), "noregex", store); setActive = (gint *)g_malloc(sizeof(gint)); *setActive = -1; g_object_set_data_full(G_OBJECT(comboBox), "noregex-active", (gpointer)setActive, &g_free); store = gtk_list_store_new (1, G_TYPE_STRING); /* Create a simple 1-wide column */ g_object_set_data(G_OBJECT(comboBox), "regex", store); setActive = (gint *)g_malloc(sizeof(gint)); *setActive = -1; g_object_set_data_full(G_OBJECT(comboBox), "regex-active", (gpointer)setActive, &g_free); gtk_combo_box_set_model(GTK_COMBO_BOX(comboBox), GTK_TREE_MODEL(store)); } /* * Callback helper: intialise generic combo box with new model, and single width column storage */ void initComboBox(GtkWidget *comboBox) { GtkListStore *store = gtk_list_store_new (1, G_TYPE_STRING); /* Create a simple 1-wide column */ gtk_combo_box_set_model (GTK_COMBO_BOX(comboBox), GTK_TREE_MODEL(store)); g_object_unref(store); } /* * Callback helper: clear all text entries (except active one) from a combo box with two models. */ void clearComboBox2(GtkWidget *comboBox) { GtkTreeIter iter; gchar *readString; GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model (GTK_COMBO_BOX(comboBox))); GtkListStore *store2 = GTK_LIST_STORE(g_object_get_data(G_OBJECT(comboBox), "regex")); gchar * clearActive = "regex-active"; gchar * zeroActive = "noregex-active"; g_assert(store != NULL); g_assert(store2 != NULL); if (!gtk_combo_box_get_active_iter (GTK_COMBO_BOX(comboBox), &iter)) { return; } gtk_tree_model_get (GTK_TREE_MODEL(store), &iter, 0, &readString, -1); gtk_list_store_clear (GTK_LIST_STORE(store)); if (readString != NULL) { gtk_list_store_prepend (store, &iter); gtk_list_store_set (store, &iter, 0, readString, -1); g_free(readString); gtk_combo_box_set_active_iter (GTK_COMBO_BOX(comboBox), &iter); } if (store == store2) { clearActive = "noregex-active"; zeroActive = "regex-active"; store2 = GTK_LIST_STORE(g_object_get_data(G_OBJECT(comboBox), "noregex")); g_assert(store2 != NULL); } gtk_list_store_clear(store2); gint * storeActive = (gint *)g_malloc(sizeof(gint)); *storeActive = -1; g_object_set_data_full(G_OBJECT(comboBox), clearActive, storeActive, g_free); storeActive = (gint *)g_malloc(sizeof(gint)); *storeActive = 0; g_object_set_data_full(G_OBJECT(comboBox), zeroActive, storeActive, g_free); } /* * Callback helper: clear all text entries (except active one) from a generic combo box model. */ void clearComboBox(GtkWidget *comboBox) { GtkTreeIter iter; gchar *readString; GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model (GTK_COMBO_BOX(comboBox))); g_assert(store != NULL); if (!gtk_combo_box_get_active_iter (GTK_COMBO_BOX(comboBox), &iter)) { return; } gtk_tree_model_get (GTK_TREE_MODEL(store), &iter, 0, &readString, -1); gtk_list_store_clear (GTK_LIST_STORE(store)); if (readString != NULL) { gtk_list_store_prepend (store, &iter); gtk_list_store_set (store, &iter, 0, readString, -1); g_free(readString); gtk_combo_box_set_active_iter (GTK_COMBO_BOX(comboBox), &iter); } } /* * Callback/internal helper: add a text entry to a combo box model, making sure that no duplicates exist * Duplicate entries cause existing entry to be re-displayed - transparant to users. * TODO: replace strcmp function with GTK equivalent for UTF-8 strings */ gboolean addUniqueRow(GtkWidget *comboBox, const gchar *entry) { GtkTreeIter iter; gchar *readString; GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model (GTK_COMBO_BOX(comboBox))); g_assert(store != NULL); /* Test for NULL/Empty using GTK API */ if ((entry == NULL) || g_ascii_isspace(entry[0])) { return TRUE; } /* Find first, and then loop through all until duplicate found */ if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL(store), &iter)) { do { gtk_tree_model_get (GTK_TREE_MODEL(store), &iter, 0, &readString, -1); if (strcmp(readString, entry) == 0) { g_free(readString); gtk_combo_box_set_active_iter (GTK_COMBO_BOX(comboBox), &iter); return FALSE; } g_free(readString); } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &iter)); } /* Else unique, so add a new row to the model */ gtk_list_store_prepend (store, &iter); gtk_list_store_set (store, &iter, 0, entry, -1); gtk_combo_box_set_active_iter (GTK_COMBO_BOX(comboBox), &iter); return TRUE; } /* * Low-tech replacement for standard strlen library for counting string bytes, assuming NULL terminated. * Note that "g_utf8_strlen" should be used if *character* count is required, as UTF8 chars are often multibyte */ gint g_strlen(const gchar *string) { gint i = 0; while (string[i] != '\0') { i++; } return i; } /* * Internal convenience function to copy info across between basic and advanced modes */ void copySettings(GtkWidget *widget, gboolean expertMode) { /* in each, index zero is for the basic mode, and 1 is for advanced mode*/ gint source = 0; gint target = 1; GtkWidget* filename[2]; GtkWidget* containingText[2]; GtkToggleButton* containingTextCheck[2]; GtkToggleButton* recursive[2]; GtkWidget* lookin[2]; gchar *tmpString; guint tmpFlags = 0; filename[0] = lookup_widget(widget, "fileName2"); filename[1] = lookup_widget(widget, "fileName"); containingText[0] = lookup_widget(widget, "containingText2"); containingText[1] = lookup_widget(widget, "containingText"); containingTextCheck[0] = GTK_TOGGLE_BUTTON(lookup_widget(widget, "containingTextCheck2")); containingTextCheck[1] = GTK_TOGGLE_BUTTON(lookup_widget(widget, "containingTextCheck")); recursive[0] = GTK_TOGGLE_BUTTON(lookup_widget(widget, "searchSubfoldersCheck2")); recursive[1] = GTK_TOGGLE_BUTTON(lookup_widget(widget, "searchSubfoldersCheck")); lookin[0] = lookup_widget(widget, "lookIn2"); lookin[1] = lookup_widget(widget, "lookIn"); if (expertMode == FALSE) { source = 1; target = 0; } tmpString = gtk_combo_box_get_active_text(GTK_COMBO_BOX(filename[source])); if (getExtendedRegexMode(widget)) { tmpFlags |= REG_EXTENDED; } if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(widget, "regularExpressionRadioFile")))) { if (test_regexp(tmpString, tmpFlags, _("Error! Invalid File Name regular expression"))) { addUniqueRow(filename[target], tmpString); addUniqueRow(filename[source], tmpString); } } g_free(tmpString); gtk_toggle_button_set_active(containingTextCheck[target],gtk_toggle_button_get_active(containingTextCheck[source])); tmpString = gtk_combo_box_get_active_text(GTK_COMBO_BOX(containingText[source])); if (test_regexp(tmpString, tmpFlags, _("Error! Invalid Containing Text regular expression"))) { addUniqueRow(containingText[target], tmpString); addUniqueRow(containingText[source], tmpString); } g_free(tmpString); tmpString = gtk_combo_box_get_active_text(GTK_COMBO_BOX(lookin[source])); if (validate_folder(tmpString)) { addUniqueRow(lookin[target], tmpString); addUniqueRow(lookin[source], tmpString); } g_free(tmpString); gtk_toggle_button_set_active(recursive[target], gtk_toggle_button_get_active(recursive[source])); } /* * Callback helper: Switch mode between expert/beginner */ void setExpertSearchMode (GtkWidget *widget, gboolean expertMode) { copySettings(widget, expertMode); } /* * Callback helper: Return TRUE if in expert mode */ gboolean getExpertSearchMode (GtkWidget *widget) { GtkWidget *searchNotebook = lookup_widget(widget, "searchNotebook"); if (gtk_notebook_get_current_page(GTK_NOTEBOOK(searchNotebook)) == 1) { return TRUE; } else { return FALSE; } } void sel (GtkTreeModel *model, GtkTreePath *path,GtkTreeIter *iter, gpointer data) { gtk_tree_selection_select_path((GtkTreeSelection *)data, path); } /* * Callback helper: Switch between horizontal and vertical results display */ void setResultsViewHorizontal(GtkWidget *widget, gboolean horizontal) { GtkTreeSelection *treeview1 = gtk_tree_view_get_selection(GTK_TREE_VIEW(lookup_widget(widget, "treeview1"))); GtkTreeSelection *treeview2 = gtk_tree_view_get_selection(GTK_TREE_VIEW(lookup_widget(widget, "treeview2"))); if (horizontal) { gtk_widget_show(lookup_widget(widget, "resultsHPane")); gtk_widget_hide(lookup_widget(widget, "resultsVPane")); gtk_tree_selection_selected_foreach(treeview2, &sel, treeview1); } else { /* Vertical - default */ gtk_widget_hide(lookup_widget(widget, "resultsHPane")); gtk_widget_show(lookup_widget(widget, "resultsVPane")); gtk_tree_selection_selected_foreach(treeview1, &sel, treeview2); } } /* * Callback helper: Return TRUE if horizontal, else vertical display */ gboolean getResultsViewHorizontal (GtkWidget *widget) { GtkWidget *menuitem = lookup_widget(widget, "horizontal_results1"); return (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))); } /* * Callback helper: change the model for filename combo boxes when user changes regexp/glob preference */ void changeModel(GtkWidget *widget, const gchar * from, const gchar * to) { gint* storeActive; GtkComboBox *advancedCombo = GTK_COMBO_BOX(lookup_widget(widget, "fileName")); GtkComboBox *basicCombo = GTK_COMBO_BOX(lookup_widget(widget, "fileName2")); GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(advancedCombo)); GtkListStore *setStore; setStore = GTK_LIST_STORE(g_object_get_data(G_OBJECT(advancedCombo), to)); if (store != setStore) { gchar * setActiveKey = g_strconcat(from, "-active", NULL); gchar * getActiveKey = g_strconcat(to, "-active", NULL); /* Change the model */ /* Advanced tab */ storeActive = (gint *)g_malloc(sizeof(gint)); *storeActive = gtk_combo_box_get_active(advancedCombo); g_object_set_data_full(G_OBJECT(advancedCombo), setActiveKey, (gpointer)storeActive, &g_free); gtk_entry_set_text(GTK_ENTRY(GTK_BIN (advancedCombo)->child), ""); gtk_combo_box_set_model(advancedCombo, GTK_TREE_MODEL(setStore)); gtk_combo_box_set_active(advancedCombo, *((gint *)g_object_get_data(G_OBJECT(advancedCombo), getActiveKey))); /* Basic tab */ storeActive = (gint *)g_malloc(sizeof(gint)); *storeActive = gtk_combo_box_get_active(basicCombo); g_object_set_data_full(G_OBJECT(basicCombo), setActiveKey, (gpointer)storeActive, &g_free); gtk_entry_set_text(GTK_ENTRY(GTK_BIN (basicCombo)->child), ""); gtk_combo_box_set_model(basicCombo, GTK_TREE_MODEL(GTK_LIST_STORE(g_object_get_data(G_OBJECT(basicCombo), to)))); gtk_combo_box_set_active(basicCombo, *((gint *)g_object_get_data(G_OBJECT(basicCombo), getActiveKey))); g_free((gpointer)setActiveKey); g_free((gpointer)getActiveKey); } } /*Callback helper: Displays a calendar popup and returns selected date */ gchar *getDate(const gchar *curDate) { GtkWidget * calendarDialog = create_calendarDialog(); GtkCalendar *calendar = GTK_CALENDAR(lookup_widget(calendarDialog, "calendar1")); gchar* result = g_strdup(curDate); guint year, month, day; GDate date; g_date_set_parse(&date, curDate); if (g_date_valid(&date)) { year = g_date_get_year(&date); month = g_date_get_month(&date) - 1; /*Glib has months from 1-12 while GtkCalendar uses 0 - 11 */ day = g_date_get_day(&date); gtk_calendar_select_day(calendar, day); gtk_calendar_select_month(calendar, month, year); } if (gtk_dialog_run(GTK_DIALOG(calendarDialog)) == GTK_RESPONSE_OK) { gtk_calendar_get_date(calendar, &year, &month, &day); gtk_widget_destroy(calendarDialog); result = (gchar *)g_malloc(sizeof(gchar) * 12); g_date_strftime(result, 11, "%d %b %y", g_date_new_dmy(day, month +1, year)); } else { gtk_widget_destroy(calendarDialog); } return result; } gchar *get_regerror(int errcode, regex_t *compiled) { size_t length = regerror (errcode, compiled, NULL, 0); gchar *buffer = (gchar *)g_malloc (sizeof(gchar) * length); (void) regerror (errcode, compiled, buffer, length); return buffer; } gboolean test_regexp(gchar *regexp, guint flags, gchar *error) { gint regerr; regex_t testRegEx; GtkWidget *dialog; extern GtkWidget * mainWindowApp; GObject *window1 = G_OBJECT(mainWindowApp); regerr = regcomp(&testRegEx, regexp, flags); if (regerr != 0) { gchar* errorString = get_regerror(regerr, &testRegEx); gchar * msg = g_strconcat(error, "\n", errorString, NULL); dialog = gtk_message_dialog_new (GTK_WINDOW(window1), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, msg); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); g_free(errorString); g_free(msg); regfree(&testRegEx); return FALSE; } else { regfree(&testRegEx); return TRUE; } } /* * Used within misc, and search.c to validate that look-in folder exists and is not blank. * Produces pop-up error messages, and returns FALSE if folder not found. */ gboolean validate_folder(const gchar *folderName) { GtkWindow *window1 = GTK_WINDOW(mainWindowApp); GtkWidget *dialog; /* Test starting folder exists */ if (folderName == NULL) { dialog = gtk_message_dialog_new (window1, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! Look In directory cannot be blank.")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return FALSE; } if (!g_file_test(folderName, G_FILE_TEST_IS_DIR)) { dialog = gtk_message_dialog_new (window1, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error! Look In directory is invalid.")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return FALSE; } return TRUE; } searchmonkey-0.8.1/src/interface.c0000664000076400007660000054352010561732767014067 00000000000000/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include #include #include "callbacks.h" #include "interface.h" #include "support.h" #define GLADE_HOOKUP_OBJECT(component,widget,name) \ g_object_set_data_full (G_OBJECT (component), name, \ gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref) #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \ g_object_set_data (G_OBJECT (component), name, widget) GtkWidget* create_window1 (void) { GtkWidget *window1; GdkPixbuf *window1_icon_pixbuf; GtkWidget *vbox1; GtkWidget *menubar1; GtkWidget *menuitem4; GtkWidget *menuitem4_menu; GtkWidget *newInstance1; GtkWidget *image165; GtkWidget *separatormenuitem1; GtkWidget *save_results1; GtkWidget *image166; GtkWidget *separator5; GtkWidget *print1; GtkWidget *print_preview1; GtkWidget *print_setup1; GtkWidget *separator6; GtkWidget *quit1; GtkWidget *menuitem5; GtkWidget *menuitem5_menu; GtkWidget *delete1; GtkWidget *image167; GtkWidget *edit_file1; GtkWidget *image168; GtkWidget *open_folder1; GtkWidget *image169; GtkWidget *copy2; GtkWidget *image170; GtkWidget *menuitem6; GtkWidget *menuitem6_menu; GtkWidget *toolbar2; GtkWidget *status_bar1; GtkWidget *separator4; GSList *horizontal_results1_group = NULL; GtkWidget *horizontal_results1; GtkWidget *vertical_results1; GtkWidget *separator13; GtkWidget *sort_by1; GtkWidget *sort_by1_menu; GSList *file_name1_group = NULL; GtkWidget *file_name1; GtkWidget *location1; GtkWidget *size1; GtkWidget *type1; GtkWidget *modified1; GtkWidget *matches1; GtkWidget *search1; GtkWidget *search1_menu; GtkWidget *playButton3; GtkWidget *image171; GtkWidget *stopButton3; GtkWidget *image172; GtkWidget *separator2; GtkWidget *cl_ear_history1; GtkWidget *image173; GtkWidget *settings3; GtkWidget *settings3_menu; GtkWidget *set_font1; GtkWidget *set_highligting_colour1; GtkWidget *separator12; GtkWidget *word_wrap1; GtkWidget *autosize_columns; GtkWidget *separator11; GtkWidget *configuration1; GtkWidget *test1; GtkWidget *test1_menu; GtkWidget *open_criteria1; GtkWidget *image174; GtkWidget *save_criteria1; GtkWidget *image175; GtkWidget *separator16; GtkWidget *reg_expression1; GtkWidget *menuitem7; GtkWidget *menuitem7_menu; GtkWidget *contents1; GtkWidget *support1; GtkWidget *online_release_notes1; GtkWidget *forums1; GtkWidget *separator1; GtkWidget *about1; GtkWidget *toolbar1; GtkIconSize tmp_toolbar_icon_size; GtkWidget *toolitem15; GtkWidget *tmp_image; GtkWidget *newInstance2; GtkWidget *separatortoolitem4; GtkWidget *importCriteria; GtkWidget *exportCriteria; GtkWidget *separatortoolitem3; GtkWidget *saveResults; GtkWidget *separatortoolitem2; GtkWidget *playButton2; GtkWidget *stopButton2; GtkWidget *separatortoolitem1; GtkWidget *printResults; GtkWidget *expander1; GtkWidget *hbox68; GtkWidget *searchNotebook; GtkWidget *vbox6; GtkWidget *hbox14; GtkWidget *table4; GtkWidget *fileName2; GtkWidget *label21; GtkWidget *containingTextCheck2; GtkWidget *containingText2; GtkWidget *hseparator10; GtkWidget *table5; GtkWidget *label20; GtkWidget *lookIn2; GtkWidget *folderSelector2; GtkWidget *alignment38; GtkWidget *hbox69; GtkWidget *image92; GtkWidget *label1024; GtkWidget *hbox72; GtkWidget *searchSubfoldersCheck2; GtkWidget *label19; GtkWidget *vbox3; GtkWidget *fileNameHbox; GtkWidget *label22; GtkWidget *fileName; GtkWidget *regExpWizard1; GtkWidget *containingTextHbox; GtkWidget *containingTextCheck; GtkWidget *containingText; GtkWidget *regExpWizard2; GtkWidget *table7; GtkWidget *label6; GtkWidget *lookIn; GtkWidget *searchSubfoldersCheck; GtkWidget *folderDepthCheck; GtkWidget *folderSelector; GtkWidget *alignment18; GtkWidget *hbox40; GtkWidget *image9; GtkWidget *label253; GtkObject *folderDepthSpin_adj; GtkWidget *folderDepthSpin; GtkWidget *searchModifierTable; GtkWidget *moreThanEntry; GtkWidget *lessThanEntry; GtkWidget *label17; GtkWidget *label16; GtkWidget *lessThanCheck; GtkWidget *beforeCheck; GtkWidget *moreThanCheck; GtkWidget *afterCheck; GtkWidget *hbox70; GtkWidget *afterEntry; GtkWidget *afterCalendarBtn; GtkWidget *image93; GtkWidget *hbox71; GtkWidget *beforeEntry; GtkWidget *beforeCalendarBtn; GtkWidget *image94; GtkWidget *label1; GtkWidget *hbox62; GtkWidget *frame1; GtkWidget *vbox47; GtkWidget *notExpressionCheckFile; GtkWidget *matchCaseCheckFile; GtkWidget *ignoreHiddenFiles; GtkWidget *followSymLinksCheck; GtkWidget *hseparator9; GtkWidget *dosExpressionRadioFile; GSList *dosExpressionRadioFile_group = NULL; GtkWidget *regularExpressionRadioFile; GtkWidget *label13; GtkWidget *frame2; GtkWidget *vbox46; GtkWidget *singlePhaseCheckContents; GtkWidget *matchCaseCheckContents; GtkWidget *hseparator8; GtkWidget *wildcardCheckContents; GSList *wildcardCheckContents_group = NULL; GtkWidget *regularExpressionRadioContents; GtkWidget *label14; GtkWidget *frame16; GtkWidget *vbox45; GtkWidget *limitResultsCheckResults; GtkWidget *limit_results_hbox; GtkWidget *label1010; GtkObject *maxHitsSpinResults_adj; GtkWidget *maxHitsSpinResults; GtkWidget *hseparator7; GtkWidget *showLinesCheckResults; GtkWidget *show_line_contents_hbox; GtkWidget *label1009; GtkObject *showLinesSpinResults_adj; GtkWidget *showLinesSpinResults; GtkWidget *hseparator11; GtkWidget *limitContentsCheckResults; GtkWidget *limit_contents_hbox; GtkWidget *label1025; GtkObject *maxContentHitsSpinResults_adj; GtkWidget *maxContentHitsSpinResults; GtkWidget *label1008; GtkWidget *label2; GtkWidget *vseparator8; GtkWidget *vbox2; GtkWidget *expertUserCheck; GtkWidget *playButton1; GtkWidget *alignment36; GtkWidget *hbox67; GtkWidget *image27; GtkWidget *label1015; GtkWidget *stopButton1; GtkWidget *label1016; GtkWidget *resultsHPane; GtkWidget *resultsScroll; GtkWidget *treeview1; GtkWidget *scrolledwindow1; GtkWidget *textview1; GtkWidget *resultsVPane; GtkWidget *scrolledwindow15; GtkWidget *treeview2; GtkWidget *scrolledwindow16; GtkWidget *textview4; GtkWidget *hbox41; GtkWidget *statusbar1; GtkWidget *progressbar1; GtkAccelGroup *accel_group; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); accel_group = gtk_accel_group_new (); window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL); GTK_WIDGET_SET_FLAGS (window1, GTK_CAN_FOCUS); gtk_tooltips_set_tip (tooltips, window1, _("Desktop search to replace find and grep."), NULL); gtk_window_set_title (GTK_WINDOW (window1), _("searchmonkey")); gtk_window_set_destroy_with_parent (GTK_WINDOW (window1), TRUE); window1_icon_pixbuf = create_pixbuf ("searchmonkey.png"); if (window1_icon_pixbuf) { gtk_window_set_icon (GTK_WINDOW (window1), window1_icon_pixbuf); gdk_pixbuf_unref (window1_icon_pixbuf); } vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (window1), vbox1); menubar1 = gtk_menu_bar_new (); gtk_widget_show (menubar1); gtk_box_pack_start (GTK_BOX (vbox1), menubar1, FALSE, FALSE, 0); menuitem4 = gtk_menu_item_new_with_mnemonic (_("_File")); gtk_widget_show (menuitem4); gtk_container_add (GTK_CONTAINER (menubar1), menuitem4); menuitem4_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem4), menuitem4_menu); newInstance1 = gtk_image_menu_item_new_with_mnemonic (_("_New Instance")); gtk_widget_show (newInstance1); gtk_container_add (GTK_CONTAINER (menuitem4_menu), newInstance1); gtk_widget_add_accelerator (newInstance1, "activate", accel_group, GDK_n, (GdkModifierType) GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); image165 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU); gtk_widget_show (image165); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (newInstance1), image165); separatormenuitem1 = gtk_separator_menu_item_new (); gtk_widget_show (separatormenuitem1); gtk_container_add (GTK_CONTAINER (menuitem4_menu), separatormenuitem1); gtk_widget_set_sensitive (separatormenuitem1, FALSE); save_results1 = gtk_image_menu_item_new_with_mnemonic (_("Save R_esults to CSV...")); gtk_widget_show (save_results1); gtk_container_add (GTK_CONTAINER (menuitem4_menu), save_results1); image166 = gtk_image_new_from_stock ("gtk-file", GTK_ICON_SIZE_MENU); gtk_widget_show (image166); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (save_results1), image166); separator5 = gtk_separator_menu_item_new (); gtk_widget_show (separator5); gtk_container_add (GTK_CONTAINER (menuitem4_menu), separator5); gtk_widget_set_sensitive (separator5, FALSE); print1 = gtk_image_menu_item_new_from_stock ("gtk-print", accel_group); gtk_container_add (GTK_CONTAINER (menuitem4_menu), print1); print_preview1 = gtk_image_menu_item_new_from_stock ("gtk-print-preview", accel_group); gtk_container_add (GTK_CONTAINER (menuitem4_menu), print_preview1); print_setup1 = gtk_menu_item_new_with_mnemonic (_("P_rint Setup...")); gtk_container_add (GTK_CONTAINER (menuitem4_menu), print_setup1); separator6 = gtk_separator_menu_item_new (); gtk_container_add (GTK_CONTAINER (menuitem4_menu), separator6); gtk_widget_set_sensitive (separator6, FALSE); quit1 = gtk_image_menu_item_new_from_stock ("gtk-quit", accel_group); gtk_widget_show (quit1); gtk_container_add (GTK_CONTAINER (menuitem4_menu), quit1); menuitem5 = gtk_menu_item_new_with_mnemonic (_("_Edit")); gtk_widget_show (menuitem5); gtk_container_add (GTK_CONTAINER (menubar1), menuitem5); menuitem5_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem5), menuitem5_menu); delete1 = gtk_image_menu_item_new_with_mnemonic (_("_Delete (File)")); gtk_widget_show (delete1); gtk_container_add (GTK_CONTAINER (menuitem5_menu), delete1); image167 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_MENU); gtk_widget_show (image167); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (delete1), image167); edit_file1 = gtk_image_menu_item_new_with_mnemonic (_("Edit File")); gtk_widget_show (edit_file1); gtk_container_add (GTK_CONTAINER (menuitem5_menu), edit_file1); image168 = gtk_image_new_from_stock ("gtk-edit", GTK_ICON_SIZE_MENU); gtk_widget_show (image168); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (edit_file1), image168); open_folder1 = gtk_image_menu_item_new_with_mnemonic (_("Open Folder")); gtk_widget_show (open_folder1); gtk_container_add (GTK_CONTAINER (menuitem5_menu), open_folder1); image169 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); gtk_widget_show (image169); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (open_folder1), image169); copy2 = gtk_image_menu_item_new_with_mnemonic (_("_Copy (Filename)")); gtk_widget_show (copy2); gtk_container_add (GTK_CONTAINER (menuitem5_menu), copy2); image170 = gtk_image_new_from_stock ("gtk-copy", GTK_ICON_SIZE_MENU); gtk_widget_show (image170); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (copy2), image170); menuitem6 = gtk_menu_item_new_with_mnemonic (_("_View")); gtk_widget_show (menuitem6); gtk_container_add (GTK_CONTAINER (menubar1), menuitem6); menuitem6_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem6), menuitem6_menu); toolbar2 = gtk_check_menu_item_new_with_mnemonic (_("Show _Toolbar")); gtk_widget_show (toolbar2); gtk_container_add (GTK_CONTAINER (menuitem6_menu), toolbar2); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (toolbar2), TRUE); status_bar1 = gtk_check_menu_item_new_with_mnemonic (_("Show _Statusbar")); gtk_widget_show (status_bar1); gtk_container_add (GTK_CONTAINER (menuitem6_menu), status_bar1); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (status_bar1), TRUE); separator4 = gtk_separator_menu_item_new (); gtk_widget_show (separator4); gtk_container_add (GTK_CONTAINER (menuitem6_menu), separator4); gtk_widget_set_sensitive (separator4, FALSE); horizontal_results1 = gtk_radio_menu_item_new_with_mnemonic (horizontal_results1_group, _("Horizontal results")); horizontal_results1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (horizontal_results1)); gtk_widget_show (horizontal_results1); gtk_container_add (GTK_CONTAINER (menuitem6_menu), horizontal_results1); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (horizontal_results1), TRUE); vertical_results1 = gtk_radio_menu_item_new_with_mnemonic (horizontal_results1_group, _("Vertical results")); horizontal_results1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (vertical_results1)); gtk_widget_show (vertical_results1); gtk_container_add (GTK_CONTAINER (menuitem6_menu), vertical_results1); separator13 = gtk_separator_menu_item_new (); gtk_widget_show (separator13); gtk_container_add (GTK_CONTAINER (menuitem6_menu), separator13); gtk_widget_set_sensitive (separator13, FALSE); sort_by1 = gtk_menu_item_new_with_mnemonic (_("S_ort by")); gtk_widget_show (sort_by1); gtk_container_add (GTK_CONTAINER (menuitem6_menu), sort_by1); sort_by1_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (sort_by1), sort_by1_menu); file_name1 = gtk_radio_menu_item_new_with_mnemonic (file_name1_group, _("_File Name")); file_name1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (file_name1)); gtk_widget_show (file_name1); gtk_container_add (GTK_CONTAINER (sort_by1_menu), file_name1); location1 = gtk_radio_menu_item_new_with_mnemonic (file_name1_group, _("_Location")); file_name1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (location1)); gtk_widget_show (location1); gtk_container_add (GTK_CONTAINER (sort_by1_menu), location1); size1 = gtk_radio_menu_item_new_with_mnemonic (file_name1_group, _("_Size")); file_name1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (size1)); gtk_widget_show (size1); gtk_container_add (GTK_CONTAINER (sort_by1_menu), size1); type1 = gtk_radio_menu_item_new_with_mnemonic (file_name1_group, _("_Type")); file_name1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (type1)); gtk_widget_show (type1); gtk_container_add (GTK_CONTAINER (sort_by1_menu), type1); modified1 = gtk_radio_menu_item_new_with_mnemonic (file_name1_group, _("_Modified")); file_name1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (modified1)); gtk_widget_show (modified1); gtk_container_add (GTK_CONTAINER (sort_by1_menu), modified1); matches1 = gtk_radio_menu_item_new_with_mnemonic (file_name1_group, _("Mat_ches")); file_name1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (matches1)); gtk_widget_show (matches1); gtk_container_add (GTK_CONTAINER (sort_by1_menu), matches1); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (matches1), TRUE); search1 = gtk_menu_item_new_with_mnemonic (_("_Search")); gtk_widget_show (search1); gtk_container_add (GTK_CONTAINER (menubar1), search1); search1_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (search1), search1_menu); playButton3 = gtk_image_menu_item_new_with_mnemonic (_("Start")); gtk_widget_show (playButton3); gtk_container_add (GTK_CONTAINER (search1_menu), playButton3); gtk_widget_add_accelerator (playButton3, "activate", accel_group, GDK_Return, (GdkModifierType) 0, GTK_ACCEL_VISIBLE); image171 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU); gtk_widget_show (image171); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (playButton3), image171); stopButton3 = gtk_image_menu_item_new_with_mnemonic (_("Stop")); gtk_widget_show (stopButton3); gtk_container_add (GTK_CONTAINER (search1_menu), stopButton3); gtk_widget_set_sensitive (stopButton3, FALSE); gtk_widget_add_accelerator (stopButton3, "activate", accel_group, GDK_Escape, (GdkModifierType) 0, GTK_ACCEL_VISIBLE); image172 = gtk_image_new_from_stock ("gtk-stop", GTK_ICON_SIZE_MENU); gtk_widget_show (image172); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (stopButton3), image172); separator2 = gtk_separator_menu_item_new (); gtk_widget_show (separator2); gtk_container_add (GTK_CONTAINER (search1_menu), separator2); gtk_widget_set_sensitive (separator2, FALSE); cl_ear_history1 = gtk_image_menu_item_new_with_mnemonic (_("Clear History...")); gtk_widget_show (cl_ear_history1); gtk_container_add (GTK_CONTAINER (search1_menu), cl_ear_history1); image173 = gtk_image_new_from_stock ("gtk-clear", GTK_ICON_SIZE_MENU); gtk_widget_show (image173); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (cl_ear_history1), image173); settings3 = gtk_menu_item_new_with_mnemonic (_("Settings")); gtk_widget_show (settings3); gtk_container_add (GTK_CONTAINER (menubar1), settings3); settings3_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (settings3), settings3_menu); set_font1 = gtk_image_menu_item_new_from_stock ("gtk-select-font", accel_group); gtk_widget_show (set_font1); gtk_container_add (GTK_CONTAINER (settings3_menu), set_font1); set_highligting_colour1 = gtk_image_menu_item_new_from_stock ("gtk-select-color", accel_group); gtk_widget_show (set_highligting_colour1); gtk_container_add (GTK_CONTAINER (settings3_menu), set_highligting_colour1); separator12 = gtk_separator_menu_item_new (); gtk_widget_show (separator12); gtk_container_add (GTK_CONTAINER (settings3_menu), separator12); gtk_widget_set_sensitive (separator12, FALSE); word_wrap1 = gtk_check_menu_item_new_with_mnemonic (_("Use _Word Wrap")); gtk_widget_show (word_wrap1); gtk_container_add (GTK_CONTAINER (settings3_menu), word_wrap1); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (word_wrap1), TRUE); autosize_columns = gtk_check_menu_item_new_with_mnemonic (_("Auto-size columns")); gtk_widget_show (autosize_columns); gtk_container_add (GTK_CONTAINER (settings3_menu), autosize_columns); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (autosize_columns), TRUE); separator11 = gtk_separator_menu_item_new (); gtk_widget_show (separator11); gtk_container_add (GTK_CONTAINER (settings3_menu), separator11); gtk_widget_set_sensitive (separator11, FALSE); configuration1 = gtk_image_menu_item_new_from_stock ("gtk-preferences", accel_group); gtk_widget_show (configuration1); gtk_container_add (GTK_CONTAINER (settings3_menu), configuration1); test1 = gtk_menu_item_new_with_mnemonic (_("Extras")); gtk_widget_show (test1); gtk_container_add (GTK_CONTAINER (menubar1), test1); test1_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (test1), test1_menu); open_criteria1 = gtk_image_menu_item_new_with_mnemonic (_("_Import Regular Expression...")); gtk_widget_show (open_criteria1); gtk_container_add (GTK_CONTAINER (test1_menu), open_criteria1); gtk_widget_add_accelerator (open_criteria1, "activate", accel_group, GDK_o, (GdkModifierType) GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); image174 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); gtk_widget_show (image174); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (open_criteria1), image174); save_criteria1 = gtk_image_menu_item_new_with_mnemonic (_("_Export Regular Expression...")); gtk_widget_show (save_criteria1); gtk_container_add (GTK_CONTAINER (test1_menu), save_criteria1); gtk_widget_add_accelerator (save_criteria1, "activate", accel_group, GDK_s, (GdkModifierType) GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); image175 = gtk_image_new_from_stock ("gtk-save-as", GTK_ICON_SIZE_MENU); gtk_widget_show (image175); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (save_criteria1), image175); separator16 = gtk_separator_menu_item_new (); gtk_widget_show (separator16); gtk_container_add (GTK_CONTAINER (test1_menu), separator16); gtk_widget_set_sensitive (separator16, FALSE); reg_expression1 = gtk_menu_item_new_with_mnemonic (_("Test Regular Expression...")); gtk_widget_show (reg_expression1); gtk_container_add (GTK_CONTAINER (test1_menu), reg_expression1); menuitem7 = gtk_menu_item_new_with_mnemonic (_("_Help")); gtk_widget_show (menuitem7); gtk_container_add (GTK_CONTAINER (menubar1), menuitem7); menuitem7_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem7), menuitem7_menu); contents1 = gtk_menu_item_new_with_mnemonic (_("_User Guide")); gtk_widget_show (contents1); gtk_container_add (GTK_CONTAINER (menuitem7_menu), contents1); gtk_widget_add_accelerator (contents1, "activate", accel_group, GDK_F1, (GdkModifierType) 0, GTK_ACCEL_VISIBLE); support1 = gtk_menu_item_new_with_mnemonic (_("_Support")); gtk_widget_show (support1); gtk_container_add (GTK_CONTAINER (menuitem7_menu), support1); online_release_notes1 = gtk_menu_item_new_with_mnemonic (_("Release _Notes")); gtk_widget_show (online_release_notes1); gtk_container_add (GTK_CONTAINER (menuitem7_menu), online_release_notes1); forums1 = gtk_menu_item_new_with_mnemonic (_("_Forums")); gtk_widget_show (forums1); gtk_container_add (GTK_CONTAINER (menuitem7_menu), forums1); separator1 = gtk_separator_menu_item_new (); gtk_widget_show (separator1); gtk_container_add (GTK_CONTAINER (menuitem7_menu), separator1); gtk_widget_set_sensitive (separator1, FALSE); about1 = gtk_image_menu_item_new_from_stock ("gtk-about", accel_group); gtk_widget_show (about1); gtk_container_add (GTK_CONTAINER (menuitem7_menu), about1); toolbar1 = gtk_toolbar_new (); gtk_widget_show (toolbar1); gtk_box_pack_start (GTK_BOX (vbox1), toolbar1, FALSE, FALSE, 0); gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_BOTH_HORIZ); tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1)); toolitem15 = (GtkWidget*) gtk_tool_item_new (); gtk_widget_show (toolitem15); gtk_container_add (GTK_CONTAINER (toolbar1), toolitem15); tmp_image = gtk_image_new_from_stock ("gtk-new", tmp_toolbar_icon_size); gtk_widget_show (tmp_image); newInstance2 = (GtkWidget*) gtk_tool_button_new (tmp_image, _("New Instance")); gtk_widget_show (newInstance2); gtk_container_add (GTK_CONTAINER (toolbar1), newInstance2); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (newInstance2), tooltips, _("Open a new search window."), NULL); gtk_tool_item_set_is_important (GTK_TOOL_ITEM (newInstance2), TRUE); separatortoolitem4 = (GtkWidget*) gtk_separator_tool_item_new (); gtk_widget_show (separatortoolitem4); gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem4); tmp_image = gtk_image_new_from_stock ("gtk-open", tmp_toolbar_icon_size); gtk_widget_show (tmp_image); importCriteria = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Import Expression...")); gtk_widget_show (importCriteria); gtk_container_add (GTK_CONTAINER (toolbar1), importCriteria); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (importCriteria), tooltips, _("Add search criteria from a text file. Similar to the grep -f flag."), NULL); tmp_image = gtk_image_new_from_stock ("gtk-save-as", tmp_toolbar_icon_size); gtk_widget_show (tmp_image); exportCriteria = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Export Expression...")); gtk_widget_show (exportCriteria); gtk_container_add (GTK_CONTAINER (toolbar1), exportCriteria); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (exportCriteria), tooltips, _("Write some or all of the search criteria to disk."), NULL); separatortoolitem3 = (GtkWidget*) gtk_separator_tool_item_new (); gtk_widget_show (separatortoolitem3); gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem3); tmp_image = gtk_image_new_from_stock ("gtk-file", tmp_toolbar_icon_size); gtk_widget_show (tmp_image); saveResults = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Save Results...")); gtk_widget_show (saveResults); gtk_container_add (GTK_CONTAINER (toolbar1), saveResults); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (saveResults), tooltips, _("Create a CSV file containing a list of results."), NULL); gtk_tool_item_set_is_important (GTK_TOOL_ITEM (saveResults), TRUE); separatortoolitem2 = (GtkWidget*) gtk_separator_tool_item_new (); gtk_widget_show (separatortoolitem2); gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem2); tmp_image = gtk_image_new_from_stock ("gtk-find", tmp_toolbar_icon_size); gtk_widget_show (tmp_image); playButton2 = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Start")); gtk_widget_show (playButton2); gtk_container_add (GTK_CONTAINER (toolbar1), playButton2); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (playButton2), tooltips, _("Start the search!"), NULL); stopButton2 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-stop"); gtk_widget_show (stopButton2); gtk_container_add (GTK_CONTAINER (toolbar1), stopButton2); gtk_widget_set_sensitive (stopButton2, FALSE); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (stopButton2), tooltips, _("Stop the search!"), NULL); separatortoolitem1 = (GtkWidget*) gtk_separator_tool_item_new (); gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem1); printResults = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-print"); gtk_container_add (GTK_CONTAINER (toolbar1), printResults); gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (printResults), tooltips, _("Print results direct to the configured printer."), NULL); expander1 = gtk_expander_new (NULL); gtk_widget_show (expander1); gtk_box_pack_start (GTK_BOX (vbox1), expander1, FALSE, TRUE, 0); gtk_expander_set_expanded (GTK_EXPANDER (expander1), TRUE); hbox68 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox68); gtk_container_add (GTK_CONTAINER (expander1), hbox68); searchNotebook = gtk_notebook_new (); gtk_widget_show (searchNotebook); gtk_box_pack_start (GTK_BOX (hbox68), searchNotebook, TRUE, TRUE, 0); vbox6 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox6); gtk_container_add (GTK_CONTAINER (searchNotebook), vbox6); hbox14 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox14); gtk_box_pack_start (GTK_BOX (vbox6), hbox14, FALSE, TRUE, 0); table4 = gtk_table_new (2, 2, FALSE); gtk_widget_show (table4); gtk_box_pack_start (GTK_BOX (hbox14), table4, TRUE, TRUE, 0); fileName2 = gtk_combo_box_entry_new_text (); gtk_widget_show (fileName2); gtk_table_attach (GTK_TABLE (table4), fileName2, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); GTK_WIDGET_SET_FLAGS (fileName2, GTK_CAN_FOCUS); label21 = gtk_label_new (_("Files:")); gtk_widget_show (label21); gtk_table_attach (GTK_TABLE (table4), label21, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); containingTextCheck2 = gtk_check_button_new_with_mnemonic (_("_Containing:")); gtk_widget_show (containingTextCheck2); gtk_table_attach (GTK_TABLE (table4), containingTextCheck2, 0, 1, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, containingTextCheck2, _("Enable contents search to find files with matching content too."), NULL); containingText2 = gtk_combo_box_entry_new_text (); gtk_widget_show (containingText2); gtk_table_attach (GTK_TABLE (table4), containingText2, 1, 2, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); GTK_WIDGET_SET_FLAGS (containingText2, GTK_CAN_FOCUS); hseparator10 = gtk_hseparator_new (); gtk_widget_show (hseparator10); gtk_box_pack_start (GTK_BOX (vbox6), hseparator10, FALSE, TRUE, 5); table5 = gtk_table_new (2, 3, FALSE); gtk_widget_show (table5); gtk_box_pack_start (GTK_BOX (vbox6), table5, TRUE, TRUE, 0); label20 = gtk_label_new (_("Folders:")); gtk_widget_show (label20); gtk_table_attach (GTK_TABLE (table5), label20, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); lookIn2 = gtk_combo_box_entry_new_text (); gtk_widget_show (lookIn2); gtk_table_attach (GTK_TABLE (table5), lookIn2, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); GTK_WIDGET_SET_FLAGS (lookIn2, GTK_CAN_FOCUS); folderSelector2 = gtk_button_new (); gtk_widget_show (folderSelector2); gtk_table_attach (GTK_TABLE (table5), folderSelector2, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, folderSelector2, _("Opens a dialog to find a look in directory."), NULL); alignment38 = gtk_alignment_new (0.5, 0.5, 0, 0); gtk_widget_show (alignment38); gtk_container_add (GTK_CONTAINER (folderSelector2), alignment38); hbox69 = gtk_hbox_new (FALSE, 2); gtk_widget_show (hbox69); gtk_container_add (GTK_CONTAINER (alignment38), hbox69); image92 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image92); gtk_box_pack_start (GTK_BOX (hbox69), image92, FALSE, FALSE, 0); label1024 = gtk_label_new_with_mnemonic ("Select Folder..."); gtk_widget_show (label1024); gtk_box_pack_start (GTK_BOX (hbox69), label1024, FALSE, FALSE, 0); hbox72 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox72); gtk_table_attach (GTK_TABLE (table5), hbox72, 1, 2, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); searchSubfoldersCheck2 = gtk_check_button_new_with_mnemonic (_("Recurse Folders")); gtk_widget_show (searchSubfoldersCheck2); gtk_box_pack_start (GTK_BOX (hbox72), searchSubfoldersCheck2, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, searchSubfoldersCheck2, _("Use this option to search all subfolders (recursively)."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (searchSubfoldersCheck2), TRUE); label19 = gtk_label_new (_("Basic")); gtk_widget_show (label19); gtk_notebook_set_tab_label (GTK_NOTEBOOK (searchNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (searchNotebook), 0), label19); GTK_WIDGET_SET_FLAGS (label19, GTK_CAN_FOCUS); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (searchNotebook), vbox3); fileNameHbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (fileNameHbox); gtk_box_pack_start (GTK_BOX (vbox3), fileNameHbox, FALSE, TRUE, 0); label22 = gtk_label_new (_("Files:")); gtk_widget_show (label22); gtk_box_pack_start (GTK_BOX (fileNameHbox), label22, FALSE, FALSE, 5); fileName = gtk_combo_box_entry_new_text (); gtk_widget_show (fileName); gtk_box_pack_start (GTK_BOX (fileNameHbox), fileName, TRUE, TRUE, 0); GTK_WIDGET_SET_FLAGS (fileName, GTK_CAN_FOCUS); regExpWizard1 = gtk_button_new_with_mnemonic (_("Expression Builder...")); gtk_widget_show (regExpWizard1); gtk_box_pack_start (GTK_BOX (fileNameHbox), regExpWizard1, FALSE, FALSE, 5); gtk_tooltips_set_tip (tooltips, regExpWizard1, _("Use the wizard to create a file name regular expression..."), NULL); containingTextHbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (containingTextHbox); gtk_box_pack_start (GTK_BOX (vbox3), containingTextHbox, FALSE, TRUE, 0); containingTextCheck = gtk_check_button_new_with_mnemonic (_("Containing:")); gtk_widget_show (containingTextCheck); gtk_box_pack_start (GTK_BOX (containingTextHbox), containingTextCheck, FALSE, FALSE, 5); gtk_tooltips_set_tip (tooltips, containingTextCheck, _("Use this option to restrict your search results to files containing the provided text (or pattern)."), NULL); containingText = gtk_combo_box_entry_new_text (); gtk_widget_show (containingText); gtk_box_pack_start (GTK_BOX (containingTextHbox), containingText, TRUE, TRUE, 0); GTK_WIDGET_SET_FLAGS (containingText, GTK_CAN_FOCUS); regExpWizard2 = gtk_button_new_with_mnemonic (_("Expression Builder...")); gtk_widget_show (regExpWizard2); gtk_box_pack_start (GTK_BOX (containingTextHbox), regExpWizard2, FALSE, FALSE, 5); gtk_tooltips_set_tip (tooltips, regExpWizard2, _("Use the wizard to create a containing text regular expression..."), NULL); table7 = gtk_table_new (2, 4, FALSE); gtk_widget_show (table7); gtk_box_pack_start (GTK_BOX (vbox3), table7, TRUE, TRUE, 0); label6 = gtk_label_new (_("Folders:")); gtk_widget_show (label6); gtk_table_attach (GTK_TABLE (table7), label6, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); lookIn = gtk_combo_box_entry_new_text (); gtk_widget_show (lookIn); gtk_table_attach (GTK_TABLE (table7), lookIn, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); GTK_WIDGET_SET_FLAGS (lookIn, GTK_CAN_FOCUS); searchSubfoldersCheck = gtk_check_button_new_with_mnemonic (_("Recurse Folders")); gtk_widget_show (searchSubfoldersCheck); gtk_table_attach (GTK_TABLE (table7), searchSubfoldersCheck, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, searchSubfoldersCheck, _("Use this option to search all subfolders (recursively)."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (searchSubfoldersCheck), TRUE); folderDepthCheck = gtk_check_button_new_with_mnemonic (_("Restrict depth:")); gtk_widget_show (folderDepthCheck); gtk_table_attach (GTK_TABLE (table7), folderDepthCheck, 2, 3, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, folderDepthCheck, _("Limit files found by selecting maximum tree-depth to search."), NULL); folderSelector = gtk_button_new (); gtk_widget_show (folderSelector); gtk_table_attach (GTK_TABLE (table7), folderSelector, 3, 4, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, folderSelector, _("Browse your file system and select the search directory..."), NULL); alignment18 = gtk_alignment_new (0.5, 0.5, 0, 0); gtk_widget_show (alignment18); gtk_container_add (GTK_CONTAINER (folderSelector), alignment18); hbox40 = gtk_hbox_new (FALSE, 2); gtk_widget_show (hbox40); gtk_container_add (GTK_CONTAINER (alignment18), hbox40); image9 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image9); gtk_box_pack_start (GTK_BOX (hbox40), image9, FALSE, FALSE, 0); label253 = gtk_label_new_with_mnemonic ("Select Folder..."); gtk_widget_show (label253); gtk_box_pack_start (GTK_BOX (hbox40), label253, FALSE, FALSE, 0); folderDepthSpin_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10); folderDepthSpin = gtk_spin_button_new (GTK_ADJUSTMENT (folderDepthSpin_adj), 1, 0); gtk_widget_show (folderDepthSpin); gtk_table_attach (GTK_TABLE (table7), folderDepthSpin, 3, 4, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); searchModifierTable = gtk_table_new (2, 5, FALSE); gtk_widget_show (searchModifierTable); gtk_box_pack_start (GTK_BOX (vbox3), searchModifierTable, FALSE, TRUE, 0); moreThanEntry = gtk_entry_new (); gtk_widget_show (moreThanEntry); gtk_table_attach (GTK_TABLE (searchModifierTable), moreThanEntry, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_widget_set_sensitive (moreThanEntry, FALSE); gtk_tooltips_set_tip (tooltips, moreThanEntry, _("Maximum filesize in kBytes."), NULL); gtk_entry_set_max_length (GTK_ENTRY (moreThanEntry), 9); gtk_entry_set_invisible_char (GTK_ENTRY (moreThanEntry), 8226); gtk_entry_set_activates_default (GTK_ENTRY (moreThanEntry), TRUE); gtk_entry_set_width_chars (GTK_ENTRY (moreThanEntry), 10); lessThanEntry = gtk_entry_new (); gtk_widget_show (lessThanEntry); gtk_table_attach (GTK_TABLE (searchModifierTable), lessThanEntry, 4, 5, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_widget_set_sensitive (lessThanEntry, FALSE); gtk_tooltips_set_tip (tooltips, lessThanEntry, _("Minimum filesize in kBytes."), NULL); gtk_entry_set_max_length (GTK_ENTRY (lessThanEntry), 9); gtk_entry_set_invisible_char (GTK_ENTRY (lessThanEntry), 8226); gtk_entry_set_activates_default (GTK_ENTRY (lessThanEntry), TRUE); gtk_entry_set_width_chars (GTK_ENTRY (lessThanEntry), 10); label17 = gtk_label_new (_("Size (kB):")); gtk_widget_show (label17); gtk_table_attach (GTK_TABLE (searchModifierTable), label17, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); label16 = gtk_label_new (_("Modified:")); gtk_widget_show (label16); gtk_table_attach (GTK_TABLE (searchModifierTable), label16, 0, 1, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); lessThanCheck = gtk_check_button_new_with_mnemonic (_("Less than:")); gtk_widget_show (lessThanCheck); gtk_table_attach (GTK_TABLE (searchModifierTable), lessThanCheck, 3, 4, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); gtk_tooltips_set_tip (tooltips, lessThanCheck, _("Use this option to restrict your search results to files that are smaller than the provided number of kilo Bytes."), NULL); beforeCheck = gtk_check_button_new_with_mnemonic (_("Before:")); gtk_widget_show (beforeCheck); gtk_table_attach (GTK_TABLE (searchModifierTable), beforeCheck, 3, 4, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); gtk_tooltips_set_tip (tooltips, beforeCheck, _("Use this option to restrict your search results to files that were last modified before the provided time."), NULL); moreThanCheck = gtk_check_button_new_with_mnemonic (_("More than:")); gtk_widget_show (moreThanCheck); gtk_table_attach (GTK_TABLE (searchModifierTable), moreThanCheck, 1, 2, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); gtk_tooltips_set_tip (tooltips, moreThanCheck, _("Use this option to restrict your search results to files that are bigger than the provided number of kilo Bytes."), NULL); afterCheck = gtk_check_button_new_with_mnemonic (_("After:")); gtk_widget_show (afterCheck); gtk_table_attach (GTK_TABLE (searchModifierTable), afterCheck, 1, 2, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 5, 0); gtk_tooltips_set_tip (tooltips, afterCheck, _("Use this option to restrict your search results to files that were last modified after the provided time."), NULL); hbox70 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox70); gtk_table_attach (GTK_TABLE (searchModifierTable), hbox70, 2, 3, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); afterEntry = gtk_entry_new (); gtk_widget_show (afterEntry); gtk_box_pack_start (GTK_BOX (hbox70), afterEntry, TRUE, TRUE, 0); gtk_widget_set_sensitive (afterEntry, FALSE); gtk_editable_set_editable (GTK_EDITABLE (afterEntry), FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (afterEntry), 9679); afterCalendarBtn = gtk_button_new (); gtk_widget_show (afterCalendarBtn); gtk_box_pack_start (GTK_BOX (hbox70), afterCalendarBtn, FALSE, FALSE, 0); gtk_widget_set_sensitive (afterCalendarBtn, FALSE); gtk_tooltips_set_tip (tooltips, afterCalendarBtn, _("Open calendar dialog to choose modified date."), NULL); image93 = gtk_image_new_from_stock ("gtk-properties", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image93); gtk_container_add (GTK_CONTAINER (afterCalendarBtn), image93); hbox71 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox71); gtk_table_attach (GTK_TABLE (searchModifierTable), hbox71, 4, 5, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); beforeEntry = gtk_entry_new (); gtk_widget_show (beforeEntry); gtk_box_pack_start (GTK_BOX (hbox71), beforeEntry, TRUE, TRUE, 0); gtk_widget_set_sensitive (beforeEntry, FALSE); gtk_editable_set_editable (GTK_EDITABLE (beforeEntry), FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (beforeEntry), 9679); beforeCalendarBtn = gtk_button_new (); gtk_widget_show (beforeCalendarBtn); gtk_box_pack_start (GTK_BOX (hbox71), beforeCalendarBtn, FALSE, FALSE, 0); gtk_widget_set_sensitive (beforeCalendarBtn, FALSE); gtk_tooltips_set_tip (tooltips, beforeCalendarBtn, _("Open calendar dialog to choose modified date."), NULL); image94 = gtk_image_new_from_stock ("gtk-properties", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image94); gtk_container_add (GTK_CONTAINER (beforeCalendarBtn), image94); label1 = gtk_label_new (_("Advanced")); gtk_widget_show (label1); gtk_notebook_set_tab_label (GTK_NOTEBOOK (searchNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (searchNotebook), 1), label1); GTK_WIDGET_SET_FLAGS (label1, GTK_CAN_FOCUS); hbox62 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox62); gtk_container_add (GTK_CONTAINER (searchNotebook), hbox62); frame1 = gtk_frame_new (NULL); gtk_widget_show (frame1); gtk_box_pack_start (GTK_BOX (hbox62), frame1, FALSE, TRUE, 5); gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN); vbox47 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox47); gtk_container_add (GTK_CONTAINER (frame1), vbox47); notExpressionCheckFile = gtk_check_button_new_with_mnemonic (_("Invert Search Expression")); gtk_widget_show (notExpressionCheckFile); gtk_box_pack_start (GTK_BOX (vbox47), notExpressionCheckFile, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, notExpressionCheckFile, _("Inverts the file name search results i.e. find all becomes find none."), NULL); matchCaseCheckFile = gtk_check_button_new_with_mnemonic (_("Match Case")); gtk_widget_show (matchCaseCheckFile); gtk_box_pack_start (GTK_BOX (vbox47), matchCaseCheckFile, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, matchCaseCheckFile, _("Use strict file case matching."), NULL); ignoreHiddenFiles = gtk_check_button_new_with_mnemonic (_("_Ignore files beginning with '.'")); gtk_widget_show (ignoreHiddenFiles); gtk_box_pack_start (GTK_BOX (vbox47), ignoreHiddenFiles, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, ignoreHiddenFiles, _("Ignore hidden files (Unix filesystems only)"), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ignoreHiddenFiles), TRUE); followSymLinksCheck = gtk_check_button_new_with_mnemonic (_("Follow Symbol _Links")); gtk_widget_show (followSymLinksCheck); gtk_box_pack_start (GTK_BOX (vbox47), followSymLinksCheck, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, followSymLinksCheck, _("Follow Symbolic Links (Only on systems that support them)"), NULL); hseparator9 = gtk_hseparator_new (); gtk_widget_show (hseparator9); gtk_box_pack_start (GTK_BOX (vbox47), hseparator9, FALSE, TRUE, 0); dosExpressionRadioFile = gtk_radio_button_new_with_mnemonic (NULL, _("Use Wil_dcard Syntax")); gtk_widget_show (dosExpressionRadioFile); gtk_box_pack_start (GTK_BOX (vbox47), dosExpressionRadioFile, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, dosExpressionRadioFile, _("Use wildcard or glob syntax for file search criteria. E.g. *.txt"), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (dosExpressionRadioFile), dosExpressionRadioFile_group); dosExpressionRadioFile_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (dosExpressionRadioFile)); regularExpressionRadioFile = gtk_radio_button_new_with_mnemonic (NULL, _("Use _Regular Expression Syntax")); gtk_widget_show (regularExpressionRadioFile); gtk_box_pack_start (GTK_BOX (vbox47), regularExpressionRadioFile, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, regularExpressionRadioFile, _("Use regular expression syntax in file search criteria."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (regularExpressionRadioFile), dosExpressionRadioFile_group); dosExpressionRadioFile_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (regularExpressionRadioFile)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (regularExpressionRadioFile), TRUE); label13 = gtk_label_new (_("File Name Options")); gtk_widget_show (label13); gtk_frame_set_label_widget (GTK_FRAME (frame1), label13); gtk_label_set_use_markup (GTK_LABEL (label13), TRUE); frame2 = gtk_frame_new (NULL); gtk_widget_show (frame2); gtk_box_pack_start (GTK_BOX (hbox62), frame2, FALSE, TRUE, 5); gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_IN); vbox46 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox46); gtk_container_add (GTK_CONTAINER (frame2), vbox46); singlePhaseCheckContents = gtk_check_button_new_with_mnemonic (_("Use Single Phase Search")); gtk_widget_show (singlePhaseCheckContents); gtk_box_pack_start (GTK_BOX (vbox46), singlePhaseCheckContents, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, singlePhaseCheckContents, _("Perform content searching immediately so that results are returned quicker."), NULL); matchCaseCheckContents = gtk_check_button_new_with_mnemonic (_("Match Case")); gtk_widget_show (matchCaseCheckContents); gtk_box_pack_start (GTK_BOX (vbox46), matchCaseCheckContents, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, matchCaseCheckContents, _("Use strict contents case matching."), NULL); hseparator8 = gtk_hseparator_new (); gtk_widget_show (hseparator8); gtk_box_pack_start (GTK_BOX (vbox46), hseparator8, FALSE, TRUE, 0); wildcardCheckContents = gtk_radio_button_new_with_mnemonic (NULL, _("Use simple search syntax")); gtk_widget_show (wildcardCheckContents); gtk_box_pack_start (GTK_BOX (vbox46), wildcardCheckContents, FALSE, FALSE, 0); gtk_widget_set_sensitive (wildcardCheckContents, FALSE); gtk_tooltips_set_tip (tooltips, wildcardCheckContents, _("Use wildcard or glob syntax for file search criteria. E.g. *.txt"), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (wildcardCheckContents), wildcardCheckContents_group); wildcardCheckContents_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (wildcardCheckContents)); regularExpressionRadioContents = gtk_radio_button_new_with_mnemonic (NULL, _("Use _Regular Expression Syntax")); gtk_widget_show (regularExpressionRadioContents); gtk_box_pack_start (GTK_BOX (vbox46), regularExpressionRadioContents, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, regularExpressionRadioContents, _("Use regular expression syntax in file search criteria."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (regularExpressionRadioContents), wildcardCheckContents_group); wildcardCheckContents_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (regularExpressionRadioContents)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (regularExpressionRadioContents), TRUE); label14 = gtk_label_new (_("File Contents Options")); gtk_widget_show (label14); gtk_frame_set_label_widget (GTK_FRAME (frame2), label14); gtk_label_set_use_markup (GTK_LABEL (label14), TRUE); frame16 = gtk_frame_new (NULL); gtk_widget_show (frame16); gtk_box_pack_start (GTK_BOX (hbox62), frame16, FALSE, TRUE, 5); gtk_frame_set_shadow_type (GTK_FRAME (frame16), GTK_SHADOW_IN); vbox45 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox45); gtk_container_add (GTK_CONTAINER (frame16), vbox45); limitResultsCheckResults = gtk_check_button_new_with_mnemonic (_("Limit Match Files")); gtk_widget_show (limitResultsCheckResults); gtk_box_pack_start (GTK_BOX (vbox45), limitResultsCheckResults, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, limitResultsCheckResults, _("Specify the maximum number of matching files found. Does not limit the number of content matches within each file."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (limitResultsCheckResults), TRUE); limit_results_hbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (limit_results_hbox); gtk_box_pack_start (GTK_BOX (vbox45), limit_results_hbox, FALSE, TRUE, 0); label1010 = gtk_label_new (_("Maximum Hits:")); gtk_widget_show (label1010); gtk_box_pack_start (GTK_BOX (limit_results_hbox), label1010, FALSE, FALSE, 0); gtk_misc_set_padding (GTK_MISC (label1010), 5, 0); maxHitsSpinResults_adj = gtk_adjustment_new (25, 1, 99999, 1, 10, 10); maxHitsSpinResults = gtk_spin_button_new (GTK_ADJUSTMENT (maxHitsSpinResults_adj), 1, 0); gtk_widget_show (maxHitsSpinResults); gtk_box_pack_start (GTK_BOX (limit_results_hbox), maxHitsSpinResults, TRUE, TRUE, 0); hseparator7 = gtk_hseparator_new (); gtk_widget_show (hseparator7); gtk_box_pack_start (GTK_BOX (vbox45), hseparator7, FALSE, TRUE, 0); showLinesCheckResults = gtk_check_button_new_with_mnemonic (_("Show Line Contents")); gtk_widget_show (showLinesCheckResults); gtk_box_pack_start (GTK_BOX (vbox45), showLinesCheckResults, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, showLinesCheckResults, _("If active, display extra lines around the matching line to help show context of match."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (showLinesCheckResults), TRUE); show_line_contents_hbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (show_line_contents_hbox); gtk_box_pack_start (GTK_BOX (vbox45), show_line_contents_hbox, FALSE, TRUE, 0); label1009 = gtk_label_new (_("Lines Displayed:")); gtk_widget_show (label1009); gtk_box_pack_start (GTK_BOX (show_line_contents_hbox), label1009, FALSE, FALSE, 0); gtk_misc_set_padding (GTK_MISC (label1009), 5, 0); showLinesSpinResults_adj = gtk_adjustment_new (0, 0, 20, 1, 5, 5); showLinesSpinResults = gtk_spin_button_new (GTK_ADJUSTMENT (showLinesSpinResults_adj), 1, 0); gtk_widget_show (showLinesSpinResults); gtk_box_pack_start (GTK_BOX (show_line_contents_hbox), showLinesSpinResults, TRUE, TRUE, 0); hseparator11 = gtk_hseparator_new (); gtk_widget_show (hseparator11); gtk_box_pack_start (GTK_BOX (vbox45), hseparator11, TRUE, TRUE, 0); limitContentsCheckResults = gtk_check_button_new_with_mnemonic (_("Limit Content Hits")); gtk_widget_show (limitContentsCheckResults); gtk_box_pack_start (GTK_BOX (vbox45), limitContentsCheckResults, FALSE, FALSE, 0); gtk_widget_set_sensitive (limitContentsCheckResults, FALSE); gtk_tooltips_set_tip (tooltips, limitContentsCheckResults, _("Specify the maximum number of content matches within each file to show. Does not limit the number of files to search."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (limitContentsCheckResults), TRUE); limit_contents_hbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (limit_contents_hbox); gtk_box_pack_start (GTK_BOX (vbox45), limit_contents_hbox, TRUE, TRUE, 0); gtk_widget_set_sensitive (limit_contents_hbox, FALSE); label1025 = gtk_label_new (_("Maximum Hits:")); gtk_widget_show (label1025); gtk_box_pack_start (GTK_BOX (limit_contents_hbox), label1025, FALSE, FALSE, 0); gtk_misc_set_padding (GTK_MISC (label1025), 5, 0); maxContentHitsSpinResults_adj = gtk_adjustment_new (1, 1, 99999, 1, 5, 5); maxContentHitsSpinResults = gtk_spin_button_new (GTK_ADJUSTMENT (maxContentHitsSpinResults_adj), 1, 0); gtk_widget_show (maxContentHitsSpinResults); gtk_box_pack_start (GTK_BOX (limit_contents_hbox), maxContentHitsSpinResults, TRUE, TRUE, 0); label1008 = gtk_label_new (_("Results Options")); gtk_widget_show (label1008); gtk_frame_set_label_widget (GTK_FRAME (frame16), label1008); gtk_label_set_use_markup (GTK_LABEL (label1008), TRUE); label2 = gtk_label_new (_("Options")); gtk_widget_show (label2); gtk_notebook_set_tab_label (GTK_NOTEBOOK (searchNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (searchNotebook), 2), label2); GTK_WIDGET_SET_FLAGS (label2, GTK_CAN_FOCUS); vseparator8 = gtk_vseparator_new (); gtk_widget_show (vseparator8); gtk_box_pack_start (GTK_BOX (hbox68), vseparator8, FALSE, TRUE, 5); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (hbox68), vbox2, FALSE, TRUE, 0); expertUserCheck = gtk_check_button_new_with_mnemonic (_("Expert Mode")); gtk_box_pack_start (GTK_BOX (vbox2), expertUserCheck, TRUE, FALSE, 5); gtk_tooltips_set_tip (tooltips, expertUserCheck, _("Switch search from basic to advanced mode."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (expertUserCheck), TRUE); playButton1 = gtk_button_new (); gtk_widget_show (playButton1); gtk_box_pack_start (GTK_BOX (vbox2), playButton1, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, playButton1, _("Start the search!"), NULL); gtk_widget_add_accelerator (playButton1, "clicked", accel_group, GDK_KP_Enter, (GdkModifierType) 0, GTK_ACCEL_VISIBLE); alignment36 = gtk_alignment_new (0.5, 0.5, 0, 0); gtk_widget_show (alignment36); gtk_container_add (GTK_CONTAINER (playButton1), alignment36); hbox67 = gtk_hbox_new (FALSE, 2); gtk_widget_show (hbox67); gtk_container_add (GTK_CONTAINER (alignment36), hbox67); image27 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image27); gtk_box_pack_start (GTK_BOX (hbox67), image27, FALSE, FALSE, 0); label1015 = gtk_label_new_with_mnemonic (_("Start")); gtk_widget_show (label1015); gtk_box_pack_start (GTK_BOX (hbox67), label1015, FALSE, FALSE, 0); stopButton1 = gtk_button_new_from_stock ("gtk-stop"); gtk_widget_show (stopButton1); gtk_box_pack_start (GTK_BOX (vbox2), stopButton1, FALSE, FALSE, 0); gtk_widget_set_sensitive (stopButton1, FALSE); gtk_tooltips_set_tip (tooltips, stopButton1, _("Stop the search!"), NULL); label1016 = gtk_label_new (_("Search criteria")); gtk_widget_show (label1016); gtk_expander_set_label_widget (GTK_EXPANDER (expander1), label1016); resultsHPane = gtk_hpaned_new (); gtk_widget_show (resultsHPane); gtk_box_pack_start (GTK_BOX (vbox1), resultsHPane, TRUE, TRUE, 0); resultsScroll = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (resultsScroll); gtk_paned_pack1 (GTK_PANED (resultsHPane), resultsScroll, TRUE, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (resultsScroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeview1 = gtk_tree_view_new (); gtk_widget_show (treeview1); gtk_container_add (GTK_CONTAINER (resultsScroll), treeview1); gtk_widget_set_size_request (treeview1, -1, 250); scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow1); gtk_paned_pack2 (GTK_PANED (resultsHPane), scrolledwindow1, TRUE, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); textview1 = gtk_text_view_new (); gtk_widget_show (textview1); gtk_container_add (GTK_CONTAINER (scrolledwindow1), textview1); gtk_tooltips_set_tip (tooltips, textview1, _("Displays the matching text lines when the result is selected."), NULL); gtk_text_view_set_editable (GTK_TEXT_VIEW (textview1), FALSE); gtk_text_view_set_overwrite (GTK_TEXT_VIEW (textview1), TRUE); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (textview1), GTK_WRAP_WORD); gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (textview1), FALSE); gtk_text_view_set_pixels_inside_wrap (GTK_TEXT_VIEW (textview1), 5); gtk_text_view_set_left_margin (GTK_TEXT_VIEW (textview1), 5); gtk_text_view_set_right_margin (GTK_TEXT_VIEW (textview1), 5); resultsVPane = gtk_vpaned_new (); gtk_box_pack_start (GTK_BOX (vbox1), resultsVPane, TRUE, TRUE, 0); scrolledwindow15 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow15); gtk_paned_pack1 (GTK_PANED (resultsVPane), scrolledwindow15, TRUE, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow15), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeview2 = gtk_tree_view_new (); gtk_widget_show (treeview2); gtk_container_add (GTK_CONTAINER (scrolledwindow15), treeview2); scrolledwindow16 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow16); gtk_paned_pack2 (GTK_PANED (resultsVPane), scrolledwindow16, TRUE, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow16), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); textview4 = gtk_text_view_new (); gtk_widget_show (textview4); gtk_container_add (GTK_CONTAINER (scrolledwindow16), textview4); gtk_tooltips_set_tip (tooltips, textview4, _("Displays the matching text lines when the result is selected."), NULL); gtk_text_view_set_editable (GTK_TEXT_VIEW (textview4), FALSE); gtk_text_view_set_overwrite (GTK_TEXT_VIEW (textview4), TRUE); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (textview4), GTK_WRAP_WORD); gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (textview4), FALSE); gtk_text_view_set_pixels_inside_wrap (GTK_TEXT_VIEW (textview4), 5); gtk_text_view_set_left_margin (GTK_TEXT_VIEW (textview4), 5); gtk_text_view_set_right_margin (GTK_TEXT_VIEW (textview4), 5); hbox41 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox41); gtk_box_pack_start (GTK_BOX (vbox1), hbox41, FALSE, FALSE, 0); statusbar1 = gtk_statusbar_new (); gtk_widget_show (statusbar1); gtk_box_pack_start (GTK_BOX (hbox41), statusbar1, TRUE, TRUE, 0); gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar1), FALSE); progressbar1 = gtk_progress_bar_new (); gtk_widget_show (progressbar1); gtk_box_pack_start (GTK_BOX (hbox41), progressbar1, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, progressbar1, _("Search progress bar."), NULL); g_signal_connect ((gpointer) window1, "destroy", G_CALLBACK (on_window1_destroy), NULL); g_signal_connect ((gpointer) window1, "unrealize", G_CALLBACK (on_window1_unrealize), NULL); g_signal_connect ((gpointer) window1, "realize", G_CALLBACK (on_window1_realize), NULL); g_signal_connect ((gpointer) newInstance1, "activate", G_CALLBACK (on_newInstance1_activate), NULL); g_signal_connect ((gpointer) save_results1, "activate", G_CALLBACK (on_save_results1_activate), NULL); g_signal_connect ((gpointer) print1, "activate", G_CALLBACK (on_print1_activate), NULL); g_signal_connect ((gpointer) print_preview1, "activate", G_CALLBACK (on_print_preview1_activate), NULL); g_signal_connect ((gpointer) print_setup1, "activate", G_CALLBACK (on_print_setup1_activate), NULL); g_signal_connect ((gpointer) quit1, "activate", G_CALLBACK (on_quit1_activate), NULL); g_signal_connect ((gpointer) delete1, "activate", G_CALLBACK (on_delete1_activate), NULL); g_signal_connect ((gpointer) edit_file1, "activate", G_CALLBACK (on_edit_file1_activate), NULL); g_signal_connect ((gpointer) open_folder1, "activate", G_CALLBACK (on_open_folder1_activate), NULL); g_signal_connect ((gpointer) copy2, "activate", G_CALLBACK (on_copy2_activate), NULL); g_signal_connect ((gpointer) toolbar2, "activate", G_CALLBACK (on_toolbar2_activate), NULL); g_signal_connect ((gpointer) status_bar1, "activate", G_CALLBACK (on_status_bar1_activate), NULL); g_signal_connect ((gpointer) horizontal_results1, "activate", G_CALLBACK (on_horizontal_results1_activate), NULL); g_signal_connect ((gpointer) vertical_results1, "activate", G_CALLBACK (on_vertical_results1_activate), NULL); g_signal_connect ((gpointer) file_name1, "activate", G_CALLBACK (on_file_name1_activate), NULL); g_signal_connect ((gpointer) location1, "activate", G_CALLBACK (on_location1_activate), NULL); g_signal_connect ((gpointer) size1, "activate", G_CALLBACK (on_size1_activate), NULL); g_signal_connect ((gpointer) type1, "activate", G_CALLBACK (on_type1_activate), NULL); g_signal_connect ((gpointer) modified1, "activate", G_CALLBACK (on_modified1_activate), NULL); g_signal_connect ((gpointer) matches1, "activate", G_CALLBACK (on_matches1_activate), NULL); g_signal_connect ((gpointer) search1, "activate", G_CALLBACK (on_search1_activate), NULL); g_signal_connect ((gpointer) playButton3, "activate", G_CALLBACK (on_playButton_activate), NULL); g_signal_connect ((gpointer) stopButton3, "activate", G_CALLBACK (on_stopButton_activate), NULL); g_signal_connect ((gpointer) cl_ear_history1, "activate", G_CALLBACK (on_cl_ear_history1_activate), NULL); g_signal_connect ((gpointer) set_font1, "activate", G_CALLBACK (on_set_font1_activate), NULL); g_signal_connect ((gpointer) set_highligting_colour1, "activate", G_CALLBACK (on_set_highligting_colour1_activate), NULL); g_signal_connect ((gpointer) word_wrap1, "activate", G_CALLBACK (on_word_wrap1_activate), NULL); g_signal_connect ((gpointer) autosize_columns, "activate", G_CALLBACK (on_autosize_columns_activate), NULL); g_signal_connect ((gpointer) configuration1, "activate", G_CALLBACK (on_configuration1_activate), NULL); g_signal_connect ((gpointer) test1, "activate", G_CALLBACK (on_test1_activate), NULL); g_signal_connect ((gpointer) open_criteria1, "activate", G_CALLBACK (on_open_criteria1_activate), NULL); g_signal_connect ((gpointer) save_criteria1, "activate", G_CALLBACK (on_save_criteria1_activate), NULL); g_signal_connect ((gpointer) reg_expression1, "activate", G_CALLBACK (on_reg_expression1_activate), NULL); g_signal_connect ((gpointer) contents1, "activate", G_CALLBACK (on_contents1_activate), NULL); g_signal_connect ((gpointer) support1, "activate", G_CALLBACK (on_support1_activate), NULL); g_signal_connect ((gpointer) online_release_notes1, "activate", G_CALLBACK (on_online_release_notes1_activate), NULL); g_signal_connect ((gpointer) forums1, "activate", G_CALLBACK (on_forums1_activate), NULL); g_signal_connect ((gpointer) about1, "activate", G_CALLBACK (on_about1_activate), NULL); g_signal_connect ((gpointer) newInstance2, "clicked", G_CALLBACK (on_newInstance2_clicked), NULL); g_signal_connect ((gpointer) importCriteria, "clicked", G_CALLBACK (on_importCriteria_clicked), NULL); g_signal_connect ((gpointer) exportCriteria, "clicked", G_CALLBACK (on_exportCriteria_clicked), NULL); g_signal_connect ((gpointer) saveResults, "clicked", G_CALLBACK (on_saveResults_clicked), NULL); g_signal_connect ((gpointer) playButton2, "clicked", G_CALLBACK (on_playButton2_clicked), NULL); g_signal_connect ((gpointer) stopButton2, "clicked", G_CALLBACK (on_stopButton2_clicked), NULL); g_signal_connect ((gpointer) printResults, "clicked", G_CALLBACK (on_printResults_clicked), NULL); g_signal_connect ((gpointer) searchNotebook, "switch_page", G_CALLBACK (on_searchNotebook_switch_page), NULL); g_signal_connect ((gpointer) searchNotebook, "focus_out_event", G_CALLBACK (on_searchNotebook_focus_out_event), NULL); g_signal_connect ((gpointer) fileName2, "focus_out_event", G_CALLBACK (on_regexp_focus_out_event), NULL); g_signal_connect ((gpointer) containingText2, "changed", G_CALLBACK (on_containingText_changed), NULL); g_signal_connect ((gpointer) containingText2, "focus_out_event", G_CALLBACK (on_regexp2_focus_out_event), NULL); g_signal_connect ((gpointer) folderSelector2, "clicked", G_CALLBACK (on_folderSelector_clicked), NULL); g_signal_connect ((gpointer) fileName, "focus_out_event", G_CALLBACK (on_regexp_focus_out_event), NULL); g_signal_connect ((gpointer) regExpWizard1, "clicked", G_CALLBACK (on_regExpWizard1_clicked), NULL); g_signal_connect ((gpointer) containingText, "changed", G_CALLBACK (on_containingText_changed), NULL); g_signal_connect_after ((gpointer) containingText, "focus_out_event", G_CALLBACK (on_regexp2_focus_out_event), NULL); g_signal_connect ((gpointer) regExpWizard2, "clicked", G_CALLBACK (on_regExpWizard2_clicked), NULL); g_signal_connect ((gpointer) searchSubfoldersCheck, "toggled", G_CALLBACK (on_searchSubfoldersCheck_toggled), NULL); g_signal_connect ((gpointer) folderDepthCheck, "toggled", G_CALLBACK (on_folderDepthCheck_toggled), NULL); g_signal_connect ((gpointer) folderSelector, "clicked", G_CALLBACK (on_folderSelector_clicked), NULL); g_signal_connect ((gpointer) lessThanCheck, "toggled", G_CALLBACK (on_lessThanCheck_toggled), NULL); g_signal_connect ((gpointer) beforeCheck, "toggled", G_CALLBACK (on_beforeCheck_toggled), NULL); g_signal_connect ((gpointer) moreThanCheck, "toggled", G_CALLBACK (on_moreThanCheck_toggled), NULL); g_signal_connect ((gpointer) afterCheck, "toggled", G_CALLBACK (on_afterCheck_toggled), NULL); g_signal_connect ((gpointer) afterCalendarBtn, "clicked", G_CALLBACK (on_afterCalenderBtn_clicked), NULL); g_signal_connect ((gpointer) beforeCalendarBtn, "clicked", G_CALLBACK (on_beforeCalendatBtn_clicked), NULL); g_signal_connect ((gpointer) dosExpressionRadioFile, "clicked", G_CALLBACK (on_dosExpressionRadioFile_clicked), NULL); g_signal_connect ((gpointer) regularExpressionRadioFile, "clicked", G_CALLBACK (on_regularExpressionRadioFile_clicked), NULL); g_signal_connect ((gpointer) limitResultsCheckResults, "toggled", G_CALLBACK (on_limitResultsCheckResults_toggled), NULL); g_signal_connect ((gpointer) showLinesCheckResults, "toggled", G_CALLBACK (on_showLinesCheckResults_toggled), NULL); g_signal_connect ((gpointer) limitContentsCheckResults, "toggled", G_CALLBACK (on_limitContentsCheckResults_toggled), NULL); g_signal_connect ((gpointer) expertUserCheck, "toggled", G_CALLBACK (on_expertUserCheck_toggled), NULL); g_signal_connect ((gpointer) playButton1, "clicked", G_CALLBACK (on_playButton_clicked), NULL); g_signal_connect ((gpointer) stopButton1, "clicked", G_CALLBACK (on_stopButton_clicked), NULL); g_signal_connect ((gpointer) treeview1, "button_press_event", G_CALLBACK (on_treeview1_button_press_event), NULL); g_signal_connect ((gpointer) treeview1, "popup_menu", G_CALLBACK (on_treeview1_popup_menu), NULL); g_signal_connect ((gpointer) treeview2, "button_press_event", G_CALLBACK (on_treeview1_button_press_event), NULL); g_signal_connect ((gpointer) treeview2, "popup_menu", G_CALLBACK (on_treeview1_popup_menu), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (window1, window1, "window1"); GLADE_HOOKUP_OBJECT (window1, vbox1, "vbox1"); GLADE_HOOKUP_OBJECT (window1, menubar1, "menubar1"); GLADE_HOOKUP_OBJECT (window1, menuitem4, "menuitem4"); GLADE_HOOKUP_OBJECT (window1, menuitem4_menu, "menuitem4_menu"); GLADE_HOOKUP_OBJECT (window1, newInstance1, "newInstance1"); GLADE_HOOKUP_OBJECT (window1, image165, "image165"); GLADE_HOOKUP_OBJECT (window1, separatormenuitem1, "separatormenuitem1"); GLADE_HOOKUP_OBJECT (window1, save_results1, "save_results1"); GLADE_HOOKUP_OBJECT (window1, image166, "image166"); GLADE_HOOKUP_OBJECT (window1, separator5, "separator5"); GLADE_HOOKUP_OBJECT (window1, print1, "print1"); GLADE_HOOKUP_OBJECT (window1, print_preview1, "print_preview1"); GLADE_HOOKUP_OBJECT (window1, print_setup1, "print_setup1"); GLADE_HOOKUP_OBJECT (window1, separator6, "separator6"); GLADE_HOOKUP_OBJECT (window1, quit1, "quit1"); GLADE_HOOKUP_OBJECT (window1, menuitem5, "menuitem5"); GLADE_HOOKUP_OBJECT (window1, menuitem5_menu, "menuitem5_menu"); GLADE_HOOKUP_OBJECT (window1, delete1, "delete1"); GLADE_HOOKUP_OBJECT (window1, image167, "image167"); GLADE_HOOKUP_OBJECT (window1, edit_file1, "edit_file1"); GLADE_HOOKUP_OBJECT (window1, image168, "image168"); GLADE_HOOKUP_OBJECT (window1, open_folder1, "open_folder1"); GLADE_HOOKUP_OBJECT (window1, image169, "image169"); GLADE_HOOKUP_OBJECT (window1, copy2, "copy2"); GLADE_HOOKUP_OBJECT (window1, image170, "image170"); GLADE_HOOKUP_OBJECT (window1, menuitem6, "menuitem6"); GLADE_HOOKUP_OBJECT (window1, menuitem6_menu, "menuitem6_menu"); GLADE_HOOKUP_OBJECT (window1, toolbar2, "toolbar2"); GLADE_HOOKUP_OBJECT (window1, status_bar1, "status_bar1"); GLADE_HOOKUP_OBJECT (window1, separator4, "separator4"); GLADE_HOOKUP_OBJECT (window1, horizontal_results1, "horizontal_results1"); GLADE_HOOKUP_OBJECT (window1, vertical_results1, "vertical_results1"); GLADE_HOOKUP_OBJECT (window1, separator13, "separator13"); GLADE_HOOKUP_OBJECT (window1, sort_by1, "sort_by1"); GLADE_HOOKUP_OBJECT (window1, sort_by1_menu, "sort_by1_menu"); GLADE_HOOKUP_OBJECT (window1, file_name1, "file_name1"); GLADE_HOOKUP_OBJECT (window1, location1, "location1"); GLADE_HOOKUP_OBJECT (window1, size1, "size1"); GLADE_HOOKUP_OBJECT (window1, type1, "type1"); GLADE_HOOKUP_OBJECT (window1, modified1, "modified1"); GLADE_HOOKUP_OBJECT (window1, matches1, "matches1"); GLADE_HOOKUP_OBJECT (window1, search1, "search1"); GLADE_HOOKUP_OBJECT (window1, search1_menu, "search1_menu"); GLADE_HOOKUP_OBJECT (window1, playButton3, "playButton3"); GLADE_HOOKUP_OBJECT (window1, image171, "image171"); GLADE_HOOKUP_OBJECT (window1, stopButton3, "stopButton3"); GLADE_HOOKUP_OBJECT (window1, image172, "image172"); GLADE_HOOKUP_OBJECT (window1, separator2, "separator2"); GLADE_HOOKUP_OBJECT (window1, cl_ear_history1, "cl_ear_history1"); GLADE_HOOKUP_OBJECT (window1, image173, "image173"); GLADE_HOOKUP_OBJECT (window1, settings3, "settings3"); GLADE_HOOKUP_OBJECT (window1, settings3_menu, "settings3_menu"); GLADE_HOOKUP_OBJECT (window1, set_font1, "set_font1"); GLADE_HOOKUP_OBJECT (window1, set_highligting_colour1, "set_highligting_colour1"); GLADE_HOOKUP_OBJECT (window1, separator12, "separator12"); GLADE_HOOKUP_OBJECT (window1, word_wrap1, "word_wrap1"); GLADE_HOOKUP_OBJECT (window1, autosize_columns, "autosize_columns"); GLADE_HOOKUP_OBJECT (window1, separator11, "separator11"); GLADE_HOOKUP_OBJECT (window1, configuration1, "configuration1"); GLADE_HOOKUP_OBJECT (window1, test1, "test1"); GLADE_HOOKUP_OBJECT (window1, test1_menu, "test1_menu"); GLADE_HOOKUP_OBJECT (window1, open_criteria1, "open_criteria1"); GLADE_HOOKUP_OBJECT (window1, image174, "image174"); GLADE_HOOKUP_OBJECT (window1, save_criteria1, "save_criteria1"); GLADE_HOOKUP_OBJECT (window1, image175, "image175"); GLADE_HOOKUP_OBJECT (window1, separator16, "separator16"); GLADE_HOOKUP_OBJECT (window1, reg_expression1, "reg_expression1"); GLADE_HOOKUP_OBJECT (window1, menuitem7, "menuitem7"); GLADE_HOOKUP_OBJECT (window1, menuitem7_menu, "menuitem7_menu"); GLADE_HOOKUP_OBJECT (window1, contents1, "contents1"); GLADE_HOOKUP_OBJECT (window1, support1, "support1"); GLADE_HOOKUP_OBJECT (window1, online_release_notes1, "online_release_notes1"); GLADE_HOOKUP_OBJECT (window1, forums1, "forums1"); GLADE_HOOKUP_OBJECT (window1, separator1, "separator1"); GLADE_HOOKUP_OBJECT (window1, about1, "about1"); GLADE_HOOKUP_OBJECT (window1, toolbar1, "toolbar1"); GLADE_HOOKUP_OBJECT (window1, toolitem15, "toolitem15"); GLADE_HOOKUP_OBJECT (window1, newInstance2, "newInstance2"); GLADE_HOOKUP_OBJECT (window1, separatortoolitem4, "separatortoolitem4"); GLADE_HOOKUP_OBJECT (window1, importCriteria, "importCriteria"); GLADE_HOOKUP_OBJECT (window1, exportCriteria, "exportCriteria"); GLADE_HOOKUP_OBJECT (window1, separatortoolitem3, "separatortoolitem3"); GLADE_HOOKUP_OBJECT (window1, saveResults, "saveResults"); GLADE_HOOKUP_OBJECT (window1, separatortoolitem2, "separatortoolitem2"); GLADE_HOOKUP_OBJECT (window1, playButton2, "playButton2"); GLADE_HOOKUP_OBJECT (window1, stopButton2, "stopButton2"); GLADE_HOOKUP_OBJECT (window1, separatortoolitem1, "separatortoolitem1"); GLADE_HOOKUP_OBJECT (window1, printResults, "printResults"); GLADE_HOOKUP_OBJECT (window1, expander1, "expander1"); GLADE_HOOKUP_OBJECT (window1, hbox68, "hbox68"); GLADE_HOOKUP_OBJECT (window1, searchNotebook, "searchNotebook"); GLADE_HOOKUP_OBJECT (window1, vbox6, "vbox6"); GLADE_HOOKUP_OBJECT (window1, hbox14, "hbox14"); GLADE_HOOKUP_OBJECT (window1, table4, "table4"); GLADE_HOOKUP_OBJECT (window1, fileName2, "fileName2"); GLADE_HOOKUP_OBJECT (window1, label21, "label21"); GLADE_HOOKUP_OBJECT (window1, containingTextCheck2, "containingTextCheck2"); GLADE_HOOKUP_OBJECT (window1, containingText2, "containingText2"); GLADE_HOOKUP_OBJECT (window1, hseparator10, "hseparator10"); GLADE_HOOKUP_OBJECT (window1, table5, "table5"); GLADE_HOOKUP_OBJECT (window1, label20, "label20"); GLADE_HOOKUP_OBJECT (window1, lookIn2, "lookIn2"); GLADE_HOOKUP_OBJECT (window1, folderSelector2, "folderSelector2"); GLADE_HOOKUP_OBJECT (window1, alignment38, "alignment38"); GLADE_HOOKUP_OBJECT (window1, hbox69, "hbox69"); GLADE_HOOKUP_OBJECT (window1, image92, "image92"); GLADE_HOOKUP_OBJECT (window1, label1024, "label1024"); GLADE_HOOKUP_OBJECT (window1, hbox72, "hbox72"); GLADE_HOOKUP_OBJECT (window1, searchSubfoldersCheck2, "searchSubfoldersCheck2"); GLADE_HOOKUP_OBJECT (window1, label19, "label19"); GLADE_HOOKUP_OBJECT (window1, vbox3, "vbox3"); GLADE_HOOKUP_OBJECT (window1, fileNameHbox, "fileNameHbox"); GLADE_HOOKUP_OBJECT (window1, label22, "label22"); GLADE_HOOKUP_OBJECT (window1, fileName, "fileName"); GLADE_HOOKUP_OBJECT (window1, regExpWizard1, "regExpWizard1"); GLADE_HOOKUP_OBJECT (window1, containingTextHbox, "containingTextHbox"); GLADE_HOOKUP_OBJECT (window1, containingTextCheck, "containingTextCheck"); GLADE_HOOKUP_OBJECT (window1, containingText, "containingText"); GLADE_HOOKUP_OBJECT (window1, regExpWizard2, "regExpWizard2"); GLADE_HOOKUP_OBJECT (window1, table7, "table7"); GLADE_HOOKUP_OBJECT (window1, label6, "label6"); GLADE_HOOKUP_OBJECT (window1, lookIn, "lookIn"); GLADE_HOOKUP_OBJECT (window1, searchSubfoldersCheck, "searchSubfoldersCheck"); GLADE_HOOKUP_OBJECT (window1, folderDepthCheck, "folderDepthCheck"); GLADE_HOOKUP_OBJECT (window1, folderSelector, "folderSelector"); GLADE_HOOKUP_OBJECT (window1, alignment18, "alignment18"); GLADE_HOOKUP_OBJECT (window1, hbox40, "hbox40"); GLADE_HOOKUP_OBJECT (window1, image9, "image9"); GLADE_HOOKUP_OBJECT (window1, label253, "label253"); GLADE_HOOKUP_OBJECT (window1, folderDepthSpin, "folderDepthSpin"); GLADE_HOOKUP_OBJECT (window1, searchModifierTable, "searchModifierTable"); GLADE_HOOKUP_OBJECT (window1, moreThanEntry, "moreThanEntry"); GLADE_HOOKUP_OBJECT (window1, lessThanEntry, "lessThanEntry"); GLADE_HOOKUP_OBJECT (window1, label17, "label17"); GLADE_HOOKUP_OBJECT (window1, label16, "label16"); GLADE_HOOKUP_OBJECT (window1, lessThanCheck, "lessThanCheck"); GLADE_HOOKUP_OBJECT (window1, beforeCheck, "beforeCheck"); GLADE_HOOKUP_OBJECT (window1, moreThanCheck, "moreThanCheck"); GLADE_HOOKUP_OBJECT (window1, afterCheck, "afterCheck"); GLADE_HOOKUP_OBJECT (window1, hbox70, "hbox70"); GLADE_HOOKUP_OBJECT (window1, afterEntry, "afterEntry"); GLADE_HOOKUP_OBJECT (window1, afterCalendarBtn, "afterCalendarBtn"); GLADE_HOOKUP_OBJECT (window1, image93, "image93"); GLADE_HOOKUP_OBJECT (window1, hbox71, "hbox71"); GLADE_HOOKUP_OBJECT (window1, beforeEntry, "beforeEntry"); GLADE_HOOKUP_OBJECT (window1, beforeCalendarBtn, "beforeCalendarBtn"); GLADE_HOOKUP_OBJECT (window1, image94, "image94"); GLADE_HOOKUP_OBJECT (window1, label1, "label1"); GLADE_HOOKUP_OBJECT (window1, hbox62, "hbox62"); GLADE_HOOKUP_OBJECT (window1, frame1, "frame1"); GLADE_HOOKUP_OBJECT (window1, vbox47, "vbox47"); GLADE_HOOKUP_OBJECT (window1, notExpressionCheckFile, "notExpressionCheckFile"); GLADE_HOOKUP_OBJECT (window1, matchCaseCheckFile, "matchCaseCheckFile"); GLADE_HOOKUP_OBJECT (window1, ignoreHiddenFiles, "ignoreHiddenFiles"); GLADE_HOOKUP_OBJECT (window1, followSymLinksCheck, "followSymLinksCheck"); GLADE_HOOKUP_OBJECT (window1, hseparator9, "hseparator9"); GLADE_HOOKUP_OBJECT (window1, dosExpressionRadioFile, "dosExpressionRadioFile"); GLADE_HOOKUP_OBJECT (window1, regularExpressionRadioFile, "regularExpressionRadioFile"); GLADE_HOOKUP_OBJECT (window1, label13, "label13"); GLADE_HOOKUP_OBJECT (window1, frame2, "frame2"); GLADE_HOOKUP_OBJECT (window1, vbox46, "vbox46"); GLADE_HOOKUP_OBJECT (window1, singlePhaseCheckContents, "singlePhaseCheckContents"); GLADE_HOOKUP_OBJECT (window1, matchCaseCheckContents, "matchCaseCheckContents"); GLADE_HOOKUP_OBJECT (window1, hseparator8, "hseparator8"); GLADE_HOOKUP_OBJECT (window1, wildcardCheckContents, "wildcardCheckContents"); GLADE_HOOKUP_OBJECT (window1, regularExpressionRadioContents, "regularExpressionRadioContents"); GLADE_HOOKUP_OBJECT (window1, label14, "label14"); GLADE_HOOKUP_OBJECT (window1, frame16, "frame16"); GLADE_HOOKUP_OBJECT (window1, vbox45, "vbox45"); GLADE_HOOKUP_OBJECT (window1, limitResultsCheckResults, "limitResultsCheckResults"); GLADE_HOOKUP_OBJECT (window1, limit_results_hbox, "limit_results_hbox"); GLADE_HOOKUP_OBJECT (window1, label1010, "label1010"); GLADE_HOOKUP_OBJECT (window1, maxHitsSpinResults, "maxHitsSpinResults"); GLADE_HOOKUP_OBJECT (window1, hseparator7, "hseparator7"); GLADE_HOOKUP_OBJECT (window1, showLinesCheckResults, "showLinesCheckResults"); GLADE_HOOKUP_OBJECT (window1, show_line_contents_hbox, "show_line_contents_hbox"); GLADE_HOOKUP_OBJECT (window1, label1009, "label1009"); GLADE_HOOKUP_OBJECT (window1, showLinesSpinResults, "showLinesSpinResults"); GLADE_HOOKUP_OBJECT (window1, hseparator11, "hseparator11"); GLADE_HOOKUP_OBJECT (window1, limitContentsCheckResults, "limitContentsCheckResults"); GLADE_HOOKUP_OBJECT (window1, limit_contents_hbox, "limit_contents_hbox"); GLADE_HOOKUP_OBJECT (window1, label1025, "label1025"); GLADE_HOOKUP_OBJECT (window1, maxContentHitsSpinResults, "maxContentHitsSpinResults"); GLADE_HOOKUP_OBJECT (window1, label1008, "label1008"); GLADE_HOOKUP_OBJECT (window1, label2, "label2"); GLADE_HOOKUP_OBJECT (window1, vseparator8, "vseparator8"); GLADE_HOOKUP_OBJECT (window1, vbox2, "vbox2"); GLADE_HOOKUP_OBJECT (window1, expertUserCheck, "expertUserCheck"); GLADE_HOOKUP_OBJECT (window1, playButton1, "playButton1"); GLADE_HOOKUP_OBJECT (window1, alignment36, "alignment36"); GLADE_HOOKUP_OBJECT (window1, hbox67, "hbox67"); GLADE_HOOKUP_OBJECT (window1, image27, "image27"); GLADE_HOOKUP_OBJECT (window1, label1015, "label1015"); GLADE_HOOKUP_OBJECT (window1, stopButton1, "stopButton1"); GLADE_HOOKUP_OBJECT (window1, label1016, "label1016"); GLADE_HOOKUP_OBJECT (window1, resultsHPane, "resultsHPane"); GLADE_HOOKUP_OBJECT (window1, resultsScroll, "resultsScroll"); GLADE_HOOKUP_OBJECT (window1, treeview1, "treeview1"); GLADE_HOOKUP_OBJECT (window1, scrolledwindow1, "scrolledwindow1"); GLADE_HOOKUP_OBJECT (window1, textview1, "textview1"); GLADE_HOOKUP_OBJECT (window1, resultsVPane, "resultsVPane"); GLADE_HOOKUP_OBJECT (window1, scrolledwindow15, "scrolledwindow15"); GLADE_HOOKUP_OBJECT (window1, treeview2, "treeview2"); GLADE_HOOKUP_OBJECT (window1, scrolledwindow16, "scrolledwindow16"); GLADE_HOOKUP_OBJECT (window1, textview4, "textview4"); GLADE_HOOKUP_OBJECT (window1, hbox41, "hbox41"); GLADE_HOOKUP_OBJECT (window1, statusbar1, "statusbar1"); GLADE_HOOKUP_OBJECT (window1, progressbar1, "progressbar1"); GLADE_HOOKUP_OBJECT_NO_REF (window1, tooltips, "tooltips"); gtk_widget_grab_focus (window1); gtk_window_add_accel_group (GTK_WINDOW (window1), accel_group); return window1; } GtkWidget* create_folderChooserDialog (void) { GtkWidget *folderChooserDialog; GtkWidget *dialog_vbox1; GtkWidget *dialog_action_area1; GtkWidget *button18; GtkWidget *button19; folderChooserDialog = gtk_file_chooser_dialog_new (_("Select a folder"), NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, NULL); GTK_WIDGET_SET_FLAGS (folderChooserDialog, GTK_CAN_DEFAULT); g_object_set (folderChooserDialog, "local-only", FALSE, NULL); gtk_window_set_icon_name (GTK_WINDOW (folderChooserDialog), "gtk-open"); gtk_window_set_type_hint (GTK_WINDOW (folderChooserDialog), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox1 = GTK_DIALOG (folderChooserDialog)->vbox; gtk_widget_show (dialog_vbox1); dialog_action_area1 = GTK_DIALOG (folderChooserDialog)->action_area; gtk_widget_show (dialog_action_area1); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END); button18 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (button18); gtk_dialog_add_action_widget (GTK_DIALOG (folderChooserDialog), button18, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (button18, GTK_CAN_DEFAULT); button19 = gtk_button_new_from_stock ("gtk-open"); gtk_widget_show (button19); gtk_dialog_add_action_widget (GTK_DIALOG (folderChooserDialog), button19, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (button19, GTK_CAN_DEFAULT); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (folderChooserDialog, folderChooserDialog, "folderChooserDialog"); GLADE_HOOKUP_OBJECT_NO_REF (folderChooserDialog, dialog_vbox1, "dialog_vbox1"); GLADE_HOOKUP_OBJECT_NO_REF (folderChooserDialog, dialog_action_area1, "dialog_action_area1"); GLADE_HOOKUP_OBJECT (folderChooserDialog, button18, "button18"); GLADE_HOOKUP_OBJECT (folderChooserDialog, button19, "button19"); gtk_widget_grab_focus (folderChooserDialog); gtk_widget_grab_default (button19); return folderChooserDialog; } GtkWidget* create_menu1 (void) { GtkWidget *menu1; GtkWidget *open1; GtkWidget *image58; GtkWidget *copy3; GtkWidget *image59; GtkWidget *delete2; GtkWidget *image60; GtkWidget *explore1; GtkWidget *image61; GtkWidget *separator14; GtkWidget *cancel1; menu1 = gtk_menu_new (); open1 = gtk_image_menu_item_new_with_mnemonic (_("Edit (File)")); gtk_widget_show (open1); gtk_container_add (GTK_CONTAINER (menu1), open1); image58 = gtk_image_new_from_stock ("gtk-edit", GTK_ICON_SIZE_MENU); gtk_widget_show (image58); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (open1), image58); copy3 = gtk_image_menu_item_new_with_mnemonic (_("_Copy (Filename)")); gtk_widget_show (copy3); gtk_container_add (GTK_CONTAINER (menu1), copy3); image59 = gtk_image_new_from_stock ("gtk-copy", GTK_ICON_SIZE_MENU); gtk_widget_show (image59); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (copy3), image59); delete2 = gtk_image_menu_item_new_with_mnemonic (_("_Delete File")); gtk_widget_show (delete2); gtk_container_add (GTK_CONTAINER (menu1), delete2); image60 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_MENU); gtk_widget_show (image60); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (delete2), image60); explore1 = gtk_image_menu_item_new_with_mnemonic (_("_Explore Folder")); gtk_widget_show (explore1); gtk_container_add (GTK_CONTAINER (menu1), explore1); image61 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); gtk_widget_show (image61); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (explore1), image61); separator14 = gtk_separator_menu_item_new (); gtk_widget_show (separator14); gtk_container_add (GTK_CONTAINER (menu1), separator14); gtk_widget_set_sensitive (separator14, FALSE); cancel1 = gtk_menu_item_new_with_mnemonic (_("C_ancel")); gtk_widget_show (cancel1); gtk_container_add (GTK_CONTAINER (menu1), cancel1); g_signal_connect ((gpointer) open1, "activate", G_CALLBACK (on_open1_activate), NULL); g_signal_connect ((gpointer) copy3, "activate", G_CALLBACK (on_copy3_activate), NULL); g_signal_connect ((gpointer) delete2, "activate", G_CALLBACK (on_delete2_activate), NULL); g_signal_connect ((gpointer) explore1, "activate", G_CALLBACK (on_explore1_activate), NULL); g_signal_connect ((gpointer) cancel1, "activate", G_CALLBACK (on_cancel1_activate), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (menu1, menu1, "menu1"); GLADE_HOOKUP_OBJECT (menu1, open1, "open1"); GLADE_HOOKUP_OBJECT (menu1, image58, "image58"); GLADE_HOOKUP_OBJECT (menu1, copy3, "copy3"); GLADE_HOOKUP_OBJECT (menu1, image59, "image59"); GLADE_HOOKUP_OBJECT (menu1, delete2, "delete2"); GLADE_HOOKUP_OBJECT (menu1, image60, "image60"); GLADE_HOOKUP_OBJECT (menu1, explore1, "explore1"); GLADE_HOOKUP_OBJECT (menu1, image61, "image61"); GLADE_HOOKUP_OBJECT (menu1, separator14, "separator14"); GLADE_HOOKUP_OBJECT (menu1, cancel1, "cancel1"); return menu1; } GtkWidget* create_highlightColourDialog (void) { GtkWidget *highlightColourDialog; GtkWidget *ok_button1; GtkWidget *cancel_button1; GtkWidget *help_button1; GtkWidget *color_selection1; highlightColourDialog = gtk_color_selection_dialog_new (_("Select Colour")); gtk_container_set_border_width (GTK_CONTAINER (highlightColourDialog), 5); gtk_window_set_resizable (GTK_WINDOW (highlightColourDialog), FALSE); gtk_window_set_destroy_with_parent (GTK_WINDOW (highlightColourDialog), TRUE); gtk_window_set_icon_name (GTK_WINDOW (highlightColourDialog), "gtk-select-color"); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (highlightColourDialog), TRUE); gtk_window_set_type_hint (GTK_WINDOW (highlightColourDialog), GDK_WINDOW_TYPE_HINT_DIALOG); ok_button1 = GTK_COLOR_SELECTION_DIALOG (highlightColourDialog)->ok_button; gtk_widget_show (ok_button1); GTK_WIDGET_SET_FLAGS (ok_button1, GTK_CAN_DEFAULT); cancel_button1 = GTK_COLOR_SELECTION_DIALOG (highlightColourDialog)->cancel_button; gtk_widget_show (cancel_button1); GTK_WIDGET_SET_FLAGS (cancel_button1, GTK_CAN_DEFAULT); help_button1 = GTK_COLOR_SELECTION_DIALOG (highlightColourDialog)->help_button; GTK_WIDGET_SET_FLAGS (help_button1, GTK_CAN_DEFAULT); color_selection1 = GTK_COLOR_SELECTION_DIALOG (highlightColourDialog)->colorsel; gtk_widget_show (color_selection1); gtk_container_set_border_width (GTK_CONTAINER (color_selection1), 5); gtk_color_selection_set_has_opacity_control (GTK_COLOR_SELECTION (color_selection1), FALSE); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (highlightColourDialog, highlightColourDialog, "highlightColourDialog"); GLADE_HOOKUP_OBJECT_NO_REF (highlightColourDialog, ok_button1, "ok_button1"); GLADE_HOOKUP_OBJECT_NO_REF (highlightColourDialog, cancel_button1, "cancel_button1"); GLADE_HOOKUP_OBJECT_NO_REF (highlightColourDialog, help_button1, "help_button1"); GLADE_HOOKUP_OBJECT_NO_REF (highlightColourDialog, color_selection1, "color_selection1"); return highlightColourDialog; } GtkWidget* create_fontSelectionDialog (void) { GtkWidget *fontSelectionDialog; GtkWidget *ok_button2; GtkWidget *cancel_button2; GtkWidget *apply_button1; GtkWidget *font_selection1; fontSelectionDialog = gtk_font_selection_dialog_new (_("Select Font")); gtk_container_set_border_width (GTK_CONTAINER (fontSelectionDialog), 4); gtk_window_set_destroy_with_parent (GTK_WINDOW (fontSelectionDialog), TRUE); gtk_window_set_icon_name (GTK_WINDOW (fontSelectionDialog), "gtk-select-font"); gtk_window_set_type_hint (GTK_WINDOW (fontSelectionDialog), GDK_WINDOW_TYPE_HINT_DIALOG); ok_button2 = GTK_FONT_SELECTION_DIALOG (fontSelectionDialog)->ok_button; gtk_widget_show (ok_button2); GTK_WIDGET_SET_FLAGS (ok_button2, GTK_CAN_DEFAULT); cancel_button2 = GTK_FONT_SELECTION_DIALOG (fontSelectionDialog)->cancel_button; gtk_widget_show (cancel_button2); GTK_WIDGET_SET_FLAGS (cancel_button2, GTK_CAN_DEFAULT); apply_button1 = GTK_FONT_SELECTION_DIALOG (fontSelectionDialog)->apply_button; GTK_WIDGET_SET_FLAGS (apply_button1, GTK_CAN_DEFAULT); font_selection1 = GTK_FONT_SELECTION_DIALOG (fontSelectionDialog)->fontsel; gtk_widget_show (font_selection1); gtk_container_set_border_width (GTK_CONTAINER (font_selection1), 4); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (fontSelectionDialog, fontSelectionDialog, "fontSelectionDialog"); GLADE_HOOKUP_OBJECT_NO_REF (fontSelectionDialog, ok_button2, "ok_button2"); GLADE_HOOKUP_OBJECT_NO_REF (fontSelectionDialog, cancel_button2, "cancel_button2"); GLADE_HOOKUP_OBJECT_NO_REF (fontSelectionDialog, apply_button1, "apply_button1"); GLADE_HOOKUP_OBJECT_NO_REF (fontSelectionDialog, font_selection1, "font_selection1"); return fontSelectionDialog; } GtkWidget* create_clearSearchHistoryDialog (void) { GtkWidget *clearSearchHistoryDialog; GtkWidget *dialog_vbox2; GtkWidget *vbox19; GtkWidget *frame8; GtkWidget *alignment15; GtkWidget *vbox20; GtkWidget *clearFileNamesCheck; GtkWidget *clearContainingTextCheck; GtkWidget *clearLookInCheck; GtkWidget *resetSizeModifiedCheck; GtkWidget *label226; GtkWidget *label225; GtkWidget *dialog_action_area2; GtkWidget *cancelbutton1; GtkWidget *okbutton1; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); clearSearchHistoryDialog = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (clearSearchHistoryDialog), _("Clear Search History")); gtk_window_set_position (GTK_WINDOW (clearSearchHistoryDialog), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_resizable (GTK_WINDOW (clearSearchHistoryDialog), FALSE); gtk_window_set_destroy_with_parent (GTK_WINDOW (clearSearchHistoryDialog), TRUE); gtk_window_set_icon_name (GTK_WINDOW (clearSearchHistoryDialog), "gtk-clear"); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (clearSearchHistoryDialog), TRUE); gtk_window_set_type_hint (GTK_WINDOW (clearSearchHistoryDialog), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox2 = GTK_DIALOG (clearSearchHistoryDialog)->vbox; gtk_widget_show (dialog_vbox2); vbox19 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox19); gtk_box_pack_start (GTK_BOX (dialog_vbox2), vbox19, TRUE, TRUE, 0); frame8 = gtk_frame_new (NULL); gtk_widget_show (frame8); gtk_box_pack_start (GTK_BOX (vbox19), frame8, TRUE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame8), GTK_SHADOW_NONE); alignment15 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment15); gtk_container_add (GTK_CONTAINER (frame8), alignment15); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment15), 0, 0, 12, 0); vbox20 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox20); gtk_container_add (GTK_CONTAINER (alignment15), vbox20); clearFileNamesCheck = gtk_check_button_new_with_mnemonic (_("Clear file names")); gtk_widget_show (clearFileNamesCheck); gtk_box_pack_start (GTK_BOX (vbox20), clearFileNamesCheck, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, clearFileNamesCheck, _("Clear all file names in the \"Files:\" drop-down list"), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clearFileNamesCheck), TRUE); clearContainingTextCheck = gtk_check_button_new_with_mnemonic (_("Clear containing text")); gtk_widget_show (clearContainingTextCheck); gtk_box_pack_start (GTK_BOX (vbox20), clearContainingTextCheck, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, clearContainingTextCheck, _("Clear all patterns in the \"Containing:\" drop-down list"), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clearContainingTextCheck), TRUE); clearLookInCheck = gtk_check_button_new_with_mnemonic (_("Clear look in history")); gtk_widget_show (clearLookInCheck); gtk_box_pack_start (GTK_BOX (vbox20), clearLookInCheck, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, clearLookInCheck, _("Clear all directories in the \"Folders:\" drop-down list"), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clearLookInCheck), TRUE); resetSizeModifiedCheck = gtk_check_button_new_with_mnemonic (_("Reset size/modified options")); gtk_widget_show (resetSizeModifiedCheck); gtk_box_pack_start (GTK_BOX (vbox20), resetSizeModifiedCheck, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, resetSizeModifiedCheck, _("Reset the size and modified search criteria."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (resetSizeModifiedCheck), TRUE); label226 = gtk_label_new (_("Select which data to delete:")); gtk_widget_show (label226); gtk_frame_set_label_widget (GTK_FRAME (frame8), label226); gtk_label_set_use_markup (GTK_LABEL (label226), TRUE); label225 = gtk_label_new (_("Warning: Once cleared, history cannot be recovered!")); gtk_widget_show (label225); gtk_box_pack_start (GTK_BOX (vbox19), label225, FALSE, FALSE, 0); gtk_label_set_use_markup (GTK_LABEL (label225), TRUE); gtk_label_set_justify (GTK_LABEL (label225), GTK_JUSTIFY_CENTER); gtk_label_set_line_wrap (GTK_LABEL (label225), TRUE); gtk_misc_set_padding (GTK_MISC (label225), 5, 5); dialog_action_area2 = GTK_DIALOG (clearSearchHistoryDialog)->action_area; gtk_widget_show (dialog_action_area2); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area2), GTK_BUTTONBOX_END); cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancelbutton1); gtk_dialog_add_action_widget (GTK_DIALOG (clearSearchHistoryDialog), cancelbutton1, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT); okbutton1 = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (okbutton1); gtk_dialog_add_action_widget (GTK_DIALOG (clearSearchHistoryDialog), okbutton1, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (clearSearchHistoryDialog, clearSearchHistoryDialog, "clearSearchHistoryDialog"); GLADE_HOOKUP_OBJECT_NO_REF (clearSearchHistoryDialog, dialog_vbox2, "dialog_vbox2"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, vbox19, "vbox19"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, frame8, "frame8"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, alignment15, "alignment15"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, vbox20, "vbox20"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, clearFileNamesCheck, "clearFileNamesCheck"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, clearContainingTextCheck, "clearContainingTextCheck"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, clearLookInCheck, "clearLookInCheck"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, resetSizeModifiedCheck, "resetSizeModifiedCheck"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, label226, "label226"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, label225, "label225"); GLADE_HOOKUP_OBJECT_NO_REF (clearSearchHistoryDialog, dialog_action_area2, "dialog_action_area2"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, cancelbutton1, "cancelbutton1"); GLADE_HOOKUP_OBJECT (clearSearchHistoryDialog, okbutton1, "okbutton1"); GLADE_HOOKUP_OBJECT_NO_REF (clearSearchHistoryDialog, tooltips, "tooltips"); return clearSearchHistoryDialog; } GtkWidget* create_testRegExDialog (void) { GtkWidget *testRegExDialog; GtkWidget *dialog_vbox3; GtkWidget *vbox21; GtkWidget *hbox27; GtkWidget *label227; GtkWidget *testEntry; GtkWidget *hbox28; GtkWidget *label229; GtkWidget *scrolledwindow6; GtkWidget *SampleTextView; GtkWidget *label228; GtkWidget *hseparator3; GtkWidget *hbox29; GtkWidget *label230; GtkWidget *testResultStatus; GtkWidget *dialog_action_area3; GtkWidget *okbutton2; GtkWidget *closeButton2; testRegExDialog = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (testRegExDialog), _("Test Regular Expression")); gtk_window_set_position (GTK_WINDOW (testRegExDialog), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_destroy_with_parent (GTK_WINDOW (testRegExDialog), TRUE); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (testRegExDialog), TRUE); gtk_window_set_skip_pager_hint (GTK_WINDOW (testRegExDialog), TRUE); gtk_window_set_type_hint (GTK_WINDOW (testRegExDialog), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox3 = GTK_DIALOG (testRegExDialog)->vbox; gtk_widget_show (dialog_vbox3); vbox21 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox21); gtk_box_pack_start (GTK_BOX (dialog_vbox3), vbox21, TRUE, TRUE, 0); hbox27 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox27); gtk_box_pack_start (GTK_BOX (vbox21), hbox27, FALSE, FALSE, 0); label227 = gtk_label_new (_("Test Expression:")); gtk_widget_show (label227); gtk_box_pack_start (GTK_BOX (hbox27), label227, FALSE, FALSE, 0); testEntry = gtk_entry_new (); gtk_widget_show (testEntry); gtk_box_pack_start (GTK_BOX (hbox27), testEntry, TRUE, TRUE, 0); gtk_entry_set_text (GTK_ENTRY (testEntry), _("sample")); gtk_entry_set_invisible_char (GTK_ENTRY (testEntry), 9679); gtk_entry_set_activates_default (GTK_ENTRY (testEntry), TRUE); hbox28 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox28); gtk_box_pack_start (GTK_BOX (vbox21), hbox28, TRUE, TRUE, 0); label229 = gtk_label_new (_("Sample Text:")); gtk_widget_show (label229); gtk_box_pack_start (GTK_BOX (hbox28), label229, FALSE, FALSE, 0); scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow6); gtk_box_pack_start (GTK_BOX (hbox28), scrolledwindow6, TRUE, TRUE, 0); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_SHADOW_IN); SampleTextView = gtk_text_view_new (); gtk_widget_show (SampleTextView); gtk_container_add (GTK_CONTAINER (scrolledwindow6), SampleTextView); gtk_text_view_set_overwrite (GTK_TEXT_VIEW (SampleTextView), TRUE); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (SampleTextView), GTK_WRAP_WORD); gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (SampleTextView)), _(""), -1); label228 = gtk_label_new (_("To see the results of your regular expression click apply. Once done, simply close the window. Searches are case sensitive.\n\nNote: this tool will only highlight the first match found.")); gtk_widget_show (label228); gtk_box_pack_start (GTK_BOX (vbox21), label228, FALSE, FALSE, 7); gtk_label_set_use_markup (GTK_LABEL (label228), TRUE); gtk_label_set_line_wrap (GTK_LABEL (label228), TRUE); hseparator3 = gtk_hseparator_new (); gtk_widget_show (hseparator3); gtk_box_pack_start (GTK_BOX (vbox21), hseparator3, FALSE, FALSE, 0); hbox29 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox29); gtk_box_pack_start (GTK_BOX (vbox21), hbox29, FALSE, FALSE, 0); label230 = gtk_label_new (_("Status:")); gtk_widget_show (label230); gtk_box_pack_start (GTK_BOX (hbox29), label230, FALSE, FALSE, 0); testResultStatus = gtk_entry_new (); gtk_widget_show (testResultStatus); gtk_box_pack_start (GTK_BOX (hbox29), testResultStatus, TRUE, TRUE, 0); gtk_editable_set_editable (GTK_EDITABLE (testResultStatus), FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (testResultStatus), 9679); dialog_action_area3 = GTK_DIALOG (testRegExDialog)->action_area; gtk_widget_show (dialog_action_area3); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END); okbutton2 = gtk_button_new_from_stock ("gtk-apply"); gtk_widget_show (okbutton2); gtk_dialog_add_action_widget (GTK_DIALOG (testRegExDialog), okbutton2, GTK_RESPONSE_APPLY); GTK_WIDGET_SET_FLAGS (okbutton2, GTK_CAN_DEFAULT); closeButton2 = gtk_button_new_from_stock ("gtk-close"); gtk_widget_show (closeButton2); gtk_dialog_add_action_widget (GTK_DIALOG (testRegExDialog), closeButton2, GTK_RESPONSE_CLOSE); GTK_WIDGET_SET_FLAGS (closeButton2, GTK_CAN_DEFAULT); g_signal_connect ((gpointer) testRegExDialog, "response", G_CALLBACK (on_testRegExDialog_response), NULL); g_signal_connect ((gpointer) SampleTextView, "realize", G_CALLBACK (on_SampleTextView_realize), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (testRegExDialog, testRegExDialog, "testRegExDialog"); GLADE_HOOKUP_OBJECT_NO_REF (testRegExDialog, dialog_vbox3, "dialog_vbox3"); GLADE_HOOKUP_OBJECT (testRegExDialog, vbox21, "vbox21"); GLADE_HOOKUP_OBJECT (testRegExDialog, hbox27, "hbox27"); GLADE_HOOKUP_OBJECT (testRegExDialog, label227, "label227"); GLADE_HOOKUP_OBJECT (testRegExDialog, testEntry, "testEntry"); GLADE_HOOKUP_OBJECT (testRegExDialog, hbox28, "hbox28"); GLADE_HOOKUP_OBJECT (testRegExDialog, label229, "label229"); GLADE_HOOKUP_OBJECT (testRegExDialog, scrolledwindow6, "scrolledwindow6"); GLADE_HOOKUP_OBJECT (testRegExDialog, SampleTextView, "SampleTextView"); GLADE_HOOKUP_OBJECT (testRegExDialog, label228, "label228"); GLADE_HOOKUP_OBJECT (testRegExDialog, hseparator3, "hseparator3"); GLADE_HOOKUP_OBJECT (testRegExDialog, hbox29, "hbox29"); GLADE_HOOKUP_OBJECT (testRegExDialog, label230, "label230"); GLADE_HOOKUP_OBJECT (testRegExDialog, testResultStatus, "testResultStatus"); GLADE_HOOKUP_OBJECT_NO_REF (testRegExDialog, dialog_action_area3, "dialog_action_area3"); GLADE_HOOKUP_OBJECT (testRegExDialog, okbutton2, "okbutton2"); GLADE_HOOKUP_OBJECT (testRegExDialog, closeButton2, "closeButton2"); gtk_widget_grab_default (okbutton2); return testRegExDialog; } GtkWidget* create_expWizard (void) { GtkWidget *expWizard; GtkWidget *dialog_vbox4; GtkWidget *vbox23; GtkWidget *hbox30; GtkWidget *label234; GtkWidget *startType; GtkWidget *startEntry; GtkWidget *label235; GtkWidget *startOccurance; GtkWidget *frame9; GtkWidget *hbox33; GtkWidget *vbox25; GtkWidget *hbox34; GtkWidget *midType; GtkWidget *midEntry; GtkWidget *label245; GtkWidget *midOccurance; GtkWidget *midSelection; GtkWidget *scrolledwindow13; GtkWidget *midTreeView; GtkWidget *vbox24; GtkWidget *addMidContents; GtkWidget *updateSelectedContents; GtkWidget *modifiedSelectedContents; GtkWidget *deleteSelectedContents; GtkWidget *label238; GtkWidget *hbox32; GtkWidget *label239; GtkWidget *endType; GtkWidget *endEntry; GtkWidget *label240; GtkWidget *endOccurance; GtkWidget *frame10; GtkWidget *alignment17; GtkWidget *hbox35; GtkWidget *resultExp; GtkWidget *convertRegex; GtkWidget *label241; GtkWidget *dialog_action_area4; GtkWidget *wizardHelp; GtkWidget *cancelExpWiz; GtkWidget *okRegExWizard; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); expWizard = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (expWizard), _("Expression Wizard")); gtk_window_set_position (GTK_WINDOW (expWizard), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_destroy_with_parent (GTK_WINDOW (expWizard), TRUE); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (expWizard), TRUE); gtk_window_set_type_hint (GTK_WINDOW (expWizard), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox4 = GTK_DIALOG (expWizard)->vbox; gtk_widget_show (dialog_vbox4); vbox23 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox23); gtk_box_pack_start (GTK_BOX (dialog_vbox4), vbox23, TRUE, TRUE, 0); hbox30 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox30); gtk_box_pack_start (GTK_BOX (vbox23), hbox30, FALSE, FALSE, 0); label234 = gtk_label_new (_("Text begins:")); gtk_widget_show (label234); gtk_box_pack_start (GTK_BOX (hbox30), label234, FALSE, FALSE, 0); startType = gtk_combo_box_entry_new_text (); gtk_widget_show (startType); gtk_box_pack_start (GTK_BOX (hbox30), startType, TRUE, TRUE, 0); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Don't know")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Any character")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("The character")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Any one of these chars")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Any char except these")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("The phrase")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Space(s)")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Any numeric character")); gtk_combo_box_append_text (GTK_COMBO_BOX (startType), _("Any text character")); startEntry = gtk_entry_new (); gtk_widget_show (startEntry); gtk_box_pack_start (GTK_BOX (hbox30), startEntry, TRUE, TRUE, 0); gtk_widget_set_sensitive (startEntry, FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (startEntry), 8226); label235 = gtk_label_new (_("that occurs")); gtk_widget_show (label235); gtk_box_pack_start (GTK_BOX (hbox30), label235, FALSE, FALSE, 0); startOccurance = gtk_combo_box_entry_new_text (); gtk_widget_show (startOccurance); gtk_box_pack_start (GTK_BOX (hbox30), startOccurance, TRUE, TRUE, 0); gtk_widget_set_sensitive (startOccurance, FALSE); gtk_combo_box_append_text (GTK_COMBO_BOX (startOccurance), _("Once")); gtk_combo_box_append_text (GTK_COMBO_BOX (startOccurance), _("One or more times")); gtk_combo_box_append_text (GTK_COMBO_BOX (startOccurance), _("Zero or more times")); gtk_combo_box_append_text (GTK_COMBO_BOX (startOccurance), _("Possibly once")); frame9 = gtk_frame_new (NULL); gtk_widget_show (frame9); gtk_box_pack_start (GTK_BOX (vbox23), frame9, TRUE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame9), GTK_SHADOW_NONE); hbox33 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox33); gtk_container_add (GTK_CONTAINER (frame9), hbox33); vbox25 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox25); gtk_box_pack_start (GTK_BOX (hbox33), vbox25, TRUE, TRUE, 0); hbox34 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox34); gtk_box_pack_start (GTK_BOX (vbox25), hbox34, FALSE, FALSE, 0); midType = gtk_combo_box_entry_new_text (); gtk_widget_show (midType); gtk_box_pack_start (GTK_BOX (hbox34), midType, TRUE, TRUE, 0); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Don't know")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Any character")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("The character")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Any one of these chars")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Any char except these")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("The phrase")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Space(s)")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Any numeric character")); gtk_combo_box_append_text (GTK_COMBO_BOX (midType), _("Any text character")); midEntry = gtk_entry_new (); gtk_widget_show (midEntry); gtk_box_pack_start (GTK_BOX (hbox34), midEntry, TRUE, TRUE, 0); gtk_widget_set_sensitive (midEntry, FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (midEntry), 8226); label245 = gtk_label_new (_("that occurs")); gtk_widget_show (label245); gtk_box_pack_start (GTK_BOX (hbox34), label245, FALSE, FALSE, 0); midOccurance = gtk_combo_box_entry_new_text (); gtk_widget_show (midOccurance); gtk_box_pack_start (GTK_BOX (hbox34), midOccurance, TRUE, TRUE, 0); gtk_widget_set_sensitive (midOccurance, FALSE); gtk_combo_box_append_text (GTK_COMBO_BOX (midOccurance), _("Once")); gtk_combo_box_append_text (GTK_COMBO_BOX (midOccurance), _("One or more times")); gtk_combo_box_append_text (GTK_COMBO_BOX (midOccurance), _("Zero or more times")); gtk_combo_box_append_text (GTK_COMBO_BOX (midOccurance), _("Possibly once")); midSelection = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (hbox34), midSelection, TRUE, TRUE, 0); gtk_entry_set_invisible_char (GTK_ENTRY (midSelection), 8226); scrolledwindow13 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow13); gtk_box_pack_start (GTK_BOX (vbox25), scrolledwindow13, TRUE, TRUE, 0); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow13), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); midTreeView = gtk_tree_view_new (); gtk_widget_show (midTreeView); gtk_container_add (GTK_CONTAINER (scrolledwindow13), midTreeView); gtk_tooltips_set_tip (tooltips, midTreeView, _("Each row creates a new part to the rule, with the order reflecting the order in which the rule is to be matched."), NULL); gtk_tree_view_set_reorderable (GTK_TREE_VIEW (midTreeView), TRUE); gtk_tree_view_set_enable_search (GTK_TREE_VIEW (midTreeView), FALSE); vbox24 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox24); gtk_box_pack_start (GTK_BOX (hbox33), vbox24, FALSE, FALSE, 0); addMidContents = gtk_button_new_with_mnemonic (_("Add")); gtk_widget_show (addMidContents); gtk_box_pack_start (GTK_BOX (vbox24), addMidContents, FALSE, FALSE, 0); gtk_widget_set_sensitive (addMidContents, FALSE); gtk_tooltips_set_tip (tooltips, addMidContents, _("Creates a new row in the list with the following rule."), NULL); updateSelectedContents = gtk_button_new_with_mnemonic (_("Update")); gtk_widget_show (updateSelectedContents); gtk_box_pack_start (GTK_BOX (vbox24), updateSelectedContents, FALSE, FALSE, 0); gtk_widget_set_sensitive (updateSelectedContents, FALSE); gtk_tooltips_set_tip (tooltips, updateSelectedContents, _("Updates a rule that was selected for the modify function."), NULL); modifiedSelectedContents = gtk_button_new_with_mnemonic (_("Modify")); gtk_widget_show (modifiedSelectedContents); gtk_box_pack_start (GTK_BOX (vbox24), modifiedSelectedContents, FALSE, FALSE, 0); gtk_widget_set_sensitive (modifiedSelectedContents, FALSE); gtk_tooltips_set_tip (tooltips, modifiedSelectedContents, _("Modifies an existing row in the rule table."), NULL); deleteSelectedContents = gtk_button_new_with_mnemonic (_("Delete")); gtk_widget_show (deleteSelectedContents); gtk_box_pack_start (GTK_BOX (vbox24), deleteSelectedContents, FALSE, FALSE, 0); gtk_widget_set_sensitive (deleteSelectedContents, FALSE); gtk_tooltips_set_tip (tooltips, deleteSelectedContents, _("Deletes an existing row in the rule table."), NULL); label238 = gtk_label_new (_("Text contains")); gtk_widget_show (label238); gtk_frame_set_label_widget (GTK_FRAME (frame9), label238); gtk_label_set_use_markup (GTK_LABEL (label238), TRUE); hbox32 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox32); gtk_box_pack_start (GTK_BOX (vbox23), hbox32, FALSE, FALSE, 0); label239 = gtk_label_new (_("Text ends:")); gtk_widget_show (label239); gtk_box_pack_start (GTK_BOX (hbox32), label239, FALSE, FALSE, 0); endType = gtk_combo_box_entry_new_text (); gtk_widget_show (endType); gtk_box_pack_start (GTK_BOX (hbox32), endType, TRUE, TRUE, 0); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Don't know")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Any character")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("The character")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Any one of these chars")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Any char except these")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("The phrase")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Space(s)")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Any numeric character")); gtk_combo_box_append_text (GTK_COMBO_BOX (endType), _("Any text character")); endEntry = gtk_entry_new (); gtk_widget_show (endEntry); gtk_box_pack_start (GTK_BOX (hbox32), endEntry, TRUE, TRUE, 0); gtk_widget_set_sensitive (endEntry, FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (endEntry), 8226); label240 = gtk_label_new (_("that occurs")); gtk_widget_show (label240); gtk_box_pack_start (GTK_BOX (hbox32), label240, FALSE, FALSE, 0); endOccurance = gtk_combo_box_entry_new_text (); gtk_widget_show (endOccurance); gtk_box_pack_start (GTK_BOX (hbox32), endOccurance, TRUE, TRUE, 0); gtk_widget_set_sensitive (endOccurance, FALSE); gtk_combo_box_append_text (GTK_COMBO_BOX (endOccurance), _("Once")); gtk_combo_box_append_text (GTK_COMBO_BOX (endOccurance), _("One or more times")); gtk_combo_box_append_text (GTK_COMBO_BOX (endOccurance), _("Zero or more times")); gtk_combo_box_append_text (GTK_COMBO_BOX (endOccurance), _("Possibly once")); frame10 = gtk_frame_new (NULL); gtk_widget_show (frame10); gtk_box_pack_start (GTK_BOX (vbox23), frame10, FALSE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame10), GTK_SHADOW_NONE); alignment17 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment17); gtk_container_add (GTK_CONTAINER (frame10), alignment17); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment17), 0, 0, 12, 0); hbox35 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox35); gtk_container_add (GTK_CONTAINER (alignment17), hbox35); resultExp = gtk_entry_new (); gtk_widget_show (resultExp); gtk_box_pack_start (GTK_BOX (hbox35), resultExp, TRUE, TRUE, 0); gtk_tooltips_set_tip (tooltips, resultExp, _("This is the expression that will be copied back to the main screen."), NULL); gtk_editable_set_editable (GTK_EDITABLE (resultExp), FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (resultExp), 8226); convertRegex = gtk_check_button_new_with_mnemonic (_("Convert Internals")); gtk_widget_show (convertRegex); gtk_box_pack_start (GTK_BOX (hbox35), convertRegex, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, convertRegex, _("Some characters (such as . | ^ $) are reserved in certain circumstances.\n\nIf you know what you are doing with these characters, unselect this checkbox."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (convertRegex), TRUE); label241 = gtk_label_new (_("Resulting expression")); gtk_widget_show (label241); gtk_frame_set_label_widget (GTK_FRAME (frame10), label241); gtk_label_set_use_markup (GTK_LABEL (label241), TRUE); dialog_action_area4 = GTK_DIALOG (expWizard)->action_area; gtk_widget_show (dialog_action_area4); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_END); wizardHelp = gtk_button_new_from_stock ("gtk-help"); gtk_widget_show (wizardHelp); gtk_dialog_add_action_widget (GTK_DIALOG (expWizard), wizardHelp, GTK_RESPONSE_HELP); GTK_WIDGET_SET_FLAGS (wizardHelp, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, wizardHelp, _("Help with the Regular Expression Builder"), NULL); cancelExpWiz = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancelExpWiz); gtk_dialog_add_action_widget (GTK_DIALOG (expWizard), cancelExpWiz, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (cancelExpWiz, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, cancelExpWiz, _("Discard any changes."), NULL); okRegExWizard = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (okRegExWizard); gtk_dialog_add_action_widget (GTK_DIALOG (expWizard), okRegExWizard, GTK_RESPONSE_OK); gtk_widget_set_sensitive (okRegExWizard, FALSE); GTK_WIDGET_SET_FLAGS (okRegExWizard, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, okRegExWizard, _("Accept the resulting expression, and add it to the search rules."), NULL); g_signal_connect ((gpointer) expWizard, "response", G_CALLBACK (on_expWizard_response), NULL); g_signal_connect ((gpointer) expWizard, "realize", G_CALLBACK (on_expWizard_realize), NULL); g_signal_connect ((gpointer) startType, "changed", G_CALLBACK (on_startType_changed), NULL); g_signal_connect ((gpointer) startEntry, "changed", G_CALLBACK (on_startEntry_changed), NULL); g_signal_connect ((gpointer) startOccurance, "changed", G_CALLBACK (on_startOccurance_changed), NULL); g_signal_connect ((gpointer) midType, "changed", G_CALLBACK (on_midType_changed), NULL); g_signal_connect ((gpointer) midEntry, "changed", G_CALLBACK (on_midEntry_changed), NULL); g_signal_connect ((gpointer) midOccurance, "changed", G_CALLBACK (on_midOccurance_changed), NULL); g_signal_connect ((gpointer) midSelection, "changed", G_CALLBACK (on_midSelection_changed), NULL); g_signal_connect ((gpointer) midTreeView, "realize", G_CALLBACK (on_midTreeView_realize), NULL); g_signal_connect ((gpointer) midTreeView, "drag_end", G_CALLBACK (on_midTreeView_drag_end), NULL); g_signal_connect ((gpointer) addMidContents, "clicked", G_CALLBACK (on_addMidContents_clicked), NULL); g_signal_connect ((gpointer) updateSelectedContents, "clicked", G_CALLBACK (on_updateSelectedContents_clicked), NULL); g_signal_connect ((gpointer) modifiedSelectedContents, "clicked", G_CALLBACK (on_modifiedSelectedContents_clicked), NULL); g_signal_connect ((gpointer) deleteSelectedContents, "clicked", G_CALLBACK (on_deleteSelectedContents_clicked), NULL); g_signal_connect ((gpointer) endType, "changed", G_CALLBACK (on_endType_changed), NULL); g_signal_connect ((gpointer) endEntry, "changed", G_CALLBACK (on_endEntry_changed), NULL); g_signal_connect ((gpointer) endOccurance, "changed", G_CALLBACK (on_endOccurance_changed), NULL); g_signal_connect ((gpointer) convertRegex, "toggled", G_CALLBACK (on_convertRegex_toggled), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (expWizard, expWizard, "expWizard"); GLADE_HOOKUP_OBJECT_NO_REF (expWizard, dialog_vbox4, "dialog_vbox4"); GLADE_HOOKUP_OBJECT (expWizard, vbox23, "vbox23"); GLADE_HOOKUP_OBJECT (expWizard, hbox30, "hbox30"); GLADE_HOOKUP_OBJECT (expWizard, label234, "label234"); GLADE_HOOKUP_OBJECT (expWizard, startType, "startType"); GLADE_HOOKUP_OBJECT (expWizard, startEntry, "startEntry"); GLADE_HOOKUP_OBJECT (expWizard, label235, "label235"); GLADE_HOOKUP_OBJECT (expWizard, startOccurance, "startOccurance"); GLADE_HOOKUP_OBJECT (expWizard, frame9, "frame9"); GLADE_HOOKUP_OBJECT (expWizard, hbox33, "hbox33"); GLADE_HOOKUP_OBJECT (expWizard, vbox25, "vbox25"); GLADE_HOOKUP_OBJECT (expWizard, hbox34, "hbox34"); GLADE_HOOKUP_OBJECT (expWizard, midType, "midType"); GLADE_HOOKUP_OBJECT (expWizard, midEntry, "midEntry"); GLADE_HOOKUP_OBJECT (expWizard, label245, "label245"); GLADE_HOOKUP_OBJECT (expWizard, midOccurance, "midOccurance"); GLADE_HOOKUP_OBJECT (expWizard, midSelection, "midSelection"); GLADE_HOOKUP_OBJECT (expWizard, scrolledwindow13, "scrolledwindow13"); GLADE_HOOKUP_OBJECT (expWizard, midTreeView, "midTreeView"); GLADE_HOOKUP_OBJECT (expWizard, vbox24, "vbox24"); GLADE_HOOKUP_OBJECT (expWizard, addMidContents, "addMidContents"); GLADE_HOOKUP_OBJECT (expWizard, updateSelectedContents, "updateSelectedContents"); GLADE_HOOKUP_OBJECT (expWizard, modifiedSelectedContents, "modifiedSelectedContents"); GLADE_HOOKUP_OBJECT (expWizard, deleteSelectedContents, "deleteSelectedContents"); GLADE_HOOKUP_OBJECT (expWizard, label238, "label238"); GLADE_HOOKUP_OBJECT (expWizard, hbox32, "hbox32"); GLADE_HOOKUP_OBJECT (expWizard, label239, "label239"); GLADE_HOOKUP_OBJECT (expWizard, endType, "endType"); GLADE_HOOKUP_OBJECT (expWizard, endEntry, "endEntry"); GLADE_HOOKUP_OBJECT (expWizard, label240, "label240"); GLADE_HOOKUP_OBJECT (expWizard, endOccurance, "endOccurance"); GLADE_HOOKUP_OBJECT (expWizard, frame10, "frame10"); GLADE_HOOKUP_OBJECT (expWizard, alignment17, "alignment17"); GLADE_HOOKUP_OBJECT (expWizard, hbox35, "hbox35"); GLADE_HOOKUP_OBJECT (expWizard, resultExp, "resultExp"); GLADE_HOOKUP_OBJECT (expWizard, convertRegex, "convertRegex"); GLADE_HOOKUP_OBJECT (expWizard, label241, "label241"); GLADE_HOOKUP_OBJECT_NO_REF (expWizard, dialog_action_area4, "dialog_action_area4"); GLADE_HOOKUP_OBJECT (expWizard, wizardHelp, "wizardHelp"); GLADE_HOOKUP_OBJECT (expWizard, cancelExpWiz, "cancelExpWiz"); GLADE_HOOKUP_OBJECT (expWizard, okRegExWizard, "okRegExWizard"); GLADE_HOOKUP_OBJECT_NO_REF (expWizard, tooltips, "tooltips"); return expWizard; } GtkWidget* create_configDialog (void) { GtkWidget *configDialog; GtkWidget *dialog_vbox5; GtkWidget *configNotebook; GtkWidget *vbox26; GtkWidget *configForceSingle; GtkWidget *configExtendedRegex; GtkWidget *configPromptSave; GtkWidget *configPromptDelete; GtkWidget *configMatchBinary; GtkWidget *label246; GtkWidget *vbox29; GtkWidget *table6; GtkWidget *label249; GtkWidget *label250; GtkWidget *label266; GtkWidget *label267; GtkWidget *label271; GtkWidget *configTextEditorAttributes; GtkWidget *configFileExplorerAttributes; GtkWidget *configWebBrowserAttributes; GtkWidget *configTextEditor; GtkWidget *configFileExplorer; GtkWidget *configWebBrowser; GtkWidget *hseparator4; GtkWidget *hbox55; GtkWidget *label994; GtkWidget *autoFindExe; GtkWidget *label993; GtkWidget *vbox27; GtkWidget *hbox50; GtkWidget *label264; GtkWidget *configResultEOL; GtkWidget *hbox51; GtkWidget *label262; GtkWidget *configResultEOF; GtkWidget *hbox56; GtkWidget *label1006; GtkWidget *configResultDelimiter; GtkWidget *label991; GtkWidget *vbox28; GtkWidget *hbox52; GtkWidget *label274; GtkWidget *configResetAll; GtkWidget *hbox53; GtkWidget *label275; GtkWidget *configFileLocation; GtkWidget *hbox54; GtkWidget *label992; GtkWidget *configSaveNow; GtkWidget *label273; GtkWidget *dialog_action_area5; GtkWidget *cancelbutton2; GtkWidget *okbutton3; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); configDialog = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (configDialog), _("Configuration")); gtk_window_set_modal (GTK_WINDOW (configDialog), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (configDialog), TRUE); gtk_window_set_icon_name (GTK_WINDOW (configDialog), "gtk-preferences"); gtk_window_set_type_hint (GTK_WINDOW (configDialog), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox5 = GTK_DIALOG (configDialog)->vbox; gtk_widget_show (dialog_vbox5); configNotebook = gtk_notebook_new (); gtk_widget_show (configNotebook); gtk_box_pack_start (GTK_BOX (dialog_vbox5), configNotebook, TRUE, TRUE, 0); vbox26 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox26); gtk_container_add (GTK_CONTAINER (configNotebook), vbox26); configForceSingle = gtk_check_button_new_with_mnemonic (_("Force single window mode")); gtk_widget_show (configForceSingle); gtk_box_pack_start (GTK_BOX (vbox26), configForceSingle, FALSE, FALSE, 5); gtk_widget_set_sensitive (configForceSingle, FALSE); configExtendedRegex = gtk_check_button_new_with_mnemonic (_("Use extended regular expressions")); gtk_widget_show (configExtendedRegex); gtk_box_pack_start (GTK_BOX (vbox26), configExtendedRegex, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, configExtendedRegex, _("Extended regular expressions are recommended as they provide more functionality."), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (configExtendedRegex), TRUE); configPromptSave = gtk_check_button_new_with_mnemonic (_("Prompt before saving state")); gtk_widget_show (configPromptSave); gtk_box_pack_start (GTK_BOX (vbox26), configPromptSave, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, configPromptSave, _("Force a prompt before settings are saved."), NULL); configPromptDelete = gtk_check_button_new_with_mnemonic (_("Prompt before deleting files")); gtk_widget_show (configPromptDelete); gtk_box_pack_start (GTK_BOX (vbox26), configPromptDelete, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, configPromptDelete, _("Force a prompt before any files are deleted"), NULL); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (configPromptDelete), TRUE); configMatchBinary = gtk_check_button_new_with_mnemonic (_("Match strings within binary files too")); gtk_widget_show (configMatchBinary); gtk_box_pack_start (GTK_BOX (vbox26), configMatchBinary, FALSE, FALSE, 0); gtk_widget_set_sensitive (configMatchBinary, FALSE); gtk_tooltips_set_tip (tooltips, configMatchBinary, _("Check this to allow"), NULL); label246 = gtk_label_new (_("Global Settings")); gtk_widget_show (label246); gtk_notebook_set_tab_label (GTK_NOTEBOOK (configNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (configNotebook), 0), label246); vbox29 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox29); gtk_container_add (GTK_CONTAINER (configNotebook), vbox29); table6 = gtk_table_new (4, 3, FALSE); gtk_widget_show (table6); gtk_box_pack_start (GTK_BOX (vbox29), table6, TRUE, TRUE, 0); label249 = gtk_label_new (_("Default text editor:")); gtk_widget_show (label249); gtk_table_attach (GTK_TABLE (table6), label249, 0, 1, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_padding (GTK_MISC (label249), 5, 0); label250 = gtk_label_new (_("Default folder explorer:")); gtk_widget_show (label250); gtk_table_attach (GTK_TABLE (table6), label250, 0, 1, 2, 3, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_padding (GTK_MISC (label250), 5, 0); label266 = gtk_label_new (_("Binary/Executable")); gtk_widget_show (label266); gtk_table_attach (GTK_TABLE (table6), label266, 1, 2, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); label267 = gtk_label_new (_("Attributes")); gtk_widget_show (label267); gtk_table_attach (GTK_TABLE (table6), label267, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); label271 = gtk_label_new (_("Default web browser:")); gtk_widget_show (label271); gtk_table_attach (GTK_TABLE (table6), label271, 0, 1, 3, 4, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_padding (GTK_MISC (label271), 5, 0); configTextEditorAttributes = gtk_entry_new (); gtk_widget_show (configTextEditorAttributes); gtk_table_attach (GTK_TABLE (table6), configTextEditorAttributes, 2, 3, 1, 2, (GtkAttachOptions) (GTK_SHRINK | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, configTextEditorAttributes, _("Text editor attributes: %f=filename, %d=directory"), NULL); gtk_entry_set_text (GTK_ENTRY (configTextEditorAttributes), _("%f")); gtk_entry_set_invisible_char (GTK_ENTRY (configTextEditorAttributes), 9679); configFileExplorerAttributes = gtk_entry_new (); gtk_widget_show (configFileExplorerAttributes); gtk_table_attach (GTK_TABLE (table6), configFileExplorerAttributes, 2, 3, 2, 3, (GtkAttachOptions) (GTK_SHRINK | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, configFileExplorerAttributes, _("File explorer attributes: %f=filename, %d=directory"), NULL); gtk_entry_set_text (GTK_ENTRY (configFileExplorerAttributes), _("%d")); gtk_entry_set_invisible_char (GTK_ENTRY (configFileExplorerAttributes), 9679); configWebBrowserAttributes = gtk_entry_new (); gtk_widget_show (configWebBrowserAttributes); gtk_table_attach (GTK_TABLE (table6), configWebBrowserAttributes, 2, 3, 3, 4, (GtkAttachOptions) (GTK_SHRINK | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, configWebBrowserAttributes, _("Text editor attributes: %f=filename, %d=directory"), NULL); gtk_entry_set_text (GTK_ENTRY (configWebBrowserAttributes), _("-new-tab %f")); gtk_entry_set_invisible_char (GTK_ENTRY (configWebBrowserAttributes), 9679); configTextEditor = gtk_entry_new (); gtk_widget_show (configTextEditor); gtk_table_attach (GTK_TABLE (table6), configTextEditor, 1, 2, 1, 2, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, configTextEditor, _("Paste and edit full file name of your preferred text editor."), NULL); gtk_entry_set_invisible_char (GTK_ENTRY (configTextEditor), 8226); configFileExplorer = gtk_entry_new (); gtk_widget_show (configFileExplorer); gtk_table_attach (GTK_TABLE (table6), configFileExplorer, 1, 2, 2, 3, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, configFileExplorer, _("Paste and edit full file name of your preferred file explorer."), NULL); gtk_entry_set_invisible_char (GTK_ENTRY (configFileExplorer), 8226); configWebBrowser = gtk_entry_new (); gtk_widget_show (configWebBrowser); gtk_table_attach (GTK_TABLE (table6), configWebBrowser, 1, 2, 3, 4, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, configWebBrowser, _("Paste and edit full file name of your preferred web browser."), NULL); gtk_entry_set_invisible_char (GTK_ENTRY (configWebBrowser), 8226); hseparator4 = gtk_hseparator_new (); gtk_widget_show (hseparator4); gtk_box_pack_start (GTK_BOX (vbox29), hseparator4, TRUE, TRUE, 0); hbox55 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox55); gtk_box_pack_start (GTK_BOX (vbox29), hbox55, FALSE, TRUE, 0); label994 = gtk_label_new (_("Find default executables:")); gtk_widget_show (label994); gtk_box_pack_start (GTK_BOX (hbox55), label994, FALSE, FALSE, 0); gtk_misc_set_padding (GTK_MISC (label994), 5, 0); autoFindExe = gtk_button_new_with_mnemonic (_("Auto search...")); gtk_widget_show (autoFindExe); gtk_box_pack_start (GTK_BOX (hbox55), autoFindExe, FALSE, FALSE, 0); label993 = gtk_label_new (_("System Calls")); gtk_widget_show (label993); gtk_notebook_set_tab_label (GTK_NOTEBOOK (configNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (configNotebook), 1), label993); vbox27 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox27); gtk_container_add (GTK_CONTAINER (configNotebook), vbox27); hbox50 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox50); gtk_box_pack_start (GTK_BOX (vbox27), hbox50, FALSE, FALSE, 0); label264 = gtk_label_new (_("End of row separator:")); gtk_widget_show (label264); gtk_box_pack_start (GTK_BOX (hbox50), label264, FALSE, FALSE, 3); configResultEOL = gtk_entry_new (); gtk_widget_show (configResultEOL); gtk_box_pack_start (GTK_BOX (hbox50), configResultEOL, FALSE, TRUE, 0); gtk_tooltips_set_tip (tooltips, configResultEOL, _("Use ASCII or C style construct e.g. \\n"), NULL); gtk_entry_set_max_length (GTK_ENTRY (configResultEOL), 2); gtk_entry_set_text (GTK_ENTRY (configResultEOL), _("\\n")); gtk_entry_set_invisible_char (GTK_ENTRY (configResultEOL), 8226); gtk_entry_set_width_chars (GTK_ENTRY (configResultEOL), 2); hbox51 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox51); gtk_box_pack_start (GTK_BOX (vbox27), hbox51, FALSE, FALSE, 0); label262 = gtk_label_new (_("Value/field separator:")); gtk_widget_show (label262); gtk_box_pack_start (GTK_BOX (hbox51), label262, FALSE, FALSE, 3); configResultEOF = gtk_entry_new (); gtk_widget_show (configResultEOF); gtk_box_pack_start (GTK_BOX (hbox51), configResultEOF, FALSE, TRUE, 0); gtk_tooltips_set_tip (tooltips, configResultEOF, _("Use ASCII or C style construct e.g. , \\t ;"), NULL); gtk_entry_set_max_length (GTK_ENTRY (configResultEOF), 2); gtk_entry_set_text (GTK_ENTRY (configResultEOF), _(",")); gtk_entry_set_invisible_char (GTK_ENTRY (configResultEOF), 8226); gtk_entry_set_width_chars (GTK_ENTRY (configResultEOF), 2); hbox56 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox56); gtk_box_pack_start (GTK_BOX (vbox27), hbox56, FALSE, FALSE, 0); label1006 = gtk_label_new (_("Text delimiter:")); gtk_widget_show (label1006); gtk_box_pack_start (GTK_BOX (hbox56), label1006, FALSE, FALSE, 3); configResultDelimiter = gtk_entry_new (); gtk_widget_show (configResultDelimiter); gtk_box_pack_start (GTK_BOX (hbox56), configResultDelimiter, FALSE, TRUE, 0); gtk_tooltips_set_tip (tooltips, configResultDelimiter, _("Use ASCII characters e.g. \" # $ '"), NULL); gtk_entry_set_max_length (GTK_ENTRY (configResultDelimiter), 2); gtk_entry_set_text (GTK_ENTRY (configResultDelimiter), _("\\\"")); gtk_entry_set_invisible_char (GTK_ENTRY (configResultDelimiter), 8226); gtk_entry_set_width_chars (GTK_ENTRY (configResultDelimiter), 2); label991 = gtk_label_new (_("Csv Export")); gtk_widget_show (label991); gtk_notebook_set_tab_label (GTK_NOTEBOOK (configNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (configNotebook), 2), label991); vbox28 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox28); gtk_container_add (GTK_CONTAINER (configNotebook), vbox28); hbox52 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox52); gtk_box_pack_start (GTK_BOX (vbox28), hbox52, FALSE, FALSE, 0); label274 = gtk_label_new (_("Remove all saved settings (restart required to complete):")); gtk_widget_show (label274); gtk_box_pack_start (GTK_BOX (hbox52), label274, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label274), 0, 0.5); configResetAll = gtk_button_new_with_mnemonic (_("Reset all")); gtk_widget_show (configResetAll); gtk_box_pack_start (GTK_BOX (hbox52), configResetAll, FALSE, FALSE, 0); hbox53 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox53); gtk_box_pack_start (GTK_BOX (vbox28), hbox53, FALSE, FALSE, 0); label275 = gtk_label_new (_("Current Config file location:")); gtk_widget_show (label275); gtk_box_pack_start (GTK_BOX (hbox53), label275, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label275), 0, 0.5); configFileLocation = gtk_entry_new (); gtk_widget_show (configFileLocation); gtk_box_pack_start (GTK_BOX (hbox53), configFileLocation, TRUE, TRUE, 0); gtk_tooltips_set_tip (tooltips, configFileLocation, _("Location of your current searchmonkey configuration settings file."), NULL); gtk_editable_set_editable (GTK_EDITABLE (configFileLocation), FALSE); gtk_entry_set_invisible_char (GTK_ENTRY (configFileLocation), 8226); hbox54 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox54); gtk_box_pack_start (GTK_BOX (vbox28), hbox54, FALSE, FALSE, 0); label992 = gtk_label_new (_("Save settings immediately (normally occurs on exit):")); gtk_widget_show (label992); gtk_box_pack_start (GTK_BOX (hbox54), label992, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label992), 0, 0.5); configSaveNow = gtk_button_new_with_mnemonic (_("Save now")); gtk_widget_show (configSaveNow); gtk_box_pack_start (GTK_BOX (hbox54), configSaveNow, FALSE, FALSE, 0); label273 = gtk_label_new (_("System")); gtk_widget_show (label273); gtk_notebook_set_tab_label (GTK_NOTEBOOK (configNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (configNotebook), 3), label273); dialog_action_area5 = GTK_DIALOG (configDialog)->action_area; gtk_widget_show (dialog_action_area5); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area5), GTK_BUTTONBOX_END); cancelbutton2 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancelbutton2); gtk_dialog_add_action_widget (GTK_DIALOG (configDialog), cancelbutton2, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (cancelbutton2, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, cancelbutton2, _("Searching for system files, please wait..."), NULL); okbutton3 = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (okbutton3); gtk_dialog_add_action_widget (GTK_DIALOG (configDialog), okbutton3, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (okbutton3, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, okbutton3, _("Searching for system files, please wait..."), NULL); g_signal_connect ((gpointer) configDialog, "realize", G_CALLBACK (on_configDialog_realize), NULL); g_signal_connect ((gpointer) autoFindExe, "clicked", G_CALLBACK (on_autoFindExe_clicked), NULL); g_signal_connect ((gpointer) configResultEOL, "focus_out_event", G_CALLBACK (on_configResultEOL_focus_out_event), NULL); g_signal_connect ((gpointer) configResultEOF, "focus_out_event", G_CALLBACK (on_configResultEOF_focus_out_event), NULL); g_signal_connect ((gpointer) configResultDelimiter, "focus_out_event", G_CALLBACK (on_configResultDelimiter_focus_out_event), NULL); g_signal_connect ((gpointer) configResetAll, "clicked", G_CALLBACK (on_configResetAll_clicked), NULL); g_signal_connect ((gpointer) configSaveNow, "clicked", G_CALLBACK (on_configSaveNow_clicked), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (configDialog, configDialog, "configDialog"); GLADE_HOOKUP_OBJECT_NO_REF (configDialog, dialog_vbox5, "dialog_vbox5"); GLADE_HOOKUP_OBJECT (configDialog, configNotebook, "configNotebook"); GLADE_HOOKUP_OBJECT (configDialog, vbox26, "vbox26"); GLADE_HOOKUP_OBJECT (configDialog, configForceSingle, "configForceSingle"); GLADE_HOOKUP_OBJECT (configDialog, configExtendedRegex, "configExtendedRegex"); GLADE_HOOKUP_OBJECT (configDialog, configPromptSave, "configPromptSave"); GLADE_HOOKUP_OBJECT (configDialog, configPromptDelete, "configPromptDelete"); GLADE_HOOKUP_OBJECT (configDialog, configMatchBinary, "configMatchBinary"); GLADE_HOOKUP_OBJECT (configDialog, label246, "label246"); GLADE_HOOKUP_OBJECT (configDialog, vbox29, "vbox29"); GLADE_HOOKUP_OBJECT (configDialog, table6, "table6"); GLADE_HOOKUP_OBJECT (configDialog, label249, "label249"); GLADE_HOOKUP_OBJECT (configDialog, label250, "label250"); GLADE_HOOKUP_OBJECT (configDialog, label266, "label266"); GLADE_HOOKUP_OBJECT (configDialog, label267, "label267"); GLADE_HOOKUP_OBJECT (configDialog, label271, "label271"); GLADE_HOOKUP_OBJECT (configDialog, configTextEditorAttributes, "configTextEditorAttributes"); GLADE_HOOKUP_OBJECT (configDialog, configFileExplorerAttributes, "configFileExplorerAttributes"); GLADE_HOOKUP_OBJECT (configDialog, configWebBrowserAttributes, "configWebBrowserAttributes"); GLADE_HOOKUP_OBJECT (configDialog, configTextEditor, "configTextEditor"); GLADE_HOOKUP_OBJECT (configDialog, configFileExplorer, "configFileExplorer"); GLADE_HOOKUP_OBJECT (configDialog, configWebBrowser, "configWebBrowser"); GLADE_HOOKUP_OBJECT (configDialog, hseparator4, "hseparator4"); GLADE_HOOKUP_OBJECT (configDialog, hbox55, "hbox55"); GLADE_HOOKUP_OBJECT (configDialog, label994, "label994"); GLADE_HOOKUP_OBJECT (configDialog, autoFindExe, "autoFindExe"); GLADE_HOOKUP_OBJECT (configDialog, label993, "label993"); GLADE_HOOKUP_OBJECT (configDialog, vbox27, "vbox27"); GLADE_HOOKUP_OBJECT (configDialog, hbox50, "hbox50"); GLADE_HOOKUP_OBJECT (configDialog, label264, "label264"); GLADE_HOOKUP_OBJECT (configDialog, configResultEOL, "configResultEOL"); GLADE_HOOKUP_OBJECT (configDialog, hbox51, "hbox51"); GLADE_HOOKUP_OBJECT (configDialog, label262, "label262"); GLADE_HOOKUP_OBJECT (configDialog, configResultEOF, "configResultEOF"); GLADE_HOOKUP_OBJECT (configDialog, hbox56, "hbox56"); GLADE_HOOKUP_OBJECT (configDialog, label1006, "label1006"); GLADE_HOOKUP_OBJECT (configDialog, configResultDelimiter, "configResultDelimiter"); GLADE_HOOKUP_OBJECT (configDialog, label991, "label991"); GLADE_HOOKUP_OBJECT (configDialog, vbox28, "vbox28"); GLADE_HOOKUP_OBJECT (configDialog, hbox52, "hbox52"); GLADE_HOOKUP_OBJECT (configDialog, label274, "label274"); GLADE_HOOKUP_OBJECT (configDialog, configResetAll, "configResetAll"); GLADE_HOOKUP_OBJECT (configDialog, hbox53, "hbox53"); GLADE_HOOKUP_OBJECT (configDialog, label275, "label275"); GLADE_HOOKUP_OBJECT (configDialog, configFileLocation, "configFileLocation"); GLADE_HOOKUP_OBJECT (configDialog, hbox54, "hbox54"); GLADE_HOOKUP_OBJECT (configDialog, label992, "label992"); GLADE_HOOKUP_OBJECT (configDialog, configSaveNow, "configSaveNow"); GLADE_HOOKUP_OBJECT (configDialog, label273, "label273"); GLADE_HOOKUP_OBJECT_NO_REF (configDialog, dialog_action_area5, "dialog_action_area5"); GLADE_HOOKUP_OBJECT (configDialog, cancelbutton2, "cancelbutton2"); GLADE_HOOKUP_OBJECT (configDialog, okbutton3, "okbutton3"); GLADE_HOOKUP_OBJECT_NO_REF (configDialog, tooltips, "tooltips"); gtk_widget_grab_default (okbutton3); return configDialog; } GtkWidget* create_saveFileDialog (void) { GtkWidget *saveFileDialog; GtkWidget *dialog_vbox6; GtkWidget *dialog_action_area6; GtkWidget *button43; GtkWidget *button44; saveFileDialog = gtk_file_chooser_dialog_new (_("Save results to CSV file..."), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, NULL); g_object_set (saveFileDialog, "local-only", FALSE, NULL); gtk_window_set_modal (GTK_WINDOW (saveFileDialog), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (saveFileDialog), TRUE); gtk_window_set_icon_name (GTK_WINDOW (saveFileDialog), "gtk-file"); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (saveFileDialog), TRUE); gtk_window_set_type_hint (GTK_WINDOW (saveFileDialog), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox6 = GTK_DIALOG (saveFileDialog)->vbox; gtk_widget_show (dialog_vbox6); dialog_action_area6 = GTK_DIALOG (saveFileDialog)->action_area; gtk_widget_show (dialog_action_area6); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area6), GTK_BUTTONBOX_END); button43 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (button43); gtk_dialog_add_action_widget (GTK_DIALOG (saveFileDialog), button43, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (button43, GTK_CAN_DEFAULT); button44 = gtk_button_new_from_stock ("gtk-save"); gtk_widget_show (button44); gtk_dialog_add_action_widget (GTK_DIALOG (saveFileDialog), button44, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (button44, GTK_CAN_DEFAULT); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (saveFileDialog, saveFileDialog, "saveFileDialog"); GLADE_HOOKUP_OBJECT_NO_REF (saveFileDialog, dialog_vbox6, "dialog_vbox6"); GLADE_HOOKUP_OBJECT_NO_REF (saveFileDialog, dialog_action_area6, "dialog_action_area6"); GLADE_HOOKUP_OBJECT (saveFileDialog, button43, "button43"); GLADE_HOOKUP_OBJECT (saveFileDialog, button44, "button44"); gtk_widget_grab_default (button44); return saveFileDialog; } GtkWidget* create_importCriteria (void) { GtkWidget *importCriteria; GtkWidget *dialog_vbox7; GtkWidget *vbox30; GtkWidget *notebook3; GtkWidget *vbox31; GtkWidget *filechooserwidgetImport; GtkWidget *label997; GtkWidget *vbox33; GtkWidget *frame13; GtkWidget *alignment28; GtkWidget *vbox40; GtkWidget *fileNameRadioImport; GSList *fileNameRadioImport_group = NULL; GtkWidget *containingTextRadioImport; GtkWidget *label1003; GtkWidget *frame12; GtkWidget *alignment27; GtkWidget *vbox39; GtkWidget *singleImportRadio; GSList *singleImportRadio_group = NULL; GtkWidget *multiImportRadio; GtkWidget *label1002; GtkWidget *label998; GtkWidget *dialog_action_area7; GtkWidget *cancelbutton3; GtkWidget *okbutton4; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); importCriteria = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (importCriteria), _("Import Criteria")); gtk_window_set_position (GTK_WINDOW (importCriteria), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal (GTK_WINDOW (importCriteria), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (importCriteria), TRUE); gtk_window_set_icon_name (GTK_WINDOW (importCriteria), "gtk-open"); gtk_window_set_type_hint (GTK_WINDOW (importCriteria), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox7 = GTK_DIALOG (importCriteria)->vbox; gtk_widget_show (dialog_vbox7); vbox30 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox30); gtk_box_pack_start (GTK_BOX (dialog_vbox7), vbox30, TRUE, TRUE, 0); notebook3 = gtk_notebook_new (); gtk_widget_show (notebook3); gtk_box_pack_start (GTK_BOX (vbox30), notebook3, TRUE, TRUE, 0); vbox31 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox31); gtk_container_add (GTK_CONTAINER (notebook3), vbox31); filechooserwidgetImport = gtk_file_chooser_widget_new (GTK_FILE_CHOOSER_ACTION_OPEN); gtk_widget_show (filechooserwidgetImport); gtk_box_pack_start (GTK_BOX (vbox31), filechooserwidgetImport, TRUE, TRUE, 0); gtk_widget_set_size_request (filechooserwidgetImport, 450, 200); label997 = gtk_label_new (_("File Selection")); gtk_widget_show (label997); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 0), label997); vbox33 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox33); gtk_container_add (GTK_CONTAINER (notebook3), vbox33); frame13 = gtk_frame_new (NULL); gtk_widget_show (frame13); gtk_box_pack_start (GTK_BOX (vbox33), frame13, FALSE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame13), GTK_SHADOW_NONE); alignment28 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment28); gtk_container_add (GTK_CONTAINER (frame13), alignment28); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment28), 0, 0, 12, 0); vbox40 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox40); gtk_container_add (GTK_CONTAINER (alignment28), vbox40); fileNameRadioImport = gtk_radio_button_new_with_mnemonic (NULL, _("File Name import")); gtk_widget_show (fileNameRadioImport); gtk_box_pack_start (GTK_BOX (vbox40), fileNameRadioImport, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, fileNameRadioImport, _("Use the file in an identical to way to that of the grep -f command."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (fileNameRadioImport), fileNameRadioImport_group); fileNameRadioImport_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (fileNameRadioImport)); containingTextRadioImport = gtk_radio_button_new_with_mnemonic (NULL, _("Containing Text import")); gtk_widget_show (containingTextRadioImport); gtk_box_pack_start (GTK_BOX (vbox40), containingTextRadioImport, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, containingTextRadioImport, _("Import a file identical to that generated by the export command."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (containingTextRadioImport), fileNameRadioImport_group); fileNameRadioImport_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (containingTextRadioImport)); label1003 = gtk_label_new (_("Import Location")); gtk_widget_show (label1003); gtk_frame_set_label_widget (GTK_FRAME (frame13), label1003); gtk_label_set_use_markup (GTK_LABEL (label1003), TRUE); frame12 = gtk_frame_new (NULL); gtk_widget_show (frame12); gtk_box_pack_start (GTK_BOX (vbox33), frame12, FALSE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame12), GTK_SHADOW_NONE); alignment27 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment27); gtk_container_add (GTK_CONTAINER (frame12), alignment27); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment27), 0, 0, 12, 0); vbox39 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox39); gtk_container_add (GTK_CONTAINER (alignment27), vbox39); singleImportRadio = gtk_radio_button_new_with_mnemonic (NULL, _("Grep style file (1-entry, OR each line)")); gtk_widget_show (singleImportRadio); gtk_box_pack_start (GTK_BOX (vbox39), singleImportRadio, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, singleImportRadio, _("Use the file in an identical to way to that of the grep -f command."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (singleImportRadio), singleImportRadio_group); singleImportRadio_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (singleImportRadio)); multiImportRadio = gtk_radio_button_new_with_mnemonic (NULL, _("Searchmonkey style (1-entry per line)")); gtk_widget_show (multiImportRadio); gtk_box_pack_start (GTK_BOX (vbox39), multiImportRadio, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, multiImportRadio, _("Import a file identical to that generated by the export command."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (multiImportRadio), singleImportRadio_group); singleImportRadio_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (multiImportRadio)); label1002 = gtk_label_new (_("Import Type")); gtk_widget_show (label1002); gtk_frame_set_label_widget (GTK_FRAME (frame12), label1002); gtk_label_set_use_markup (GTK_LABEL (label1002), TRUE); label998 = gtk_label_new (_("Options")); gtk_widget_show (label998); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 1), label998); dialog_action_area7 = GTK_DIALOG (importCriteria)->action_area; gtk_widget_show (dialog_action_area7); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area7), GTK_BUTTONBOX_END); cancelbutton3 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancelbutton3); gtk_dialog_add_action_widget (GTK_DIALOG (importCriteria), cancelbutton3, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (cancelbutton3, GTK_CAN_DEFAULT); okbutton4 = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (okbutton4); gtk_dialog_add_action_widget (GTK_DIALOG (importCriteria), okbutton4, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (okbutton4, GTK_CAN_DEFAULT); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (importCriteria, importCriteria, "importCriteria"); GLADE_HOOKUP_OBJECT_NO_REF (importCriteria, dialog_vbox7, "dialog_vbox7"); GLADE_HOOKUP_OBJECT (importCriteria, vbox30, "vbox30"); GLADE_HOOKUP_OBJECT (importCriteria, notebook3, "notebook3"); GLADE_HOOKUP_OBJECT (importCriteria, vbox31, "vbox31"); GLADE_HOOKUP_OBJECT (importCriteria, filechooserwidgetImport, "filechooserwidgetImport"); GLADE_HOOKUP_OBJECT (importCriteria, label997, "label997"); GLADE_HOOKUP_OBJECT (importCriteria, vbox33, "vbox33"); GLADE_HOOKUP_OBJECT (importCriteria, frame13, "frame13"); GLADE_HOOKUP_OBJECT (importCriteria, alignment28, "alignment28"); GLADE_HOOKUP_OBJECT (importCriteria, vbox40, "vbox40"); GLADE_HOOKUP_OBJECT (importCriteria, fileNameRadioImport, "fileNameRadioImport"); GLADE_HOOKUP_OBJECT (importCriteria, containingTextRadioImport, "containingTextRadioImport"); GLADE_HOOKUP_OBJECT (importCriteria, label1003, "label1003"); GLADE_HOOKUP_OBJECT (importCriteria, frame12, "frame12"); GLADE_HOOKUP_OBJECT (importCriteria, alignment27, "alignment27"); GLADE_HOOKUP_OBJECT (importCriteria, vbox39, "vbox39"); GLADE_HOOKUP_OBJECT (importCriteria, singleImportRadio, "singleImportRadio"); GLADE_HOOKUP_OBJECT (importCriteria, multiImportRadio, "multiImportRadio"); GLADE_HOOKUP_OBJECT (importCriteria, label1002, "label1002"); GLADE_HOOKUP_OBJECT (importCriteria, label998, "label998"); GLADE_HOOKUP_OBJECT_NO_REF (importCriteria, dialog_action_area7, "dialog_action_area7"); GLADE_HOOKUP_OBJECT (importCriteria, cancelbutton3, "cancelbutton3"); GLADE_HOOKUP_OBJECT (importCriteria, okbutton4, "okbutton4"); GLADE_HOOKUP_OBJECT_NO_REF (importCriteria, tooltips, "tooltips"); return importCriteria; } GtkWidget* create_exportCriteria (void) { GtkWidget *exportCriteria; GtkWidget *vbox34; GtkWidget *vbox35; GtkWidget *notebook4; GtkWidget *vbox36; GtkWidget *filechooserwidgetExport; GtkWidget *label999; GtkWidget *vbox37; GtkWidget *frame14; GtkWidget *alignment29; GtkWidget *vbox42; GtkWidget *fileNameRadioExport; GSList *fileNameRadioExport_group = NULL; GtkWidget *containingTextRadioExport; GtkWidget *label1004; GtkWidget *frame15; GtkWidget *alignment30; GtkWidget *vbox41; GtkWidget *singleExportRadio; GSList *singleExportRadio_group = NULL; GtkWidget *multiExportRadio; GtkWidget *label1005; GtkWidget *label1000; GtkWidget *hbuttonbox1; GtkWidget *button45; GtkWidget *button46; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); exportCriteria = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (exportCriteria), _("Export Criteria")); gtk_window_set_position (GTK_WINDOW (exportCriteria), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal (GTK_WINDOW (exportCriteria), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (exportCriteria), TRUE); gtk_window_set_icon_name (GTK_WINDOW (exportCriteria), "gtk-save-as"); gtk_window_set_type_hint (GTK_WINDOW (exportCriteria), GDK_WINDOW_TYPE_HINT_DIALOG); vbox34 = GTK_DIALOG (exportCriteria)->vbox; gtk_widget_show (vbox34); vbox35 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox35); gtk_box_pack_start (GTK_BOX (vbox34), vbox35, TRUE, TRUE, 0); notebook4 = gtk_notebook_new (); gtk_widget_show (notebook4); gtk_box_pack_start (GTK_BOX (vbox35), notebook4, TRUE, TRUE, 0); vbox36 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox36); gtk_container_add (GTK_CONTAINER (notebook4), vbox36); filechooserwidgetExport = gtk_file_chooser_widget_new (GTK_FILE_CHOOSER_ACTION_SAVE); gtk_widget_show (filechooserwidgetExport); gtk_box_pack_start (GTK_BOX (vbox36), filechooserwidgetExport, TRUE, TRUE, 0); label999 = gtk_label_new (_("File Selection")); gtk_widget_show (label999); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 0), label999); vbox37 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox37); gtk_container_add (GTK_CONTAINER (notebook4), vbox37); frame14 = gtk_frame_new (NULL); gtk_widget_show (frame14); gtk_box_pack_start (GTK_BOX (vbox37), frame14, FALSE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame14), GTK_SHADOW_NONE); alignment29 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment29); gtk_container_add (GTK_CONTAINER (frame14), alignment29); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment29), 0, 0, 12, 0); vbox42 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox42); gtk_container_add (GTK_CONTAINER (alignment29), vbox42); fileNameRadioExport = gtk_radio_button_new_with_mnemonic (NULL, _("File Name Export criteria")); gtk_widget_show (fileNameRadioExport); gtk_box_pack_start (GTK_BOX (vbox42), fileNameRadioExport, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, fileNameRadioExport, _("Save the File Name drop down entries into a file."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (fileNameRadioExport), fileNameRadioExport_group); fileNameRadioExport_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (fileNameRadioExport)); containingTextRadioExport = gtk_radio_button_new_with_mnemonic (NULL, _("Containing Text Export Criteria")); gtk_widget_show (containingTextRadioExport); gtk_box_pack_start (GTK_BOX (vbox42), containingTextRadioExport, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, containingTextRadioExport, _("Save the Containing Text drop down entries into a file."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (containingTextRadioExport), fileNameRadioExport_group); fileNameRadioExport_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (containingTextRadioExport)); label1004 = gtk_label_new (_("Export Source")); gtk_widget_show (label1004); gtk_frame_set_label_widget (GTK_FRAME (frame14), label1004); gtk_label_set_use_markup (GTK_LABEL (label1004), TRUE); frame15 = gtk_frame_new (NULL); gtk_widget_show (frame15); gtk_box_pack_start (GTK_BOX (vbox37), frame15, FALSE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME (frame15), GTK_SHADOW_NONE); alignment30 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment30); gtk_container_add (GTK_CONTAINER (frame15), alignment30); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment30), 0, 0, 12, 0); vbox41 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox41); gtk_container_add (GTK_CONTAINER (alignment30), vbox41); singleExportRadio = gtk_radio_button_new_with_mnemonic (NULL, _("Save active/displayed entry only")); gtk_widget_show (singleExportRadio); gtk_box_pack_start (GTK_BOX (vbox41), singleExportRadio, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, singleExportRadio, _("Just save the currently displayed entry to a file."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (singleExportRadio), singleExportRadio_group); singleExportRadio_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (singleExportRadio)); multiExportRadio = gtk_radio_button_new_with_mnemonic (NULL, _("Save all entries (1-entry per line)")); gtk_widget_show (multiExportRadio); gtk_box_pack_start (GTK_BOX (vbox41), multiExportRadio, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, multiExportRadio, _("Import a file identical to that generated by the export command."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (multiExportRadio), singleExportRadio_group); singleExportRadio_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (multiExportRadio)); label1005 = gtk_label_new (_("Export Type")); gtk_widget_show (label1005); gtk_frame_set_label_widget (GTK_FRAME (frame15), label1005); gtk_label_set_use_markup (GTK_LABEL (label1005), TRUE); label1000 = gtk_label_new (_("Options")); gtk_widget_show (label1000); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 1), label1000); hbuttonbox1 = GTK_DIALOG (exportCriteria)->action_area; gtk_widget_show (hbuttonbox1); gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END); button45 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (button45); gtk_dialog_add_action_widget (GTK_DIALOG (exportCriteria), button45, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (button45, GTK_CAN_DEFAULT); button46 = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (button46); gtk_dialog_add_action_widget (GTK_DIALOG (exportCriteria), button46, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (button46, GTK_CAN_DEFAULT); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (exportCriteria, exportCriteria, "exportCriteria"); GLADE_HOOKUP_OBJECT_NO_REF (exportCriteria, vbox34, "vbox34"); GLADE_HOOKUP_OBJECT (exportCriteria, vbox35, "vbox35"); GLADE_HOOKUP_OBJECT (exportCriteria, notebook4, "notebook4"); GLADE_HOOKUP_OBJECT (exportCriteria, vbox36, "vbox36"); GLADE_HOOKUP_OBJECT (exportCriteria, filechooserwidgetExport, "filechooserwidgetExport"); GLADE_HOOKUP_OBJECT (exportCriteria, label999, "label999"); GLADE_HOOKUP_OBJECT (exportCriteria, vbox37, "vbox37"); GLADE_HOOKUP_OBJECT (exportCriteria, frame14, "frame14"); GLADE_HOOKUP_OBJECT (exportCriteria, alignment29, "alignment29"); GLADE_HOOKUP_OBJECT (exportCriteria, vbox42, "vbox42"); GLADE_HOOKUP_OBJECT (exportCriteria, fileNameRadioExport, "fileNameRadioExport"); GLADE_HOOKUP_OBJECT (exportCriteria, containingTextRadioExport, "containingTextRadioExport"); GLADE_HOOKUP_OBJECT (exportCriteria, label1004, "label1004"); GLADE_HOOKUP_OBJECT (exportCriteria, frame15, "frame15"); GLADE_HOOKUP_OBJECT (exportCriteria, alignment30, "alignment30"); GLADE_HOOKUP_OBJECT (exportCriteria, vbox41, "vbox41"); GLADE_HOOKUP_OBJECT (exportCriteria, singleExportRadio, "singleExportRadio"); GLADE_HOOKUP_OBJECT (exportCriteria, multiExportRadio, "multiExportRadio"); GLADE_HOOKUP_OBJECT (exportCriteria, label1005, "label1005"); GLADE_HOOKUP_OBJECT (exportCriteria, label1000, "label1000"); GLADE_HOOKUP_OBJECT_NO_REF (exportCriteria, hbuttonbox1, "hbuttonbox1"); GLADE_HOOKUP_OBJECT (exportCriteria, button45, "button45"); GLADE_HOOKUP_OBJECT (exportCriteria, button46, "button46"); GLADE_HOOKUP_OBJECT_NO_REF (exportCriteria, tooltips, "tooltips"); return exportCriteria; } GtkWidget* create_autoComplete (void) { GtkWidget *autoComplete; GtkWidget *dialog_vbox8; GtkWidget *vbox43; GtkWidget *scrolledwindow14; GtkWidget *textview3; GtkWidget *progressbar3; GtkWidget *dialog_action_area8; GtkWidget *cancelbutton4; GtkWidget *okbutton5; GtkTooltips *tooltips; tooltips = gtk_tooltips_new (); autoComplete = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (autoComplete), _("Auto Complete")); gtk_window_set_position (GTK_WINDOW (autoComplete), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal (GTK_WINDOW (autoComplete), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (autoComplete), TRUE); gtk_window_set_type_hint (GTK_WINDOW (autoComplete), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox8 = GTK_DIALOG (autoComplete)->vbox; gtk_widget_show (dialog_vbox8); vbox43 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox43); gtk_box_pack_start (GTK_BOX (dialog_vbox8), vbox43, TRUE, TRUE, 0); scrolledwindow14 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow14); gtk_box_pack_start (GTK_BOX (vbox43), scrolledwindow14, TRUE, TRUE, 0); gtk_widget_set_size_request (scrolledwindow14, 470, 200); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow14), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow14), GTK_SHADOW_IN); textview3 = gtk_text_view_new (); gtk_widget_show (textview3); gtk_container_add (GTK_CONTAINER (scrolledwindow14), textview3); gtk_text_view_set_editable (GTK_TEXT_VIEW (textview3), FALSE); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (textview3), GTK_WRAP_WORD); gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (textview3), FALSE); gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (textview3)), _("Please be patient!\n\nSearching for executables to perform the following functions:\n * text editing/viewing\n * folder browsing\n * web browsing\n\nThe search algorithm uses a set of standard executables for all systems, and then attempts to find them on your local disk.\n\nOnce complete, press OK to store the executables."), -1); progressbar3 = gtk_progress_bar_new (); gtk_widget_show (progressbar3); gtk_box_pack_start (GTK_BOX (vbox43), progressbar3, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, progressbar3, _("Search progress"), NULL); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progressbar3), 0.01); gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (progressbar3), 0); gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progressbar3), _("Please wait...")); dialog_action_area8 = GTK_DIALOG (autoComplete)->action_area; gtk_widget_show (dialog_action_area8); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area8), GTK_BUTTONBOX_END); cancelbutton4 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancelbutton4); gtk_dialog_add_action_widget (GTK_DIALOG (autoComplete), cancelbutton4, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (cancelbutton4, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, cancelbutton4, _("Searching for system files, please wait..."), NULL); okbutton5 = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (okbutton5); gtk_dialog_add_action_widget (GTK_DIALOG (autoComplete), okbutton5, GTK_RESPONSE_OK); gtk_widget_set_sensitive (okbutton5, FALSE); GTK_WIDGET_SET_FLAGS (okbutton5, GTK_CAN_DEFAULT); gtk_tooltips_set_tip (tooltips, okbutton5, _("Searching for system files, please wait..."), NULL); g_signal_connect ((gpointer) autoComplete, "response", G_CALLBACK (on_autoComplete_response), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (autoComplete, autoComplete, "autoComplete"); GLADE_HOOKUP_OBJECT_NO_REF (autoComplete, dialog_vbox8, "dialog_vbox8"); GLADE_HOOKUP_OBJECT (autoComplete, vbox43, "vbox43"); GLADE_HOOKUP_OBJECT (autoComplete, scrolledwindow14, "scrolledwindow14"); GLADE_HOOKUP_OBJECT (autoComplete, textview3, "textview3"); GLADE_HOOKUP_OBJECT (autoComplete, progressbar3, "progressbar3"); GLADE_HOOKUP_OBJECT_NO_REF (autoComplete, dialog_action_area8, "dialog_action_area8"); GLADE_HOOKUP_OBJECT (autoComplete, cancelbutton4, "cancelbutton4"); GLADE_HOOKUP_OBJECT (autoComplete, okbutton5, "okbutton5"); GLADE_HOOKUP_OBJECT_NO_REF (autoComplete, tooltips, "tooltips"); gtk_widget_grab_default (okbutton5); return autoComplete; } GtkWidget* create_aboutSearchmonkey (void) { GtkWidget *aboutSearchmonkey; GdkPixbuf *aboutSearchmonkey_icon_pixbuf; GtkWidget *dialog_vbox9; GtkWidget *vbox49; GtkWidget *aboutLargeIcon; GtkWidget *aboutVersion; GtkWidget *label1022; GtkWidget *aboutCopyright; GtkWidget *dialog_action_area9; GtkWidget *aboutCredits; GtkWidget *alignment37; GtkWidget *hbox68; GtkWidget *image30; GtkWidget *label1023; GtkWidget *button48; aboutSearchmonkey = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (aboutSearchmonkey), _("About searchmonkey")); gtk_window_set_position (GTK_WINDOW (aboutSearchmonkey), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal (GTK_WINDOW (aboutSearchmonkey), TRUE); gtk_window_set_resizable (GTK_WINDOW (aboutSearchmonkey), FALSE); gtk_window_set_destroy_with_parent (GTK_WINDOW (aboutSearchmonkey), TRUE); aboutSearchmonkey_icon_pixbuf = create_pixbuf ("searchmonkey.png"); if (aboutSearchmonkey_icon_pixbuf) { gtk_window_set_icon (GTK_WINDOW (aboutSearchmonkey), aboutSearchmonkey_icon_pixbuf); gdk_pixbuf_unref (aboutSearchmonkey_icon_pixbuf); } gtk_window_set_skip_taskbar_hint (GTK_WINDOW (aboutSearchmonkey), TRUE); gtk_window_set_type_hint (GTK_WINDOW (aboutSearchmonkey), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_dialog_set_has_separator (GTK_DIALOG (aboutSearchmonkey), FALSE); dialog_vbox9 = GTK_DIALOG (aboutSearchmonkey)->vbox; gtk_widget_show (dialog_vbox9); vbox49 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox49); gtk_box_pack_start (GTK_BOX (dialog_vbox9), vbox49, TRUE, TRUE, 0); aboutLargeIcon = create_pixmap (aboutSearchmonkey, "searchmonkey-300x300.png"); gtk_widget_show (aboutLargeIcon); gtk_box_pack_start (GTK_BOX (vbox49), aboutLargeIcon, TRUE, TRUE, 0); aboutVersion = gtk_label_new (""); gtk_widget_show (aboutVersion); gtk_box_pack_start (GTK_BOX (vbox49), aboutVersion, TRUE, TRUE, 0); gtk_misc_set_padding (GTK_MISC (aboutVersion), 0, 5); gtk_label_set_single_line_mode (GTK_LABEL (aboutVersion), TRUE); label1022 = gtk_label_new (_("Regular expression power search utility written in GTK+ and licensed under Lesser GPL.")); gtk_widget_show (label1022); gtk_box_pack_start (GTK_BOX (vbox49), label1022, FALSE, FALSE, 0); gtk_label_set_use_markup (GTK_LABEL (label1022), TRUE); gtk_label_set_justify (GTK_LABEL (label1022), GTK_JUSTIFY_CENTER); gtk_label_set_line_wrap (GTK_LABEL (label1022), TRUE); gtk_misc_set_padding (GTK_MISC (label1022), 0, 4); aboutCopyright = gtk_label_new (_("Copyright (c) 2006-2007 Adam Cottrell")); gtk_widget_show (aboutCopyright); gtk_box_pack_start (GTK_BOX (vbox49), aboutCopyright, FALSE, FALSE, 0); gtk_misc_set_padding (GTK_MISC (aboutCopyright), 0, 4); gtk_label_set_single_line_mode (GTK_LABEL (aboutCopyright), TRUE); dialog_action_area9 = GTK_DIALOG (aboutSearchmonkey)->action_area; gtk_widget_show (dialog_action_area9); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area9), GTK_BUTTONBOX_SPREAD); aboutCredits = gtk_button_new (); gtk_widget_show (aboutCredits); gtk_dialog_add_action_widget (GTK_DIALOG (aboutSearchmonkey), aboutCredits, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (aboutCredits, GTK_CAN_DEFAULT); alignment37 = gtk_alignment_new (0.5, 0.5, 0, 0); gtk_widget_show (alignment37); gtk_container_add (GTK_CONTAINER (aboutCredits), alignment37); hbox68 = gtk_hbox_new (FALSE, 2); gtk_widget_show (hbox68); gtk_container_add (GTK_CONTAINER (alignment37), hbox68); image30 = gtk_image_new_from_stock ("gtk-about", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image30); gtk_box_pack_start (GTK_BOX (hbox68), image30, FALSE, FALSE, 0); label1023 = gtk_label_new_with_mnemonic (_("Credits")); gtk_widget_show (label1023); gtk_box_pack_start (GTK_BOX (hbox68), label1023, FALSE, FALSE, 0); button48 = gtk_button_new_from_stock ("gtk-close"); gtk_widget_show (button48); gtk_dialog_add_action_widget (GTK_DIALOG (aboutSearchmonkey), button48, GTK_RESPONSE_CLOSE); GTK_WIDGET_SET_FLAGS (button48, GTK_CAN_DEFAULT); g_signal_connect ((gpointer) aboutSearchmonkey, "response", G_CALLBACK (on_aboutSearchmonkey_response), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (aboutSearchmonkey, aboutSearchmonkey, "aboutSearchmonkey"); GLADE_HOOKUP_OBJECT_NO_REF (aboutSearchmonkey, dialog_vbox9, "dialog_vbox9"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, vbox49, "vbox49"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, aboutLargeIcon, "aboutLargeIcon"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, aboutVersion, "aboutVersion"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, label1022, "label1022"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, aboutCopyright, "aboutCopyright"); GLADE_HOOKUP_OBJECT_NO_REF (aboutSearchmonkey, dialog_action_area9, "dialog_action_area9"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, aboutCredits, "aboutCredits"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, alignment37, "alignment37"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, hbox68, "hbox68"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, image30, "image30"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, label1023, "label1023"); GLADE_HOOKUP_OBJECT (aboutSearchmonkey, button48, "button48"); gtk_widget_grab_default (button48); return aboutSearchmonkey; } GtkWidget* create_creditsDialog (void) { GtkWidget *creditsDialog; GtkWidget *dialog_vbox10; GtkWidget *notebook5; GtkWidget *scrolledwindow17; GtkWidget *textview6; GtkWidget *label1020; GtkWidget *scrolledwindow18; GtkWidget *textview5; GtkWidget *label1021; GtkWidget *dialog_action_area10; GtkWidget *closebutton1; creditsDialog = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (creditsDialog), _("searchmonkey Credits")); gtk_window_set_position (GTK_WINDOW (creditsDialog), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal (GTK_WINDOW (creditsDialog), TRUE); gtk_window_set_resizable (GTK_WINDOW (creditsDialog), FALSE); gtk_window_set_destroy_with_parent (GTK_WINDOW (creditsDialog), TRUE); gtk_window_set_icon_name (GTK_WINDOW (creditsDialog), "gtk-about"); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (creditsDialog), TRUE); gtk_window_set_type_hint (GTK_WINDOW (creditsDialog), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox10 = GTK_DIALOG (creditsDialog)->vbox; gtk_widget_show (dialog_vbox10); notebook5 = gtk_notebook_new (); gtk_widget_show (notebook5); gtk_box_pack_start (GTK_BOX (dialog_vbox10), notebook5, TRUE, TRUE, 0); gtk_widget_set_size_request (notebook5, -1, 185); scrolledwindow17 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow17); gtk_container_add (GTK_CONTAINER (notebook5), scrolledwindow17); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow17), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow17), GTK_SHADOW_IN); textview6 = gtk_text_view_new (); gtk_widget_show (textview6); gtk_container_add (GTK_CONTAINER (scrolledwindow17), textview6); gtk_text_view_set_editable (GTK_TEXT_VIEW (textview6), FALSE); gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (textview6), FALSE); gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (textview6)), _("Project Manager:\nAdam Cottrell \n\nProgramming:\n Adam Cottrell \n Salil Joshi \n Yousef AlHashemi\n\nArtwork:\n Peter Cruickshank\n"), -1); label1020 = gtk_label_new (_("Written by")); gtk_widget_show (label1020); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 0), label1020); scrolledwindow18 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow18); gtk_container_add (GTK_CONTAINER (notebook5), scrolledwindow18); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow18), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow18), GTK_SHADOW_IN); textview5 = gtk_text_view_new (); gtk_widget_show (textview5); gtk_container_add (GTK_CONTAINER (scrolledwindow18), textview5); gtk_text_view_set_editable (GTK_TEXT_VIEW (textview5), FALSE); gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (textview5), FALSE); gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (textview5)), _("Adam Cottrell (en_GB)"), -1); label1021 = gtk_label_new (_("Translated by")); gtk_widget_show (label1021); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 1), label1021); dialog_action_area10 = GTK_DIALOG (creditsDialog)->action_area; gtk_widget_show (dialog_action_area10); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area10), GTK_BUTTONBOX_END); closebutton1 = gtk_button_new_from_stock ("gtk-close"); gtk_widget_show (closebutton1); gtk_dialog_add_action_widget (GTK_DIALOG (creditsDialog), closebutton1, GTK_RESPONSE_CLOSE); GTK_WIDGET_SET_FLAGS (closebutton1, GTK_CAN_DEFAULT); g_signal_connect ((gpointer) creditsDialog, "response", G_CALLBACK (gtk_widget_destroy), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (creditsDialog, creditsDialog, "creditsDialog"); GLADE_HOOKUP_OBJECT_NO_REF (creditsDialog, dialog_vbox10, "dialog_vbox10"); GLADE_HOOKUP_OBJECT (creditsDialog, notebook5, "notebook5"); GLADE_HOOKUP_OBJECT (creditsDialog, scrolledwindow17, "scrolledwindow17"); GLADE_HOOKUP_OBJECT (creditsDialog, textview6, "textview6"); GLADE_HOOKUP_OBJECT (creditsDialog, label1020, "label1020"); GLADE_HOOKUP_OBJECT (creditsDialog, scrolledwindow18, "scrolledwindow18"); GLADE_HOOKUP_OBJECT (creditsDialog, textview5, "textview5"); GLADE_HOOKUP_OBJECT (creditsDialog, label1021, "label1021"); GLADE_HOOKUP_OBJECT_NO_REF (creditsDialog, dialog_action_area10, "dialog_action_area10"); GLADE_HOOKUP_OBJECT (creditsDialog, closebutton1, "closebutton1"); return creditsDialog; } GtkWidget* create_calendarDialog (void) { GtkWidget *calendarDialog; GtkWidget *dialog_vbox11; GtkWidget *calendar1; GtkWidget *dialog_action_area11; GtkWidget *cancelbutton5; GtkWidget *okbutton6; calendarDialog = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (calendarDialog), _("Select Date...")); GTK_WINDOW (calendarDialog)->type = GTK_WINDOW_POPUP; gtk_window_set_position (GTK_WINDOW (calendarDialog), GTK_WIN_POS_MOUSE); gtk_window_set_modal (GTK_WINDOW (calendarDialog), TRUE); gtk_window_set_resizable (GTK_WINDOW (calendarDialog), FALSE); gtk_window_set_type_hint (GTK_WINDOW (calendarDialog), GDK_WINDOW_TYPE_HINT_UTILITY); dialog_vbox11 = GTK_DIALOG (calendarDialog)->vbox; gtk_widget_show (dialog_vbox11); calendar1 = gtk_calendar_new (); gtk_widget_show (calendar1); gtk_box_pack_start (GTK_BOX (dialog_vbox11), calendar1, TRUE, TRUE, 0); gtk_calendar_display_options (GTK_CALENDAR (calendar1), GTK_CALENDAR_SHOW_HEADING | GTK_CALENDAR_SHOW_DAY_NAMES); dialog_action_area11 = GTK_DIALOG (calendarDialog)->action_area; gtk_widget_show (dialog_action_area11); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area11), GTK_BUTTONBOX_END); cancelbutton5 = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancelbutton5); gtk_dialog_add_action_widget (GTK_DIALOG (calendarDialog), cancelbutton5, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (cancelbutton5, GTK_CAN_DEFAULT); okbutton6 = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (okbutton6); gtk_dialog_add_action_widget (GTK_DIALOG (calendarDialog), okbutton6, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (okbutton6, GTK_CAN_DEFAULT); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (calendarDialog, calendarDialog, "calendarDialog"); GLADE_HOOKUP_OBJECT_NO_REF (calendarDialog, dialog_vbox11, "dialog_vbox11"); GLADE_HOOKUP_OBJECT (calendarDialog, calendar1, "calendar1"); GLADE_HOOKUP_OBJECT_NO_REF (calendarDialog, dialog_action_area11, "dialog_action_area11"); GLADE_HOOKUP_OBJECT (calendarDialog, cancelbutton5, "cancelbutton5"); GLADE_HOOKUP_OBJECT (calendarDialog, okbutton6, "okbutton6"); return calendarDialog; } searchmonkey-0.8.1/src/Makefile.am0000664000076400007660000000100010561732767013775 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ @PACKAGE_CFLAGS@ bin_PROGRAMS = searchmonkey searchmonkey_SOURCES = \ main.c \ support.c support.h \ interface.c interface.h \ callbacks.c callbacks.h \ search.c search.h \ savestate.c savestate.h \ regexwizard.c regexwizard.h \ systemio.c systemio.h \ misc.c misc.h \ lgpl.h searchmonkey_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) searchmonkey-0.8.1/src/support.h0000664000076400007660000000372210561732767013643 00000000000000/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # define Q_(String) g_strip_context ((String), gettext (String)) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define Q_(String) g_strip_context ((String), (String)) # define N_(String) (String) #endif /* * Public Functions. */ /* * This function returns a widget in a component created by Glade. * Call it with the toplevel widget in the component (i.e. a window/dialog), * or alternatively any widget in the component, and the name of the widget * you want returned. */ GtkWidget* lookup_widget (GtkWidget *widget, const gchar *widget_name); /* Use this function to set the directory containing installed pixmaps. */ void add_pixmap_directory (const gchar *directory); /* * Private Functions. */ /* This is used to create the pixmaps used in the interface. */ GtkWidget* create_pixmap (GtkWidget *widget, const gchar *filename); /* This is used to create the pixbufs used in the interface. */ GdkPixbuf* create_pixbuf (const gchar *filename); /* This is used to set ATK action descriptions. */ void glade_set_atk_action_description (AtkAction *action, const gchar *action_name, const gchar *description); searchmonkey-0.8.1/src/misc.h0000664000076400007660000000207710561732767013064 00000000000000/* * File: misc.c header * Description: Contains helpere functions, and everything that doesn't fit elsewhere */ #ifndef MISC_H #define MISC_H extern GtkWidget *mainWindowApp; /* Holds pointer to the main searchmonkey GUI. Declared in main.c */ gchar *getFullFileName(GtkTreeView *treeView, gint columnNumber); void initComboBox2(GtkWidget *comboBox); void initComboBox(GtkWidget *comboBox); void clearComboBox(GtkWidget *comboBox); gboolean addUniqueRow(GtkWidget *comboBox, const gchar *entry); gint g_strlen(const gchar *string); void copySettings(GtkWidget *widget, gboolean expertMode); void setExpertSearchMode (GtkWidget *widget, gboolean expertMode); gboolean getExpertSearchMode (GtkWidget *widget); void setResultsViewHorizontal(GtkWidget *widget, gboolean horizontal); gboolean getResultsViewHorizontal (GtkWidget *widget); void changeModel(GtkWidget *widget, const gchar *from, const gchar *to); gchar * getDate(const gchar *curDate); gboolean test_regexp(gchar *regexp, guint flags, gchar *error); gboolean validate_folder(const gchar *folderName); #endif /* MISC_H */ searchmonkey-0.8.1/src/systemio.c0000664000076400007660000011540510561732767014000 00000000000000/* * File: systemio.c * Description: This file deals with CSV file creation, and parsing */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include /* UNIX style errno support */ #include /* g_fopen,etc */ #include #include "interface.h" /* glade requirement */ #include "support.h" /* glade requirement */ #include "search.h" /* POSIX threaded search header */ #include "savestate.h" /* allow config file to be read */ #include "misc.h" /* Everything else */ #include "systemio.h" /* * Default list of binary files for automatic searching - this list should cover all OSs in preference order. * Make sure that exeList is symetrical, and that empty pointers are set to NULL. */ const gchar *G_EXE_LIST[G_EXE_LIST_MAX_DEPTH][G_EXE_LIST_MAX_WIDTH] = { {"firefox", "iexplore","opera"}, {"gedit", "emacs", "notepad"}, {"nautilus", "iexplore", NULL} }; /* * Internal helper: save results to CSV. * Iterates through table results (if any), and then returns a CSV string * containing all results, and formatted to boot. */ gchar *resultsToCsvString(GtkWidget *widget) { gchar *retString = NULL; gchar **retStringArray; GtkTreeIter iter; GtkTreeView *treeview; GtkTreeModel *model; gint lineCount; gint i, rowCount = 0; gchar **tmpData; tmpData = g_malloc0(7 * sizeof(gchar *)); gchar *columnSeparator, *rowSeparator, *oldString, *stringDelimiter; GKeyFile *keyString = getGKeyFile(widget); if (getResultsViewHorizontal(widget)) { treeview = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { treeview = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } model = gtk_tree_view_get_model(treeview); lineCount = gtk_tree_model_iter_n_children (model, NULL); g_assert(model != NULL); g_assert(treeview != NULL); g_assert(keyString != NULL); /* Count number of lines in output window */ if (lineCount <= 0) { return NULL; } retStringArray = g_malloc((2 + lineCount) * sizeof(gchar *)); /* Get column/row separator strings */ if (g_key_file_has_key(keyString, "configuration", "configResultEOF", NULL)) { oldString = g_key_file_get_string(keyString, "configuration", "configResultEOF", NULL); columnSeparator = g_strcompress (oldString); g_free(oldString); } else { columnSeparator = g_strdup(","); } if (g_key_file_has_key(keyString, "configuration", "configResultEOL", NULL)) { oldString = g_key_file_get_string(keyString, "configuration", "configResultEOL", NULL); rowSeparator = g_strcompress (oldString); g_free(oldString); } else { rowSeparator = g_strdup("\n"); } if (g_key_file_has_key(keyString, "configuration", "configResultDelimiter", NULL)) { oldString = g_key_file_get_string(keyString, "configuration", "configResultDelimiter", NULL); stringDelimiter = g_strcompress (oldString); g_free(oldString); } else { stringDelimiter = g_strdup("\""); } /* Create header */ gtk_tree_model_get_iter_first (model, &iter); tmpData[0] = quoteString(stringDelimiter, _("File name")); tmpData[1] = quoteString(stringDelimiter, _("Location")); tmpData[2] = quoteString(stringDelimiter, _("File size")); tmpData[3] = quoteString(stringDelimiter, _("File type")); tmpData[4] = quoteString(stringDelimiter, _("Modified date")); tmpData[5] = NULL; retStringArray[rowCount++] = g_strjoinv(columnSeparator, tmpData); /* Loop through to collect data */ do { gtk_tree_model_get (model, &iter, FILENAME_COLUMN, &tmpData[0], LOCATION_COLUMN, &tmpData[1], SIZE_COLUMN, &tmpData[2], TYPE_COLUMN, &tmpData[3], MODIFIED_COLUMN, &tmpData[4], -1); /* Put quotes around LOCATION and FILENAME (just in case) */ for (i=0; i<=4; i++) { oldString = quoteString(stringDelimiter, tmpData[i]); g_free(tmpData[i]); tmpData[i] = oldString; } retStringArray[rowCount++] = g_strjoinv(columnSeparator, tmpData); for (i=0; i<=4; i++) { g_free(tmpData[i]); } } while (gtk_tree_model_iter_next(model, &iter)); retStringArray[rowCount++] = NULL; retString = g_strjoinv(rowSeparator, retStringArray); g_strfreev(retStringArray); g_free(rowSeparator); g_free(columnSeparator); return retString; } /* * Internal helper: save results to CSV. * Adds delimiter (usually " symbol) to either side of given string. * Returns new string, that must be free'd */ gchar *quoteString(const gchar *delimiter, const gchar *string) { return g_strconcat(delimiter, string, delimiter, NULL); } /* * callback helper: save results to CSV. * Stores all results to Csv file. Delimeters, and other options * can be configured by the user (e.g. comma or semicolon between fields) */ void saveResults(GtkWidget *widget) { GError *error = NULL; gchar *filename; GtkWidget *warnMsg; GtkWidget *errMsg; GtkWidget *dialog = create_saveFileDialog(); GKeyFile *keyString = g_object_get_data(G_OBJECT(mainWindowApp), MASTER_OPTIONS_DATA); gchar *saveData = resultsToCsvString(widget); if (saveData == NULL) { errMsg = gtk_message_dialog_new(GTK_WINDOW(dialog), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_INFO, GTK_BUTTONS_OK, _("No results to save!")); gtk_dialog_run(GTK_DIALOG(errMsg)); gtk_widget_destroy(errMsg); return; } /* Set defaults, or get saved values*/ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), g_get_home_dir()); gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), "results.csv"); realizeFileDialog(dialog, keyString, "saveResults", "saveFileDialog"); while (1) { if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_OK) { filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog)); if (g_file_test(filename, G_FILE_TEST_EXISTS)) { warnMsg = gtk_message_dialog_new(GTK_WINDOW(dialog), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, _("A file named \"%s\" already exists. Are you sure you want to overwrite it?"), filename); if (gtk_dialog_run(GTK_DIALOG(warnMsg)) != GTK_RESPONSE_OK) { gtk_widget_destroy(warnMsg); g_free(filename); continue; } gtk_widget_destroy(warnMsg); } if (g_file_set_contents2 (filename, saveData, -1, &error)) { unrealizeFileDialog(dialog, keyString, "saveResults", "saveFileDialog"); g_free(filename); break; } else { errMsg = gtk_message_dialog_new(GTK_WINDOW(dialog), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, error->message); gtk_dialog_run(GTK_DIALOG(errMsg)); gtk_widget_destroy(errMsg); g_free(filename); g_error_free(error); error = NULL; continue; } } else { break; } } gtk_widget_destroy (dialog); g_free(saveData); return; } /* IMPORT EXPORT FUNCTIONS */ /* * Callback helper: import criteria from local text file, and parse user options. * TODO: Save state of import dialog so that users do not need to keep modifying options between sessions. */ void importCriteria(GtkWidget *widget) { GtkWidget *import = create_importCriteria(); GList *allCriteria; GtkWidget *dropDownBox; gchar *filename; gchar **splitResult; gchar *contents; gsize length; gint i; gchar *orString; GError *error = NULL; GtkWidget *warnDialog; while (gtk_dialog_run(GTK_DIALOG(import)) == GTK_RESPONSE_OK) { filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(lookup_widget(import, "filechooserwidgetImport"))); if (filename != NULL) { /* Choose the drop down box based on radio selection */ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(import, "fileNameRadioImport")))) { dropDownBox = lookup_widget(widget, "fileName"); } else { /* Assume containing text import */ dropDownBox = lookup_widget(widget, "containingText"); } if (g_file_get_contents (filename, &contents, &length, &error)) { splitResult = g_strsplit (contents, "\n", -1); /* Split completely */ if (splitResult != NULL) { if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(import, "singleImportRadio")))) { orString = g_strjoinv("|", splitResult); if (orString[g_strlen(orString) - 1] == '|') { orString[g_strlen(orString) - 1] = '\0'; } addUniqueRow(dropDownBox, orString); g_free(orString); } else { /* multiImportRadio */ i = 0; while (splitResult[i] != NULL) { addUniqueRow(dropDownBox, splitResult[i]); i++; } } g_strfreev(splitResult); break; } else { /* !splitResult */ warnDialog = gtk_message_dialog_new(GTK_WINDOW(import), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("File was empty/invalid.")); gtk_dialog_run(GTK_DIALOG(warnDialog)); gtk_widget_destroy(warnDialog); } } else { /* !g_file_get_contents */ warnDialog = gtk_message_dialog_new(GTK_WINDOW(import), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, error->message); gtk_dialog_run(GTK_DIALOG(warnDialog)); g_error_free(error); error = NULL; gtk_widget_destroy(warnDialog); } } else { /* !filename */ warnDialog = gtk_message_dialog_new(GTK_WINDOW(import), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Error! No valid file selected.")); gtk_dialog_run(GTK_DIALOG(warnDialog)); gtk_widget_destroy(warnDialog); } } gtk_widget_destroy(import); } /* * Callback helper: export criteria to local text file, depending on user options. * TODO: Save state of export dialog so that users do not need to keep modifying options between sessions. */ void exportCriteria(GtkWidget *widget) { GtkWidget *export = create_exportCriteria(); gchar *filename; GtkWidget *dropDownBox; GtkTreeIter iter; GtkTreeModel *model; GString *gstr = NULL; gchar *outputString; gchar *readString; GError *error; GtkWidget *warnDialog; while (gtk_dialog_run(GTK_DIALOG(export)) == GTK_RESPONSE_OK) { filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(lookup_widget(export, "filechooserwidgetExport"))); if (filename != NULL) { /* Choose the drop down box based on radio selection */ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(export, "fileNameRadioExport")))) { dropDownBox = lookup_widget(widget, "fileName"); } else { /* Assume containing text export */ dropDownBox = lookup_widget(widget, "containingText"); } gstr = g_string_new (""); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(export, "singleExportRadio")))) { if ( gtk_combo_box_get_active_iter(GTK_COMBO_BOX(dropDownBox), &iter)) { model = gtk_combo_box_get_model(GTK_COMBO_BOX(dropDownBox)); g_assert(model != NULL); gtk_tree_model_get (model, &iter, 0, &readString, -1); if (readString != NULL) { g_string_append(gstr, readString); g_string_append(gstr, "\n"); g_free(readString); } } else { /* !gtk_combo_box_get_active_iter */ warnDialog = gtk_message_dialog_new(GTK_WINDOW(export), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Error! You must select at least one entry in order to save drop down list.")); gtk_dialog_run(GTK_DIALOG(warnDialog)); gtk_widget_destroy(warnDialog); } } else { /* multiExportRadio */ model = gtk_combo_box_get_model(GTK_COMBO_BOX(dropDownBox)); g_assert(model != NULL); if (gtk_tree_model_get_iter_first(model, &iter)) { do { gtk_tree_model_get (model, &iter, 0, &readString, -1); if (readString != NULL) { g_string_append(gstr, readString); g_string_append(gstr, "\n"); g_free(readString); } /* Save each line to an open text file */ } while (gtk_tree_model_iter_next(model, &iter)); } else { /* !gtk_tree_model_get_iter_first */ warnDialog = gtk_message_dialog_new(GTK_WINDOW(export), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Error! Unable to find first combo entry. Is drop down list blank?")); gtk_dialog_run(GTK_DIALOG(warnDialog)); gtk_widget_destroy(warnDialog); } } /* Save the text file to */ if (gstr != NULL) outputString = g_string_free(gstr, FALSE); if (g_file_set_contents2(filename, outputString, -1, &error)) { g_free(outputString); g_free(filename); break; /* My work here is done! */ } else { warnDialog = gtk_message_dialog_new(GTK_WINDOW(export), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, error->message); g_error_free(error); error = NULL; gtk_dialog_run(GTK_DIALOG(warnDialog)); gtk_widget_destroy(warnDialog); } g_free(outputString); g_free(filename); } else { /* !filename */ warnDialog = gtk_message_dialog_new(GTK_WINDOW(export), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Error! No valid file selected.")); gtk_dialog_run(GTK_DIALOG(warnDialog)); gtk_widget_destroy(warnDialog); } } gtk_widget_destroy(export); } /* * Callback helper: configuration panel helper. * Checks that delimeter entered in CSV delimeter boxes is a valid charactor. * Expects a single charactor, but can be a special char e.g. \n for newline, etc. * This function is called after user focuses away from the entry box. * Errors and warnings produce pop-up messages immediately. * TODO: Update to allow Windows file endings i.e. \r\n */ void checkCsvEntry(GtkEntry *entry) { gchar *orig = g_strdup(gtk_entry_get_text(entry)); gchar *newExpanded; GtkWidget *errorMsg; if (orig[0] == '\\') { switch (orig[1]) { case 'b': case 'n': case 'r': case 't': case '"': case '\\': break; /* Everything is fine! */ default: errorMsg = gtk_message_dialog_new(GTK_WINDOW(lookup_widget(GTK_WIDGET(entry), "configDialog")), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Illegal escape sequence: '\\%c'.\n Valid escape characters are: b n r t \" \\"), orig[1]); g_signal_connect ((gpointer) errorMsg, "response", G_CALLBACK (on_errorMsg_response), NULL); gtk_widget_show(errorMsg); gtk_entry_set_text(entry, ""); break; } } else { newExpanded = g_strescape(orig, NULL); if (newExpanded[0] == '\\') { if (g_strlen(newExpanded) == 2) { gtk_entry_set_text(entry, newExpanded); /* Automatically expand quotes, etc. */ } else { /* Non-ASCII expansion e.g. GBP key */ errorMsg = gtk_message_dialog_new(GTK_WINDOW(lookup_widget(GTK_WIDGET(entry), "configDialog")), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Input string expands into non ASCII, or multi-byte key sequence: '%s'.\n Please try to use ASCII safe keys"), newExpanded); g_signal_connect ((gpointer) errorMsg, "response", G_CALLBACK (on_errorMsg_response), NULL); gtk_widget_show(errorMsg); gtk_entry_set_text(entry, ""); } } else if (orig[1] != '\0') { errorMsg = gtk_message_dialog_new(GTK_WINDOW(lookup_widget(GTK_WIDGET(entry), "configDialog")), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Multi-byte string entered: '%s'.\nTruncating extra character (%c)"), orig, orig[1]); g_signal_connect ((gpointer) errorMsg, "response", G_CALLBACK (on_errorMsg_response), NULL); gtk_widget_show(errorMsg); orig[1] = '\0'; gtk_entry_set_text(entry, orig); } g_free(newExpanded); } g_free(orig); } /* * Internal helper: dialog destructor (automatically called from checkCsvEntry) * This function is required otherwise Focus out event is held up by user entry requirement. * This forces widget_show to be used in checkCsvEntry, rather than dialog_run (which halts function). */ void on_errorMsg_response (GtkDialog *dialog, gint arg1, gpointer user_data) { gtk_widget_destroy(GTK_WIDGET(dialog)); } /* * Clean up userExeData structure - callback from preferences pop-up destroy. */ void g_free_exeData(gpointer user_data) { userExeData *exeData = user_data; gint i,j; for (i=0; iretStr[i][j] != NULL) { g_free(exeData->retStr[i][j]); } } } g_free(exeData); } /* * get exeData - called via a timeout function from preferences. */ gboolean getExeData(gpointer user_data) { GtkWidget *dialog = user_data; GtkProgressBar *pbar = GTK_PROGRESS_BAR(lookup_widget(dialog, "progressbar3")); userExeData *exeData = g_object_get_data(G_OBJECT(dialog), "exeData"); gdouble tmpDbl = gtk_progress_bar_get_fraction(pbar) + PROGRESS_BAR_NUDGE_VALUE; gchar *tmpStr = g_strdup_printf("%.0lf%%", (tmpDbl * 100)); /* Change progress bar */ gtk_progress_bar_set_fraction (pbar, tmpDbl); gtk_progress_bar_set_text (pbar, tmpStr); g_free(tmpStr); /* Find all possible filenames */ tmpStr = (char *)G_EXE_LIST[exeData->i][exeData->j]; if (tmpStr != NULL) { exeData->retStr[exeData->i][exeData->j] = g_find_program_in_path(tmpStr); } /* Set next exe pointer */ (exeData->i)++; if ((exeData->i) >= G_EXE_LIST_MAX_DEPTH) { (exeData->i)=0; (exeData->j)++; if ((exeData->j) >= G_EXE_LIST_MAX_WIDTH) { gtk_progress_bar_set_fraction (pbar, 1.0); gtk_progress_bar_set_text (pbar, _("100%")); gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog), GTK_RESPONSE_OK, TRUE); return FALSE; } } return TRUE; } /* * Callback/Internal helper: uses the user defined default application * to open up the supplied address. This function enables many different * operation systems to open 3rd party applications (e.g. web browsers, * text editors, etc). */ gboolean SMsyscall (const gchar *address, syscallType type) { GKeyFile *keyString = getGKeyFile(GTK_WIDGET(mainWindowApp)); gchar *executable, *attributes; gchar *s1, *s2; gboolean retVal = FALSE; GtkWidget *okDialog; g_assert(address != NULL); g_assert((type == BROWSER_LIST) || (type == TEXTEDITOR_LIST) || (type == FILEEXPLORER_LIST)); /* Read in executable string, plus attributes*/ switch (type) { case BROWSER_LIST: if ((!g_key_file_has_key(keyString, "configuration", "configWebBrowser", NULL)) || (!g_key_file_has_key(keyString, "configuration", "configWebBrowserAttributes", NULL))) { okDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindowApp), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Run configuration to set default web-browser:\n\"%s\""),address); gtk_dialog_run (GTK_DIALOG(okDialog)); gtk_widget_destroy(GTK_WIDGET(okDialog)); return -1; } executable = g_key_file_get_string (keyString, "configuration", "configWebBrowser", NULL); attributes = g_key_file_get_string (keyString, "configuration", "configWebBrowserAttributes", NULL); break; case TEXTEDITOR_LIST: if ((!g_key_file_has_key(keyString, "configuration", "configTextEditor", NULL)) || (!g_key_file_has_key(keyString, "configuration", "configTextEditorAttributes", NULL))) { okDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindowApp), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Run configuration to set default text editor:\n\"%s\""),address); gtk_dialog_run (GTK_DIALOG(okDialog)); gtk_widget_destroy(GTK_WIDGET(okDialog)); return -1; } executable = g_key_file_get_string (keyString, "configuration", "configTextEditor", NULL); attributes = g_key_file_get_string (keyString, "configuration", "configTextEditorAttributes", NULL); break; case FILEEXPLORER_LIST: if ((!g_key_file_has_key(keyString, "configuration", "configFileExplorer", NULL)) || (!g_key_file_has_key(keyString, "configuration", "configFileExplorerAttributes", NULL))) { okDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindowApp), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Run configuration to set default directory/folder browser:\n\"%s\""), address); gtk_dialog_run (GTK_DIALOG(okDialog)); gtk_widget_destroy(GTK_WIDGET(okDialog)); return -1; } executable = g_key_file_get_string (keyString, "configuration", "configFileExplorer", NULL); attributes = g_key_file_get_string (keyString, "configuration", "configFileExplorerAttributes", NULL); break; default: return -1; } /* Execute the command (replacing %f with filename) */ s1 = replaceAttributeString(attributes, address); if (s1 != NULL) { s2 = g_strconcat(executable, s1, NULL); g_free(s1); if (s2 != NULL) { g_spawn_command_line_async (s2, NULL); g_free(s2); retVal = TRUE; } } /* Clean up */ g_free(executable); g_free(attributes); return retVal; } /* * Callback helper: wrapper for on_about1_activate. * Allows URL link (in about box) to call web link when clicked. */ void openUrlLinkFunc (GtkAboutDialog *about, const gchar *link, gpointer data) { /* TODO: Call up configuration if syscall returns FALSE */ SMsyscall(link, BROWSER_LIST); } /* * Internal helper: converts %f/%d charactors within rawString to supplied replacement string * Returned string must be free'd. */ gchar *replaceAttributeString(gchar *rawString, const gchar *replacement) { GString *s1 = g_string_new (rawString); gchar *pRawString = rawString; gchar *ptrAttribute; gssize len = g_strlen(rawString); gint pos; ptrAttribute = g_strstr_len (pRawString, len, "%"); pos = (ptrAttribute - pRawString); if (ptrAttribute != NULL) { switch (*(ptrAttribute + 1)) { case 'f': /* Filename */ case 'd': /* Directory */ g_string_erase(s1, pos, 2); g_string_insert(s1, pos, replacement); break; default: g_printf("Warning! Unexpected field %%%c supplied in executable argument.\n", *(ptrAttribute + 1)); break; } } else { if (rawString[len - 1] != ' ') { g_string_append(s1, " "); } g_string_insert(s1, pos, replacement); } if (rawString[0] != ' ') { g_string_prepend(s1, " "); } return g_string_free (s1, FALSE); } /* * Callback helper: start new instance of searchmonkey in the background. * TODO: Save currently typed, but not executed searches (i.e. non stored searches) * TODO: Save window size/column search data, etc. */ void spawnNewSearchmonkey(void) { GtkWidget *widget = GTK_WIDGET(mainWindowApp); gchar *searchmonkeyExe = g_object_get_data(G_OBJECT(mainWindowApp), "argvPointer"); GKeyFile *keyString = getGKeyFile(widget); unrealize_searchNotebook(widget); /* Store all search settings to the keyString */ unrealize_menubar(widget); storeGKeyFile(keyString); /* Attempt to save config first */ g_spawn_command_line_async (searchmonkeyExe, NULL); /* Assume it worked */ } /* * Internal helper: equivalent to mkdir -p on linux. * Will recursively create missing folders to make the required foldername, and mode. * Always returns true! */ gboolean mkFullDir(gchar *folderName, gint mode) { gchar *partialFolderName, *pPartialFolderName; gchar **folderParts; gint i = 0; /* Completely split folderName into parts */ folderParts = g_strsplit_set(folderName, G_DIR_SEPARATOR_S, -1); partialFolderName = g_strdup(folderName); pPartialFolderName = partialFolderName; while (folderParts[i] != NULL) { pPartialFolderName = g_stpcpy(pPartialFolderName, folderParts[i]); pPartialFolderName = g_stpcpy(pPartialFolderName, G_DIR_SEPARATOR_S); if (!g_file_test (partialFolderName, G_FILE_TEST_IS_DIR)) { g_mkdir(partialFolderName, mode); } i++; } return TRUE; } /* * callback helper: deletes the filename currently selected in the results table * If the user accepts, then file is deleted from disk, and removed from table too. * If row is not selected, then error message is displayed. */ void deleteFile(GtkWidget *widget) { GtkTreeView *treeView; gchar *fullFileName; GtkTreeSelection *selection; GtkTreeIter child_iter, iter; GtkWidget *dialog; GtkTreeModel *model; GKeyFile *keyString = getGKeyFile(widget); GtkListStore *store; if (getResultsViewHorizontal(widget)) { treeView = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { treeView = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } model = gtk_tree_view_get_model(treeView); selection = gtk_tree_view_get_selection(treeView); /* get selection */ g_assert(model != NULL); g_assert(selection != NULL); /* Get the line currently pointed at */ if (!gtk_tree_selection_get_selected (selection, &model, &iter)) { dialog = gtk_message_dialog_new (GTK_WINDOW(lookup_widget(widget, "window1")), (GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL), GTK_MESSAGE_INFO, GTK_BUTTONS_OK, _("Cannot delete file as name was not selected."), NULL); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy(dialog); return; } /* Get underlying model from the sort model */ gtk_tree_model_get (model, &iter, FULL_FILENAME_COLUMN, &fullFileName, -1); gtk_tree_model_sort_convert_iter_to_child_iter (GTK_TREE_MODEL_SORT(model), &child_iter, &iter); store = GTK_LIST_STORE(gtk_tree_model_sort_get_model(GTK_TREE_MODEL_SORT(model))); /* Prompt (or don't) and delete file */ if (fullFileName != NULL) { if (g_key_file_has_key(keyString, "configuration", "configPromptDelete", NULL) && (!g_key_file_get_boolean(keyString, "configuration", "configPromptDelete", NULL))) { g_remove (fullFileName); gtk_list_store_remove(store, &child_iter); } else { dialog = gtk_message_dialog_new (GTK_WINDOW(lookup_widget(widget, "window1")), (GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL), GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, _("Are you sure you want to delete:\n\t'%s'"), fullFileName); if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) { g_remove (fullFileName); gtk_list_store_remove(store, &child_iter); } gtk_widget_destroy (dialog); } g_free(fullFileName); } } /* * callback helper: copies the full filename currently selected to clipboard * If row is not selected, then error message is displayed. * TODO: Allow users to configure which clipboard(s) are used (Linux only). */ void copyFile(GtkWidget *widget) { GtkTreeView *treeView; gchar *fullFileName; GtkClipboard *clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); GtkWidget *dialog; if (getResultsViewHorizontal(widget)) { treeView = GTK_TREE_VIEW(lookup_widget(widget, "treeview1")); } else { treeView = GTK_TREE_VIEW(lookup_widget(widget, "treeview2")); } fullFileName = getFullFileName(treeView, FULL_FILENAME_COLUMN); if (fullFileName != NULL) { gtk_clipboard_set_text (clipboard, fullFileName, -1); g_free(fullFileName); } else { dialog = gtk_message_dialog_new (GTK_WINDOW(lookup_widget(widget, "window1")), (GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL), GTK_MESSAGE_INFO, GTK_BUTTONS_OK, _("Cannot copy full file name as name was not selected."), NULL); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy(dialog); } } /* * internal helper: Wrapper function for g_file_get_contents() * In addition to calling GTK library, the resulting text, if valid * is converted to UTF-8 from its native format (usually UTF-8 also) * to remove illegal charactors */ gboolean g_file_get_contents2 (const gchar *filename, gchar **contents, gsize *length, GError **error) { gboolean retVal; gchar *retContents; retVal = g_file_get_contents(filename, contents, length, error); /* Remove unknown ASCII */ if (retVal) { retContents = g_strescape(*contents, "\"\\\t\n\b\f\r"); g_free(*contents); *contents = retContents; *length = g_strlen(retContents); } return retVal; #ifdef NOTYET /* * Eventually, replace above with below. * Currently this code will causes seg. faults on certain files (e.g. with non-ASCII chars in). * Exact cause needs to be investigated, but is likely to be due to regex library requirements. */ gboolean retVal = TRUE; gchar *retContents; gsize bytes_read; gsize bytes_written; gchar *charset; /* Use built-in text file open utility to read raw text */ g_get_charset ((G_CONST_RETURN char **)&charset); if (g_file_get_contents(filename, contents, length, error)) { retContents = g_convert_with_fallback (*contents, *length, "UTF-8", charset, NULL, &bytes_read, &bytes_written, error); g_free(*contents); if (retContents == NULL) { *contents = NULL; *length = 0; retVal = FALSE; } else { *contents = retContents; *length = bytes_written; } } return retVal; #endif /* NOTYET */ } /* * internal helper: Equivalent function to g_file_set_contents() only available in library 2.8.x * Converts UTF-8 (internal) to locale format (usually UTF-8 too on modern systems) and writes * contents (assumed text) into the supplied filename. All errors are returned via error. * TODO: Check for library 2.8.x and if present, use the built-in g_file_set_contents command. */ gboolean g_file_set_contents2 (const gchar *filename, const gchar *contents, gssize length, GError **error) { FILE *fileSD; gssize wrote_size; gboolean retVal = TRUE; gchar *charset; gsize bytes_read; gsize bytes_written; gchar *cContents; /* Contents, but coverted to the locale */ if (length == -1) { length = g_strlen(contents); if (length < 0) { set_internal_error(error, errno); return FALSE; } } fileSD = g_fopen(filename, "w"); if (fileSD == NULL) { set_internal_error(error, errno); return FALSE; } g_get_charset ((G_CONST_RETURN char **)&charset); /* Get charactor set locale */ cContents = g_convert_with_fallback (contents, length, charset, "UTF-8", NULL, &bytes_read, &bytes_written, error); if (cContents == NULL) { retVal = FALSE; } else { wrote_size = fwrite(cContents, 1, bytes_written, fileSD); g_free(cContents); if (bytes_written != wrote_size) { set_internal_error(error, errno); retVal = FALSE; } } fclose(fileSD); return retVal; } /* * internal helper: Given filesystem locale error number, convert to GError format. */ void set_internal_error(GError **error, const gint err_no) { GQuark domain = g_quark_from_string(PACKAGE "Error"); GFileError gerrno = g_file_error_from_errno (err_no); gchar *gstrerr = strerror(err_no); g_assert (gstrerr != NULL); if (error != NULL) { g_assert (*error == NULL); *error = g_error_new_literal(domain, gerrno, gstrerr); } } /* * internal helper: Folder name clean up function (only tested on Linux - but should work for other OS too). * Attempts to fix hand typed folder names e.g. "/foo//test/" becomes "/foo/test" * TODO: Simplify function - should be const gchar * input, not combobox * Return: NULL on error, or newly allocated (and cleaned) folder name */ gchar *comboBoxReadCleanFolderName(GtkComboBox *combobox) { #if 1 /* Creating simplified function as over-complicated */ gchar *tmpStr[2]; gchar *retStr = NULL; /* Retrieve look-in directory, ensuring terminated with (extra?) directory separator */ tmpStr[0] = gtk_combo_box_get_active_text(combobox); g_assert(tmpStr[0] != NULL); tmpStr[1] = g_strconcat(tmpStr[0], G_DIR_SEPARATOR_S, NULL); g_assert(tmpStr[1] != NULL); /* Expects absolute folder names e.g. "/usr/bin/" or "C:\WINNT\" */ if ((*tmpStr[0] == '\0') || (g_unichar_isspace(*tmpStr[0]))) { /* If empty string or space */ retStr = g_strdup(g_get_home_dir()); } else if (g_path_is_absolute(tmpStr[1])) { /* If absolute folder/file name */ if (g_file_test(tmpStr[0], G_FILE_TEST_IS_DIR)) { /* Already a folder, so lets just clean it up */ retStr = g_path_get_dirname(tmpStr[1]); } else { /* Otherwise, not looking great, but give it one more shot.. */ retStr = g_path_get_dirname(tmpStr[0]); if (!g_file_test(retStr, G_FILE_TEST_IS_DIR)) { /* Still no-where near being a folder name so exit */ g_free(retStr); return NULL; } } } else { /* not absolute string, so try best to fix */ if ((tmpStr[0][0] == '.') && (tmpStr[0][1] == *G_DIR_SEPARATOR_S)) { g_free(tmpStr[1]); tmpStr[1] = g_strconcat(g_get_current_dir(), &tmpStr[0][2], NULL); if (g_file_test(tmpStr[1], G_FILE_TEST_IS_DIR)) { retStr = strdup(tmpStr[1]); } } else if ((tmpStr[0][0] == '~') && (tmpStr[0][1] == *G_DIR_SEPARATOR_S)) { g_free(tmpStr[1]); tmpStr[1] = g_strconcat(g_get_home_dir(), &tmpStr[0][2], NULL); if (g_file_test(tmpStr[1], G_FILE_TEST_IS_DIR)) { retStr = strdup(tmpStr[1]); } } } /* Clean exit */ g_free(tmpStr[0]); g_free(tmpStr[1]); return retStr; #else gchar *retStr = NULL; gchar *tmpStr[3]; gchar **test, **test2; tmpStr[0] = gtk_combo_box_get_active_text(combobox); /* Test that it is a proper filename */ if (g_file_test (tmpStr[0], G_FILE_TEST_IS_DIR)) { if (g_path_is_absolute (tmpStr[0])) { retStr = g_filename_display_name(tmpStr[0]); } else { tmpStr[2] = g_filename_display_name(tmpStr[0]); if (tmpStr[2] != NULL) { retStr = g_build_path(G_DIR_SEPARATOR_S, g_get_current_dir(), tmpStr[2], NULL); g_free(tmpStr[2]); } } } if (retStr == NULL) { return tmpStr[0]; /* Failed! */ } g_free(tmpStr[0]); /* Split directory into parts */ test = g_strsplit (retStr, G_DIR_SEPARATOR_S, -1); if (test == NULL) { g_print(_("%s Error! Unable to split %s with %c\n"), __func__, retStr, G_DIR_SEPARATOR_S); return retStr; } g_assert(test != NULL); /* Clean up any of the extra path separators */ test2 = strvdup(test); g_strfreev(test); if (test2 == NULL){ g_print(_("%s Error! Unable to duplicate string vector\n"), __func__); return retStr; } g_free(retStr); /* Recreate the cleaned up path name */ tmpStr[1] = g_strjoinv (G_DIR_SEPARATOR_S, test2); g_strfreev(test2); return tmpStr[1]; #endif /* Replaced code.. */ } /* * internal helper: local duplicate of GLIB function g_strdupv * TODO: Replace occurances with g_strdupv -- may require minor adjustments to * comboBoxReadCleanFolderName() function as it caused errors previously. */ gchar **strvdup(gchar **strv) { gchar **retVal; gint i = 0, j = 0; g_assert(strv != NULL); retVal = malloc(sizeof(gchar *) * (1 + g_strv_length(strv))); retVal[j++] = g_strdup(strv[i++]); /* Always copy first element */ while (strv[i] != NULL) { if (*strv[i] != '\0') { retVal[j++] = g_strdup(strv[i]); } i++; } retVal[j] = NULL; /* NULL terminate */ return retVal; } searchmonkey-0.8.1/src/savestate.h0000664000076400007660000001305410561732767014125 00000000000000/* * File: savestate.c header * Description: Contains config save/restore specific functions so that widgets can keep their * settings betweeen saves. * * * */ #ifndef SAVESTATE_H #define SAVESTATE_H /* Externals */ extern gchar *gConfigFile; /* Holds pointer to the configuration file location. Declared in main.c*/ /* Local macros */ #define CONFIG_DISABLE_SAVE_CONFIG_STRING "CONFIG_DISABLE_SAVE_CONFIG" /* Used by config->restart to check for reset */ #define CONFIG_DISABLE_SAVE_CONFIG 1 /* Used by config->restart to check for reset */ #define MASTER_OPTIONS_DATA "options1" /* Storage for the Phase One data inside the g_object */ #define CURRENT_VERSION "0.8.1" /*Current version of searchmonkey */ /* Keyfile interface commands */ void createGKeyFile(GObject *object, const gchar *dataName); void destroyGKeyFile(gpointer data); GKeyFile *getGKeyFile(GtkWidget *widget); void storeGKeyFile(GKeyFile *keyString); void setConfigFileLocation (GtkWidget *widget); /* Top level save/restore commands */ void realize_searchmonkeyWindow (GtkWidget *widget); void unrealize_searchmonkeyWindow (GtkWidget *widget); void realize_configDialog (GtkWidget *widget); void unrealize_configDialog (GtkWidget *widget); void initTreeView(GtkWidget *widget); void initTextView(GtkWidget *widget); void realize_searchNotebook (GtkWidget *widget); void unrealize_searchNotebook (GtkWidget *widget); void realize_menubar (GtkWidget *widget); void unrealize_menubar (GtkWidget *widget); void realize_statusbar (GtkWidget *widget); /* Auto destroyed */ /* Generic save/restore commands */ void realizeFileDialog(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeFileDialog(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeMenuCheck(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeMenuCheck(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeString(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeString(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); gboolean realizeFileButton(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeFileButton(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeToggle(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeToggle(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeNotebook(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeNotebook(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeSpin(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeSpin(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); /* Specific save/restore commands (for more complex widgets) */ void realizeWindow(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeWindow(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeTextviewFont(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeTextviewFont(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeTextviewHighlight(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeTextviewHighlight(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeComboModel(GtkListStore *store, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeComboBox(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeComboBox2(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeComboModel(GtkListStore *store, GKeyFile *keyString, const gchar *group, const gchar *name, gint activeRow); void unrealizeComboBox(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void unrealizeComboBox2(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name); void realizeTreeview(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth); void unrealizeTreeview(GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth); void realizeTreeviewColumns (GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth); void unrealizeTreeviewColumns (GtkWidget *widget, GKeyFile *keyString, const gchar *group, const gchar *name, gboolean autoColumnWidth); /* Tree view handlers (Right click + left click + sort columns) */ void undo_popup_menu(GtkWidget *attach_widget, GtkMenu *menu); void do_popup_menu (GtkWidget *widget, GdkEventButton *event); void detachMenu(GtkMenuItem *menuitem); void tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data); gchar *generateContentOptionsString(searchControl *mSearchControl); /* searchControl*/ void on_column_click (GtkTreeViewColumn *treeviewcolumn, gpointer user_data); void columnClick(GtkWidget *widget, gint column); void getSortMenuItem(gint *columnId, GtkSortType *sortOrder); void setSortMenuItem(gint columnId, GtkSortType order); void setExtendedRegexMode(GtkWidget *widget, gboolean extended); gboolean getExtendedRegexMode(GtkWidget *widget); #endif /* SAVESTATE_H */ searchmonkey-0.8.1/src/support.c0000664000076400007660000000712710561732767013641 00000000000000/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include #include "support.h" GtkWidget* lookup_widget (GtkWidget *widget, const gchar *widget_name) { GtkWidget *parent, *found_widget; for (;;) { if (GTK_IS_MENU (widget)) parent = gtk_menu_get_attach_widget (GTK_MENU (widget)); else parent = widget->parent; if (!parent) parent = (GtkWidget*) g_object_get_data (G_OBJECT (widget), "GladeParentKey"); if (parent == NULL) break; widget = parent; } found_widget = (GtkWidget*) g_object_get_data (G_OBJECT (widget), widget_name); if (!found_widget) g_warning ("Widget not found: %s", widget_name); return found_widget; } static GList *pixmaps_directories = NULL; /* Use this function to set the directory containing installed pixmaps. */ void add_pixmap_directory (const gchar *directory) { pixmaps_directories = g_list_prepend (pixmaps_directories, g_strdup (directory)); } /* This is an internally used function to find pixmap files. */ static gchar* find_pixmap_file (const gchar *filename) { GList *elem; /* We step through each of the pixmaps directory to find it. */ elem = pixmaps_directories; while (elem) { gchar *pathname = g_strdup_printf ("%s%s%s", (gchar*)elem->data, G_DIR_SEPARATOR_S, filename); if (g_file_test (pathname, G_FILE_TEST_EXISTS)) return pathname; g_free (pathname); elem = elem->next; } return NULL; } /* This is an internally used function to create pixmaps. */ GtkWidget* create_pixmap (GtkWidget *widget, const gchar *filename) { gchar *pathname = NULL; GtkWidget *pixmap; if (!filename || !filename[0]) return gtk_image_new (); pathname = find_pixmap_file (filename); if (!pathname) { g_warning (_("Couldn't find pixmap file: %s"), filename); return gtk_image_new (); } pixmap = gtk_image_new_from_file (pathname); g_free (pathname); return pixmap; } /* This is an internally used function to create pixmaps. */ GdkPixbuf* create_pixbuf (const gchar *filename) { gchar *pathname = NULL; GdkPixbuf *pixbuf; GError *error = NULL; if (!filename || !filename[0]) return NULL; pathname = find_pixmap_file (filename); if (!pathname) { g_warning (_("Couldn't find pixmap file: %s"), filename); return NULL; } pixbuf = gdk_pixbuf_new_from_file (pathname, &error); if (!pixbuf) { fprintf (stderr, "Failed to load pixbuf file: %s: %s\n", pathname, error->message); g_error_free (error); } g_free (pathname); return pixbuf; } /* This is used to set ATK action descriptions. */ void glade_set_atk_action_description (AtkAction *action, const gchar *action_name, const gchar *description) { gint n_actions, i; n_actions = atk_action_get_n_actions (action); for (i = 0; i < n_actions; i++) { if (!strcmp (atk_action_get_name (action, i), action_name)) atk_action_set_description (action, i, description); } }