beber pushed a commit to branch master.

commit 34b60c54329fdd1ff79f8035fd03a70696eaa028
Author: Bertrand Jacquin <[email protected]>
Date:   Sat Aug 17 13:32:12 2013 +0200

    edje_list and edje_smart_thumb now have dedicated repositories
---
 edje_list/AUTHORS                    |   1 -
 edje_list/COPYING                    |  20 --
 edje_list/ChangeLog                  |   0
 edje_list/Makefile.am                |   7 -
 edje_list/NEWS                       |   0
 edje_list/README                     |   0
 edje_list/autogen.sh                 |  16 --
 edje_list/configure.in               |  27 ---
 edje_list/src/Makefile.am            |   4 -
 edje_list/src/bin/Makefile.am        |  16 --
 edje_list/src/bin/main.c             |  31 ---
 edje_list/src/bin/main.h             |  29 ---
 edje_smart_thumb/AUTHORS             |   2 -
 edje_smart_thumb/COPYING             |  20 --
 edje_smart_thumb/ChangeLog           |   0
 edje_smart_thumb/Makefile.am         |   7 -
 edje_smart_thumb/NEWS                |   0
 edje_smart_thumb/README              |   2 -
 edje_smart_thumb/autogen.sh          |  16 --
 edje_smart_thumb/configure.in        |  33 ---
 edje_smart_thumb/src/Makefile.am     |   4 -
 edje_smart_thumb/src/bin/Makefile.am |  16 --
 edje_smart_thumb/src/bin/main.c      | 407 -----------------------------------
 edje_smart_thumb/src/bin/main.h      |  31 ---
 24 files changed, 689 deletions(-)

diff --git a/edje_list/AUTHORS b/edje_list/AUTHORS
deleted file mode 100644
index 569e63f..0000000
--- a/edje_list/AUTHORS
+++ /dev/null
@@ -1 +0,0 @@
-Sthithaprajna Garapaty (iamsthitha)
\ No newline at end of file
diff --git a/edje_list/COPYING b/edje_list/COPYING
deleted file mode 100644
index 25562c5..0000000
--- a/edje_list/COPYING
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (C) 2008 Sthithaprajna Garapaty
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-  
-The above copyright notice and this permission notice shall be included in
-all copies of the Software, its documentation and marketing & publicity 
-materials, and acknowledgment shall be given in the documentation, materials
-and software packages that this Software was used.
-   
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/edje_list/ChangeLog b/edje_list/ChangeLog
deleted file mode 100644
index e69de29..0000000
diff --git a/edje_list/Makefile.am b/edje_list/Makefile.am
deleted file mode 100644
index bc44e24..0000000
--- a/edje_list/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-
-SUBDIRS = src
-
-MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
-                       config.h.in config.sub configure install-sh \
-                       ltconfig ltmain.sh missing mkinstalldirs \
-                       stamp-h.in depcomp
diff --git a/edje_list/NEWS b/edje_list/NEWS
deleted file mode 100644
index e69de29..0000000
diff --git a/edje_list/README b/edje_list/README
deleted file mode 100644
index e69de29..0000000
diff --git a/edje_list/autogen.sh b/edje_list/autogen.sh
deleted file mode 100755
index 0846992..0000000
--- a/edje_list/autogen.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
-touch README
-
-echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || 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
-
-if [ -z "$NOCONFIGURE" ]; then
-       ./configure "$@"
-fi
diff --git a/edje_list/configure.in b/edje_list/configure.in
deleted file mode 100644
index e731bb9..0000000
--- a/edje_list/configure.in
+++ /dev/null
@@ -1,27 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_INIT(edje_list, 0.0.1, [email protected])
-AC_PREREQ(2.52)
-AC_CONFIG_SRCDIR(configure.in)
-
-AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
-
-AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
-AC_C_CONST
-
-define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
-define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
-AC_PROG_LIBTOOL
-
-PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9])
-
-PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
-
-AC_OUTPUT([
-Makefile
-src/Makefile
-src/bin/Makefile
-])
diff --git a/edje_list/src/Makefile.am b/edje_list/src/Makefile.am
deleted file mode 100644
index c296d8c..0000000
--- a/edje_list/src/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-
-SUBDIRS = bin
-
-MAINTAINERCLEANFILES = Makefile.in
diff --git a/edje_list/src/bin/Makefile.am b/edje_list/src/bin/Makefile.am
deleted file mode 100644
index 6206f7a..0000000
--- a/edje_list/src/bin/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-
-MAINTAINERCLEANFILES = Makefile.in
-
-AM_CPPFLAGS = \
--I$(top_builddir) \
--I$(top_srcdir) \
--I$(top_srcdir)/src/bin \
-@EDJE_CFLAGS@ @EVAS_CFLAGS@
-
-bin_PROGRAMS = edje_list
-
-edje_list_SOURCES = \
-main.c \
-main.h
-
-edje_list_LDADD = @EDJE_LIBS@ @EVAS_LIBS@
diff --git a/edje_list/src/bin/main.c b/edje_list/src/bin/main.c
deleted file mode 100644
index 0658ed4..0000000
--- a/edje_list/src/bin/main.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "main.h"
-
-int
-main(int argc, char **argv)
-{
-       Eina_List *l;
-       char *string;
-
-       edje_init();
-       string = edje_file_data_get(argv[argc - 1], "theme/name");
-       if (!string)
-               string = "";
-       printf("Name: %s\n", string);
-       string = edje_file_data_get(argv[argc - 1], "theme/author");
-       if (!string)
-               string = "";
-       printf("Author: %s\n", string);
-       string = edje_file_data_get(argv[argc - 1], "theme/license");
-       if (!string)
-               string = "";
-       printf("License: %s\n", string);
-       string = edje_file_data_get(argv[argc - 1], "theme/version");
-       if (!string)
-               string = "";
-       printf("Version: %s\n", string);
-
-       EINA_LIST_FOREACH(edje_file_collection_list(argv[argc -1]), l, string)
-         printf("%s\n", string);
-       edje_shutdown();
-       return 0;
-}
diff --git a/edje_list/src/bin/main.h b/edje_list/src/bin/main.h
deleted file mode 100644
index 592fe38..0000000
--- a/edje_list/src/bin/main.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "config.h"
-
-#include <stdio.h>
-#include <string.h>
-#include <Evas.h>
-#include <Edje.h>
-
-#ifdef EAPI
-#undef EAPI
-#endif
-#ifdef WIN32
-# ifdef BUILDING_DLL
-#  define EAPI __declspec(dllexport)
-# else
-#  define EAPI __declspec(dllimport)
-# endif
-#else
-# ifdef __GNUC__
-#  if __GNUC__ >= 4
-// BROKEN in gcc 4 on amd64
-//#   pragma GCC visibility push(hidden)
-#   define EAPI __attribute__ ((visibility("default")))
-#  else
-#   define EAPI
-#  endif
-# else
-#  define EAPI
-# endif
-#endif
diff --git a/edje_smart_thumb/AUTHORS b/edje_smart_thumb/AUTHORS
deleted file mode 100644
index 5c674e7..0000000
--- a/edje_smart_thumb/AUTHORS
+++ /dev/null
@@ -1,2 +0,0 @@
-Sthithaprajna Garapaty (iamsthitha)
-and whoever wrote edje_thumb
\ No newline at end of file
diff --git a/edje_smart_thumb/COPYING b/edje_smart_thumb/COPYING
deleted file mode 100644
index 25562c5..0000000
--- a/edje_smart_thumb/COPYING
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (C) 2008 Sthithaprajna Garapaty
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-  
-The above copyright notice and this permission notice shall be included in
-all copies of the Software, its documentation and marketing & publicity 
-materials, and acknowledgment shall be given in the documentation, materials
-and software packages that this Software was used.
-   
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/edje_smart_thumb/ChangeLog b/edje_smart_thumb/ChangeLog
deleted file mode 100644
index e69de29..0000000
diff --git a/edje_smart_thumb/Makefile.am b/edje_smart_thumb/Makefile.am
deleted file mode 100644
index bc44e24..0000000
--- a/edje_smart_thumb/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-
-SUBDIRS = src
-
-MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
-                       config.h.in config.sub configure install-sh \
-                       ltconfig ltmain.sh missing mkinstalldirs \
-                       stamp-h.in depcomp
diff --git a/edje_smart_thumb/NEWS b/edje_smart_thumb/NEWS
deleted file mode 100644
index e69de29..0000000
diff --git a/edje_smart_thumb/README b/edje_smart_thumb/README
deleted file mode 100644
index d38fa0b..0000000
--- a/edje_smart_thumb/README
+++ /dev/null
@@ -1,2 +0,0 @@
-This is a thumbnailing app written specifically for themes for the 
enlightenment WM.
-Lots of code taken from edje_thumb.
\ No newline at end of file
diff --git a/edje_smart_thumb/autogen.sh b/edje_smart_thumb/autogen.sh
deleted file mode 100755
index 0846992..0000000
--- a/edje_smart_thumb/autogen.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-rm -rf autom4te.cache
-rm -f aclocal.m4 ltmain.sh
-
-touch README
-
-echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || 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
-
-if [ -z "$NOCONFIGURE" ]; then
-       ./configure "$@"
-fi
diff --git a/edje_smart_thumb/configure.in b/edje_smart_thumb/configure.in
deleted file mode 100644
index 5cefd82..0000000
--- a/edje_smart_thumb/configure.in
+++ /dev/null
@@ -1,33 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_INIT(edje_smart_thumb, 0.0.1, [email protected])
-AC_PREREQ(2.52)
-AC_CONFIG_SRCDIR(configure.in)
-
-AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
-
-AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
-AC_C_CONST
-
-define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
-define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
-AC_PROG_LIBTOOL
-
-PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9])
-
-PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
-
-
-PKG_CHECK_MODULES(ECORE, [
-  ecore
-  ecore-evas
-])
-
-AC_OUTPUT([
-Makefile
-src/Makefile
-src/bin/Makefile
-])
diff --git a/edje_smart_thumb/src/Makefile.am b/edje_smart_thumb/src/Makefile.am
deleted file mode 100644
index c296d8c..0000000
--- a/edje_smart_thumb/src/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-
-SUBDIRS = bin
-
-MAINTAINERCLEANFILES = Makefile.in
diff --git a/edje_smart_thumb/src/bin/Makefile.am 
b/edje_smart_thumb/src/bin/Makefile.am
deleted file mode 100644
index 596639c..0000000
--- a/edje_smart_thumb/src/bin/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-
-MAINTAINERCLEANFILES = Makefile.in
-
-AM_CPPFLAGS = \
--I$(top_builddir) \
--I$(top_srcdir) \
--I$(top_srcdir)/src/bin \
-@EDJE_CFLAGS@ @EVAS_CFLAGS@ @ECORE_CFLAGS@
-
-bin_PROGRAMS = edje_smart_thumb
-
-edje_smart_thumb_SOURCES = \
-main.c \
-main.h
-
-edje_smart_thumb_LDADD = @EDJE_LIBS@ @EVAS_LIBS@ @ECORE_LIBS@
diff --git a/edje_smart_thumb/src/bin/main.c b/edje_smart_thumb/src/bin/main.c
deleted file mode 100644
index a875028..0000000
--- a/edje_smart_thumb/src/bin/main.c
+++ /dev/null
@@ -1,407 +0,0 @@
-#include "main.h"
-
-static void args_parse(void);
-static void help_show(void);
-static Eina_Bool signal_exit(void *data, int ev_type, void *ev);
-static Eina_Bool thumb_grab(void *data);
-static void setup_scene(void);
-
-Ecore_Evas *ee = NULL, *ee_im = NULL, *ee_im2 = NULL;
-Evas *evas = NULL, *evas_im = NULL, *evas_im2 = NULL;
-Evas_Object *edje = NULL, *im = NULL, *im2 = NULL;
-char *file = NULL;
-char *group = NULL;
-char *outfile = NULL;
-int w = 640;
-int h = 480;
-int outw = 160;
-int outh = 120;
-
-int
-main(int argc, char **argv)
-{
-       if (!ecore_init()) return -1;
-       ecore_app_args_set(argc, (const char **)argv);
-       ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, signal_exit, NULL);
-       if (!ecore_evas_init()) return -1;
-       if (!edje_init()) return -1;
-
-       args_parse();
-       
-       ee = ecore_evas_buffer_new(outw, outh);
-       if (!ee)
-       {
-               fprintf(stderr, "Error. cannot create buffer engine canvas for 
image save.\n");
-               exit(-1);
-       }
-       evas = ecore_evas_get(ee);
-       
-       im = ecore_evas_object_image_new(ee);
-       if (!im)
-       {
-               fprintf(stderr, "Error. cannot create buffer canvas image 
object for scaling.\n");
-               exit(-1);
-       }
-       evas_object_move(im, 0, 0);
-       evas_object_resize(im, outw, outh);
-       evas_object_image_fill_set(im, 0, 0, outw, outh);
-       evas_object_show(im);
-       evas_object_image_size_set(im, outw, outh);
-       ee_im = evas_object_data_get(im, "Ecore_Evas");
-       evas_im = ecore_evas_get(ee_im);
-       
-       im2 = ecore_evas_object_image_new(ee_im);
-       if (!im2)
-       {
-               fprintf(stderr, "Error. cannot create buffer canvas image for 
scaling.\n");
-               exit(-1);
-       }
-       evas_object_move(im2, 0, 0);
-       evas_object_resize(im2, outw, outh);
-       evas_object_image_fill_set(im2, 0, 0, outw, outh);
-       evas_object_show(im2);
-       evas_object_image_size_set(im2, w, h);
-       ee_im2 = evas_object_data_get(im2, "Ecore_Evas");
-       evas_im2 = ecore_evas_get(ee_im2);
-       
-       setup_scene();
-       
-       edje_message_signal_process();
-       
-       ecore_timer_add(2.0, thumb_grab, NULL);
-       ecore_main_loop_begin();
-       
-       evas_object_del(edje);
-       ecore_evas_free(ee);    
-       edje_shutdown();
-       ecore_evas_shutdown();
-       ecore_shutdown();
-       return 0;
-}
-
-static void
-setup_scene(void)
-{
-       if (!strcmp(group, "e/desktop/background"))
-       {
-               edje = edje_object_add(evas_im2);
-               if (!edje_object_file_set(edje, file, group))
-               {
-                       fprintf(stderr, "Error. cannot load file %s, group 
%s\n", file, group);
-                       exit(-1);
-               }
-               evas_object_move(edje, 0, 0);
-               evas_object_resize(edje, w, h);
-               evas_object_show(edje);
-       }
-       else if (!strcmp(group, "e/fileman"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/gadman"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/icons"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/battery"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/clock"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/cpufreq"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/ibar"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/ibox"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/pager"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/start"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/temperature"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/modules/winlist"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/pointer"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/shelf"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/theme/about"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border/default"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border/dialog"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border/noresize"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border/noresize_dialog"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border/pixel"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/border/shaped"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/about"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/button"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/check"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/color_well"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/configure"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/cslider"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/deskpreview"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/dialog"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/entry"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/exebuf"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/fileselector"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/fontpreview"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/frame"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/gradpreview"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/ilist"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/label"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/menu"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/pager"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/preview"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/radio"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/scrollframe"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/slider"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/spectrum"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/textblock"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/tlist"))
-       {
-               
-       }
-       else if (!strcmp(group, "e/widgets/winlist"))
-       {
-               
-       }
-       else
-       {
-               edje = edje_object_add(evas_im2);
-               if (!edje_object_file_set(edje, file, group))
-               {
-                       fprintf(stderr, "Error. cannot load file %s, group 
%s\n", file, group);
-                       exit(-1);
-               }
-               evas_object_move(edje, 0, 0);
-               evas_object_resize(edje, w, h);
-               evas_object_show(edje);
-       }
-}
-
-static void
-args_parse(void)
-{
-       int argc;
-       char **argv;
-       int i;
-       
-       ecore_app_args_get(&argc, &argv);
-       for (i = 1; i < argc; i++)
-       {
-               if ((!strcmp(argv[i], "-h")) ||
-                        (!strcmp(argv[i], "-help")) ||
-                        (!strcmp(argv[i], "--help")))
-               {
-                       help_show();
-                       exit(-1);
-               }
-               else if (((!strcmp(argv[i], "-g")) ||
-                       (!strcmp(argv[i], "-geometry")) ||
-                       (!strcmp(argv[i], "--geometry"))) && (i < (argc - 1)))
-               {
-                       int n;
-                       char buf[16], buf2[16];
-                       
-                       n = sscanf(argv[i +1], "%10[^x]x%10s", buf, buf2);
-                       if (n == 2)
-                       {
-                               w = atoi(buf);
-                               h = atoi(buf2);
-                       }
-                       i++;
-               }
-               else if (((!strcmp(argv[i], "-og")) ||
-                       (!strcmp(argv[i], "-out-geometry")) ||
-                       (!strcmp(argv[i], "--out-geometry"))) && (i < (argc - 
1)))
-               {
-                       int n;
-                       char buf[16], buf2[16];
-                       
-                       n = sscanf(argv[i +1], "%10[^x]x%10s", buf, buf2);
-                       if (n == 2)
-                       {
-                               outw = atoi(buf);
-                               outh = atoi(buf2);
-                       }
-                       i++;
-               }
-               else if (!file)
-               {
-                       file = argv[i];
-               }
-               else if (!group)
-               {
-                       group = argv[i];
-               }
-               else if (!outfile)
-               {
-                       outfile = argv[i];
-               }
-       }
-       if ((!file) || (!group) || (!outfile))
-       {
-               help_show();
-               exit(-1);
-       }
-}
-
-static void
-help_show(void)
-{
-       printf("Usage: edje_thumb INPUT_EDJE GROUP_TO_LOAD OUT_FILE [OPTIONS]\n"
-               "\n"
-               "Where required parameters are:\n"
-               "  INPUT_EDJE    the edje file to look at\n"
-               "  GROUP_TO_LOAD the group name in the edge\n"
-               "  OUT_FILE      the output file or format\n"
-               "\n"
-               "Where optional OPTIONS are:\n"
-               "  -h          this help\n"      "  -g WxH      rendering 
geometry\n"
-               "  -og WxH     output file geometry\n"
-               );
-}
-
-static Eina_Bool
-signal_exit(void *data, int ev_type, void *ev)
-{
-       ecore_main_loop_quit();
-       return EINA_TRUE;
-}
-
-static Eina_Bool
-thumb_grab(void *data)
-{
-       char buf[4096];
-       
-       snprintf(buf, sizeof(buf), outfile);
-       ecore_evas_buffer_pixels_get(ee);
-       if (!evas_object_image_save(im, buf, NULL, "quality=100 compress=9"))
-       {
-               fprintf(stderr, "Error. cannot load file \"%s\". Missing saver 
module for Evas or literally cannot write the file (permissions or directory 
doesnt exist).\n", buf);
-               exit(-1);
-       }
-       ecore_main_loop_quit();
-       return EINA_FALSE;
-}
diff --git a/edje_smart_thumb/src/bin/main.h b/edje_smart_thumb/src/bin/main.h
deleted file mode 100644
index 99fd087..0000000
--- a/edje_smart_thumb/src/bin/main.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "config.h"
-
-#include <stdio.h>
-#include <string.h>
-#include <Evas.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Edje.h>
-
-#ifdef EAPI
-#undef EAPI
-#endif
-#ifdef WIN32
-# ifdef BUILDING_DLL
-#  define EAPI __declspec(dllexport)
-# else
-#  define EAPI __declspec(dllimport)
-# endif
-#else
-# ifdef __GNUC__
-#  if __GNUC__ >= 4
-// BROKEN in gcc 4 on amd64
-//#   pragma GCC visibility push(hidden)
-#   define EAPI __attribute__ ((visibility("default")))
-#  else
-#   define EAPI
-#  endif
-# else
-#  define EAPI
-# endif
-#endif

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to