Tizen 2.1 base
authorJinkun Jang <jinkun.jang@samsung.com>
Tue, 12 Mar 2013 16:52:30 +0000 (01:52 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Tue, 12 Mar 2013 16:52:30 +0000 (01:52 +0900)
21 files changed:
AUTHORS [new file with mode: 0644]
LICENSE [new file with mode: 0644]
NOTICE [new file with mode: 0644]
config-slp/AUTHORS [new file with mode: 0755]
config-slp/Makefile.am [new file with mode: 0755]
config-slp/autogen.sh [new file with mode: 0755]
config-slp/configure.ac [new file with mode: 0755]
config-slp/module.desktop.in [new file with mode: 0755]
config-slp/src/Makefile.am [new file with mode: 0644]
config-slp/src/e_mod_main.c [new file with mode: 0644]
config-slp/src/e_mod_main.h [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/e17-extra-config-modules.install [new file with mode: 0755]
debian/jobs [new file with mode: 0755]
debian/rules [new file with mode: 0755]
e17-extra-config-modules.manifest [new file with mode: 0644]
packaging/e17-extra-config-modules.changes [new file with mode: 0644]
packaging/e17-extra-config-modules.spec [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..ae8eaa7
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,3 @@
+Seunggyun Kim <sgyun.kim@samsung.com>
+Sohyun Kim <anna1014.kim@samsung.com>
+Doyoun Kang <doyoun.kang@samsung.com>
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..d645695
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/NOTICE b/NOTICE
new file mode 100644 (file)
index 0000000..ccdad52
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,3 @@
+Copyright (c) Samsung Electronics Co., Ltd. All rights reserved.
+Except as noted, this software is licensed under Apache License, Version 2.
+Please, see the LICENSE file for Apache License terms and conditions.
diff --git a/config-slp/AUTHORS b/config-slp/AUTHORS
new file mode 100755 (executable)
index 0000000..ae8eaa7
--- /dev/null
@@ -0,0 +1,3 @@
+Seunggyun Kim <sgyun.kim@samsung.com>
+Sohyun Kim <anna1014.kim@samsung.com>
+Doyoun Kang <doyoun.kang@samsung.com>
diff --git a/config-slp/Makefile.am b/config-slp/Makefile.am
new file mode 100755 (executable)
index 0000000..61a7736
--- /dev/null
@@ -0,0 +1,18 @@
+# maintainer-clean removes everything
+MAINTAINERCLEANFILES = aclocal.m4 compile config.sub config.guess config.h.in \
+                      configure depcomp install-sh ltmain.sh Makefile.in missing
+
+SUBDIRS = src
+
+filesdir = $(datadir)
+files_DATA = module.desktop
+
+EXTRA_DIST = module.desktop.in
+
+clean-local:
+       rm -rf module.desktop
+
+uninstall:
+       rm -rf $(DESTDIR)$(datadir)
+
+
diff --git a/config-slp/autogen.sh b/config-slp/autogen.sh
new file mode 100755 (executable)
index 0000000..5a30991
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+set  -x
+aclocal
+autoconf
+libtoolize --copy --force
+autoheader
+automake --foreign --add-missing --copy
+
diff --git a/config-slp/configure.ac b/config-slp/configure.ac
new file mode 100755 (executable)
index 0000000..cf8fd82
--- /dev/null
@@ -0,0 +1,102 @@
+# authored by Seung-gyun Kim <sgyun.kim@samsung.com>
+#
+# Note )
+#
+# AC_DEFINE(VARIABLE, VALUE, DESCRIPTION)
+#   output the following to config.h
+#   /* DESCRIPTION */
+#   #define VARIABLE VALUE
+#
+# AC_SUBST(VARIABLE, [VALUE])
+#   define $(VARIABLE) as VALUE in Makefile
+
+dnl ========================================================================
+# initialization
+dnl ========================================================================
+AC_INIT([config-slp], [0.1], [sgyun.kim@samsung.com])
+
+# check for tools needed by automake generated Makefiles
+# -Wall  : Turn all warnings on.
+# -Werror: report warings as errors.
+# foreign: relax some GNU standard requirements
+#AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall foreign])
+
+dnl ========================================================================
+# checks for programs
+dnl ========================================================================
+AC_PROG_CC
+AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
+
+dnl ========================================================================
+# checks for libraries
+dnl ========================================================================
+
+dnl ========================================================================
+# checks for header files
+dnl ========================================================================
+#AC_HEADER_STDC
+AC_CHECK_HEADERS([math.h fcntl.h stdlib.h string.h unistd.h])
+
+dnl ========================================================================
+# checks for typedefs, structures, and compiler characteristics
+AC_C_CONST
+
+dnl ========================================================================
+# checks for library functions
+dnl ========================================================================
+#AC_FUNC_MALLOC
+AC_FUNC_MMAP
+AC_CHECK_FUNCS([memset munmap strcasecmp strdup])
+
+dnl ========================================================================
+# checks for pkg-config
+dnl ========================================================================
+PKG_PROG_PKG_CONFIG
+
+#PKG_CHECK_MODULES(GESTUREPROTO, gestureproto)
+#PKG_CHECK_MODULES(GESTURELIB, xgesture)
+
+dnl ========================================================================
+# checks for pkg-config
+dnl ========================================================================
+#PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, gestureproto, xgesture])
+PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, elementary])
+ENLIGHTENMENT_CFLAGS="${ENLIGHTENMENT_CFLAGS} "
+AC_SUBST(ENLIGHTENMENT_CFLAGS)
+AC_SUBST(ENLIGHTENMENT_LIBS)
+
+
+dnl =======================================================================
+
+release=$(pkg-config --variable=release enlightenment)
+MODULE_ARCH="$host_os-$host_cpu-$release"
+AC_SUBST(MODULE_ARCH)
+AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
+
+datadir=$(pkg-config --variable=modules enlightenment)/${PACKAGE}
+AC_ARG_ENABLE(homedir-install,
+       AS_HELP_STRING([--enable-homedir-install], [Install module in homedir]),
+       [ datadir="${HOME}/.e/e/modules/${PACKAGE}" ]
+)
+
+dnl ========================================================================
+# output files
+dnl ========================================================================
+
+# create HEADER for all HEADER.in.
+# HEADERS contain definitions made with AC_DEFINE.
+# the following command will create config.h from config.h.in
+AC_CONFIG_HEADERS([config.h])
+
+# create FILE for all FILE.in.
+# FILES contains definitions made with AC_SUBST.
+AC_CONFIG_FILES([
+                Makefile
+                src/Makefile
+                module.desktop
+                ])
+
+AC_OUTPUT
+
diff --git a/config-slp/module.desktop.in b/config-slp/module.desktop.in
new file mode 100755 (executable)
index 0000000..6cabe7f
--- /dev/null
@@ -0,0 +1,31 @@
+[Desktop Entry]
+Type=Link
+Name=config-slp
+Name[cs]=
+Name[de]=
+Name[eo]=
+Name[es]=
+Name[fr]=
+Name[hu]=
+Name[it]=
+Name[ja]=
+Name[pt]=
+Name[pt_BR]=
+Name[tr]=
+Name[zh_CN]=
+Name[zh_TW]=
+Icon=e-module-clock
+Comment=<title>config-slp</title><br>Samsung elementary profile.
+Comment[cs]=
+Comment[de]=
+Comment[eo]=
+Comment[es]=
+Comment[fr]=
+Comment[hu]=
+Comment[it]=
+Comment[ja]=
+Comment[pt]=
+Comment[pt_BR]=
+Comment[tr]=
+Comment[zh_CN]=
+Comment[zh_TW]=
diff --git a/config-slp/src/Makefile.am b/config-slp/src/Makefile.am
new file mode 100644 (file)
index 0000000..eb0abed
--- /dev/null
@@ -0,0 +1,27 @@
+MAINTAINERCLEANFILES = Makefile.in
+MODULE = config-slp
+
+LDFLAGS += 
+#LDFLAGS += -lvconf -lappfwk
+
+#CPPFLAGS = \
+#         -I. \
+#         -I$(includedir) \
+#         -I$(includedir)/enlightenment 
+          
+# the module .so file
+#INCLUDES               = -I. \
+#                       -I$(includedir)
+#                         -I$(includedir)/enlightenment \
+#                         @e_cflags@
+pkgdir                 = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
+pkg_LTLIBRARIES        = module.la
+module_la_SOURCES      = e_mod_main.c \
+                         e_mod_main.h
+module_la_LIBADD       = 
+module_la_CFLAGS       = @ENLIGHTENMENT_CFLAGS@
+module_la_LDFLAGS      = -module -avoid-version @ENLIGHTENMENT_LIBS@
+module_la_DEPENDENCIES = $(top_builddir)/config.h
+
+#uninstall:
+#      rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)
diff --git a/config-slp/src/e_mod_main.c b/config-slp/src/e_mod_main.c
new file mode 100644 (file)
index 0000000..510b01c
--- /dev/null
@@ -0,0 +1,122 @@
+/*
+ * e17-extra-config-modules
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "e.h"
+#include "e_mod_main.h"
+#include "Elementary.h"
+
+#define RESOLUTION_BASE         1
+#define PI                      3.141592
+#define BASE_LAYOUT_INCH        4.65
+#define BASE_LAYOUT_WIDTH_PX    720
+#define BASE_LAYOUT_HEIGHT_PX   1280
+#define ROUND_DOUBLE(x)         (round(((double)x)*100)/100)
+#define ELM_FINGER_SIZE         60
+
+static int _e_elm_config_scale_update(void);
+
+/* this is needed to advertise a label for the module IN the code (not just
+ * the .desktop file) but more specifically the api version it was compiled
+ * for so E can skip modules that are compiled for an incorrect API version
+ * safely) */
+
+EAPI E_Module_Api e_modapi =
+{
+   E_MODULE_API_VERSION, "Elementary Profile Module of Window Manager"
+};
+
+EAPI void*
+e_modapi_init(E_Module* m)
+{
+   _e_elm_config_scale_update();
+   return m;
+}
+
+EAPI int
+e_modapi_shutdown(E_Module* m)
+{
+   return 1;
+}
+
+EAPI int
+e_modapi_save(E_Module* m)
+{
+   /* Do Something */
+   return 1;
+}
+
+#ifndef RESOLUTION_BASE
+static double
+_e_elm_config_dpi_get(double d_inch, int w_px, int h_px)
+{
+   double dpi;
+
+   dpi = (sqrt((w_px * w_px) + (h_px * h_px))) / d_inch;
+
+   return dpi;
+}
+#endif
+
+static int
+_e_mod_config_elm_profile_save(double scale)
+{
+   elm_init(0, NULL);
+   elm_config_scale_set(scale);
+   elm_config_finger_size_set(scale * ELM_FINGER_SIZE);
+   elm_config_save();
+   elm_shutdown();
+
+   return 1;
+}
+
+static int
+_e_elm_config_scale_update (void)
+{
+   int target_width, target_height, target_width_mm, target_height_mm;
+   double scale;
+
+   target_width = 0;
+   target_height = 0;
+   target_width_mm = 0;
+   target_height_mm = 0;
+
+   ecore_x_randr_screen_current_size_get(ecore_x_window_root_first_get(), &target_width, &target_height, &target_width_mm, &target_height_mm);
+
+#if RESOLUTION_BASE
+
+   scale = ROUND_DOUBLE(target_width / BASE_LAYOUT_WIDTH_PX);
+
+#else // DPI BASE
+   double target_inch, target_dpi, base_dpi;
+
+   target_inch = ROUND_DOUBLE(sqrt(target_width_mm * target_width_mm + target_height_mm * target_height_mm) / 25.4);
+
+   // Calculate DPI
+   base_dpi = ROUND_DOUBLE(_e_elm_config_dpi_get(BASE_LAYOUT_INCH, BASE_LAYOUT_WIDTH_PX, BASE_LAYOUT_HEIGHT_PX));
+   target_dpi = ROUND_DOUBLE(_e_elm_config_dpi_get(target_inch, target_width, target_height));
+
+     // Calculate Scale factor
+   scale = ROUND_DOUBLE(target_dpi / base_dpi);
+
+#endif
+   e_config->scale.factor = scale;
+
+   // calculate elementray scale factor
+   _e_mod_config_elm_profile_save(scale);
+
+   return 1;
+}
diff --git a/config-slp/src/e_mod_main.h b/config-slp/src/e_mod_main.h
new file mode 100644 (file)
index 0000000..48f2f64
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * e17-extra-config-modules
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __E_MOD_MAIN_H__
+#define __E_MOD_MAIN_H__
+
+EAPI extern E_Module_Api e_modapi;
+
+EAPI void* e_modapi_init (E_Module* m);
+EAPI int e_modapi_shutdown (E_Module* m);
+EAPI int e_modapi_save (E_Module* m);
+
+
+#endif//__E_MOD_MAIN_H__
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..3e15790
--- /dev/null
@@ -0,0 +1,144 @@
+e17-extra-private-modules (0.1.18) unstable; urgency=low
+
+  * Change to save profile in every rebooting time.
+  * Remove zone_del process.
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.18
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Fri, 13 Jul 2012 16:41:44 +0900
+
+e17-extra-private-modules (0.1.17) unstable; urgency=low
+
+  * Change profile name from extension to desktop
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.17
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Mon, 18 Jun 2012 14:13:58 +0900
+
+e17-extra-private-modules (0.1.16) unstable; urgency=low
+
+  * Change '.elementary' directory and sub files owner to support profile saving in setting app
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.16
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Tue, 12 Jun 2012 10:45:06 +0900
+
+e17-extra-private-modules (0.1.15) unstable; urgency=low
+
+  * Package Upload
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.15
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 07 Jun 2012 17:23:31 +0900
+
+e17-extra-private-modules (0.1.14) unstable; urgency=low
+
+  * Fix access set problem
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.14
+
+ -- Seungyun Kim <sgyun.kim@samsung.com>  Thu, 07 Jun 2012 16:38:28 +0900
+
+e17-extra-private-modules (0.1.13) unstable; urgency=low
+
+  * Support desktop mode
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.13
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Wed, 30 May 2012 17:48:55 +0900
+
+e17-extra-private-modules (0.1.12) unstable; urgency=low
+
+  * Package Upload
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1.12
+
+ -- Jeonghyun Yun <jh0506.yun@samsung.com>  Fri, 27 Apr 2012 13:57:56 +0900
+
+e17-extra-private-modules (0.1-11) unstable; urgency=low
+
+  * Add target inch round calculation
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-11
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 23 Feb 2012 17:39:15 +0900
+
+e17-extra-private-modules (0.1-10) unstable; urgency=low
+
+  * Add Samsung Proprietary Boiler Plate
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-10
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Tue, 21 Feb 2012 11:30:19 +0900
+
+e17-extra-private-modules (0.1-9) unstable; urgency=low
+
+  * Make /opt/etc/.profile_ready file after profile saving finished
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-9
+  
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Tue, 31 Jan 2012 17:32:49 +0900
+
+e17-extra-private-modules (0.1-8) unstable; urgency=low
+
+  * Add temp patch for Proxima target
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-8
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 26 Jan 2012 12:23:37 +0900
+
+e17-extra-private-modules (0.1-7) unstable; urgency=low
+
+  * Change stat function to lstat for filtering symbolic link
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-7
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 19 Jan 2012 18:14:37 +0900
+
+e17-extra-private-modules (0.1-6) unstable; urgency=low
+
+  * Change /opt/home/ directory finding routine
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-6
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 19 Jan 2012 16:10:09 +0900
+
+e17-extra-private-modules (0.1-5) unstable; urgency=low
+
+  * Add each owner's base config file saving routine
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-5
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Tue, 17 Jan 2012 15:15:54 +0900
+
+e17-extra-private-modules (0.1-4) unstable; urgency=low
+
+  * Add target distance adjustment routine
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-4
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Tue, 10 Jan 2012 20:08:10 +0900
+
+e17-extra-private-modules (0.1-3) unstable; urgency=low
+
+  * Package Upload
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-3
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 05 Jan 2012 17:02:48 +0900
+
+e17-extra-private-modules (0.1-2) unstable; urgency=low
+
+  * Package Upload
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-2
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Thu, 29 Dec 2011 18:05:55 +0900
+
+e17-extra-private-modules (0.1-1) unstable; urgency=low
+
+  * Initial release for e17-extra-private-modules (config-slp)
+  * Git: slp/pkgs/e/e17-extra-private-modules
+  * Tag: e17-extra-private-modules_0.1-1
+
+ -- Seunggyun Kim <sgyun.kim@samsung.com>  Wed, 21 Dec 2011 13:19:48 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..120fc89
--- /dev/null
@@ -0,0 +1,21 @@
+Source: e17-extra-config-modules
+Priority: extra
+Maintainer: Seunggyun Kim <sgyun.kim@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Doyoun Kang <doyoun.kang@samsung.com>, Myoungwoon Kim <myoungwoon.kim@samsung.com>
+Build-Depends: debhelper (>= 5), e17-dev, libslp-utilx-dev, libelm-dev, dlog-dev
+Standards-Version: 3.8.3
+Section: libs
+
+Package: e17-extra-config-modules
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The E17 Extra Config Modules
+ The E17 extra config modules consists of modules made by SAMSUNG.
+
+Package: e17-extra-config-modules-dbg
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The debug version of E17 Extra Config Modules
+ The E17 extra config modules consists of modules made by SAMSUNG.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/e17-extra-config-modules.install b/debian/e17-extra-config-modules.install
new file mode 100755 (executable)
index 0000000..a7b273a
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/enlightenment/modules/*/*/*.so
diff --git a/debian/jobs b/debian/jobs
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..31d1d48
--- /dev/null
@@ -0,0 +1,111 @@
+#!/usr/bin/make -f
+# debian/rules for the Debian xutils package.
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
+# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
+# Copyright © 2005 David Nusinow <dnusinow@debian.org>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# set this to the name of the main shlib's binary package
+PACKAGE = e17-extra-config-modules
+PREFIX ?= /usr
+
+#include debian/xsfbs/xsfbs.mk
+
+# This package contains multiple modules as shipped by upstream. Each module is # contained in a subdirectory in the root dir of the package. You must list each
+# subdirectory explicitly so that the build system knows what to build
+DEF_SUBDIRS= config-slp
+SUBDIRS=$(DEF_SUBDIRS)
+BUILD_STAMPS = $(addprefix $(STAMP_DIR)/build-,$(SUBDIRS))
+
+CFLAGS = -Wall -g -fPIC -rdynamic
+CXXFLAGS += -fPIC
+LDFLAGS += -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=$(PREFIX)/lib
+
+# Machine name
+MACHINE_NAME=$(shell uname -m)
+
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+       NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+       MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+ifeq ($(MACHINE_NAME), arm)
+       CFLAGS  += -D_ENV_ARM
+endif
+
+DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+       confflags += --build=$(DEB_HOST_GNU_TYPE)
+else
+       confflags += --build=$(DEB_HOST_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+endif
+
+build:
+       >$@
+       for FILE in $(SUBDIRS); do \
+               mkdir -p "$$FILE"-obj-$(DEB_BUILD_GNU_TYPE) ; \
+               cd "$$FILE" && ./autogen.sh && cd ..; \
+               cd "$$FILE"-obj-$(DEB_BUILD_GNU_TYPE) && ../"$$FILE"/configure --prefix=/usr "$(confflags)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" && $(MAKE) || exit ; \
+               cd ..; \
+       done
+       >$@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       rm -f config.cache config.log config.status
+       rm -f */config.cache */config.log */config.status
+       rm -f conftest* */conftest*
+       rm -rf autom4te.cache */autom4te.cache
+       rm -rf *-obj-*
+       rm -f build
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       for FILE in $(SUBDIRS); do \
+               cd "$$FILE"-obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install ; \
+               cd ..; \
+       done
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+
+       dh_installdocs
+       dh_install --sourcedir=debian/tmp --list-missing
+       dh_installmenu
+       dh_installchangelogs
+       dh_link
+       dh_strip --dbg-package=$(PACKAGE)-dbg
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+# Build architecture-independent files here.
+binary-indep: build install
+# Nothing to do
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/e17-extra-config-modules.manifest b/e17-extra-config-modules.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+</manifest>
diff --git a/packaging/e17-extra-config-modules.changes b/packaging/e17-extra-config-modules.changes
new file mode 100644 (file)
index 0000000..ae2ef58
--- /dev/null
@@ -0,0 +1,7 @@
+* Sun Dec 30 2012 Anas Nashif <anas.nashif@intel.com> accepted/trunk/20121205.111404@b023f4d
+- shorten summary
+
+* Wed Nov 28 2012 Anas Nashif <anas.nashif@intel.com> accepted/trunk/20121127.080913@cc1679e
+- Use libX11 instead of libx11
+- Set license and Group
+
diff --git a/packaging/e17-extra-config-modules.spec b/packaging/e17-extra-config-modules.spec
new file mode 100644 (file)
index 0000000..7f54673
--- /dev/null
@@ -0,0 +1,52 @@
+Name:           e17-extra-config-modules
+Summary:        The E17 Extra Config Modules
+Version:        0.1.28r01
+Release:        1
+Group:          Graphical desktop/Enlightenment
+License:        BSD
+Source0:        %{name}-%{version}.tar.gz
+BuildRequires:  pkgconfig(enlightenment)
+BuildRequires:  pkgconfig(utilX)
+BuildRequires:  pkgconfig(elementary)
+BuildRequires:  pkgconfig(dlog)
+Requires:       libX11
+
+
+%description
+The E17 Extra Config Modules  The E17 extra config modules consists of modules made by SAMSUNG.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS+=" -Wall -g -fPIC -rdynamic"
+export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
+
+%ifarch %{arm}
+export CFLAGS+=" -D_ENV_ARM"
+%endif
+
+for FILE in config-slp
+do
+        (cd $FILE && ./autogen.sh && ./configure --prefix=/usr && make )
+done
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/%{name}
+
+for FILE in config-slp
+do
+        (cd $FILE && %make_install )
+done
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/enlightenment/modules/config-slp/*
+/usr/share/license/%{name}
+%manifest %{name}.manifest