+++ /dev/null
-*.o
-*.lo
-*.la
-.deps
-.libs
-Makefile
-Makefile.in
-config.*
-/aclocal.m4
-/autom4te.cache
-/compile
-/configure
-/depcomp
-/eeze.pc
-/eeze.spec
-/install-sh
-/libtool
-/ltmain.sh
-/missing
-/stamp-h1
-/doc/eeze.dox
-/ABOUT-NLS
-/m4/libtool.m4
-/m4/ltoptions.m4
-/m4/ltsugar.m4
-/m4/ltversion.m4
-/m4/lt~obsolete.m4
-/src/bin/eeze_udev_test
-/doc/Doxyfile
-src/bin/eeze_disk_ls
-src/bin/eeze_mount
-src/bin/eeze_scanner
-src/bin/eeze_sensor_test
-src/bin/eeze_umount
-
+++ /dev/null
-Mike Blumenkrantz (zmike/discomfitor) <michael.blumenkrantz@gmail.com>
-Cedric Bail <cedric@efl.so>
-Mikael Sans <sans.mikael@gmail.com>
-Christophe Dumez <christophe.dumez@intel.com>
-Stefan Schmidt <stefan@datenfreihafen.org>
+++ /dev/null
-Copyright notice for Eeze:
-
-Copyright (C) 2011 Mike Blumenkrantz and various contributors (see AUTHORS)
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
-OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+++ /dev/null
-Installation Instructions
-*************************
-
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-
- Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved. This file is offered as-is,
-without warranty of any kind.
-
-Basic Installation
-==================
-
- Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package. The following
-more-detailed instructions are generic; see the `README' file for
-instructions specific to this package. Some packages provide this
-`INSTALL' file but do not implement all of the features documented
-below. The lack of an optional feature in a given package is not
-necessarily a bug. More recommendations for GNU packages can be found
-in *note Makefile Conventions: (standards)Makefile Conventions.
-
- 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 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.
-
- Running `configure' might take a while. 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, generally using the just-built uninstalled binaries.
-
- 4. Type `make install' to install the programs and any data files and
- documentation. When installing into a prefix owned by root, it is
- recommended that the package be configured and built as a regular
- user, and only the `make install' phase executed with root
- privileges.
-
- 5. Optionally, type `make installcheck' to repeat any self-tests, but
- this time using the binaries in their final installed location.
- This target does not install anything. Running this target as a
- regular user, particularly if the prior `make install' required
- root privileges, verifies that the installation completed
- correctly.
-
- 6. 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.
-
- 7. Often, you can also type `make uninstall' to remove the installed
- files again. In practice, not all packages have tested that
- uninstallation works correctly, even though it is required by the
- GNU Coding Standards.
-
- 8. Some packages, particularly those that use Automake, provide `make
- distcheck', which can by used by developers to test that all other
- targets like `make install' and `make uninstall' work correctly.
- This target is generally not run by end users.
-
-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=c99 CFLAGS=-g 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 can use 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 `..'. This
-is known as a "VPATH" build.
-
- With a non-GNU `make', it is safer 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.
-
- On MacOS X 10.5 and later systems, you can create libraries and
-executables that work on multiple system types--known as "fat" or
-"universal" binaries--by specifying multiple `-arch' options to the
-compiler but only a single `-arch' option to the preprocessor. Like
-this:
-
- ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
- CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
- CPP="gcc -E" CXXCPP="g++ -E"
-
- This is not guaranteed to produce working output in all cases, you
-may have to build one architecture at a time and combine the results
-using the `lipo' tool if you have problems.
-
-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', where PREFIX must be an
-absolute file name.
-
- 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. In general, the
-default for these options is expressed in terms of `${prefix}', so that
-specifying just `--prefix' will affect all of the other directory
-specifications that were not explicitly provided.
-
- The most portable way to affect installation locations is to pass the
-correct locations to `configure'; however, many packages provide one or
-both of the following shortcuts of passing variable assignments to the
-`make install' command line to change installation locations without
-having to reconfigure or recompile.
-
- The first method involves providing an override variable for each
-affected directory. For example, `make install
-prefix=/alternate/directory' will choose an alternate location for all
-directory configuration variables that were expressed in terms of
-`${prefix}'. Any directories that were specified during `configure',
-but not in terms of `${prefix}', must each be overridden at install
-time for the entire installation to be relocated. The approach of
-makefile variable overrides for each directory variable is required by
-the GNU Coding Standards, and ideally causes no recompilation.
-However, some platforms have known limitations with the semantics of
-shared libraries that end up requiring recompilation when using this
-method, particularly noticeable in packages that use GNU Libtool.
-
- The second method involves providing the `DESTDIR' variable. For
-example, `make install DESTDIR=/alternate/directory' will prepend
-`/alternate/directory' before all installation names. The approach of
-`DESTDIR' overrides is not required by the GNU Coding Standards, and
-does not work on platforms that have drive letters. On the other hand,
-it does better at avoiding recompilation issues, and works well even
-when some directory options were not specified in terms of `${prefix}'
-at `configure' time.
-
-Optional Features
-=================
-
- 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'.
-
- 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.
-
- Some packages offer the ability to configure how verbose the
-execution of `make' will be. For these packages, running `./configure
---enable-silent-rules' sets the default to minimal output, which can be
-overridden with `make V=1'; while running `./configure
---disable-silent-rules' sets the default to verbose, which can be
-overridden with `make V=0'.
-
-Particular systems
-==================
-
- On HP-UX, the default C compiler is not ANSI C compatible. If GNU
-CC is not installed, it is recommended to use the following options in
-order to use an ANSI C compiler:
-
- ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
-
-and if that doesn't work, install pre-built binaries of GCC for HP-UX.
-
- On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file. The option `-nodtk' can be used as
-a workaround. If GNU CC is not installed, it is therefore recommended
-to try
-
- ./configure CC="cc"
-
-and if that doesn't work, try
-
- ./configure CC="cc -nodtk"
-
- On Solaris, don't put `/usr/ucb' early in your `PATH'. This
-directory contains several dysfunctional programs; working variants of
-these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
-in your `PATH', put it _after_ `/usr/bin'.
-
- On Haiku, software installed for all users goes in `/boot/common',
-not `/usr/local'. It is recommended to use the following options:
-
- ./configure --prefix=/boot/common
-
-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).
-
-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug. Until the bug is fixed you can use this workaround:
-
- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
-
-`configure' Invocation
-======================
-
- `configure' recognizes the following options to control how it
-operates.
-
-`--help'
-`-h'
- Print a summary of all of the options to `configure', and exit.
-
-`--help=short'
-`--help=recursive'
- Print a summary of the options unique to this package's
- `configure', and exit. The `short' variant lists options used
- only in the top level, while the `recursive' variant lists options
- also present in any nested packages.
-
-`--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.
-
-`--prefix=DIR'
- Use DIR as the installation prefix. *note Installation Names::
- for more details, including other options available for fine-tuning
- the installation locations.
-
-`--no-create'
-`-n'
- Run the configure checks, but stop before creating any output
- files.
-
-`configure' also accepts some other, not widely useful, options. Run
-`configure --help' for more details.
-
+++ /dev/null
-ACLOCAL_AMFLAGS = -I m4
-
-SUBDIRS = src doc
-
-MAINTAINERCLEANFILES = \
-Makefile.in \
-aclocal.m4 \
-compile \
-config.guess \
-config.h.in \
-config.h.in~ \
-config.sub \
-configure \
-depcomp \
-install-sh \
-ltconfig \
-ltmain.sh \
-missing \
-eeze*doc*tar* \
-eeze.pc \
-eeze.spec \
-m4/l*
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = eeze.pc
-
-EXTRA_DIST = \
-AUTHORS \
-COPYING \
-README \
-$(pkgconfig_DATA) \
-autogen.sh \
-eeze.pc.in \
-eeze.spec.in \
-eeze.spec \
-m4/efl_doxygen.m4
-
-.PHONY: doc
-
-# Documentation
-
-doc: all
- @echo "entering doc/"
- $(MAKE) -C doc doc
-
-# Unit tests
-
-if EFL_ENABLE_TESTS
-
-lcov-reset:
- @rm -rf $(top_builddir)/coverage
- @find $(top_builddir) -name "*.gcda" -delete
- @lcov --zerocounters --directory $(top_builddir)
-
-lcov-report:
- @mkdir $(top_builddir)/coverage
- lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
- lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
- genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
- @echo "Coverage Report at $(top_builddir)/coverage/html"
-
-check-local:
- @$(MAKE) $(AM_MAKEFLAGS) lcov-reset
- @EEZE_USE_IN_TREE_MODULES=1 ./src/tests/eeze_suite
- @$(MAKE) $(AM_MAKEFLAGS) lcov-report
-
-else
-
-lcov-reset:
- @echo "reconfigure with --enable-tests"
-
-lcov-report:
- @echo "reconfigure with --enable-tests"
-
-check-local:
- @echo "reconfigure with --enable-tests"
-
-endif
-
-clean-local:
- @rm -rf coverage
+++ /dev/null
-udev: switch enum to bitmasks with categories probably
- documentation for all types
- more functions or something?
-
-TO BE ADDED
-automounter
-libdevinfo for solaris
-???
-Profit
+++ /dev/null
-#!/bin/sh
-
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
-touch README
-touch ABOUT-NLS
-
-echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
-echo "Running autoheader..." ; autoheader || exit 1
-echo "Running autoconf..." ; autoconf || exit 1
-echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
-echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
-
-W=0
-
-rm -f config.cache-env.tmp
-echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp
-echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp
-echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp
-echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\"" >> config.cache-env.tmp
-echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp
-
-cmp config.cache-env.tmp config.cache-env >> /dev/null
-if [ $? -ne 0 ]; then
- W=1;
-fi
-
-if [ $W -ne 0 ]; then
- echo "Cleaning configure cache...";
- rm -f config.cache config.cache-env
- mv config.cache-env.tmp config.cache-env
-else
- rm -f config.cache-env.tmp
-fi
-
-if [ -z "$NOCONFIGURE" ]; then
- ./configure -C "$@"
-fi
+++ /dev/null
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-m4_define([v_maj], [1])
-m4_define([v_min], [7])
-m4_define([v_mic], [99])
-m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
-m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
-##-- When released, remove the dnl on the below line
-dnl m4_undefine([v_rev])
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
-m4_define([lt_cur], m4_eval(v_maj + v_min))
-m4_define([lt_rev], v_mic)
-m4_define([lt_age], v_min)
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-
-AC_INIT([eeze], [v_ver], [enlightenment-devel@lists.sourceforge.net])
-AC_PREREQ([2.52])
-AC_CONFIG_SRCDIR([configure.ac])
-AC_CONFIG_MACRO_DIR([m4])
-
-AC_CONFIG_HEADERS([config.h])
-AH_TOP([
-#ifndef EFL_CONFIG_H__
-#define EFL_CONFIG_H__
-])
-AH_BOTTOM([
-#endif /* EFL_CONFIG_H__ */
-])
-
-AM_INIT_AUTOMAKE([1.6 dist-bzip2])
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-
-define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
-define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
-AC_PROG_LIBTOOL
-
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
-m4_ifdef([v_rel], , [m4_define([v_rel], [])])
-AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
-AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
-AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
-AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
-version_info="lt_cur:lt_rev:lt_age"
-release_info="v_rel"
-AC_SUBST(version_info)
-AC_SUBST(release_info)
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
-VMAJ=v_maj
-AC_SUBST(VMAJ)
-
-### Needed information
-
-AC_CANONICAL_BUILD
-AC_CANONICAL_HOST
-
-requirement_eeze="ecore >= 1.6.99 eina >= 1.6.99 libudev"
-
-
-### Checks for programs
-AC_PROG_CC
-AM_PROG_CC_C_O
-AC_C___ATTRIBUTE__
-
-# pkg-config
-PKG_PROG_PKG_CONFIG
-
-# Check whether pkg-config supports Requires.private
-AS_IF(
- [$PKG_CONFIG --atleast-pkgconfig-version 0.22],
- [pkgconfig_requires_private="Requires.private"],
- [pkgconfig_requires_private="Requires"]
-)
-AC_SUBST(pkgconfig_requires_private)
-
-# doxygen program for documentation building
-
-EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
-
-
-### Checks for libraries
-
-PKG_CHECK_MODULES([EEZE], [${requirement_eeze}])
-
-udev_version=$(pkg-config libudev --modversion)
-
-if test $udev_version -lt 143;then
- AC_MSG_ERROR([udev version is too old!])
-elif test $udev_version -lt 148;then
- AC_MSG_WARN([Old udev version detected, enabling compat code])
- AC_DEFINE([OLD_UDEV_RRRRRRRRRRRRRR],[1],[compat functionality for udev < 148])
-fi
-
-eeze_mount=
-PKG_CHECK_EXISTS([mount >= 2.18.0],
- [
- AC_DEFINE([HAVE_EEZE_MOUNT], [1], [Eeze is mount-capable])
- AM_CONDITIONAL([HAVE_EEZE_MOUNT], [true])
- eeze_mount="yes"
- ],
- AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
-)
-
-if test "x$eeze_mount" = "xyes";then
- AC_ARG_WITH([mount], [AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@])], [with_mount=$withval], [with_mount="detect"])
- AC_ARG_WITH([umount], [AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@])], [with_umount=$withval], [with_umount="detect"])
- AC_ARG_WITH([eject], [AS_HELP_STRING([--with-eject], [specify eject bin @<:@default=detect@:>@])], [with_eject=$withval], [with_eject="detect"])
- PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.18.0])
- mount_v=$(pkg-config --modversion mount)
- PKG_CHECK_MODULES([ECORE_FILE], [ecore-file >= 1.6.99])
- PKG_CHECK_MODULES([EET], [eet >= 1.6.99])
- PKG_CHECK_MODULES([ECORE_CON], [ecore-con >= 1.6.99])
-
- if test "x$with_mount" = "xdetect";then
- AC_PATH_PROG([with_mount], [mount], [])
- fi
- if test -z "$with_mount" ; then
- AC_DEFINE_UNQUOTED([MOUNTABLE], [0], [whether mount is available])
- else
- AC_DEFINE_UNQUOTED([MOUNTABLE], [1], [whether mount is available])
- fi
- AC_DEFINE_UNQUOTED([EEZE_MOUNT_BIN], ["$with_mount"], [mount bin to use])
-
- if test "x$with_umount" = "xdetect";then
- AC_PATH_PROG([with_umount], [umount], [])
- fi
- if test -z "$with_umount" ; then
- AC_DEFINE_UNQUOTED([UNMOUNTABLE], [0], [whether umount is available])
- else
- AC_DEFINE_UNQUOTED([UNMOUNTABLE], [1], [whether umount is available])
- fi
- AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use])
-
- if test "x$with_eject" = "xdetect";then
- AC_PATH_PROG([with_eject], [eject], [])
- fi
- if test -z "$with_eject" ; then
- AC_DEFINE_UNQUOTED([EJECTABLE], [0], [whether eject is available])
- else
- AC_DEFINE_UNQUOTED([EJECTABLE], [1], [whether eject is available])
- fi
- AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use])
-fi
-
-want_mtab=
-AC_ARG_ENABLE([mtab],
- [AC_HELP_STRING([--enable-mtab],
- [force use of mtab for mount info @<:@default=detect@:>@])],
- [
- if test "x${enableval}" = "xyes" ; then
- want_mtab="yes"
- else
- want_mtab="no"
- fi],
- [want_mtab="auto"])
-
-
-if test "x${want_mtab}" = "xyes" ; then
- AM_CONDITIONAL([OLD_LIBMOUNT], [false])
- AM_CONDITIONAL([NEW_LIBMOUNT], [false])
-else
- if test -n "$mount_v";then
- AM_CONDITIONAL([OLD_LIBMOUNT], [test "$(echo $mount_v | cut -d'.' -f2)" -lt 19])
- AM_CONDITIONAL([NEW_LIBMOUNT], [test "$(echo $mount_v | cut -d'.' -f2)" -gt 19])
- else
- AM_CONDITIONAL([OLD_LIBMOUNT], [false])
- AM_CONDITIONAL([NEW_LIBMOUNT], [false])
- fi
-fi
-AM_COND_IF([OLD_LIBMOUNT], [
- AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount])
- ],[])
-
-AC_CHECK_HEADERS([netinet/in.h])
-want_ipv6="yes"
-have_ipv6="no"
-
-AC_ARG_ENABLE([ipv6],
- [AC_HELP_STRING([--disable-ipv6],
- [disable ipv6 functionality @<:@default=detect@:>@])],
- [
- if test "x${enableval}" = "xyes" ; then
- want_ipv6="yes"
- else
- want_ipv6="no"
- fi],
- [want_ipv6="auto"])
-
-# Verify IPV6 availability in headers
-if test "x${want_ipv6}" != "xno" ; then
- AC_CHECK_TYPES([struct ipv6_mreq],
- [have_ipv6="yes"],
- [have_ipv6="no"],
- [[
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
- ]])
-fi
-
-if test "x${have_ipv6}" = "xyes" ; then
- AC_DEFINE(HAVE_IPV6, 1, [Define if IPV6 is supported])
-fi
-
-eeze_sensor_tizen="no"
-PKG_CHECK_EXISTS([capi-system-sensor],
- [
- AC_DEFINE([HAVE_EEZE_TIZEN], [1], [Eeze has Tizen sensor support enabled])
- AM_CONDITIONAL([HAVE_EEZE_TIZEN], [true])
- eeze_sensor_tizen="yes"
- ],
- AM_CONDITIONAL([HAVE_EEZE_TIZEN], [false])
-)
-if test "x$eeze_sensor_tizen" = "xyes";then
- PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor])
-fi
-
-### Checks for header files
-
-
-### Checks for types
-
-
-### Checks for structures
-
-
-### Checks for compiler characteristics
-
-AC_HEADER_STDC
-
-if ! test "x${VMIC}" = "x" ; then
- EFL_COMPILER_FLAG([-Wall])
- EFL_COMPILER_FLAG([-W])
-fi
-
-EFL_COMPILER_FLAG([-Wshadow])
-
-
-### Unit tests, coverage and benchmarking
-
-EFL_CHECK_TESTS([eeze], [enable_tests="yes"], [enable_tests="no"])
-
-### Binary
-
-EFL_ENABLE_BIN([eeze-udev-test], ["yes"])
-EFL_ENABLE_BIN([eeze_sensor_test], ["yes"])
-EFL_ENABLE_BIN([eeze-mount], ["yes"])
-EFL_ENABLE_BIN([eeze-disk-ls], ["yes"])
-EFL_ENABLE_BIN([eeze-umount], ["yes"])
-EFL_ENABLE_BIN([eeze-scanner], ["yes"])
-
-AC_SUBST(requirement_eeze)
-
-
-AC_OUTPUT([
-Makefile
-doc/eeze.dox
-doc/Makefile
-doc/Doxyfile
-src/Makefile
-src/lib/Makefile
-src/bin/Makefile
-src/tests/Makefile
-src/modules/Makefile
-eeze.pc
-eeze.spec
-])
-
-
-#####################################################################
-## Info
-
-echo
-echo
-echo
-echo "------------------------------------------------------------------------"
-echo "$PACKAGE $VERSION"
-echo "------------------------------------------------------------------------"
-echo
-echo "Configuration Options Summary:"
-if test "x$eeze_mount" = "xyes";then
- echo
- echo "Mount..................: ${with_mount}"
- echo "Umount.................: ${with_umount}"
- echo "Eject..................: ${with_eject}"
- echo
-fi
-echo "Udev Tests.............: ${have_eeze_udev_test}"
-echo
-echo "Tests..............: ${enable_tests} (Coverage: ${efl_enable_coverage})"
-echo
-echo "Demos..................:"
-echo " eeze_mount...........: ${have_eeze_mount}"
-echo " eeze_umount..........: ${have_eeze_umount}"
-echo " eeze_disk_ls.........: ${have_eeze_disk_ls}"
-echo
-echo "Utilities..............:"
-echo " eeze_scanner.........: ${have_eeze_scanner}"
-echo
-echo "IPv6...................: ${have_ipv6}"
-echo
-echo "Sensor.................:"
-echo " Tizen................: ${eeze_sensor_tizen}"
-echo
-echo "Documentation..........: ${build_doc}"
-echo
-echo "Compilation............: make (or gmake)"
-echo " CPPFLAGS.............: $CPPFLAGS"
-echo " CFLAGS...............: $CFLAGS"
-echo " LDFLAGS..............: $LDFLAGS"
-echo
-echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
-echo " prefix...............: $prefix"
-echo
-
+++ /dev/null
-ALIASES =
-ALLEXTERNALS = NO
-ALPHABETICAL_INDEX = YES
-ALWAYS_DETAILED_SEC = NO
-BINARY_TOC = NO
-BRIEF_MEMBER_DESC = YES
-CASE_SENSE_NAMES = YES
-CHM_FILE =
-CLASS_DIAGRAMS = NO
-CLASS_GRAPH = NO
-COLLABORATION_GRAPH = NO
-COLS_IN_ALPHA_INDEX = 2
-COMPACT_LATEX = NO
-COMPACT_RTF = NO
-DISABLE_INDEX = YES
-DISTRIBUTE_GROUP_DOC = NO
-DOT_CLEANUP = YES
-DOTFILE_DIRS =
-DOT_GRAPH_MAX_NODES = 50
-DOT_IMAGE_FORMAT = png
-DOT_PATH =
-ENABLED_SECTIONS =
-ENABLE_PREPROCESSING = YES
-ENUM_VALUES_PER_LINE = 1
-EXAMPLE_PATH =
-EXAMPLE_PATTERNS =
-EXAMPLE_RECURSIVE = NO
-EXCLUDE =
-EXCLUDE_PATTERNS =
-EXCLUDE_SYMLINKS = NO
-EXPAND_AS_DEFINED =
-EXPAND_ONLY_PREDEF = NO
-EXTERNAL_GROUPS = YES
-EXTRACT_ALL = NO
-EXTRACT_LOCAL_CLASSES = NO
-EXTRACT_PRIVATE = NO
-EXTRACT_STATIC = NO
-EXTRA_PACKAGES =
-FILE_PATTERNS =
-FILTER_SOURCE_FILES = NO
-FULL_PATH_NAMES = NO
-GENERATE_AUTOGEN_DEF = NO
-GENERATE_BUGLIST = YES
-GENERATE_CHI = NO
-GENERATE_DEPRECATEDLIST= YES
-GENERATE_HTMLHELP = NO
-GENERATE_HTML = YES
-GENERATE_LATEX = YES
-GENERATE_LEGEND = YES
-GENERATE_MAN = YES
-GENERATE_RTF = NO
-GENERATE_TAGFILE =
-GENERATE_TESTLIST = YES
-GENERATE_TODOLIST = YES
-GENERATE_TREEVIEW = NO
-GENERATE_XML = NO
-GRAPHICAL_HIERARCHY = NO
-HAVE_DOT = NO
-HHC_LOCATION =
-HIDE_FRIEND_COMPOUNDS = YES
-HIDE_SCOPE_NAMES = NO
-HIDE_UNDOC_CLASSES = YES
-HIDE_UNDOC_MEMBERS = YES
-HIDE_UNDOC_RELATIONS = YES
-HTML_FILE_EXTENSION = .html
-HTML_FOOTER = @srcdir@/foot.html
-HTML_HEADER = @srcdir@/head.html
-HTML_OUTPUT = html
-HTML_STYLESHEET = @srcdir@/e.css
-IGNORE_PREFIX =
-IMAGE_PATH = img
-INCLUDED_BY_GRAPH = NO
-INCLUDE_FILE_PATTERNS =
-INCLUDE_GRAPH = NO
-INCLUDE_PATH =
-INHERIT_DOCS = YES
-INLINE_INFO = YES
-INLINE_INHERITED_MEMB = NO
-INLINE_SOURCES = NO
-INPUT = @srcdir@/eeze.dox @top_srcdir@/src/lib
-INPUT_FILTER =
-INTERNAL_DOCS = NO
-JAVADOC_AUTOBRIEF = YES
-LATEX_BATCHMODE = NO
-LATEX_CMD_NAME = latex
-LATEX_HEADER =
-LATEX_OUTPUT = latex
-MACRO_EXPANSION = NO
-MAKEINDEX_CMD_NAME = makeindex
-MAN_EXTENSION = .3
-MAN_LINKS = YES
-MAN_OUTPUT = man
-MAX_INITIALIZER_LINES = 30
-MULTILINE_CPP_IS_BRIEF = NO
-OPTIMIZE_OUTPUT_FOR_C = YES
-OPTIMIZE_OUTPUT_JAVA = NO
-OUTPUT_DIRECTORY = .
-OUTPUT_LANGUAGE = English
-PAPER_TYPE = a4wide
-PDF_HYPERLINKS = YES
-PERL_PATH = /usr/bin/perl
-PREDEFINED =
-PROJECT_NAME = Eeze
-PROJECT_NUMBER =
-QUIET = NO
-RECURSIVE = YES
-REFERENCES_LINK_SOURCE = YES
-REFERENCED_BY_RELATION = YES
-REFERENCES_RELATION = YES
-REPEAT_BRIEF = YES
-RTF_EXTENSIONS_FILE =
-RTF_HYPERLINKS = NO
-RTF_OUTPUT = rtf
-RTF_STYLESHEET_FILE =
-SEARCHENGINE = NO
-SEARCH_INCLUDES = YES
-SHORT_NAMES = NO
-SHOW_INCLUDE_FILES = NO
-SHOW_USED_FILES = NO
-SKIP_FUNCTION_MACROS = YES
-SORT_MEMBER_DOCS = YES
-SOURCE_BROWSER = NO
-STRIP_CODE_COMMENTS = YES
-STRIP_FROM_PATH = src/
-SUBGROUPING = YES
-TAB_SIZE = 2
-TAGFILES =
-TEMPLATE_RELATIONS = NO
-TOC_EXPAND = NO
-TREEVIEW_WIDTH = 250
-USE_PDFLATEX = NO
-VERBATIM_HEADERS = NO
-WARN_FORMAT = "$file:$line: $text"
-WARN_IF_UNDOCUMENTED = YES
-WARNINGS = YES
-WARN_LOGFILE =
-XML_DTD =
-XML_SCHEMA =
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in eeze.dox
-
-.PHONY: doc
-
-PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
-
-if EFL_BUILD_DOC
-
-doc-clean:
- rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
-
-doc: all doc-clean
- $(efl_doxygen)
- cp $(srcdir)/img/* html/
- cp $(srcdir)/img/* latex/
- rm -rf $(PACKAGE_DOCNAME).tar*
- mkdir -p $(PACKAGE_DOCNAME)/doc
- cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
- tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
- bzip2 -9 $(PACKAGE_DOCNAME).tar
- rm -rf $(PACKAGE_DOCNAME)/
- mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
-
-clean-local: doc-clean
-
-else
-
-doc:
- @echo "Documentation not built. Run ./configure --help"
-
-endif
-
-EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html eeze.dox.in
+++ /dev/null
-/*
- Author:
- Andres Blanc <andresblanc@gmail.com>
- DaveMDS Andreoli <dave@gurumeditation.it>
-
- Supported Browsers:
- ie7, opera9, konqueror4 and firefox3
-
- Please use a different file for ie6, ie5, etc. hacks.
-*/
-
-
-/* Necessary to place the footer at the bottom of the page */
-html, body {
- height: 100%;
- margin: 0px;
- padding: 0px;
-}
-
-#container {
- min-height: 100%;
- height: auto !important;
- height: 100%;
- margin: 0 auto -53px;
-}
-
-#footer, #push {
- height: 53px;
-}
-
-
-* html #container {
- height: 100%;
-}
-
-/* Prevent floating elements overflowing containers */
-.clear {
- clear: both;
- width: 0px;
- height: 0px;
-}
-
-/* Flexible & centered layout from 750 to 960 pixels */
-.layout {
- max-width: 960px;
- min-width: 760px;
- margin-left: auto;
- margin-right: auto;
-}
-
-body {
- /*font-family: Lucida Grande, Helvetica, sans-serif;*/
- font-family: "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif
-}
-
-/* Prevent design overflowing the viewport in small resolutions */
-#container {
- padding-right: 17px;
- padding-left: 17px;
- background-image: url(head_bg.png);
- background-repeat: repeat-x;
-}
-
-/****************************/
-/* Top main menu */
-/****************************/
-#header_logo {
- background-image : url(logo.png);
- width : 61px;
-}
-
-#header_logo a {
- position : absolute;
- border : 0px;
- background-color : transparent;
- top : 0px;
- width : 60px;
- height : 60px;
-}
-
-#header_menu {
- background-image : url(header_menu_background.png);
- font : normal 10pt verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
- text-align : right;
-}
-
-#header_last {
- background-image : url(header_menu_background_last.png);
- width : 15px;
-}
-
-td.nav_passive {
- background : url(header_menu_unselected_background.png) 0 0 no-repeat;
- height : 63px;
- font-family : "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif;
- font-size : 11px;
- padding : 20px 10px 20px 10px;
- vertical-align : middle;
-}
-
-td.nav_active {
- background : url(header_menu_current_background.png) 0 0 no-repeat;
- height : 63px;
- color : #646464;
- font-family : "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif;
- font-size : 11px;
- font-weight : bold;
- padding : 20px 10px 20px 10px;
- vertical-align : middle;
-}
-
-#header_menu a {
- display : block;
- text-decoration : none;
- cursor : pointer;
- color : #cdcdcd;
-}
-
-
-
-#header {
- width: 100%;
- height: 102px;
-}
-
-#header h1 {
- width: 63px;
- height: 63px;
- position: absolute;
- margin: 0px;
-}
-
-#header h1 span {
- display: none;
-}
-
-#header h2 {
- display: none;
-}
-
-/* .menu-container is used to set properties common to .menu and .submenu */
-#header .menu-container {
-}
-
-#header .menu-container ul {
- list-style-type: none;
- list-style-position: inside;
- margin: 0;
-}
-
-#header .menu-container li {
- display: block;
- float: right;
-}
-
-#header .menu {
- height: 63px;
- display: block;
- background-image: url(menu_bg.png);
- background-repeat: repeat-x;
-}
-
-#header .menu ul {
- height: 100%;
- display: block;
- background-image: url(menu_bg_last.png);
- background-repeat: no-repeat;
- background-position: top right;
- padding-right: 17px;
-}
-
-#header .menu li {
- height: 100%;
- text-align: center;
- background-image: url(menu_bg_unsel.png);
- background-repeat: no-repeat;
-}
-
-#header .menu a {
- height: 100%;
- display: block;
- color: #cdcdcd;
- text-decoration: none;
- font-size: 10pt;
- line-height: 59px;
- text-align: center;
- padding: 0px 15px 0px 15px;
-}
-
-#header .menu li:hover {
- background-image: url(menu_bg_hover.png);
- background-repeat: no-repeat;
-}
-
-#header .menu li:hover a {
- color: #FFFFFF;
-}
-
-#header .menu li.current {
- background-image: url(menu_bg_current.png);
- background-repeat: no-repeat;
-}
-
-#header .menu li.current a {
- color: #646464;
-}
-
-
-/* Hide all the submenus but the current */
-#header .submenu ul {
- display: none;
-}
-
-#header .submenu .current {
- display: block;
-}
-
-#header .submenu {
- font: bold 10px verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
- margin-top: 10px;
-}
-
-#header .submenu a {
- color: #888888;
- text-decoration: none;
- font-size: 0.9em;
- line-height: 15px;
- padding:0px 5px 0px 5px;
-}
-
-#header .submenu a:hover {
- color: #444444;
-}
-
-#header .submenu li {
- border-left: 1px solid #DDDDDD;
-}
-
-#header .submenu li:last-child {
- border-left: 0;
-}
-
-#header .doxytitle {
- position: absolute;
- font-size: 1.8em;
- font-weight: bold;
- color: #444444;
- line-height: 35px;
-}
-
-#header small {
- font-size: 0.4em;
-}
-
-#footer {
- background-image: url(foot_bg.png);
- width: 100%;
-}
-
-#footer table {
- width: 100%;
- text-align: center;
- white-space: nowrap;
- padding: 5px 30px 5px 30px;
- font-size: 0.8em;
- font-family: "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif;
- color: #888888;
-}
-
-#footer td.copyright {
- width: 100%;
-}
-
+++ /dev/null
-
- <div id="push"></div>
- </div> <!-- #content -->
- </div> <!-- .layout -->
-
- </div> <!-- #container -->
-
-
- <div id="footer">
- <table><tr>
- <td class="copyright">Copyright ©$year Enlightenment</td>
- <td class="generated">Docs generated $datetime</td>
- </tr></table>
- </div>
-
-
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
- <title>$title</title>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8">
- <meta name="author" content="Andres Blanc" >
-
- <link rel="icon" href="img/favicon.png" type="image/x-icon">
- <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon">
- <link rel="icon" href="img/favicon.png" type="image/ico">
- <link rel="shortcut icon" href="img/favicon.png" type="image/ico">
-
- <link rel="stylesheet" type="text/css" href="e.css">
- <link rel="stylesheet" type="text/css" href="edoxy.css">
-</head>
-
-<body>
-
-<div id="container">
-
-<div id="header">
-<div class="layout">
-
- <h1><span>Enlightenment</span></h1>
- <h2><span>Beauty at your fingertips</span></h2>
-
- <table cellspacing="0" cellpadding="0" width="100%"><tr>
- <td id="header_logo">
- <a href="http://www.enlightenment.org"></a>
- </td>
- <td id="header_menu">
- <table cellspacing="0" cellpadding="0" align="right"><tr>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=home">Home</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=news">News</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=about">About</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=download">Download</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=support">Support</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contribute">Contribute</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contact">Contact</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://trac.enlightenment.org/e">Tracker</a></td>
- <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=docs">Docs</a></td>
- </tr></table>
- </td>
- <td id="header_last"></td>
- </tr></table>
-
- <div class="doxytitle">
- $projectname Documentation <small>at $date</small>
- </div>
-
- <div class="menu-container">
- <div class="submenu">
- <ul class="current">
- <li><a href="files.html">Files</a></li>
- <li><a href="globals.html">Globals</a></li>
- <li><a href="Eeze_8h.html">API Reference</a></li>
- <li><a href="modules.html">Modules</a></li>
- <li class="current"><a href="index.html">Main Page</a></li>
- </ul>
- </div>
- </div>
-
-
- <div class="clear"></div>
-</div>
-</div>
-
-<div id="content">
-<div class="layout">
+++ /dev/null
-/*
- * This file contain a custom doxygen style to match e.org graphics
- */
-
-
-
-/* BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV {
- font-family: Geneva, Arial, Helvetica, sans-serif;
-}*/
-BODY, TD {
- font-size: 12px;
-}
-H1 {
- text-align: center;
- font-size: 160%;
-}
-H2 {
- font-size: 120%;
-}
-H3 {
- font-size: 100%;
-}
-CAPTION {
- font-weight: bold
-}
-DIV.qindex {
- width: 100%;
- background-color: #e8eef2;
- border: 1px solid #84b0c7;
- text-align: center;
- margin: 2px;
- padding: 2px;
- line-height: 140%;
-}
-DIV.navpath {
- width: 100%;
- background-color: #e8eef2;
- border: 1px solid #84b0c7;
- text-align: center;
- margin: 2px;
- padding: 2px;
- line-height: 140%;
-}
-DIV.navtab {
- background-color: #e8eef2;
- border: 1px solid #84b0c7;
- text-align: center;
- margin: 2px;
- margin-right: 15px;
- padding: 2px;
-}
-TD.navtab {
- font-size: 70%;
-}
-A.qindex {
- text-decoration: none;
- font-weight: bold;
- color: #1A419D;
-}
-A.qindex:visited {
- text-decoration: none;
- font-weight: bold;
- color: #1A419D
-}
-A.qindex:hover {
- text-decoration: none;
- background-color: #ddddff;
-}
-A.qindexHL {
- text-decoration: none;
- font-weight: bold;
- background-color: #6666cc;
- color: #ffffff;
- border: 1px double #9295C2;
-}
-A.qindexHL:hover {
- text-decoration: none;
- background-color: #6666cc;
- color: #ffffff;
-}
-A.qindexHL:visited {
- text-decoration: none;
- background-color: #6666cc;
- color: #ffffff
-}
-A.el {
- text-decoration: none;
- font-weight: bold
-}
-A.elRef {
- font-weight: bold
-}
-A.code:link {
- text-decoration: none;
- font-weight: normal;
- color: #0000FF
-}
-A.code:visited {
- text-decoration: none;
- font-weight: normal;
- color: #0000FF
-}
-A.codeRef:link {
- font-weight: normal;
- color: #0000FF
-}
-A.codeRef:visited {
- font-weight: normal;
- color: #0000FF
-}
-A:hover, A:visited:hover {
- text-decoration: none;
- /* background-color: #f2f2ff; */
- color: #000055;
-}
-A.anchor {
- color: #000;
-}
-DL.el {
- margin-left: -1cm
-}
-.fragment {
- font-family: monospace, fixed;
- font-size: 95%;
-}
-PRE.fragment {
- border: 1px solid #CCCCCC;
- background-color: #f5f5f5;
- margin-top: 4px;
- margin-bottom: 4px;
- margin-left: 2px;
- margin-right: 8px;
- padding-left: 6px;
- padding-right: 6px;
- padding-top: 4px;
- padding-bottom: 4px;
-}
-DIV.ah {
- background-color: black;
- font-weight: bold;
- color: #ffffff;
- margin-bottom: 3px;
- margin-top: 3px
-}
-
-DIV.groupHeader {
- margin-left: 16px;
- margin-top: 12px;
- margin-bottom: 6px;
- font-weight: bold;
-}
-DIV.groupText {
- margin-left: 16px;
- font-style: italic;
- font-size: 90%
-}
-/*BODY {
- background: white;
- color: black;
- margin-right: 20px;
- margin-left: 20px;
-}*/
-TD.indexkey {
- background-color: #e8eef2;
- font-weight: bold;
- padding-right : 10px;
- padding-top : 2px;
- padding-left : 10px;
- padding-bottom : 2px;
- margin-left : 0px;
- margin-right : 0px;
- margin-top : 2px;
- margin-bottom : 2px;
- border: 1px solid #CCCCCC;
-}
-TD.indexvalue {
- background-color: #e8eef2;
- font-style: italic;
- padding-right : 10px;
- padding-top : 2px;
- padding-left : 10px;
- padding-bottom : 2px;
- margin-left : 0px;
- margin-right : 0px;
- margin-top : 2px;
- margin-bottom : 2px;
- border: 1px solid #CCCCCC;
-}
-TR.memlist {
- background-color: #f0f0f0;
-}
-P.formulaDsp {
- text-align: center;
-}
-IMG.formulaDsp {
-}
-IMG.formulaInl {
- vertical-align: middle;
-}
-SPAN.keyword { color: #008000 }
-SPAN.keywordtype { color: #604020 }
-SPAN.keywordflow { color: #e08000 }
-SPAN.comment { color: #800000 }
-SPAN.preprocessor { color: #806020 }
-SPAN.stringliteral { color: #002080 }
-SPAN.charliteral { color: #008080 }
-SPAN.vhdldigit { color: #ff00ff }
-SPAN.vhdlchar { color: #000000 }
-SPAN.vhdlkeyword { color: #700070 }
-SPAN.vhdllogic { color: #ff0000 }
-
-.mdescLeft {
- padding: 0px 8px 4px 8px;
- font-size: 80%;
- font-style: italic;
- background-color: #FAFAFA;
- border-top: 1px none #E0E0E0;
- border-right: 1px none #E0E0E0;
- border-bottom: 1px none #E0E0E0;
- border-left: 1px none #E0E0E0;
- margin: 0px;
-}
-.mdescRight {
- padding: 0px 8px 4px 8px;
- font-size: 80%;
- font-style: italic;
- background-color: #FAFAFA;
- border-top: 1px none #E0E0E0;
- border-right: 1px none #E0E0E0;
- border-bottom: 1px none #E0E0E0;
- border-left: 1px none #E0E0E0;
- margin: 0px;
-}
-.memItemLeft {
- padding: 1px 0px 0px 8px;
- margin: 4px;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- border-top-color: #E0E0E0;
- border-right-color: #E0E0E0;
- border-bottom-color: #E0E0E0;
- border-left-color: #E0E0E0;
- border-top-style: solid;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- background-color: #FAFAFA;
- font-size: 80%;
-}
-.memItemRight {
- padding: 1px 8px 0px 8px;
- margin: 4px;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- border-top-color: #E0E0E0;
- border-right-color: #E0E0E0;
- border-bottom-color: #E0E0E0;
- border-left-color: #E0E0E0;
- border-top-style: solid;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- background-color: #FAFAFA;
- font-size: 80%;
-}
-.memTemplItemLeft {
- padding: 1px 0px 0px 8px;
- margin: 4px;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- border-top-color: #E0E0E0;
- border-right-color: #E0E0E0;
- border-bottom-color: #E0E0E0;
- border-left-color: #E0E0E0;
- border-top-style: none;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- background-color: #FAFAFA;
- font-size: 80%;
-}
-.memTemplItemRight {
- padding: 1px 8px 0px 8px;
- margin: 4px;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- border-top-color: #E0E0E0;
- border-right-color: #E0E0E0;
- border-bottom-color: #E0E0E0;
- border-left-color: #E0E0E0;
- border-top-style: none;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- background-color: #FAFAFA;
- font-size: 80%;
-}
-.memTemplParams {
- padding: 1px 0px 0px 8px;
- margin: 4px;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- border-top-color: #E0E0E0;
- border-right-color: #E0E0E0;
- border-bottom-color: #E0E0E0;
- border-left-color: #E0E0E0;
- border-top-style: solid;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- color: #606060;
- background-color: #FAFAFA;
- font-size: 80%;
-}
-.search {
- color: #003399;
- font-weight: bold;
-}
-FORM.search {
- margin-bottom: 0px;
- margin-top: 0px;
-}
-INPUT.search {
- font-size: 75%;
- color: #000080;
- font-weight: normal;
- background-color: #e8eef2;
-}
-TD.tiny {
- font-size: 75%;
-}
-a {
- color: #1A41A8;
-}
-a:visited {
- color: #2A3798;
-}
-.dirtab {
- padding: 4px;
- border-collapse: collapse;
- border: 1px solid #84b0c7;
-}
-TH.dirtab {
- background: #e8eef2;
- font-weight: bold;
-}
-HR {
- height: 1px;
- border: none;
- border-top: 1px solid black;
-}
-
-/* Style for detailed member documentation */
-.memtemplate {
- font-size: 80%;
- color: #606060;
- font-weight: normal;
- margin-left: 3px;
-}
-.memnav {
- background-color: #eeeeee;
- border: 1px solid #dddddd;
- text-align: center;
- margin: 2px;
- margin-right: 15px;
- padding: 2px;
-}
-.memitem {
- padding: 4px;
- background-color: #eeeeee;
- border-width: 1px;
- border-style: solid;
- border-color: #dddddd;
- -moz-border-radius: 4px 4px 4px 4px;
-}
-.memname {
- white-space: nowrap;
- font-weight: bold;
- color: #ffffff;
-}
-.memdoc{
- padding-left: 10px;
-}
-.memproto {
- background-color: #111111;
- width: 100%;
- border-width: 1px;
- border-style: solid;
- border-color: #000000;
- font-weight: bold;
- -moz-border-radius: 4px 4px 4px 4px;
-}
-.paramkey {
- text-align: right;
- color: #ffffff;
-}
-.paramtype {
- white-space: nowrap;
- color: #aaaaaa;
-}
-.paramname {
- color: #ff0000;
- font-style: italic;
- white-space: nowrap;
-}
-/* End Styling for detailed member documentation */
-
-/* for the tree view */
-.ftvtree {
- font-family: sans-serif;
- margin:0.5em;
-}
-/* these are for tree view when used as main index */
-.directory {
- font-size: 9pt;
- font-weight: bold;
-}
-.directory h3 {
- margin: 0px;
- margin-top: 1em;
- font-size: 11pt;
-}
-
-/* The following two styles can be used to replace the root node title */
-/* with an image of your choice. Simply uncomment the next two styles, */
-/* specify the name of your image and be sure to set 'height' to the */
-/* proper pixel height of your image. */
-
-/* .directory h3.swap { */
-/* height: 61px; */
-/* background-repeat: no-repeat; */
-/* background-image: url("yourimage.gif"); */
-/* } */
-/* .directory h3.swap span { */
-/* display: none; */
-/* } */
-
-.directory > h3 {
- margin-top: 0;
-}
-.directory p {
- margin: 0px;
- white-space: nowrap;
-}
-.directory div {
- display: none;
- margin: 0px;
-}
-.directory img {
- vertical-align: -30%;
-}
-/* these are for tree view when not used as main index */
-.directory-alt {
- font-size: 100%;
- font-weight: bold;
-}
-.directory-alt h3 {
- margin: 0px;
- margin-top: 1em;
- font-size: 11pt;
-}
-.directory-alt > h3 {
- margin-top: 0;
-}
-.directory-alt p {
- margin: 0px;
- white-space: nowrap;
-}
-.directory-alt div {
- display: none;
- margin: 0px;
-}
-.directory-alt img {
- vertical-align: -30%;
-}
-
+++ /dev/null
-%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
-%define _missing_doc_files_terminate_build 0
-
-Summary: Device Convenience Library
-Name: @PACKAGE@
-Version: @VERSION@
-Release: %{_rel}
-License: BSD
-Group: System Environment/Libraries
-Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
-Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
-Requires: libudev, eject
-BuildRequires: libudev-devel
-URL: http://www.enlightenment.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
-%description
-Eeze is a library for manipulating devices through udev with a simple
-and fast api. It interfaces directly with libudev, avoiding such
-middleman daemons as udisks/upower or hal, to immediately gather
-device information the instant it becomes known to the system. This
-can be used to determine such things as:
- * If a cdrom has a disk inserted
- * The temperature of a cpu core
- * The remaining power left in a battery
- * The current power consumption of various parts
- * Monitor in realtime the status of peripheral devices
-
-Each of the above examples can be performed by using only a single
-eeze function, as one of the primary focuses of the library is to
-reduce the complexity of managing devices.
-
-%package devel
-Summary: Development files for Eeze
-Group: System Environment/Libraries
-Requires: %{name} = %{version}
-Requires: libudev-devel
-
-%description devel
-Headers, static libraries, test programs and documentation for Eeze
-
-%prep
-%setup -q
-
-%build
-%{configure} --prefix=%{_prefix}
-%{__make} %{?_smp_mflags} %{?mflags}
-
-%install
-%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%files
-%defattr(-, root, root)
-%doc AUTHORS COPYING README
-%{_libdir}/*.so.*
-#%{_libdir}/enlightenment/utils/eeze_scanner
-%{_bindir}/*
-
-%files devel
-%defattr(-, root, root)
-%{_includedir}/*
-%{_libdir}/*.a
-%{_libdir}/*.so
-%{_libdir}/*.la
-%{_libdir}/*/*.so
-%{_libdir}/*/*.la
-%{_libdir}/pkgconfig/*
-
-%changelog
+++ /dev/null
-dnl Copyright (C) 2004-2008 Kim Woelders
-dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
-dnl That code is public domain and can be freely used or copied.
-dnl Originally snatched from somewhere...
-
-dnl Macro for checking if the compiler supports __attribute__
-
-dnl Usage: AC_C___ATTRIBUTE__
-dnl call AC_DEFINE for HAVE___ATTRIBUTE__ and __UNUSED__
-dnl if the compiler supports __attribute__, HAVE___ATTRIBUTE__ is
-dnl defined to 1 and __UNUSED__ is defined to __attribute__((unused))
-dnl otherwise, HAVE___ATTRIBUTE__ is not defined and __UNUSED__ is
-dnl defined to nothing.
-
-AC_DEFUN([AC_C___ATTRIBUTE__],
-[
-
-AC_MSG_CHECKING([for __attribute__])
-
-AC_CACHE_VAL([ac_cv___attribute__],
- [AC_TRY_COMPILE(
- [
-#include <stdlib.h>
-
-int func(int x);
-int foo(int x __attribute__ ((unused)))
-{
- exit(1);
-}
- ],
- [],
- [ac_cv___attribute__="yes"],
- [ac_cv___attribute__="no"]
- )])
-
-AC_MSG_RESULT($ac_cv___attribute__)
-
-if test "x${ac_cv___attribute__}" = "xyes" ; then
- AC_DEFINE([HAVE___ATTRIBUTE__], [1], [Define to 1 if your compiler has __attribute__])
- AC_DEFINE([__UNUSED__], [__attribute__((unused))], [Macro declaring a function argument to be unused])
- else
- AC_DEFINE([__UNUSED__], [], [Macro declaring a function argument to be unused])
-fi
-
-])
-
-dnl End of ac_attribute.m4
+++ /dev/null
-dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr>
-dnl That code is public domain and can be freely used or copied.
-
-dnl Macro that checks if a binary is built or not
-
-dnl Usage: EFL_ENABLE_BIN(binary, dep[, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
-dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _)
-dnl Define have_binary (- is transformed into _)
-dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _)
-
-AC_DEFUN([EFL_ENABLE_BIN],
-[
-
-m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl
-m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
-
-dnl configure option
-
-AC_ARG_ENABLE([$1],
- [AC_HELP_STRING([--disable-$1], [disable building of ]DOWN)],
- [
- if test "x${enableval}" = "xyes" ; then
- have_[]m4_defn([DOWN])="yes"
- else
- have_[]m4_defn([DOWN])="no"
- fi
- ],
- [have_[]m4_defn([DOWN])=$2])
-
-AC_MSG_CHECKING([whether to build ]DOWN[ binary])
-AC_MSG_RESULT([$have_[]m4_defn([DOWN])])
-
-if test "x$have_[]m4_defn([DOWN])" = "xyes"; then
- UP[]_PRG=DOWN[${EXEEXT}]
-fi
-
-AC_SUBST(UP[]_PRG)
-
-AM_CONDITIONAL(BUILD_[]UP, test "x$have_[]m4_defn([DOWN])" = "xyes")
-
-AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$3], [$4])
-
-])
-
-dnl Macro that specifies the binary to be used
-
-dnl Usage: EFL_WITH_BIN(binary, package, msg)
-dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _)
-dnl Define with_binary (- is transformed into _)
-dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _)
-
-AC_DEFUN([EFL_WITH_BIN],
-[
-
-m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl
-m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
-
-AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-AC_MSG_NOTICE([$PKG_CONFIG])
-
-with_[]m4_defn([DOWN])=m4_esyscmd($PKG_CONFIG --variable=prefix $2)/bin/m4_defn([DOWN])
-
-dnl configure option
-
-AC_ARG_WITH([$1],
- [AC_HELP_STRING([--with-$1-bin=PATH], [specify a specific path to ]DOWN)],
- [
- with_[]m4_defn([DOWN])=$withval
- _efl_msg="( explicitely set)"
- ])
-
-AC_MSG_NOTICE([$msg: ]m4_defn([DOWN])[$_efl_msg])
-
-AC_SUBST(with_[]m4_defn([DOWN]))
-
-AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$4], [$5])
-
-])
+++ /dev/null
-dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr>
-dnl and Albin Tonnerre <albin dot tonnerre at gmail dot com>
-dnl That code is public domain and can be freely used or copied.
-
-dnl Macro that checks if a compiler flag is supported by the compiler.
-
-dnl Usage: EFL_COMPILER_FLAG(flag)
-dnl flag is added to CFLAGS if supported.
-
-AC_DEFUN([EFL_COMPILER_FLAG],
-[
-
-CFLAGS_save="${CFLAGS}"
-CFLAGS="${CFLAGS} $1"
-
-AC_LANG_PUSH([C])
-AC_MSG_CHECKING([whether the compiler supports $1])
-
-AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([[]])],
- [have_flag="yes"],
- [have_flag="no"])
-AC_MSG_RESULT([${have_flag}])
-
-if test "x${have_flag}" = "xno" ; then
- CFLAGS="${CFLAGS_save}"
-fi
-AC_LANG_POP([C])
-
-])
-
-dnl Macro that checks if a linker flag is supported by the compiler.
-
-dnl Usage: EFL_LINKER_FLAG(flag)
-dnl flag is added to CFLAGS if supported (will be passed to ld anyway).
-
-AC_DEFUN([EFL_LINKER_FLAG],
-[
-
-CFLAGS_save="${CFLAGS}"
-CFLAGS="${CFLAGS} $1"
-
-AC_LANG_PUSH([C])
-AC_MSG_CHECKING([whether the compiler supports $1])
-
-AC_LINK_IFELSE(
- [AC_LANG_PROGRAM([[]])],
- [have_flag="yes"],
- [have_flag="no"])
-AC_MSG_RESULT([${have_flag}])
-
-if test "x${have_flag}" = "xno" ; then
- CFLAGS="${CFLAGS_save}"
-fi
-AC_LANG_POP([C])
-
-])
+++ /dev/null
-dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
-dnl That code is public domain and can be freely used or copied.
-
-dnl Macro that check if doxygen is available or not.
-
-dnl EFL_CHECK_DOXYGEN([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
-dnl Test for the doxygen program
-dnl Defines efl_doxygen
-dnl Defines the automake conditionnal EFL_BUILD_DOC
-dnl
-AC_DEFUN([EFL_CHECK_DOXYGEN],
-[
-
-dnl
-dnl Disable the build of the documentation
-dnl
-AC_ARG_ENABLE([doc],
- [AC_HELP_STRING(
- [--disable-doc],
- [Disable documentation build @<:@default=enabled@:>@])],
- [
- if test "x${enableval}" = "xyes" ; then
- efl_enable_doc="yes"
- else
- efl_enable_doc="no"
- fi
- ],
- [efl_enable_doc="yes"])
-
-AC_MSG_CHECKING([whether to build documentation])
-AC_MSG_RESULT([${efl_enable_doc}])
-
-if test "x${efl_enable_doc}" = "xyes" ; then
-
-dnl
-dnl Specify the file name, without path
-dnl
-
- efl_doxygen="doxygen"
-
- AC_ARG_WITH([doxygen],
- [AC_HELP_STRING(
- [--with-doxygen=FILE],
- [doxygen program to use @<:@default=doxygen@:>@])],
-dnl
-dnl Check the given doxygen program.
-dnl
- [efl_doxygen=${withval}
- AC_CHECK_PROG([efl_have_doxygen],
- [${efl_doxygen}],
- [yes],
- [no])
- if test "x${efl_have_doxygen}" = "xno" ; then
- echo "WARNING:"
- echo "The doxygen program you specified:"
- echo "${efl_doxygen}"
- echo "was not found. Please check the path and make sure "
- echo "the program exists and is executable."
- AC_MSG_WARN([no doxygen detected. Documentation will not be built])
- fi
- ],
- [AC_CHECK_PROG([efl_have_doxygen],
- [${efl_doxygen}],
- [yes],
- [no])
- if test "x${efl_have_doxygen}" = "xno" ; then
- echo "WARNING:"
- echo "The doxygen program was not found in your execute path."
- echo "You may have doxygen installed somewhere not covered by your path."
- echo ""
- echo "If this is the case make sure you have the packages installed, AND"
- echo "that the doxygen program is in your execute path (see your"
- echo "shell manual page on setting the \$PATH environment variable), OR"
- echo "alternatively, specify the program to use with --with-doxygen."
- AC_MSG_WARN([no doxygen detected. Documentation will not be built])
- fi
- ])
-fi
-
-dnl
-dnl Substitution
-dnl
-AC_SUBST([efl_doxygen])
-
-if ! test "x${efl_have_doxygen}" = "xyes" ; then
- efl_enable_doc="no"
-fi
-
-AM_CONDITIONAL(EFL_BUILD_DOC, test "x${efl_enable_doc}" = "xyes")
-
-if test "x${efl_enable_doc}" = "xyes" ; then
- m4_default([$1], [:])
-else
- m4_default([$2], [:])
-fi
-
-])
-
-dnl End of doxygen.m4
+++ /dev/null
-dnl Copyright (C) 2008-2012 Vincent Torri <vtorri at univ-evry dot fr>
-dnl That code is public domain and can be freely used or copied.
-
-dnl Macro that check if tests programs are wanted and if yes, if
-dnl the Check library is available.
-dnl the lcov program is available.
-
-dnl Usage: EFL_CHECK_TESTS(EFL[, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
-dnl Define the automake conditionnal EFL_ENABLE_TESTS
-
-AC_DEFUN([EFL_CHECK_TESTS],
-[
-m4_pushdef([UPEFL], m4_translit([$1], [-a-z], [_A-Z]))dnl
-
-dnl configure option
-
-AC_ARG_ENABLE([tests],
- [AC_HELP_STRING([--enable-tests], [enable tests @<:@default=disabled@:>@])],
- [
- if test "x${enableval}" = "xyes" ; then
- _efl_enable_tests="yes"
- else
- _efl_enable_tests="no"
- fi
- ],
- [_efl_enable_tests="no"])
-
-AC_MSG_CHECKING([whether tests are built])
-AC_MSG_RESULT([${_efl_enable_tests}])
-
-AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-
-if test "x${_efl_enable_tests}" = "xyes" ; then
- PKG_CHECK_MODULES([CHECK],
- [check >= 0.9.5],
- [dummy="yes"],
- [_efl_enable_tests="no"])
-fi
-
-efl_enable_coverage="no"
-if test "x${_efl_enable_tests}" = "xyes" ; then
- AC_CHECK_PROG(have_lcov, [lcov], [yes], [no])
- if test "x$have_lcov" = "xyes" ; then
- m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -fprofile-arcs -ftest-coverage"
- m4_defn([UPEFL])[]_LIBS="${m4_defn([UPEFL])[]_LIBS} -lgcov"
-# remove any optimisation flag and force debug symbols
- if test "x${prefer_assert}" = "xno"; then
- m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -DNDEBUG"
- else
- m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG"
- fi
- efl_enable_coverage="yes"
- else
- AC_MSG_WARN([lcov is not found, disable profiling instrumentation])
- fi
-fi
-
-AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes")
-
-AS_IF([test "x$_efl_enable_tests" = "xyes"], [$2], [$3])
-
-m4_popdef([UPEFL])
-])
-
-dnl End of efl_tests.m4
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in
-SUBDIRS = lib bin tests modules
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in
-
-EEZE_CFLAGS = \
--I$(top_srcdir)/src/lib \
-@EEZE_CFLAGS@
-
-noinst_PROGRAMS = @EEZE_UDEV_TEST_PRG@
-EXTRA_PROGRAMS = eeze_udev_test eeze_mount eeze_umount eeze_disk_ls eeze_scanner eeze_sensor_test
-
-if HAVE_EEZE_MOUNT
- DISK_PROGS = @EEZE_MOUNT_PRG@ @EEZE_UMOUNT_PRG@ @EEZE_DISK_LS_PRG@
- SCAN_PROGS = @EEZE_SCANNER_PRG@
-else
- DISK_PROGS =
- SCAN_PROGS =
-endif
-
-bin_PROGRAMS = $(DISK_PROGS)
-util_PROGRAMS = $(SCAN_PROGS)
-utildir = $(bindir)
-
-eeze_udev_test_SOURCES = eeze_udev_test.c
-eeze_udev_test_CPPFLAGS = -I$(top_srcdir)/src/lib @EEZE_CFLAGS@
-eeze_udev_test_LDADD = $(top_builddir)/src/lib/libeeze.la @EEZE_LIBS@
-
-bin_PROGRAMS += @EEZE_SENSOR_TEST_PRG@
-eeze_sensor_test_SOURCES = eeze_sensor_test.c
-eeze_sensor_test_CPPFLAGS = -I$(top_srcdir)/src/lib @EEZE_CFLAGS@
-eeze_sensor_test_LDADD = $(top_builddir)/src/lib/libeeze.la @EEZE_LIBS@
-
-if HAVE_EEZE_MOUNT
- eeze_mount_SOURCES = eeze_mount.c
- eeze_mount_CFLAGS = -I$(top_srcdir)/src/lib $(EEZE_CFLAGS) @LIBMOUNT_CFLAGS@ @ECORE_FILE_CFLAGS@
- eeze_mount_LDADD = $(top_builddir)/src/lib/libeeze.la @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@ @EEZE_LIBS@
-
- eeze_umount_SOURCES = eeze_umount.c
- eeze_umount_CFLAGS = -I$(top_srcdir)/src/lib $(EEZE_CFLAGS) @LIBMOUNT_CFLAGS@ @ECORE_FILE_CFLAGS@
- eeze_umount_LDADD = $(top_builddir)/src/lib/libeeze.la @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@ @EEZE_LIBS@
-
- eeze_disk_ls_SOURCES = eeze_disk_ls.c
- eeze_disk_ls_CFLAGS = -I$(top_srcdir)/src/lib $(EEZE_CFLAGS) @LIBMOUNT_CFLAGS@ @ECORE_FILE_CFLAGS@
- eeze_disk_ls_LDADD = $(top_builddir)/src/lib/libeeze.la @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@ @EEZE_LIBS@
-
- eeze_scanner_SOURCES = eeze_scanner.c
- eeze_scanner_CFLAGS = -I$(top_srcdir)/src/lib $(EEZE_CFLAGS) @LIBMOUNT_CFLAGS@ @ECORE_FILE_CFLAGS@ @ECORE_CON_CFLAGS@ @EET_CFLAGS@
- eeze_scanner_LDADD = $(top_builddir)/src/lib/libeeze.la @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@ @ECORE_CON_LIBS@ @EET_LIBS@ @EEZE_LIBS@
- includesdir = $(includedir)/eeze-@VMAJ@
- includes_HEADERS = eeze_scanner.h
-
-setuid_root_mode = a=rx,u+xs
-install-data-hook:
- @chmod $(setuid_root_mode) $(DESTDIR)$(bindir)/eeze_scanner$(EXEEXT) || true
-
-endif
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in
-
-AM_CPPFLAGS = @EEZE_CFLAGS@ \
--DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \
--DPACKAGE_LIB_DIR=\"$(libdir)\"
-
-includes_HEADERS = Eeze.h Eeze_Net.h Eeze_Sensor.h
-
-libeeze_la_SOURCES = \
-eeze_main.c \
-eeze_net.c \
-eeze_net_private.h \
-eeze_udev_find.c \
-eeze_udev_private.h \
-eeze_udev_private.c \
-eeze_udev_syspath.c \
-eeze_udev_walk.c \
-eeze_udev_watch.c \
-eeze_sensor_private.h \
-eeze_sensor.c
-
-if HAVE_EEZE_MOUNT
- AM_CFLAGS = @EEZE_CFLAGS@ @LIBMOUNT_CFLAGS@ @ECORE_FILE_CFLAGS@
- libeeze_la_SOURCES += eeze_disk.c eeze_disk_udev.c eeze_disk_mount.c eeze_disk_private.h
-if OLD_LIBMOUNT
- libeeze_la_SOURCES += eeze_disk_libmount_old.c
-else
-if NEW_LIBMOUNT
- libeeze_la_SOURCES += eeze_disk_libmount_new.c
-else
- libeeze_la_SOURCES += eeze_disk_libmount.c
-endif
-endif
- includes_HEADERS += Eeze_Disk.h
-else
- AM_CFLAGS = @EEZE_CFLAGS@
-endif
-
-lib_LTLIBRARIES = libeeze.la
-includesdir = $(includedir)/eeze-@VMAJ@
-
-libeeze_la_LIBADD = @EEZE_LIBS@
-
-if HAVE_EEZE_MOUNT
- libeeze_la_LIBADD += @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@
-endif
-
-libeeze_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-
+++ /dev/null
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifndef USE_UNSTABLE_LIBMOUNT_API
-# define USE_UNSTABLE_LIBMOUNT_API 1
-#endif
-
-#include <Ecore.h>
-#include <Eeze.h>
-#include <Eeze_Disk.h>
-#include <mount/mount.h>
-
-#include "eeze_udev_private.h"
-#include "eeze_disk_private.h"
-/*
- *
- * PRIVATE
- *
- */
-static Ecore_File_Monitor *_mtab_mon = NULL;
-static Ecore_File_Monitor *_fstab_mon = NULL;
-static Eina_Bool _watching = EINA_FALSE;
-static Eina_Bool _mtab_scan_active = EINA_FALSE;
-static Eina_Bool _fstab_scan_active = EINA_FALSE;
-static mnt_tab *_eeze_mount_mtab = NULL;
-static mnt_tab *_eeze_mount_fstab = NULL;
-static mnt_lock *_eeze_mtab_lock = NULL;
-extern Eina_List *_eeze_disks;
-
-static mnt_tab *_eeze_mount_tab_parse(const char *filename);
-static void _eeze_mount_tab_watcher(void *data, Ecore_File_Monitor *mon __UNUSED__, Ecore_File_Event event __UNUSED__, const char *path);
-
-static Eina_Bool
-_eeze_mount_lock_mtab(void)
-{
- DBG("Locking mlock: %s", mnt_lock_get_linkfile(_eeze_mtab_lock));
-#if 0
-#warning this code is broken with current libmount!
- if (mnt_lock_file(_eeze_mtab_lock))
- {
- ERR("Couldn't lock mtab!");
- return EINA_FALSE;
- }
-#endif
- return EINA_TRUE;
-}
-
-static void
-_eeze_mount_unlock_mtab(void)
-{
- DBG("Unlocking mlock: %s", mnt_lock_get_linkfile(_eeze_mtab_lock));
- mnt_unlock_file(_eeze_mtab_lock);
-}
-
-/*
- * I could use mnt_new_tab_from_file() but this way gives much more detailed output
- * on failure so why not
- */
-static mnt_tab *
-_eeze_mount_tab_parse(const char *filename)
-{
- mnt_tab *tab;
-
- if (!(tab = mnt_new_tab(filename)))
- return NULL;
- if (!mnt_tab_parse_file(tab))
- return tab;
-
- if (mnt_tab_get_nerrs(tab))
- { /* parse error */
- char buf[1024];
-
- mnt_tab_strerror(tab, buf, sizeof(buf));
- ERR("%s", buf);
- }
- else
- /* system error */
- ERR("%s", mnt_tab_get_name(tab));
- mnt_free_tab(tab);
- return NULL;
-}
-
-static void
-_eeze_mount_tab_watcher(void *data, Ecore_File_Monitor *mon __UNUSED__, Ecore_File_Event event __UNUSED__, const char *path)
-{
- mnt_tab *bak;
-
- if (
- ((_mtab_scan_active) && (data)) || /* mtab has non-null data to avoid needing strcmp */
- ((_fstab_scan_active) && (!data))
- )
- /* prevent scans from triggering a scan */
- return;
-
- bak = _eeze_mount_mtab;
- if (data)
- if (!_eeze_mount_lock_mtab())
- { /* FIXME: maybe queue job here? */
- ERR("Losing events...");
- return;
- }
- _eeze_mount_mtab = _eeze_mount_tab_parse(path);
- if (data)
- _eeze_mount_unlock_mtab();
- if (!_eeze_mount_mtab)
- {
- ERR("Could not parse %s! keeping old tab...", path);
- goto error;
- }
-
- if (data)
- {
- Eina_List *l;
- Eeze_Disk *disk;
-
- /* catch externally initiated mounts on existing disks by comparing known mount state to current state */
- EINA_LIST_FOREACH(_eeze_disks, l, disk)
- {
- Eina_Bool mounted;
-
- mounted = disk->mounted;
-
- if ((eeze_disk_libmount_mounted_get(disk) != mounted) && (!disk->mount_status))
- {
- if (!mounted)
- {
- Eeze_Event_Disk_Mount *e;
- e = malloc(sizeof(Eeze_Event_Disk_Mount));
- if (e)
- {
- e->disk = disk;
- ecore_event_add(EEZE_EVENT_DISK_MOUNT, e, NULL, NULL);
- }
- }
- else
- {
- Eeze_Event_Disk_Unmount *e;
- e = malloc(sizeof(Eeze_Event_Disk_Unmount));
- if (e)
- {
- e->disk = disk;
- ecore_event_add(EEZE_EVENT_DISK_UNMOUNT, e, NULL, NULL);
- }
- }
- }
- }
- }
-
- mnt_free_tab(bak);
- return;
-
-error:
- mnt_free_tab(_eeze_mount_mtab);
- _eeze_mount_mtab = bak;
-}
-
-/*
- *
- * INVISIBLE
- *
- */
-
-Eina_Bool
-eeze_libmount_init(void)
-{
- if (_eeze_mtab_lock)
- return EINA_TRUE;
- if (!(_eeze_mtab_lock = mnt_new_lock(NULL, 0)))
- return EINA_FALSE;
- return EINA_TRUE;
-}
-
-void
-eeze_libmount_shutdown(void)
-{
- if (!_eeze_mtab_lock)
- return;
-
- mnt_unlock_file(_eeze_mtab_lock);
- mnt_free_lock(_eeze_mtab_lock);
- _eeze_mtab_lock = NULL;
-}
-
-/*
- * helper function to return whether a disk is mounted
- */
-Eina_Bool
-eeze_disk_libmount_mounted_get(Eeze_Disk *disk)
-{
- mnt_fs *mnt;
-
- if (!disk)
- return EINA_FALSE;
-
- if (!eeze_mount_mtab_scan() || !eeze_mount_fstab_scan())
- return EINA_FALSE;
-
- mnt = mnt_tab_find_srcpath(_eeze_mount_mtab, eeze_disk_devpath_get(disk), MNT_ITER_BACKWARD);
- if (!mnt)
- {
- disk->mounted = EINA_FALSE;
- return EINA_FALSE;
- }
-
- disk->mount_point = eina_stringshare_add(mnt_fs_get_target(mnt));
- disk->mounted = EINA_TRUE;
- return EINA_TRUE;
-}
-
-
-/*
- * helper function to return the device that is mounted at a mount point
- */
-const char *
-eeze_disk_libmount_mp_find_source(const char *mount_point)
-{
- mnt_fs *mnt;
-
- if (!mount_point)
- return NULL;
-
- if (!eeze_mount_mtab_scan() || !eeze_mount_fstab_scan())
- return NULL;
-
- mnt = mnt_tab_find_target(_eeze_mount_mtab, mount_point, MNT_ITER_BACKWARD);
- if (!mnt)
- mnt = mnt_tab_find_target(_eeze_mount_fstab, mount_point, MNT_ITER_BACKWARD);
-
- if (!mnt)
- return NULL;
-
- return mnt_fs_get_source(mnt);
-}
-
-/*
- * helper function to return a mount point from a uuid
- */
-const char *
-eeze_disk_libmount_mp_lookup_by_uuid(const char *uuid)
-{
- mnt_fs *mnt;
-
- if (!uuid)
- return NULL;
-
- if (!eeze_mount_mtab_scan() || !eeze_mount_fstab_scan())
- return NULL;
-
- mnt = mnt_tab_find_tag(_eeze_mount_fstab, "UUID", uuid, MNT_ITER_BACKWARD);
-
- if (!mnt)
- return NULL;
-
- return mnt_fs_get_target(mnt);
-}
-
-/*
- * helper function to return a mount point from a label
- */
-const char *
-eeze_disk_libmount_mp_lookup_by_label(const char *label)
-{
- mnt_fs *mnt;
-
- if (!label)
- return NULL;
-
- if (!eeze_mount_mtab_scan() || !eeze_mount_fstab_scan())
- return NULL;
-
- mnt = mnt_tab_find_tag(_eeze_mount_fstab, "LABEL", label, MNT_ITER_BACKWARD);
-
- if (!mnt)
- return NULL;
-
- return mnt_fs_get_target(mnt);
-}
-
-/*
- * helper function to return a mount point from a /dev/ path
- */
-const char *
-eeze_disk_libmount_mp_lookup_by_devpath(const char *devpath)
-{
- mnt_fs *mnt;
-
- if (!devpath)
- return NULL;
-
- if (!eeze_mount_mtab_scan() || !eeze_mount_fstab_scan())
- return NULL;
-
- mnt = mnt_tab_find_srcpath(_eeze_mount_mtab, devpath, MNT_ITER_BACKWARD);
- if (!mnt)
- mnt = mnt_tab_find_srcpath(_eeze_mount_fstab, devpath, MNT_ITER_BACKWARD);
-
- if (!mnt)
- return NULL;
-
- return mnt_fs_get_target(mnt);
-}
-
-/*
- *
- * API
- *
- */
-EAPI Eina_Bool
-eeze_mount_tabs_watch(void)
-{
- mnt_tab *bak;
-
- if (_watching)
- return EINA_TRUE;
-
- if (!_eeze_mount_lock_mtab())
- return EINA_FALSE;
-
- bak = _eeze_mount_tab_parse("/etc/mtab");
- _eeze_mount_unlock_mtab();
- if (!bak)
- goto error;
-
- mnt_free_tab(_eeze_mount_mtab);
- _eeze_mount_mtab = bak;
- if (!(bak = _eeze_mount_tab_parse("/etc/fstab")))
- goto error;
-
- mnt_free_tab(_eeze_mount_fstab);
- _eeze_mount_fstab = bak;
-
- _mtab_mon = ecore_file_monitor_add("/etc/mtab", _eeze_mount_tab_watcher, (void*)1);
- _fstab_mon = ecore_file_monitor_add("/etc/fstab", _eeze_mount_tab_watcher, NULL);
- _watching = EINA_TRUE;
-
- return EINA_TRUE;
-
-error:
- if (!_eeze_mount_mtab)
- ERR("Could not parse /etc/mtab!");
- else
- {
- ERR("Could not parse /etc/fstab!");
- mnt_free_tab(_eeze_mount_mtab);
- }
- return EINA_FALSE;
-}
-
-EAPI void
-eeze_mount_tabs_unwatch(void)
-{
- if (!_watching)
- return;
-
- ecore_file_monitor_del(_mtab_mon);
- ecore_file_monitor_del(_fstab_mon);
-}
-
-EAPI Eina_Bool
-eeze_mount_mtab_scan(void)
-{
- mnt_tab *bak;
-
- if (_watching)
- return EINA_TRUE;
-
- if (!_eeze_mount_lock_mtab())
- return EINA_FALSE;
- bak = _eeze_mount_tab_parse("/etc/mtab");
- _eeze_mount_unlock_mtab();
- if (!bak)
- goto error;
- if (_eeze_mount_mtab)
- mnt_free_tab(_eeze_mount_mtab);
- _eeze_mount_mtab = bak;
- return EINA_TRUE;
-
-error:
- return EINA_FALSE;
-}
-
-EAPI Eina_Bool
-eeze_mount_fstab_scan(void)
-{
- mnt_tab *bak;
- if (_watching)
- return EINA_TRUE;
-
- bak = _eeze_mount_tab_parse("/etc/fstab");
- if (!bak)
- goto error;
- if (_eeze_mount_fstab)
- mnt_free_tab(_eeze_mount_fstab);
- _eeze_mount_fstab = bak;
-
- return EINA_TRUE;
-
-error:
- return EINA_FALSE;
-}
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in
-
-AM_CPPFLAGS = @EEZE_CFLAGS@ \
--I$(top_srcdir) \
--I$(top_srcdir)/src/lib \
--DPACKAGE_LIB_DIR=\"$(libdir)\"
-
-AM_CFLAGS = @EEZE_CFLAGS@
-
-includesdir = $(includedir)/eeze-@VMAJ@
-
-# Sensor modules
-pkgdir = $(libdir)/eeze-sensor
-if HAVE_EEZE_TIZEN
-pkg_LTLIBRARIES = eeze-sensor-tizen.la
-eeze_sensor_tizen_la_SOURCES = eeze_sensor_tizen.c
-eeze_sensor_tizen_la_LDFLAGS = -no-undefined -module -avoid-version @TIZEN_SENSOR_LIBS@
-eeze_sensor_tizen_la_LIBTOOLFLAGS = --tag=disable-static
-else
-pkg_LTLIBRARIES = eeze-sensor-fake.la
-eeze_sensor_fake_la_SOURCES = eeze_sensor_fake.c
-eeze_sensor_fake_la_LDFLAGS = -no-undefined -module -avoid-version
-eeze_sensor_fake_la_LIBTOOLFLAGS = --tag=disable-static
-endif
-
-
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in
-
-AM_CPPFLAGS = \
--I$(top_srcdir)/src/lib \
--DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests\" \
-@CHECK_CFLAGS@ \
-@EEZE_CFLAGS@
-
-if EFL_ENABLE_TESTS
-
-check_PROGRAMS = eeze_suite
-
-eeze_suite_SOURCES = eeze_suite.c
-eeze_suite_LDADD = $(top_builddir)/src/lib/libeeze.la @EEZE_LIBS@ @CHECK_LIBS@
-
-endif