Tizen 2.1 base
authorJinkun Jang <jinkun.jang@samsung.com>
Tue, 12 Mar 2013 16:37:11 +0000 (01:37 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Tue, 12 Mar 2013 16:37:11 +0000 (01:37 +0900)
80 files changed:
CMakeLists.txt [new file with mode: 0755]
INSTALL [new file with mode: 0644]
LICENSE [new file with mode: 0644]
NOTICE [new file with mode: 0644]
app-selector-util.c [new file with mode: 0755]
app-selector-util.h [new file with mode: 0755]
app-selector-view.c [new file with mode: 0755]
app-selector-view.h [new file with mode: 0755]
app-selector.c [new file with mode: 0755]
app-selector.edc [new file with mode: 0644]
app-selector.h [new file with mode: 0755]
debian/changelog [new file with mode: 0755]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0755]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/org.tizen.app-selector.install.in [new file with mode: 0644]
debian/rules [new file with mode: 0755]
org.tizen.app-selector.manifest [new file with mode: 0644]
org.tizen.app-selector.xml.in [new file with mode: 0755]
packaging/org.tizen.app-selector.spec [new file with mode: 0755]
po/CMakeLists.txt [new file with mode: 0644]
po/POTFILES.in [new file with mode: 0644]
po/app-selector.pot [new file with mode: 0644]
po/ar.po [new file with mode: 0644]
po/az.po [new file with mode: 0644]
po/bg.po [new file with mode: 0644]
po/ca.po [new file with mode: 0644]
po/cs.po [new file with mode: 0644]
po/da.po [new file with mode: 0644]
po/de_DE.po [new file with mode: 0644]
po/el_GR.po [new file with mode: 0644]
po/en.po [new file with mode: 0644]
po/en_GB.po [new file with mode: 0644]
po/en_PH.po [new file with mode: 0644]
po/en_US.po [new file with mode: 0644]
po/es_ES.po [new file with mode: 0644]
po/es_MX.po [new file with mode: 0644]
po/et.po [new file with mode: 0644]
po/eu.po [new file with mode: 0644]
po/fi.po [new file with mode: 0644]
po/fr_CA.po [new file with mode: 0644]
po/fr_FR.po [new file with mode: 0644]
po/ga.po [new file with mode: 0644]
po/gl.po [new file with mode: 0644]
po/hi.po [new file with mode: 0644]
po/hr.po [new file with mode: 0644]
po/hu.po [new file with mode: 0644]
po/hy.po [new file with mode: 0644]
po/is.po [new file with mode: 0644]
po/it_IT.po [new file with mode: 0644]
po/ja.po [new file with mode: 0644]
po/ja_JP.po [new file with mode: 0644]
po/ka.po [new file with mode: 0644]
po/kk.po [new file with mode: 0644]
po/ko.po [new file with mode: 0644]
po/ko_KR.po [new file with mode: 0644]
po/lt.po [new file with mode: 0644]
po/lv.po [new file with mode: 0644]
po/mk.po [new file with mode: 0644]
po/nb.po [new file with mode: 0644]
po/nl_NL.po [new file with mode: 0644]
po/pl.po [new file with mode: 0644]
po/pt_BR.po [new file with mode: 0644]
po/pt_PT.po [new file with mode: 0644]
po/ro.po [new file with mode: 0644]
po/ru_RU.po [new file with mode: 0644]
po/sk.po [new file with mode: 0644]
po/sl.po [new file with mode: 0644]
po/sr.po [new file with mode: 0644]
po/sv.po [new file with mode: 0644]
po/tr_TR.po [new file with mode: 0644]
po/uk.po [new file with mode: 0644]
po/update-po.sh [new file with mode: 0755]
po/uz.po [new file with mode: 0644]
po/zh_CN.po [new file with mode: 0644]
po/zh_HK.po [new file with mode: 0644]
po/zh_SG.po [new file with mode: 0644]
po/zh_TW.po [new file with mode: 0644]

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100755 (executable)
index 0000000..29905f9
--- /dev/null
@@ -0,0 +1,70 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(app-selector C)
+
+SET(SRCS app-selector.c app-selector-view.c app-selector-util.c)
+
+SET(VENDOR "tizen")
+SET(PACKAGE ${PROJECT_NAME})
+SET(PKGNAME "org.${VENDOR}.${PACKAGE}")
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+SET(BINDIR "${PREFIX}/bin")
+SET(DATADIR "${PREFIX}/share")
+SET(LOCALEDIR "${DATADIR}/locale")
+SET(ICONDIR "${DATADIR}/icons")
+SET(EDJDIR "${DATADIR}/edje/${PACKAGE}")
+
+IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
+       SET(CMAKE_BUILD_TYPE "Release")
+ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "")
+MESSAGE("Build type: ${CMAKE_BUILD_TYPE}")
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
+
+INCLUDE(FindPkgConfig)
+pkg_check_modules(pkgs REQUIRED appcore-efl aul utilX ecore-x eina evas ecore ecore-file ecore-input edje ail appsvc x11 libsoup-2.4)
+
+FOREACH(flag ${pkgs_CFLAGS})
+       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
+
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC")
+SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
+SET(CMAKE_C_FLAGS_RELEASE "-O2")
+
+FIND_PROGRAM(UNAME NAMES uname)
+EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")
+IF("${ARCH}" MATCHES "^arm.*")
+       ADD_DEFINITIONS("-DTARGET")
+       MESSAGE("add -DTARGET")
+ENDIF("${ARCH}" MATCHES "^arm.*")
+
+ADD_DEFINITIONS("-fpie")
+
+ADD_DEFINITIONS("-DVENDOR=\"${VENDOR}\"")
+ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
+ADD_DEFINITIONS("-DPACKAGE_NAME=\"${PKGNAME}\"")
+ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
+ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
+
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
+
+ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} "-pie")
+
+ADD_CUSTOM_TARGET(app-selector.edj
+               COMMAND edje_cc -id ${CMAKE_SOURCE_DIR}/images  
+               ${CMAKE_SOURCE_DIR}/app-selector.edc ${CMAKE_BINARY_DIR}/app-selector.edj  
+               DEPENDS ${CMAKE_SOURCE_DIR}/app-selector.edc   
+)  
+ADD_DEPENDENCIES(${PROJECT_NAME} app-selector.edj)
+
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/app-selector.edj DESTINATION ${EDJDIR})
+
+# install manifest file & icon
+CONFIGURE_FILE(${PKGNAME}.xml.in ${CMAKE_BINARY_DIR}/${PKGNAME}.xml)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /usr/share/packages)
+
+# i18n
+ADD_SUBDIRECTORY(po)
+
diff --git a/INSTALL b/INSTALL
new file mode 100644 (file)
index 0000000..ddf4e78
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,33 @@
+1. make the build directory
+
+  ex) 
+
+   $ mkdir build
+
+
+2. change the working directory to the build directory
+
+  ex)
+
+   $ cd build
+
+
+3. run 'cmake'
+
+  $ cmake ${SOURCE_DIR} -DCMAKE_INSTALL_PREFIX=/usr
+
+  ex)
+
+   $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+
+   or
+
+   $ cmake ..
+
+
+4. make & make install
+
+  ex)
+
+   $ make -j 2 && make install
+
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..9c13a9b
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,204 @@
+Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
+\r
+                                 Apache License\r
+                           Version 2.0, January 2004\r
+                        http://www.apache.org/licenses/\r
+\r
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\r
+\r
+   1. Definitions.\r
+\r
+      "License" shall mean the terms and conditions for use, reproduction,\r
+      and distribution as defined by Sections 1 through 9 of this document.\r
+\r
+      "Licensor" shall mean the copyright owner or entity authorized by\r
+      the copyright owner that is granting the License.\r
+\r
+      "Legal Entity" shall mean the union of the acting entity and all\r
+      other entities that control, are controlled by, or are under common\r
+      control with that entity. For the purposes of this definition,\r
+      "control" means (i) the power, direct or indirect, to cause the\r
+      direction or management of such entity, whether by contract or\r
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the\r
+      outstanding shares, or (iii) beneficial ownership of such entity.\r
+\r
+      "You" (or "Your") shall mean an individual or Legal Entity\r
+      exercising permissions granted by this License.\r
+\r
+      "Source" form shall mean the preferred form for making modifications,\r
+      including but not limited to software source code, documentation\r
+      source, and configuration files.\r
+\r
+      "Object" form shall mean any form resulting from mechanical\r
+      transformation or translation of a Source form, including but\r
+      not limited to compiled object code, generated documentation,\r
+      and conversions to other media types.\r
+\r
+      "Work" shall mean the work of authorship, whether in Source or\r
+      Object form, made available under the License, as indicated by a\r
+      copyright notice that is included in or attached to the work\r
+      (an example is provided in the Appendix below).\r
+\r
+      "Derivative Works" shall mean any work, whether in Source or Object\r
+      form, that is based on (or derived from) the Work and for which the\r
+      editorial revisions, annotations, elaborations, or other modifications\r
+      represent, as a whole, an original work of authorship. For the purposes\r
+      of this License, Derivative Works shall not include works that remain\r
+      separable from, or merely link (or bind by name) to the interfaces of,\r
+      the Work and Derivative Works thereof.\r
+\r
+      "Contribution" shall mean any work of authorship, including\r
+      the original version of the Work and any modifications or additions\r
+      to that Work or Derivative Works thereof, that is intentionally\r
+      submitted to Licensor for inclusion in the Work by the copyright owner\r
+      or by an individual or Legal Entity authorized to submit on behalf of\r
+      the copyright owner. For the purposes of this definition, "submitted"\r
+      means any form of electronic, verbal, or written communication sent\r
+      to the Licensor or its representatives, including but not limited to\r
+      communication on electronic mailing lists, source code control systems,\r
+      and issue tracking systems that are managed by, or on behalf of, the\r
+      Licensor for the purpose of discussing and improving the Work, but\r
+      excluding communication that is conspicuously marked or otherwise\r
+      designated in writing by the copyright owner as "Not a Contribution."\r
+\r
+      "Contributor" shall mean Licensor and any individual or Legal Entity\r
+      on behalf of whom a Contribution has been received by Licensor and\r
+      subsequently incorporated within the Work.\r
+\r
+   2. Grant of Copyright License. Subject to the terms and conditions of\r
+      this License, each Contributor hereby grants to You a perpetual,\r
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+      copyright license to reproduce, prepare Derivative Works of,\r
+      publicly display, publicly perform, sublicense, and distribute the\r
+      Work and such Derivative Works in Source or Object form.\r
+\r
+   3. Grant of Patent License. Subject to the terms and conditions of\r
+      this License, each Contributor hereby grants to You a perpetual,\r
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+      (except as stated in this section) patent license to make, have made,\r
+      use, offer to sell, sell, import, and otherwise transfer the Work,\r
+      where such license applies only to those patent claims licensable\r
+      by such Contributor that are necessarily infringed by their\r
+      Contribution(s) alone or by combination of their Contribution(s)\r
+      with the Work to which such Contribution(s) was submitted. If You\r
+      institute patent litigation against any entity (including a\r
+      cross-claim or counterclaim in a lawsuit) alleging that the Work\r
+      or a Contribution incorporated within the Work constitutes direct\r
+      or contributory patent infringement, then any patent licenses\r
+      granted to You under this License for that Work shall terminate\r
+      as of the date such litigation is filed.\r
+\r
+   4. Redistribution. You may reproduce and distribute copies of the\r
+      Work or Derivative Works thereof in any medium, with or without\r
+      modifications, and in Source or Object form, provided that You\r
+      meet the following conditions:\r
+\r
+      (a) You must give any other recipients of the Work or\r
+          Derivative Works a copy of this License; and\r
+\r
+      (b) You must cause any modified files to carry prominent notices\r
+          stating that You changed the files; and\r
+\r
+      (c) You must retain, in the Source form of any Derivative Works\r
+          that You distribute, all copyright, patent, trademark, and\r
+          attribution notices from the Source form of the Work,\r
+          excluding those notices that do not pertain to any part of\r
+          the Derivative Works; and\r
+\r
+      (d) If the Work includes a "NOTICE" text file as part of its\r
+          distribution, then any Derivative Works that You distribute must\r
+          include a readable copy of the attribution notices contained\r
+          within such NOTICE file, excluding those notices that do not\r
+          pertain to any part of the Derivative Works, in at least one\r
+          of the following places: within a NOTICE text file distributed\r
+          as part of the Derivative Works; within the Source form or\r
+          documentation, if provided along with the Derivative Works; or,\r
+          within a display generated by the Derivative Works, if and\r
+          wherever such third-party notices normally appear. The contents\r
+          of the NOTICE file are for informational purposes only and\r
+          do not modify the License. You may add Your own attribution\r
+          notices within Derivative Works that You distribute, alongside\r
+          or as an addendum to the NOTICE text from the Work, provided\r
+          that such additional attribution notices cannot be construed\r
+          as modifying the License.\r
+\r
+      You may add Your own copyright statement to Your modifications and\r
+      may provide additional or different license terms and conditions\r
+      for use, reproduction, or distribution of Your modifications, or\r
+      for any such Derivative Works as a whole, provided Your use,\r
+      reproduction, and distribution of the Work otherwise complies with\r
+      the conditions stated in this License.\r
+\r
+   5. Submission of Contributions. Unless You explicitly state otherwise,\r
+      any Contribution intentionally submitted for inclusion in the Work\r
+      by You to the Licensor shall be under the terms and conditions of\r
+      this License, without any additional terms or conditions.\r
+      Notwithstanding the above, nothing herein shall supersede or modify\r
+      the terms of any separate license agreement you may have executed\r
+      with Licensor regarding such Contributions.\r
+\r
+   6. Trademarks. This License does not grant permission to use the trade\r
+      names, trademarks, service marks, or product names of the Licensor,\r
+      except as required for reasonable and customary use in describing the\r
+      origin of the Work and reproducing the content of the NOTICE file.\r
+\r
+   7. Disclaimer of Warranty. Unless required by applicable law or\r
+      agreed to in writing, Licensor provides the Work (and each\r
+      Contributor provides its Contributions) on an "AS IS" BASIS,\r
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
+      implied, including, without limitation, any warranties or conditions\r
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\r
+      PARTICULAR PURPOSE. You are solely responsible for determining the\r
+      appropriateness of using or redistributing the Work and assume any\r
+      risks associated with Your exercise of permissions under this License.\r
+\r
+   8. Limitation of Liability. In no event and under no legal theory,\r
+      whether in tort (including negligence), contract, or otherwise,\r
+      unless required by applicable law (such as deliberate and grossly\r
+      negligent acts) or agreed to in writing, shall any Contributor be\r
+      liable to You for damages, including any direct, indirect, special,\r
+      incidental, or consequential damages of any character arising as a\r
+      result of this License or out of the use or inability to use the\r
+      Work (including but not limited to damages for loss of goodwill,\r
+      work stoppage, computer failure or malfunction, or any and all\r
+      other commercial damages or losses), even if such Contributor\r
+      has been advised of the possibility of such damages.\r
+\r
+   9. Accepting Warranty or Additional Liability. While redistributing\r
+      the Work or Derivative Works thereof, You may choose to offer,\r
+      and charge a fee for, acceptance of support, warranty, indemnity,\r
+      or other liability obligations and/or rights consistent with this\r
+      License. However, in accepting such obligations, You may act only\r
+      on Your own behalf and on Your sole responsibility, not on behalf\r
+      of any other Contributor, and only if You agree to indemnify,\r
+      defend, and hold each Contributor harmless for any liability\r
+      incurred by, or claims asserted against, such Contributor by reason\r
+      of your accepting any such warranty or additional liability.\r
+\r
+   END OF TERMS AND CONDITIONS\r
+\r
+   APPENDIX: How to apply the Apache License to your work.\r
+\r
+      To apply the Apache License to your work, attach the following\r
+      boilerplate notice, with the fields enclosed by brackets "[]"\r
+      replaced with your own identifying information. (Don't include\r
+      the brackets!)  The text should be enclosed in the appropriate\r
+      comment syntax for the file format. We also recommend that a\r
+      file or class name and description of purpose be included on the\r
+      same "printed page" as the copyright notice for easier\r
+      identification within third-party archives.\r
+\r
+   Copyright [yyyy] [name of copyright owner]\r
+\r
+   Licensed under the Apache License, Version 2.0 (the "License");\r
+   you may not use this file except in compliance with the License.\r
+   You may obtain a copy of the License at\r
+\r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+\r
diff --git a/NOTICE b/NOTICE
new file mode 100644 (file)
index 0000000..4297ee3
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
diff --git a/app-selector-util.c b/app-selector-util.c
new file mode 100755 (executable)
index 0000000..6b4f3cb
--- /dev/null
@@ -0,0 +1,131 @@
+/*
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+
+ * 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 <Ecore.h>
+#include <Ecore_X.h>
+
+#include <sys/shm.h>
+
+#include <X11/Xatom.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/extensions/Xcomposite.h>
+#include <X11/extensions/XShm.h>
+
+#include "app-selector.h"
+#include "app-selector-util.h"
+
+
+static pid_t __get_win_pid(Display *d, Window win);
+static int __tm_get_win_with_pid(Display *d, Window * win, pid_t pid);
+static Window __find_top_win(Window win);
+
+
+static pid_t __get_win_pid(Display *d, Window win)
+{
+       int ret;
+       pid_t pid;
+
+       Atom a_pid;
+       Atom a_type;
+       int format;
+       unsigned long nitems;
+       unsigned long bytes_after;
+       unsigned char *prop_ret;
+
+       if (!d)
+               return -1;
+
+       a_pid = XInternAtom(d, "_NET_WM_PID", True);
+       if (a_pid == 0)
+               return -1;
+
+       ret = XGetWindowProperty(d, win, a_pid, 0, 1, False, XA_CARDINAL,
+                                &a_type, &format, &nitems, &bytes_after,
+                                &prop_ret);
+
+       if (ret != 0 || prop_ret == NULL)
+               return -1;
+
+       pid = *(unsigned long *)prop_ret;
+
+       XFree(prop_ret);
+       return pid;
+}
+
+static int __tm_get_win_with_pid(Display *d, Window * win, pid_t pid)
+{
+       int ret;
+       pid_t p;
+       int n;
+       Window root, parent, *child;
+
+       p = __get_win_pid(d, *win);
+       if (p == pid)
+               return 1;
+
+       ret = XQueryTree(d, *win, &root, &parent, &child, &n);
+       if (ret) {
+               int i;
+               int found = 0;
+
+               for (i = 0; i < n; i++) {
+                       found = __tm_get_win_with_pid(d, &child[i], pid);
+                       if (found) {
+                               *win = child[i];
+                               break;
+                       }
+               }
+
+               XFree(child);
+               if (found)
+                       return 1;
+       }
+       return 0;
+}
+
+static Window __find_top_win(Window win)
+{
+       Window root, parent, *childw, return_win;
+       unsigned int nchild;
+       if (!XQueryTree(ecore_x_display_get(),
+           win, &root, &parent, &childw, &nchild)) {
+/*              DBG_PRT("XQueryTree failed.\n");*/
+               return win;
+       }
+       if (parent == root) {
+/*              DBG_PRT("toplevel window: 0x%x \n", (unsigned int)win);*/
+               return_win = win;
+               XFree(childw);
+               return return_win;
+       } else {
+/*              DBG_PRT("window: 0x%x \n",(unsigned int)win);*/
+               XFree(childw);
+               return __find_top_win(parent);
+       }
+}
+
+int set_transient(Ecore_X_Display *display, Ecore_X_Window win,
+                 Ecore_X_Window prev_win)
+{
+       int ret = 0;
+
+       ret = XSetTransientForHint(display, win, prev_win);
+
+       return ret;
+}
diff --git a/app-selector-util.h b/app-selector-util.h
new file mode 100755 (executable)
index 0000000..39af450
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+
+ * 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 __DEF_APP_SELECT_UTIL_H_
+#define __DEF_APP_SELECT_UTIL_H_
+
+#include <Elementary.h>
+
+int set_transient(Ecore_X_Display *display, Ecore_X_Window win,
+                 Ecore_X_Window prev_win);
+
+#endif                         /* __DEF_APP_SELECT_UTIL_H__ */
diff --git a/app-selector-view.c b/app-selector-view.c
new file mode 100755 (executable)
index 0000000..bfb1d5e
--- /dev/null
@@ -0,0 +1,636 @@
+/*
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+
+ * 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 <ail.h>
+#include <aul.h>
+#include <appsvc.h>
+#include <libsoup/soup.h>
+
+#include "app-selector.h"
+#include "app-selector-view.h"
+
+#define TBL_NAME "menu"
+#define MIME_FIELD_NAME "mimetype"
+#define PATH_LEN       256
+#define NAME_LEN       256
+#define MAX_MIME_STR_SIZE 256
+#define MAX_SCHEME_STR_SIZE 256
+#define MAX_HOST_STR_SIZE 256
+#define EDJ_NAME       "/usr/share/edje/app-selector/app-selector.edj"
+
+extern int aul_forward_app(const char* pkgname, bundle *kb);
+
+static Eina_Bool __unload_info_popup(void *data);
+static void __default_app_set_cb(void *data, Evas_Object * obj, 
+                                       void *event_info);
+static void __launch_set_default_app_popup(struct _select_app_info *info);
+static void __response_cb(void *data, Evas_Object * obj, void *event_info);
+static void __clear_app_list(void *data);
+static int __app_list_get_with_mimetype(void *data);
+static Eina_Bool __gl_state_get(const void *data, Evas_Object * obj,
+                              const char *part);
+static void __gl_del(const void *data, Evas_Object * obj);
+static void __gl_sel(void *data, Evas_Object * obj, void *event_info);
+static Evas_Object *__gl_content_get(const void *data, Evas_Object * obj,
+                                const char *part);
+static char *__gl_text_get(const void *data, Evas_Object * obj,
+                          const char *part);
+static void __app_genlist_item_append(struct appdata *ad);
+static Evas_Object *__app_genlist_add(struct appdata *ad);
+
+static Eina_Bool __unload_info_popup(void *data)
+{
+/*     Evas_Object *eo = (Evas_Object *) data;
+       if (eo) {
+               evas_object_hide(eo);
+               evas_object_del(eo);
+       }
+*/     elm_exit();
+
+       return ECORE_CALLBACK_CANCEL;
+}
+
+void load_info_popup(struct appdata *ad, char *str)
+{
+       Evas_Object *eo = NULL;
+       eo = elm_popup_add(ad->win);
+       evas_object_size_hint_weight_set(eo, EVAS_HINT_EXPAND,
+                                        EVAS_HINT_EXPAND);
+       elm_object_text_set(eo, str);
+
+       ecore_timer_add(2.0, __unload_info_popup, eo);
+       evas_object_show(eo);
+}
+
+static void __default_app_set_ok_cb(void *data, Evas_Object * obj,
+                                       void *event_info)
+{
+       char *scheme = NULL;
+       char *host = NULL;
+       char *uri_r_info = NULL;
+       bundle *outb;
+       int ret;
+       SoupURI *s_uri;
+       char *val = NULL;
+       
+       if (!data)
+               return;
+
+       struct _select_app_info *info = (struct _select_app_info *)data;
+
+
+       //printf("MIME :: %s, PKGNAME : %s\n", info->ad->mime_type, info->pkg_name);
+
+       if(info->ad->mime_type){
+               if (aul_set_defapp_with_mime(info->ad->mime_type, info->pkg_name) == AUL_R_OK){
+                       //printf("[Select Application] Insert Complete!!! %d\n", __LINE__);
+               }
+               else{
+                       //printf("[Select Application] Insert Error!!! %d\n", __LINE__);
+               }
+       } else if(info->ad->control_op) {
+
+               if(info->ad->control_uri) {
+                       if(strncmp(info->ad->control_uri,"/",1) == 0){
+                               if(!info->ad->control_mime) {
+                                       info->ad->control_mime = malloc(MAX_MIME_STR_SIZE);
+                                       aul_get_mime_from_file(info->ad->control_uri, info->ad->control_mime, MAX_MIME_STR_SIZE);
+                               }
+                               info->ad->control_uri = NULL;
+                       } else if(strncmp(info->ad->control_uri,"file:/",6)==0){
+                               if(!info->ad->control_mime) {
+                                       info->ad->control_mime = malloc(MAX_MIME_STR_SIZE);
+                                       aul_get_mime_from_file(&info->ad->control_uri[5], info->ad->control_mime, MAX_MIME_STR_SIZE);
+                               }
+                               info->ad->control_uri = NULL;
+                       } else if(strncmp(info->ad->control_uri,"file:///",8) == 0){
+                               if(!info->ad->control_mime) {
+                                       info->ad->control_mime = malloc(MAX_MIME_STR_SIZE);
+                                       aul_get_mime_from_file(&info->ad->control_uri[7], info->ad->control_mime, MAX_MIME_STR_SIZE);
+                               }
+                               info->ad->control_uri = NULL;
+                       }
+               }
+
+               val = bundle_get_val(info->ad->kb, APP_SVC_K_URI_R_INFO);
+
+               if(val == NULL) {
+                       s_uri = soup_uri_new(info->ad->control_uri);
+
+                       appsvc_set_defapp(info->ad->control_op,info->ad->control_mime,s_uri->scheme,info->pkg_name);
+
+                       soup_uri_free(s_uri);
+               } else {
+
+                       appsvc_set_defapp(info->ad->control_op,info->ad->control_mime,val,info->pkg_name);
+                       bundle_del(info->ad->kb, APP_SVC_K_URI_R_INFO);
+               }
+       }
+
+       ret = aul_forward_app(info->pkg_name, info->ad->kb);
+       val = bundle_get_val(info->ad->kb, "__APP_SVC_CALLER_NOTI__");
+       if(val) {
+               if(ret < 0) {
+                       bundle_add(info->ad->kb, "__APP_SVC_START_INFO__", "c");
+                       aul_launch_app(val, info->ad->kb);
+               } else {
+                       bundle_add(info->ad->kb, "__APP_SVC_START_INFO__", info->pkg_name);
+                       aul_launch_app(val, info->ad->kb);
+               }
+       }
+       _D("ok : aul_forward_app() pkg_name:%s ret:%d", info->pkg_name, ret);
+
+       elm_exit();
+}
+
+static void __default_app_set_calcel_cb(void *data, Evas_Object * obj,
+                                       void *event_info)
+{
+       int ret;
+       char *val = NULL;
+
+       if (!data)
+               return;
+
+       struct _select_app_info *info = (struct _select_app_info *)data;
+
+       ret = aul_forward_app(info->pkg_name, info->ad->kb);
+       val = bundle_get_val(info->ad->kb, "__APP_SVC_CALLER_NOTI__");
+       if(val) {
+               if(ret < 0) {
+                       bundle_add(info->ad->kb, "__APP_SVC_START_INFO__", "c");
+                       aul_launch_app(val, info->ad->kb);
+               } else {
+                       bundle_add(info->ad->kb, "__APP_SVC_START_INFO__", info->pkg_name);
+                       aul_launch_app(val, info->ad->kb);
+               }
+       }
+       _D("cancel : aul_forward_app() pkg_name:%s ret:%d", info->pkg_name, ret);
+
+       elm_exit();
+}
+
+
+static void __launch_set_default_app_popup(struct _select_app_info *info)
+{
+       Evas_Object *popup = NULL;
+       Evas_Object *btn1 = NULL;
+       Evas_Object *btn2 = NULL;
+
+       if (!info)
+               return;
+
+       struct appdata *ad = info->ad;
+
+       popup = elm_popup_add(ad->win);
+       evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND,
+                                        EVAS_HINT_EXPAND);
+       elm_object_text_set(popup, dgettext("app-selector", "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"));
+       elm_object_part_text_set(popup, "title,text", dgettext("app-selector", "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"));
+
+       btn1 = elm_button_add(popup);
+       elm_object_text_set(btn1, dgettext("sys_string", "IDS_COM_SK_OK"));
+       elm_object_part_content_set(popup, "button1", btn1);
+       evas_object_smart_callback_add(btn1, "clicked", __default_app_set_ok_cb, info);
+       btn2 = elm_button_add(popup);
+       elm_object_text_set(btn2, dgettext("sys_string", "IDS_COM_SK_CANCEL"));
+       elm_object_part_content_set(popup, "button2", btn2);
+       evas_object_smart_callback_add(btn2, "clicked", __default_app_set_calcel_cb, info);
+
+       ad->def_set_popup = popup;
+
+       evas_object_show(popup);
+
+}
+
+static void __response_cb(void *data, Evas_Object * obj, void *event_info)
+{
+       struct appdata *ad = data;
+       char *val = NULL;
+
+       val = bundle_get_val(ad->kb, "__APP_SVC_CALLER_NOTI__");
+       if(val) {
+               bundle_add(ad->kb, "__APP_SVC_START_INFO__", "c");
+               aul_launch_app(val, ad->kb);
+       }
+
+       elm_exit();
+}
+
+static void __clear_app_list(void *data)
+{
+       struct appdata *ad = data;
+       Eina_List *l;
+       struct _select_app_info *info;
+
+       if (ad->app_list) {
+               EINA_LIST_FOREACH(ad->app_list, l, info) {
+                       if (info != NULL) {
+                               free(info->pkg_name);
+                               free(info->app_name);
+                               free(info->app_path);
+                               free(info->app_icon_path);
+                               free(info);
+                               info = NULL;
+                       }
+               }
+
+               eina_list_free(ad->app_list);
+               ad->app_list = NULL;
+       }
+
+       if (ad->app_genlist) {
+               elm_genlist_clear(ad->app_genlist);
+       }
+}
+
+static ail_cb_ret_e __iter_func(
+                       const ail_appinfo_h appinfo, void *user_data)
+{
+       struct appdata *ad = (struct appdata *)user_data;
+       struct _select_app_info *info;
+       char *str = NULL;
+
+       info = calloc(1, sizeof(struct _select_app_info));
+
+       ail_appinfo_get_str(appinfo, AIL_PROP_PACKAGE_STR, &str);
+       info->pkg_name = strdup(str);
+
+       ail_appinfo_get_str(appinfo, AIL_PROP_NAME_STR, &str);
+       info->app_name = strdup(str);
+
+       ail_appinfo_get_str(appinfo, AIL_PROP_EXEC_STR, &str);
+       info->app_path = strdup(str);
+
+       ail_appinfo_get_str(appinfo, AIL_PROP_ICON_STR, &str);
+       info->app_icon_path = strdup(str);
+       
+       printf("PKGNAME : %s, ICONPATH : %s\n", info->pkg_name,
+                      info->app_icon_path);
+
+       info->ad = ad;
+
+       ad->app_list = eina_list_append(ad->app_list, info);
+       
+       return AIL_CB_RET_CONTINUE;     
+}
+
+
+static int __app_list_get_with_mimetype(void *data)
+{
+
+       struct appdata *ad = data;
+
+       ail_filter_h filter;
+       ail_error_e ret;
+
+       ret = ail_filter_new(&filter);
+       if (ret != AIL_ERROR_OK) 
+               return -1;
+
+       ret = ail_filter_add_str(filter, AIL_PROP_MIMETYPE_STR, ad->mime_type);
+       if (ret != AIL_ERROR_OK) {
+               ail_filter_destroy(filter);
+               return -1;
+       }
+
+       ail_filter_list_appinfo_foreach(filter, __iter_func, (void *)ad);
+
+       if (eina_list_count(ad->app_list) < 1) {
+               load_info_popup(ad, dgettext("sys_string", "IDS_COM_BODY_NO_APPLICATIONS_CAN_PERFORM_THIS_ACTION"));
+               ail_filter_destroy(filter);
+               return -1;
+       }
+       
+       ail_filter_destroy(filter);
+
+       return 0;
+}
+
+static int __iterate(const char* pkg_name, void *data)
+{
+       struct appdata *ad = data;
+       struct _select_app_info *info;
+       ail_appinfo_h handle;
+       ail_error_e ret;
+       char *str = NULL;
+
+       ret = ail_get_appinfo(pkg_name, &handle);
+       if (ret != AIL_ERROR_OK) {
+               return -1;
+       }
+
+       info = calloc(1, sizeof(struct _select_app_info));
+
+       ail_appinfo_get_str(handle, AIL_PROP_PACKAGE_STR, &str);
+       info->pkg_name = strdup(str);
+
+       ail_appinfo_get_str(handle, AIL_PROP_NAME_STR, &str);
+       info->app_name = strdup(str);
+
+       ail_appinfo_get_str(handle, AIL_PROP_EXEC_STR, &str);
+       info->app_path = strdup(str);
+
+       ail_appinfo_get_str(handle, AIL_PROP_ICON_STR, &str);
+       info->app_icon_path = strdup(str);
+       
+       printf("PKGNAME : %s, ICONPATH : %s\n", info->pkg_name,
+                      info->app_icon_path);
+
+       info->ad = data;
+
+       ad->app_list = eina_list_append(ad->app_list, info);
+
+       ret = ail_package_destroy_appinfo(handle);
+       if (ret != AIL_ERROR_OK) {
+               return -1;
+       }
+       
+       return 0;
+}
+
+
+static int __app_list_get_with_control(void *data)
+{
+       struct appdata *ad = data;
+       struct _select_app_info *info;
+       bundle *kb;
+
+       char *scheme = NULL;
+       char *tmp = NULL;
+       char op_mime[1024] = {0,};
+       char op_scheme[1024] = {0,};
+
+       kb = bundle_create();
+       if(kb == NULL)
+       {
+               _E("bundle creation fail\n");
+               return -1;
+       }
+
+       if(ad->control_op){
+               appsvc_set_operation(kb, ad->control_op);
+       }
+
+       if(ad->control_uri){
+               appsvc_set_uri(kb, ad->control_uri);
+       }
+
+       if(ad->control_mime){
+               appsvc_set_mime(kb, ad->control_mime);
+       }
+
+       if( appsvc_get_list(kb, __iterate, ad) != 0 ){
+               load_info_popup(ad, _("Cannot find associated application"));
+               bundle_free(kb);
+               return -1;
+       }
+
+       bundle_free(kb);
+
+       return 0;
+}
+
+static Eina_Bool __gl_state_get(const void *data, Evas_Object * obj,
+                              const char *part)
+{
+       return EINA_FALSE;
+}
+
+static void __gl_del(const void *data, Evas_Object * obj)
+{
+       return;
+}
+
+static void __gl_sel(void *data, Evas_Object * obj, void *event_info)
+{
+       Elm_Object_Item *item = (Elm_Object_Item *) event_info;
+
+       static int flag = 0;
+
+       if (flag == 1)
+               return;
+
+       flag = 1;
+
+       if (item != NULL) {
+               struct _select_app_info *info =
+                   (struct _select_app_info *)elm_object_item_data_get(item);
+
+               __launch_set_default_app_popup(info);
+
+       }
+}
+
+Evas_Object *_add_layout(Evas_Object *parent, const char *file,
+                             const char *group)
+{
+       Evas_Object *eo = NULL;
+       int r;
+
+       eo = elm_layout_add(parent);
+       if (eo == NULL) {
+               printf("[Error] Cannot add layout\n");
+               return NULL;
+       }
+
+       r = elm_layout_file_set(eo, file, group);
+       if (!r) {
+               printf("[Error] Cannot set file layout\n");
+               evas_object_del(eo);
+               return NULL;
+       }
+
+       evas_object_size_hint_weight_set(eo, EVAS_HINT_EXPAND,
+                                        EVAS_HINT_EXPAND);
+
+       return eo;
+}
+
+static Evas_Object *__gl_content_get(const void *data, Evas_Object * obj,
+                                const char *part)
+{
+       struct _select_app_info *info = (struct _select_app_info *)data;
+       char buf[PATH_LEN] = { 0, };
+
+       Evas_Object *icon;
+       Evas_Object *rt, *icon_ly = NULL;
+       double scale = elm_config_scale_get();
+
+       if (!strcmp(part, "elm.icon")) {
+               snprintf(buf, (size_t) PATH_LEN, "%s", info->app_icon_path);
+               if (!ecore_file_exists(buf))
+                       snprintf((char *)buf, PATH_LEN,
+                                (const char *)ICON_PATH
+                                "/icon_app-selector.png");
+
+               
+               if (!strncmp(&buf[strlen(buf) - 3], "edj", 3)) {
+                       icon_ly = _add_layout(obj, buf, "icon");
+                       icon = _add_layout(obj, EDJ_NAME, "icon");
+                       rt = evas_object_rectangle_add(evas_object_evas_get(obj));
+                       
+                       evas_object_color_set(rt, 0, 0, 0, 0);
+                       evas_object_size_hint_min_set(rt, (int)(50.0 * scale),
+                                                     (int)(50.0 * scale));
+                       evas_object_size_hint_max_set(rt, (int)(50.0 * scale),
+                                             (int)(50.0 * scale));
+                       elm_object_part_content_set(icon, "icon_ly", rt);
+
+                       elm_object_part_content_set(icon, "icon", icon_ly);
+               
+               } else {
+                       icon = elm_icon_add(obj);
+                       elm_icon_file_set(icon, buf, NULL);
+                       evas_object_size_hint_aspect_set(icon,
+                                                EVAS_ASPECT_CONTROL_VERTICAL,
+                                                1, 1);
+               }               
+               
+               return icon;
+       }
+       return NULL;
+}
+
+static char *__gl_text_get(const void *data, Evas_Object * obj,
+                          const char *part)
+{
+       struct _select_app_info *info = (struct _select_app_info *)data;
+       char buf[NAME_LEN] = { 0, };
+
+       if (!strcmp(part, "elm.text")) {
+               snprintf(buf, NAME_LEN, "%s", info->app_name);
+               return strdup(buf);
+       }
+       return NULL;
+}
+
+static void __app_genlist_item_append(struct appdata *ad)
+{
+       Eina_List *l;
+       struct _select_app_info *info;
+       Elm_Genlist_Item_Class *itc;
+
+       if (!ad)
+               return;
+
+       itc = elm_genlist_item_class_new();
+
+       itc->item_style = "1text.1icon.2";
+       itc->func.text_get = __gl_text_get;
+       itc->func.content_get = __gl_content_get;
+       itc->func.state_get = __gl_state_get;
+       itc->func.del = __gl_del;
+
+       EINA_LIST_FOREACH(ad->app_list, l, info) {
+
+               info->it =
+                   elm_genlist_item_append(ad->app_genlist, itc, (void *)info,
+                                           NULL, ELM_GENLIST_ITEM_NONE,
+                                           __gl_sel, ad);
+
+       }
+
+       elm_genlist_item_class_free(itc);
+}
+
+static Evas_Object *__app_genlist_add(struct appdata *ad)
+{
+       Evas_Object *genlist;
+       if (!ad)
+               return NULL;
+
+       if (ad->app_genlist)
+               return NULL;
+
+       genlist = elm_genlist_add(ad->popup);
+
+       evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND,
+                                        EVAS_HINT_EXPAND);
+       evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL,
+                                       EVAS_HINT_FILL);
+
+       return genlist;
+}
+
+void load_app_list(struct appdata *ad)
+{
+       Evas_Object *popup;
+       Evas_Object *btn1;
+
+       popup = elm_popup_add(ad->win);
+       elm_object_style_set(popup, "menustyle");
+       ad->popup = popup;
+
+       evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND,
+                                        EVAS_HINT_EXPAND);
+       elm_object_part_text_set(popup, "title,text", dgettext("app-selector", "IDS_TASKMGR_HEADER_SELECT_APPLICATION"));
+
+       btn1 = elm_button_add(popup);
+       elm_object_text_set(btn1, dgettext("sys_string", "IDS_COM_SK_CANCEL"));
+       elm_object_part_content_set(popup, "button1", btn1);
+
+       ad->app_genlist = __app_genlist_add(ad);
+       if (!ad->app_genlist)
+               return;
+
+       __app_genlist_item_append(ad);
+
+       elm_object_content_set(popup, ad->app_genlist);
+       evas_object_smart_callback_add(btn1, "clicked", __response_cb, ad);
+
+       evas_object_show(popup);
+}
+
+void update_app_list(struct appdata *ad)
+{
+       int ret = -1;
+
+       __clear_app_list(ad);
+       if(ad->mime_type)
+               ret = __app_list_get_with_mimetype(ad);
+       else if(ad->control_op)
+               ret = __app_list_get_with_control(ad);
+
+       if (ret == -1)
+       {
+               printf("fail fail fail\n");
+               return;
+       }
+       else
+               __app_genlist_item_append(ad);
+}
+
+void load_app_select_popup(struct appdata *ad)
+{
+       int ret = -1;
+       
+       if(ad->mime_type)
+               ret = __app_list_get_with_mimetype(ad); 
+       else if(ad->control_op)
+               ret = __app_list_get_with_control(ad);
+       
+       if (ret == -1)
+       {
+               printf("fail fail fail\n");
+               return;
+       }
+       else
+               load_app_list(ad);
+
+}
diff --git a/app-selector-view.h b/app-selector-view.h
new file mode 100755 (executable)
index 0000000..0962e22
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+
+ * 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 __DEF_APP_SELECT_VIEW_H_
+#define __DEF_APP_SELECT_VIEW_H_
+
+#include <Elementary.h>
+#include "app-selector.h"
+
+void load_info_popup(struct appdata *ad, char *str);
+void update_app_list(struct appdata *ad);
+void load_app_select_popup(struct appdata *ad);
+#endif                         /* __DEF_APP_SELECT_VIEW_H__ */
diff --git a/app-selector.c b/app-selector.c
new file mode 100755 (executable)
index 0000000..274a0db
--- /dev/null
@@ -0,0 +1,458 @@
+/*
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+
+ * 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 <stdio.h>
+#include <appcore-efl.h>
+#include <Ecore_X.h>
+#include <utilX.h>
+#include <aul.h>
+#include <appsvc.h>
+#include <X11/Xatom.h>
+#include <X11/Xutil.h>
+#include <Ecore.h>
+#include <Ecore_Input.h>
+
+#include "app-selector.h"
+#include "app-selector-view.h"
+#include "app-selector-util.h"
+
+int is_reset = 0;
+
+
+static void __win_del(void *data, Evas_Object * obj, void *event);
+static Evas_Object *__create_win(const char *name);
+static Evas_Object *__create_layout_main(Evas_Object * parent);
+static int __app_create(void *data);
+static int __app_init_with_bundle(void *data);
+static int __app_terminate(void *data);
+static int __app_pause(void *data);
+static int __app_resume(void *data);
+static int __app_reset(bundle *b, void *data);
+
+
+static void __win_del(void *data, Evas_Object * obj, void *event)
+{
+       elm_exit();
+}
+
+static Evas_Object *__create_win(const char *name)
+{
+       Evas_Object *eo;
+       int w;
+       int h;
+
+       eo = elm_win_add(NULL, name, ELM_WIN_DIALOG_BASIC);
+       if (eo) {
+               elm_win_title_set(eo, name);
+               elm_win_borderless_set(eo, EINA_TRUE);
+
+               elm_win_alpha_set(eo, EINA_TRUE);
+
+               evas_object_smart_callback_add(eo, "delete,request",
+                                              __win_del, NULL);
+               ecore_x_window_size_get(ecore_x_window_root_first_get(),
+                                       &w, &h);
+               evas_object_resize(eo, w, h);
+       }
+
+       return eo;
+}
+
+static Evas_Object *__create_layout_main(Evas_Object * parent)
+{
+       Evas_Object *layout;
+
+       if (!parent)
+               return NULL;
+
+       layout = elm_layout_add(parent);
+       if (!layout)
+               return NULL;
+
+       elm_layout_theme_set(layout, "standard", "window", "integration");
+       evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND,
+                                        EVAS_HINT_EXPAND);
+
+       edje_object_signal_emit(_EDJ(layout), "elm,state,show,indicator",
+                               "elm");
+       edje_object_signal_emit(_EDJ(layout), "elm,state,show,content", "elm");
+
+       evas_object_show(layout);
+
+       return layout;
+}
+
+static int __get_window_property(Display *dpy, Window win, Atom atom,
+                                         Atom type, unsigned int *val,
+                                         unsigned int len)
+{
+       unsigned char *prop_ret;
+       Atom type_ret;
+       unsigned long bytes_after;
+       unsigned long  num_ret;
+       int format_ret;
+       unsigned int i;
+       int num;
+
+       prop_ret = NULL;
+       if (XGetWindowProperty(dpy, win, atom, 0, 0x7fffffff, False,
+                              type, &type_ret, &format_ret, &num_ret,
+                              &bytes_after, &prop_ret) != Success)
+               return -1;
+
+       if (type_ret != type || format_ret != 32)
+               num = -1;
+       else if (num_ret == 0 || !prop_ret)
+               num = 0;
+       else {
+               if (num_ret < len)
+                       len = num_ret;
+               for (i = 0; i < len; i++) {
+                       val[i] = ((unsigned long *)prop_ret)[i];
+               }
+               num = len;
+       }
+
+       if (prop_ret)
+               XFree(prop_ret);
+
+       return num;
+}
+
+
+static int __x_rotation_get(Display *dpy, Window win)
+{
+       Window active_win;
+       Window root_win;
+       int rotation = -1;
+       int ret;
+
+       int angles[2];
+
+       Atom atom_active_win;
+       Atom atom_win_rotate_angle;
+
+       root_win = XDefaultRootWindow(dpy);
+
+       atom_active_win = XInternAtom(dpy, "_NET_ACTIVE_WINDOW", False);
+       ret = __get_window_property(dpy, root_win, atom_active_win,
+                                            XA_WINDOW,
+                                            (unsigned int *)&active_win, 1);
+
+       /*printf("[SYSPOPUP] Active win : %x, Window %x\n", active_win, win);*/
+
+       /*active_win = get_active_win(dpy, root_win, atom_active_win);*/
+       if (ret < 0)
+               return ret;
+
+       atom_win_rotate_angle =
+               XInternAtom(dpy, "_E_ILLUME_ROTATE_WINDOW_ANGLE", False);
+       ret = __get_window_property(dpy, active_win,
+                                         atom_win_rotate_angle, XA_CARDINAL,
+                                         (unsigned int *)&rotation, 1);
+
+       /*printf("[SYSPOPUP] Rotation %d\n", rotation);*/
+
+       if (ret != -1)
+               return rotation;
+
+       return -1;
+}
+
+static int __as_rotate(Display *dpy, Window xwin, Evas_Object *win, void *data)
+{
+       int rotation;   
+       struct appdata *ad = data;
+
+       ecore_x_icccm_hints_set(xwin, 0, 0, 0, 0, 0, 0, 0);
+
+       rotation = __x_rotation_get(dpy, xwin);
+
+       if (rotation == -1) {
+               rotation = 0;
+       }
+
+       if (rotation >= 0 && ad->rotate != NULL)
+               elm_win_rotation_with_resize_set(win, rotation);
+
+       return 0;
+}
+
+static Eina_Bool __rotate(void *data, int type, void *event)
+{
+       struct appdata *ad = data;
+
+       Ecore_X_Event_Client_Message *ev = event;
+
+       if (!event)
+               return ECORE_CALLBACK_RENEW;
+
+       if (ev->message_type == ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE)
+               __as_rotate(ad->dpy, ad->xwin, ad->win, ad);    
+
+       return 0;
+}
+
+static Eina_Bool s_key_registered;
+
+static
+Eina_Bool __key_press_cb(void *data, int type, void *event)
+{
+        Evas_Event_Key_Down *ev = event;
+        struct appdata *ad = (struct appdata *)data;
+
+        if (!s_key_registered) {
+                _E("Key is not registered");
+                return ECORE_CALLBACK_RENEW;
+        }
+
+        if (!ev) {
+                _E("Invalid event object");
+                return ECORE_CALLBACK_RENEW;
+        }
+       
+               ecore_event_handler_del(ad->rotate);
+               ad->rotate = NULL;
+               elm_exit();
+
+        return ECORE_CALLBACK_RENEW;
+}
+
+static void __register_key_handler(void *data)
+{
+        Ecore_X_Window win;
+        struct appdata *ad = (struct appdata *)data;
+        win = elm_win_xwindow_get(ad->win);
+
+        ad->key_up = ecore_event_handler_add(ECORE_EVENT_KEY_UP, 
+                                                                                        __key_press_cb, ad);
+        if (!ad->key_up) {
+                _E("Failed to register a key down event handler");
+        }
+
+        _D("Key handler is registered");
+        s_key_registered = EINA_TRUE;
+}
+
+static void __unregister_key_handler(void *data)
+{
+        Ecore_X_Window win;
+        struct appdata *ad = (struct appdata *)data;
+
+        if (ad->key_up) {
+                ecore_event_handler_del(ad->key_up);
+                ad->key_up = NULL;
+                               ad->rotate = NULL;
+        }
+
+        _D("Unregister key handler is invoked");
+        s_key_registered = EINA_FALSE;
+}
+
+static void __grab_home_key(void *data)
+{
+        Ecore_X_Window win;
+        struct appdata *ad = (struct appdata *)data;
+
+        win = elm_win_xwindow_get(ad->win);
+        utilx_grab_key(ecore_x_display_get(), win, KEY_HOME, SHARED_GRAB);
+
+        _D("Grab home key.");
+
+               __register_key_handler(ad);
+}
+
+static void __ungrab_home_key(void *data)
+{
+        Ecore_X_Window win;
+        struct appdata *ad = (struct appdata *)data;
+
+               __unregister_key_handler(ad);
+
+        win = elm_win_xwindow_get(ad->win);
+        utilx_ungrab_key(ecore_x_display_get(), win, KEY_HOME);
+
+        _D("Ungrab home key.");
+}
+
+
+
+static int __app_create(void *data)
+{
+       struct appdata *ad = (struct appdata *)data;
+       Evas_Object *win;
+       Evas_Object *ly;
+       int r;
+       Display *dpy;
+       Ecore_X_Window xwin;
+       
+
+       /* create window */
+       win = __create_win(PACKAGE);
+       if (win == NULL)
+               return -1;
+       ad->win = win;
+
+       /* Base Layout */
+       ly = __create_layout_main(ad->win);
+       if (!ly)
+               return -1;
+
+       edje_object_signal_emit(_EDJ(ly), "elm,bg,show,transparent", "elm");
+       ad->ly_main = ly;
+
+       elm_win_resize_object_add(win, ly);
+
+       ad->dpy = ecore_x_display_get();
+       ad->xwin = elm_win_xwindow_get(win);
+
+       ad->rotate = ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE,
+                                                        __rotate, (void *)ad); 
+
+       __as_rotate(ad->dpy, ad->xwin, win, ad);
+
+//     evas_object_show(ly);
+       evas_object_show(win);
+
+       /* init internationalization */
+       r = appcore_set_i18n(PACKAGE, LOCALEDIR);
+       if (r)
+               return -1;      
+
+       __grab_home_key(ad);
+
+       return 0;
+}
+
+static int __app_init_with_bundle(void *data)
+{
+       struct appdata *ad = data;
+
+/*     Ecore_X_Display *display = ecore_x_display_get();
+       Ecore_X_Window xwin = elm_win_xwindow_get(ad->win);
+       Ecore_X_Window prev_win =
+           tm_get_user_created_win_with_pid(ad->parent_pid);
+
+       set_transient(display, xwin, prev_win);
+*/
+       load_app_select_popup(ad);
+
+       return 0;
+}
+
+static int __app_terminate(void *data)
+{
+       struct appdata *ad = data;
+
+       if (ad->popup)
+               evas_object_del(ad->popup);
+
+       if (ad->win)
+               evas_object_del(ad->win);
+
+       __ungrab_home_key(ad);
+
+       return 0;
+}
+
+static int __app_pause(void *data)
+{
+       struct appdata *ad = data;
+       char *val = NULL;
+
+       ecore_event_handler_del(ad->rotate);
+       ad->rotate = NULL;
+
+       val = bundle_get_val(ad->kb, "__APP_SVC_CALLER_NOTI__");
+       if(val) {
+               bundle_add(ad->kb, "__APP_SVC_START_INFO__", "c");
+               aul_launch_app(val, ad->kb);
+       }
+
+       sleep(1);
+       elm_exit();
+
+       return 0;
+}
+
+static int __app_resume(void *data)
+{
+       /*struct appdata *ad = data; */
+
+       return 0;
+}
+
+static int __app_reset(bundle *b, void *data)
+{
+       struct appdata *ad = data;
+       char *str = NULL;
+
+       if (ad->kb)
+               bundle_free(ad->kb);
+
+       ad->kb = bundle_dup(b);
+
+       ad->mime_type = (char *)bundle_get_val(ad->kb, AUL_K_MIME_TYPE);
+       str = (char *)bundle_get_val(ad->kb, AUL_K_CALLER_PID);
+
+       ad->control_op = (char *)appsvc_get_operation(ad->kb);
+       ad->control_uri = (char *)appsvc_get_uri(ad->kb);
+       ad->control_mime = (char *)appsvc_get_mime(ad->kb);
+
+       if (str)
+               ad->parent_pid = atoi(str);
+       else
+               ad->parent_pid = -1;
+
+       if (!ad->mime_type && !ad->control_op) {
+               load_info_popup(ad, _("Cannot get mimetype!"));
+               return 0;
+       }
+
+/*      ad->mime_type = "text"; */
+/*      ad->parent_pid = 0000; */
+
+       /*
+          If AUL_K_ARGV0 is not NULL, the situation is launching(fork & exec).
+          else the situation is being received a reset event(old relaunch evet)
+        */
+       if (is_reset == 0) {
+               __app_init_with_bundle(data);   /*(fork & exec) */
+               is_reset = 1;
+       } else
+               update_app_list(data);  /*(reset event) */
+
+       return 0;
+}
+
+int main(int argc, char *argv[])
+{
+       struct appdata ad;
+       struct appcore_ops ops = {
+               .create = __app_create,
+               .terminate = __app_terminate,
+               .pause = __app_pause,
+               .resume = __app_resume,
+               .reset = __app_reset,
+       };
+
+       memset(&ad, 0x0, sizeof(struct appdata));
+       ops.data = &ad;
+
+       return appcore_efl_main(PACKAGE, &argc, &argv, &ops);
+}
diff --git a/app-selector.edc b/app-selector.edc
new file mode 100644 (file)
index 0000000..a576116
--- /dev/null
@@ -0,0 +1,40 @@
+
+collections {
+       group {
+               name: "icon";
+               parts {
+                       part {
+                               name: "bg";
+                               type: RECT;
+                               scale: 1;
+                               mouse_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       color: 0 0 0 0;
+                               }
+                       }
+
+                       part {
+                               name: "icon_ly";
+                               type: SWALLOW;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       rel1 { relative: 0.0 0.0; to: "bg"; }
+                                       rel2 { relative: 1.0 1.0; to: "bg"; }
+                               }
+                       }
+                       part {
+                               name: "icon";
+                               type: SWALLOW;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       rel1 { to: "icon_ly"; }
+                                       rel2 { to: "icon_ly"; }
+                               }
+                       }
+               }
+       }
+
+}
diff --git a/app-selector.h b/app-selector.h
new file mode 100755 (executable)
index 0000000..1db0f81
--- /dev/null
@@ -0,0 +1,89 @@
+/*
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+
+ * 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 __APP_COMMON_H__
+#define __APP_COMMON_H__
+
+#include <Elementary.h>
+#include <bundle.h>
+#include <dlog.h>
+#include <X11/Xatom.h>
+#include <X11/Xutil.h>
+
+
+#undef LOG_TAG
+#define LOG_TAG "app-selector"
+
+#define _E(fmt, arg...) LOGE("[%s,%d] "fmt,__FUNCTION__,__LINE__,##arg)
+#define _D(fmt, arg...) LOGD("[%s,%d] "fmt,__FUNCTION__,__LINE__,##arg)
+
+
+#if !defined(PACKAGE)
+#  define PACKAGE "app-selector"
+#endif
+
+#if !defined(LOCALEDIR)
+#  define LOCALEDIR "/usr/share/locale"
+#endif
+
+#define ICON_PATH PREFIX"/share/icon"
+
+#define NAME_BUF_LEN (128)
+#define _EDJ(x)        elm_layout_edje_get(x)
+
+#define _(msgid) gettext(msgid)
+#define N_(msgid) gettext_noop(msgid)
+
+struct appdata {
+       Evas_Object *win;
+       Evas_Object *ly_main;
+
+       Ecore_Event_Handler *key_up;
+       Ecore_Event_Handler *rotate;
+
+       Evas_Object *popup;
+       Evas_Object *def_set_popup;
+
+       Eina_List *app_list;
+       Evas_Object *app_genlist;
+
+       Display *dpy;
+       Ecore_X_Window xwin;
+
+       bundle *kb;
+       int parent_pid;
+
+       char *mime_type;
+
+       char *control_op;
+       char *control_mime;
+       char *control_uri;
+
+        /* add more variables here */
+};
+
+struct _select_app_info {
+       char *pkg_name;
+       char *app_name;
+       char *app_path;
+       char *app_icon_path;
+       struct appdata *ad;
+       Elm_Object_Item *it;
+};
+
+#endif                         /* __APP_COMMON_H__ */
diff --git a/debian/changelog b/debian/changelog
new file mode 100755 (executable)
index 0000000..95130ec
--- /dev/null
@@ -0,0 +1,565 @@
+app-selector (0.1.0-71) unstable; urgency=low
+
+  * Move desktop file
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-71
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 14 May 2012 10:44:44 +0900
+
+app-selector (0.1.0-70) unstable; urgency=low
+
+  * Updated appsvc uri resolution
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-70
+
+ -- Jaeho lee <jaeho81.lee@samsung.com>  Tue, 03 Apr 2012 19:15:09 +0900
+
+app-selector (0.1.0-69) unstable; urgency=low
+
+  * Deprecated API : elm_layout_content_set
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-69
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 19 Mar 2012 13:56:46 +0900
+
+app-selector (0.1.0-68) unstable; urgency=low
+
+  * Changed desktop field
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-68
+
+ -- Sewook Park <sewook7.park@samsung.com>  Thu, 15 Mar 2012 16:56:58 +0900
+
+app-selector (0.1.0-67) unstable; urgency=low
+
+  * API Changes in elementary
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-67
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Tue, 13 Mar 2012 17:50:30 +0900
+
+app-selector (0.1.0-66) unstable; urgency=low
+
+  * remove unused function
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-66
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Thu, 08 Mar 2012 16:28:57 +0900
+
+app-selector (0.1.0-65) unstable; urgency=low
+
+  * Fix code for EFL API change
+  * Git: slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-65
+
+ -- Sewook Park <sewook7.park@samsung.com>  Wed, 15 Feb 2012 14:04:55 +0900
+
+app-selector (0.1.0-64) unstable; urgency=low
+
+  * Fix code for JIRA S1-421
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-64
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Tue, 10 Jan 2012 16:19:14 +0900
+
+app-selector (0.1.0-63) unstable; urgency=low
+
+  * Changed boilerplate
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-63
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 05 Dec 2011 16:43:17 +0900
+
+app-selector (0.1.0-62) unstable; urgency=low
+
+  * Fix desktop not to be removed
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-62
+
+ -- Sewook Park <sewook7.park@samsung.com>  Mon, 21 Nov 2011 10:40:28 +0900
+
+app-selector (0.1.0-61) unstable; urgency=low
+
+  * Changed Boilerplate as per the guideline
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-61 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 07 Nov 2011 16:59:22 +0900
+
+app-selector (0.1.0-60) unstable; urgency=low
+
+  * Fix rotation bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-60 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 17 Oct 2011 10:19:27 +0900
+
+app-selector (0.1.0-59) unstable; urgency=low
+
+  * Fix rotation bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-59
+
+ -- Sewook Park <sewook7.park@samsung.com>  Sat, 15 Oct 2011 21:35:55 +0900
+
+app-selector (0.1.0-58) unstable; urgency=low
+
+  * fix default app setting bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-58
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Sat, 15 Oct 2011 19:45:59 +0900
+
+app-selector (0.1.0-57) unstable; urgency=low
+
+  * Grab home key
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-57
+
+ -- Sewook Park <sewook7.park@samsung.com>  Fri, 14 Oct 2011 15:39:21 +0900
+
+app-selector (0.1.0-56) unstable; urgency=low
+
+  * Fix rotation bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-56 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Thu, 13 Oct 2011 15:50:33 +0900
+
+app-selector (0.1.0-55) unstable; urgency=low
+
+  * Fix rotation bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-55 
+
+ -- root <jaeho81.lee@samsung.com>  Thu, 13 Oct 2011 13:39:05 +0900
+
+app-selector (0.1.0-54) unstable; urgency=low
+
+  * Support edj icon
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-54 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Tue, 11 Oct 2011 14:01:09 +0900
+
+app-selector (0.1.0-53) unstable; urgency=low
+
+  * Change the size of layout
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-53 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 10 Oct 2011 09:43:32 +0900
+
+app-selector (0.1.0-52) unstable; urgency=low
+
+  * Fix bug : window effect
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-52 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Fri, 16 Sep 2011 13:47:30 +0900
+
+app-selector (0.1.0-51) unstable; urgency=low
+
+  * Fix bug : unsupported file format popup
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-51 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Wed, 14 Sep 2011 10:17:13 +0900
+
+app-selector (0.1.0-50) unstable; urgency=low
+
+  * Fix bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-50 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Wed, 07 Sep 2011 19:56:34 +0900
+
+app-selector (0.1.0-49) unstable; urgency=low
+
+  * Apply app-svc
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-49 
+
+ -- Sewook ParK <sewook7.park@samsung.com>  Tue, 09 Aug 2011 11:46:55 +0900
+
+app-selector (0.1.0-48) unstable; urgency=low
+
+  * ail API change
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-48 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Mon, 08 Aug 2011 16:32:44 +0900
+
+app-selector (0.1.0-47) unstable; urgency=low
+
+  * Apply code cleanup
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-47 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Thu, 04 Aug 2011 21:59:29 +0900
+
+app-selector (0.1.0-46) unstable; urgency=low
+
+  * Modify genlist item style
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-46 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Tue, 26 Jul 2011 10:11:13 +0900
+
+app-selector (0.1.0-45) unstable; urgency=low
+
+  * Code cleanup
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-45 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Wed, 13 Jul 2011 16:08:06 +0900
+
+app-selector (0.1.0-44) unstable; urgency=low
+
+  * Fix prevent bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-44 
+
+ -- Sewook Park <sewook7.park@samsung.com>  Thu, 07 Jul 2011 16:40:54 +0900
+
+app-selector (0.1.0-43) unstable; urgency=low
+
+  * Fix bug
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-43 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Fri, 17 Jun 2011 12:57:16 +0900
+
+app-selector (0.1.0-42) unstable; urgency=low
+
+  * Fix AUL_K_ARGV0 issue
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-42 
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com>  Tue, 14 Jun 2011 19:33:56 +0900
+
+app-selector (0.1.0-41) unstable; urgency=low
+
+  * Remove screen engine package
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-41
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 19 May 2011 11:01:10 +0900
+
+app-selector (0.1.0-40) unstable; urgency=low
+
+  * Add screen engine package
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-40
+
+ -- Noha Park <noha.park@samsung.com>  Wed, 18 May 2011 15:52:12 +0900
+
+app-selector (0.1.0-39) unstable; urgency=low
+
+  * Add ail API 
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-39
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 17 May 2011 19:44:02 +0900
+
+app-selector (0.1.0-38) unstable; urgency=low
+
+  * Remove deb. from package name 
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-38
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 12 Apr 2011 15:49:10 +0900
+
+app-selector (0.1.0-37) unstable; urgency=low
+
+  * Remove deb. from package name 
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-37
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 12 Apr 2011 10:32:13 +0900
+
+app-selector (0.1.0-36) unstable; urgency=low
+
+  * Remove deb. from package name 
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-36
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 12 Apr 2011 09:16:52 +0900
+
+app-selector (0.1.0-35) unstable; urgency=low
+
+  * Fix gcc 4.5 linking issues
+
+ -- Mike McCormack <mj.mccormack@samsung.com>  Wed, 30 Mar 2011 16:54:30 +0900
+
+app-selector (0.1.0-34) unstable; urgency=low
+
+  * Image optimization
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-34
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 21 Feb 2011 11:39:50 +0900
+
+app-selector (0.1.0-33) unstable; urgency=low
+
+  * Modify PATH LEN to NAME LEN with pkg_name
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-33
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 15 Feb 2011 11:52:01 +0900
+
+app-selector (0.1.0-32) unstable; urgency=low
+
+  * Move desktop file destination
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-32
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 14 Feb 2011 16:59:15 +0900
+
+app-selector (0.1.0-31) unstable; urgency=low
+
+  * Remove applog package
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-31
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 21 Dec 2010 14:30:18 +0900
+
+app-selector (0.1.0-30) unstable; urgency=low
+
+  * Add pie definition
+  * Git: slp-source.sec.samsung.net:slp/pkgs/a/app-selector
+  * Tag: app-selector_0.1.0-30
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 13 Dec 2010 13:45:47 +0900
+
+app-selector (0.1.0-29) unstable; urgency=low
+
+  * Add pie definition
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-29
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 13 Dec 2010 13:42:19 +0900
+
+app-selector (0.1.0-28) unstable; urgency=low
+
+  * Add pie definition
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-28
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 26 Nov 2010 08:59:06 +0900
+
+app-selector (0.1.0-27) unstable; urgency=low
+
+  * Modified package name 
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-27
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 22 Nov 2010 11:27:15 +0900
+
+app-selector (0.1.0-26) unstable; urgency=low
+
+  * Modified package name 
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-26
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 22 Nov 2010 11:20:01 +0900
+
+app-selector (0.1.0-25) unstable; urgency=low
+
+  * Modified package name 
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-25
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 22 Nov 2010 10:33:59 +0900
+
+app-selector (0.1.0-24) unstable; urgency=low
+
+  * Add strip code
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-24
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 12 Nov 2010 15:15:39 +0900
+
+app-selector (0.1.0-23) unstable; urgency=low
+
+  * Modify mimetype len
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-23
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 21 Oct 2010 19:31:32 +0900
+
+app-selector (0.1.0-22) unstable; urgency=low
+
+  * Modify mimetype len
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-22
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 21 Oct 2010 17:07:51 +0900
+
+app-selector (0.1.0-21) unstable; urgency=low
+
+  * Modify mimetype len
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-21
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 21 Oct 2010 16:55:14 +0900
+
+app-selector (0.1.0-20) unstable; urgency=low
+
+  * Modify searching desktop db
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-20
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 18 Oct 2010 09:18:22 +0900
+
+app-selector (0.1.0-19) unstable; urgency=low
+
+  * Update screen engine
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-19
+
+ -- Noha Park <noha.park@samsung.com>  Wed, 13 Oct 2010 18:52:43 +0900
+
+app-selector (0.1.0-18) unstable; urgency=low
+
+  * Repackaging
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-18
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 12 Oct 2010 19:40:34 +0900
+
+app-selector (0.1.0-17) unstable; urgency=low
+
+  * Remove theme set
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-17
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 08 Oct 2010 08:50:19 +0900
+
+app-selector (0.1.0-16) unstable; urgency=low
+
+  * Modify CMakeList for installing desktop file
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-16
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 30 Sep 2010 10:49:06 +0900
+
+app-selector (0.1.0-15) unstable; urgency=low
+
+  * Adjust multi-language
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-15
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 27 Sep 2010 17:51:25 +0900
+
+app-selector (0.1.0-14) unstable; urgency=low
+
+  * Scalble UI
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-14
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 24 Sep 2010 09:56:28 +0900
+
+app-selector (0.1.0-13) unstable; urgency=low
+
+  * Repackaging 
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-13
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 17 Sep 2010 15:38:45 +0900
+
+app-selector (0.1.0-12) unstable; urgency=low
+
+  * Repackaging 
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-12
+
+ -- Noha Park <noha.park@samsung.com>  Wed, 15 Sep 2010 15:00:36 +0900
+
+app-selector (0.1.0-11) unstable; urgency=low
+
+  * modify return of ecore callback fn 
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-11
+
+ -- Noha Park <noha.park@samsung.com>  Sun, 12 Sep 2010 14:15:37 +0900
+
+app-selector (0.1.0-10) unstable; urgency=low
+
+  * Add transient
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-10
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 10 Sep 2010 21:11:33 +0900
+
+app-selector (0.1.0-9) unstable; urgency=low
+
+  * Add transient
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-9
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 09 Sep 2010 19:27:13 +0900
+
+app-selector (0.1.0-8) unstable; urgency=low
+
+  * Add like search
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-8
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 09 Sep 2010 10:37:56 +0900
+
+app-selector (0.1.0-7) unstable; urgency=low
+
+  * modify cmake option
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-7
+
+ -- Noha Park <noha.park@samsung.com>  Wed, 08 Sep 2010 12:06:45 +0900
+
+app-selector (0.1.0-6) unstable; urgency=low
+
+  * modify popup
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-6
+
+ -- Noha Park <noha.park@samsung.com>  Fri, 03 Sep 2010 17:55:21 +0900
+
+app-selector (0.1.0-5) unstable; urgency=low
+
+  * fix flaw.
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-5
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 24 Aug 2010 12:55:13 +0900
+
+app-selector (0.1.0-4) unstable; urgency=low
+
+  * Modify resume to launch.
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-4
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 12 Aug 2010 21:38:12 +0900
+
+app-selector (0.1.0-3) unstable; urgency=low
+
+  * Hide on the taskmanager.
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-3
+
+ -- Noha Park <noha.park@samsung.com>  Thu, 12 Aug 2010 12:56:50 +0900
+
+app-selector (0.1.0-2) unstable; urgency=low
+
+  * Remove edc file.
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-2
+
+ -- Noha Park <noha.park@samsung.com>  Tue, 10 Aug 2010 13:54:20 +0900
+
+app-selector (0.1.0-1) unstable; urgency=low
+
+  * Initial Release.
+  * Git: 165.213.180.234:/git/slp/pkgs/app-selector
+  * Tag: app-selector_0.1.0-1
+
+ -- Noha Park <noha.park@samsung.com>  Mon, 09 Aug 2010 18:52:55 +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 100755 (executable)
index 0000000..de8f8e4
--- /dev/null
@@ -0,0 +1,17 @@
+Source: app-selector
+Section: devel
+Priority: extra
+Maintainer: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>, Jaeho Lee <jaeho81.lee@samsung.com>, Noha Park <noha.park@samsung.com>
+Build-Depends: debhelper (>= 5), libappcore-efl-dev, libaul-1-dev, libslp-utilx-dev, libail-0-dev, libappsvc-dev, libx11-dev, libsoup2.4-dev
+Standards-Version: 3.7.2
+
+Package: org.tizen.app-selector
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: app-selector
+
+Package: org.tizen.app-selector-dbg
+Architecture: any
+Depends: org.tizen.app-selector (= ${Source-Version}), ${misc:Depends}
+Description: App selector Debug Symbols
+ Debug symbols for app-selector
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..a0f0008
--- /dev/null
@@ -0,0 +1 @@
+CMakeLists.txt
diff --git a/debian/org.tizen.app-selector.install.in b/debian/org.tizen.app-selector.install.in
new file mode 100644 (file)
index 0000000..72afaf1
--- /dev/null
@@ -0,0 +1,5 @@
+@PREFIX@/bin/*
+@DATADIR@/locale/*
+@DATADIR@/icons/*
+@DATADIR@/edje/app-selector/*
+/usr/share/applications/*
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..4f46e8a
--- /dev/null
@@ -0,0 +1,115 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS ?= -Wall -g
+LDFLAGS ?=
+PREFIX ?= /usr
+DATADIR ?= /usr/share
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
+
+LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--hash-style=both -Wl,--as-needed
+
+CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+       mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && \
+       CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" cmake .. -DCMAKE_INSTALL_PREFIX="$(PREFIX)"
+
+       touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+       dh_testdir
+
+       # Add here commands to compile the package.
+       cd $(CMAKE_BUILD_DIR) && $(MAKE)
+
+       for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
+               cat $$f > $${f%.in}; \
+               sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
+               sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
+       done
+
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       rm -rf $(CMAKE_BUILD_DIR)
+
+       for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
+               rm -f $${f%.in}; \
+       done
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/wavplayer.
+       cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_installexamples
+       dh_install --sourcedir=debian/tmp
+#      dh_installmenu
+#      dh_installdebconf       
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_python
+#      dh_installinit
+#      dh_installcron
+#      dh_installinfo
+       dh_installman
+       dh_link
+       dh_strip --dbg-package=org.tizen.app-selector-dbg
+       dh_compress
+       dh_fixperms
+#      dh_perl
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/org.tizen.app-selector.manifest b/org.tizen.app-selector.manifest
new file mode 100644 (file)
index 0000000..cf62f24
--- /dev/null
@@ -0,0 +1,11 @@
+<manifest>
+       <define>
+               <domain name="org.tizen.app-selector" />
+       </define>
+       <request>
+               <domain name="org.tizen.app-selector" />
+       </request>
+       <assign>
+               <filesystem path="/usr/bin/app-selector" exec_label="org.tizen.app-selector" />
+       </assign>
+</manifest>
diff --git a/org.tizen.app-selector.xml.in b/org.tizen.app-selector.xml.in
new file mode 100755 (executable)
index 0000000..89ac10b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.app-selector" version="0.1.0" install-location="internal-only">
+       <label>app-selector</label>
+       <author email="sewook7.park@samsung.com" href="www.samsung.com">Sewook Park</author>
+       <description>app-selecto</description>
+       <ui-application appid="org.tizen.app-selector" exec="/usr/bin/app-selector" nodisplay="true" multiple="false" type="capp" taskmanage="false">
+               <label>app-selector</label>
+       </ui-application>
+</manifest>
diff --git a/packaging/org.tizen.app-selector.spec b/packaging/org.tizen.app-selector.spec
new file mode 100755 (executable)
index 0000000..db83a4e
--- /dev/null
@@ -0,0 +1,53 @@
+#sbs-git:slp/pkgs/a/app-selector app-selector 0.1.0 766945c4ea0c9e0c20393c2ea47bed1a26130e95
+Name:       org.tizen.app-selector
+Summary:    Application selector
+Version:    0.1.0
+Release:    83
+Group:      TO_BE/FILLED_IN
+License:    Flora Software License
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  gettext-tools
+BuildRequires:  edje-tools
+BuildRequires:  pkgconfig(appcore-efl)
+BuildRequires:  pkgconfig(aul)
+BuildRequires:  pkgconfig(utilX)
+BuildRequires:  pkgconfig(ecore-x)
+BuildRequires:  pkgconfig(eina)
+BuildRequires:  pkgconfig(evas)
+BuildRequires:  pkgconfig(ecore)
+BuildRequires:  pkgconfig(ecore-file)
+BuildRequires:  pkgconfig(edje)
+BuildRequires:  pkgconfig(ail)
+BuildRequires:  pkgconfig(appsvc)
+BuildRequires:  pkgconfig(xcomposite)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(libsoup-2.4)
+
+
+%description
+SLP application selector
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest org.tizen.app-selector.manifest
+/usr/bin/app-selector
+/usr/share/edje/app-selector/app-selector.edj
+/usr/share/packages/org.tizen.app-selector.xml
+/usr/share/locale/*/LC_MESSAGES/*.mo
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f56f947
--- /dev/null
@@ -0,0 +1,24 @@
+# for i18n
+
+SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_MX.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
+
+SET(MSGFMT "/usr/bin/msgfmt")
+
+FOREACH(pofile ${POFILES})
+       SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
+       MESSAGE("PO: ${pofile}")
+       GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
+       GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
+       SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
+       ADD_CUSTOM_COMMAND(
+                       OUTPUT ${moFile}
+                       COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
+                       DEPENDS ${absPofile}
+       )
+       INSTALL(FILES ${moFile}
+                       DESTINATION share/locale/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo)
+       SET(moFiles ${moFiles} ${moFile})
+ENDFOREACH(pofile)
+
+MESSAGE(".mo files: ${moFiles}")
+ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644 (file)
index 0000000..6d3187a
--- /dev/null
@@ -0,0 +1,4 @@
+# List of source files containing translatable strings.
+app-selector.c
+app-selector-view.c
+app-selector-util.c
diff --git a/po/app-selector.pot b/po/app-selector.pot
new file mode 100644 (file)
index 0000000..1625f99
--- /dev/null
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-09-30 19:47+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: app-selector.c:197
+msgid "Cannot get mimetype!"
+msgstr ""
+
+#: app-selector-view.c:80
+msgid "Set this application as default?"
+msgstr ""
+
+#: app-selector-view.c:81
+msgid "Default app setting"
+msgstr ""
+
+#: app-selector-view.c:82
+msgid "IDS_COM_SK_OK"
+msgstr ""
+
+#: app-selector-view.c:82 app-selector-view.c:270
+msgid "Cancel"
+msgstr ""
+
+#: app-selector-view.c:141
+msgid "Cannot find default application"
+msgstr ""
+
+#: app-selector-view.c:269
+msgid "Select application"
+msgstr ""
diff --git a/po/ar.po b/po/ar.po
new file mode 100644 (file)
index 0000000..e4d2596
--- /dev/null
+++ b/po/ar.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "يتعذر فتح التطبيق"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "إعدادات التطبيق الافتراضية"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "اختر تطبيق"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "هل تريد الضبط كافتراضي؟"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "يتعذر العثور على التطبيق الافتراضي"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "يتعذر تحديد نوع MIME"
+
diff --git a/po/az.po b/po/az.po
new file mode 100644 (file)
index 0000000..5237b9c
--- /dev/null
+++ b/po/az.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Proqramı açmaq mümkün deyil"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Susmaya görə proqram parametrləri"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Proqramı seç"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Standat kimi seçilsin?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Susmaya görə proqramı tapmaq mümkün deyil"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME növünü təyin etmək mümkün deyil"
+
diff --git a/po/bg.po b/po/bg.po
new file mode 100644 (file)
index 0000000..ec3839f
--- /dev/null
+++ b/po/bg.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Приложението не може да се отвори"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Настройки по подразбиране за приложението"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Избор на приложение"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Задаване като по подразбиране?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Не може да се намери приложение по подразбиране"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME типът не може да бъде разпознат"
+
diff --git a/po/ca.po b/po/ca.po
new file mode 100644 (file)
index 0000000..45b5b96
--- /dev/null
+++ b/po/ca.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "No es pot obrir l'aplicació"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Ajustaments predeterminats d'aplicació"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Seleccionar aplicació"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Definir com a predeterminat?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "No es pot trobar l'aplicació predeterminada"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "No es pot identificar el tipus MIME"
+
diff --git a/po/cs.po b/po/cs.po
new file mode 100644 (file)
index 0000000..fd3f8ba
--- /dev/null
+++ b/po/cs.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Aplikaci se nepodařilo otevřít"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Výchozí nastavení aplikace"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Vyberte aplikaci"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Nastavit jako výchozí?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nepodařilo se najít výchozí aplikaci"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nepodařilo se identifikovat typ MIME"
+
diff --git a/po/da.po b/po/da.po
new file mode 100644 (file)
index 0000000..7f7d5cc
--- /dev/null
+++ b/po/da.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Kan ikke åbne program"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Standardprogramindstillinger"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Vælg program"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Vil du angive som standard?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Standardprogrammet blev ikke fundet"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME-typen blev ikke identificeret"
+
diff --git a/po/de_DE.po b/po/de_DE.po
new file mode 100644 (file)
index 0000000..9451692
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Öffnen der Anwendung nicht möglich."
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Standard-Anwendungseinstellungen"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Anwendung auswählen"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Als Standard einstellen?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Standardanwendung kann nicht gefunden werden"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME-Typ kann nicht identifiziert werden"
+
diff --git a/po/el_GR.po b/po/el_GR.po
new file mode 100644 (file)
index 0000000..a0b8990
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Δεν είναι δυνατό το άνοιγμα της εφαρμογής"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Προεπιλεγμένες ρυθμίσεις εφαρμογής"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Επιλογή εφαρμογής"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Ορισμός ως προεπιλογής;"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Δεν είναι δυνατή η εύρεση της προεπιλεγμένης εφαρμογής"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Δεν είναι δυνατή η αναγνώριση τύπου MIME"
+
diff --git a/po/en.po b/po/en.po
new file mode 100644 (file)
index 0000000..ed3d6ef
--- /dev/null
+++ b/po/en.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Unable to open application"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Default application settings"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Select application"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Set as default?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Unable to find default application"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Unable to identify MIME type"
+
diff --git a/po/en_GB.po b/po/en_GB.po
new file mode 100644 (file)
index 0000000..01d091f
--- /dev/null
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-09-30 19:47+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: app-selector.c:197
+msgid "Cannot get mimetype!"
+msgstr ""
+
+#: app-selector-view.c:80
+msgid "Set this application as default?"
+msgstr ""
+
+#: app-selector-view.c:81
+msgid "Default app setting"
+msgstr ""
+
+#: app-selector-view.c:82
+msgid "IDS_COM_SK_OK"
+msgstr ""
+
+#: app-selector-view.c:82 app-selector-view.c:270
+msgid "Cancel"
+msgstr ""
+
+#: app-selector-view.c:141
+msgid "Cannot find default application"
+msgstr ""
+
+#: app-selector-view.c:269
+msgid "Select application"
+msgstr ""
diff --git a/po/en_PH.po b/po/en_PH.po
new file mode 100644 (file)
index 0000000..ed3d6ef
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Unable to open application"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Default application settings"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Select application"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Set as default?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Unable to find default application"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Unable to identify MIME type"
+
diff --git a/po/en_US.po b/po/en_US.po
new file mode 100644 (file)
index 0000000..ed3d6ef
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Unable to open application"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Default application settings"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Select application"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Set as default?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Unable to find default application"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Unable to identify MIME type"
+
diff --git a/po/es_ES.po b/po/es_ES.po
new file mode 100644 (file)
index 0000000..7640578
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "No se puede abrir la aplicación"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Ajustes de la aplicación predeterminada"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Seleccionar aplicación"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "¿Definir como predeterminado?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "No se pudo encontrar la aplicación predeterminada"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "No se puede identificar el tipo MIME"
+
diff --git a/po/es_MX.po b/po/es_MX.po
new file mode 100644 (file)
index 0000000..2bc4d6b
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "No se pudo abrir la aplicación"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Configuración de la aplicación predeterminada"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Seleccionar aplicación"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "¿Definir como predeterminado?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "No se pudo encontrar la aplicación predeterminada"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "No se puede identificar el tipo MIME"
+
diff --git a/po/et.po b/po/et.po
new file mode 100644 (file)
index 0000000..c03d10f
--- /dev/null
+++ b/po/et.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Rakendust ei saa avada"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Vaikimisi rakenduse seaded"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Vali rakendus"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Vaikimisi seadistuseks?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Vaikimisi rakendust ei leita"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME-tüüpi ei saa tuvastada"
+
diff --git a/po/eu.po b/po/eu.po
new file mode 100644 (file)
index 0000000..0fc200c
--- /dev/null
+++ b/po/eu.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Ezin da aplikazioa ireki"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Lehenetsitako aplikazioaren ezarpenak"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Hautatu aplikazioa"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Lehenetsi gisa ezarri?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Ezin da lehenetsitako aplikazioa aurkitu"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Ezin da MIME mota identifikatu"
+
diff --git a/po/fi.po b/po/fi.po
new file mode 100644 (file)
index 0000000..4714d0a
--- /dev/null
+++ b/po/fi.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Sovellusta ei voi avata"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Sovelluksen oletusasetukset"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Valitse sovellus"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Asetetaanko oletukseksi?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Oletussovellusta ei löydy"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME-tyyppiä ei tunnisteta"
+
diff --git a/po/fr_CA.po b/po/fr_CA.po
new file mode 100644 (file)
index 0000000..787c1e6
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Impossible d'ouvrir l'application"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Paramètres de l'application par défaut"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Sélectionnez une application"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Définir par défaut?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Impossible de trouver l'application par défaut"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Impossible d'identifier le type MIME"
+
diff --git a/po/fr_FR.po b/po/fr_FR.po
new file mode 100644 (file)
index 0000000..362fc1e
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Impossible d'ouvrir l'application"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Paramètres de l'application par défaut"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Sélectionnez une application"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Définir par défaut ?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Application par défaut introuvable"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Impossible d'identifier le type MIME"
+
diff --git a/po/ga.po b/po/ga.po
new file mode 100644 (file)
index 0000000..4e79c10
--- /dev/null
+++ b/po/ga.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Ní féidir an feidhmchlár a oscailt"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Socruithe an fheidhmchláir réamhshocraithe"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Roghnaigh feidhmchlár"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Socraigh mar réamhshocrú?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Ní féidir an feidhmchlár réamhshocraithe a aimsiú"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Ní féidir an cineál MIME a aithint"
+
diff --git a/po/gl.po b/po/gl.po
new file mode 100644 (file)
index 0000000..ecd4e4f
--- /dev/null
+++ b/po/gl.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Non se pode abrir a aplicación"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Axustes predeterminados da aplicación"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Seleccionar aplicación"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Establecer como predeterminado?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Non se pode atopar a aplicación predeterminada"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Non se pode identificar o tipo MIME"
+
diff --git a/po/hi.po b/po/hi.po
new file mode 100644 (file)
index 0000000..f13e9b6
--- /dev/null
+++ b/po/hi.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "एप्लीकेशन खोलने में अक्षम"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "डिफ़ॉल्ट एप्लीकेशन सेटिंग्स"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "एप्लीकेशन चुनें"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "डिफ़ॉल्‍ट के रूप में सेट करें?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "डिफ़ॉल्‍ट एप्लीकेशन ढूँढने में अक्षम"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "एमआईएमई प्रकार पहचानने में अक्षम"
+
diff --git a/po/hr.po b/po/hr.po
new file mode 100644 (file)
index 0000000..f863ddd
--- /dev/null
+++ b/po/hr.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Nemoguće otvoriti aplikaciju"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Zadane postavke aplikacije"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Odaberi aplikaciju"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Postaviti kao zadano?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nemoguće pronaći zadanu aplikaciju"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nemoguće identificirati MIME vrstu"
+
diff --git a/po/hu.po b/po/hu.po
new file mode 100644 (file)
index 0000000..72c24f3
--- /dev/null
+++ b/po/hu.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Nem lehet megnyitni az alkalmazást"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Az alkalmazás alapértelmezett beállításai"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Alkalmazás kiválasztása"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Beállítja alapértelmezettként?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nem található alapértelmezett alkalmazás"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nem azonosítható a MIME-típus"
+
diff --git a/po/hy.po b/po/hy.po
new file mode 100644 (file)
index 0000000..0aeb5a0
--- /dev/null
+++ b/po/hy.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Անհնար է բացել ծրագիրը"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Կանխադրված ծրագրի դրվածքներ"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Ընտրել ծրագիր"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Նշանակե՞լ որպես լռելյայն:"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Անհնար է գտնել կանխադրված ծրագիրը"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Անհնար է նույնականացնել MIME տիպը"
+
diff --git a/po/is.po b/po/is.po
new file mode 100644 (file)
index 0000000..ce9f8de
--- /dev/null
+++ b/po/is.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Mistókst að opna forrit"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Sjálfgefnar stillingar forrits"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Velja forrit"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Setja sem sjálfgildi?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Mistókst að finna sjálfgefið forrit"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Mistókst að bera kennsl á MIME-gerð"
+
diff --git a/po/it_IT.po b/po/it_IT.po
new file mode 100644 (file)
index 0000000..9ce2ec1
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Impossibile aprire l'applicazione"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Impostazioni applicazione predefinite"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Seleziona applicazione"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Impostare come predefinito?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Impossibile trovare l'applicazione predefinita"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Impossibile identificare il tipo MIME"
+
diff --git a/po/ja.po b/po/ja.po
new file mode 100644 (file)
index 0000000..01d091f
--- /dev/null
+++ b/po/ja.po
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-09-30 19:47+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: app-selector.c:197
+msgid "Cannot get mimetype!"
+msgstr ""
+
+#: app-selector-view.c:80
+msgid "Set this application as default?"
+msgstr ""
+
+#: app-selector-view.c:81
+msgid "Default app setting"
+msgstr ""
+
+#: app-selector-view.c:82
+msgid "IDS_COM_SK_OK"
+msgstr ""
+
+#: app-selector-view.c:82 app-selector-view.c:270
+msgid "Cancel"
+msgstr ""
+
+#: app-selector-view.c:141
+msgid "Cannot find default application"
+msgstr ""
+
+#: app-selector-view.c:269
+msgid "Select application"
+msgstr ""
diff --git a/po/ja_JP.po b/po/ja_JP.po
new file mode 100644 (file)
index 0000000..07bd005
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "アプリケーションを起動できません。"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "アプリケーションの基本設定"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "アプリケーションを選択"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "標準に​設定​します​か?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "標準アプリケーションが見つかりません"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIMEタイプを特定できません"
+
diff --git a/po/ka.po b/po/ka.po
new file mode 100644 (file)
index 0000000..a4f9458
--- /dev/null
+++ b/po/ka.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "პროგრამის გახსნა შეუძლებელია"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "ნაგულისხმევი პროგრამის პარამეტრები"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "აირჩიეთ პროგრამა"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "შეარჩევთ როგორც საწყისს?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "ნაგულისხმევი პროგრამის პოვნა შეუძლებელია"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME ტიპის ამოცნობა შეუძლებელია"
+
diff --git a/po/kk.po b/po/kk.po
new file mode 100644 (file)
index 0000000..2201dc5
--- /dev/null
+++ b/po/kk.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Қолданбаны ашу мүмкін емес"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Әдепкі бағдарлама параметрлері"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Бағдарлама таңдау"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Стандартты етіп орнату керек пе?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Әдепкі бағдарламаны табу мүмкін емес"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME түрін анықтау мүмкін емес"
+
diff --git a/po/ko.po b/po/ko.po
new file mode 100644 (file)
index 0000000..01d091f
--- /dev/null
+++ b/po/ko.po
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-09-30 19:47+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: app-selector.c:197
+msgid "Cannot get mimetype!"
+msgstr ""
+
+#: app-selector-view.c:80
+msgid "Set this application as default?"
+msgstr ""
+
+#: app-selector-view.c:81
+msgid "Default app setting"
+msgstr ""
+
+#: app-selector-view.c:82
+msgid "IDS_COM_SK_OK"
+msgstr ""
+
+#: app-selector-view.c:82 app-selector-view.c:270
+msgid "Cancel"
+msgstr ""
+
+#: app-selector-view.c:141
+msgid "Cannot find default application"
+msgstr ""
+
+#: app-selector-view.c:269
+msgid "Select application"
+msgstr ""
diff --git a/po/ko_KR.po b/po/ko_KR.po
new file mode 100644 (file)
index 0000000..3263b1b
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "애플리케이션을 실행하지 못하였습니다"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "기본 애플리케이션 설정"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "애플리케이션 선택"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "기본값으로 설정할까요?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "기본 애플리케이션을 찾을 수 없습니다"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME 형식을 확인할 수 없습니다"
+
diff --git a/po/lt.po b/po/lt.po
new file mode 100644 (file)
index 0000000..d99a960
--- /dev/null
+++ b/po/lt.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Neįmanoma atidaryti programos"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Numatytieji programos nustatymai"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Pasirinkti programą"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Nustatyti kaip numatytąjį?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Neįmanoma rasti numatytosios programos"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Neįmanoma nustatyti MIME tipo"
+
diff --git a/po/lv.po b/po/lv.po
new file mode 100644 (file)
index 0000000..4aa4bc2
--- /dev/null
+++ b/po/lv.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Nevar atvērt programmu"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Programmas noklusējuma iestatījumi"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Izvēlēties programmu"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Vai iestatīt kā noklusējumu?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nevar atrast noklusējuma programmu"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nevar noteikt MIME tipu"
+
diff --git a/po/mk.po b/po/mk.po
new file mode 100644 (file)
index 0000000..a422391
--- /dev/null
+++ b/po/mk.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Не може да се отвори апликацијата"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Основни опции на апликацијата"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Избери апликација"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Постави како основно?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Не може да се најде основната апликација"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Не може да се идентификува типот MIME"
+
diff --git a/po/nb.po b/po/nb.po
new file mode 100644 (file)
index 0000000..eccea7e
--- /dev/null
+++ b/po/nb.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Kan ikke åpne program"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Standard programinnstillinger"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Velg program"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Bruke som standard?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Kan ikke finne standardprogram"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Kan ikke identifisere MIME-type"
+
diff --git a/po/nl_NL.po b/po/nl_NL.po
new file mode 100644 (file)
index 0000000..18ff943
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Kan applicatie niet openen"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Standaardinstellingen applicatie"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Applicatie selecteren"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Instellen als standaard?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Kan standaardapplicatie niet vinden"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Kan MIME-type niet certificeren"
+
diff --git a/po/pl.po b/po/pl.po
new file mode 100644 (file)
index 0000000..caee90b
--- /dev/null
+++ b/po/pl.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Nie można otworzyć aplikacji"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Domyślne ustawienia aplikacji"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Wybierz aplikację"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Ustawić jako domyślny?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nie można znaleźć aplikacji domyślnej"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nie można zidentyfikować typu MIME"
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
new file mode 100644 (file)
index 0000000..917d577
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Não é possível abrir aplicativo"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Definições padrão da aplicação"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Selecionar aplicação"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Definir como padrão?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Impossível localizar aplicação padrão"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Impossível identificar tipo MIME"
+
diff --git a/po/pt_PT.po b/po/pt_PT.po
new file mode 100644 (file)
index 0000000..7af5cca
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Impossível abrir aplicação"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Definições padrão da aplicação"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Seleccionar aplicação"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Definir como padrão?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Impossível localizar aplicação padrão"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Impossível identificar tipo MIME"
+
diff --git a/po/ro.po b/po/ro.po
new file mode 100644 (file)
index 0000000..092f023
--- /dev/null
+++ b/po/ro.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Imposibil de deschis aplicaţia"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Setări aplicaţie implicite"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Selectare aplicaţie"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Setaţi ca valoare implicită?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Imposibil de găsit aplicaţia implicită"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Imposibil de identificat tipul MIME"
+
diff --git a/po/ru_RU.po b/po/ru_RU.po
new file mode 100644 (file)
index 0000000..98b7629
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Не удалось открыть приложение"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Параметры приложения по умолчанию"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Выбор приложения"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Установить по умолчанию?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Не удается найти приложение по умолчанию"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Невозможно определить тип MIME"
+
diff --git a/po/sk.po b/po/sk.po
new file mode 100644 (file)
index 0000000..46a362b
--- /dev/null
+++ b/po/sk.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Aplikácia sa nedá otvoriť"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Predvolené nastavenia aplikácie"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Vyberte aplikáciu"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Predvoliť?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nedá sa nájsť predvolená aplikácia"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nedá sa identifikovať typ MIME"
+
diff --git a/po/sl.po b/po/sl.po
new file mode 100644 (file)
index 0000000..6259622
--- /dev/null
+++ b/po/sl.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Programa ni mogoče odpreti"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Privzete nastavitve programa"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Izberite program"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Nastavim kot privzeto?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Ni mogoče najti privzetega programa"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Ni mogoče prepoznati vrste MIME"
+
diff --git a/po/sr.po b/po/sr.po
new file mode 100644 (file)
index 0000000..805b3db
--- /dev/null
+++ b/po/sr.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Nije moguće otvoriti aplikaciju"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Podrazumevana podešavanja aplikacija"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Izaberi aplikaciju"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Postavi kao podrazumevano?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Nemoguće naći podrazumevanu aplikaciju"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Nemoguće odrediti MIME tip"
+
diff --git a/po/sv.po b/po/sv.po
new file mode 100644 (file)
index 0000000..e2bd21f
--- /dev/null
+++ b/po/sv.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Det går inte att öppna program"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Standardprograminställningar"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Välj program"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Ange som standard?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Det går inte att hitta standardprogrammet"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Det går inte att identifiera MIME-typen"
+
diff --git a/po/tr_TR.po b/po/tr_TR.po
new file mode 100644 (file)
index 0000000..984ee1a
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Uygulama açılamıyor"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Varsayılan uygulama ayarları"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Uygulama seç"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Varsayılan olarak ayarlansın mı?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Varsayılan uygulama bulunamadı"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME tipi tanımlanamıyor"
+
diff --git a/po/uk.po b/po/uk.po
new file mode 100644 (file)
index 0000000..2cb811b
--- /dev/null
+++ b/po/uk.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Неможливо відкрити програму"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Стандартні установки програми"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Виберіть програму"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Встановити стандартні значення?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Неможливо знайти стандартну програму"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "Неможливо визначити тип MIME"
+
diff --git a/po/update-po.sh b/po/update-po.sh
new file mode 100755 (executable)
index 0000000..02c168a
--- /dev/null
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+PACKAGE=app-selector
+SRCROOT=..
+POTFILES=POTFILES.in
+
+#ALL_LINGUAS= am az be ca cs da de el en_CA en_GB es et fi fr hr hu it ja ko lv mk ml ms nb ne nl pa pl pt pt_BR ru rw sk sl sr sr@Latn sv ta tr uk vi zh_CN zh_TW
+ALL_LINGUAS="en_US en_GB ja ko zh_CN"
+
+XGETTEXT=/usr/bin/xgettext
+MSGMERGE=/usr/bin/msgmerge
+
+echo -n "Make ${PACKAGE}.pot  "
+if [ ! -e $POTFILES ] ; then
+       echo "$POTFILES not found"
+       exit 1
+fi
+
+$XGETTEXT --default-domain=${PACKAGE} --directory=${SRCROOT} \
+               --add-comments --keyword=_ --keyword=N_ --files-from=$POTFILES
+if [ $? -ne 0 ]; then
+       echo "xgettext error"
+       exit 1
+fi
+
+if [ ! -f ${PACKAGE}.po ]; then
+       echo "No such file: ${PACKAGE}.po"
+       exit 1
+fi
+
+rm -f ${PACKAGE}.pot && mv ${PACKAGE}.po ${PACKAGE}.pot
+echo "done"
+
+for LANG in $ALL_LINGUAS; do 
+       echo "$LANG : "
+
+       if [ ! -e $LANG.po ] ; then
+               sed 's/CHARSET/UTF-8/g' ${PACKAGE}.pot > ${LANG}.po
+               echo "${LANG}.po created"
+       else
+               if $MSGMERGE ${LANG}.po ${PACKAGE}.pot -o ${LANG}.new.po ; then
+                       if cmp ${LANG}.po ${LANG}.new.po > /dev/null 2>&1; then
+                               rm -f ${LANG}.new.po
+                       else
+                               if mv -f ${LANG}.new.po ${LANG}.po; then
+                                       echo "" 
+                               else
+                                       echo "msgmerge for $LANG.po failed: cannot move $LANG.new.po to $LANG.po" 1>&2
+                                       rm -f ${LANG}.new.po
+                                       exit 1
+                               fi
+                       fi
+               else
+                       echo "msgmerge for $LANG failed!"
+                       rm -f ${LANG}.new.po
+               fi
+       fi
+       echo ""
+done
+
diff --git a/po/uz.po b/po/uz.po
new file mode 100644 (file)
index 0000000..8e62da2
--- /dev/null
+++ b/po/uz.po
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "Ilovani ochib bo‘lmaydi"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "Birlam. o'rn. ilova parametrlari"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "Ilova tanlash"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "Birlamchi o'rnatilgani kabi o‘rnatilsinmi?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "Birlam. o'rnatilgan ilovani topib bo‘lmaydi"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "MIME turini aniqlab bo‘lmaydi"
+
diff --git a/po/zh_CN.po b/po/zh_CN.po
new file mode 100644 (file)
index 0000000..ddbfb69
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "无法打开应用程序"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "默认应用程序设置"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "选择应用程序"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "设置为默认?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "无法找到默认应用程序"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "无法识别MIME类型"
+
diff --git a/po/zh_HK.po b/po/zh_HK.po
new file mode 100644 (file)
index 0000000..3f2e2e0
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "無法開啟應用程式"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "預設應用程式設定"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "選擇應用程式"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "設定為預設嗎?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "無法找到預設的應用程式"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "無法識別 MIME 類型"
+
diff --git a/po/zh_SG.po b/po/zh_SG.po
new file mode 100644 (file)
index 0000000..ddbfb69
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "无法打开应用程序"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "默认应用程序设置"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "选择应用程序"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "设置为默认?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "无法找到默认应用程序"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "无法识别MIME类型"
+
diff --git a/po/zh_TW.po b/po/zh_TW.po
new file mode 100644 (file)
index 0000000..4968070
--- /dev/null
@@ -0,0 +1,18 @@
+msgid "IDS_TASKMGR_POP_UNABLE_TO_OPEN_APPLICATION"
+msgstr "無法開啟應用程式"
+
+msgid "IDS_TASKMGR_HEADER_DEFAULT_APPLICATION_SETTINGS"
+msgstr "預設的應用程式設定"
+
+msgid "IDS_TASKMGR_HEADER_SELECT_APPLICATION"
+msgstr "選擇應用程式"
+
+msgid "IDS_TASKMGR_POP_SET_AS_DEFAULT_Q"
+msgstr "要設為預設嗎?"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_FIND_DEFAULT_APPLICATION"
+msgstr "沒有找到預設的的應用程式"
+
+msgid "IDS_TASKMGR_POP_UNABLE_TO_IDENTIFY_MIME_TYPE"
+msgstr "無法識別的MIME類型"
+