From 443e87081b7884b6e4d3fe7dde716c2d702d0e63 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Fri, 7 Dec 2018 14:15:20 +0900 Subject: [PATCH 01/16] Release version 0.1.4 Changes: - Fix a wrong log format Change-Id: Iea3d65f3102eb6137d20c06e737e8bad36d9ab6f Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index e92d3e8..1f4d0a6 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.3 +Version: 0.1.4 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From 3df6dd79ddc9ff8d53c3d9a1ca9c36a57687b958 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 20 Feb 2019 09:41:55 +0900 Subject: [PATCH 02/16] Make weak dependencies - Uses "Recommends" instead of "Requires" Change-Id: I52dad9584e64ad28aeda95a2bb6e6f60c1d4cf87 Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 1f4d0a6..22ab353 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -20,7 +20,7 @@ BuildRequires: pkgconfig(cynara-creds-self) BuildRequires: pkgconfig(cynara-session) BuildRequires: pkgconfig(cynara-client) -Requires: amd-mod-job-scheduler +Recommends: amd-mod-job-scheduler %description Job Scheduler library in Tizen C API -- 2.7.4 From 877ec8c1f2ee3f8ce496278cd96503edf8f8e453 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 20 Feb 2019 13:33:34 +0900 Subject: [PATCH 03/16] Release version 0.1.5 Changes: - Make weak dependencies Change-Id: Iee0398cca31046815df2a27127c3917a52653127 Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 22ab353..5b97c65 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.4 +Version: 0.1.5 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From b029e1783c2261b22d0a3906cb5c757e527823cd Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 10 Jul 2019 13:43:38 +0900 Subject: [PATCH 04/16] Make a gcov package for measuring coverage easier Change-Id: I541144e249430ccdd55503af5e3b6882d5ceb7d5 Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 5b97c65..4d92fe1 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -28,17 +28,32 @@ Job Scheduler library in Tizen C API %package devel Summary: Job Scheduler library in Tizen C API (Development) Group: System/API -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} %description devel An Application library in SLP C API (Development) package. +%if 0%{?gcov:1} +%package gcov +Summary: Job Scheduler library(gcov) +Group: System/API + +%description gcov +gcov objects of a job scheduler library +%endif %prep %setup -q cp %{SOURCE1001} . %build +%if 0%{?gcov:1} +export CFLAGS+=" -fprofile-arcs -ftest-coverage" +export CXXFLAGS+=" -fprofile-arcs -ftest-coverage" +export FFLAGS+=" -fprofile-arcs -ftest-coverage" +export LDFLAGS+=" -lgcov" +%endif + MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake -DFULLVER=%{version} \ -DMAJORVER=${MAJORVER} \ @@ -46,10 +61,20 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %__make %{?jobs:-j%jobs} +%if 0%{?gcov:1} +mkdir -p gcov-obj +find . -name '*.gcno' -exec cp '{}' gcov-obj ';' +%endif + %install rm -rf %{buildroot} %make_install +%if 0%{?gcov:1} +mkdir -p %{buildroot}%{_datadir}/gcov/obj +install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj +%endif + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -63,3 +88,8 @@ rm -rf %{buildroot} %{_includedir}/appfw/*.h %{_libdir}/pkgconfig/capi-appfw-job-scheduler.pc %{_libdir}/libcapi-appfw-job-scheduler.so + +%if 0%{?gcov:1} +%files gcov +%{_datadir}/gcov/obj/* +%endif -- 2.7.4 From fb57cec2551540af9d9473f5957e97885826e18d Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Mon, 15 Jul 2019 14:01:05 +0900 Subject: [PATCH 05/16] Release version 0.1.6 Changes: - Make a gcov package for measuring coverage easier Change-Id: I9339f1b3cb77aec1b8ce2d3290a8c0e78576bc76 Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 4d92fe1..6c42b4e 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.5 +Version: 0.1.6 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From 063d6881189363aa9bca4505449cd434f8785c1a Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Wed, 13 Nov 2019 14:29:36 +0900 Subject: [PATCH 06/16] Fix api reference for job scheduler Change-Id: If5d199e51e7566fd04b6efad5e7ba9e846fc0166 Signed-off-by: SukHyung, Kang --- include/job_scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/job_scheduler.h b/include/job_scheduler.h index ff3ae46..796cbf6 100644 --- a/include/job_scheduler.h +++ b/include/job_scheduler.h @@ -213,7 +213,7 @@ int job_scheduler_foreach_job(job_scheduler_foreach_job_cb callback, void *user_ * @see job_scheduler_service_remove() * @see job_service_start_cb() * @see job_service_stop_cb() - * @see job_scheduler_job_finished() + * @see job_scheduler_notify_job_finished() * @see #job_service_callback_s */ int job_scheduler_service_add(const char *job_id, job_service_callback_s *callback, void *user_data, job_service_h *job_service); -- 2.7.4 From cfb1a3bff8a4d942eadbafa44306f4c9a80a3df6 Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Thu, 14 Nov 2019 16:42:02 +0900 Subject: [PATCH 07/16] Release version 0.1.7 Changes: - Fix api reference for job scheduler Change-Id: I68098fab4ecf1967e87e9eec0083e04ff97acb22 Signed-off-by: SukHyung, Kang --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 6c42b4e..b2f229e 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.6 +Version: 0.1.7 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From a1ea91dd2e3d7c65f28d24dea6b082ad3fcdc27a Mon Sep 17 00:00:00 2001 From: Inkyun Kil Date: Fri, 6 Dec 2019 16:56:48 +0900 Subject: [PATCH 08/16] Update doc file for new link Change-Id: I25a7829e96771cba617525019e3724f5f199c7ec Signed-off-by: Inkyun Kil --- doc/appfw_job_scheduler_doc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/appfw_job_scheduler_doc.h b/doc/appfw_job_scheduler_doc.h index d0ee39b..5fb0011 100755 --- a/doc/appfw_job_scheduler_doc.h +++ b/doc/appfw_job_scheduler_doc.h @@ -38,7 +38,7 @@ * It is recommended to use features in your application for reliability. * You can check if the device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, and control your application's actions accordingly. * To ensure your application is only running on devices with specific features, please define the features in your manifest file using the manifest editor in the SDK. - * More details on using features in your application can be found in Feature Element. + * More details on using features in your application can be found in Feature Element. */ #endif /* __TIZEN_APPFW_JOB_SCHEDULER_DOC_H__ */ -- 2.7.4 From 3125dee2970e00a3dc8c2cb25c0e13debe013c0a Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 9 Jun 2020 08:02:06 +0900 Subject: [PATCH 09/16] Release version 0.1.8 Changes: - Update doc file for new link Change-Id: I889dad179db8f73728a4d257924d85d11d6dcadc Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index b2f229e..1200908 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.7 +Version: 0.1.8 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From 851c6ce1b086044d0c078a322ac7f5bbe42cd940 Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Tue, 6 Oct 2020 09:48:33 +0900 Subject: [PATCH 10/16] Change documentation for job scheduler Change-Id: Ibecd19c1f4c19e71fa1476d4bba17b71dcf3ddea Signed-off-by: SukHyung, Kang --- doc/appfw_job_scheduler_doc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/appfw_job_scheduler_doc.h b/doc/appfw_job_scheduler_doc.h index 5fb0011..db47e7c 100755 --- a/doc/appfw_job_scheduler_doc.h +++ b/doc/appfw_job_scheduler_doc.h @@ -38,7 +38,7 @@ * It is recommended to use features in your application for reliability. * You can check if the device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, and control your application's actions accordingly. * To ensure your application is only running on devices with specific features, please define the features in your manifest file using the manifest editor in the SDK. - * More details on using features in your application can be found in Feature Element. + * More details on featuring your application can be found from Feature Element. */ #endif /* __TIZEN_APPFW_JOB_SCHEDULER_DOC_H__ */ -- 2.7.4 From f418f08480b3e14de7a1ee94ba5f7b02e826470e Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 16 Dec 2020 14:56:26 +0900 Subject: [PATCH 11/16] Fix doc - Removes unnecessary HTML link for feature Change-Id: I243b0fc32352ef0d79224d2c1f5943a4f5a77bc0 Signed-off-by: Hwankyu Jhun --- doc/appfw_job_scheduler_doc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/appfw_job_scheduler_doc.h b/doc/appfw_job_scheduler_doc.h index db47e7c..d98f761 100755 --- a/doc/appfw_job_scheduler_doc.h +++ b/doc/appfw_job_scheduler_doc.h @@ -30,10 +30,10 @@ * * @section CAPI_JOB_SCHEDULER_MODULE_FEATURE Related Features * Some job trigger events and some functions are related with the following features: - * - http://tizen.org/feature/network.wifi - * - http://tizen.org/feature/location.gps - * - http://tizen.org/feature/battery - * - http://tizen.org/feature/usb.host + * - %http://tizen.org/feature/network.wifi + * - %http://tizen.org/feature/location.gps + * - %http://tizen.org/feature/battery + * - %http://tizen.org/feature/usb.host * * It is recommended to use features in your application for reliability. * You can check if the device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, and control your application's actions accordingly. -- 2.7.4 From 726950b8d330a1722447067ca3c5ff4ebb305084 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 16 Dec 2020 14:58:31 +0900 Subject: [PATCH 12/16] Release version 0.1.9 Changes: - Change documentation for job scheduler - Fix doc Change-Id: I50b29fadd2ca5933aa4d4b8a20291c3adb3b76f9 Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 1200908..d60feda 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.8 +Version: 0.1.9 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From 50958698f8097ebe8d3d6f0c63e92e3740e53ad0 Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Tue, 22 Dec 2020 17:35:28 +0900 Subject: [PATCH 13/16] Fix link for job scheduler doc Change-Id: I242051f07f6fad3020f59dfbb726f0eaa6216536 Signed-off-by: SukHyung, Kang --- include/job_info.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/job_info.h b/include/job_info.h index 84e0eee..38f9221 100644 --- a/include/job_info.h +++ b/include/job_info.h @@ -51,9 +51,9 @@ typedef enum { JOB_TRIGGER_EVENT_POWERSAVE_MODE_DISABLED, /**< The Power-saving mode: Disabled */ JOB_TRIGGER_EVENT_USB_STATE_CONNECTED, /**< The USB state: Connected */ JOB_TRIGGER_EVENT_USB_STATE_DISCONNECTED, /**< The USB state: Disconnected */ - JOB_TRIGGER_EVENT_WIFI_STATE_DISABLED, /**< The WiFi state: Disabled @n Privilege: http://tizen.org/privilege/network.get */ - JOB_TRIGGER_EVENT_WIFI_STATE_DISCONNECTED, /**< The WiFi state: Disconnected @n Privilege: http://tizen.org/privilege/network.get */ - JOB_TRIGGER_EVENT_WIFI_STATE_CONNECTED, /**< The WiFi state: Connected @n Privilege: http://tizen.org/privilege/network.get */ + JOB_TRIGGER_EVENT_WIFI_STATE_DISABLED, /**< The WiFi state: Disabled @n Privilege: %http://tizen.org/privilege/network.get */ + JOB_TRIGGER_EVENT_WIFI_STATE_DISCONNECTED, /**< The WiFi state: Disconnected @n Privilege: %http://tizen.org/privilege/network.get */ + JOB_TRIGGER_EVENT_WIFI_STATE_CONNECTED, /**< The WiFi state: Connected @n Privilege: %http://tizen.org/privilege/network.get */ } job_trigger_event_e; /** @@ -214,7 +214,7 @@ int job_info_set_requires_wifi_connection(job_info_h job_info, bool wifi_connect * @remarks The periodic interval of the job info handle must be 0. * If the interval of the job info handle is not 0, this function returns a negative error value. * Regarding the @a event, the application may require the following privilege: - * http://tizen.org/privilege/network.get @n + * %http://tizen.org/privilege/network.get @n * If the application does not have the necessary privilege, this function returns #JOB_ERROR_PERMISSION_DENIED. * See #job_trigger_event_e to find the corresponding privilege of each event. * @param[in] job_info The job info handle -- 2.7.4 From 32de9a1c775422b7356b6ac6e6a6898b6486cfaf Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Wed, 23 Dec 2020 16:15:37 +0900 Subject: [PATCH 14/16] Release version 0.1.10 Changes: - Fix link for job scheduler doc Change-Id: I5e9172a133dcfbd4c80101d0dbbe917bba22c477 Signed-off-by: SukHyung, Kang --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index d60feda..29b2ec5 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.9 +Version: 0.1.10 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4 From ce6f6b7911af38a33534cb2742467b5322cc9e17 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 20 Jan 2022 14:32:59 +0900 Subject: [PATCH 15/16] Fix installation path of gcov result Change-Id: Ie79df72d4993f89dff52577614c269747022d219 Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 29b2ec5..513b8a5 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -71,8 +71,8 @@ rm -rf %{buildroot} %make_install %if 0%{?gcov:1} -mkdir -p %{buildroot}%{_datadir}/gcov/obj -install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj +mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name} +install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj/%{name} %endif %post -p /sbin/ldconfig -- 2.7.4 From 1f4617b07274fcea32b0c4989a31ac972e39c219 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 20 Jan 2022 15:08:26 +0900 Subject: [PATCH 16/16] Release version 0.1.11 Changes: - Fix installation path of gcov result Change-Id: I981d25087820d0cf7bcd9fd31ef747e7e3a0fd0f Signed-off-by: Hwankyu Jhun --- packaging/capi-appfw-job-scheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/capi-appfw-job-scheduler.spec b/packaging/capi-appfw-job-scheduler.spec index 513b8a5..faba34a 100644 --- a/packaging/capi-appfw-job-scheduler.spec +++ b/packaging/capi-appfw-job-scheduler.spec @@ -1,6 +1,6 @@ Name: capi-appfw-job-scheduler Summary: Job Scheduler library -Version: 0.1.10 +Version: 0.1.11 Release: 0 Group: System/API License: Apache-2.0 -- 2.7.4