From a8d28a6ce7e0c56dacba5d527d9134573a008902 Mon Sep 17 00:00:00 2001 From: Perberos Date: Sun, 6 Nov 2011 19:30:49 -0300 Subject: inicial --- bindings/Makefile.am | 7 + bindings/Makefile.in | 656 +++++++++++++++++++++++ bindings/python/Makefile.am | 77 +++ bindings/python/Makefile.in | 673 +++++++++++++++++++++++ bindings/python/eom.defs | 1222 ++++++++++++++++++++++++++++++++++++++++++ bindings/python/eom.override | 126 +++++ 6 files changed, 2761 insertions(+) create mode 100644 bindings/Makefile.am create mode 100644 bindings/Makefile.in create mode 100644 bindings/python/Makefile.am create mode 100644 bindings/python/Makefile.in create mode 100644 bindings/python/eom.defs create mode 100644 bindings/python/eom.override (limited to 'bindings') diff --git a/bindings/Makefile.am b/bindings/Makefile.am new file mode 100644 index 0000000..8f1fc83 --- /dev/null +++ b/bindings/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = + +if ENABLE_PYTHON +SUBDIRS += python +endif + +-include $(top_srcdir)/git.mk diff --git a/bindings/Makefile.in b/bindings/Makefile.in new file mode 100644 index 0000000..657e3ca --- /dev/null +++ b/bindings/Makefile.in @@ -0,0 +1,656 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@ENABLE_PYTHON_TRUE@am__append_1 = python +subdir = bindings +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +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 = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = python +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +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@ +DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@ +DBUS_CFLAGS = @DBUS_CFLAGS@ +DBUS_LIBS = @DBUS_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ +DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ +DLLTOOL = @DLLTOOL@ +DOC_USER_FORMATS = @DOC_USER_FORMATS@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EOM_API_VERSION = @EOM_API_VERSION@ +EOM_CFLAGS = @EOM_CFLAGS@ +EOM_DOC_EXIF_START = @EOM_DOC_EXIF_START@ +EOM_DOC_EXIF_STOP = @EOM_DOC_EXIF_STOP@ +EOM_LIBS = @EOM_LIBS@ +EOM_MAJOR_VERSION = @EOM_MAJOR_VERSION@ +EOM_MICRO_VERSION = @EOM_MICRO_VERSION@ +EOM_MINOR_VERSION = @EOM_MINOR_VERSION@ +EXEEXT = @EXEEXT@ +EXEMPI_CFLAGS = @EXEMPI_CFLAGS@ +EXEMPI_LIBS = @EXEMPI_LIBS@ +EXIF_CFLAGS = @EXIF_CFLAGS@ +EXIF_LIBS = @EXIF_LIBS@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +HELP_DIR = @HELP_DIR@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LCMS_CFLAGS = @LCMS_CFLAGS@ +LCMS_LIBS = @LCMS_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBJPEG = @LIBJPEG@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATECONFTOOL = @MATECONFTOOL@ +MATECONF_SCHEMA_CONFIG_SOURCE = @MATECONF_SCHEMA_CONFIG_SOURCE@ +MATECONF_SCHEMA_FILE_DIR = @MATECONF_SCHEMA_FILE_DIR@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NO_STRICT_ALIASING_CFLAGS = @NO_STRICT_ALIASING_CFLAGS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OMF_DIR = @OMF_DIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYGOBJECT_CODEGEN = @PYGOBJECT_CODEGEN@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ +PYGOBJECT_H2DEF = @PYGOBJECT_H2DEF@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_DEFSDIR = @PYGTK_DEFSDIR@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_CFLAGS = @PYTHON_CFLAGS@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@ +PYTHON_LIBS = @PYTHON_LIBS@ +PYTHON_LIB_LOC = @PYTHON_LIB_LOC@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +RSVG_CFLAGS = @RSVG_CFLAGS@ +RSVG_LIBS = @RSVG_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +X11_CFLAGS = @X11_CFLAGS@ +X11_LIBS = @X11_LIBS@ +XGETTEXT = @XGETTEXT@ +XMKMF = @XMKMF@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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 = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = $(am__append_1) +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bindings/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign bindings/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + + +-include $(top_srcdir)/git.mk + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am new file mode 100644 index 0000000..9841596 --- /dev/null +++ b/bindings/python/Makefile.am @@ -0,0 +1,77 @@ +noinst_LTLIBRARIES = \ + eom.la + +nodist_eom_la_SOURCES = \ + eom.c + +eom_la_LDFLAGS = \ + -module -avoid-version + +eom_la_LIBADD = \ + $(PYTHON_LIB_LOC) \ + $(PYTHON_LIBS) \ + $(PYTHON_EXTRA_LIBS) \ + $(PYGTK_LIBS) + +eom_la_CFLAGS = \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + -I$(top_srcdir)/src \ + -I$(top_builddir)/src \ + -I$(top_srcdir)/cut-n-paste/toolbar-editor \ + $(EOM_CFLAGS) \ + $(NO_STRICT_ALIASING_CFLAGS) \ + $(PYGTK_CFLAGS) \ + $(PYTHON_CFLAGS) \ + $(AM_CFLAGS) + +$(top_builddir)/src/eom-enum-types.h: + $(AM_V_GEN)cd $(top_builddir)/src && $(MAKE) eom-enum-types.h + +eom.c: eom.defs eom.override $(top_builddir)/src/eom-enum-types.h + $(AM_V_GEN)( cd $(srcdir) && $(PYGOBJECT_CODEGEN) \ + --register $(PYGOBJECT_DEFSDIR)/gio-types.defs \ + --register $(PYGTK_DEFSDIR)/pango-types.defs \ + --register $(PYGTK_DEFSDIR)/gdk-types.defs \ + --register $(PYGTK_DEFSDIR)/gtk-types.defs \ + --override $*.override \ + --prefix py$* $( $@ + +BINDING_EOM_HEADERS_SRCDIR_IN = \ + src/eom-application.h \ + src/eom-window.h \ + src/eom-dialog.h \ + src/eom-properties-dialog.h \ + src/eom-message-area.h \ + src/eom-statusbar.h \ + src/eom-thumb-nav.h \ + src/eom-image.h \ + src/eom-scroll-view.h \ + src/eom-thumb-view.h \ + src/eom-list-store.h \ + src/eom-job-queue.h \ + src/eom-jobs.h \ + src/eom-plugin.h + +BINDING_HEADERS_BUILDDIR_IN = + +BINDING_EOM_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_EOM_HEADERS_SRCDIR_IN)) + +BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN)) + +regenerate-python-binding: + $(PYGTK_H2DEF) $(sort $(BINDING_EOM_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > eom.defs.new + +BUILT_SOURCES = \ + eom.c + +EXTRA_DIST = \ + eom.override \ + eom.defs + +CLEANFILES = $(BUILT_SOURCES) + +dist-hook: + cd $(distdir); rm -f $(BUILT_SOURCES) + +-include $(top_srcdir)/git.mk diff --git a/bindings/python/Makefile.in b/bindings/python/Makefile.in new file mode 100644 index 0000000..441d9b3 --- /dev/null +++ b/bindings/python/Makefile.in @@ -0,0 +1,673 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = bindings/python +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +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 = +CONFIG_CLEAN_VPATH_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) +am__DEPENDENCIES_1 = +eom_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +nodist_eom_la_OBJECTS = eom_la-eom.lo +eom_la_OBJECTS = $(nodist_eom_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +eom_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(eom_la_CFLAGS) $(CFLAGS) \ + $(eom_la_LDFLAGS) $(LDFLAGS) -o $@ +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = $(nodist_eom_la_SOURCES) +DIST_SOURCES = +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +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@ +DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@ +DBUS_CFLAGS = @DBUS_CFLAGS@ +DBUS_LIBS = @DBUS_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ +DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ +DLLTOOL = @DLLTOOL@ +DOC_USER_FORMATS = @DOC_USER_FORMATS@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EOM_API_VERSION = @EOM_API_VERSION@ +EOM_CFLAGS = @EOM_CFLAGS@ +EOM_DOC_EXIF_START = @EOM_DOC_EXIF_START@ +EOM_DOC_EXIF_STOP = @EOM_DOC_EXIF_STOP@ +EOM_LIBS = @EOM_LIBS@ +EOM_MAJOR_VERSION = @EOM_MAJOR_VERSION@ +EOM_MICRO_VERSION = @EOM_MICRO_VERSION@ +EOM_MINOR_VERSION = @EOM_MINOR_VERSION@ +EXEEXT = @EXEEXT@ +EXEMPI_CFLAGS = @EXEMPI_CFLAGS@ +EXEMPI_LIBS = @EXEMPI_LIBS@ +EXIF_CFLAGS = @EXIF_CFLAGS@ +EXIF_LIBS = @EXIF_LIBS@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +HELP_DIR = @HELP_DIR@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LCMS_CFLAGS = @LCMS_CFLAGS@ +LCMS_LIBS = @LCMS_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBJPEG = @LIBJPEG@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATECONFTOOL = @MATECONFTOOL@ +MATECONF_SCHEMA_CONFIG_SOURCE = @MATECONF_SCHEMA_CONFIG_SOURCE@ +MATECONF_SCHEMA_FILE_DIR = @MATECONF_SCHEMA_FILE_DIR@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NO_STRICT_ALIASING_CFLAGS = @NO_STRICT_ALIASING_CFLAGS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OMF_DIR = @OMF_DIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYGOBJECT_CODEGEN = @PYGOBJECT_CODEGEN@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ +PYGOBJECT_H2DEF = @PYGOBJECT_H2DEF@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_DEFSDIR = @PYGTK_DEFSDIR@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_CFLAGS = @PYTHON_CFLAGS@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@ +PYTHON_LIBS = @PYTHON_LIBS@ +PYTHON_LIB_LOC = @PYTHON_LIB_LOC@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +RSVG_CFLAGS = @RSVG_CFLAGS@ +RSVG_LIBS = @RSVG_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +X11_CFLAGS = @X11_CFLAGS@ +X11_LIBS = @X11_LIBS@ +XGETTEXT = @XGETTEXT@ +XMKMF = @XMKMF@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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 = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +noinst_LTLIBRARIES = \ + eom.la + +nodist_eom_la_SOURCES = \ + eom.c + +eom_la_LDFLAGS = \ + -module -avoid-version + +eom_la_LIBADD = \ + $(PYTHON_LIB_LOC) \ + $(PYTHON_LIBS) \ + $(PYTHON_EXTRA_LIBS) \ + $(PYGTK_LIBS) + +eom_la_CFLAGS = \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + -I$(top_srcdir)/src \ + -I$(top_builddir)/src \ + -I$(top_srcdir)/cut-n-paste/toolbar-editor \ + $(EOM_CFLAGS) \ + $(NO_STRICT_ALIASING_CFLAGS) \ + $(PYGTK_CFLAGS) \ + $(PYTHON_CFLAGS) \ + $(AM_CFLAGS) + +BINDING_EOM_HEADERS_SRCDIR_IN = \ + src/eom-application.h \ + src/eom-window.h \ + src/eom-dialog.h \ + src/eom-properties-dialog.h \ + src/eom-message-area.h \ + src/eom-statusbar.h \ + src/eom-thumb-nav.h \ + src/eom-image.h \ + src/eom-scroll-view.h \ + src/eom-thumb-view.h \ + src/eom-list-store.h \ + src/eom-job-queue.h \ + src/eom-jobs.h \ + src/eom-plugin.h + +BINDING_HEADERS_BUILDDIR_IN = +BINDING_EOM_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_EOM_HEADERS_SRCDIR_IN)) +BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN)) +BUILT_SOURCES = \ + eom.c + +EXTRA_DIST = \ + eom.override \ + eom.defs + +CLEANFILES = $(BUILT_SOURCES) +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .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 ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bindings/python/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign bindings/python/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +eom.la: $(eom_la_OBJECTS) $(eom_la_DEPENDENCIES) + $(AM_V_CCLD)$(eom_la_LINK) $(eom_la_OBJECTS) $(eom_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eom_la-eom.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@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@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@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) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +eom_la-eom.lo: eom.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eom_la_CFLAGS) $(CFLAGS) -MT eom_la-eom.lo -MD -MP -MF $(DEPDIR)/eom_la-eom.Tpo -c -o eom_la-eom.lo `test -f 'eom.c' || echo '$(srcdir)/'`eom.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/eom_la-eom.Tpo $(DEPDIR)/eom_la-eom.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eom.c' object='eom_la-eom.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eom_la_CFLAGS) $(CFLAGS) -c -o eom_la-eom.lo `test -f 'eom.c' || echo '$(srcdir)/'`eom.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + 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; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) 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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + 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 + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: all check install install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES ctags dist-hook \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am + + +$(top_builddir)/src/eom-enum-types.h: + $(AM_V_GEN)cd $(top_builddir)/src && $(MAKE) eom-enum-types.h + +eom.c: eom.defs eom.override $(top_builddir)/src/eom-enum-types.h + $(AM_V_GEN)( cd $(srcdir) && $(PYGOBJECT_CODEGEN) \ + --register $(PYGOBJECT_DEFSDIR)/gio-types.defs \ + --register $(PYGTK_DEFSDIR)/pango-types.defs \ + --register $(PYGTK_DEFSDIR)/gdk-types.defs \ + --register $(PYGTK_DEFSDIR)/gtk-types.defs \ + --override $*.override \ + --prefix py$* $( $@ + +regenerate-python-binding: + $(PYGTK_H2DEF) $(sort $(BINDING_EOM_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > eom.defs.new + +dist-hook: + cd $(distdir); rm -f $(BUILT_SOURCES) + +-include $(top_srcdir)/git.mk + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/bindings/python/eom.defs b/bindings/python/eom.defs new file mode 100644 index 0000000..d2b37c0 --- /dev/null +++ b/bindings/python/eom.defs @@ -0,0 +1,1222 @@ +;; -*- scheme -*- +; object definitions ... +(define-object Application + (in-module "Eom") + (parent "GObject") + (c-name "EomApplication") + (gtype-id "EOM_TYPE_APPLICATION") +) + +(define-object Dialog + (in-module "Eom") + (parent "GObject") + (c-name "EomDialog") + (gtype-id "EOM_TYPE_DIALOG") +) + +(define-object Image + (in-module "Eom") + (parent "GObject") + (c-name "EomImage") + (gtype-id "EOM_TYPE_IMAGE") +) + +(define-object Job + (in-module "Eom") + (parent "GObject") + (c-name "EomJob") + (gtype-id "EOM_TYPE_JOB") +) + +(define-object JobLoad + (in-module "Eom") + (parent "EomJob") + (c-name "EomJobLoad") + (gtype-id "EOM_TYPE_JOB_LOAD") +) + +(define-object JobModel + (in-module "Eom") + (parent "EomJob") + (c-name "EomJobModel") + (gtype-id "EOM_TYPE_JOB_MODEL") +) + +(define-object JobSave + (in-module "Eom") + (parent "EomJob") + (c-name "EomJobSave") + (gtype-id "EOM_TYPE_JOB_SAVE") +) + +(define-object JobSaveAs + (in-module "Eom") + (parent "EomJobSave") + (c-name "EomJobSaveAs") + (gtype-id "EOM_TYPE_JOB_SAVE_AS") +) + +(define-object JobThumbnail + (in-module "Eom") + (parent "EomJob") + (c-name "EomJobThumbnail") + (gtype-id "EOM_TYPE_JOB_THUMBNAIL") +) + +(define-object JobTransform + (in-module "Eom") + (parent "EomJob") + (c-name "EomJobTransform") + (gtype-id "EOM_TYPE_JOB_TRANSFORM") +) + +(define-object ListStore + (in-module "Eom") + (parent "GtkListStore") + (c-name "EomListStore") + (gtype-id "EOM_TYPE_LIST_STORE") +) + +(define-object Plugin + (in-module "Eom") + (parent "GObject") + (c-name "EomPlugin") + (gtype-id "EOM_TYPE_PLUGIN") +) + +(define-object PropertiesDialog + (in-module "Eom") + (parent "EomDialog") + (c-name "EomPropertiesDialog") + (gtype-id "EOM_TYPE_PROPERTIES_DIALOG") +) + +(define-object ScrollView + (in-module "Eom") + (parent "GtkTable") + (c-name "EomScrollView") + (gtype-id "EOM_TYPE_SCROLL_VIEW") +) + +(define-object Sidebar + (in-module "Eom") + (parent "GtkVBox") + (c-name "EomSidebar") + (gtype-id "EOM_TYPE_SIDEBAR") +) + +(define-object Statusbar + (in-module "Eom") + (parent "GtkStatusbar") + (c-name "EomStatusbar") + (gtype-id "EOM_TYPE_STATUSBAR") +) + +(define-object ThumbNav + (in-module "Eom") + (parent "GtkHBox") + (c-name "EomThumbNav") + (gtype-id "EOM_TYPE_THUMB_NAV") +) + +(define-object ThumbView + (in-module "Eom") + (parent "GtkIconView") + (c-name "EomThumbView") + (gtype-id "EOM_TYPE_THUMB_VIEW") +) + +(define-object Window + (in-module "Eom") + (parent "GtkWindow") + (c-name "EomWindow") + (gtype-id "EOM_TYPE_WINDOW") +) + +;; Enumerations and flags ... + +(define-flags ImageData + (in-module "Eom") + (c-name "EomImageData") + (gtype-id "EOM_TYPE_IMAGE_DATA") + (values + '("image" "EOM_IMAGE_DATA_IMAGE") + '("dimension" "EOM_IMAGE_DATA_DIMENSION") + '("exif" "EOM_IMAGE_DATA_EXIF") + ) +) + +(define-enum ImageError + (in-module "Eom") + (c-name "EomImageError") + (gtype-id "EOM_TYPE_IMAGE_ERROR") + (values + '("save-not-local" "EOM_IMAGE_ERROR_SAVE_NOT_LOCAL") + '("not-loaded" "EOM_IMAGE_ERROR_NOT_LOADED") + '("vfs" "EOM_IMAGE_ERROR_VFS") + '("file-exists" "EOM_IMAGE_ERROR_FILE_EXISTS") + '("tmp-file-failed" "EOM_IMAGE_ERROR_TMP_FILE_FAILED") + '("generic" "EOM_IMAGE_ERROR_GENERIC") + '("unknown" "EOM_IMAGE_ERROR_UNKNOWN") + ) +) + +(define-enum ImageStatus + (in-module "Eom") + (c-name "EomImageStatus") + (gtype-id "EOM_TYPE_IMAGE_STATUS") + (values + '("unknown" "EOM_IMAGE_STATUS_UNKNOWN") + '("loading" "EOM_IMAGE_STATUS_LOADING") + '("loaded" "EOM_IMAGE_STATUS_LOADED") + '("failed" "EOM_IMAGE_STATUS_FAILED") + ) +) + +(define-enum JobSaveResponse + (in-module "Eom") + (c-name "EomJobSaveResponse") + (gtype-id "EOM_TYPE_JOB_SAVE_RESPONSE") + (values + '("none" "EOM_SAVE_RESPONSE_NONE") + '("retry" "EOM_SAVE_RESPONSE_RETRY") + '("skip" "EOM_SAVE_RESPONSE_SKIP") + '("overwrite" "EOM_SAVE_RESPONSE_OVERWRITE") + '("cancel" "EOM_SAVE_RESPONSE_CANCEL") + '("last" "EOM_SAVE_RESPONSE_LAST") + ) +) + +(define-enum ListStoreColumn + (in-module "Eom") + (c-name "EomListStoreColumn") + (gtype-id "EOM_TYPE_LIST_STORE_COLUMN") + (values + '("thumbnail" "EOM_LIST_STORE_THUMBNAIL") + '("thumb-set" "EOM_LIST_STORE_THUMB_SET") + '("eom-image" "EOM_LIST_STORE_EOM_IMAGE") + '("eom-job" "EOM_LIST_STORE_EOM_JOB") + '("num-columns" "EOM_LIST_STORE_NUM_COLUMNS") + ) +) + +(define-enum PropertiesDialogPage + (in-module "Eom") + (c-name "EomPropertiesDialogPage") + (gtype-id "EOM_TYPE_PROPERTIES_DIALOG_PAGE") + (values + '("general" "EOM_PROPERTIES_DIALOG_PAGE_GENERAL") + '("exif" "EOM_PROPERTIES_DIALOG_PAGE_EXIF") + ) +) + +(define-enum TransparencyStyle + (in-module "Eom") + (c-name "EomTransparencyStyle") + (gtype-id "EOM_TYPE_TRANSPARENCY_STYLE") + (values + '("background" "EOM_TRANSP_BACKGROUND") + '("checked" "EOM_TRANSP_CHECKED") + '("color" "EOM_TRANSP_COLOR") + ) +) + +(define-enum ThumbNavMode + (in-module "Eom") + (c-name "EomThumbNavMode") + (gtype-id "EOM_TYPE_THUMB_NAV_MODE") + (values + '("one-row" "EOM_THUMB_NAV_MODE_ONE_ROW") + '("one-column" "EOM_THUMB_NAV_MODE_ONE_COLUMN") + '("multiple-rows" "EOM_THUMB_NAV_MODE_MULTIPLE_ROWS") + '("multiple-columns" "EOM_THUMB_NAV_MODE_MULTIPLE_COLUMNS") + ) +) + +(define-enum ThumbViewSelectionChange + (in-module "Eom") + (c-name "EomThumbViewSelectionChange") + (gtype-id "EOM_TYPE_THUMB_VIEW_SELECTION_CHANGE") + (values + '("left" "EOM_THUMB_VIEW_SELECT_LEFT") + '("right" "EOM_THUMB_VIEW_SELECT_RIGHT") + '("first" "EOM_THUMB_VIEW_SELECT_FIRST") + '("last" "EOM_THUMB_VIEW_SELECT_LAST") + ) +) + +(define-enum WindowMode + (in-module "Eom") + (c-name "EomWindowMode") + (gtype-id "EOM_TYPE_WINDOW_MODE") + (values + '("unknown" "EOM_WINDOW_MODE_UNKNOWN") + '("normal" "EOM_WINDOW_MODE_NORMAL") + '("fullscreen" "EOM_WINDOW_MODE_FULLSCREEN") + '("slideshow" "EOM_WINDOW_MODE_SLIDESHOW") + ) +) + +(define-enum WindowError + (in-module "Eom") + (c-name "EomWindowError") + (gtype-id "EOM_TYPE_WINDOW_ERROR") + (values + '("control-not-found" "EOM_WINDOW_ERROR_CONTROL_NOT_FOUND") + '("ui-not-found" "EOM_WINDOW_ERROR_UI_NOT_FOUND") + '("no-persist-file-interface" "EOM_WINDOW_ERROR_NO_PERSIST_FILE_INTERFACE") + '("io" "EOM_WINDOW_ERROR_IO") + '("trash-not-found" "EOM_WINDOW_ERROR_TRASH_NOT_FOUND") + '("generic" "EOM_WINDOW_ERROR_GENERIC") + '("unknown" "EOM_WINDOW_ERROR_UNKNOWN") + ) +) + +(define-flags StartupFlags + (in-module "Eom") + (c-name "EomStartupFlags") + (gtype-id "EOM_TYPE_STARTUP_FLAGS") + (values + '("fullscreen" "EOM_STARTUP_FULLSCREEN") + '("slide-show" "EOM_STARTUP_SLIDE_SHOW") + '("disable-collection" "EOM_STARTUP_DISABLE_COLLECTION") + ) +) + + +;; From eom-application.h + +(define-function eom_application_get_type + (c-name "eom_application_get_type") + (return-type "GType") +) + +(define-function eom_application_get_instance + (c-name "eom_application_get_instance") + (return-type "EomApplication*") +) + +(define-method shutdown + (of-object "EomApplication") + (c-name "eom_application_shutdown") + (return-type "none") +) + +(define-method open_window + (of-object "EomApplication") + (c-name "eom_application_open_window") + (return-type "gboolean") + (parameters + '("guint" "timestamp") + '("EomStartupFlags" "flags") + '("GError**" "error") + ) +) + +(define-method open_uri_list + (of-object "EomApplication") + (c-name "eom_application_open_uri_list") + (return-type "gboolean") + (parameters + '("GSList*" "uri_list") + '("guint" "timestamp") + '("EomStartupFlags" "flags") + '("GError**" "error") + ) +) + +(define-method get_windows + (of-object "EomApplication") + (c-name "eom_application_get_windows") + (return-type "GList*") +) + + + + +;; From eom-dialog.h + +(define-function eom_dialog_get_type + (c-name "eom_dialog_get_type") + (return-type "GType") +) + +(define-method construct + (of-object "EomDialog") + (c-name "eom_dialog_construct") + (return-type "none") + (parameters + '("const-gchar*" "glade_file") + '("const-gchar*" "dlg_node") + ) +) + +(define-method show + (of-object "EomDialog") + (c-name "eom_dialog_show") + (return-type "none") +) + +(define-method hide + (of-object "EomDialog") + (c-name "eom_dialog_hide") + (return-type "none") +) + +(define-method get_controls + (of-object "EomDialog") + (c-name "eom_dialog_get_controls") + (return-type "none") + (parameters + '("const-gchar*" "property_id") + ) + (varargs #t) +) + + + +;; From eom-image.h + +(define-function eom_image_get_type + (c-name "eom_image_get_type") + (return-type "GType") +) + +(define-function eom_image_new + (c-name "eom_image_new") + (is-constructor-of "EomImage") + (return-type "EomImage*") + (parameters + '("const-char*" "txt_uri") + ) +) + +(define-function eom_image_new_file + (c-name "eom_image_new_file") + (return-type "EomImage*") + (parameters + '("GFile*" "file") + ) +) + +(define-method has_data + (of-object "EomImage") + (c-name "eom_image_has_data") + (return-type "gboolean") + (parameters + '("EomImageData" "data") + ) +) + +(define-method load + (of-object "EomImage") + (c-name "eom_image_load") + (return-type "gboolean") + (parameters + '("EomImageData" "data2read") + '("EomJob*" "job" (null-ok)) + '("GError**" "error") + ) +) + +(define-method set_thumbnail + (of-object "EomImage") + (c-name "eom_image_set_thumbnail") + (return-type "none") + (parameters + '("GdkPixbuf*" "pixbuf") + ) +) + +(define-method get_pixbuf + (of-object "EomImage") + (c-name "eom_image_get_pixbuf") + (return-type "GdkPixbuf*") +) + +(define-method get_thumbnail + (of-object "EomImage") + (c-name "eom_image_get_thumbnail") + (return-type "GdkPixbuf*") +) + +(define-method get_size + (of-object "EomImage") + (c-name "eom_image_get_size") + (return-type "none") + (parameters + '("gint*" "width") + '("gint*" "height") + ) +) + +(define-method get_bytes + (of-object "EomImage") + (c-name "eom_image_get_bytes") + (return-type "goffset") +) + +(define-method is_modified + (of-object "EomImage") + (c-name "eom_image_is_modified") + (return-type "gboolean") +) + +(define-method modified + (of-object "EomImage") + (c-name "eom_image_modified") + (return-type "none") +) + +(define-method get_caption + (of-object "EomImage") + (c-name "eom_image_get_caption") + (return-type "const-gchar*") +) + +(define-method get_exif_info + (of-object "EomImage") + (c-name "eom_image_get_exif_info") + (return-type "gpointer") +) + +(define-method get_file + (of-object "EomImage") + (c-name "eom_image_get_file") + (return-type "GFile*") +) + +(define-method get_uri_for_display + (of-object "EomImage") + (c-name "eom_image_get_uri_for_display") + (return-type "gchar*") +) + +(define-method undo + (of-object "EomImage") + (c-name "eom_image_undo") + (return-type "none") +) + + + +;; From eom-job-queue.h + +(define-method queue_add_job + (of-object "EomJob") + (c-name "eom_job_queue_add_job") + (return-type "none") +) + +(define-method queue_remove_job + (of-object "EomJob") + (c-name "eom_job_queue_remove_job") + (return-type "gboolean") +) + + + +;; From eom-jobs.h + +(define-function eom_job_get_type + (c-name "eom_job_get_type") + (return-type "GType") +) + +(define-method finished + (of-object "EomJob") + (c-name "eom_job_finished") + (return-type "none") +) + +(define-method run + (of-object "EomJob") + (c-name "eom_job_run") + (return-type "none") +) + +(define-method set_progress + (of-object "EomJob") + (c-name "eom_job_set_progress") + (return-type "none") + (parameters + '("float" "progress") + ) +) + +(define-function eom_job_thumbnail_get_type + (c-name "eom_job_thumbnail_get_type") + (return-type "GType") +) + +(define-function eom_job_thumbnail_new + (c-name "eom_job_thumbnail_new") + (is-constructor-of "EomJobThumbnail") + (return-type "EomJob*") + (parameters + '("EomImage*" "image") + ) +) + +(define-function eom_job_load_get_type + (c-name "eom_job_load_get_type") + (return-type "GType") +) + +(define-function eom_job_load_new + (c-name "eom_job_load_new") + (is-constructor-of "EomJobLoad") + (return-type "EomJob*") + (parameters + '("EomImage*" "image") + '("EomImageData" "data") + ) +) + +(define-function eom_job_model_get_type + (c-name "eom_job_model_get_type") + (return-type "GType") +) + +(define-function eom_job_model_new + (c-name "eom_job_model_new") + (is-constructor-of "EomJobModel") + (return-type "EomJob*") + (parameters + '("GSList*" "uri_list") + ) +) + +(define-function eom_job_transform_get_type + (c-name "eom_job_transform_get_type") + (return-type "GType") +) + +(define-function eom_job_transform_new + (c-name "eom_job_transform_new") + (is-constructor-of "EomJobTransform") + (return-type "EomJob*") + (parameters + '("GList*" "images") + '("EomTransform*" "trans") + ) +) + +;; From eom-list-store.h + +(define-function eom_list_store_get_type + (c-name "eom_list_store_get_type") + (return-type "GType") +) + +(define-function eom_list_store_new + (c-name "eom_list_store_new") + (is-constructor-of "EomListStore") + (return-type "GtkListStore*") +) + +(define-method append_image + (of-object "EomListStore") + (c-name "eom_list_store_append_image") + (return-type "none") + (parameters + '("EomImage*" "image") + ) +) + +(define-method add_uris + (of-object "EomListStore") + (c-name "eom_list_store_add_uris") + (return-type "none") + (parameters + '("GList*" "uri_list") + ) +) + +(define-method remove_image + (of-object "EomListStore") + (c-name "eom_list_store_remove_image") + (return-type "none") + (parameters + '("EomImage*" "image") + ) +) + +(define-method get_pos_by_image + (of-object "EomListStore") + (c-name "eom_list_store_get_pos_by_image") + (return-type "gint") + (parameters + '("EomImage*" "image") + ) +) + +(define-method get_image_by_pos + (of-object "EomListStore") + (c-name "eom_list_store_get_image_by_pos") + (return-type "EomImage*") + (parameters + '("gint" "pos") + ) +) + +(define-method get_pos_by_iter + (of-object "EomListStore") + (c-name "eom_list_store_get_pos_by_iter") + (return-type "gint") + (parameters + '("GtkTreeIter*" "iter") + ) +) + +(define-method length + (of-object "EomListStore") + (c-name "eom_list_store_length") + (return-type "gint") +) + +(define-method get_initial_pos + (of-object "EomListStore") + (c-name "eom_list_store_get_initial_pos") + (return-type "gint") +) + +;; From eom-plugin.h + +(define-function eom_plugin_get_type + (c-name "eom_plugin_get_type") + (return-type "GType") +) + +(define-method activate + (of-object "EomPlugin") + (c-name "eom_plugin_activate") + (return-type "none") + (parameters + '("EomWindow*" "window") + ) +) + +(define-method deactivate + (of-object "EomPlugin") + (c-name "eom_plugin_deactivate") + (return-type "none") + (parameters + '("EomWindow*" "window") + ) +) + +(define-method update_ui + (of-object "EomPlugin") + (c-name "eom_plugin_update_ui") + (return-type "none") + (parameters + '("EomWindow*" "window") + ) +) + +(define-method is_configurable + (of-object "EomPlugin") + (c-name "eom_plugin_is_configurable") + (return-type "gboolean") +) + +(define-method create_configure_dialog + (of-object "EomPlugin") + (c-name "eom_plugin_create_configure_dialog") + (return-type "GtkWidget*") +) + + + +;; From eom-properties-dialog.h + +(define-function eom_properties_dialog_get_type + (c-name "eom_properties_dialog_get_type") + (return-type "GType") +) + +(define-function eom_properties_dialog_new + (c-name "eom_properties_dialog_new") + (is-constructor-of "EomPropertiesDialog") + (return-type "GObject*") + (parameters + '("GtkWindow*" "parent") + '("EomThumbView*" "thumbview") + '("GtkAction*" "next_image_action") + '("GtkAction*" "previous_image_action") + ) +) + +(define-method update + (of-object "EomPropertiesDialog") + (c-name "eom_properties_dialog_update") + (return-type "none") + (parameters + '("EomImage*" "image") + ) +) + +(define-method set_page + (of-object "EomPropertiesDialog") + (c-name "eom_properties_dialog_set_page") + (return-type "none") + (parameters + '("EomPropertiesDialogPage" "page") + ) +) + + + +;; From eom-scroll-view.h + +(define-function eom_scroll_view_get_type + (c-name "eom_scroll_view_get_type") + (return-type "GType") +) + +(define-function eom_scroll_view_new + (c-name "eom_scroll_view_new") + (is-constructor-of "EomScrollView") + (return-type "GtkWidget*") +) + +(define-method set_image + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_image") + (return-type "none") + (parameters + '("EomImage*" "image") + ) +) + +(define-method set_zoom_upscale + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_zoom_upscale") + (return-type "none") + (parameters + '("gboolean" "upscale") + ) +) + +(define-method set_zoom_multiplier + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_zoom_multiplier") + (return-type "none") + (parameters + '("gdouble" "multiplier") + ) +) + +(define-method set_antialiasing_in + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_antialiasing_in") + (return-type "none") + (parameters + '("gboolean" "state") + ) +) + +(define-method set_antialiasing_out + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_antialiasing_out") + (return-type "none") + (parameters + '("gboolean" "state") + ) +) + +(define-method set_transparency + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_transparency") + (return-type "none") + (parameters + '("EomTransparencyStyle" "style") + '("GdkColor*" "color") + ) +) + +(define-method scrollbars_visible + (of-object "EomScrollView") + (c-name "eom_scroll_view_scrollbars_visible") + (return-type "gboolean") +) + +(define-method zoom_in + (of-object "EomScrollView") + (c-name "eom_scroll_view_zoom_in") + (return-type "none") + (parameters + '("gboolean" "smooth") + ) +) + +(define-method zoom_out + (of-object "EomScrollView") + (c-name "eom_scroll_view_zoom_out") + (return-type "none") + (parameters + '("gboolean" "smooth") + ) +) + +(define-method zoom_fit + (of-object "EomScrollView") + (c-name "eom_scroll_view_zoom_fit") + (return-type "none") +) + +(define-method set_zoom + (of-object "EomScrollView") + (c-name "eom_scroll_view_set_zoom") + (return-type "none") + (parameters + '("double" "zoom") + ) +) + +(define-method get_zoom + (of-object "EomScrollView") + (c-name "eom_scroll_view_get_zoom") + (return-type "double") +) + +(define-method get_zoom_is_min + (of-object "EomScrollView") + (c-name "eom_scroll_view_get_zoom_is_min") + (return-type "gboolean") +) + +(define-method get_zoom_is_max + (of-object "EomScrollView") + (c-name "eom_scroll_view_get_zoom_is_max") + (return-type "gboolean") +) + +(define-method show_cursor + (of-object "EomScrollView") + (c-name "eom_scroll_view_show_cursor") + (return-type "none") +) + +(define-method hide_cursor + (of-object "EomScrollView") + (c-name "eom_scroll_view_hide_cursor") + (return-type "none") +) + + + +;; From eom-sidebar.h + +(define-function eom_sidebar_get_type + (c-name "eom_sidebar_get_type") + (return-type "GType") +) + +(define-function eom_sidebar_new + (c-name "eom_sidebar_new") + (is-constructor-of "EomSidebar") + (return-type "GtkWidget*") +) + +(define-method add_page + (of-object "EomSidebar") + (c-name "eom_sidebar_add_page") + (return-type "none") + (parameters + '("const-gchar*" "title") + '("GtkWidget*" "main_widget") + ) +) + +(define-method remove_page + (of-object "EomSidebar") + (c-name "eom_sidebar_remove_page") + (return-type "none") + (parameters + '("GtkWidget*" "main_widget") + ) +) + +(define-method set_page + (of-object "EomSidebar") + (c-name "eom_sidebar_set_page") + (return-type "none") + (parameters + '("GtkWidget*" "main_widget") + ) +) + +(define-method get_n_pages + (of-object "EomSidebar") + (c-name "eom_sidebar_get_n_pages") + (return-type "gint") +) + +(define-method is_empty + (of-object "EomSidebar") + (c-name "eom_sidebar_is_empty") + (return-type "gboolean") +) + + + +;; From eom-statusbar.h + +(define-function eom_statusbar_get_type + (c-name "eom_statusbar_get_type") + (return-type "GType") +) + +(define-function eom_statusbar_new + (c-name "eom_statusbar_new") + (is-constructor-of "EomStatusbar") + (return-type "GtkWidget*") +) + +(define-method set_image_number + (of-object "EomStatusbar") + (c-name "eom_statusbar_set_image_number") + (return-type "none") + (parameters + '("gint" "num") + '("gint" "tot") + ) +) + +(define-method set_progress + (of-object "EomStatusbar") + (c-name "eom_statusbar_set_progress") + (return-type "none") + (parameters + '("gdouble" "progress") + ) +) + + + +;; From eom-thumb-nav.h + +(define-function eom_thumb_nav_get_type + (c-name "eom_thumb_nav_get_type") + (return-type "GType") +) + +(define-function eom_thumb_nav_new + (c-name "eom_thumb_nav_new") + (is-constructor-of "EomThumbNav") + (return-type "GtkWidget*") + (parameters + '("GtkWidget*" "thumbview") + '("EomThumbNavMode" "mode") + '("gboolean" "show_buttons") + ) +) + +(define-method get_show_buttons + (of-object "EomThumbNav") + (c-name "eom_thumb_nav_get_show_buttons") + (return-type "gboolean") +) + +(define-method set_show_buttons + (of-object "EomThumbNav") + (c-name "eom_thumb_nav_set_show_buttons") + (return-type "none") + (parameters + '("gboolean" "show_buttons") + ) +) + +(define-method get_mode + (of-object "EomThumbNav") + (c-name "eom_thumb_nav_get_mode") + (return-type "EomThumbNavMode") +) + +(define-method set_mode + (of-object "EomThumbNav") + (c-name "eom_thumb_nav_set_mode") + (return-type "none") + (parameters + '("EomThumbNavMode" "mode") + ) +) + + + +;; From eom-thumb-view.h + +(define-function eom_thumb_view_get_type + (c-name "eom_thumb_view_get_type") + (return-type "GType") +) + +(define-function eom_thumb_view_new + (c-name "eom_thumb_view_new") + (is-constructor-of "EomThumbView") + (return-type "GtkWidget*") +) + +(define-method set_model + (of-object "EomThumbView") + (c-name "eom_thumb_view_set_model") + (return-type "none") + (parameters + '("EomListStore*" "store") + ) +) + +(define-method set_item_height + (of-object "EomThumbView") + (c-name "eom_thumb_view_set_item_height") + (return-type "none") + (parameters + '("gint" "height") + ) +) + +(define-method get_n_selected + (of-object "EomThumbView") + (c-name "eom_thumb_view_get_n_selected") + (return-type "guint") +) + +(define-method get_first_selected_image + (of-object "EomThumbView") + (c-name "eom_thumb_view_get_first_selected_image") + (return-type "EomImage*") +) + +(define-method get_selected_images + (of-object "EomThumbView") + (c-name "eom_thumb_view_get_selected_images") + (return-type "GList*") +) + +(define-method select_single + (of-object "EomThumbView") + (c-name "eom_thumb_view_select_single") + (return-type "none") + (parameters + '("EomThumbViewSelectionChange" "change") + ) +) + +(define-method set_current_image + (of-object "EomThumbView") + (c-name "eom_thumb_view_set_current_image") + (return-type "none") + (parameters + '("EomImage*" "image") + '("gboolean" "deselect_other") + ) +) + +(define-method set_thumbnail_popup + (of-object "EomThumbView") + (c-name "eom_thumb_view_set_thumbnail_popup") + (return-type "none") + (parameters + '("GtkMenu*" "menu") + ) +) + + + +;; From eom-window.h + +(define-function eom_window_get_type + (c-name "eom_window_get_type") + (return-type "GType") +) + +(define-function eom_window_new + (c-name "eom_window_new") + (is-constructor-of "EomWindow") + (return-type "GtkWidget*") + (parameters + '("EomStartupFlags" "flags") + ) +) + +(define-method get_mode + (of-object "EomWindow") + (c-name "eom_window_get_mode") + (return-type "EomWindowMode") +) + +(define-method set_mode + (of-object "EomWindow") + (c-name "eom_window_set_mode") + (return-type "none") + (parameters + '("EomWindowMode" "mode") + ) +) + +(define-method get_ui_manager + (of-object "EomWindow") + (c-name "eom_window_get_ui_manager") + (return-type "GtkUIManager*") +) + +(define-method get_store + (of-object "EomWindow") + (c-name "eom_window_get_store") + (return-type "EomListStore*") +) + +(define-method get_view + (of-object "EomWindow") + (c-name "eom_window_get_view") + (return-type "GtkWidget*") +) + +(define-method get_sidebar + (of-object "EomWindow") + (c-name "eom_window_get_sidebar") + (return-type "GtkWidget*") +) + +(define-method get_thumb_view + (of-object "EomWindow") + (c-name "eom_window_get_thumb_view") + (return-type "GtkWidget*") +) + +(define-method get_thumb_nav + (of-object "EomWindow") + (c-name "eom_window_get_thumb_nav") + (return-type "GtkWidget*") +) + +(define-method get_statusbar + (of-object "EomWindow") + (c-name "eom_window_get_statusbar") + (return-type "GtkWidget*") +) + +(define-method get_image + (of-object "EomWindow") + (c-name "eom_window_get_image") + (return-type "EomImage*") +) + +(define-method open_uri_list + (of-object "EomWindow") + (c-name "eom_window_open_uri_list") + (return-type "none") + (parameters + '("GSList*" "uri_list") + ) +) + +(define-method is_empty + (of-object "EomWindow") + (c-name "eom_window_is_empty") + (return-type "gboolean") +) + + diff --git a/bindings/python/eom.override b/bindings/python/eom.override new file mode 100644 index 0000000..d95cf36 --- /dev/null +++ b/bindings/python/eom.override @@ -0,0 +1,126 @@ +%% +headers +#define NO_IMPORT +#include "pygobject.h" +#include + +#include "eom-enum-types.h" +#include "eom-application.h" +#include "eom-window.h" +#include "eom-dialog.h" +#include "eom-properties-dialog.h" +#include "eom-statusbar.h" +#include "eom-sidebar.h" +#include "eom-thumb-nav.h" +#include "eom-image.h" +#include "eom-scroll-view.h" +#include "eom-thumb-view.h" +#include "eom-list-store.h" +#include "eom-job-queue.h" +#include "eom-jobs.h" +#include "eom-plugin.h" + +void pyeom_register_classes (PyObject *d); +void pyeom_add_constants (PyObject *module, const gchar *strip_prefix); + +static PyObject * +_helper_wrap_gobject_glist (const GList *list) +{ + PyObject *py_list; + const GList *tmp; + + if ((py_list = PyList_New(0)) == NULL) { + return NULL; + } + for (tmp = list; tmp != NULL; tmp = tmp->next) { + PyObject *py_obj = pygobject_new(G_OBJECT(tmp->data)); + + if (py_obj == NULL) { + Py_DECREF(py_list); + return NULL; + } + PyList_Append(py_list, py_obj); + Py_DECREF(py_obj); + } + return py_list; +} +%% +modulename eom +%% +import gtk.Widget as PyGtkWidget_Type +import gobject.GObject as PyGObject_Type +import gtk.Window as PyGtkWindow_Type +import gtk.Action as PyGtkAction_Type +import gtk.Statusbar as PyGtkStatusbar_Type +import gtk.Menu as PyGtkMenu_Type +import gtk.gdk.Pixbuf as PyGdkPixbuf_Type +import gtk.FileChooserDialog as PyGtkFileChooserDialog_Type +import gtk.ListStore as PyGtkListStore_Type +import gtk.HBox as PyGtkHBox_Type +import gtk.VBox as PyGtkVBox_Type +import gtk.Table as PyGtkTable_Type +import gtk.IconView as PyGtkIconView_Type +import gio.File as PyGFile_Type +%% +ignore-glob + *_get_type +%% +override eom_application_get_windows +static PyObject * +_wrap_eom_application_get_windows(PyGObject *self) +{ + const GList *list; + PyObject *py_list; + + list = eom_application_get_windows (EOM_APPLICATION (self->obj)); + + py_list = _helper_wrap_gobject_glist (list); + + return py_list; +} +%% +override eom_application_open_uri_list kwargs +static PyObject * +_wrap_eom_application_open_uri_list (PyGObject *self, + PyObject *args, + PyObject *kwargs) +{ + static char *kwlist[] = { "uri_list", NULL }; + PyObject *list, *item; + GSList *glist = NULL; + int len, i; + + if (!PyArg_ParseTupleAndKeywords (args, kwargs, + "O:EomApplication.open_uri_list", kwlist, + &list)) + return NULL; + + if (!PySequence_Check (list)) { + PyErr_SetString (PyExc_TypeError, + "first argument must be a sequence"); + return NULL; + } + + len = PySequence_Length (list); + + for (i = 0; i < len; i++) + { + item = PySequence_GetItem (list, i); + Py_DECREF(item); + + if (!PyString_Check (item)) { + PyErr_SetString (PyExc_TypeError, + "sequence item not a string"); + g_slist_free (glist); + return NULL; + } + + glist = g_slist_append (glist, g_strdup (PyString_AsString (item))); + } + + eom_application_open_uri_list (EOM_APPLICATION (self->obj), glist, GDK_CURRENT_TIME, 0, NULL); + + g_slist_free (glist); + Py_INCREF (Py_None); + return Py_None; +} -- cgit v1.2.1