+++ /dev/null
-Jinmin Jung <jinmin@samsung.com>
-DoHyun Pyun <dh79.pyun@samsung.com>
ADD_SUBDIRECTORY(lib)
-ADD_SUBDIRECTORY(bt-share)
+ADD_SUBDIRECTORY(app)
IF (BUILD_GCOV)
-ADD_SUBDIRECTORY(unittest)
+ADD_SUBDIRECTORY(tests)
ENDIF (BUILD_GCOV)
+++ /dev/null
-Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
+Copyright (c) 2000 - 2020 Samsung Electronics Co., Ltd. All rights reserved.
Apache License
Version 2.0, January 2004
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.
-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(bluetooth-share C CXX)
-SET(SRCS src/bt-share-main.c
-src/bt-share-notification.c
-src/bt-share-common.c
-src/obex-event-handler.c
-src/bt-share-syspopup.c
-src/bt-share-ipc.c
-src/bt-share-noti-handler.c
-src/bt-share-cynara.c
+SET(SRCS bt-share-main.c
+bt-share-notification.c
+bt-share-common.c
+obex-event-handler.c
+bt-share-syspopup.c
+bt-share-ipc.c
+bt-share-noti-handler.c
+bt-share-cynara.c
)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib)
INCLUDE(FindPkgConfig)
ENDIF (BUILD_GCOV)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
-#INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/org.bluetooth.share.service DESTINATION share/dbus-1/system-services)
+#INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.bluetooth.share.service DESTINATION share/dbus-1/system-services)
+++ /dev/null
-/usr/include/bluetooth-share/*
-/usr/lib/pkgconfig/*
+++ /dev/null
-@PREFIX@/bin/*
-/opt/share/bt-ftp
-/usr/share/dbus-1/services/*.service
\ No newline at end of file
+++ /dev/null
-#!/bin/sh
-
-if [ ! -f /opt/dbspace/.bluetooth_trasnfer.db ]
-then
- sqlite3 /opt/dbspace/.bluetooth_trasnfer.db 'PRAGMA journal_mode = PERSIST;
- create table if not exists inbound (
- id INTEGER PRIMARY KEY autoincrement,
- tr_status INTEGER,
- file_path TEXT,
- dev_name TEXT,
- timestamp INTEGER default 0,
- addr TEXT
- );
- create table if not exists outbound (
- id INTEGER PRIMARY KEY autoincrement,
- tr_status INTEGER,
- file_path TEXT,
- dev_name TEXT,
- timestamp INTEGER default 0,
- addr TEXT
- );
- '
-fi
-
-# root case
-if [ ${USER} == "root" ]
-then
- # Set vconf values with -g/-u options
-
- # 5000 is inhouse user id
- # do not use relative path
-
- # For the FTP server folder
-
- if [ ! -e /opt/share/bt-ftp/Media ]
- then
- ln -s /opt/media /opt/share/bt-ftp/Media
- fi
-
- if [ ! -e /opt/share/bt-ftp/SD_External ]
- then
- ln -s /opt/storage/sdcard /opt/share/bt-ftp/SD_External
- fi
-
- chown :5000 /opt/dbspace/.bluetooth_trasnfer.db
- chown :5000 /opt/dbspace/.bluetooth_trasnfer.db-journal
-fi
-
-chmod 660 /opt/dbspace/.bluetooth_trasnfer.db
-chmod 660 /opt/dbspace/.bluetooth_trasnfer.db-journal
+++ /dev/null
-bluetooth-share (0.0.46) unstable; urgency=low
-
- * Tagging and Uploading package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.46
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Wed, 12 Dec 2012 10:06:29 +0900
-
-bluetooth-share (0.0.45) unstable; urgency=low
-
- * Tagging and Uploading package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.45
-
- -- Sunil Kumar Behera <sunil.behera@samsung.com> Wed, 28 Nov 2012 19:11:47 +0530
-
-bluetooth-share (0.0.44) unstable; urgency=low
-
- * Change the media update method
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.44
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Mon, 26 Nov 2012 13:02:41 +0900
-
-bluetooth-share (0.0.43) unstable; urgency=low
-
- * Modify the manifast
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.43
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Thu, 22 Nov 2012 11:28:29 +0900
-
-bluetooth-share (0.0.42) unstable; urgency=low
-
- * Modify the manifast
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.42
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Wed, 21 Nov 2012 13:02:00 +0900
-
-bluetooth-share (0.0.41) unstable; urgency=low
-
- * Fix the bug about notification
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.41
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Fri, 16 Nov 2012 10:51:28 +0900
-
-bluetooth-share (0.0.40) unstable; urgency=low
-
- * Modify the notification API
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.40
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Thu, 15 Nov 2012 18:09:24 +0900
-
-bluetooth-share (0.0.39) unstable; urgency=low
-
- * Change the contact API
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.39
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 13 Nov 2012 10:46:00 +0900
-
-bluetooth-share (0.0.38) unstable; urgency=low
-
- * Fix the build break
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.38
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Thu, 08 Nov 2012 14:44:16 +0900
-
-bluetooth-share (0.0.37) unstable; urgency=low
-
- * Fix the JIRA issue
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.37
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 06 Nov 2012 15:55:39 +0900
-
-bluetooth-share (0.0.36) unstable; urgency=low
-
- * Add -pie compile option
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.36
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Wed, 31 Oct 2012 15:27:26 +0900
-
-bluetooth-share (0.0.35) unstable; urgency=low
-
- * Fix for retry file send crash issue
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.35
-
- -- Chethan T N <chethan.tn@samsung.com> Fri, 26 Oct 2012 17:26:55 +0530
-
-bluetooth-share (0.0.34) unstable; urgency=low
-
- * Change directory path
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.34
-
- -- InJun Yang <injun.yang@samsung.com> Thu, 25 Oct 2012 13:56:00 +0900
-
-bluetooth-share (0.0.33) unstable; urgency=low
-
- * Fix the bug abt abnormal termination
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.33
-
- -- InJun Yang <injun.yang@samsung.com> Fri, 19 Oct 2012 17:38:30 +0900
-
-bluetooth-share (0.0.32) unstable; urgency=low
-
- * Fix the bug about OPP server
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.32
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Thu, 18 Oct 2012 09:40:09 +0900
-
-bluetooth-share (0.0.31) unstable; urgency=low
-
- * Fix the bug about OPP server
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.31
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Fri, 12 Oct 2012 15:06:22 +0900
-
-bluetooth-share (0.0.30) unstable; urgency=low
-
- * Change SMACK domain name
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.30
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Mon, 26 Nov 2012 14:42:28 +0900
-
-bluetooth-share (0.0.28) unstable; urgency=low
-
- * Change SMACK domain name
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.28
-
- -- Sangki Park <sangki79.park@samsung.com> Tue, 25 Sep 2012 10:27:55 +0900
-
-bluetooth-share (0.0.27) unstable; urgency=low
-
- * Apply smack manifest file
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.27
-
- -- Sangki Park <sangki79.park@samsung.com> Fri, 21 Sep 2012 10:03:02 +0900
-
-bluetooth-share (0.0.26) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.26
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 11 Sep 2012 11:05:27 +0900
-
-bluetooth-share (0.0.25) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.25
-
- -- InJun Yang <injun.yang@samsung.com> Tue, 07 Aug 2012 12:38:33 +0900
-
-bluetooth-share (0.0.24) unstable; urgency=low
-
- * Fix the PLM issue abt clear button of notification bar
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.24
-
- -- InJun Yang <injun.yang@samsung.com> Fri, 20 Jul 2012 18:44:33 +0900
-
-bluetooth-share (0.0.23) unstable; urgency=low
-
- * Tagging and upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.23
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Fri, 20 Jul 2012 13:36:44 +0900
-
-bluetooth-share (0.0.22) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.22
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 17 Jul 2012 10:27:35 +0900
-
-bluetooth-share (0.0.21) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.21
-
- -- InJun Yang <injun.yang@samsung.com> Tue, 10 Jul 2012 19:26:52 +0900
-
-bluetooth-share (0.0.20) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.20
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 10 Jul 2012 17:55:02 +0900
-
-bluetooth-share (0.0.19) unstable; urgency=low
-
- * Ordered by timestamp
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.19
-
- -- InJun Yang <injun.yang@samsung.com> Tue, 10 Jul 2012 08:57:19 +0900
-
-bluetooth-share (0.0.18) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.18
-
- -- InJun Yang <injun.yang@samsung.com> Fri, 06 Jul 2012 20:09:04 +0900
-
-bluetooth-share (0.0.17) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.17
-
- -- InJun Yang <injun.yang@samsung.com> Wed, 20 Jun 2012 20:45:27 +0900
-
-bluetooth-share (0.0.16) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.16
-
- -- InJun Yang <injun.yang@samsung.com> Fri, 15 Jun 2012 18:45:52 +0900
-
-bluetooth-share (0.0.15) unstable; urgency=low
-
- * Modify the sending flow as UX guideline
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.15
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Mon, 04 Jun 2012 08:59:20 +0900
-
-bluetooth-share (0.0.14) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.14
-
- -- InJun Yang <injun.yang@samsung.com> Tue, 29 May 2012 17:47:33 +0900
-
-bluetooth-share (0.0.13) unstable; urgency=low
-
- * Add db script to postinst file
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.13
-
- -- InJun Yang <injun.yang@samsung.com> Thu, 24 May 2012 13:05:43 +0900
-
-bluetooth-share (0.0.12) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.12
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Wed, 23 May 2012 12:16:47 +0900
-
-bluetooth-share (0.0.11) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.11
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 22 May 2012 09:45:06 +0900
-
-bluetooth-share (0.0.10) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.10
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Mon, 21 May 2012 11:06:30 +0900
-
-bluetooth-share (0.0.9) unstable; urgency=low
-
- * Fix the auto activating issue
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.9
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Wed, 16 May 2012 11:36:34 +0900
-
-bluetooth-share (0.0.8) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.8
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Tue, 08 May 2012 08:56:03 +0900
-
-bluetooth-share (0.0.7) unstable; urgency=low
-
- * Upload the package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.7
-
- -- InJun Yang <injun.yang@samsung.com> Thu, 22 Mar 2012 16:48:32 +0900
-
-bluetooth-share (0.0.6) unstable; urgency=low
-
- * Increase the version number to upload.
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.6
-
- -- Sunil Kumar Behera <sunil.behera@samsung.com> Tue, 21 Feb 2012 14:09:43 +0530
-
-bluetooth-share (0.0.5) unstable; urgency=low
-
- * FIx the spelling of API name (sessioin -> session)
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.5
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Thu, 05 Jan 2012 17:55:10 +0900
-
-bluetooth-share (0.0.4) unstable; urgency=low
-
- * Upload package
- * Git: slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.4
-
- -- DoHyun Pyun <dh79.pyun@samsung.com> Fri, 30 Dec 2011 08:01:56 +0900
-
-bluetooth-share (0.0.3) unstable; urgency=low
-
- * Upload package
- * Git: 165.213.180.234:slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.3
-
- -- InJun Yang <injun.yang@samsung.com> Wed, 30 Nov 2011 10:24:29 +0900
-
-bluetooth-share (0.0.2) unstable; urgency=low
-
- * Upload package
- * Git: 165.213.180.234:slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.2
-
- -- InJun Yang <injun.yang@samsung.com> Wed, 09 Nov 2011 08:50:32 +0900
-
-bluetooth-share (0.0.1) unstable; urgency=low
-
- * initial release
- * Git: 165.213.180.234:slp/pkgs/b/bluetooth-share
- * Tag: bluetooth-share_0.0.1
-
- -- Injun Yang <injun.yang@samsung.com> Fri, 23 Sep 2011 16:17:49 +0900
+++ /dev/null
-Source: bluetooth-share
-Section: net
-Priority: extra
-Maintainer: Hocheol Seo <hocheol.seo@samsung.com>, DoHyun Pyun <dh79.pyun@samsung.com>, ChanYeol Park <chanyeol.park@samsung.com>, InJun Yang <injun.yang@samsung.com>, Seungyoun Ju <sy39.ju@samsung.com>
-Uploaders: Sunil Behera <sunil.behera@samsung.com>, Syam Sidhardhan <s.syam@samsung.com>
-Build-Depends: debhelper (>= 5), libbluetooth-frwk-dev, libglib2.0-dev, libdbus-1-dev, libdbus-glib-1-dev, libappcore-common-dev, dlog-dev, libappsvc-dev, libbundle-dev, libnotification-dev, libslp-calendar-dev, libcontacts-service-dev, libslp-pm-dev, libslp-sysman-dev, libx11-dev, libappcore-efl-dev, libslp-db-util-dev, libprivilege-control-dev
-Standards-Version: 3.7.2
-
-Package: bluetooth-share
-Section: application
-Provides:bluetooth-app-headers
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},libbluetooth-frwk-0, libdlog-0
-Description: Bluetooth File Share Agent
-
-Package: bluetooth-share-dbg
-Section: debug
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, bluetooth-share (= ${Source-Version})
-Description: Bluetooth file share Agent (unstripped)
-
-Package: libbluetooth-share
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Bluetooth Share library
-
-Package: libbluetooth-share-dev
-Section: devel
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},dlog-dev, libdbus-glib-1-dev, libglib2.0-dev, libbluetooth-share (= ${Source-Version})
-XB-Generate-Docs: yes
-Description: Bluetooth Share
+++ /dev/null
-/usr/include/*
-/usr/lib/pkgconfig/*
+++ /dev/null
-/usr/lib/lib*
+++ /dev/null
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PREFIX ?= /usr
-#RESDIR ?= /usr/bin/bluetooth-share/res
-#DATADIR ?= /usr/bin/bluetooth-share/data
-CFLAGS ?= -Wall -g
-LDFLAGS ?=
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-CFLAGS += -fpie
-LDFLAGS += -pie -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- 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.
- $(MAKE)
- #docbook-to-man debian/bluetooth.sgml > bluetooth.1
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- cat $$f > $${f%.in}; \
- sed -i -e "s#@PREFIX@#$(PREFIX)#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.
- -$(MAKE) clean
-
- for f in `find $(CURDIR)/ -name "CMakeCache.txt"`; do \
- rm -f $${f}; \
- done
- for f in `find $(CURDIR)/ -name "CMakeFiles"`; do \
- rm -rf $${f}; \
- done
- for f in `find $(CURDIR)/ -name "cmake_install.cmake"`; do \
- rm -f $${f}; \
- done
- for f in `find $(CURDIR)/ -name "Makefile"`; do \
- rm -f $${f}; \
- done
- for f in `find $(CURDIR)/ -name "install_manifest.txt"`; do \
- rm -f $${f}; \
- done
- for f in `find $(CURDIR)/ -name "*.edj"`; do \
- rm -f $${f}; \
- done
- 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/tmp.
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
- mkdir -p $(CURDIR)/debian/tmp/opt/share/bt-ftp
-
-# 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_installman
- dh_link
- dh_strip --dbg-package=bluetooth-share-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
+++ /dev/null
-* Wed Jun 26 2013 Victor Hakoun <victor.hakoun@eurogiciel.fr> submit/tizen/20130620.153559@1189c02
-- Fix rmplint issues
-- Replace manifest with default floor
-
<manifest>
- <request>
- <domain name="_" />
- </request>
+ <request>
+ <domain name="_" />
+ </request>
</manifest>
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
-Source1002: libbluetooth-share.manifest
-Source1003: libbluetooth-share-devel.manifest
Source1004: init_db.sh
Requires(post): coreutils
Requires(post): smack
%prep
%setup -q
-cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} .
+cp %{SOURCE1001} .
%build
%if 0%{?gcov:1}
%check
%if 0%{?gcov:1}
-pushd unittest
+pushd tests
./run_coverage.sh
popd
%endif
%{TZ_COMM_DATA}/%{name}/init_db.sh
mkdir -p %{_unitdir}/multi-user.target.wants/
-%post -n libbluetooth-share-devel -p /sbin/ldconfig
-
%post -n libbluetooth-share -p /sbin/ldconfig
-%postun -n libbluetooth-share-devel -p /sbin/ldconfig
-
%postun -n libbluetooth-share -p /sbin/ldconfig
%files
%manifest %{name}.manifest
-%license LICENSE
%attr(755, network_fw, network_fw)%{TZ_COMM_DATA}/%{name}
-%defattr(-,root,root,-)
-%{_bindir}/bluetooth-share
+%{_bindir}/%{name}
#%{_datadir}/dbus-1/system-services/org.bluetooth.share.service
%{TZ_COMM_DATA}/%{name}/init_db.sh
-%{_unitdir}/bluetooth-share.service
-%{_unitdir}/bluetooth-share-start.service
-%{upgrade_script_path}/500.bluetooth-share_upgrade.sh
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}-start.service
+%{upgrade_script_path}/500.%{name}_upgrade.sh
%{upgrade_data_path}/init_db.sh
+%license LICENSE.APLv2
%files -n libbluetooth-share
-%manifest libbluetooth-share.manifest
-%license LICENSE
-%defattr(-, root, root)
-%{_libdir}/libbluetooth-share-api.so.0.*
+%manifest %{name}.manifest
+%{_libdir}/*.so.*
+%license LICENSE.APLv2
%files -n libbluetooth-share-devel
-%manifest libbluetooth-share-devel.manifest
-%defattr(-, root, root)
-%{_includedir}/bluetooth-share-api/bluetooth-share-api.h
-%{_libdir}/libbluetooth-share-api.so
-%{_libdir}/pkgconfig/bluetooth-share-api.pc
+%{_includedir}/%{name}-api/%{name}-api.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}-api.pc
%if 0%{?gcov:1}
%files gcov
+++ /dev/null
-<manifest>
- <request>
- <domain name="_" />
- </request>
-</manifest>
+++ /dev/null
-<manifest>
- <request>
- <domain name="_" />
- </request>
-</manifest>
INCLUDE_DIRECTORIES(/usr/lib/glib-2.0/include/)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/bt-share/include)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/app)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(EXEC_PREFIX "\${prefix}")
gtest
-L${CMAKE_SOURCE_DIR}/lib
-lbluetooth-share-api
- -L${CMAKE_SOURCE_DIR}/bt-share
+ -L${CMAKE_SOURCE_DIR}/app
-lbt-share
)
#!/bin/bash
-export LD_LIBRARY_PATH=..:.:../lib:../bt-share:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=..:.:../lib:../app:$LD_LIBRARY_PATH
pushd ../
RootDir=$PWD
popd
LD_PRELOAD=./libbluetooth-share-mock.so ./$unitTestFile
-CMakeDir=${RootDir}/bt-share/CMakeFiles/bt-share.dir/src/
+CMakeDir=${RootDir}/app/CMakeFiles/bt-share.dir/
CoverageDir=${RootDir}/coverage
pushd $CMakeDir